diff --git a/specification/web/cspell.yaml b/specification/web/cspell.yaml index 11dac3b5f092..827b573df49d 100644 --- a/specification/web/cspell.yaml +++ b/specification/web/cspell.yaml @@ -34,6 +34,8 @@ words: - weidongxu - whois - zilla + - Guage + - getrdppassword overrides: - filename: >- **/specification/web/resource-manager/Microsoft.Web/AppService/stable/2016-08-01/WebApps.json diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/AddressResponse.tsp b/specification/web/resource-manager/Microsoft.Web/AppService/AddressResponse.tsp new file mode 100644 index 000000000000..218a50fb341b --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/AddressResponse.tsp @@ -0,0 +1,47 @@ +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "@typespec/openapi"; +import "@typespec/rest"; +import "./models.tsp"; +import "./AppServiceEnvironmentResource.tsp"; + +using TypeSpec.Rest; +using Azure.ResourceManager; +using TypeSpec.Http; +using TypeSpec.OpenAPI; + +namespace Microsoft.Web; +/** + * Describes main public IP address and any extra virtual IPs. + */ +@singleton("virtualip") +@parentResource(AppServiceEnvironmentResource) +model AddressResponse + is Azure.ResourceManager.ProxyResource { + ...ResourceNameParameter< + Resource = AddressResponse, + KeyName = "capacity", + SegmentName = "capacities", + NamePattern = "" + >; + + /** + * Kind of resource. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + kind?: string; +} + +@armResourceOperations +interface AddressResponses { + /** + * Description for Get IP addresses assigned to an App Service Environment. + */ + @summary("Get IP addresses assigned to an App Service Environment.") + getVipInfo is ArmResourceRead; +} + +@@doc(AddressResponse.name, ""); +@@doc(AddressResponse.properties, + "AddressResponse resource specific properties" +); diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/AnalysisDefinition.tsp b/specification/web/resource-manager/Microsoft.Web/AppService/AnalysisDefinition.tsp new file mode 100644 index 000000000000..f729ce9868f1 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/AnalysisDefinition.tsp @@ -0,0 +1,210 @@ +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "@typespec/openapi"; +import "@typespec/rest"; +import "./models.tsp"; +import "./DiagnosticCategory.tsp"; + +using TypeSpec.Rest; +using Azure.ResourceManager; +using TypeSpec.Http; +using TypeSpec.OpenAPI; + +namespace Microsoft.Web; +/** + * Definition of Analysis + */ +@parentResource(DiagnosticCategory) +model AnalysisDefinition + is Azure.ResourceManager.ProxyResource { + ...ResourceNameParameter< + Resource = AnalysisDefinition, + KeyName = "analysisName", + SegmentName = "analyses", + NamePattern = "" + >; + + /** + * Kind of resource. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + kind?: string; +} + +@armResourceOperations +interface AnalysisDefinitionOps + extends Azure.ResourceManager.Legacy.LegacyOperations< + { + ...ApiVersionParameter, + ...SubscriptionIdParameter, + ...ResourceGroupParameter, + ...Azure.ResourceManager.Legacy.Provider, + + /** Site Name */ + @path + @segment("sites") + @key + siteName: string, + + /** Diagnostic Category */ + @path + @segment("diagnostics") + @key + diagnosticCategory: string, + }, + { + /** Analysis Name */ + @path + @segment("analyses") + @key + analysisName: string, + } + > {} + +@armResourceOperations +interface AnalysisDefinitions { + /** + * Description for Get Site Analysis + */ + @summary("Get Site Analysis") + getSiteAnalysis is AnalysisDefinitionOps.Read< + AnalysisDefinition, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Get Site Analyses + */ + @summary("Get Site Analyses") + listSiteAnalyses is AnalysisDefinitionOps.List< + AnalysisDefinition, + Response = ArmResponse, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Execute Analysis + */ + @summary("Execute Analysis") + @action("execute") + executeSiteAnalysis is AnalysisDefinitionOps.ActionSync< + AnalysisDefinition, + void, + ArmResponse, + Parameters = { + /** + * Start Time + */ + @query("startTime") + startTime?: utcDateTime; + + /** + * End Time + */ + @query("endTime") + endTime?: utcDateTime; + + /** + * Time Grain + */ + @pattern("PT[1-9][0-9]+[SMH]") + @query("timeGrain") + timeGrain?: string; + }, + OverrideErrorType = DefaultErrorResponse + >; +} +@armResourceOperations +interface AnalysisDefinitionOperationGroupOps + extends Azure.ResourceManager.Legacy.LegacyOperations< + { + ...ApiVersionParameter, + ...SubscriptionIdParameter, + ...ResourceGroupParameter, + ...Azure.ResourceManager.Legacy.Provider, + + /** Site Name */ + @path + @segment("sites") + @key + siteName: string, + + /** Slot - optional */ + @path + @segment("slots") + @key + slot: string, + + /** Diagnostic Category */ + @path + @segment("diagnostics") + @key + diagnosticCategory: string, + }, + { + /** Analysis Name */ + @path + @segment("analyses") + @key + analysisName: string, + } + > {} + +@armResourceOperations +interface AnalysisDefinitionOperationGroup { + /** + * Description for Get Site Analysis + */ + @summary("Get Site Analysis") + getSiteAnalysisSlot is AnalysisDefinitionOperationGroupOps.Read< + AnalysisDefinition, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Get Site Analyses + */ + @summary("Get Site Analyses") + listSiteAnalysesSlot is AnalysisDefinitionOperationGroupOps.List< + AnalysisDefinition, + Response = ArmResponse, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Execute Analysis + */ + @summary("Execute Analysis") + @action("execute") + executeSiteAnalysisSlot is AnalysisDefinitionOperationGroupOps.ActionSync< + AnalysisDefinition, + void, + ArmResponse, + Parameters = { + /** + * Start Time + */ + @query("startTime") + startTime?: utcDateTime; + + /** + * End Time + */ + @query("endTime") + endTime?: utcDateTime; + + /** + * Time Grain + */ + @pattern("PT[1-9][0-9]+[SMH]") + @query("timeGrain") + timeGrain?: string; + }, + OverrideErrorType = DefaultErrorResponse + >; +} + +@@doc(AnalysisDefinition.name, "Analysis Name"); +@@doc(AnalysisDefinition.properties, + "AnalysisDefinition resource specific properties" +); diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/ApiKVReference.tsp b/specification/web/resource-manager/Microsoft.Web/AppService/ApiKVReference.tsp new file mode 100644 index 000000000000..10483fbe3d99 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/ApiKVReference.tsp @@ -0,0 +1,259 @@ +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "@typespec/openapi"; +import "@typespec/rest"; +import "./models.tsp"; +import "./Site.tsp"; + +using TypeSpec.Rest; +using Azure.ResourceManager; +using TypeSpec.Http; +using TypeSpec.OpenAPI; + +namespace Microsoft.Web; +/** + * Description of site key vault references. + */ +#suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@parentResource(Site) +model ApiKVReference + is Azure.ResourceManager.ProxyResource { + ...ResourceNameParameter< + Resource = ApiKVReference, + KeyName = "appSettingKey", + SegmentName = "appsettings", + NamePattern = "" + >; + + /** + * Kind of resource. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + kind?: string; +} + +#suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@armResourceOperations +interface ApiKVReferenceOps + extends Azure.ResourceManager.Legacy.LegacyOperations< + { + ...ApiVersionParameter, + ...SubscriptionIdParameter, + ...ResourceGroupParameter, + ...Azure.ResourceManager.Legacy.Provider, + + /** Name of the app. */ + @path + @segment("sites") + @key + name: string, + + /** undefined */ + @path + @segment("config") + @key + configreferences: "configreferences", + }, + { + /** App Setting key name. */ + @path + @segment("appsettings") + @key + appSettingKey: string, + } + > {} + +@armResourceOperations +interface AppSettingKeyVaultReference { + /** + * Description for Gets the config reference and status of an app + */ + @summary("Gets the config reference and status of an app") + getAppSettingKeyVaultReference is ApiKVReferenceOps.Read< + ApiKVReference, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Gets the config reference app settings and status of an app + */ + @summary("Gets the config reference app settings and status of an app") + getAppSettingsKeyVaultReferences is ApiKVReferenceOps.List< + ApiKVReference, + Response = ArmResponse, + OverrideErrorType = DefaultErrorResponse + >; +} +#suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@armResourceOperations +interface ApiKVReferenceOperationGroupOps + extends Azure.ResourceManager.Legacy.LegacyOperations< + { + ...ApiVersionParameter, + ...SubscriptionIdParameter, + ...ResourceGroupParameter, + ...Azure.ResourceManager.Legacy.Provider, + + /** Name of the app. */ + @path + @segment("sites") + @key + name: string, + + /** undefined */ + @path + @segment("config") + @key + configreferences: "configreferences", + }, + { + /** */ + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + @segment("connectionstrings") + @key + connectionStringKey: string, + } + > {} + +@armResourceOperations +interface SiteConnectionStringKeyVaultReference { + /** + * Description for Gets the config reference and status of an app + */ + @summary("Gets the config reference and status of an app") + getSiteConnectionStringKeyVaultReference is ApiKVReferenceOperationGroupOps.Read< + ApiKVReference, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Gets the config reference app settings and status of an app + */ + @summary("Gets the config reference app settings and status of an app") + @segment("connectionstrings") + getSiteConnectionStringKeyVaultReferences is ApiKVReferenceOperationGroupOps.List< + ApiKVReference, + Response = ArmResponse, + OverrideErrorType = DefaultErrorResponse + >; +} +@armResourceOperations +interface AppSettingKeyVaultReferenceSlotOps + extends Azure.ResourceManager.Legacy.LegacyOperations< + { + ...ApiVersionParameter, + ...SubscriptionIdParameter, + ...ResourceGroupParameter, + ...Azure.ResourceManager.Legacy.Provider, + + /** Name of the app. */ + @path + @segment("sites") + @key + name: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + @segment("slots") + @key + slot: string, + + /** undefined */ + @path + @segment("config") + @key + configreferences: "configreferences", + }, + { + /** App Setting key name. */ + @path + @segment("appsettings") + @key + appSettingKey: string, + } + > {} + +@armResourceOperations +interface AppSettingKeyVaultReferenceSlot { + /** + * Description for Gets the config reference and status of an app + */ + @summary("Gets the config reference and status of an app") + getAppSettingKeyVaultReferenceSlot is AppSettingKeyVaultReferenceSlotOps.Read< + ApiKVReference, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Gets the config reference app settings and status of an app + */ + @summary("Gets the config reference app settings and status of an app") + getAppSettingsKeyVaultReferencesSlot is AppSettingKeyVaultReferenceSlotOps.List< + ApiKVReference, + Response = ArmResponse, + OverrideErrorType = DefaultErrorResponse + >; +} +@armResourceOperations +interface SiteConnectionStringKeyVaultReferenceSlotOps + extends Azure.ResourceManager.Legacy.LegacyOperations< + { + ...ApiVersionParameter, + ...SubscriptionIdParameter, + ...ResourceGroupParameter, + ...Azure.ResourceManager.Legacy.Provider, + + /** Name of the app. */ + @path + @segment("sites") + @key + name: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + @segment("slots") + @key + slot: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + @segment("config") + @key + configreferences: "configreferences", + }, + { + /** */ + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + @segment("connectionstrings") + @key + connectionStringKey: string, + } + > {} + +@armResourceOperations +interface SiteConnectionStringKeyVaultReferenceSlot { + /** + * Description for Gets the config reference and status of an app + */ + @summary("Gets the config reference and status of an app") + getSiteConnectionStringKeyVaultReferenceSlot is SiteConnectionStringKeyVaultReferenceSlotOps.Read< + ApiKVReference, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Gets the config reference app settings and status of an app + */ + @summary("Gets the config reference app settings and status of an app") + @segment("connectionstrings") + getSiteConnectionStringKeyVaultReferencesSlot is SiteConnectionStringKeyVaultReferenceSlotOps.List< + ApiKVReference, + Response = ArmResponse, + OverrideErrorType = DefaultErrorResponse + >; +} + +@@doc(ApiKVReference.name, "App Setting key name."); +@@doc(ApiKVReference.properties, "ApiKVReference resource specific properties"); diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/AppServiceEnvironmentResource.tsp b/specification/web/resource-manager/Microsoft.Web/AppService/AppServiceEnvironmentResource.tsp new file mode 100644 index 000000000000..f74a7d725822 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/AppServiceEnvironmentResource.tsp @@ -0,0 +1,497 @@ +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "@typespec/openapi"; +import "@typespec/rest"; +import "./models.tsp"; + +using TypeSpec.Rest; +using Azure.ResourceManager; +using TypeSpec.Http; +using TypeSpec.OpenAPI; + +namespace Microsoft.Web; +/** + * App Service Environment ARM resource. + */ +model AppServiceEnvironmentResource + is Azure.ResourceManager.TrackedResource { + ...ResourceNameParameter< + Resource = AppServiceEnvironmentResource, + KeyName = "name", + SegmentName = "hostingEnvironments", + NamePattern = "" + >; + + /** Kind of resource. If the resource is an app, you can refer to https://github.com/Azure/app-service-linux-docs/blob/master/Things_You_Should_Know/kind_property.md#app-service-resource-kind-reference for details supported values for kind. */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + kind?: string; +} + +alias DiagnosticsOps = Azure.ResourceManager.Legacy.RoutedOperations< + { + ...ApiVersionParameter; + ...SubscriptionIdParameter; + ...ResourceGroupParameter; + }, + { + /** Name of the app. */ + @path + @segment("hostingEnvironments") + @key + name: string; + }, + ResourceRoute = #{ + route: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.Web/hostingEnvironments", + } +>; + +@armResourceOperations(#{ allowStaticRoutes: true }) +interface AppServiceEnvironmentResources { + /** + * Description for Get the properties of an App Service Environment. + */ + @summary("Get the properties of an App Service Environment.") + get is ArmResourceRead< + AppServiceEnvironmentResource, + Error = DefaultErrorResponse + >; + + /** + * Description for Create or update an App Service Environment. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-put-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + #suppress "@azure-tools/typespec-azure-resource-manager/no-response-body" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @summary("Create or update an App Service Environment.") + createOrUpdate is ArmResourceCreateOrReplaceAsync< + AppServiceEnvironmentResource, + Response = ArmResourceUpdatedResponse | ArmResourceCreatedResponse< + AppServiceEnvironmentResource, + ArmLroLocationHeader & + Azure.Core.Foundations.RetryAfterHeader + > | (ArmAcceptedLroResponse> & + Azure.Core.Foundations.RetryAfterHeader & { + @bodyRoot + _: AppServiceEnvironmentResource; + }), + Error = DefaultErrorResponse + >; + + /** + * Description for Create or update an App Service Environment. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/no-response-body" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + #suppress "@azure-tools/typespec-azure-resource-manager/lro-location-header" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @summary("Create or update an App Service Environment.") + @patch(#{ implicitOptionality: false }) + update is ArmCustomPatchSync< + AppServiceEnvironmentResource, + PatchModel = AppServiceEnvironmentPatchResource, + Response = ArmResponse | ArmResourceCreatedSyncResponse | (AcceptedResponse & { + @bodyRoot + _: AppServiceEnvironmentResource; + }), + Error = DefaultErrorResponse + >; + + /** + * Description for Delete an App Service Environment. + */ + @summary("Delete an App Service Environment.") + delete is ArmResourceDeleteWithoutOkAsync< + AppServiceEnvironmentResource, + Parameters = { + /** + * Specify true to force the deletion even if the App Service Environment contains resources. The default is false. + */ + @query("forceDelete") + forceDelete?: boolean; + }, + Error = DefaultErrorResponse + >; + + /** + * Description for Get all App Service Environments in a resource group. + */ + @summary("Get all App Service Environments in a resource group.") + listByResourceGroup is ArmResourceListByParent< + AppServiceEnvironmentResource, + Response = ArmResponse, + Error = DefaultErrorResponse + >; + + /** + * Description for Get all App Service Environments for a subscription. + */ + @summary("Get all App Service Environments for a subscription.") + list is ArmListBySubscription< + AppServiceEnvironmentResource, + Response = ArmResponse, + Error = DefaultErrorResponse + >; + + /** + * Description for Get the used, available, and total worker capacity an App Service Environment. + */ + @summary("Get the used, available, and total worker capacity an App Service Environment.") + @get + @list + @action("capacities/compute") + listCapacities is ArmResourceActionSync< + AppServiceEnvironmentResource, + void, + ArmResponse, + Error = DefaultErrorResponse + >; + + /** + * Description for Move an App Service Environment to a different VNET. + */ + // #suppress "@azure-tools/typespec-azure-resource-manager/no-response-body" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + // @summary("Move an App Service Environment to a different VNET.") + // @action("changeVirtualNetwork") + // @list + // changeVnet is Azure.ResourceManager.ArmResourceActionAsyncBase< + // AppServiceEnvironmentResource, + // VirtualNetworkProfile, + // ArmResponse | (ArmAcceptedLroResponse> & { + // @bodyRoot + // _: WebAppCollection; + // }), + // BaseParameters = Azure.ResourceManager.Foundations.DefaultBaseParameters, + // Error = DefaultErrorResponse + // >; + /** + * Description for Get diagnostic information for an App Service Environment. + */ + @summary("Get diagnostic information for an App Service Environment.") + @get + @action("diagnostics") + listDiagnostics is ArmResourceActionSync< + AppServiceEnvironmentResource, + void, + ArmResponse, + Error = DefaultErrorResponse + >; + + /** + * Description for Get a diagnostics item for an App Service Environment. + */ + @summary("Get a diagnostics item for an App Service Environment.") + @get + @route("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.Web/hostingEnvironments/{name}/diagnostics/{diagnosticsName}") + getDiagnosticsItem is DiagnosticsOps.ActionSync< + AppServiceEnvironmentResource, + void, + ArmResponse, + Parameters = { + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + @key + diagnosticsName: string; + }, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Get the network endpoints of all inbound dependencies of an App Service Environment. + */ + @summary("Get the network endpoints of all inbound dependencies of an App Service Environment.") + @get + @action("inboundNetworkDependenciesEndpoints") + @list + getInboundNetworkDependenciesEndpoints is ArmResourceActionSync< + AppServiceEnvironmentResource, + void, + ArmResponse, + Error = DefaultErrorResponse + >; + + /** + * Send a test notification that an upgrade is available for this App Service Environment. + */ + @summary("Send a test notification that an upgrade is available for this App Service Environment.") + testUpgradeAvailableNotification is ArmResourceActionSync< + AppServiceEnvironmentResource, + void, + { + @body body: void; + }, + Error = DefaultErrorResponse + >; + + /** + * Description for Initiate an upgrade of an App Service Environment if one is available. + */ + @summary("Initiate an upgrade of an App Service Environment if one is available.") + upgrade is ArmResourceActionAsyncBase< + AppServiceEnvironmentResource, + void, + ArmAcceptedLroResponse, + BaseParameters = Azure.ResourceManager.Foundations.DefaultBaseParameters, + Error = DefaultErrorResponse + >; + + /** + * Description for List all currently running operations on the App Service Environment. + */ + @summary("List all currently running operations on the App Service Environment.") + @get + @action("operations") + listOperations is ArmResourceActionSync< + AppServiceEnvironmentResource, + void, + ArmResponse, + Error = DefaultErrorResponse + >; + + /** + * Description for Get the network endpoints of all outbound dependencies of an App Service Environment. + */ + @summary("Get the network endpoints of all outbound dependencies of an App Service Environment.") + @get + @action("outboundNetworkDependenciesEndpoints") + @list + getOutboundNetworkDependenciesEndpoints is ArmResourceActionSync< + AppServiceEnvironmentResource, + void, + ArmResponse, + Error = DefaultErrorResponse + >; + + /** + * Description for Gets the private link resources + */ + @summary("Gets the private link resources") + @get + @action("privateLinkResources") + getPrivateLinkResources is ArmResourceActionSync< + AppServiceEnvironmentResource, + void, + ArmResponse, + Error = DefaultErrorResponse + >; + + /** + * Description for Reboot all machines in an App Service Environment. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/lro-location-header" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + #suppress "@azure-tools/typespec-azure-resource-manager/arm-post-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @summary("Reboot all machines in an App Service Environment.") + reboot is ArmResourceActionSync< + AppServiceEnvironmentResource, + void, + AcceptedResponse, + Error = DefaultErrorResponse + >; + + /** + * Description for Resume an App Service Environment. + */ + // #suppress "@azure-tools/typespec-azure-resource-manager/no-response-body" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + // @summary("Resume an App Service Environment.") + // @list + // resume is ArmResourceActionAsyncBase< + // AppServiceEnvironmentResource, + // void, + // ArmResponse | (ArmAcceptedLroResponse> & { + // @bodyRoot + // _: WebAppCollection; + // }), + // BaseParameters = Azure.ResourceManager.Foundations.DefaultBaseParameters, + // Error = DefaultErrorResponse + // >; + /** + * Description for Get all App Service plans in an App Service Environment. + */ + @summary("Get all App Service plans in an App Service Environment.") + @get + @action("serverfarms") + @list + listAppServicePlans is ArmResourceActionSync< + AppServiceEnvironmentResource, + void, + ArmResponse, + Error = DefaultErrorResponse + >; + + /** + * Description for Get all apps in an App Service Environment. + */ + @summary("Get all apps in an App Service Environment.") + @get + @action("sites") + @list + listWebApps is ArmResourceActionSync< + AppServiceEnvironmentResource, + void, + ArmResponse, + Parameters = { + /** + * Comma separated list of app properties to include. + */ + @query("propertiesToInclude") + propertiesToInclude?: string; + }, + Error = DefaultErrorResponse + >; + + /** + * Description for Suspend an App Service Environment. + */ + // #suppress "@azure-tools/typespec-azure-resource-manager/no-response-body" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + // @summary("Suspend an App Service Environment.") + // @list + // suspend is ArmResourceActionAsyncBase< + // AppServiceEnvironmentResource, + // void, + // ArmResponse | (ArmAcceptedLroResponse> & { + // @bodyRoot + // _: WebAppCollection; + // }), + // BaseParameters = Azure.ResourceManager.Foundations.DefaultBaseParameters, + // Error = DefaultErrorResponse + // >; + /** + * Description for Get global usage metrics of an App Service Environment. + */ + @summary("Get global usage metrics of an App Service Environment.") + @get + @action("usages") + @list + listUsages is ArmResourceActionSync< + AppServiceEnvironmentResource, + void, + ArmResponse, + Parameters = { + /** + * 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]'. + */ + @query("$filter") + $filter?: string; + }, + Error = DefaultErrorResponse + >; + + /** + * Description for Get past recommendations for an app, optionally specified by the time range. + */ + #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @summary("Get past recommendations for an app, optionally specified by the time range.") + @Azure.ResourceManager.Legacy.renamePathParameter( + "name", + "hostingEnvironmentName" + ) + @get + @action("recommendationHistory") + @list + listHistoryForHostingEnvironment is ArmResourceActionSync< + AppServiceEnvironmentResource, + void, + ArmResponse, + Parameters = { + /** + * Specify false to return all recommendations. The default is true, which returns only expired recommendations. + */ + @query("expiredOnly") + 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] + */ + @query("$filter") + $filter?: string; + }, + Error = DefaultErrorResponse + >; + + /** + * Description for Get all recommendations for a hosting environment. + */ + #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @summary("Get all recommendations for a hosting environment.") + @Azure.ResourceManager.Legacy.renamePathParameter( + "name", + "hostingEnvironmentName" + ) + @get + @action("recommendations") + @list + listRecommendedRulesForHostingEnvironment is ArmResourceActionSync< + AppServiceEnvironmentResource, + void, + ArmResponse, + Parameters = { + /** + * Specify true to return only the most critical recommendations. The default is false, which returns all recommendations. + */ + @query("featured") + 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' + */ + @query("$filter") + $filter?: string; + }, + Error = DefaultErrorResponse + >; + /** + * Description for Disable all recommendations for an app. + */ + #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @summary("Disable all recommendations for an app.") + @post + @action("recommendations/disable") + @Azure.ResourceManager.Legacy.renamePathParameter( + "name", + "hostingEnvironmentName" + ) + disableAllForHostingEnvironment is ArmResourceActionSync< + AppServiceEnvironmentResource, + void, + NoContentResponse, + Parameters = { + /** + * Name of the app. + */ + @query("environmentName") + environmentName: string; + }, + Error = DefaultErrorResponse + >; + /** + * Description for Reset all recommendation opt-out settings for an app. + */ + #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @summary("Reset all recommendation opt-out settings for an app.") + @post + @action("recommendations/reset") + @Azure.ResourceManager.Legacy.renamePathParameter( + "name", + "hostingEnvironmentName" + ) + resetAllFiltersForHostingEnvironment is ArmResourceActionSync< + AppServiceEnvironmentResource, + void, + NoContentResponse, + Parameters = { + /** + * Name of the app. + */ + @query("environmentName") + environmentName: string; + }, + Error = DefaultErrorResponse + >; +} + +@@doc(AppServiceEnvironmentResource.name, + "Name of the App Service Environment." +); +@@doc(AppServiceEnvironmentResource.properties, "Core resource properties"); +@@doc(AppServiceEnvironmentResources.createOrUpdate::parameters.resource, + "Configuration details of the App Service Environment." +); +@@doc(AppServiceEnvironmentResources.update::parameters.properties, + "Configuration details of the App Service Environment." +); diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/AppServicePlan.tsp b/specification/web/resource-manager/Microsoft.Web/AppService/AppServicePlan.tsp new file mode 100644 index 000000000000..80a905f724c4 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/AppServicePlan.tsp @@ -0,0 +1,328 @@ +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "@typespec/openapi"; +import "@typespec/rest"; +import "./models.tsp"; + +using TypeSpec.Rest; +using Azure.ResourceManager; +using TypeSpec.Http; +using TypeSpec.OpenAPI; + +namespace Microsoft.Web; +/** + * App Service plan. + */ +model AppServicePlan + is Azure.ResourceManager.TrackedResource { + ...ResourceNameParameter< + Resource = AppServicePlan, + KeyName = "name", + SegmentName = "serverfarms", + NamePattern = "" + >; + + /** + * Description of a SKU for a scalable resource. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + sku?: SkuDescription; + + /** + * Extended Location. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + extendedLocation?: ExtendedLocation; + + /** Kind of resource. If the resource is an app, you can refer to https://github.com/Azure/app-service-linux-docs/blob/master/Things_You_Should_Know/kind_property.md#app-service-resource-kind-reference for details supported values for kind. */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + kind?: string; + + /** + * Managed service identity. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + identity?: ManagedServiceIdentity; +} + +alias AppServicePlanActionParamsOps = Azure.ResourceManager.Legacy.RoutedOperations< + { + ...ApiVersionParameter; + ...SubscriptionIdParameter; + ...ResourceGroupParameter; + }, + { + /** App Service plan. */ + @path + @segment("serverfarms") + @key + name: string; + }, + ResourceRoute = #{ + route: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.Web/serverfarms", + } +>; + +@armResourceOperations(#{ allowStaticRoutes: true }) +interface AppServicePlans { + /** + * Description for Get the RDP password for an IsCustomMode ServerFarm. + */ + @summary("Get the RDP password for an IsCustomMode ServerFarm.") + @action("getrdppassword") + getServerFarmRdpPassword is ArmResourceActionSync< + AppServicePlan, + void, + ArmResponse, + Error = DefaultErrorResponse + >; + + /** + * Description for Recycles a managed instance worker machine. + */ + @summary("Recycles a managed instance worker machine.") + @route("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.Web/serverfarms/{name}/workers/{workerName}/recycleinstance") + recycleManagedInstanceWorker is AppServicePlanActionParamsOps.ActionSync< + AppServicePlan, + void, + ArmResponse, + Parameters = { + /** + * Name of worker machine, which typically starts with RD. + */ + @pattern("^[a-zA-Z0-9]+$") + @path + workerName: string; + }, + OverrideErrorType = DefaultErrorResponse + >; + /** + * Description for Get the instance details for an app service plan. + */ + @summary("Get the instance details for an app service plan.") + @action("listinstances") + getServerFarmInstanceDetails is ArmResourceActionSync< + AppServicePlan, + void, + ArmResponse, + Error = DefaultErrorResponse + >; + + /** + * Description for Get an App Service plan. + */ + @summary("Get an App Service plan.") + get is ArmResourceRead< + AppServicePlan, + Response = ArmResponse | ArmNotFoundResponse, + Error = DefaultErrorResponse + >; + + /** + * Description for Creates or updates an App Service Plan. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-put-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + #suppress "@azure-tools/typespec-azure-resource-manager/no-response-body" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @summary("Creates or updates an App Service Plan.") + createOrUpdate is ArmResourceCreateOrReplaceAsync< + AppServicePlan, + Response = ArmResourceUpdatedResponse | (ArmAcceptedLroResponse> & { + @bodyRoot + _: AppServicePlan; + }), + Error = DefaultErrorResponse + >; + + /** + * Description for Creates or updates an App Service Plan. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/no-response-body" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + #suppress "@azure-tools/typespec-azure-resource-manager/lro-location-header" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @summary("Creates or updates an App Service Plan.") + @patch(#{ implicitOptionality: false }) + update is ArmCustomPatchSync< + AppServicePlan, + PatchModel = AppServicePlanPatchResource, + Response = ArmResponse | (AcceptedResponse & { + @bodyRoot + _: AppServicePlan; + }), + Error = DefaultErrorResponse + >; + + /** + * Description for Delete an App Service plan. + */ + @summary("Delete an App Service plan.") + delete is ArmResourceDeleteSync; + + /** + * Description for Get all App Service plans in a resource group. + */ + @summary("Get all App Service plans in a resource group.") + listByResourceGroup is ArmResourceListByParent< + AppServicePlan, + Response = ArmResponse, + Error = DefaultErrorResponse + >; + + /** + * Description for Get all App Service plans for a subscription. + */ + @summary("Get all App Service plans for a subscription.") + list is ArmListBySubscription< + AppServicePlan, + Parameters = { + /** + * 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. + */ + @query("detailed") + detailed?: boolean; + }, + Response = ArmResponse, + Error = DefaultErrorResponse + >; + + /** + * Description for List all capabilities of an App Service plan. + */ + @summary("List all capabilities of an App Service plan.") + @get + @action("capabilities") + listCapabilities is ArmResourceActionSync< + AppServicePlan, + void, + ArmResponse, + Error = DefaultErrorResponse + >; + + /** + * Description for Retrieve all Hybrid Connections in use in an App Service plan. + */ + @summary("Retrieve all Hybrid Connections in use in an App Service plan.") + @get + @action("hybridConnectionRelays") + @list + listHybridConnections is ArmResourceActionSync< + AppServicePlan, + void, + ArmResponse, + Error = DefaultErrorResponse + >; + + /** + * Description for Restart all apps in an App Service plan. + */ + @summary("Restart all apps in an App Service plan.") + @action("restartSites") + restartWebApps is ArmResourceActionSync< + AppServicePlan, + void, + NoContentResponse, + Parameters = { + /** + * 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 + */ + @query("softRestart") + softRestart?: boolean; + }, + Error = DefaultErrorResponse + >; + + /** + * Description for Get all apps associated with an App Service plan. + */ + @summary("Get all apps associated with an App Service plan.") + @get + @action("sites") + @list + listWebApps is ArmResourceActionSync< + AppServicePlan, + void, + ArmResponse, + Parameters = { + /** + * 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 + */ + @query("$skipToken") + $skipToken?: string; + + /** + * Supported filter: $filter=state eq running. Returns only web apps that are currently running + */ + @query("$filter") + $filter?: string; + + /** + * List page size. If specified, results are paged. + */ + @query("$top") + $top?: string; + }, + Error = DefaultErrorResponse + >; + + /** + * Description for Gets all selectable SKUs for a given App Service Plan + */ + @summary("Gets all selectable SKUs for a given App Service Plan") + @get + @action("skus") + getServerFarmSkus is ArmResourceActionSync< + AppServicePlan, + void, + ArmResponse, + Error = DefaultErrorResponse + >; + + /** + * Description for Gets server farm usage information + */ + @get + @action("usages") + @list + @summary("Gets server farm usage information") + listUsages is ArmResourceActionSync< + AppServicePlan, + void, + ArmResponse, + Parameters = { + /** + * Return only usages/metrics specified in the filter. Filter conforms to odata syntax. Example: $filter=(name.value eq 'Metric1' or name.value eq 'Metric2'). + */ + @query("$filter") + $filter?: string; + }, + Error = DefaultErrorResponse + >; + + /** + * Description for Reboot a worker machine in an App Service plan. + */ + @summary("Reboot a worker machine in an App Service plan.") + @action("reboot") + @route("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.Web/serverfarms/{name}/workers/{workerName}/reboot") + rebootWorker is AppServicePlanActionParamsOps.ActionSync< + AppServicePlan, + void, + NoContentResponse, + Parameters = { + /** + * Name of worker machine, which typically starts with RD. + */ + @path + workerName: string; + }, + OverrideErrorType = DefaultErrorResponse + >; +} + +@@doc(AppServicePlan.name, "Name of the App Service plan."); +@@doc(AppServicePlan.properties, "AppServicePlan resource specific properties"); +@@doc(AppServicePlans.createOrUpdate::parameters.resource, + "Details of the App Service plan." +); +@@doc(AppServicePlans.update::parameters.properties, + "Details of the App Service plan." +); diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/AseV3NetworkingConfiguration.tsp b/specification/web/resource-manager/Microsoft.Web/AppService/AseV3NetworkingConfiguration.tsp new file mode 100644 index 000000000000..0af04f9a0bb2 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/AseV3NetworkingConfiguration.tsp @@ -0,0 +1,65 @@ +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "@typespec/openapi"; +import "@typespec/rest"; +import "./models.tsp"; +import "./AppServiceEnvironmentResource.tsp"; + +using TypeSpec.Rest; +using Azure.ResourceManager; +using TypeSpec.Http; +using TypeSpec.OpenAPI; + +namespace Microsoft.Web; +/** + * Full view of networking configuration for an ASE. + */ +@singleton("networking") +@parentResource(AppServiceEnvironmentResource) +model AseV3NetworkingConfiguration + is Azure.ResourceManager.ProxyResource { + ...ResourceNameParameter< + Resource = AseV3NetworkingConfiguration, + KeyName = "configuration", + SegmentName = "configurations", + NamePattern = "" + >; + + /** + * Kind of resource. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + kind?: string; +} + +#suppress "@azure-tools/typespec-azure-resource-manager/no-resource-delete-operation" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@armResourceOperations +interface AseV3NetworkingConfigurations { + /** + * Description for Get networking configuration of an App Service Environment + */ + @summary("Get networking configuration of an App Service Environment") + getAseV3NetworkingConfiguration is ArmResourceRead< + AseV3NetworkingConfiguration, + Error = DefaultErrorResponse + >; + + /** + * Description for Update networking configuration of an App Service Environment + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-put-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @summary("Update networking configuration of an App Service Environment") + updateAseNetworkingConfiguration is ArmResourceCreateOrReplaceSync< + AseV3NetworkingConfiguration, + Response = ArmResourceUpdatedResponse, + Error = DefaultErrorResponse + >; +} + +@@doc(AseV3NetworkingConfiguration.name, ""); +@@doc(AseV3NetworkingConfiguration.properties, + "AseV3NetworkingConfiguration resource specific properties" +); +@@doc(AseV3NetworkingConfigurations.updateAseNetworkingConfiguration::parameters.resource, + "" +); diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/BackupItem.tsp b/specification/web/resource-manager/Microsoft.Web/AppService/BackupItem.tsp new file mode 100644 index 000000000000..451d0a85a6b8 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/BackupItem.tsp @@ -0,0 +1,218 @@ +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "@typespec/openapi"; +import "@typespec/rest"; +import "./models.tsp"; +import "./Site.tsp"; + +using TypeSpec.Rest; +using Azure.ResourceManager; +using TypeSpec.Http; +using TypeSpec.OpenAPI; + +namespace Microsoft.Web; +/** + * Backup description. + */ +@parentResource(Site) +model BackupItem is Azure.ResourceManager.ProxyResource { + ...ResourceNameParameter< + Resource = BackupItem, + KeyName = "backupId", + SegmentName = "backups", + NamePattern = "" + >; + + /** + * Kind of resource. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + kind?: string; +} + +@armResourceOperations +interface BackupItemOps + extends Azure.ResourceManager.Legacy.LegacyOperations< + { + ...ApiVersionParameter, + ...SubscriptionIdParameter, + ...ResourceGroupParameter, + ...Azure.ResourceManager.Legacy.Provider, + + /** Name of the app. */ + @path + @segment("sites") + @key + name: string, + }, + { + /** ID of the backup. */ + @path + @segment("backups") + @key + backupId: string, + } + > {} + +@armResourceOperations +interface BackupItems { + /** + * Description for Gets a backup of an app by its ID. + */ + @summary("Gets a backup of an app by its ID.") + getBackupStatus is BackupItemOps.Read< + BackupItem, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Deletes a backup of an app by its ID. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @summary("Deletes a backup of an app by its ID.") + deleteBackup is BackupItemOps.DeleteSync< + BackupItem, + Response = ArmDeletedResponse | ArmNotFoundResponse, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Gets existing backups of an app. + */ + @summary("Gets existing backups of an app.") + listBackups is BackupItemOps.List< + BackupItem, + Response = ArmResponse, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Gets status of a web app backup that may be in progress, including secrets associated with the backup, such as the Azure Storage SAS URL. Also can be used to update the SAS URL for the backup if a new URL is passed in the request body. + */ + @summary("Gets status of a web app backup that may be in progress, including secrets associated with the backup, such as the Azure Storage SAS URL. Also can be used to update the SAS URL for the backup if a new URL is passed in the request body.") + @action("list") + listBackupStatusSecrets is BackupItemOps.ActionSync< + BackupItem, + BackupRequest, + ArmResponse, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Restores a specific backup to another app (or deployment slot, if specified). + */ + @summary("Restores a specific backup to another app (or deployment slot, if specified).") + restore is BackupItemOps.ActionAsync< + BackupItem, + RestoreRequest, + { + @body body: void; + }, + OverrideErrorType = DefaultErrorResponse, + LroHeaders = Azure.Core.Foundations.RetryAfterHeader & + ArmLroLocationHeader + >; +} +@armResourceOperations +interface BackupItemOperationGroupOps + extends Azure.ResourceManager.Legacy.LegacyOperations< + { + ...ApiVersionParameter, + ...SubscriptionIdParameter, + ...ResourceGroupParameter, + ...Azure.ResourceManager.Legacy.Provider, + + /** Name of the app. */ + @path + @segment("sites") + @key + name: string, + + /** Name of the deployment slot. If a slot is not specified, the API will get a backup of the production slot. */ + @path + @segment("slots") + @key + slot: string, + }, + { + /** ID of the backup. */ + @path + @segment("backups") + @key + backupId: string, + } + > {} + +@armResourceOperations +interface BackupItemOperationGroup { + /** + * Description for Gets a backup of an app by its ID. + */ + @summary("Gets a backup of an app by its ID.") + getBackupStatusSlot is BackupItemOperationGroupOps.Read< + BackupItem, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Deletes a backup of an app by its ID. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @summary("Deletes a backup of an app by its ID.") + deleteBackupSlot is BackupItemOperationGroupOps.DeleteSync< + BackupItem, + Response = ArmDeletedResponse | ArmNotFoundResponse, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Gets existing backups of an app. + */ + @summary("Gets existing backups of an app.") + listBackupsSlot is BackupItemOperationGroupOps.List< + BackupItem, + Response = ArmResponse, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Gets status of a web app backup that may be in progress, including secrets associated with the backup, such as the Azure Storage SAS URL. Also can be used to update the SAS URL for the backup if a new URL is passed in the request body. + */ + @summary("Gets status of a web app backup that may be in progress, including secrets associated with the backup, such as the Azure Storage SAS URL. Also can be used to update the SAS URL for the backup if a new URL is passed in the request body.") + @action("list") + listBackupStatusSecretsSlot is BackupItemOperationGroupOps.ActionSync< + BackupItem, + BackupRequest, + ArmResponse, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Restores a specific backup to another app (or deployment slot, if specified). + */ + @summary("Restores a specific backup to another app (or deployment slot, if specified).") + @action("restore") + restoreSlot is BackupItemOperationGroupOps.ActionAsync< + BackupItem, + RestoreRequest, + { + @body body: void; + }, + OverrideErrorType = DefaultErrorResponse, + LroHeaders = Azure.Core.Foundations.RetryAfterHeader & + ArmLroLocationHeader + >; +} + +@@doc(BackupItem.name, "ID of the backup."); +@@doc(BackupItem.properties, "BackupItem resource specific properties"); +@@doc(BackupItems.listBackupStatusSecrets::parameters.body, + "Information on backup request." +); +@@doc(BackupItems.restore::parameters.body, "Information on restore request ."); +@@doc(BackupItemOperationGroup.listBackupStatusSecretsSlot::parameters.body, + "Information on backup request." +); +@@doc(BackupItemOperationGroup.restoreSlot::parameters.body, + "Information on restore request ." +); diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/Certificate.tsp b/specification/web/resource-manager/Microsoft.Web/AppService/Certificate.tsp new file mode 100644 index 000000000000..14f0c106db61 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/Certificate.tsp @@ -0,0 +1,296 @@ +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "@typespec/openapi"; +import "@typespec/rest"; +import "./models.tsp"; + +using TypeSpec.Rest; +using Azure.ResourceManager; +using TypeSpec.Http; +using TypeSpec.OpenAPI; + +namespace Microsoft.Web; +/** + * SSL certificate for an app. + */ +model Certificate + is Azure.ResourceManager.TrackedResource { + ...ResourceNameParameter< + Resource = Certificate, + KeyName = "name", + SegmentName = "certificates", + NamePattern = "" + >; + + /** Kind of resource. If the resource is an app, you can refer to https://github.com/Azure/app-service-linux-docs/blob/master/Things_You_Should_Know/kind_property.md#app-service-resource-kind-reference for details supported values for kind. */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + kind?: string; +} + +@armResourceOperations +interface CertificateOps + extends Azure.ResourceManager.Legacy.LegacyOperations< + { + ...ApiVersionParameter, + ...SubscriptionIdParameter, + ...ResourceGroupParameter, + ...Azure.ResourceManager.Legacy.Provider, + }, + { + /** Name of the certificate. */ + @path + @segment("certificates") + @key + name: string, + } + > {} + +@armResourceOperations +interface Certificates { + /** + * Description for Get a certificate. + */ + @summary("Get a certificate.") + get is CertificateOps.Read< + Certificate, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Create or update a certificate. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-put-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @summary("Create or update a certificate.") + createOrUpdate is CertificateOps.CreateOrUpdateSync< + Certificate, + Response = ArmResourceUpdatedResponse, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Create or update a certificate. + */ + @summary("Create or update a certificate.") + @patch(#{ implicitOptionality: false }) + update is CertificateOps.CustomPatchSync< + Certificate, + PatchModel = CertificatePatchResource, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Delete a certificate. + */ + @summary("Delete a certificate.") + delete is CertificateOps.DeleteSync< + Certificate, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Get all certificates in a resource group. + */ + @summary("Get all certificates in a resource group.") + listByResourceGroup is CertificateOps.List< + Certificate, + Response = ArmResponse, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Get all certificates for a subscription. + */ + @summary("Get all certificates for a subscription.") + list is Azure.ResourceManager.Extension.ListByTarget< + Extension.Subscription, + Certificate, + Parameters = { + /** + * Return only information specified in the filter (using OData syntax). For example: $filter=KeyVaultId eq 'KeyVaultId' + */ + @query("$filter") + $filter?: string; + }, + Response = ArmResponse, + Error = DefaultErrorResponse + >; +} +@armResourceOperations +interface SiteCertificateOps + extends Azure.ResourceManager.Legacy.LegacyOperations< + { + ...ApiVersionParameter, + ...SubscriptionIdParameter, + ...ResourceGroupParameter, + ...Azure.ResourceManager.Legacy.Provider, + + /** Name of the site. */ + @path + @segment("sites") + @key + @pattern("^[A-z][A-z0-9]*$") + name: string, + }, + { + /** Name of the certificate. */ + @path + @segment("certificates") + @key + @pattern("^[A-z][A-z0-9]*$") + certificateName: string, + } + > {} + +@armResourceOperations +interface SiteCertificates { + /** + * Get a certificate belonging to a given site. + */ + @summary("Get a certificate belonging to a given site.") + get is SiteCertificateOps.Read< + Certificate, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Create or update a certificate under a given site. + */ + @summary("Create or update a certificate under a given site.") + createOrUpdate is SiteCertificateOps.CreateOrUpdateSync< + Certificate, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Create or update a certificate under a given site. + */ + @summary("Create or update a certificate under a given site.") + @patch(#{ implicitOptionality: false }) + update is SiteCertificateOps.CustomPatchSync< + Certificate, + PatchModel = CertificatePatchResource, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Delete a certificate from the site. + */ + @summary("Delete a certificate from the site.") + delete is SiteCertificateOps.DeleteSync< + Certificate, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Get all certificates in a resource group under a site. + */ + @summary("Get all certificates in a resource group under a site.") + list is SiteCertificateOps.List< + Certificate, + Response = ArmResponse, + OverrideErrorType = DefaultErrorResponse + >; +} +@armResourceOperations +interface CertificateOperationGroupOps + extends Azure.ResourceManager.Legacy.LegacyOperations< + { + ...ApiVersionParameter, + ...SubscriptionIdParameter, + ...ResourceGroupParameter, + ...Azure.ResourceManager.Legacy.Provider, + + /** Name of the site. */ + @path + @segment("sites") + @key + @pattern("^[A-z][A-z0-9]*$") + name: string, + + /** Name of the deployment slot. If a slot is not specified, the API will create a binding for the production slot. */ + @path + @segment("slots") + @key + slot: string, + }, + { + /** Name of the certificate. */ + @path + @segment("certificates") + @key + @pattern("^[A-z][A-z0-9]*$") + certificateName: string, + } + > {} + +@armResourceOperations +interface CertificateOperationGroup { + /** + * Get a certificate for a given site and deployment slot. + */ + @summary("Get a certificate for a given site and deployment slot.") + getSlot is CertificateOperationGroupOps.Read< + Certificate, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Create or update a certificate in a given site and deployment slot. + */ + @summary("Create or update a certificate in a given site and deployment slot.") + createOrUpdateSlot is CertificateOperationGroupOps.CreateOrUpdateSync< + Certificate, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Create or update a certificate for a site and deployment slot. + */ + @summary("Create or update a certificate for a site and deployment slot.") + @patch(#{ implicitOptionality: false }) + updateSlot is CertificateOperationGroupOps.CustomPatchSync< + Certificate, + PatchModel = CertificatePatchResource, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Delete a certificate for a given site and deployment slot. + */ + @summary("Delete a certificate for a given site and deployment slot.") + deleteSlot is CertificateOperationGroupOps.DeleteSync< + Certificate, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Get all certificates in a resource group for a given site and a deployment slot. + */ + @summary("Get all certificates in a resource group for a given site and a deployment slot.") + listSlot is CertificateOperationGroupOps.List< + Certificate, + Response = ArmResponse, + OverrideErrorType = DefaultErrorResponse + >; +} + +@@doc(Certificate.name, "Name of the certificate."); +@@doc(Certificate.properties, "Certificate resource specific properties"); +@@doc(Certificates.createOrUpdate::parameters.resource, + "Details of certificate, if it exists already." +); +@@doc(Certificates.update::parameters.properties, + "Details of certificate, if it exists already." +); +@@doc(SiteCertificates.createOrUpdate::parameters.resource, + "Details of certificate, if it exists already." +); +@@doc(SiteCertificates.update::parameters.properties, + "Details of certificate, if it exists already." +); +@@doc(CertificateOperationGroup.createOrUpdateSlot::parameters.resource, + "Details of certificate, if it exists already." +); +@@doc(CertificateOperationGroup.updateSlot::parameters.properties, + "Details of certificate, if it exists already." +); diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/ContinuousWebJob.tsp b/specification/web/resource-manager/Microsoft.Web/AppService/ContinuousWebJob.tsp new file mode 100644 index 000000000000..c0d9e2ebc665 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/ContinuousWebJob.tsp @@ -0,0 +1,214 @@ +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "@typespec/openapi"; +import "@typespec/rest"; +import "./models.tsp"; +import "./Site.tsp"; + +using TypeSpec.Rest; +using Azure.ResourceManager; +using TypeSpec.Http; +using TypeSpec.OpenAPI; + +namespace Microsoft.Web; +/** + * Continuous Web Job Information. + */ +@parentResource(Site) +model ContinuousWebJob + is Azure.ResourceManager.ProxyResource { + ...ResourceNameParameter< + Resource = ContinuousWebJob, + KeyName = "webJobName", + SegmentName = "continuouswebjobs", + NamePattern = "" + >; + + /** + * Kind of resource. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + kind?: string; +} + +@armResourceOperations +interface ContinuousWebJobOps + extends Azure.ResourceManager.Legacy.LegacyOperations< + { + ...ApiVersionParameter, + ...SubscriptionIdParameter, + ...ResourceGroupParameter, + ...Azure.ResourceManager.Legacy.Provider, + + /** Site name. */ + @path + @segment("sites") + @key + name: string, + }, + { + /** Name of Web Job. */ + @path + @segment("continuouswebjobs") + @key + webJobName: string, + } + > {} + +@armResourceOperations +interface ContinuousWebJobs { + /** + * Description for Gets a continuous web job by its ID for an app, or a deployment slot. + */ + @summary("Gets a continuous web job by its ID for an app, or a deployment slot.") + getContinuousWebJob is ContinuousWebJobOps.Read< + ContinuousWebJob, + Response = ArmResponse | ArmNotFoundResponse, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Delete a continuous web job by its ID for an app, or a deployment slot. + */ + @summary("Delete a continuous web job by its ID for an app, or a deployment slot.") + deleteContinuousWebJob is ContinuousWebJobOps.DeleteSync< + ContinuousWebJob, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for List continuous web jobs for an app, or a deployment slot. + */ + @summary("List continuous web jobs for an app, or a deployment slot.") + listContinuousWebJobs is ContinuousWebJobOps.List< + ContinuousWebJob, + Response = ArmResponse, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Start a continuous web job for an app, or a deployment slot. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-post-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @summary("Start a continuous web job for an app, or a deployment slot.") + @action("start") + startContinuousWebJob is ContinuousWebJobOps.ActionSync< + ContinuousWebJob, + void, + { + @body body: void; + } | ArmNotFoundResponse, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Stop a continuous web job for an app, or a deployment slot. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-post-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @summary("Stop a continuous web job for an app, or a deployment slot.") + @action("stop") + stopContinuousWebJob is ContinuousWebJobOps.ActionSync< + ContinuousWebJob, + void, + { + @body body: void; + } | ArmNotFoundResponse, + OverrideErrorType = DefaultErrorResponse + >; +} +@armResourceOperations +interface ContinuousWebJobOperationGroupOps + extends Azure.ResourceManager.Legacy.LegacyOperations< + { + ...ApiVersionParameter, + ...SubscriptionIdParameter, + ...ResourceGroupParameter, + ...Azure.ResourceManager.Legacy.Provider, + + /** Site name. */ + @path + @segment("sites") + @key + name: string, + + /** Name of the deployment slot. If a slot is not specified, the API deletes a deployment for the production slot. */ + @path + @segment("slots") + @key + slot: string, + }, + { + /** Name of Web Job. */ + @path + @segment("continuouswebjobs") + @key + webJobName: string, + } + > {} + +@armResourceOperations +interface ContinuousWebJobOperationGroup { + /** + * Description for Gets a continuous web job by its ID for an app, or a deployment slot. + */ + @summary("Gets a continuous web job by its ID for an app, or a deployment slot.") + getContinuousWebJobSlot is ContinuousWebJobOperationGroupOps.Read< + ContinuousWebJob, + Response = ArmResponse | ArmNotFoundResponse, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Delete a continuous web job by its ID for an app, or a deployment slot. + */ + @summary("Delete a continuous web job by its ID for an app, or a deployment slot.") + deleteContinuousWebJobSlot is ContinuousWebJobOperationGroupOps.DeleteSync< + ContinuousWebJob, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for List continuous web jobs for an app, or a deployment slot. + */ + @summary("List continuous web jobs for an app, or a deployment slot.") + listContinuousWebJobsSlot is ContinuousWebJobOperationGroupOps.List< + ContinuousWebJob, + Response = ArmResponse, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Start a continuous web job for an app, or a deployment slot. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-post-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @summary("Start a continuous web job for an app, or a deployment slot.") + @action("start") + startContinuousWebJobSlot is ContinuousWebJobOperationGroupOps.ActionSync< + ContinuousWebJob, + void, + { + @body body: void; + } | ArmNotFoundResponse, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Stop a continuous web job for an app, or a deployment slot. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-post-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @summary("Stop a continuous web job for an app, or a deployment slot.") + @action("stop") + stopContinuousWebJobSlot is ContinuousWebJobOperationGroupOps.ActionSync< + ContinuousWebJob, + void, + { + @body body: void; + } | ArmNotFoundResponse, + OverrideErrorType = DefaultErrorResponse + >; +} + +@@doc(ContinuousWebJob.name, "Name of Web Job."); +@@doc(ContinuousWebJob.properties, + "ContinuousWebJob resource specific properties" +); diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/CsmDeploymentStatus.tsp b/specification/web/resource-manager/Microsoft.Web/AppService/CsmDeploymentStatus.tsp new file mode 100644 index 000000000000..83a4f1599456 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/CsmDeploymentStatus.tsp @@ -0,0 +1,150 @@ +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "@typespec/openapi"; +import "@typespec/rest"; +import "./models.tsp"; +import "./Site.tsp"; + +using TypeSpec.Rest; +using Azure.ResourceManager; +using TypeSpec.Http; +using TypeSpec.OpenAPI; + +namespace Microsoft.Web; +/** + * Deployment status response payload. + */ +@parentResource(Site) +model CsmDeploymentStatus + is Azure.ResourceManager.ProxyResource { + ...ResourceNameParameter< + Resource = CsmDeploymentStatus, + KeyName = "deploymentStatusId", + SegmentName = "deploymentStatus", + NamePattern = "" + >; + + /** + * Kind of resource. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + kind?: string; +} + +@armResourceOperations +interface CsmDeploymentStatusOps + extends Azure.ResourceManager.Legacy.LegacyOperations< + { + ...ApiVersionParameter, + ...SubscriptionIdParameter, + ...ResourceGroupParameter, + ...Azure.ResourceManager.Legacy.Provider, + + /** Name of the app. */ + @path + @segment("sites") + @key + name: string, + }, + { + /** GUID of the deployment operation. */ + @path + @segment("deploymentStatus") + @key + deploymentStatusId: string, + } + > {} + +@armResourceOperations +interface CsmDeploymentStatuses { + /** + * Gets the deployment status for an app (or deployment slot, if specified). + */ + #suppress "@azure-tools/typespec-azure-resource-manager/lro-location-header" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + #suppress "@azure-tools/typespec-azure-resource-manager/no-response-body" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @summary("Gets the deployment status for an app (or deployment slot, if specified).") + @Azure.ClientGenerator.Core.Legacy.markAsLro + getProductionSiteDeploymentStatus is CsmDeploymentStatusOps.Read< + CsmDeploymentStatus, + Response = ArmResponse | (ArmAcceptedResponse & { + @bodyRoot + _: CsmDeploymentStatus; + }), + OverrideErrorType = DefaultErrorResponse + >; + + /** + * List deployment statuses for an app (or deployment slot, if specified). + */ + @summary("List deployment statuses for an app (or deployment slot, if specified).") + listProductionSiteDeploymentStatuses is CsmDeploymentStatusOps.List< + CsmDeploymentStatus, + Response = ArmResponse, + OverrideErrorType = DefaultErrorResponse + >; +} +@armResourceOperations +interface CsmDeploymentStatusOperationGroupOps + extends Azure.ResourceManager.Legacy.LegacyOperations< + { + ...ApiVersionParameter, + ...SubscriptionIdParameter, + ...ResourceGroupParameter, + ...Azure.ResourceManager.Legacy.Provider, + + /** Name of the app. */ + @path + @segment("sites") + @key + name: string, + + /** Name of the deployment slot. If a slot is not specified, the API will get the deployment status for the production slot. */ + @path + @segment("slots") + @key + slot: string, + }, + { + /** GUID of the deployment operation. */ + @path + @segment("deploymentStatus") + @key + deploymentStatusId: string, + } + > {} + +@armResourceOperations +interface CsmDeploymentStatusOperationGroup { + /** + * Gets the deployment status for an app (or deployment slot, if specified). + */ + #suppress "@azure-tools/typespec-azure-resource-manager/lro-location-header" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + #suppress "@azure-tools/typespec-azure-resource-manager/no-response-body" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @summary("Gets the deployment status for an app (or deployment slot, if specified).") + @Azure.ClientGenerator.Core.Legacy.markAsLro + getSlotSiteDeploymentStatusSlot is CsmDeploymentStatusOperationGroupOps.Read< + CsmDeploymentStatus, + Response = ArmResponse | (ArmAcceptedResponse & { + @bodyRoot + _: CsmDeploymentStatus; + }), + OverrideErrorType = DefaultErrorResponse + >; + + /** + * List deployment statuses for an app (or deployment slot, if specified). + */ + @summary("List deployment statuses for an app (or deployment slot, if specified).") + listSlotSiteDeploymentStatusesSlot is CsmDeploymentStatusOperationGroupOps.List< + CsmDeploymentStatus, + Response = ArmResponse, + OverrideErrorType = DefaultErrorResponse + >; +} + +@@doc(CsmDeploymentStatus.name, "GUID of the deployment operation."); +@@doc(CsmDeploymentStatus.properties, + "CsmDeploymentStatus resource specific properties" +); diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/CsmPublishingCredentialsPoliciesEntity.tsp b/specification/web/resource-manager/Microsoft.Web/AppService/CsmPublishingCredentialsPoliciesEntity.tsp new file mode 100644 index 000000000000..b17d58cb9e99 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/CsmPublishingCredentialsPoliciesEntity.tsp @@ -0,0 +1,270 @@ +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "@typespec/openapi"; +import "@typespec/rest"; +import "./models.tsp"; +import "./Site.tsp"; + +using TypeSpec.Rest; +using Azure.ResourceManager; +using TypeSpec.Http; +using TypeSpec.OpenAPI; + +namespace Microsoft.Web; +/** + * Publishing Credentials Policies parameters. + */ +@singleton("ftp") +@parentResource(Site) +model CsmPublishingCredentialsPoliciesEntity + is Azure.ResourceManager.ProxyResource { + ...ResourceNameParameter< + Resource = CsmPublishingCredentialsPoliciesEntity, + KeyName = "basicPublishingCredentialsPolicy", + SegmentName = "basicPublishingCredentialsPolicies", + NamePattern = "" + >; + + /** + * Kind of resource. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + kind?: string; +} + +@armResourceOperations +interface CsmPublishingCredentialsPoliciesEntityOps + extends Azure.ResourceManager.Legacy.LegacyOperations< + { + ...ApiVersionParameter, + ...SubscriptionIdParameter, + ...ResourceGroupParameter, + ...Azure.ResourceManager.Legacy.Provider, + + /** Name of the app. */ + @path + @segment("sites") + @key + name: string, + }, + { + /** undefined */ + @path + @segment("basicPublishingCredentialsPolicies") + @key + ftp: "ftp", + } + > {} + +@armResourceOperations +interface CsmPublishingCredentialsPoliciesEntities { + /** + * Description for Returns whether FTP is allowed on the site or not. + */ + @summary("Returns whether FTP is allowed on the site or not.") + getFtpAllowed is CsmPublishingCredentialsPoliciesEntityOps.Read< + CsmPublishingCredentialsPoliciesEntity, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Updates whether FTP is allowed on the site or not. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-put-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @summary("Updates whether FTP is allowed on the site or not.") + updateFtpAllowed is CsmPublishingCredentialsPoliciesEntityOps.CreateOrUpdateSync< + CsmPublishingCredentialsPoliciesEntity, + Response = ArmResourceUpdatedResponse, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Returns whether Scm basic auth is allowed and whether Ftp is allowed for a given site. + */ + @summary("Returns whether Scm basic auth is allowed and whether Ftp is allowed for a given site.") + @segment("basicPublishingCredentialsPolicies") + listBasicPublishingCredentialsPolicies is CsmPublishingCredentialsPoliciesEntityOps.List< + CsmPublishingCredentialsPoliciesEntity, + Response = ArmResponse, + OverrideErrorType = DefaultErrorResponse + >; +} +@armResourceOperations +interface CsmPublishingCredentialsPoliciesEntityOperationGroupOps + extends Azure.ResourceManager.Legacy.LegacyOperations< + { + ...ApiVersionParameter, + ...SubscriptionIdParameter, + ...ResourceGroupParameter, + ...Azure.ResourceManager.Legacy.Provider, + + /** Name of the app. */ + @path + @segment("sites") + @key + name: string, + }, + { + /** undefined */ + @path + @segment("basicPublishingCredentialsPolicies") + @key + scm: "scm", + } + > {} + +@armResourceOperations +interface CsmPublishingCredentialsPoliciesEntityOperationGroup { + /** + * Description for Returns whether Scm basic auth is allowed on the site or not. + */ + @summary("Returns whether Scm basic auth is allowed on the site or not.") + getScmAllowed is CsmPublishingCredentialsPoliciesEntityOperationGroupOps.Read< + CsmPublishingCredentialsPoliciesEntity, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Updates whether user publishing credentials are allowed on the site or not. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-put-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @summary("Updates whether user publishing credentials are allowed on the site or not.") + updateScmAllowed is CsmPublishingCredentialsPoliciesEntityOperationGroupOps.CreateOrUpdateSync< + CsmPublishingCredentialsPoliciesEntity, + Response = ArmResourceUpdatedResponse, + OverrideErrorType = DefaultErrorResponse + >; +} +@armResourceOperations +interface FtpAllowedSlotOps + extends Azure.ResourceManager.Legacy.LegacyOperations< + { + ...ApiVersionParameter, + ...SubscriptionIdParameter, + ...ResourceGroupParameter, + ...Azure.ResourceManager.Legacy.Provider, + + /** Name of the app. */ + @path + @segment("sites") + @key + name: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + @segment("slots") + @key + slot: string, + }, + { + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + @segment("basicPublishingCredentialsPolicies") + @key + ftp: "ftp", + } + > {} + +@armResourceOperations +interface CsmPublishingCredentialsPoliciesEntityFtpAllowedSlot { + /** + * Description for Returns whether FTP is allowed on the site or not. + */ + @summary("Returns whether FTP is allowed on the site or not.") + getFtpAllowedSlot is FtpAllowedSlotOps.Read< + CsmPublishingCredentialsPoliciesEntity, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Updates whether FTP is allowed on the site or not. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-put-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @summary("Updates whether FTP is allowed on the site or not.") + updateFtpAllowedSlot is FtpAllowedSlotOps.CreateOrUpdateSync< + CsmPublishingCredentialsPoliciesEntity, + Response = ArmResourceUpdatedResponse, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Returns whether Scm basic auth is allowed and whether Ftp is allowed for a given site. + */ + @summary("Returns whether Scm basic auth is allowed and whether Ftp is allowed for a given site.") + @segment("basicPublishingCredentialsPolicies") + listBasicPublishingCredentialsPoliciesSlot is FtpAllowedSlotOps.List< + CsmPublishingCredentialsPoliciesEntity, + Response = ArmResponse, + OverrideErrorType = DefaultErrorResponse + >; +} +@armResourceOperations +interface ScmAllowedSlotOps + extends Azure.ResourceManager.Legacy.LegacyOperations< + { + ...ApiVersionParameter, + ...SubscriptionIdParameter, + ...ResourceGroupParameter, + ...Azure.ResourceManager.Legacy.Provider, + + /** Name of the app. */ + @path + @segment("sites") + @key + name: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + @segment("slots") + @key + slot: string, + }, + { + /** undefined */ + @path + @segment("basicPublishingCredentialsPolicies") + @key + scm: "scm", + } + > {} + +#suppress "@azure-tools/typespec-azure-resource-manager/no-resource-delete-operation" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@armResourceOperations +interface CsmPublishingCredentialsPoliciesEntityScmAllowedSlot { + /** + * Description for Returns whether Scm basic auth is allowed on the site or not. + */ + @summary("Returns whether Scm basic auth is allowed on the site or not.") + getScmAllowedSlot is ScmAllowedSlotOps.Read< + CsmPublishingCredentialsPoliciesEntity, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Updates whether user publishing credentials are allowed on the site or not. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-put-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @summary("Updates whether user publishing credentials are allowed on the site or not.") + updateScmAllowedSlot is ScmAllowedSlotOps.CreateOrUpdateSync< + CsmPublishingCredentialsPoliciesEntity, + Response = ArmResourceUpdatedResponse, + OverrideErrorType = DefaultErrorResponse + >; +} + +@@doc(CsmPublishingCredentialsPoliciesEntity.name, ""); +@@doc(CsmPublishingCredentialsPoliciesEntity.properties, + "CsmPublishingCredentialsPoliciesEntity resource specific properties" +); +@@doc(CsmPublishingCredentialsPoliciesEntities.updateFtpAllowed::parameters.resource, + "" +); +@@doc(CsmPublishingCredentialsPoliciesEntityOperationGroup.updateScmAllowed::parameters.resource, + "" +); +@@doc(CsmPublishingCredentialsPoliciesEntityFtpAllowedSlot.updateFtpAllowedSlot::parameters.resource, + "" +); +@@doc(CsmPublishingCredentialsPoliciesEntityScmAllowedSlot.updateScmAllowedSlot::parameters.resource, + "" +); diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/CustomDnsSuffixConfiguration.tsp b/specification/web/resource-manager/Microsoft.Web/AppService/CustomDnsSuffixConfiguration.tsp new file mode 100644 index 000000000000..cd407cd28b37 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/CustomDnsSuffixConfiguration.tsp @@ -0,0 +1,78 @@ +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "@typespec/openapi"; +import "@typespec/rest"; +import "./models.tsp"; +import "./AppServiceEnvironmentResource.tsp"; + +using TypeSpec.Rest; +using Azure.ResourceManager; +using TypeSpec.Http; +using TypeSpec.OpenAPI; + +namespace Microsoft.Web; +/** + * Full view of the custom domain suffix configuration for ASEv3. + */ +@singleton("customdnssuffix") +@parentResource(AppServiceEnvironmentResource) +model CustomDnsSuffixConfiguration + is Azure.ResourceManager.ProxyResource { + ...ResourceNameParameter< + Resource = CustomDnsSuffixConfiguration, + KeyName = "configuration", + SegmentName = "configurations", + NamePattern = "" + >; + + /** + * Kind of resource. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + kind?: string; +} + +@armResourceOperations +interface CustomDnsSuffixConfigurations { + /** + * Get Custom Dns Suffix configuration of an App Service Environment + */ + @summary("Get Custom Dns Suffix configuration of an App Service Environment") + getAseCustomDnsSuffixConfiguration is ArmResourceRead< + CustomDnsSuffixConfiguration, + Error = DefaultErrorResponse + >; + + /** + * Update Custom Dns Suffix configuration of an App Service Environment + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-put-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @summary("Update Custom Dns Suffix configuration of an App Service Environment") + updateAseCustomDnsSuffixConfiguration is ArmResourceCreateOrReplaceSync< + CustomDnsSuffixConfiguration, + Response = ArmResourceUpdatedResponse, + Error = DefaultErrorResponse + >; + + /** + * Delete Custom Dns Suffix configuration of an App Service Environment + */ + #suppress "@azure-tools/typespec-azure-resource-manager/no-response-body" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + #suppress "@azure-tools/typespec-azure-core/no-unknown" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @summary("Delete Custom Dns Suffix configuration of an App Service Environment") + deleteAseCustomDnsSuffixConfiguration is ArmResourceDeleteSync< + CustomDnsSuffixConfiguration, + Response = ArmResponse | (ArmDeletedNoContentResponse & { + @body _: unknown; + }), + Error = DefaultErrorResponse + >; +} + +@@doc(CustomDnsSuffixConfiguration.name, ""); +@@doc(CustomDnsSuffixConfiguration.properties, + "CustomDnsSuffixConfiguration resource specific properties" +); +@@doc(CustomDnsSuffixConfigurations.updateAseCustomDnsSuffixConfiguration::parameters.resource, + "" +); diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/DatabaseConnection.tsp b/specification/web/resource-manager/Microsoft.Web/AppService/DatabaseConnection.tsp new file mode 100644 index 000000000000..eff9d6d79b24 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/DatabaseConnection.tsp @@ -0,0 +1,235 @@ +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "@typespec/openapi"; +import "@typespec/rest"; +import "./models.tsp"; +import "./StaticSiteBuildARMResource.tsp"; + +using TypeSpec.Rest; +using Azure.ResourceManager; +using TypeSpec.Http; +using TypeSpec.OpenAPI; + +namespace Microsoft.Web; +/** + * Static Site Database Connection resource. + */ +@parentResource(StaticSiteBuildARMResource) +model DatabaseConnection + is Azure.ResourceManager.ProxyResource { + ...ResourceNameParameter< + Resource = DatabaseConnection, + KeyName = "databaseConnectionName", + SegmentName = "databaseConnections", + NamePattern = "^[a-zA-Z0-9]+$" + >; + + /** + * Kind of resource. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + kind?: string; +} + +@armResourceOperations +interface DatabaseConnectionOps + extends Azure.ResourceManager.Legacy.LegacyOperations< + { + ...ApiVersionParameter, + ...SubscriptionIdParameter, + ...ResourceGroupParameter, + ...Azure.ResourceManager.Legacy.Provider, + + /** Name of the static site */ + @path + @segment("staticSites") + @key + name: string, + + /** The stage site identifier. */ + @path + @segment("builds") + @key + @pattern("^[a-zA-Z0-9]+$") + environmentName: string, + }, + { + /** Name of the database connection. */ + @path + @segment("databaseConnections") + @key + @pattern("^[a-zA-Z0-9]+$") + databaseConnectionName: string, + } + > {} + +@armResourceOperations +interface DatabaseConnections { + /** + * Returns overview of a database connection for a static site build by name + */ + @summary("Returns overview of a database connection for a static site build by name") + getBuildDatabaseConnection is DatabaseConnectionOps.Read< + DatabaseConnection, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Create or update a database connection for a static site build + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-put-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @summary("Create or update a database connection for a static site build") + createOrUpdateBuildDatabaseConnection is DatabaseConnectionOps.CreateOrUpdateSync< + DatabaseConnection, + Response = ArmResourceUpdatedResponse, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Create or update a database connection for a static site build + */ + @summary("Create or update a database connection for a static site build") + @patch(#{ implicitOptionality: false }) + updateBuildDatabaseConnection is DatabaseConnectionOps.CustomPatchSync< + DatabaseConnection, + PatchModel = DatabaseConnectionPatchRequest, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Delete a database connection for a static site build + */ + @summary("Delete a database connection for a static site build") + deleteBuildDatabaseConnection is DatabaseConnectionOps.DeleteSync< + DatabaseConnection, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Returns overviews of database connections for a static site build + */ + @summary("Returns overviews of database connections for a static site build") + getBuildDatabaseConnections is DatabaseConnectionOps.List< + DatabaseConnection, + Response = ArmResponse, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Returns details of a database connection for a static site build by name + */ + @summary("Returns details of a database connection for a static site build by name") + @action("show") + getBuildDatabaseConnectionWithDetails is DatabaseConnectionOps.ActionSync< + DatabaseConnection, + void, + ArmResponse, + OverrideErrorType = DefaultErrorResponse + >; +} +@armResourceOperations +interface DatabaseConnectionOperationGroupOps + extends Azure.ResourceManager.Legacy.LegacyOperations< + { + ...ApiVersionParameter, + ...SubscriptionIdParameter, + ...ResourceGroupParameter, + ...Azure.ResourceManager.Legacy.Provider, + + /** Name of the static site */ + @path + @segment("staticSites") + @key + name: string, + }, + { + /** Name of the database connection. */ + @path + @segment("databaseConnections") + @key + @pattern("^[a-zA-Z0-9]+$") + databaseConnectionName: string, + } + > {} + +@armResourceOperations +interface DatabaseConnectionOperationGroup { + /** + * Returns overview of a database connection for a static site by name + */ + @summary("Returns overview of a database connection for a static site by name") + getDatabaseConnection is DatabaseConnectionOperationGroupOps.Read< + DatabaseConnection, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Create or update a database connection for a static site + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-put-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @summary("Create or update a database connection for a static site") + createOrUpdateDatabaseConnection is DatabaseConnectionOperationGroupOps.CreateOrUpdateSync< + DatabaseConnection, + Response = ArmResourceUpdatedResponse, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Create or update a database connection for a static site + */ + @summary("Create or update a database connection for a static site") + @patch(#{ implicitOptionality: false }) + updateDatabaseConnection is DatabaseConnectionOperationGroupOps.CustomPatchSync< + DatabaseConnection, + PatchModel = DatabaseConnectionPatchRequest, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Delete a database connection for a static site + */ + @summary("Delete a database connection for a static site") + deleteDatabaseConnection is DatabaseConnectionOperationGroupOps.DeleteSync< + DatabaseConnection, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Returns overviews of database connections for a static site + */ + @summary("Returns overviews of database connections for a static site") + getDatabaseConnections is DatabaseConnectionOperationGroupOps.List< + DatabaseConnection, + Response = ArmResponse, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Returns details of a database connection for a static site by name + */ + @summary("Returns details of a database connection for a static site by name") + @action("show") + getDatabaseConnectionWithDetails is DatabaseConnectionOperationGroupOps.ActionSync< + DatabaseConnection, + void, + ArmResponse, + OverrideErrorType = DefaultErrorResponse + >; +} + +@@doc(DatabaseConnection.name, "Name of the database connection."); +@@doc(DatabaseConnection.properties, + "DatabaseConnection resource specific properties" +); +@@doc(DatabaseConnections.createOrUpdateBuildDatabaseConnection::parameters.resource, + "A JSON representation of the database connection request properties" +); +@@doc(DatabaseConnections.updateBuildDatabaseConnection::parameters.properties, + "A JSON representation of the database connection request properties" +); +@@doc(DatabaseConnectionOperationGroup.createOrUpdateDatabaseConnection::parameters.resource, + "A JSON representation of the database connection request properties" +); +@@doc(DatabaseConnectionOperationGroup.updateDatabaseConnection::parameters.properties, + "A JSON representation of the database connection request properties" +); diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/DeletedSite.tsp b/specification/web/resource-manager/Microsoft.Web/AppService/DeletedSite.tsp new file mode 100644 index 000000000000..134a3767f093 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/DeletedSite.tsp @@ -0,0 +1,140 @@ +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "@typespec/openapi"; +import "@typespec/rest"; +import "./models.tsp"; + +using TypeSpec.Rest; +using Azure.ResourceManager; +using TypeSpec.Http; +using TypeSpec.OpenAPI; + +namespace Microsoft.Web; +/** + * A deleted app. + */ +@subscriptionResource +@parentResource(SubscriptionLocationResource) +model DeletedSite + is Azure.ResourceManager.ProxyResource { + ...ResourceNameParameter< + Resource = DeletedSite, + KeyName = "deletedSiteId", + SegmentName = "deletedSites", + NamePattern = "" + >; + + /** + * Kind of resource. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-duplicate-property" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + kind?: string; +} + +@armResourceOperations +interface DeletedSiteOps + extends Azure.ResourceManager.Legacy.ExtensionOperations< + { + ...ApiVersionParameter, + ...SubscriptionIdParameter, + + /** the provider namespace */ + @path + @segment("providers") + @key + providerNamespace: "Microsoft.Web", + + ...LocationParameter, + }, + {}, + { + /** The numeric ID of the deleted app, e.g. 12345 */ + @path + @segment("deletedSites") + @key + deletedSiteId: string, + } + > {} + +@armResourceOperations +interface DeletedSites { + /** + * Description for Get deleted app for a subscription at location. + */ + @summary("Get deleted app for a subscription at location.") + getDeletedWebAppByLocation is DeletedSiteOps.Read< + DeletedSite, + ErrorType = DefaultErrorResponse + >; + + /** + * Description for Get all deleted apps for a subscription at location + */ + @summary("Get all deleted apps for a subscription at location") + listByLocation is DeletedSiteOps.List< + DeletedSite, + Response = ArmResponse, + ErrorType = DefaultErrorResponse + >; +} +@armResourceOperations +interface GlobalOps + extends Azure.ResourceManager.Legacy.ExtensionOperations< + { + ...ApiVersionParameter, + ...SubscriptionIdParameter, + + /** the provider namespace */ + @path + @segment("providers") + @key + providerNamespace: "Microsoft.Web", + }, + {}, + { + /** The numeric ID of the deleted app, e.g. 12345 */ + @path + @segment("deletedSites") + @key + deletedSiteId: string, + } + > {} + +@armResourceOperations +interface Global { + /** + * Description for Get deleted app for a subscription. + */ + @summary("Get deleted app for a subscription.") + getDeletedWebApp is GlobalOps.Read< + DeletedSite, + ErrorType = DefaultErrorResponse + >; + + /** + * Description for Get all deleted apps for a subscription. + */ + @summary("Get all deleted apps for a subscription.") + list is GlobalOps.List< + DeletedSite, + Response = ArmResponse, + ErrorType = DefaultErrorResponse + >; + + /** + * Description for Get all deleted apps for a subscription. + */ + @get + @action("snapshots") + @summary("Get all deleted apps for a subscription.") + getDeletedWebAppSnapshots is GlobalOps.ActionSync< + DeletedSite, + void, + ArmResponse, + ErrorType = DefaultErrorResponse + >; +} + +@@doc(DeletedSite.name, "The numeric ID of the deleted app, e.g. 12345"); +@@doc(DeletedSite.properties, "DeletedSite resource specific properties"); diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/Deployment.tsp b/specification/web/resource-manager/Microsoft.Web/AppService/Deployment.tsp new file mode 100644 index 000000000000..0b531273b2b8 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/Deployment.tsp @@ -0,0 +1,201 @@ +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "@typespec/openapi"; +import "@typespec/rest"; +import "./models.tsp"; +import "./Site.tsp"; + +using TypeSpec.Rest; +using Azure.ResourceManager; +using TypeSpec.Http; +using TypeSpec.OpenAPI; + +namespace Microsoft.Web; +/** + * User credentials used for publishing activity. + */ +@parentResource(Site) +model Deployment is Azure.ResourceManager.ProxyResource { + ...ResourceNameParameter< + Resource = Deployment, + KeyName = "id", + SegmentName = "deployments", + NamePattern = "" + >; + + /** + * Kind of resource. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + kind?: string; +} + +@armResourceOperations +interface DeploymentOps + extends Azure.ResourceManager.Legacy.LegacyOperations< + { + ...ApiVersionParameter, + ...SubscriptionIdParameter, + ...ResourceGroupParameter, + ...Azure.ResourceManager.Legacy.Provider, + + /** Name of the app. */ + @path + @segment("sites") + @key + name: string, + }, + { + /** Deployment ID. */ + @path + @segment("deployments") + @key + id: string, + } + > {} + +@armResourceOperations +interface Deployments { + /** + * Description for Get a deployment by its ID for an app, or a deployment slot. + */ + @summary("Get a deployment by its ID for an app, or a deployment slot.") + getDeployment is DeploymentOps.Read< + Deployment, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Create a deployment for an app, or a deployment slot. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-put-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @summary("Create a deployment for an app, or a deployment slot.") + createDeployment is DeploymentOps.CreateOrUpdateSync< + Deployment, + Response = ArmResourceUpdatedResponse, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Delete a deployment by its ID for an app, or a deployment slot. + */ + @summary("Delete a deployment by its ID for an app, or a deployment slot.") + deleteDeployment is DeploymentOps.DeleteSync< + Deployment, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for List deployments for an app, or a deployment slot. + */ + @summary("List deployments for an app, or a deployment slot.") + listDeployments is DeploymentOps.List< + Deployment, + Response = ArmResponse, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for List deployment log for specific deployment for an app, or a deployment slot. + */ + @summary("List deployment log for specific deployment for an app, or a deployment slot.") + @get + @action("log") + listDeploymentLog is DeploymentOps.ActionSync< + Deployment, + void, + ArmResponse, + OverrideErrorType = DefaultErrorResponse + >; +} +@armResourceOperations +interface DeploymentOperationGroupOps + extends Azure.ResourceManager.Legacy.LegacyOperations< + { + ...ApiVersionParameter, + ...SubscriptionIdParameter, + ...ResourceGroupParameter, + ...Azure.ResourceManager.Legacy.Provider, + + /** Name of the app. */ + @path + @segment("sites") + @key + name: string, + + /** Name of the deployment slot. If a slot is not specified, the API gets a deployment for the production slot. */ + @path + @segment("slots") + @key + slot: string, + }, + { + /** Deployment ID. */ + @path + @segment("deployments") + @key + id: string, + } + > {} + +@armResourceOperations +interface DeploymentOperationGroup { + /** + * Description for Get a deployment by its ID for an app, or a deployment slot. + */ + @summary("Get a deployment by its ID for an app, or a deployment slot.") + getDeploymentSlot is DeploymentOperationGroupOps.Read< + Deployment, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Create a deployment for an app, or a deployment slot. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-put-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @summary("Create a deployment for an app, or a deployment slot.") + createDeploymentSlot is DeploymentOperationGroupOps.CreateOrUpdateSync< + Deployment, + Response = ArmResourceUpdatedResponse, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Delete a deployment by its ID for an app, or a deployment slot. + */ + @summary("Delete a deployment by its ID for an app, or a deployment slot.") + deleteDeploymentSlot is DeploymentOperationGroupOps.DeleteSync< + Deployment, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for List deployments for an app, or a deployment slot. + */ + @summary("List deployments for an app, or a deployment slot.") + listDeploymentsSlot is DeploymentOperationGroupOps.List< + Deployment, + Response = ArmResponse, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for List deployment log for specific deployment for an app, or a deployment slot. + */ + @summary("List deployment log for specific deployment for an app, or a deployment slot.") + @get + @action("log") + listDeploymentLogSlot is DeploymentOperationGroupOps.ActionSync< + Deployment, + void, + ArmResponse, + OverrideErrorType = DefaultErrorResponse + >; +} + +@@doc(Deployment.name, "Deployment ID."); +@@doc(Deployment.properties, "Deployment resource specific properties"); +@@doc(Deployments.createDeployment::parameters.resource, "Deployment details."); +@@doc(DeploymentOperationGroup.createDeploymentSlot::parameters.resource, + "Deployment details." +); diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/DetectorDefinitionResource.tsp b/specification/web/resource-manager/Microsoft.Web/AppService/DetectorDefinitionResource.tsp new file mode 100644 index 000000000000..1be448f5749c --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/DetectorDefinitionResource.tsp @@ -0,0 +1,208 @@ +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "@typespec/openapi"; +import "@typespec/rest"; +import "./models.tsp"; +import "./DiagnosticCategory.tsp"; + +using TypeSpec.Rest; +using Azure.ResourceManager; +using TypeSpec.Http; +using TypeSpec.OpenAPI; + +namespace Microsoft.Web; +/** + * ARM resource for a detector definition + */ +@parentResource(DiagnosticCategory) +model DetectorDefinitionResource + is Azure.ResourceManager.ProxyResource { + ...ResourceNameParameter< + Resource = DetectorDefinitionResource, + KeyName = "detectorName", + SegmentName = "detectors", + NamePattern = "" + >; + + /** + * Kind of resource. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + kind?: string; +} + +@armResourceOperations +interface DetectorDefinitionResourceOps + extends Azure.ResourceManager.Legacy.LegacyOperations< + { + ...ApiVersionParameter, + ...SubscriptionIdParameter, + ...ResourceGroupParameter, + ...Azure.ResourceManager.Legacy.Provider, + + /** Site Name */ + @path + @segment("sites") + @key + siteName: string, + + /** Diagnostic Category */ + @path + @segment("diagnostics") + @key + diagnosticCategory: string, + }, + { + /** Detector Name */ + @path + @segment("detectors") + @key + detectorName: string, + } + > {} + +@armResourceOperations +interface DetectorDefinitionResources { + /** + * Description for Get Detector + */ + @summary("Get Detector") + getSiteDetector is DetectorDefinitionResourceOps.Read< + DetectorDefinitionResource, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Get Detectors + */ + @summary("Get Detectors") + listSiteDetectors is DetectorDefinitionResourceOps.List< + DetectorDefinitionResource, + Response = ArmResponse, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Execute Detector + */ + @summary("Execute Detector") + @action("execute") + executeSiteDetector is DetectorDefinitionResourceOps.ActionSync< + DetectorDefinitionResource, + void, + ArmResponse, + Parameters = { + /** + * Start Time + */ + @query("startTime") + startTime?: utcDateTime; + + /** + * End Time + */ + @query("endTime") + endTime?: utcDateTime; + + /** + * Time Grain + */ + @pattern("PT[1-9][0-9]+[SMH]") + @query("timeGrain") + timeGrain?: string; + }, + OverrideErrorType = DefaultErrorResponse + >; +} +@armResourceOperations +interface DetectorDefinitionResourceOperationGroupOps + extends Azure.ResourceManager.Legacy.LegacyOperations< + { + ...ApiVersionParameter, + ...SubscriptionIdParameter, + ...ResourceGroupParameter, + ...Azure.ResourceManager.Legacy.Provider, + + /** Site Name */ + @path + @segment("sites") + @key + siteName: string, + + /** Slot Name */ + @path + @segment("slots") + @key + slot: string, + + /** Diagnostic Category */ + @path + @segment("diagnostics") + @key + diagnosticCategory: string, + }, + { + /** Detector Name */ + @path + @segment("detectors") + @key + detectorName: string, + } + > {} + +@armResourceOperations +interface DetectorDefinitionResourceOperationGroup { + /** + * Description for Get Detector + */ + @summary("Get Detector") + getSiteDetectorSlot is DetectorDefinitionResourceOperationGroupOps.Read< + DetectorDefinitionResource, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Get Detectors + */ + @summary("Get Detectors") + listSiteDetectorsSlot is DetectorDefinitionResourceOperationGroupOps.List< + DetectorDefinitionResource, + Response = ArmResponse, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Execute Detector + */ + @summary("Execute Detector") + @action("execute") + executeSiteDetectorSlot is DetectorDefinitionResourceOperationGroupOps.ActionSync< + DetectorDefinitionResource, + void, + ArmResponse, + Parameters = { + /** + * Start Time + */ + @query("startTime") + startTime?: utcDateTime; + + /** + * End Time + */ + @query("endTime") + endTime?: utcDateTime; + + /** + * Time Grain + */ + @pattern("PT[1-9][0-9]+[SMH]") + @query("timeGrain") + timeGrain?: string; + }, + OverrideErrorType = DefaultErrorResponse + >; +} + +@@doc(DetectorDefinitionResource.name, "Detector Name"); +@@doc(DetectorDefinitionResource.properties, "Core resource properties"); diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/DetectorResponse.tsp b/specification/web/resource-manager/Microsoft.Web/AppService/DetectorResponse.tsp new file mode 100644 index 000000000000..f4191ccd4961 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/DetectorResponse.tsp @@ -0,0 +1,239 @@ +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "@typespec/openapi"; +import "@typespec/rest"; +import "./models.tsp"; +import "./AppServiceEnvironmentResource.tsp"; + +using TypeSpec.Rest; +using Azure.ResourceManager; +using TypeSpec.Http; +using TypeSpec.OpenAPI; + +namespace Microsoft.Web; +/** + * Class representing Response from Detector + */ +@parentResource(AppServiceEnvironmentResource) +model DetectorResponse + is Azure.ResourceManager.ProxyResource { + ...ResourceNameParameter< + Resource = DetectorResponse, + KeyName = "detectorName", + SegmentName = "detectors", + NamePattern = "" + >; + + /** + * Kind of resource. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + kind?: string; +} + +@armResourceOperations +interface DetectorResponseOps + extends Azure.ResourceManager.Legacy.LegacyOperations< + { + ...ApiVersionParameter, + ...SubscriptionIdParameter, + ...ResourceGroupParameter, + ...Azure.ResourceManager.Legacy.Provider, + + /** App Service Environment Name */ + @path + @segment("hostingEnvironments") + @key + name: string, + }, + { + /** Detector Resource Name */ + @path + @segment("detectors") + @key + detectorName: string, + } + > {} + +@armResourceOperations +interface DetectorResponses { + /** + * Description for Get Hosting Environment Detector Response + */ + @summary("Get Hosting Environment Detector Response") + getHostingEnvironmentDetectorResponse is DetectorResponseOps.Read< + DetectorResponse, + Parameters = { + /** + * Start Time + */ + @query("startTime") + startTime?: utcDateTime; + + /** + * End Time + */ + @query("endTime") + endTime?: utcDateTime; + + /** + * Time Grain + */ + @pattern("PT[1-9][0-9]+[SMH]") + @query("timeGrain") + timeGrain?: string; + }, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for List Hosting Environment Detector Responses + */ + @summary("List Hosting Environment Detector Responses") + listHostingEnvironmentDetectorResponses is DetectorResponseOps.List< + DetectorResponse, + Response = ArmResponse, + OverrideErrorType = DefaultErrorResponse + >; +} +@armResourceOperations +interface DiagnosticOps + extends Azure.ResourceManager.Legacy.LegacyOperations< + { + ...ApiVersionParameter, + ...SubscriptionIdParameter, + ...ResourceGroupParameter, + ...Azure.ResourceManager.Legacy.Provider, + + /** Site Name */ + @path + @segment("sites") + @key + siteName: string, + }, + { + /** Detector Resource Name */ + @path + @segment("detectors") + @key + detectorName: string, + } + > {} + +@armResourceOperations +interface Diagnostics { + /** + * Description for Get site detector response + */ + @summary("Get site detector response") + getSiteDetectorResponse is DiagnosticOps.Read< + DetectorResponse, + Parameters = { + /** + * Start Time + */ + @query("startTime") + startTime?: utcDateTime; + + /** + * End Time + */ + @query("endTime") + endTime?: utcDateTime; + + /** + * Time Grain + */ + @pattern("PT[1-9][0-9]+[SMH]") + @query("timeGrain") + timeGrain?: string; + }, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for List Site Detector Responses + */ + @summary("List Site Detector Responses") + listSiteDetectorResponses is DiagnosticOps.List< + DetectorResponse, + Response = ArmResponse, + OverrideErrorType = DefaultErrorResponse + >; +} +@armResourceOperations +interface DetectorResponseOperationGroupOps + extends Azure.ResourceManager.Legacy.LegacyOperations< + { + ...ApiVersionParameter, + ...SubscriptionIdParameter, + ...ResourceGroupParameter, + ...Azure.ResourceManager.Legacy.Provider, + + /** Site Name */ + @path + @segment("sites") + @key + siteName: string, + + /** Slot Name */ + @path + @segment("slots") + @key + slot: string, + }, + { + /** Detector Resource Name */ + @path + @segment("detectors") + @key + detectorName: string, + } + > {} + +@armResourceOperations +interface DetectorResponseOperationGroup { + /** + * Description for Get site detector response + */ + @summary("Get site detector response") + getSiteDetectorResponseSlot is DetectorResponseOperationGroupOps.Read< + DetectorResponse, + Parameters = { + /** + * Start Time + */ + @query("startTime") + startTime?: utcDateTime; + + /** + * End Time + */ + @query("endTime") + endTime?: utcDateTime; + + /** + * Time Grain + */ + @pattern("PT[1-9][0-9]+[SMH]") + @query("timeGrain") + timeGrain?: string; + }, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for List Site Detector Responses + */ + @summary("List Site Detector Responses") + listSiteDetectorResponsesSlot is DetectorResponseOperationGroupOps.List< + DetectorResponse, + Response = ArmResponse, + OverrideErrorType = DefaultErrorResponse + >; +} + +@@doc(DetectorResponse.name, "Detector Resource Name"); +@@doc(DetectorResponse.properties, + "DetectorResponse resource specific properties" +); diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/DiagnosticCategory.tsp b/specification/web/resource-manager/Microsoft.Web/AppService/DiagnosticCategory.tsp new file mode 100644 index 000000000000..17a05ee4c8fc --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/DiagnosticCategory.tsp @@ -0,0 +1,132 @@ +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "@typespec/openapi"; +import "@typespec/rest"; +import "./models.tsp"; + +using TypeSpec.Rest; +using Azure.ResourceManager; +using TypeSpec.Http; +using TypeSpec.OpenAPI; + +namespace Microsoft.Web; +/** + * Class representing detector definition + */ +model DiagnosticCategory + is Azure.ResourceManager.ProxyResource { + ...ResourceNameParameter< + Resource = DiagnosticCategory, + KeyName = "diagnosticCategory", + SegmentName = "diagnostics", + NamePattern = "" + >; + + /** + * Kind of resource. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + kind?: string; +} + +@armResourceOperations +interface DiagnosticCategoryOps + extends Azure.ResourceManager.Legacy.LegacyOperations< + { + ...ApiVersionParameter, + ...SubscriptionIdParameter, + ...ResourceGroupParameter, + ...Azure.ResourceManager.Legacy.Provider, + + /** Site Name */ + @path + @segment("sites") + @key + siteName: string, + }, + { + /** Diagnostic Category */ + @path + @segment("diagnostics") + @key + diagnosticCategory: string, + } + > {} + +@armResourceOperations +interface DiagnosticCategories { + /** + * Description for Get Diagnostics Category + */ + @summary("Get Diagnostics Category") + getSiteDiagnosticCategory is DiagnosticCategoryOps.Read< + DiagnosticCategory, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Get Diagnostics Categories + */ + @summary("Get Diagnostics Categories") + listSiteDiagnosticCategories is DiagnosticCategoryOps.List< + DiagnosticCategory, + Response = ArmResponse, + OverrideErrorType = DefaultErrorResponse + >; +} +@armResourceOperations +interface DiagnosticCategoryOperationGroupOps + extends Azure.ResourceManager.Legacy.LegacyOperations< + { + ...ApiVersionParameter, + ...SubscriptionIdParameter, + ...ResourceGroupParameter, + ...Azure.ResourceManager.Legacy.Provider, + + /** Site Name */ + @path + @segment("sites") + @key + siteName: string, + + /** Slot Name */ + @path + @segment("slots") + @key + slot: string, + }, + { + /** Diagnostic Category */ + @path + @segment("diagnostics") + @key + diagnosticCategory: string, + } + > {} + +@armResourceOperations +interface DiagnosticCategoryOperationGroup { + /** + * Description for Get Diagnostics Category + */ + @summary("Get Diagnostics Category") + getSiteDiagnosticCategorySlot is DiagnosticCategoryOperationGroupOps.Read< + DiagnosticCategory, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Get Diagnostics Categories + */ + @summary("Get Diagnostics Categories") + listSiteDiagnosticCategoriesSlot is DiagnosticCategoryOperationGroupOps.List< + DiagnosticCategory, + Response = ArmResponse, + OverrideErrorType = DefaultErrorResponse + >; +} + +@@doc(DiagnosticCategory.name, "Diagnostic Category"); +@@doc(DiagnosticCategory.properties, + "DiagnosticCategory resource specific properties" +); diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/FunctionEnvelope.tsp b/specification/web/resource-manager/Microsoft.Web/AppService/FunctionEnvelope.tsp new file mode 100644 index 000000000000..e503ead7fd0a --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/FunctionEnvelope.tsp @@ -0,0 +1,403 @@ +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "@typespec/openapi"; +import "@typespec/rest"; +import "./models.tsp"; +import "./Site.tsp"; + +using TypeSpec.Rest; +using Azure.ResourceManager; +using TypeSpec.Http; +using TypeSpec.OpenAPI; + +namespace Microsoft.Web; +/** + * Function information. + */ +@parentResource(Site) +model FunctionEnvelope + is Azure.ResourceManager.ProxyResource { + ...ResourceNameParameter< + Resource = FunctionEnvelope, + KeyName = "functionName", + SegmentName = "functions", + NamePattern = "" + >; + + /** + * Kind of resource. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + kind?: string; +} + +@armResourceOperations +interface FunctionEnvelopeOps + extends Azure.ResourceManager.Legacy.LegacyOperations< + { + ...ApiVersionParameter, + ...SubscriptionIdParameter, + ...ResourceGroupParameter, + ...Azure.ResourceManager.Legacy.Provider, + + /** Site name. */ + @path + @segment("sites") + @key + name: string, + }, + { + /** Function name. */ + @path + @segment("functions") + @key + functionName: string, + } + > {} + +alias FunctionEnvelopesOps = Azure.ResourceManager.Legacy.RoutedOperations< + { + ...ApiVersionParameter; + ...SubscriptionIdParameter; + ...ResourceGroupParameter; + }, + { + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + @segment("sites") + @key + name: string; + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + @segment("functions") + @key + functionName: string; + }, + ResourceRoute = #{ + route: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.Web/sites/{name}/functions", + } +>; + +@armResourceOperations +interface FunctionEnvelopeSlotOperationGroupOps + extends Azure.ResourceManager.Legacy.LegacyOperations< + { + ...ApiVersionParameter, + ...SubscriptionIdParameter, + ...ResourceGroupParameter, + ...Azure.ResourceManager.Legacy.Provider, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + @segment("sites") + @key + name: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + @segment("slots") + @key + slot: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + @segment("functions") + @key + functionName: string, + }, + { + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + @segment("keys") + @key + keyName: string, + } + > {} + +@armResourceOperations +interface FunctionEnvelopeSlotOperationWithoutKeysGroupOps + extends Azure.ResourceManager.Legacy.LegacyOperations< + { + ...ApiVersionParameter, + ...SubscriptionIdParameter, + ...ResourceGroupParameter, + ...Azure.ResourceManager.Legacy.Provider, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + @segment("sites") + @key + name: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + @segment("slots") + @key + slot: string, + }, + { + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + @segment("functions") + @key + functionName: string, + } + > {} + +@armResourceOperations(#{ allowStaticRoutes: true }) +interface FunctionEnvelopes { + /** + * Description for Get function information by its ID for web site, or a deployment slot. + */ + @summary("Get function information by its ID for web site, or a deployment slot.") + getFunction is FunctionEnvelopeOps.Read< + FunctionEnvelope, + Response = ArmResponse | ArmNotFoundResponse, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Create function for web site, or a deployment slot. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-put-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @summary("Create function for web site, or a deployment slot.") + createFunction is FunctionEnvelopeOps.CreateOrUpdateAsync< + FunctionEnvelope, + Response = ArmResourceCreatedResponse< + FunctionEnvelope, + ArmLroLocationHeader & + Azure.Core.Foundations.RetryAfterHeader + >, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Delete a function for web site, or a deployment slot. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + #suppress "@azure-tools/typespec-azure-resource-manager/no-response-body" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @summary("Delete a function for web site, or a deployment slot.") + deleteFunction is FunctionEnvelopeOps.DeleteSync< + FunctionEnvelope, + Response = ArmDeletedNoContentResponse | ArmNotFoundResponse, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for List the functions for a web site, or a deployment slot. + */ + @summary("List the functions for a web site, or a deployment slot.") + listFunctions is FunctionEnvelopeOps.List< + FunctionEnvelope, + Response = ArmResponse | ArmNotFoundResponse, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Add or update a function secret. + */ + @summary("Add or update a function secret.") + @put + @route("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.Web/sites/{name}/functions/{functionName}/keys/{keyName}") + createOrUpdateFunctionSecret is FunctionEnvelopesOps.ActionSync< + FunctionEnvelope, + KeyInfo, + Response = ArmResponse | ArmResourceCreatedSyncResponse, + Parameters = { + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + keyName: string; + }, + OverrideErrorType = DefaultErrorResponse + >; + /** + * Description for Delete a function secret. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/no-response-body" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @summary("Delete a function secret.") + @delete + @route("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.Web/sites/{name}/functions/{functionName}/keys/{keyName}") + deleteFunctionSecret is FunctionEnvelopesOps.ActionSync< + FunctionEnvelope, + void, + Response = NoContentResponse | ArmNotFoundResponse | DefaultErrorResponse, + Parameters = { + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + keyName: string; + }, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Get function keys for a function in a web site, or a deployment slot. + */ + @summary("Get function keys for a function in a web site, or a deployment slot.") + @action("listkeys") + listFunctionKeys is FunctionEnvelopeOps.ActionSync< + FunctionEnvelope, + void, + ArmResponse, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Get function secrets for a function in a web site, or a deployment slot. + */ + @summary("Get function secrets for a function in a web site, or a deployment slot.") + @action("listsecrets") + listFunctionSecrets is FunctionEnvelopeOps.ActionSync< + FunctionEnvelope, + void, + ArmResponse, + OverrideErrorType = DefaultErrorResponse + >; +} +@armResourceOperations +interface FunctionEnvelopeOperationGroupOps + extends Azure.ResourceManager.Legacy.LegacyOperations< + { + ...ApiVersionParameter, + ...SubscriptionIdParameter, + ...ResourceGroupParameter, + ...Azure.ResourceManager.Legacy.Provider, + + /** Site name. */ + @path + @segment("sites") + @key + name: string, + + /** Name of the deployment slot. */ + @path + @segment("slots") + @key + slot: string, + }, + { + /** Function name. */ + @path + @segment("functions") + @key + functionName: string, + } + > {} + +@armResourceOperations +interface FunctionEnvelopeOperationGroup { + /** + * Description for Get function information by its ID for web site, or a deployment slot. + */ + @summary("Get function information by its ID for web site, or a deployment slot.") + getInstanceFunctionSlot is FunctionEnvelopeOperationGroupOps.Read< + FunctionEnvelope, + Response = ArmResponse | ArmNotFoundResponse, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Create function for web site, or a deployment slot. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-put-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @summary("Create function for web site, or a deployment slot.") + createInstanceFunctionSlot is FunctionEnvelopeOperationGroupOps.CreateOrUpdateAsync< + FunctionEnvelope, + Response = ArmResourceCreatedResponse< + FunctionEnvelope, + ArmLroLocationHeader & + Azure.Core.Foundations.RetryAfterHeader + >, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Delete a function for web site, or a deployment slot. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/no-response-body" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @summary("Delete a function for web site, or a deployment slot.") + deleteInstanceFunctionSlot is FunctionEnvelopeOperationGroupOps.DeleteSync< + FunctionEnvelope, + Response = ArmDeletedNoContentResponse | ArmNotFoundResponse, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for List the functions for a web site, or a deployment slot. + */ + @summary("List the functions for a web site, or a deployment slot.") + listInstanceFunctionsSlot is FunctionEnvelopeOperationGroupOps.List< + FunctionEnvelope, + Response = ArmResponse | ArmNotFoundResponse, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Add or update a function secret. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @put + @summary("Add or update a function secret.") + createOrUpdateFunctionSecretSlot is FunctionEnvelopeSlotOperationGroupOps.CreateOrUpdateAsync< + FunctionEnvelope, + Request = KeyInfo, + Response = ArmResponse | ArmResourceCreatedSyncResponse, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Delete a function secret. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + #suppress "@azure-tools/typespec-azure-resource-manager/no-response-body" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @summary("Delete a function secret.") + @delete + deleteFunctionSecretSlot is FunctionEnvelopeSlotOperationGroupOps.DeleteSync< + FunctionEnvelope, + Response = NoContentResponse | ArmNotFoundResponse, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Get function keys for a function in a web site, or a deployment slot. + */ + @summary("Get function keys for a function in a web site, or a deployment slot.") + @action("listkeys") + listFunctionKeysSlot is FunctionEnvelopeSlotOperationWithoutKeysGroupOps.ActionSync< + FunctionEnvelope, + void, + ArmResponse, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Get function secrets for a function in a web site, or a deployment slot. + */ + @summary("Get function secrets for a function in a web site, or a deployment slot.") + @action("listsecrets") + listFunctionSecretsSlot is FunctionEnvelopeOperationGroupOps.ActionSync< + FunctionEnvelope, + void, + ArmResponse, + OverrideErrorType = DefaultErrorResponse + >; +} + +@@doc(FunctionEnvelope.name, "Function name."); +@@doc(FunctionEnvelope.properties, + "FunctionEnvelope resource specific properties" +); +@@doc(FunctionEnvelopes.createFunction::parameters.resource, + "Function details." +); +@@doc(FunctionEnvelopes.createOrUpdateFunctionSecret::parameters.body, + "The key to create or update" +); +@@doc(FunctionEnvelopeOperationGroup.createInstanceFunctionSlot::parameters.resource, + "Function details." +); +@@doc(FunctionEnvelopeOperationGroup.createOrUpdateFunctionSecretSlot::parameters.resource, + "The key to create or update" +); diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/HostNameBinding.tsp b/specification/web/resource-manager/Microsoft.Web/AppService/HostNameBinding.tsp new file mode 100644 index 000000000000..325dd2d54ac8 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/HostNameBinding.tsp @@ -0,0 +1,181 @@ +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "@typespec/openapi"; +import "@typespec/rest"; +import "./models.tsp"; +import "./Site.tsp"; + +using TypeSpec.Rest; +using Azure.ResourceManager; +using TypeSpec.Http; +using TypeSpec.OpenAPI; + +namespace Microsoft.Web; +/** + * A hostname binding object. + */ +@parentResource(Site) +model HostNameBinding + is Azure.ResourceManager.ProxyResource { + ...ResourceNameParameter< + Resource = HostNameBinding, + KeyName = "hostName", + SegmentName = "hostNameBindings", + NamePattern = "" + >; + + /** + * Kind of resource. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + kind?: string; +} + +@armResourceOperations +interface HostNameBindingOps + extends Azure.ResourceManager.Legacy.LegacyOperations< + { + ...ApiVersionParameter, + ...SubscriptionIdParameter, + ...ResourceGroupParameter, + ...Azure.ResourceManager.Legacy.Provider, + + /** Name of the app. */ + @path + @segment("sites") + @key + name: string, + }, + { + /** Hostname in the hostname binding. */ + @path + @segment("hostNameBindings") + @key + hostName: string, + } + > {} + +@armResourceOperations +interface HostNameBindings { + /** + * Description for Get the named hostname binding for an app (or deployment slot, if specified). + */ + @summary("Get the named hostname binding for an app (or deployment slot, if specified).") + getHostNameBinding is HostNameBindingOps.Read< + HostNameBinding, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Creates a hostname binding for an app. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-put-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @summary("Creates a hostname binding for an app.") + createOrUpdateHostNameBinding is HostNameBindingOps.CreateOrUpdateSync< + HostNameBinding, + Response = ArmResourceUpdatedResponse, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Deletes a hostname binding for an app. + */ + @summary("Deletes a hostname binding for an app.") + deleteHostNameBinding is HostNameBindingOps.DeleteSync< + HostNameBinding, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Get hostname bindings for an app or a deployment slot. + */ + @summary("Get hostname bindings for an app or a deployment slot.") + listHostNameBindings is HostNameBindingOps.List< + HostNameBinding, + Response = ArmResponse, + OverrideErrorType = DefaultErrorResponse + >; +} +@armResourceOperations +interface HostNameBindingOperationGroupOps + extends Azure.ResourceManager.Legacy.LegacyOperations< + { + ...ApiVersionParameter, + ...SubscriptionIdParameter, + ...ResourceGroupParameter, + ...Azure.ResourceManager.Legacy.Provider, + + /** Name of the app. */ + @path + @segment("sites") + @key + name: string, + + /** Name of the deployment slot. If a slot is not specified, the API the named binding for the production slot. */ + @path + @segment("slots") + @key + slot: string, + }, + { + /** Hostname in the hostname binding. */ + @path + @segment("hostNameBindings") + @key + hostName: string, + } + > {} + +@armResourceOperations +interface HostNameBindingOperationGroup { + /** + * Description for Get the named hostname binding for an app (or deployment slot, if specified). + */ + @summary("Get the named hostname binding for an app (or deployment slot, if specified).") + getHostNameBindingSlot is HostNameBindingOperationGroupOps.Read< + HostNameBinding, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Creates a hostname binding for an app. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-put-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @summary("Creates a hostname binding for an app.") + @summary("Creates a hostname binding for an app.") + createOrUpdateHostNameBindingSlot is HostNameBindingOperationGroupOps.CreateOrUpdateSync< + HostNameBinding, + Response = ArmResourceUpdatedResponse, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Deletes a hostname binding for an app. + */ + @summary("Deletes a hostname binding for an app.") + deleteHostNameBindingSlot is HostNameBindingOperationGroupOps.DeleteSync< + HostNameBinding, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Get hostname bindings for an app or a deployment slot. + */ + @summary("Get hostname bindings for an app or a deployment slot.") + listHostNameBindingsSlot is HostNameBindingOperationGroupOps.List< + HostNameBinding, + Response = ArmResponse, + OverrideErrorType = DefaultErrorResponse + >; +} + +@@doc(HostNameBinding.name, "Hostname in the hostname binding."); +@@doc(HostNameBinding.properties, + "HostNameBinding resource specific properties" +); +@@doc(HostNameBindings.createOrUpdateHostNameBinding::parameters.resource, + "Binding details. This is the JSON representation of a HostNameBinding object." +); +@@doc(HostNameBindingOperationGroup.createOrUpdateHostNameBindingSlot::parameters.resource, + "Binding details. This is the JSON representation of a HostNameBinding object." +); diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/HybridConnection.tsp b/specification/web/resource-manager/Microsoft.Web/AppService/HybridConnection.tsp new file mode 100644 index 000000000000..b73c741ac3b4 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/HybridConnection.tsp @@ -0,0 +1,281 @@ +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "@typespec/openapi"; +import "@typespec/rest"; +import "./models.tsp"; +import "./AppServicePlan.tsp"; + +using TypeSpec.Rest; +using Azure.ResourceManager; +using TypeSpec.Http; +using TypeSpec.OpenAPI; + +namespace Microsoft.Web; +/** + * Hybrid Connection contract. This is used to configure a Hybrid Connection. + */ +@parentResource(AppServicePlan) +model HybridConnection + is Azure.ResourceManager.ProxyResource { + ...ResourceNameParameter< + Resource = HybridConnection, + KeyName = "relayName", + SegmentName = "relays", + NamePattern = "" + >; + + /** + * Kind of resource. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + kind?: string; +} + +@armResourceOperations +interface HybridConnectionOps + extends Azure.ResourceManager.Legacy.LegacyOperations< + { + ...ApiVersionParameter, + ...SubscriptionIdParameter, + ...ResourceGroupParameter, + ...Azure.ResourceManager.Legacy.Provider, + + /** Name of the App Service plan. */ + @path + @segment("serverfarms") + @key + name: string, + + /** Name of the Service Bus namespace. */ + @path + @segment("hybridConnectionNamespaces") + @key + namespaceName: string, + }, + { + /** Name of the Service Bus relay. */ + @path + @segment("relays") + @key + relayName: string, + } + > {} + +@armResourceOperations +interface HybridConnections { + /** + * Description for Retrieve a Hybrid Connection in use in an App Service plan. + */ + @summary("Retrieve a Hybrid Connection in use in an App Service plan.") + getHybridConnection is HybridConnectionOps.Read< + HybridConnection, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Delete a Hybrid Connection in use in an App Service plan. + */ + @summary("Delete a Hybrid Connection in use in an App Service plan.") + deleteHybridConnection is HybridConnectionOps.DeleteSync< + HybridConnection, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Get the send key name and value of a Hybrid Connection. + */ + @summary("Get the send key name and value of a Hybrid Connection.") + @action("listKeys") + listHybridConnectionKeys is HybridConnectionOps.ActionSync< + HybridConnection, + void, + ArmResponse, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Get all apps that use a Hybrid Connection in an App Service Plan. + */ + @summary("Get all apps that use a Hybrid Connection in an App Service Plan.") + @get + @action("sites") + @list + listWebAppsByHybridConnection is HybridConnectionOps.ActionSync< + HybridConnection, + void, + ArmResponse, + OverrideErrorType = DefaultErrorResponse + >; +} +@armResourceOperations +interface HybridConnectionOperationGroupOps + extends Azure.ResourceManager.Legacy.LegacyOperations< + { + ...ApiVersionParameter, + ...SubscriptionIdParameter, + ...ResourceGroupParameter, + ...Azure.ResourceManager.Legacy.Provider, + + /** The name of the web app. */ + @path + @segment("sites") + @key + name: string, + + /** The namespace for this hybrid connection. */ + @path + @segment("hybridConnectionNamespaces") + @key + namespaceName: string, + }, + { + /** The relay name for this hybrid connection. */ + @path + @segment("relays") + @key + relayName: string, + } + > {} + +@armResourceOperations +interface HybridConnectionOperationGroup { + /** + * Description for Retrieves a specific Service Bus Hybrid Connection used by this Web App. + */ + @summary("Retrieves a specific Service Bus Hybrid Connection used by this Web App.") + getHybridConnection is HybridConnectionOperationGroupOps.Read< + HybridConnection, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Creates a new Hybrid Connection using a Service Bus relay. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-put-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @summary("Creates a new Hybrid Connection using a Service Bus relay.") + @summary("Creates a new Hybrid Connection using a Service Bus relay.") + createOrUpdateHybridConnection is HybridConnectionOperationGroupOps.CreateOrUpdateSync< + HybridConnection, + Response = ArmResourceUpdatedResponse, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Creates a new Hybrid Connection using a Service Bus relay. + */ + @summary("Creates a new Hybrid Connection using a Service Bus relay.") + @patch(#{ implicitOptionality: false }) + updateHybridConnection is HybridConnectionOperationGroupOps.CustomPatchSync< + HybridConnection, + PatchModel = HybridConnection, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Removes a Hybrid Connection from this site. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @summary("Removes a Hybrid Connection from this site.") + deleteHybridConnection is HybridConnectionOperationGroupOps.DeleteSync< + HybridConnection, + Response = ArmDeletedResponse | ArmNotFoundResponse, + OverrideErrorType = DefaultErrorResponse + >; +} +@armResourceOperations +interface HybridConnectionSlotOps + extends Azure.ResourceManager.Legacy.LegacyOperations< + { + ...ApiVersionParameter, + ...SubscriptionIdParameter, + ...ResourceGroupParameter, + ...Azure.ResourceManager.Legacy.Provider, + + /** The name of the web app. */ + @path + @segment("sites") + @key + name: string, + + /** The name of the slot for the web app. */ + @path + @segment("slots") + @key + slot: string, + + /** The namespace for this hybrid connection. */ + @path + @segment("hybridConnectionNamespaces") + @key + namespaceName: string, + }, + { + /** The relay name for this hybrid connection. */ + @path + @segment("relays") + @key + relayName: string, + } + > {} + +@armResourceOperations +interface HybridConnectionSlotOperationGroup { + /** + * Description for Retrieves a specific Service Bus Hybrid Connection used by this Web App. + */ + @summary("Retrieves a specific Service Bus Hybrid Connection used by this Web App.") + getHybridConnectionSlot is HybridConnectionSlotOps.Read< + HybridConnection, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Creates a new Hybrid Connection using a Service Bus relay. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-put-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @summary("Creates a new Hybrid Connection using a Service Bus relay.") + createOrUpdateHybridConnectionSlot is HybridConnectionSlotOps.CreateOrUpdateSync< + HybridConnection, + Response = ArmResourceUpdatedResponse, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Creates a new Hybrid Connection using a Service Bus relay. + */ + @summary("Creates a new Hybrid Connection using a Service Bus relay.") + @patch(#{ implicitOptionality: false }) + updateHybridConnectionSlot is HybridConnectionSlotOps.CustomPatchSync< + HybridConnection, + PatchModel = HybridConnection, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Removes a Hybrid Connection from this site. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @summary("Removes a Hybrid Connection from this site.") + deleteHybridConnectionSlot is HybridConnectionSlotOps.DeleteSync< + HybridConnection, + Response = ArmDeletedResponse | ArmNotFoundResponse, + OverrideErrorType = DefaultErrorResponse + >; +} + +@@doc(HybridConnection.name, "Name of the Service Bus relay."); +@@doc(HybridConnection.properties, + "HybridConnection resource specific properties" +); +@@doc(HybridConnectionOperationGroup.createOrUpdateHybridConnection::parameters.resource, + "The details of the hybrid connection." +); +@@doc(HybridConnectionOperationGroup.updateHybridConnection::parameters.properties, + "The details of the hybrid connection." +); +@@doc(HybridConnectionSlotOperationGroup.createOrUpdateHybridConnectionSlot::parameters.resource, + "The details of the hybrid connection." +); +@@doc(HybridConnectionSlotOperationGroup.updateHybridConnectionSlot::parameters.properties, + "The details of the hybrid connection." +); diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/HybridConnectionLimits.tsp b/specification/web/resource-manager/Microsoft.Web/AppService/HybridConnectionLimits.tsp new file mode 100644 index 000000000000..1159ece8f803 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/HybridConnectionLimits.tsp @@ -0,0 +1,50 @@ +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "@typespec/openapi"; +import "@typespec/rest"; +import "./models.tsp"; +import "./AppServicePlan.tsp"; + +using TypeSpec.Rest; +using Azure.ResourceManager; +using TypeSpec.Http; +using TypeSpec.OpenAPI; + +namespace Microsoft.Web; +/** + * Hybrid Connection limits contract. This is used to return the plan limits of Hybrid Connections. + */ +@singleton("limit") +@parentResource(AppServicePlan) +model HybridConnectionLimits + is Azure.ResourceManager.ProxyResource { + ...ResourceNameParameter< + Resource = HybridConnectionLimits, + KeyName = "hybridConnectionPlanLimit", + SegmentName = "hybridConnectionPlanLimits", + NamePattern = "" + >; + + /** + * Kind of resource. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + kind?: string; +} + +@armResourceOperations +interface HybridConnectionLimitsOperationGroup { + /** + * Description for Get the maximum number of Hybrid Connections allowed in an App Service plan. + */ + @summary("Get the maximum number of Hybrid Connections allowed in an App Service plan.") + getHybridConnectionPlanLimit is ArmResourceRead< + HybridConnectionLimits, + Error = DefaultErrorResponse + >; +} + +@@doc(HybridConnectionLimits.name, ""); +@@doc(HybridConnectionLimits.properties, + "HybridConnectionLimits resource specific properties" +); diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/Identifier.tsp b/specification/web/resource-manager/Microsoft.Web/AppService/Identifier.tsp new file mode 100644 index 000000000000..6bac61870df2 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/Identifier.tsp @@ -0,0 +1,206 @@ +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "@typespec/openapi"; +import "@typespec/rest"; +import "./models.tsp"; +import "./Site.tsp"; + +using TypeSpec.Rest; +using Azure.ResourceManager; +using TypeSpec.Http; +using TypeSpec.OpenAPI; + +namespace Microsoft.Web; +/** + * A domain specific resource identifier. + */ +@parentResource(Site) +model Identifier is Azure.ResourceManager.ProxyResource { + ...ResourceNameParameter< + Resource = Identifier, + KeyName = "domainOwnershipIdentifierName", + SegmentName = "domainOwnershipIdentifiers", + NamePattern = "" + >; + + /** + * Kind of resource. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + kind?: string; +} + +@armResourceOperations +interface IdentifierOps + extends Azure.ResourceManager.Legacy.LegacyOperations< + { + ...ApiVersionParameter, + ...SubscriptionIdParameter, + ...ResourceGroupParameter, + ...Azure.ResourceManager.Legacy.Provider, + + /** Name of the app. */ + @path + @segment("sites") + @key + name: string, + }, + { + /** Name of domain ownership identifier. */ + @path + @segment("domainOwnershipIdentifiers") + @key + domainOwnershipIdentifierName: string, + } + > {} + +@armResourceOperations +interface Identifiers { + /** + * Description for Get domain ownership identifier for web app. + */ + @summary("Get domain ownership identifier for web app.") + getDomainOwnershipIdentifier is IdentifierOps.Read< + Identifier, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Creates a domain ownership identifier for web app, or updates an existing ownership identifier. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-put-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @summary("Creates a domain ownership identifier for web app, or updates an existing ownership identifier.") + @summary("Creates a domain ownership identifier for web app, or updates an existing ownership identifier.") + createOrUpdateDomainOwnershipIdentifier is IdentifierOps.CreateOrUpdateSync< + Identifier, + Response = ArmResourceUpdatedResponse, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Creates a domain ownership identifier for web app, or updates an existing ownership identifier. + */ + @summary("Creates a domain ownership identifier for web app, or updates an existing ownership identifier.") + @patch(#{ implicitOptionality: false }) + updateDomainOwnershipIdentifier is IdentifierOps.CustomPatchSync< + Identifier, + PatchModel = Identifier, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Deletes a domain ownership identifier for a web app. + */ + @summary("Deletes a domain ownership identifier for a web app.") + deleteDomainOwnershipIdentifier is IdentifierOps.DeleteSync< + Identifier, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Lists ownership identifiers for domain associated with web app. + */ + @summary("Lists ownership identifiers for domain associated with web app.") + listDomainOwnershipIdentifiers is IdentifierOps.List< + Identifier, + Response = ArmResponse, + OverrideErrorType = DefaultErrorResponse + >; +} +@armResourceOperations +interface IdentifierOperationGroupOps + extends Azure.ResourceManager.Legacy.LegacyOperations< + { + ...ApiVersionParameter, + ...SubscriptionIdParameter, + ...ResourceGroupParameter, + ...Azure.ResourceManager.Legacy.Provider, + + /** Name of the app. */ + @path + @segment("sites") + @key + name: string, + + /** Name of the deployment slot. If a slot is not specified, the API will delete the binding for the production slot. */ + @path + @segment("slots") + @key + slot: string, + }, + { + /** Name of domain ownership identifier. */ + @path + @segment("domainOwnershipIdentifiers") + @key + domainOwnershipIdentifierName: string, + } + > {} + +@armResourceOperations +interface IdentifierOperationGroup { + /** + * Description for Get domain ownership identifier for web app. + */ + @summary("Get domain ownership identifier for web app.") + getDomainOwnershipIdentifierSlot is IdentifierOperationGroupOps.Read< + Identifier, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Creates a domain ownership identifier for web app, or updates an existing ownership identifier. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-put-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @summary("Creates a domain ownership identifier for web app, or updates an existing ownership identifier.") + createOrUpdateDomainOwnershipIdentifierSlot is IdentifierOperationGroupOps.CreateOrUpdateSync< + Identifier, + Response = ArmResourceUpdatedResponse, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Creates a domain ownership identifier for web app, or updates an existing ownership identifier. + */ + @summary("Creates a domain ownership identifier for web app, or updates an existing ownership identifier.") + @patch(#{ implicitOptionality: false }) + updateDomainOwnershipIdentifierSlot is IdentifierOperationGroupOps.CustomPatchSync< + Identifier, + PatchModel = Identifier, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Deletes a domain ownership identifier for a web app. + */ + @summary("Deletes a domain ownership identifier for a web app.") + deleteDomainOwnershipIdentifierSlot is IdentifierOperationGroupOps.DeleteSync< + Identifier, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Lists ownership identifiers for domain associated with web app. + */ + @summary("Lists ownership identifiers for domain associated with web app.") + listDomainOwnershipIdentifiersSlot is IdentifierOperationGroupOps.List< + Identifier, + Response = ArmResponse, + OverrideErrorType = DefaultErrorResponse + >; +} + +@@doc(Identifier.name, "Name of domain ownership identifier."); +@@doc(Identifier.properties, "Identifier resource specific properties"); +@@doc(Identifiers.createOrUpdateDomainOwnershipIdentifier::parameters.resource, + "A JSON representation of the domain ownership properties." +); +@@doc(Identifiers.updateDomainOwnershipIdentifier::parameters.properties, + "A JSON representation of the domain ownership properties." +); +@@doc(IdentifierOperationGroup.createOrUpdateDomainOwnershipIdentifierSlot::parameters.resource, + "A JSON representation of the domain ownership properties." +); +@@doc(IdentifierOperationGroup.updateDomainOwnershipIdentifierSlot::parameters.properties, + "A JSON representation of the domain ownership properties." +); diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/KubeEnvironment.tsp b/specification/web/resource-manager/Microsoft.Web/AppService/KubeEnvironment.tsp new file mode 100644 index 000000000000..750527e113be --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/KubeEnvironment.tsp @@ -0,0 +1,110 @@ +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "@typespec/openapi"; +import "@typespec/rest"; +import "./models.tsp"; + +using TypeSpec.Rest; +using Azure.ResourceManager; +using TypeSpec.Http; +using TypeSpec.OpenAPI; + +namespace Microsoft.Web; +/** + * A Kubernetes cluster specialized for web workloads by Azure App Service + */ +model KubeEnvironment + is Azure.ResourceManager.TrackedResource { + ...ResourceNameParameter< + Resource = KubeEnvironment, + KeyName = "name", + SegmentName = "kubeEnvironments", + NamePattern = "" + >; + + /** + * Extended Location. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + extendedLocation?: ExtendedLocation; + + /** + * Kind of resource. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + kind?: string; +} + +@armResourceOperations +interface KubeEnvironments { + /** + * Description for Get the properties of a Kubernetes Environment. + */ + @summary("Get the properties of a Kubernetes Environment.") + get is ArmResourceRead; + + /** + * Description for Creates or updates a Kubernetes Environment. + */ + @summary("Creates or updates a Kubernetes Environment.") + createOrUpdate is ArmResourceCreateOrReplaceAsync< + KubeEnvironment, + LroHeaders = ArmLroLocationHeader & + Azure.Core.Foundations.RetryAfterHeader, + Error = DefaultErrorResponse + >; + + /** + * Description for Creates or updates a Kubernetes Environment. + */ + @summary("Creates or updates a Kubernetes Environment.") + @patch(#{ implicitOptionality: false }) + update is ArmCustomPatchSync< + KubeEnvironment, + PatchModel = KubeEnvironmentPatchResource, + Response = ArmResponse | ArmResourceCreatedSyncResponse, + Error = DefaultErrorResponse + >; + + /** + * Description for Delete a Kubernetes Environment. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @summary("Delete a Kubernetes Environment.") + delete is ArmResourceDeleteWithoutOkAsync< + KubeEnvironment, + Response = ArmDeletedResponse | ArmDeleteAcceptedLroResponse | ArmDeletedNoContentResponse, + Error = DefaultErrorResponse + >; + + /** + * Description for Get all the Kubernetes Environments in a resource group. + */ + @summary("Get all the Kubernetes Environments in a resource group.") + listByResourceGroup is ArmResourceListByParent< + KubeEnvironment, + Response = ArmResponse, + Error = DefaultErrorResponse + >; + + /** + * Description for Get all Kubernetes Environments for a subscription. + */ + @summary("Get all Kubernetes Environments for a subscription.") + listBySubscription is ArmListBySubscription< + KubeEnvironment, + Response = ArmResponse, + Error = DefaultErrorResponse + >; +} + +@@doc(KubeEnvironment.name, "Name of the Kubernetes Environment."); +@@doc(KubeEnvironment.properties, + "KubeEnvironment resource specific properties" +); +@@doc(KubeEnvironments.createOrUpdate::parameters.resource, + "Configuration details of the Kubernetes Environment." +); +@@doc(KubeEnvironments.update::parameters.properties, + "Configuration details of the Kubernetes Environment." +); diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/MSDeployStatus.tsp b/specification/web/resource-manager/Microsoft.Web/AppService/MSDeployStatus.tsp new file mode 100644 index 000000000000..5abee6394590 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/MSDeployStatus.tsp @@ -0,0 +1,350 @@ +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "@typespec/openapi"; +import "@typespec/rest"; +import "./models.tsp"; +import "./Site.tsp"; + +using TypeSpec.Rest; +using Azure.ResourceManager; +using TypeSpec.Http; +using TypeSpec.OpenAPI; + +namespace Microsoft.Web; +/** + * MSDeploy ARM response + */ +#suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@singleton("MSDeploy") +@parentResource(Site) +model MSDeployStatus + is Azure.ResourceManager.ProxyResource { + ...ResourceNameParameter< + Resource = MSDeployStatus, + KeyName = "extension", + SegmentName = "extensions", + NamePattern = "" + >; + + /** + * Kind of resource. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + kind?: string; +} + +#suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@armResourceOperations +interface MSDeployStatusOps + extends Azure.ResourceManager.Legacy.LegacyOperations< + { + ...ApiVersionParameter, + ...SubscriptionIdParameter, + ...ResourceGroupParameter, + ...Azure.ResourceManager.Legacy.Provider, + + /** Name of web app. */ + @path + @segment("sites") + @key + name: string, + }, + { + /** undefined */ + @path + @segment("extensions") + @key + mSDeploy: "mSDeploy", + } + > {} + +#suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@armResourceOperations +interface MSDeployStatuses { + /** + * Description for Get the status of the last MSDeploy operation. + */ + #suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + #suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @summary("Get the status of the last MSDeploy operation.") + getMSDeployStatus is MSDeployStatusOps.Read< + MSDeployStatus, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Invoke the MSDeploy web app extension. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-put-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + #suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @summary("Invoke the MSDeploy web app extension.") + createMSDeployOperation is MSDeployStatusOps.CreateOrUpdateAsync< + MSDeployStatus, + Response = ArmResourceCreatedResponse< + MSDeployStatus, + ArmLroLocationHeader & + Azure.Core.Foundations.RetryAfterHeader + > | ArmConflictResponse, + Request = MSDeploy, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Get the MSDeploy Log for the last MSDeploy operation. + */ + #suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @summary("Get the MSDeploy Log for the last MSDeploy operation.") + @get + @action("log") + getMSDeployLog is MSDeployStatusOps.ActionSync< + MSDeployStatus, + void, + ArmResponse | ArmNotFoundResponse, + OverrideErrorType = DefaultErrorResponse + >; +} + +#suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@armResourceOperations +interface MSDeployStatusOperationGroupOps + extends Azure.ResourceManager.Legacy.LegacyOperations< + { + ...ApiVersionParameter, + ...SubscriptionIdParameter, + ...ResourceGroupParameter, + ...Azure.ResourceManager.Legacy.Provider, + + /** Name of web app. */ + @path + @segment("sites") + @key + name: string, + + /** ID of web app instance. */ + @path + @segment("instances") + @key + instanceId: string, + }, + { + /** undefined */ + @path + @segment("extensions") + @key + mSDeploy: "mSDeploy", + } + > {} + +#suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@armResourceOperations +interface MSDeployStatusOperationGroup { + /** + * Description for Get the status of the last MSDeploy operation. + */ + @summary("Get the status of the last MSDeploy operation.") + getInstanceMsDeployStatus is MSDeployStatusOperationGroupOps.Read< + MSDeployStatus, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Invoke the MSDeploy web app extension. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-put-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + #suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @summary("Invoke the MSDeploy web app extension.") + createInstanceMSDeployOperation is MSDeployStatusOperationGroupOps.CreateOrUpdateAsync< + MSDeployStatus, + Response = ArmResourceCreatedResponse< + MSDeployStatus, + ArmLroLocationHeader & + Azure.Core.Foundations.RetryAfterHeader + > | ArmConflictResponse, + Request = MSDeploy, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Get the MSDeploy Log for the last MSDeploy operation. + */ + #suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @summary("Get the MSDeploy Log for the last MSDeploy operation.") + @get + @action("log") + getInstanceMSDeployLog is MSDeployStatusOperationGroupOps.ActionSync< + MSDeployStatus, + void, + ArmResponse | ArmNotFoundResponse, + OverrideErrorType = DefaultErrorResponse + >; +} + +#suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@armResourceOperations +interface MSDeployStatusSlotOperationGroupOps + extends Azure.ResourceManager.Legacy.LegacyOperations< + { + ...ApiVersionParameter, + ...SubscriptionIdParameter, + ...ResourceGroupParameter, + ...Azure.ResourceManager.Legacy.Provider, + + /** Name of web app. */ + @path + @segment("sites") + @key + name: string, + + /** Name of web app slot. If not specified then will default to production slot. */ + @path + @segment("slots") + @key + slot: string, + }, + { + /** undefined */ + @path + @segment("extensions") + @key + mSDeploy: "mSDeploy", + } + > {} + +#suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@armResourceOperations +interface MSDeployStatusSlotOperationGroup { + /** + * Description for Get the status of the last MSDeploy operation. + */ + @summary("Get the status of the last MSDeploy operation.") + getMSDeployStatusSlot is MSDeployStatusSlotOperationGroupOps.Read< + MSDeployStatus, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Invoke the MSDeploy web app extension. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-put-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @summary("Invoke the MSDeploy web app extension.") + createMSDeployOperationSlot is MSDeployStatusSlotOperationGroupOps.CreateOrUpdateAsync< + MSDeployStatus, + Response = ArmResourceCreatedResponse< + MSDeployStatus, + ArmLroLocationHeader & + Azure.Core.Foundations.RetryAfterHeader + > | ArmConflictResponse, + Request = MSDeploy, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Get the MSDeploy Log for the last MSDeploy operation. + */ + @summary("Get the MSDeploy Log for the last MSDeploy operation.") + @get + @action("log") + getMSDeployLogSlot is MSDeployStatusSlotOperationGroupOps.ActionSync< + MSDeployStatus, + void, + ArmResponse | ArmNotFoundResponse, + OverrideErrorType = DefaultErrorResponse + >; +} + +#suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@armResourceOperations +interface InstanceMSDeployStatusOperationGroupOps + extends Azure.ResourceManager.Legacy.LegacyOperations< + { + ...ApiVersionParameter, + ...SubscriptionIdParameter, + ...ResourceGroupParameter, + ...Azure.ResourceManager.Legacy.Provider, + + /** Name of web app. */ + @path + @segment("sites") + @key + name: string, + + /** Name of web app slot. If not specified then will default to production slot. */ + @path + @segment("slots") + @key + slot: string, + + /** ID of web app instance. */ + @path + @segment("instances") + @key + instanceId: string, + }, + { + /** undefined */ + @path + @segment("extensions") + @key + mSDeploy: "mSDeploy", + } + > {} + +#suppress "@azure-tools/typespec-azure-resource-manager/no-resource-delete-operation" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@armResourceOperations +interface InstanceMSDeployStatusOperationGroup { + /** + * Description for Get the status of the last MSDeploy operation. + */ + @summary("Get the status of the last MSDeploy operation.") + getInstanceMsDeployStatusSlot is InstanceMSDeployStatusOperationGroupOps.Read< + MSDeployStatus, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Invoke the MSDeploy web app extension. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-put-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + #suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @summary("Invoke the MSDeploy web app extension.") + createInstanceMSDeployOperationSlot is InstanceMSDeployStatusOperationGroupOps.CreateOrUpdateAsync< + MSDeployStatus, + Response = ArmResourceCreatedResponse< + MSDeployStatus, + ArmLroLocationHeader & + Azure.Core.Foundations.RetryAfterHeader + > | ArmConflictResponse, + Request = MSDeploy, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Get the MSDeploy Log for the last MSDeploy operation. + */ + #suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @summary("Get the MSDeploy Log for the last MSDeploy operation.") + @get + @action("log") + getInstanceMSDeployLogSlot is InstanceMSDeployStatusOperationGroupOps.ActionSync< + MSDeployStatus, + void, + ArmResponse | ArmNotFoundResponse, + OverrideErrorType = DefaultErrorResponse + >; +} + +@@doc(MSDeployStatus.name, ""); +@@doc(MSDeployStatus.properties, "MSDeployStatus resource specific properties"); +@@doc(MSDeployStatuses.createMSDeployOperation::parameters.resource, + "Details of MSDeploy operation" +); +@@doc(MSDeployStatusOperationGroup.createInstanceMSDeployOperation::parameters.resource, + "Details of MSDeploy operation" +); +@@doc(MSDeployStatusSlotOperationGroup.createMSDeployOperationSlot::parameters.resource, + "Details of MSDeploy operation" +); +@@doc(InstanceMSDeployStatusOperationGroup.createInstanceMSDeployOperationSlot::parameters.resource, + "Details of MSDeploy operation" +); diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/MigrateMySqlStatus.tsp b/specification/web/resource-manager/Microsoft.Web/AppService/MigrateMySqlStatus.tsp new file mode 100644 index 000000000000..bca6482caeeb --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/MigrateMySqlStatus.tsp @@ -0,0 +1,115 @@ +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "@typespec/openapi"; +import "@typespec/rest"; +import "./models.tsp"; +import "./Site.tsp"; + +using TypeSpec.Rest; +using Azure.ResourceManager; +using TypeSpec.Http; +using TypeSpec.OpenAPI; + +namespace Microsoft.Web; +/** + * MySQL migration status. + */ +@singleton("status") +@parentResource(Site) +model MigrateMySqlStatus + is Azure.ResourceManager.ProxyResource { + ...ResourceNameParameter< + Resource = MigrateMySqlStatus, + KeyName = "migratemysql", + SegmentName = "migratemysql", + NamePattern = "" + >; + + /** + * Kind of resource. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + kind?: string; +} + +@armResourceOperations +interface MigrateMySqlStatusOps + extends Azure.ResourceManager.Legacy.LegacyOperations< + { + ...ApiVersionParameter, + ...SubscriptionIdParameter, + ...ResourceGroupParameter, + ...Azure.ResourceManager.Legacy.Provider, + + /** Name of web app. */ + @path + @segment("sites") + @key + name: string, + }, + { + /** undefined */ + @path + @segment("migratemysql") + @key + status: "status", + } + > {} + +@armResourceOperations +interface MigrateMySqlStatuses { + /** + * Description for Returns the status of MySql in app migration, if one is active, and whether or not MySql in app is enabled + */ + @summary("Returns the status of MySql in app migration, if one is active, and whether or not MySql in app is enabled") + getMigrateMySqlStatus is MigrateMySqlStatusOps.Read< + MigrateMySqlStatus, + OverrideErrorType = DefaultErrorResponse + >; +} +@armResourceOperations +interface MigrateMySqlStatusOperationGroupOps + extends Azure.ResourceManager.Legacy.LegacyOperations< + { + ...ApiVersionParameter, + ...SubscriptionIdParameter, + ...ResourceGroupParameter, + ...Azure.ResourceManager.Legacy.Provider, + + /** Name of web app. */ + @path + @segment("sites") + @key + name: string, + + /** Name of the deployment slot. */ + @path + @segment("slots") + @key + slot: string, + }, + { + /** undefined */ + @path + @segment("migratemysql") + @key + status: "status", + } + > {} + +@armResourceOperations +interface MigrateMySqlStatusOperationGroup { + /** + * Description for Returns the status of MySql in app migration, if one is active, and whether or not MySql in app is enabled + */ + @summary("Returns the status of MySql in app migration, if one is active, and whether or not MySql in app is enabled") + getMigrateMySqlStatusSlot is MigrateMySqlStatusOperationGroupOps.Read< + MigrateMySqlStatus, + OverrideErrorType = DefaultErrorResponse + >; +} + +@@doc(MigrateMySqlStatus.name, ""); +@@doc(MigrateMySqlStatus.properties, + "MigrateMySqlStatus resource specific properties" +); diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/NetworkFeatures.tsp b/specification/web/resource-manager/Microsoft.Web/AppService/NetworkFeatures.tsp new file mode 100644 index 000000000000..fa90d5513492 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/NetworkFeatures.tsp @@ -0,0 +1,113 @@ +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "@typespec/openapi"; +import "@typespec/rest"; +import "./models.tsp"; +import "./Site.tsp"; + +using TypeSpec.Rest; +using Azure.ResourceManager; +using TypeSpec.Http; +using TypeSpec.OpenAPI; + +namespace Microsoft.Web; +/** + * Full view of network features for an app (presently VNET integration and Hybrid Connections). + */ +@parentResource(Site) +model NetworkFeatures + is Azure.ResourceManager.ProxyResource { + ...ResourceNameParameter< + Resource = NetworkFeatures, + KeyName = "view", + SegmentName = "networkFeatures", + NamePattern = "" + >; + + /** + * Kind of resource. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + kind?: string; +} + +@armResourceOperations +interface NetworkFeaturesOperationGroupOps + extends Azure.ResourceManager.Legacy.LegacyOperations< + { + ...ApiVersionParameter, + ...SubscriptionIdParameter, + ...ResourceGroupParameter, + ...Azure.ResourceManager.Legacy.Provider, + + /** Name of the app. */ + @path + @segment("sites") + @key + name: string, + }, + { + /** The type of view. Only "summary" is supported at this time. */ + @path + @segment("networkFeatures") + @key + view: string, + } + > {} + +@armResourceOperations +interface NetworkFeaturesOperationGroup { + /** + * Description for Gets all network features used by the app (or deployment slot, if specified). + */ + @summary("Gets all network features used by the app (or deployment slot, if specified).") + listNetworkFeatures is NetworkFeaturesOperationGroupOps.Read< + NetworkFeatures, + Response = ArmResponse | ArmNotFoundResponse, + OverrideErrorType = DefaultErrorResponse + >; +} +@armResourceOperations +interface NetworkFeaturesSlotOperationGroupOps + extends Azure.ResourceManager.Legacy.LegacyOperations< + { + ...ApiVersionParameter, + ...SubscriptionIdParameter, + ...ResourceGroupParameter, + ...Azure.ResourceManager.Legacy.Provider, + + /** Name of the app. */ + @path + @segment("sites") + @key + name: string, + + /** Name of the deployment slot. If a slot is not specified, the API will get network features for the production slot. */ + @path + @segment("slots") + @key + slot: string, + }, + { + /** The type of view. Only "summary" is supported at this time. */ + @path + @segment("networkFeatures") + @key + view: string, + } + > {} +@armResourceOperations +interface NetworkFeaturesSlotOperationGroup { + /** + * Description for Gets all network features used by the app (or deployment slot, if specified). + */ + @summary("Gets all network features used by the app (or deployment slot, if specified).") + listNetworkFeaturesSlot is NetworkFeaturesSlotOperationGroupOps.Read< + NetworkFeatures, + Response = ArmResponse | ArmNotFoundResponse, + OverrideErrorType = DefaultErrorResponse + >; +} +@@doc(NetworkFeatures.properties, + "NetworkFeatures resource specific properties" +); diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/PremierAddOn.tsp b/specification/web/resource-manager/Microsoft.Web/AppService/PremierAddOn.tsp new file mode 100644 index 000000000000..5afec75e1f2f --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/PremierAddOn.tsp @@ -0,0 +1,190 @@ +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "@typespec/openapi"; +import "@typespec/rest"; +import "./models.tsp"; +import "./Site.tsp"; + +using TypeSpec.Rest; +using Azure.ResourceManager; +using TypeSpec.Http; +using TypeSpec.OpenAPI; + +namespace Microsoft.Web; +/** + * Premier add-on. + */ +@parentResource(Site) +model PremierAddOn + is Azure.ResourceManager.TrackedResource { + ...ResourceNameParameter< + Resource = PremierAddOn, + KeyName = "premierAddOnName", + SegmentName = "premieraddons", + NamePattern = "" + >; + + /** + * Kind of resource. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + kind?: string; +} + +@armResourceOperations +interface PremierAddOnOps + extends Azure.ResourceManager.Legacy.LegacyOperations< + { + ...ApiVersionParameter, + ...SubscriptionIdParameter, + ...ResourceGroupParameter, + ...Azure.ResourceManager.Legacy.Provider, + + /** Name of the app. */ + @path + @segment("sites") + @key + name: string, + }, + { + /** Add-on name. */ + @path + @segment("premieraddons") + @key + premierAddOnName: string, + } + > {} + +@armResourceOperations +interface PremierAddOns { + /** + * Description for Gets a named add-on of an app. + */ + @summary("Gets a named add-on of an app.") + getPremierAddOn is PremierAddOnOps.Read< + PremierAddOn, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Updates a named add-on of an app. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-put-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @summary("Updates a named add-on of an app.") + addPremierAddOn is PremierAddOnOps.CreateOrUpdateSync< + PremierAddOn, + Response = ArmResourceUpdatedResponse, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Updates a named add-on of an app. + */ + @summary("Updates a named add-on of an app.") + @patch(#{ implicitOptionality: false }) + updatePremierAddOn is PremierAddOnOps.CustomPatchSync< + PremierAddOn, + PatchModel = PremierAddOnPatchResource, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Delete a premier add-on from an app. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @summary("Delete a premier add-on from an app.") + deletePremierAddOn is PremierAddOnOps.DeleteSync< + PremierAddOn, + Response = ArmDeletedResponse, + OverrideErrorType = DefaultErrorResponse + >; +} +@armResourceOperations +interface PremierAddOnOperationGroupOps + extends Azure.ResourceManager.Legacy.LegacyOperations< + { + ...ApiVersionParameter, + ...SubscriptionIdParameter, + ...ResourceGroupParameter, + ...Azure.ResourceManager.Legacy.Provider, + + /** Name of the app. */ + @path + @segment("sites") + @key + name: string, + + /** Name of the deployment slot. If a slot is not specified, the API will get the named add-on for the production slot. */ + @path + @segment("slots") + @key + slot: string, + }, + { + /** Add-on name. */ + @path + @segment("premieraddons") + @key + premierAddOnName: string, + } + > {} + +@armResourceOperations +interface PremierAddOnOperationGroup { + /** + * Description for Gets a named add-on of an app. + */ + @summary("Gets a named add-on of an app.") + getPremierAddOnSlot is PremierAddOnOperationGroupOps.Read< + PremierAddOn, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Updates a named add-on of an app. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-put-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @summary("Updates a named add-on of an app.") + addPremierAddOnSlot is PremierAddOnOperationGroupOps.CreateOrUpdateSync< + PremierAddOn, + Response = ArmResourceUpdatedResponse, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Updates a named add-on of an app. + */ + @summary("Updates a named add-on of an app.") + @patch(#{ implicitOptionality: false }) + updatePremierAddOnSlot is PremierAddOnOperationGroupOps.CustomPatchSync< + PremierAddOn, + PatchModel = PremierAddOnPatchResource, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Delete a premier add-on from an app. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @summary("Delete a premier add-on from an app.") + deletePremierAddOnSlot is PremierAddOnOperationGroupOps.DeleteSync< + PremierAddOn, + Response = ArmDeletedResponse, + OverrideErrorType = DefaultErrorResponse + >; +} + +@@doc(PremierAddOn.name, "Add-on name."); +@@doc(PremierAddOn.properties, "PremierAddOn resource specific properties"); +@@doc(PremierAddOns.addPremierAddOn::parameters.resource, + "A JSON representation of the edited premier add-on." +); +@@doc(PremierAddOns.updatePremierAddOn::parameters.properties, + "A JSON representation of the edited premier add-on." +); +@@doc(PremierAddOnOperationGroup.addPremierAddOnSlot::parameters.resource, + "A JSON representation of the edited premier add-on." +); +@@doc(PremierAddOnOperationGroup.updatePremierAddOnSlot::parameters.properties, + "A JSON representation of the edited premier add-on." +); diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/PrivateAccess.tsp b/specification/web/resource-manager/Microsoft.Web/AppService/PrivateAccess.tsp new file mode 100644 index 000000000000..43511313ffd9 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/PrivateAccess.tsp @@ -0,0 +1,142 @@ +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "@typespec/openapi"; +import "@typespec/rest"; +import "./models.tsp"; +import "./Site.tsp"; + +using TypeSpec.Rest; +using Azure.ResourceManager; +using TypeSpec.Http; +using TypeSpec.OpenAPI; + +namespace Microsoft.Web; +/** + * Description of the parameters of Private Access for a Web Site. + */ +@singleton("virtualNetworks") +@parentResource(Site) +model PrivateAccess + is Azure.ResourceManager.ProxyResource { + ...ResourceNameParameter< + Resource = PrivateAccess, + KeyName = "privateAccess", + SegmentName = "privateAccess", + NamePattern = "" + >; + + /** + * Kind of resource. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + kind?: string; +} + +@armResourceOperations +interface PrivateAccessOps + extends Azure.ResourceManager.Legacy.LegacyOperations< + { + ...ApiVersionParameter, + ...SubscriptionIdParameter, + ...ResourceGroupParameter, + ...Azure.ResourceManager.Legacy.Provider, + + /** The name of the web app. */ + @path + @segment("sites") + @key + name: string, + }, + { + /** undefined */ + @path + @segment("privateAccess") + @key + virtualNetworks: "virtualNetworks", + } + > {} + +@armResourceOperations +interface PrivateAccesses { + /** + * Description for Gets data around private site access enablement and authorized Virtual Networks that can access the site. + */ + @summary("Gets data around private site access enablement and authorized Virtual Networks that can access the site.") + getPrivateAccess is PrivateAccessOps.Read< + PrivateAccess, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Sets data around private site access enablement and authorized Virtual Networks that can access the site. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-put-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @summary("Sets data around private site access enablement and authorized Virtual Networks that can access the site.") + putPrivateAccessVnet is PrivateAccessOps.CreateOrUpdateSync< + PrivateAccess, + Response = ArmResourceUpdatedResponse, + OverrideErrorType = DefaultErrorResponse + >; +} +@armResourceOperations +interface PrivateAccessOperationGroupOps + extends Azure.ResourceManager.Legacy.LegacyOperations< + { + ...ApiVersionParameter, + ...SubscriptionIdParameter, + ...ResourceGroupParameter, + ...Azure.ResourceManager.Legacy.Provider, + + /** The name of the web app. */ + @path + @segment("sites") + @key + name: string, + + /** The name of the slot for the web app. */ + @path + @segment("slots") + @key + slot: string, + }, + { + /** undefined */ + @path + @segment("privateAccess") + @key + virtualNetworks: "virtualNetworks", + } + > {} + +#suppress "@azure-tools/typespec-azure-resource-manager/no-resource-delete-operation" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@armResourceOperations +interface PrivateAccessOperationGroup { + /** + * Description for Gets data around private site access enablement and authorized Virtual Networks that can access the site. + */ + @summary("Gets data around private site access enablement and authorized Virtual Networks that can access the site.") + getPrivateAccessSlot is PrivateAccessOperationGroupOps.Read< + PrivateAccess, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Sets data around private site access enablement and authorized Virtual Networks that can access the site. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-put-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @summary("Sets data around private site access enablement and authorized Virtual Networks that can access the site.") + putPrivateAccessVnetSlot is PrivateAccessOperationGroupOps.CreateOrUpdateSync< + PrivateAccess, + Response = ArmResourceUpdatedResponse, + OverrideErrorType = DefaultErrorResponse + >; +} + +@@doc(PrivateAccess.name, ""); +@@doc(PrivateAccess.properties, "PrivateAccess resource specific properties"); +@@doc(PrivateAccesses.putPrivateAccessVnet::parameters.resource, + "The information for the private access" +); +@@doc(PrivateAccessOperationGroup.putPrivateAccessVnetSlot::parameters.resource, + "The information for the private access" +); diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/ProcessInfo.tsp b/specification/web/resource-manager/Microsoft.Web/AppService/ProcessInfo.tsp new file mode 100644 index 000000000000..93d777ce53ab --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/ProcessInfo.tsp @@ -0,0 +1,429 @@ +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "@typespec/openapi"; +import "@typespec/rest"; +import "./models.tsp"; +import "./WebSiteInstanceStatus.tsp"; + +using TypeSpec.Rest; +using Azure.ResourceManager; +using TypeSpec.Http; +using TypeSpec.OpenAPI; + +namespace Microsoft.Web; +/** + * Process Information. + */ +@parentResource(WebSiteInstanceStatus) +model ProcessInfo + is Azure.ResourceManager.ProxyResource { + ...ResourceNameParameter< + Resource = ProcessInfo, + KeyName = "processId", + SegmentName = "processes", + NamePattern = "" + >; + + /** + * Kind of resource. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + kind?: string; +} + +@armResourceOperations +interface ProcessInfoOps + extends Azure.ResourceManager.Legacy.LegacyOperations< + { + ...ApiVersionParameter, + ...SubscriptionIdParameter, + ...ResourceGroupParameter, + ...Azure.ResourceManager.Legacy.Provider, + + /** Site name. */ + @path + @segment("sites") + @key + name: string, + + /** ID of a specific scaled-out instance. This is the value of the name property in the JSON response from "GET api/sites/{siteName}/instances". */ + @path + @segment("instances") + @key + instanceId: string, + }, + { + /** PID. */ + @path + @segment("processes") + @key + processId: string, + } + > {} + +@armResourceOperations +interface ProcessInfos { + /** + * Description for Get process information by its ID for a specific scaled-out instance in a web site. + */ + @summary("Get process information by its ID for a specific scaled-out instance in a web site.") + getInstanceProcess is ProcessInfoOps.Read< + ProcessInfo, + Response = ArmResponse | ArmNotFoundResponse, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Terminate a process by its ID for a web site, or a deployment slot, or specific scaled-out instance in a web site. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + #suppress "@azure-tools/typespec-azure-resource-manager/no-response-body" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @summary("Terminate a process by its ID for a web site, or a deployment slot, or specific scaled-out instance in a web site.") + deleteInstanceProcess is ProcessInfoOps.DeleteSync< + ProcessInfo, + Response = ArmDeletedNoContentResponse | ArmNotFoundResponse, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Get list of processes for a web site, or a deployment slot, or for a specific scaled-out instance in a web site. + */ + @summary("Get list of processes for a web site, or a deployment slot, or for a specific scaled-out instance in a web site.") + listInstanceProcesses is ProcessInfoOps.List< + ProcessInfo, + Response = ArmResponse | ArmNotFoundResponse, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Get a memory dump of a process by its ID for a specific scaled-out instance in a web site. + */ + @summary("Get a memory dump of a process by its ID for a specific scaled-out instance in a web site.") + @get + @action("dump") + getInstanceProcessDump is ProcessInfoOps.ActionSync< + ProcessInfo, + void, + { + @header("Content-Type") + contentType: "*/*"; + + @doc("Receipt body in COSE format") + @bodyRoot + body: bytes; + } | ArmNotFoundResponse, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for List the threads in a process by its ID for a specific scaled-out instance in a web site. + */ + @summary("List the threads in a process by its ID for a specific scaled-out instance in a web site.") + @get + @list + @action("threads") + listInstanceProcessThreads is ProcessInfoOps.ActionSync< + ProcessInfo, + void, + ArmResponse | ArmNotFoundResponse, + OverrideErrorType = DefaultErrorResponse + >; +} +@armResourceOperations +interface ProcessInfoOperationGroupOps + extends Azure.ResourceManager.Legacy.LegacyOperations< + { + ...ApiVersionParameter, + ...SubscriptionIdParameter, + ...ResourceGroupParameter, + ...Azure.ResourceManager.Legacy.Provider, + + /** Site name. */ + @path + @segment("sites") + @key + name: string, + }, + { + /** PID. */ + @path + @segment("processes") + @key + processId: string, + } + > {} + +@armResourceOperations +interface ProcessInfoOperationGroup { + /** + * Description for Get process information by its ID for a specific scaled-out instance in a web site. + */ + @summary("Get process information by its ID for a specific scaled-out instance in a web site.") + getProcess is ProcessInfoOperationGroupOps.Read< + ProcessInfo, + Response = ArmResponse | ArmNotFoundResponse, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Terminate a process by its ID for a web site, or a deployment slot, or specific scaled-out instance in a web site. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + #suppress "@azure-tools/typespec-azure-resource-manager/no-response-body" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @summary("Terminate a process by its ID for a web site, or a deployment slot, or specific scaled-out instance in a web site.") + deleteProcess is ProcessInfoOperationGroupOps.DeleteSync< + ProcessInfo, + Response = ArmDeletedNoContentResponse | ArmNotFoundResponse, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Get list of processes for a web site, or a deployment slot, or for a specific scaled-out instance in a web site. + */ + @summary("Get list of processes for a web site, or a deployment slot, or for a specific scaled-out instance in a web site.") + listProcesses is ProcessInfoOperationGroupOps.List< + ProcessInfo, + Response = ArmResponse | ArmNotFoundResponse, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Get a memory dump of a process by its ID for a specific scaled-out instance in a web site. + */ + @summary("Get a memory dump of a process by its ID for a specific scaled-out instance in a web site.") + @get + @action("dump") + getProcessDump is ProcessInfoOperationGroupOps.ActionSync< + ProcessInfo, + void, + { + @header("Content-Type") + contentType: "*/*"; + + @doc("Receipt body in COSE format") + @bodyRoot + body: bytes; + } | ArmNotFoundResponse, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for List the threads in a process by its ID for a specific scaled-out instance in a web site. + */ + @summary("List the threads in a process by its ID for a specific scaled-out instance in a web site.") + @get + @action("threads") + @list + listProcessThreads is ProcessInfoOperationGroupOps.ActionSync< + ProcessInfo, + void, + ArmResponse | ArmNotFoundResponse, + OverrideErrorType = DefaultErrorResponse + >; +} +@armResourceOperations +interface InstanceProcessSlotOps + extends Azure.ResourceManager.Legacy.LegacyOperations< + { + ...ApiVersionParameter, + ...SubscriptionIdParameter, + ...ResourceGroupParameter, + ...Azure.ResourceManager.Legacy.Provider, + + /** Site name. */ + @path + @segment("sites") + @key + name: string, + + /** Name of the deployment slot. If a slot is not specified, the API returns deployments for the production slot. */ + @path + @segment("slots") + @key + slot: string, + + /** ID of a specific scaled-out instance. This is the value of the name property in the JSON response from "GET api/sites/{siteName}/instances". */ + @path + @segment("instances") + @key + instanceId: string, + }, + { + /** PID. */ + @path + @segment("processes") + @key + processId: string, + } + > {} + +@armResourceOperations +interface InstanceProcessSlotOperationGroup { + /** + * Description for Get process information by its ID for a specific scaled-out instance in a web site. + */ + @summary("Get process information by its ID for a specific scaled-out instance in a web site.") + getInstanceProcessSlot is InstanceProcessSlotOps.Read< + ProcessInfo, + Response = ArmResponse | ArmNotFoundResponse, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Terminate a process by its ID for a web site, or a deployment slot, or specific scaled-out instance in a web site. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + #suppress "@azure-tools/typespec-azure-resource-manager/no-response-body" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @summary("Terminate a process by its ID for a web site, or a deployment slot, or specific scaled-out instance in a web site.") + deleteInstanceProcessSlot is InstanceProcessSlotOps.DeleteSync< + ProcessInfo, + Response = ArmDeletedNoContentResponse | ArmNotFoundResponse, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Get list of processes for a web site, or a deployment slot, or for a specific scaled-out instance in a web site. + */ + @summary("Get list of processes for a web site, or a deployment slot, or for a specific scaled-out instance in a web site.") + @segment("processes") + listInstanceProcessesSlot is InstanceProcessSlotOps.List< + ProcessInfo, + Response = ArmResponse | ArmNotFoundResponse, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Get a memory dump of a process by its ID for a specific scaled-out instance in a web site. + */ + @summary("Get a memory dump of a process by its ID for a specific scaled-out instance in a web site.") + @get + @action("dump") + getInstanceProcessDumpSlot is InstanceProcessSlotOps.ActionSync< + ProcessInfo, + void, + { + @header("Content-Type") + contentType: "*/*"; + + @doc("Receipt body in COSE format") + @bodyRoot + body: bytes; + } | ArmNotFoundResponse, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for List the threads in a process by its ID for a specific scaled-out instance in a web site. + */ + @summary("List the threads in a process by its ID for a specific scaled-out instance in a web site.") + @get + @list + @action("threads") + listInstanceProcessThreadsSlot is InstanceProcessSlotOps.ActionSync< + ProcessInfo, + void, + ArmResponse | ArmNotFoundResponse, + OverrideErrorType = DefaultErrorResponse + >; +} +@armResourceOperations +interface ProcessSlotOperationGroupOps + extends Azure.ResourceManager.Legacy.LegacyOperations< + { + ...ApiVersionParameter, + ...SubscriptionIdParameter, + ...ResourceGroupParameter, + ...Azure.ResourceManager.Legacy.Provider, + + /** Site name. */ + @path + @segment("sites") + @key + name: string, + + /** Name of the deployment slot. If a slot is not specified, the API returns deployments for the production slot. */ + @path + @segment("slots") + @key + slot: string, + }, + { + /** PID. */ + @path + @segment("processes") + @key + processId: string, + } + > {} + +@armResourceOperations +interface ProcessSlotOperationGroup { + /** + * Description for Get process information by its ID for a specific scaled-out instance in a web site. + */ + @summary("Get process information by its ID for a specific scaled-out instance in a web site.") + getProcessSlot is ProcessSlotOperationGroupOps.Read< + ProcessInfo, + Response = ArmResponse | ArmNotFoundResponse, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Terminate a process by its ID for a web site, or a deployment slot, or specific scaled-out instance in a web site. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + #suppress "@azure-tools/typespec-azure-resource-manager/no-response-body" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @summary("Terminate a process by its ID for a web site, or a deployment slot, or specific scaled-out instance in a web site.") + deleteProcessSlot is ProcessSlotOperationGroupOps.DeleteSync< + ProcessInfo, + Response = ArmDeletedNoContentResponse | ArmNotFoundResponse, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Get list of processes for a web site, or a deployment slot, or for a specific scaled-out instance in a web site. + */ + @summary("Get list of processes for a web site, or a deployment slot, or for a specific scaled-out instance in a web site.") + listProcessesSlot is ProcessSlotOperationGroupOps.List< + ProcessInfo, + Response = ArmResponse | ArmNotFoundResponse, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Get a memory dump of a process by its ID for a specific scaled-out instance in a web site. + */ + @summary("Get a memory dump of a process by its ID for a specific scaled-out instance in a web site.") + @get + @action("dump") + getProcessDumpSlot is ProcessSlotOperationGroupOps.ActionSync< + ProcessInfo, + void, + { + @header("Content-Type") + contentType: "*/*"; + + @doc("Receipt body in COSE format") + @bodyRoot + body: bytes; + } | ArmNotFoundResponse, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for List the threads in a process by its ID for a specific scaled-out instance in a web site. + */ + @summary("List the threads in a process by its ID for a specific scaled-out instance in a web site.") + @get + @list + @action("threads") + listProcessThreadsSlot is ProcessSlotOperationGroupOps.ActionSync< + ProcessInfo, + void, + ArmResponse | ArmNotFoundResponse, + OverrideErrorType = DefaultErrorResponse + >; +} + +@@doc(ProcessInfo.name, "PID."); +@@doc(ProcessInfo.properties, "ProcessInfo resource specific properties"); diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/ProcessModuleInfo.tsp b/specification/web/resource-manager/Microsoft.Web/AppService/ProcessModuleInfo.tsp new file mode 100644 index 000000000000..5cb24ec8cca0 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/ProcessModuleInfo.tsp @@ -0,0 +1,271 @@ +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "@typespec/openapi"; +import "@typespec/rest"; +import "./models.tsp"; +import "./ProcessInfo.tsp"; + +using TypeSpec.Rest; +using Azure.ResourceManager; +using TypeSpec.Http; +using TypeSpec.OpenAPI; + +namespace Microsoft.Web; +/** + * Process Module Information. + */ +@parentResource(ProcessInfo) +model ProcessModuleInfo + is Azure.ResourceManager.ProxyResource { + ...ResourceNameParameter< + Resource = ProcessModuleInfo, + KeyName = "baseAddress", + SegmentName = "modules", + NamePattern = "" + >; + + /** + * Kind of resource. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + kind?: string; +} + +@armResourceOperations +interface ProcessModuleInfoOps + extends Azure.ResourceManager.Legacy.LegacyOperations< + { + ...ApiVersionParameter, + ...SubscriptionIdParameter, + ...ResourceGroupParameter, + ...Azure.ResourceManager.Legacy.Provider, + + /** Site name. */ + @path + @segment("sites") + @key + name: string, + + /** ID of a specific scaled-out instance. This is the value of the name property in the JSON response from "GET api/sites/{siteName}/instances". */ + @path + @segment("instances") + @key + instanceId: string, + + /** PID. */ + @path + @segment("processes") + @key + processId: string, + }, + { + /** Module base address. */ + @path + @segment("modules") + @key + baseAddress: string, + } + > {} + +@armResourceOperations +interface ProcessModuleInfos { + /** + * Description for Get process information by its ID for a specific scaled-out instance in a web site. + */ + @summary("Get process information by its ID for a specific scaled-out instance in a web site.") + getInstanceProcessModule is ProcessModuleInfoOps.Read< + ProcessModuleInfo, + Response = ArmResponse | ArmNotFoundResponse, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for List module information for a process by its ID for a specific scaled-out instance in a web site. + */ + @summary("List module information for a process by its ID for a specific scaled-out instance in a web site.") + listInstanceProcessModules is ProcessModuleInfoOps.List< + ProcessModuleInfo, + Response = ArmResponse | ArmNotFoundResponse, + OverrideErrorType = DefaultErrorResponse + >; +} +@armResourceOperations +interface ProcessModuleInfoOperationGroupOps + extends Azure.ResourceManager.Legacy.LegacyOperations< + { + ...ApiVersionParameter, + ...SubscriptionIdParameter, + ...ResourceGroupParameter, + ...Azure.ResourceManager.Legacy.Provider, + + /** Site name. */ + @path + @segment("sites") + @key + name: string, + + /** PID. */ + @path + @segment("processes") + @key + processId: string, + }, + { + /** Module base address. */ + @path + @segment("modules") + @key + baseAddress: string, + } + > {} + +@armResourceOperations +interface ProcessModuleInfoOperationGroup { + /** + * Description for Get process information by its ID for a specific scaled-out instance in a web site. + */ + @summary("Get process information by its ID for a specific scaled-out instance in a web site.") + getProcessModule is ProcessModuleInfoOperationGroupOps.Read< + ProcessModuleInfo, + Response = ArmResponse | ArmNotFoundResponse, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for List module information for a process by its ID for a specific scaled-out instance in a web site. + */ + @summary("List module information for a process by its ID for a specific scaled-out instance in a web site.") + listProcessModules is ProcessModuleInfoOperationGroupOps.List< + ProcessModuleInfo, + Response = ArmResponse | ArmNotFoundResponse, + OverrideErrorType = DefaultErrorResponse + >; +} +@armResourceOperations +interface InstanceProcessModuleSlotOperationGroupOps + extends Azure.ResourceManager.Legacy.LegacyOperations< + { + ...ApiVersionParameter, + ...SubscriptionIdParameter, + ...ResourceGroupParameter, + ...Azure.ResourceManager.Legacy.Provider, + + /** Site name. */ + @path + @segment("sites") + @key + name: string, + + /** Name of the deployment slot. If a slot is not specified, the API returns deployments for the production slot. */ + @path + @segment("slots") + @key + slot: string, + + /** ID of a specific scaled-out instance. This is the value of the name property in the JSON response from "GET api/sites/{siteName}/instances". */ + @path + @segment("instances") + @key + instanceId: string, + + /** PID. */ + @path + @segment("processes") + @key + processId: string, + }, + { + /** Module base address. */ + @path + @segment("modules") + @key + baseAddress: string, + } + > {} + +@armResourceOperations +interface InstanceProcessModuleSlotOperationGroup { + /** + * Description for Get process information by its ID for a specific scaled-out instance in a web site. + */ + @summary("Get process information by its ID for a specific scaled-out instance in a web site.") + getInstanceProcessModuleSlot is InstanceProcessModuleSlotOperationGroupOps.Read< + ProcessModuleInfo, + Response = ArmResponse | ArmNotFoundResponse, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for List module information for a process by its ID for a specific scaled-out instance in a web site. + */ + @summary("List module information for a process by its ID for a specific scaled-out instance in a web site.") + @segment("modules") + listInstanceProcessModulesSlot is InstanceProcessModuleSlotOperationGroupOps.List< + ProcessModuleInfo, + Response = ArmResponse | ArmNotFoundResponse, + OverrideErrorType = DefaultErrorResponse + >; +} +@armResourceOperations +interface ProcessModuleSlotOperationGroupOps + extends Azure.ResourceManager.Legacy.LegacyOperations< + { + ...ApiVersionParameter, + ...SubscriptionIdParameter, + ...ResourceGroupParameter, + ...Azure.ResourceManager.Legacy.Provider, + + /** Site name. */ + @path + @segment("sites") + @key + name: string, + + /** Name of the deployment slot. If a slot is not specified, the API returns deployments for the production slot. */ + @path + @segment("slots") + @key + slot: string, + + /** PID. */ + @path + @segment("processes") + @key + processId: string, + }, + { + /** Module base address. */ + @path + @segment("modules") + @key + baseAddress: string, + } + > {} + +@armResourceOperations +interface ProcessModuleSlotOperationGroup { + /** + * Description for Get process information by its ID for a specific scaled-out instance in a web site. + */ + @summary("Get process information by its ID for a specific scaled-out instance in a web site.") + getProcessModuleSlot is ProcessModuleSlotOperationGroupOps.Read< + ProcessModuleInfo, + Response = ArmResponse | ArmNotFoundResponse, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for List module information for a process by its ID for a specific scaled-out instance in a web site. + */ + @summary("List module information for a process by its ID for a specific scaled-out instance in a web site.") + listProcessModulesSlot is ProcessModuleSlotOperationGroupOps.List< + ProcessModuleInfo, + Response = ArmResponse | ArmNotFoundResponse, + OverrideErrorType = DefaultErrorResponse + >; +} + +@@doc(ProcessModuleInfo.name, "Module base address."); +@@doc(ProcessModuleInfo.properties, + "ProcessModuleInfo resource specific properties" +); diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/PublicCertificate.tsp b/specification/web/resource-manager/Microsoft.Web/AppService/PublicCertificate.tsp new file mode 100644 index 000000000000..688e4f5b0a6a --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/PublicCertificate.tsp @@ -0,0 +1,180 @@ +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "@typespec/openapi"; +import "@typespec/rest"; +import "./models.tsp"; +import "./Site.tsp"; + +using TypeSpec.Rest; +using Azure.ResourceManager; +using TypeSpec.Http; +using TypeSpec.OpenAPI; + +namespace Microsoft.Web; +/** + * Public certificate object + */ +@parentResource(Site) +model PublicCertificate + is Azure.ResourceManager.ProxyResource { + ...ResourceNameParameter< + Resource = PublicCertificate, + KeyName = "publicCertificateName", + SegmentName = "publicCertificates", + NamePattern = "" + >; + + /** + * Kind of resource. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + kind?: string; +} + +@armResourceOperations +interface PublicCertificateOps + extends Azure.ResourceManager.Legacy.LegacyOperations< + { + ...ApiVersionParameter, + ...SubscriptionIdParameter, + ...ResourceGroupParameter, + ...Azure.ResourceManager.Legacy.Provider, + + /** Name of the app. */ + @path + @segment("sites") + @key + name: string, + }, + { + /** Public certificate name. */ + @path + @segment("publicCertificates") + @key + publicCertificateName: string, + } + > {} + +@armResourceOperations +interface PublicCertificates { + /** + * Description for Get the named public certificate for an app (or deployment slot, if specified). + */ + @summary("Get the named public certificate for an app (or deployment slot, if specified).") + getPublicCertificate is PublicCertificateOps.Read< + PublicCertificate, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Creates a hostname binding for an app. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-put-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @summary("Creates a hostname binding for an app.") + createOrUpdatePublicCertificate is PublicCertificateOps.CreateOrUpdateSync< + PublicCertificate, + Response = ArmResourceUpdatedResponse, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Deletes a hostname binding for an app. + */ + @summary("Deletes a hostname binding for an app.") + deletePublicCertificate is PublicCertificateOps.DeleteSync< + PublicCertificate, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Get public certificates for an app or a deployment slot. + */ + @summary("Get public certificates for an app or a deployment slot.") + listPublicCertificates is PublicCertificateOps.List< + PublicCertificate, + Response = ArmResponse, + OverrideErrorType = DefaultErrorResponse + >; +} +@armResourceOperations +interface PublicCertificateOperationGroupOps + extends Azure.ResourceManager.Legacy.LegacyOperations< + { + ...ApiVersionParameter, + ...SubscriptionIdParameter, + ...ResourceGroupParameter, + ...Azure.ResourceManager.Legacy.Provider, + + /** Name of the app. */ + @path + @segment("sites") + @key + name: string, + + /** Name of the deployment slot. If a slot is not specified, the API the named binding for the production slot. */ + @path + @segment("slots") + @key + slot: string, + }, + { + /** Public certificate name. */ + @path + @segment("publicCertificates") + @key + publicCertificateName: string, + } + > {} + +@armResourceOperations +interface PublicCertificateOperationGroup { + /** + * Description for Get the named public certificate for an app (or deployment slot, if specified). + */ + @summary("Get the named public certificate for an app (or deployment slot, if specified).") + getPublicCertificateSlot is PublicCertificateOperationGroupOps.Read< + PublicCertificate, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Creates a hostname binding for an app. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-put-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @summary("Creates a hostname binding for an app.") + createOrUpdatePublicCertificateSlot is PublicCertificateOperationGroupOps.CreateOrUpdateSync< + PublicCertificate, + Response = ArmResourceUpdatedResponse, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Deletes a hostname binding for an app. + */ + @summary("Deletes a hostname binding for an app.") + deletePublicCertificateSlot is PublicCertificateOperationGroupOps.DeleteSync< + PublicCertificate, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Get public certificates for an app or a deployment slot. + */ + @summary("Get public certificates for an app or a deployment slot.") + listPublicCertificatesSlot is PublicCertificateOperationGroupOps.List< + PublicCertificate, + Response = ArmResponse, + OverrideErrorType = DefaultErrorResponse + >; +} + +@@doc(PublicCertificate.name, "Public certificate name."); +@@doc(PublicCertificate.properties, + "PublicCertificate resource specific properties" +); +@@doc(PublicCertificates.createOrUpdatePublicCertificate::parameters.resource, + "Public certificate details. This is the JSON representation of a PublicCertificate object." +); +@@doc(PublicCertificateOperationGroup.createOrUpdatePublicCertificateSlot::parameters.resource, + "Public certificate details. This is the JSON representation of a PublicCertificate object." +); diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/RecommendationRule.tsp b/specification/web/resource-manager/Microsoft.Web/AppService/RecommendationRule.tsp new file mode 100644 index 000000000000..1ee2b1818a2e --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/RecommendationRule.tsp @@ -0,0 +1,167 @@ +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "@typespec/openapi"; +import "@typespec/rest"; +import "./models.tsp"; + +using TypeSpec.Rest; +using Azure.ResourceManager; +using TypeSpec.Http; +using TypeSpec.OpenAPI; + +namespace Microsoft.Web; +/** + * Represents a recommendation rule that the recommendation engine can perform. + */ +model RecommendationRule + is Azure.ResourceManager.ProxyResource { + ...ResourceNameParameter< + Resource = RecommendationRule, + KeyName = "name", + SegmentName = "recommendations", + NamePattern = "" + >; + + /** + * Kind of resource. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + kind?: string; +} + +@armResourceOperations +interface RecommendationRuleOps + extends Azure.ResourceManager.Legacy.LegacyOperations< + { + ...ApiVersionParameter, + ...SubscriptionIdParameter, + ...ResourceGroupParameter, + ...Azure.ResourceManager.Legacy.Provider, + + /** Name of the hosting environment. */ + @path + @segment("hostingEnvironments") + @key + hostingEnvironmentName: string, + }, + { + /** Name of the recommendation. */ + @path + @segment("recommendations") + @key + name: string, + } + > {} + +@armResourceOperations +interface RecommendationRules { + /** + * Description for Get a recommendation rule for an app. + */ + @summary("Get a recommendation rule for an app.") + getRuleDetailsByHostingEnvironment is RecommendationRuleOps.Read< + RecommendationRule, + Parameters = { + /** + * Specify true to update the last-seen timestamp of the recommendation object. + */ + @query("updateSeen") + 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. + */ + @query("recommendationId") + recommendationId?: string; + }, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Disables the specific rule for a web site permanently. + */ + @summary("Disables the specific rule for a web site permanently.") + @action("disable") + disableRecommendationForHostingEnvironment is RecommendationRuleOps.ActionSync< + RecommendationRule, + void, + { + @body body: void; + }, + Parameters = { + /** + * Site name + */ + @query("environmentName") + environmentName: string; + }, + OverrideErrorType = DefaultErrorResponse + >; +} +@armResourceOperations +interface RecommendationOps + extends Azure.ResourceManager.Legacy.LegacyOperations< + { + ...ApiVersionParameter, + ...SubscriptionIdParameter, + ...ResourceGroupParameter, + ...Azure.ResourceManager.Legacy.Provider, + + /** Name of the app. */ + @path + @segment("sites") + @key + siteName: string, + }, + { + /** Name of the recommendation. */ + @path + @segment("recommendations") + @key + name: string, + } + > {} + +@armResourceOperations +interface Recommendations { + /** + * Description for Get a recommendation rule for an app. + */ + @summary("Get a recommendation rule for an app.") + getRuleDetailsByWebApp is RecommendationOps.Read< + RecommendationRule, + Parameters = { + /** + * Specify true to update the last-seen timestamp of the recommendation object. + */ + @query("updateSeen") + 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. + */ + @query("recommendationId") + recommendationId?: string; + }, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Disables the specific rule for a web site permanently. + */ + @summary("Disables the specific rule for a web site permanently.") + @action("disable") + disableRecommendationForSite is RecommendationOps.ActionSync< + RecommendationRule, + void, + { + @body body: void; + }, + OverrideErrorType = DefaultErrorResponse + >; +} + +@@doc(RecommendationRule.name, "Name of the recommendation."); +@@doc(RecommendationRule.properties, + "RecommendationRule resource specific properties" +); diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/RelayServiceConnectionEntity.tsp b/specification/web/resource-manager/Microsoft.Web/AppService/RelayServiceConnectionEntity.tsp new file mode 100644 index 000000000000..65795e445207 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/RelayServiceConnectionEntity.tsp @@ -0,0 +1,192 @@ +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "@typespec/openapi"; +import "@typespec/rest"; +import "./models.tsp"; +import "./Site.tsp"; + +using TypeSpec.Rest; +using Azure.ResourceManager; +using TypeSpec.Http; +using TypeSpec.OpenAPI; + +namespace Microsoft.Web; +/** + * Hybrid Connection for an App Service app. + */ +@parentResource(Site) +model RelayServiceConnectionEntity + is Azure.ResourceManager.ProxyResource { + ...ResourceNameParameter< + Resource = RelayServiceConnectionEntity, + KeyName = "entityName", + SegmentName = "hybridconnection", + NamePattern = "" + >; + + /** + * Kind of resource. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + kind?: string; +} + +@armResourceOperations +interface RelayServiceConnectionEntityOps + extends Azure.ResourceManager.Legacy.LegacyOperations< + { + ...ApiVersionParameter, + ...SubscriptionIdParameter, + ...ResourceGroupParameter, + ...Azure.ResourceManager.Legacy.Provider, + + /** Name of the app. */ + @path + @segment("sites") + @key + name: string, + }, + { + /** Name of the hybrid connection. */ + @path + @segment("hybridconnection") + @key + entityName: string, + } + > {} + +@armResourceOperations +interface RelayServiceConnectionEntities { + /** + * Description for Gets a hybrid connection configuration by its name. + */ + @summary("Gets a hybrid connection configuration by its name.") + getRelayServiceConnection is RelayServiceConnectionEntityOps.Read< + RelayServiceConnectionEntity, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Creates a new hybrid connection configuration (PUT), or updates an existing one (PATCH). + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-put-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @summary("Creates a new hybrid connection configuration (PUT), or updates an existing one (PATCH).") + createOrUpdateRelayServiceConnection is RelayServiceConnectionEntityOps.CreateOrUpdateSync< + RelayServiceConnectionEntity, + Response = ArmResourceUpdatedResponse, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Creates a new hybrid connection configuration (PUT), or updates an existing one (PATCH). + */ + @summary("Creates a new hybrid connection configuration (PUT), or updates an existing one (PATCH).") + @patch(#{ implicitOptionality: false }) + updateRelayServiceConnection is RelayServiceConnectionEntityOps.CustomPatchSync< + RelayServiceConnectionEntity, + PatchModel = RelayServiceConnectionEntity, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Deletes a relay service connection by its name. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @summary("Deletes a relay service connection by its name.") + deleteRelayServiceConnection is RelayServiceConnectionEntityOps.DeleteSync< + RelayServiceConnectionEntity, + Response = ArmDeletedResponse | ArmNotFoundResponse, + OverrideErrorType = DefaultErrorResponse + >; +} +@armResourceOperations +interface RelayServiceConnectionEntityOperationGroupOps + extends Azure.ResourceManager.Legacy.LegacyOperations< + { + ...ApiVersionParameter, + ...SubscriptionIdParameter, + ...ResourceGroupParameter, + ...Azure.ResourceManager.Legacy.Provider, + + /** Name of the app. */ + @path + @segment("sites") + @key + name: string, + + /** Name of the deployment slot. If a slot is not specified, the API will get a hybrid connection for the production slot. */ + @path + @segment("slots") + @key + slot: string, + }, + { + /** Name of the hybrid connection. */ + @path + @segment("hybridconnection") + @key + entityName: string, + } + > {} + +@armResourceOperations +interface RelayServiceConnectionEntityOperationGroup { + /** + * Description for Gets a hybrid connection configuration by its name. + */ + @summary("Gets a hybrid connection configuration by its name.") + getRelayServiceConnectionSlot is RelayServiceConnectionEntityOperationGroupOps.Read< + RelayServiceConnectionEntity, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Creates a new hybrid connection configuration (PUT), or updates an existing one (PATCH). + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-put-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @summary("Creates a new hybrid connection configuration (PUT), or updates an existing one (PATCH).") + createOrUpdateRelayServiceConnectionSlot is RelayServiceConnectionEntityOperationGroupOps.CreateOrUpdateSync< + RelayServiceConnectionEntity, + Response = ArmResourceUpdatedResponse, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Creates a new hybrid connection configuration (PUT), or updates an existing one (PATCH). + */ + @summary("Creates a new hybrid connection configuration (PUT), or updates an existing one (PATCH).") + @patch(#{ implicitOptionality: false }) + updateRelayServiceConnectionSlot is RelayServiceConnectionEntityOperationGroupOps.CustomPatchSync< + RelayServiceConnectionEntity, + PatchModel = RelayServiceConnectionEntity, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Deletes a relay service connection by its name. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @summary("Deletes a relay service connection by its name.") + deleteRelayServiceConnectionSlot is RelayServiceConnectionEntityOperationGroupOps.DeleteSync< + RelayServiceConnectionEntity, + Response = ArmDeletedResponse | ArmNotFoundResponse, + OverrideErrorType = DefaultErrorResponse + >; +} + +@@doc(RelayServiceConnectionEntity.name, "Name of the hybrid connection."); +@@doc(RelayServiceConnectionEntity.properties, + "RelayServiceConnectionEntity resource specific properties" +); +@@doc(RelayServiceConnectionEntities.createOrUpdateRelayServiceConnection::parameters.resource, + "Details of the hybrid connection configuration." +); +@@doc(RelayServiceConnectionEntities.updateRelayServiceConnection::parameters.properties, + "Details of the hybrid connection configuration." +); +@@doc(RelayServiceConnectionEntityOperationGroup.createOrUpdateRelayServiceConnectionSlot::parameters.resource, + "Details of the hybrid connection configuration." +); +@@doc(RelayServiceConnectionEntityOperationGroup.updateRelayServiceConnectionSlot::parameters.properties, + "Details of the hybrid connection configuration." +); diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/RemotePrivateEndpointConnectionARMResource.tsp b/specification/web/resource-manager/Microsoft.Web/AppService/RemotePrivateEndpointConnectionARMResource.tsp new file mode 100644 index 000000000000..bf51041f0d17 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/RemotePrivateEndpointConnectionARMResource.tsp @@ -0,0 +1,380 @@ +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "@typespec/openapi"; +import "@typespec/rest"; +import "./models.tsp"; +import "./AppServiceEnvironmentResource.tsp"; + +using TypeSpec.Rest; +using Azure.ResourceManager; +using TypeSpec.Http; +using TypeSpec.OpenAPI; + +namespace Microsoft.Web; +/** + * Remote Private Endpoint Connection ARM resource. + */ +#suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@parentResource(AppServiceEnvironmentResource) +model RemotePrivateEndpointConnectionARMResource + is Azure.ResourceManager.ProxyResource { + ...ResourceNameParameter< + Resource = RemotePrivateEndpointConnectionARMResource, + KeyName = "privateEndpointConnectionName", + SegmentName = "privateEndpointConnections", + NamePattern = "" + >; + + /** + * Kind of resource. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + kind?: string; +} + +#suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@armResourceOperations +interface RemotePrivateEndpointConnectionARMResourceOps + extends Azure.ResourceManager.Legacy.LegacyOperations< + { + ...ApiVersionParameter, + ...SubscriptionIdParameter, + ...ResourceGroupParameter, + ...Azure.ResourceManager.Legacy.Provider, + + /** Name of the App Service Environment. */ + @path + @segment("hostingEnvironments") + @key + name: string, + }, + { + /** Name of the private endpoint connection. */ + @path + @segment("privateEndpointConnections") + @key + privateEndpointConnectionName: string, + } + > {} + +#suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@armResourceOperations +interface RemotePrivateEndpointConnectionARMResources { + /** + * Description for Gets a private endpoint connection + */ + @summary("Gets a private endpoint connection") + getPrivateEndpointConnection is RemotePrivateEndpointConnectionARMResourceOps.Read< + RemotePrivateEndpointConnectionARMResource, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Approves or rejects a private endpoint connection + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-put-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + #suppress "@azure-tools/typespec-azure-resource-manager/no-response-body" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @summary("Approves or rejects a private endpoint connection") + approveOrRejectPrivateEndpointConnection is RemotePrivateEndpointConnectionARMResourceOps.CreateOrUpdateAsync< + RemotePrivateEndpointConnectionARMResource, + Response = ArmResourceUpdatedResponse | (ArmAcceptedLroResponse> & { + @bodyRoot + _: RemotePrivateEndpointConnectionARMResource; + }), + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Deletes a private endpoint connection + */ + #suppress "@azure-tools/typespec-azure-resource-manager/no-response-body" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @summary("Deletes a private endpoint connection") + deletePrivateEndpointConnection is RemotePrivateEndpointConnectionARMResourceOps.DeleteWithoutOkAsync< + RemotePrivateEndpointConnectionARMResource, + Response = ArmResponse | (ArmDeleteAcceptedLroResponse & { + #suppress "@azure-tools/typespec-azure-core/no-unknown" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @body + _: unknown; + }) | (ArmDeletedNoContentResponse & { + #suppress "@azure-tools/typespec-azure-core/no-unknown" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @body + _: unknown; + }), + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Gets the list of private endpoints associated with a hosting environment + */ + @summary("Gets the list of private endpoints associated with a hosting environment") + getPrivateEndpointConnectionList is RemotePrivateEndpointConnectionARMResourceOps.List< + RemotePrivateEndpointConnectionARMResource, + Response = ArmResponse, + OverrideErrorType = DefaultErrorResponse + >; +} +@armResourceOperations +interface StaticSiteOps + extends Azure.ResourceManager.Legacy.LegacyOperations< + { + ...ApiVersionParameter, + ...SubscriptionIdParameter, + ...ResourceGroupParameter, + ...Azure.ResourceManager.Legacy.Provider, + + /** Name of the static site. */ + @path + @segment("staticSites") + @key + name: string, + }, + { + /** Name of the private endpoint connection. */ + @path + @segment("privateEndpointConnections") + @key + privateEndpointConnectionName: string, + } + > {} + +@armResourceOperations +interface StaticSites { + /** + * Description for Gets a private endpoint connection + */ + @summary("Gets a private endpoint connection") + getPrivateEndpointConnection is StaticSiteOps.Read< + RemotePrivateEndpointConnectionARMResource, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Approves or rejects a private endpoint connection + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-put-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + #suppress "@azure-tools/typespec-azure-resource-manager/no-response-body" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @summary("Approves or rejects a private endpoint connection") + approveOrRejectPrivateEndpointConnection is StaticSiteOps.CreateOrUpdateAsync< + RemotePrivateEndpointConnectionARMResource, + Response = ArmResourceUpdatedResponse | (ArmAcceptedLroResponse> & { + @bodyRoot + _: RemotePrivateEndpointConnectionARMResource; + }), + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Deletes a private endpoint connection + */ + #suppress "@azure-tools/typespec-azure-resource-manager/no-response-body" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @summary("Deletes a private endpoint connection") + deletePrivateEndpointConnection is StaticSiteOps.DeleteWithoutOkAsync< + RemotePrivateEndpointConnectionARMResource, + Response = ArmResponse | (ArmDeleteAcceptedLroResponse & { + #suppress "@azure-tools/typespec-azure-core/no-unknown" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @body + _: unknown; + }) | (ArmDeletedNoContentResponse & { + #suppress "@azure-tools/typespec-azure-core/no-unknown" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @body + _: unknown; + }), + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Gets the list of private endpoint connections associated with a static site + */ + @summary("Gets the list of private endpoint connections associated with a static site") + getPrivateEndpointConnectionList is StaticSiteOps.List< + RemotePrivateEndpointConnectionARMResource, + Response = ArmResponse, + OverrideErrorType = DefaultErrorResponse + >; +} +@armResourceOperations +interface PrivateEndpointConnectionOperationGroupOps + extends Azure.ResourceManager.Legacy.LegacyOperations< + { + ...ApiVersionParameter, + ...SubscriptionIdParameter, + ...ResourceGroupParameter, + ...Azure.ResourceManager.Legacy.Provider, + + /** Name of the site. */ + @path + @segment("sites") + @key + name: string, + }, + { + /** Name of the private endpoint connection. */ + @path + @segment("privateEndpointConnections") + @key + privateEndpointConnectionName: string, + } + > {} + +#suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@armResourceOperations +interface RemotePrivateEndpointConnectionARMResourceOperationGroup { + /** + * Description for Gets a private endpoint connection + */ + @summary("Gets a private endpoint connection") + getPrivateEndpointConnection is PrivateEndpointConnectionOperationGroupOps.Read< + RemotePrivateEndpointConnectionARMResource, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Approves or rejects a private endpoint connection + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-put-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + #suppress "@azure-tools/typespec-azure-resource-manager/no-response-body" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @summary("Approves or rejects a private endpoint connection") + approveOrRejectPrivateEndpointConnection is PrivateEndpointConnectionOperationGroupOps.CreateOrUpdateAsync< + RemotePrivateEndpointConnectionARMResource, + Response = ArmResourceUpdatedResponse | (ArmAcceptedLroResponse> & { + @bodyRoot + _: RemotePrivateEndpointConnectionARMResource; + }), + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Deletes a private endpoint connection + */ + #suppress "@azure-tools/typespec-azure-resource-manager/no-response-body" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @summary("Deletes a private endpoint connection") + deletePrivateEndpointConnection is PrivateEndpointConnectionOperationGroupOps.DeleteWithoutOkAsync< + RemotePrivateEndpointConnectionARMResource, + Response = ArmResponse | (ArmDeleteAcceptedLroResponse & { + #suppress "@azure-tools/typespec-azure-core/no-unknown" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @body + _: unknown; + }) | (ArmDeletedNoContentResponse & { + #suppress "@azure-tools/typespec-azure-core/no-unknown" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @body + _: unknown; + }), + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Gets the list of private endpoint connections associated with a site + */ + @summary("Gets the list of private endpoint connections associated with a site") + getPrivateEndpointConnectionList is PrivateEndpointConnectionOperationGroupOps.List< + RemotePrivateEndpointConnectionARMResource, + Response = ArmResponse, + OverrideErrorType = DefaultErrorResponse + >; +} +@armResourceOperations +interface PrivateEndpointConnectionSlotOperationGroupOps + extends Azure.ResourceManager.Legacy.LegacyOperations< + { + ...ApiVersionParameter, + ...SubscriptionIdParameter, + ...ResourceGroupParameter, + ...Azure.ResourceManager.Legacy.Provider, + + /** Name of the site. */ + @path + @segment("sites") + @key + name: string, + + /** Name of the site deployment slot. */ + @path + @segment("slots") + @key + slot: string, + }, + { + /** Name of the private endpoint connection. */ + @path + @segment("privateEndpointConnections") + @key + privateEndpointConnectionName: string, + } + > {} + +@armResourceOperations +interface PrivateEndpointConnectionSlotOperationGroup { + /** + * Description for Gets a private endpoint connection + */ + @summary("Gets a private endpoint connection") + getPrivateEndpointConnectionSlot is PrivateEndpointConnectionSlotOperationGroupOps.Read< + RemotePrivateEndpointConnectionARMResource, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Approves or rejects a private endpoint connection + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-put-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + #suppress "@azure-tools/typespec-azure-resource-manager/no-response-body" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @summary("Approves or rejects a private endpoint connection") + approveOrRejectPrivateEndpointConnectionSlot is PrivateEndpointConnectionSlotOperationGroupOps.CreateOrUpdateAsync< + RemotePrivateEndpointConnectionARMResource, + Response = ArmResourceUpdatedResponse | (ArmAcceptedLroResponse> & { + @bodyRoot + _: RemotePrivateEndpointConnectionARMResource; + }), + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Deletes a private endpoint connection + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + #suppress "@azure-tools/typespec-azure-resource-manager/no-response-body" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @summary("Deletes a private endpoint connection") + deletePrivateEndpointConnectionSlot is PrivateEndpointConnectionSlotOperationGroupOps.DeleteWithoutOkAsync< + RemotePrivateEndpointConnectionARMResource, + Response = ArmResponse | (ArmDeleteAcceptedLroResponse & { + #suppress "@azure-tools/typespec-azure-core/no-unknown" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @body + _: unknown; + }) | (ArmDeletedNoContentResponse & { + #suppress "@azure-tools/typespec-azure-core/no-unknown" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @body + _: unknown; + }), + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Gets the list of private endpoint connections associated with a site + */ + @summary("Gets the list of private endpoint connections associated with a site") + @segment("privateEndpointConnections") + getPrivateEndpointConnectionListSlot is PrivateEndpointConnectionSlotOperationGroupOps.List< + RemotePrivateEndpointConnectionARMResource, + Response = ArmResponse, + OverrideErrorType = DefaultErrorResponse + >; +} + +@@doc(RemotePrivateEndpointConnectionARMResource.name, + "Name of the private endpoint connection." +); +@@doc(RemotePrivateEndpointConnectionARMResource.properties, + "RemotePrivateEndpointConnectionARMResource resource specific properties" +); +@@doc(RemotePrivateEndpointConnectionARMResources.approveOrRejectPrivateEndpointConnection::parameters.resource, + "" +); +@@doc(StaticSites.approveOrRejectPrivateEndpointConnection::parameters.resource, + "Request body." +); +@@doc(RemotePrivateEndpointConnectionARMResourceOperationGroup.approveOrRejectPrivateEndpointConnection::parameters.resource, + "" +); +@@doc(PrivateEndpointConnectionSlotOperationGroup.approveOrRejectPrivateEndpointConnectionSlot::parameters.resource, + "" +); diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/RequestHistory.tsp b/specification/web/resource-manager/Microsoft.Web/AppService/RequestHistory.tsp new file mode 100644 index 000000000000..98447c105f3a --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/RequestHistory.tsp @@ -0,0 +1,115 @@ +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "@typespec/openapi"; +import "@typespec/rest"; +import "./models.tsp"; +import "./WorkflowRunActionRepetitionDefinition.tsp"; + +using TypeSpec.Rest; +using Azure.ResourceManager; +using TypeSpec.Http; +using TypeSpec.OpenAPI; + +namespace Microsoft.Web; +/** + * The request history. + */ +#suppress "@azure-tools/typespec-azure-resource-manager/beyond-nesting-levels" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@parentResource(WorkflowRunActionRepetitionDefinition) +model RequestHistory + is Azure.ResourceManager.TrackedResource { + ...ResourceNameParameter< + Resource = RequestHistory, + KeyName = "requestHistoryName", + SegmentName = "requestHistories", + NamePattern = "" + >; +} + +@armResourceOperations +interface RequestHistoryOps + extends Azure.ResourceManager.Legacy.LegacyOperations< + { + ...ApiVersionParameter, + ...SubscriptionIdParameter, + ...ResourceGroupParameter, + ...Azure.ResourceManager.Legacy.Provider, + + /** Site name. */ + @path + @segment("sites") + @key + name: string, + + /** undefined */ + @path + @segment("hostruntime") + @key + runtime: "runtime", + + /** undefined */ + @path + @segment("webhooks") + @key + workflow: "workflow", + + /** undefined */ + @path + @segment("api") + @key + management: "management", + + /** The workflow name. */ + @path + @segment("workflows") + @key + workflowName: string, + + /** The workflow run name. */ + @path + @segment("runs") + @key + runName: string, + + /** The workflow action name. */ + @path + @segment("actions") + @key + actionName: string, + + /** The workflow repetition. */ + @path + @segment("repetitions") + @key + repetitionName: string, + }, + { + /** The workflow repetition. */ + @path + @segment("requestHistories") + @key + requestHistoryName: string, + } + > {} + +@armResourceOperations +interface RequestHistories { + /** + * Gets a workflow run repetition request history. + */ + get is RequestHistoryOps.Read< + RequestHistory, + OverrideErrorType = ErrorResponse + >; + + /** + * List a workflow run repetition request history. + */ + list is RequestHistoryOps.List< + RequestHistory, + OverrideErrorType = ErrorResponse + >; +} + +@@doc(RequestHistory.name, "The request history name."); +@@doc(RequestHistory.properties, "The request history properties."); diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/ResourceHealthMetadata.tsp b/specification/web/resource-manager/Microsoft.Web/AppService/ResourceHealthMetadata.tsp new file mode 100644 index 000000000000..999475be0665 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/ResourceHealthMetadata.tsp @@ -0,0 +1,136 @@ +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "@typespec/openapi"; +import "@typespec/rest"; +import "./models.tsp"; +import "./Site.tsp"; + +using TypeSpec.Rest; +using Azure.ResourceManager; +using TypeSpec.Http; +using TypeSpec.OpenAPI; + +namespace Microsoft.Web; +/** + * Used for getting ResourceHealthCheck settings. + */ +@singleton("default") +@parentResource(Site) +model ResourceHealthMetadata + is Azure.ResourceManager.ProxyResource { + ...ResourceNameParameter< + Resource = ResourceHealthMetadata, + KeyName = "resourceHealthMetadatum", + SegmentName = "resourceHealthMetadata", + NamePattern = "" + >; + + /** + * Kind of resource. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + kind?: string; +} + +@armResourceOperations +interface ResourceHealthMetadataOperationGroupOps + extends Azure.ResourceManager.Legacy.LegacyOperations< + { + ...ApiVersionParameter, + ...SubscriptionIdParameter, + ...ResourceGroupParameter, + ...Azure.ResourceManager.Legacy.Provider, + + /** Name of web app */ + @path + @segment("sites") + @key + name: string, + }, + { + /** undefined */ + @path + @segment("resourceHealthMetadata") + @key + default: "default", + } + > {} + +@armResourceOperations +interface ResourceHealthMetadataOperationGroup { + /** + * Description for Gets the category of ResourceHealthMetadata to use for the given site + */ + @summary("Gets the category of ResourceHealthMetadata to use for the given site") + getBySite is ResourceHealthMetadataOperationGroupOps.Read< + ResourceHealthMetadata, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Gets the category of ResourceHealthMetadata to use for the given site as a collection + */ + @summary("Gets the category of ResourceHealthMetadata to use for the given site as a collection") + listBySite is ResourceHealthMetadataOperationGroupOps.List< + ResourceHealthMetadata, + Response = ArmResponse, + OverrideErrorType = DefaultErrorResponse + >; +} +@armResourceOperations +interface BySiteSlotOperationGroupOps + extends Azure.ResourceManager.Legacy.LegacyOperations< + { + ...ApiVersionParameter, + ...SubscriptionIdParameter, + ...ResourceGroupParameter, + ...Azure.ResourceManager.Legacy.Provider, + + /** Name of web app */ + @path + @segment("sites") + @key + name: string, + + /** Name of web app slot. If not specified then will default to production slot. */ + @path + @segment("slots") + @key + slot: string, + }, + { + /** undefined */ + @path + @segment("resourceHealthMetadata") + @key + default: "default", + } + > {} + +@armResourceOperations +interface BySiteSlotOperationGroup { + /** + * Description for Gets the category of ResourceHealthMetadata to use for the given site + */ + @summary("Gets the category of ResourceHealthMetadata to use for the given site") + getBySiteSlot is BySiteSlotOperationGroupOps.Read< + ResourceHealthMetadata, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Gets the category of ResourceHealthMetadata to use for the given site as a collection + */ + @summary("Gets the category of ResourceHealthMetadata to use for the given site as a collection") + @segment("resourceHealthMetadata") + listBySiteSlot is BySiteSlotOperationGroupOps.List< + ResourceHealthMetadata, + Response = ArmResponse, + OverrideErrorType = DefaultErrorResponse + >; +} + +@@doc(ResourceHealthMetadata.name, ""); +@@doc(ResourceHealthMetadata.properties, + "ResourceHealthMetadata resource specific properties" +); diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/Site.tsp b/specification/web/resource-manager/Microsoft.Web/AppService/Site.tsp new file mode 100644 index 000000000000..59e446a160a5 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/Site.tsp @@ -0,0 +1,2747 @@ +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "@typespec/openapi"; +import "@typespec/rest"; +import "./models.tsp"; + +using TypeSpec.Rest; +using Azure.ResourceManager; +using TypeSpec.Http; +using TypeSpec.OpenAPI; + +namespace Microsoft.Web; +/** + * A web app, a mobile app backend, or an API app. + */ +model Site is Azure.ResourceManager.TrackedResource { + ...ResourceNameParameter< + Resource = Site, + KeyName = "name", + SegmentName = "sites", + NamePattern = "" + >; + + /** + * Managed service identity. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + identity?: ManagedServiceIdentity; + + /** + * Extended Location. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + extendedLocation?: ExtendedLocation; + + /** Kind of resource. If the resource is an app, you can refer to https://github.com/Azure/app-service-linux-docs/blob/master/Things_You_Should_Know/kind_property.md#app-service-resource-kind-reference for details supported values for kind. */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + kind?: string; +} + +@armResourceOperations +interface SiteOps + extends Azure.ResourceManager.Legacy.LegacyOperations< + { + ...ApiVersionParameter, + ...SubscriptionIdParameter, + ...ResourceGroupParameter, + ...Azure.ResourceManager.Legacy.Provider, + }, + { + /** Name of the app. */ + @path + @segment("sites") + @key + name: string, + } + > {} + +@armResourceOperations +interface WorkflowRegenerateAccessKeyOps + extends Azure.ResourceManager.Legacy.LegacyOperations< + { + ...ApiVersionParameter, + ...SubscriptionIdParameter, + ...ResourceGroupParameter, + ...Azure.ResourceManager.Legacy.Provider, + + /** Site name. */ + @path + @segment("sites") + @key + name: string, + + /** undefined */ + @path + @segment("hostruntime") + @key + runtime: "runtime", + + /** undefined */ + @path + @segment("webhooks") + @key + workflow: "workflow", + + /** undefined */ + @path + @segment("api") + @key + management: "management", + }, + { + /** The workflow name. */ + @path + @segment("workflows") + @key + workflowName: string, + } + > {} + +@armResourceOperations(#{ allowStaticRoutes: true }) +interface Sites { + /** + * Description for Gets the details of a web, mobile, or API app. + */ + @summary("Gets the details of a web, mobile, or API app.") + get is SiteOps.Read< + Site, + Response = ArmResponse | ArmNotFoundResponse, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Creates a new web, mobile, or API app in an existing resource group, or updates an existing app. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-put-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + #suppress "@azure-tools/typespec-azure-resource-manager/no-response-body" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @summary("Creates a new web, mobile, or API app in an existing resource group, or updates an existing app.") + createOrUpdate is SiteOps.CreateOrUpdateAsync< + Site, + Response = ArmResourceUpdatedResponse | (ArmAcceptedLroResponse> & { + @bodyRoot + _: Site; + }), + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Creates a new web, mobile, or API app in an existing resource group, or updates an existing app. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/lro-location-header" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + #suppress "@azure-tools/typespec-azure-resource-manager/no-response-body" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @summary("Creates a new web, mobile, or API app in an existing resource group, or updates an existing app.") + update is SiteOps.CustomPatchSync< + Site, + PatchModel = SitePatchResource, + Response = ArmResponse | (AcceptedResponse & { + @bodyRoot + _: Site; + }), + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Deletes a web, mobile, or API app, or one of the deployment slots. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @summary("Deletes a web, mobile, or API app, or one of the deployment slots.") + delete is SiteOps.DeleteSync< + Site, + Parameters = { + /** + * If true, web app metrics are also deleted. + */ + @query("deleteMetrics") + deleteMetrics?: boolean; + + /** + * Specify false if you want to keep empty App Service plan. By default, empty App Service plan is deleted. + */ + @query("deleteEmptyServerFarm") + deleteEmptyServerFarm?: boolean; + }, + Response = { + @body body: void; + } | NoContentResponse | ArmNotFoundResponse, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Get all apps for a subscription. + */ + @summary("Get all apps for a subscription.") + list is Azure.ResourceManager.Extension.ListByTarget< + Extension.Subscription, + Site, + Response = ArmResponse, + Error = DefaultErrorResponse + >; + + /** + * Description for Get past recommendations for an app, optionally specified by the time range. + */ + #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @summary("Get past recommendations for an app, optionally specified by the time range.") + @Azure.ResourceManager.Legacy.renamePathParameter("name", "siteName") + @get + @list + @action("recommendationHistory") + listHistoryForWebApp is SiteOps.ActionSync< + Site, + void, + ArmResponse, + Parameters = { + /** + * Specify false to return all recommendations. The default is true, which returns only expired recommendations. + */ + @query("expiredOnly") + 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] + */ + @query("$filter") + $filter?: string; + }, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Get all recommendations for an app. + */ + #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @summary("Get all recommendations for an app.") + @Azure.ResourceManager.Legacy.renamePathParameter("name", "siteName") + @get + @list + @action("recommendations") + listRecommendedRulesForWebApp is SiteOps.ActionSync< + Site, + void, + ArmResponse, + Parameters = { + /** + * Specify true to return only the most critical recommendations. The default is false, which returns all recommendations. + */ + @query("featured") + 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' + */ + @query("$filter") + $filter?: string; + }, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Disable all recommendations for an app. + */ + #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @summary("Disable all recommendations for an app.") + @post + @action("recommendations/disable") + @Azure.ResourceManager.Legacy.renamePathParameter("name", "siteName") + disableAllForWebApp is ArmResourceActionSync< + Site, + Request = void, + Response = NoContentResponse, + Error = DefaultErrorResponse + >; + + /** + * Description for Reset all recommendation opt-out settings for an app. + */ + #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @post + @summary("Reset all recommendation opt-out settings for an app.") + @action("recommendations/reset") + @Azure.ResourceManager.Legacy.renamePathParameter("name", "siteName") + resetAllFiltersForWebApp is ArmResourceActionSync< + Site, + Request = void, + Response = NoContentResponse, + Error = DefaultErrorResponse + >; + + /** + * Description for Analyze a custom hostname. + */ + @summary("Analyze a custom hostname.") + @get + analyzeCustomHostname is SiteOps.ActionSync< + Site, + void, + ArmResponse, + Parameters = { + /** + * Custom hostname. + */ + @query("hostName") + hostName?: string; + }, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Applies the configuration settings from the target slot onto the current slot. + */ + @summary("Applies the configuration settings from the target slot onto the current slot.") + @action("applySlotConfig") + applySlotConfigToProduction is SiteOps.ActionSync< + Site, + CsmSlotEntity, + { + @body body: void; + }, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Creates a backup of an app. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation-response" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @summary("Creates a backup of an app.") + backup is SiteOps.ActionSync< + Site, + BackupRequest, + ArmResponse, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Replaces the application settings of an app. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-put-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @summary("Replaces the application settings of an app.") + @put + @action("config/appsettings") + updateApplicationSettings is SiteOps.ActionSync< + Site, + StringDictionary, + ArmResponse, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Gets the application settings of an app. + */ + @summary("Gets the application settings of an app.") + @action("config/appsettings/list") + listApplicationSettings is SiteOps.ActionSync< + Site, + void, + ArmResponse, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Updates the Authentication / Authorization settings associated with web app. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-put-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @summary("Updates the Authentication / Authorization settings associated with web app.") + @put + @action("config/authsettings") + updateAuthSettings is SiteOps.ActionSync< + Site, + SiteAuthSettings, + ArmResponse, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Gets the Authentication/Authorization settings of an app. + */ + @summary("Gets the Authentication/Authorization settings of an app.") + @action("config/authsettings/list") + getAuthSettings is SiteOps.ActionSync< + Site, + void, + ArmResponse, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Updates the Azure storage account configurations of an app. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-put-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @summary("Updates the Azure storage account configurations of an app.") + @put + @action("config/azurestorageaccounts") + updateAzureStorageAccounts is SiteOps.ActionSync< + Site, + AzureStoragePropertyDictionaryResource, + ArmResponse, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Gets the Azure storage account configurations of an app. + */ + @summary("Gets the Azure storage account configurations of an app.") + @action("config/azurestorageaccounts/list") + listAzureStorageAccounts is SiteOps.ActionSync< + Site, + void, + ArmResponse, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Updates the backup configuration of an app. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-put-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @summary("Updates the backup configuration of an app.") + @put + @action("config/backup") + updateBackupConfiguration is SiteOps.ActionSync< + Site, + BackupRequest, + ArmResponse, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Deletes the backup configuration of an app. + */ + @summary("Deletes the backup configuration of an app.") + @delete + @action("config/backup") + deleteBackupConfiguration is SiteOps.ActionSync< + Site, + void, + { + @body body: void; + }, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Gets the backup configuration of an app. + */ + @summary("Gets the backup configuration of an app.") + @action("config/backup/list") + getBackupConfiguration is SiteOps.ActionSync< + Site, + void, + ArmResponse, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Replaces the connection strings of an app. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-put-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @summary("Replaces the connection strings of an app.") + @put + @action("config/connectionstrings") + updateConnectionStrings is SiteOps.ActionSync< + Site, + ConnectionStringDictionary, + ArmResponse, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Gets the connection strings of an app. + */ + @summary("Gets the connection strings of an app.") + @action("config/connectionstrings/list") + listConnectionStrings is SiteOps.ActionSync< + Site, + void, + ArmResponse, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Replaces the metadata of an app. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-put-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @summary("Replaces the metadata of an app.") + @put + @action("config/metadata") + updateMetadata is SiteOps.ActionSync< + Site, + StringDictionary, + ArmResponse, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Gets the metadata of an app. + */ + @summary("Gets the metadata of an app.") + @action("config/metadata/list") + listMetadata is SiteOps.ActionSync< + Site, + void, + ArmResponse, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Gets the Git/FTP publishing credentials of an app. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-post-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + #suppress "@azure-tools/typespec-azure-resource-manager/arm-post-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @summary("Gets the Git/FTP publishing credentials of an app.") + @action("config/publishingcredentials/list") + listPublishingCredentials is Azure.ResourceManager.ArmResourceActionAsyncBase< + Site, + Request = void, + Response = ArmResponse & ArmLroLocationHeader, + BaseParameters = Azure.ResourceManager.Foundations.DefaultBaseParameters, + Error = DefaultErrorResponse + >; + + /** + * Description for Updates the Push settings associated with web app. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-put-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @summary("Updates the Push settings associated with web app.") + @put + @action("config/pushsettings") + updateSitePushSettings is SiteOps.ActionSync< + Site, + PushSettings, + ArmResponse, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Gets the Push settings associated with web app. + */ + @summary("Gets the Push settings associated with web app.") + @action("config/pushsettings/list") + listSitePushSettings is SiteOps.ActionSync< + Site, + void, + ArmResponse, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Gets the last lines of docker logs for the given site + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-post-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @summary("Gets the last lines of docker logs for the given site") + @action("containerlogs") + getWebSiteContainerLogs is SiteOps.ActionSync< + Site, + void, + { + @header("Content-Type") + contentType: "application/octet-stream"; + + @doc("Receipt body in COSE format") + @bodyRoot + body: bytes; + } | NoContentResponse, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Gets the ZIP archived docker log files for the given site + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-post-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @summary("Gets the ZIP archived docker log files for the given site") + @action("containerlogs/zip/download") + getContainerLogsZip is SiteOps.ActionSync< + Site, + void, + { + @header("Content-Type") + contentType: "application/zip"; + + @doc("Receipt body in COSE format") + @bodyRoot + body: bytes; + } | NoContentResponse, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Discovers an existing app backup that can be restored from a blob in Azure storage. Use this to get information about the databases stored in a backup. + */ + @summary("Discovers an existing app backup that can be restored from a blob in Azure storage. Use this to get information about the databases stored in a backup.") + @action("discoverbackup") + discoverBackup is SiteOps.ActionSync< + Site, + RestoreRequest, + ArmResponse, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Invoke onedeploy status API /api/deployments and gets the deployment status for the site + */ + @summary("Invoke onedeploy status API /api/deployments and gets the deployment status for the site") + @get + @action("extensions/onedeploy") + getOneDeployStatus is SiteOps.ActionSync< + Site, + void, + ArmResponse, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Invoke the OneDeploy publish web app extension. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-put-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @summary("Invoke the OneDeploy publish web app extension.") + @put + @action("extensions/onedeploy") + createOneDeployOperation is SiteOps.ActionSync< + Site, + void, + ArmResponse, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Fetch a short lived token that can be exchanged for a master key. + */ + @summary("Fetch a short lived token that can be exchanged for a master key.") + @get + @action("functions/admin/token") + getFunctionsAdminToken is SiteOps.ActionSync< + Site, + void, + ArmResponse, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Get host secrets for a function app. + */ + @summary("Get host secrets for a function app.") + @action("host/default/listkeys") + listHostKeys is SiteOps.ActionSync< + Site, + void, + ArmResponse, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for This is to allow calling via powershell and ARM template. + */ + @summary("This is to allow calling via powershell and ARM template.") + @action("host/default/listsyncstatus") + listSyncStatus is SiteOps.ActionSync< + Site, + void, + NoContentResponse, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Syncs function trigger metadata to the management database + */ + @summary("Syncs function trigger metadata to the management database") + @action("host/default/sync") + syncFunctions is SiteOps.ActionSync< + Site, + void, + NoContentResponse, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Add or update a host level secret. + */ + @summary("Add or update a host level secret.") + @route("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.Web/sites/{name}/host/default/{keyType}/{keyName}") + @put + createOrUpdateHostSecret is ActionParameterSiteWebAppOps.ActionSync< + Site, + KeyInfo, + Parameters = { + /** + * The type of host key. + */ + @path + keyType: string; + + /** + * The name of the key. + */ + @path + keyName: string; + }, + Response = ArmResponse | ArmResourceCreatedSyncResponse, + OverrideErrorType = DefaultErrorResponse + >; + /** + * Description for Delete a host level secret. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/no-response-body" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @summary("Delete a host level secret.") + @route("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.Web/sites/{name}/host/default/{keyType}/{keyName}") + @delete + deleteHostSecret is ActionParameterSiteWebAppOps.ActionSync< + Site, + void, + Parameters = { + /** + * The type of host key. + */ + @path + keyType: string; + + /** + * The name of the key. + */ + @path + keyName: string; + }, + Response = NoContentResponse | ArmNotFoundResponse, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Retrieves all Service Bus Hybrid Connections used by this Web App. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation-response" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @summary("Retrieves all Service Bus Hybrid Connections used by this Web App.") + @get + @action("hybridConnectionRelays") + listHybridConnections is SiteOps.ActionSync< + Site, + void, + ArmResponse, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Gets hybrid connections configured for an app (or deployment slot, if specified). + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation-response" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @summary("Gets hybrid connections configured for an app (or deployment slot, if specified).") + @get + @action("hybridconnection") + listRelayServiceConnections is SiteOps.ActionSync< + Site, + void, + ArmResponse, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Shows whether an app can be cloned to another resource group or subscription. + */ + @summary("Shows whether an app can be cloned to another resource group or subscription.") + @action("iscloneable") + isCloneable is SiteOps.ActionSync< + Site, + void, + ArmResponse, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Gets existing backups of an app. + */ + @summary("Gets existing backups of an app.") + @action("listbackups") + @list + listSiteBackups is SiteOps.ActionSync< + Site, + void, + ArmResponse, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for This is to allow calling via powershell and ARM template. + */ + @summary("This is to allow calling via powershell and ARM template.") + @action("listsyncfunctiontriggerstatus") + listSyncFunctionTriggers is SiteOps.ActionSync< + Site, + void, + ArmResponse, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Updates the machine key of an app. + */ + @summary("Updates the machine key of an app.") + @action("updatemachinekey") + updateMachineKey is SiteOps.ActionSync< + Site, + void, + ArmResponse, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Restores a web app. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-put-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @summary("Restores a web app.") + @put + @action("migrate") + migrateStorage is Azure.ResourceManager.ArmResourceActionAsyncBase< + Site, + StorageMigrationOptions, + ArmResponse & + ArmLroLocationHeader, + BaseParameters = Azure.ResourceManager.Foundations.DefaultBaseParameters, + Parameters = { + /** + * Azure subscription + */ + @query("subscriptionName") + subscriptionName: string; + }, + Error = DefaultErrorResponse + >; + + /** + * Description for Migrates a local (in-app) MySql database to a remote MySql database. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-post-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @summary("Migrates a local (in-app) MySql database to a remote MySql database.") + @action("migratemysql") + migrateMySql is Azure.ResourceManager.ArmResourceActionAsyncBase< + Site, + MigrateMySqlRequest, + ArmResponse & ArmLroLocationHeader, + BaseParameters = Azure.ResourceManager.Foundations.DefaultBaseParameters, + Error = DefaultErrorResponse + >; + + /** + * Description for Gets a named operation for a network trace capturing (or deployment slot, if specified). + */ + #suppress "@azure-tools/typespec-azure-resource-manager/lro-location-header" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + #suppress "@azure-tools/typespec-azure-resource-manager/no-response-body" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @summary("Gets a named operation for a network trace capturing (or deployment slot, if specified).") + @get + @route("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.Web/sites/{name}/networkTrace/operationresults/{operationId}") + getNetworkTraceOperation is ActionParameterSiteWebAppOps.ActionSync< + Site, + void, + Response = ArmResponse | (AcceptedResponse & { + @identifiers(#[]) + @bodyRoot + _: NetworkTrace[]; + }), + Parameters = { + /** + * GUID of the operation. + */ + @path + operationId: string; + }, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Start capturing network packets for the site (To be deprecated). + */ + @summary("Start capturing network packets for the site (To be deprecated).") + @action("networkTrace/start") + startWebSiteNetworkTrace is SiteOps.ActionSync< + Site, + void, + ArmResponse, + Parameters = { + /** + * The duration to keep capturing in seconds. + */ + @query("durationInSeconds") + durationInSeconds?: int32; + + /** + * The maximum frame length in bytes (Optional). + */ + @query("maxFrameLength") + maxFrameLength?: int32; + + /** + * The Blob URL to store capture file. + */ + @query("sasUrl") + sasUrl?: string; + }, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Start capturing network packets for the site. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/no-response-body" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @summary("Start capturing network packets for the site.") + @action("networkTrace/startOperation") + startWebSiteNetworkTraceOperation is SiteOps.ActionSync< + Site, + void, + ArmResponse | (ArmAcceptedLroResponse & { + @bodyRoot + @identifiers(#[]) + _?: NetworkTrace[]; + }), + Parameters = { + /** + * The duration to keep capturing in seconds. + */ + @query("durationInSeconds") + durationInSeconds?: int32; + + /** + * The maximum frame length in bytes (Optional). + */ + @query("maxFrameLength") + maxFrameLength?: int32; + + /** + * The Blob URL to store capture file. + */ + @query("sasUrl") + sasUrl?: string; + }, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Stop ongoing capturing network packets for the site. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-post-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @summary("Stop ongoing capturing network packets for the site.") + @action("networkTrace/stop") + stopWebSiteNetworkTrace is SiteOps.ActionSync< + Site, + void, + { + @body body: void; + } | NoContentResponse, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Gets a named operation for a network trace capturing (or deployment slot, if specified). + */ + @summary("Gets a named operation for a network trace capturing (or deployment slot, if specified).") + @get + @route("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.Web/sites/{name}/networkTrace/{operationId}") + getNetworkTraces is ActionParameterSiteWebAppOps.ActionSync< + Site, + void, + Parameters = { + /** + * GUID of the operation. + */ + @path + operationId: string; + }, + Response = ArmResponse, + OverrideErrorType = DefaultErrorResponse + >; + /** + * Description for Gets a named operation for a network trace capturing (or deployment slot, if specified). + */ + #suppress "@azure-tools/typespec-azure-resource-manager/no-response-body" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + #suppress "@azure-tools/typespec-azure-resource-manager/lro-location-header" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @summary("Gets a named operation for a network trace capturing (or deployment slot, if specified).") + @get + @route("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.Web/sites/{name}/networkTraces/current/operationresults/{operationId}") + getNetworkTraceOperationV2 is ActionParameterSiteWebAppOps.ActionSync< + Site, + void, + Response = ArmResponse | (AcceptedResponse & { + @identifiers(#[]) + @bodyRoot + _: NetworkTrace[]; + }), + Parameters = { + /** + * GUID of the operation. + */ + @path + operationId: string; + }, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Gets a named operation for a network trace capturing (or deployment slot, if specified). + */ + @summary("Gets a named operation for a network trace capturing (or deployment slot, if specified).") + @get + @route("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.Web/sites/{name}/networkTraces/{operationId}") + getNetworkTracesV2 is ActionParameterSiteWebAppOps.ActionSync< + Site, + void, + Parameters = { + /** + * GUID of the operation. + */ + @path + operationId: string; + }, + Response = ArmResponse, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Generates a new publishing password for an app (or deployment slot, if specified). + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-post-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @summary("Generates a new publishing password for an app (or deployment slot, if specified).") + @action("newpassword") + generateNewSitePublishingPassword is SiteOps.ActionSync< + Site, + void, + { + @body body: void; + } | NoContentResponse, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Gets perfmon counters for web app. + */ + @summary("Gets perfmon counters for web app.") + @get + @action("perfcounters") + @list + listPerfMonCounters is SiteOps.ActionSync< + Site, + void, + ArmResponse, + Parameters = { + /** + * 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]'. + */ + @query("$filter") + $filter?: string; + }, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Gets web app's event logs. + */ + @summary("Gets web app's event logs.") + @get + @action("phplogging") + getSitePhpErrorLogFlag is SiteOps.ActionSync< + Site, + void, + ArmResponse, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Gets the premier add-ons of an app. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation-response" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @summary("Gets the premier add-ons of an app.") + @get + @action("premieraddons") + listPremierAddOns is SiteOps.ActionSync< + Site, + void, + ArmResponse, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Gets the private link resources + */ + @summary("Gets the private link resources") + @get + @action("privateLinkResources") + getPrivateLinkResources is SiteOps.ActionSync< + Site, + void, + ArmResponse, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Gets the publishing profile for an app (or deployment slot, if specified). + */ + @summary("Gets the publishing profile for an app (or deployment slot, if specified).") + @action("publishxml") + listPublishingProfileXmlWithSecrets is SiteOps.ActionSync< + Site, + CsmPublishingProfileOptions, + { + @header("Content-Type") + contentType: "application/xml"; + + @doc("Receipt body in COSE format") + @bodyRoot + body: bytes; + }, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Resets the configuration settings of the current slot if they were previously modified by calling the API with POST. + */ + @summary("Resets the configuration settings of the current slot if they were previously modified by calling the API with POST.") + @action("resetSlotConfig") + resetProductionSlotConfig is SiteOps.ActionSync< + Site, + void, + { + @body body: void; + }, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Restarts an app (or deployment slot, if specified). + */ + @summary("Restarts an app (or deployment slot, if specified).") + restart is SiteOps.ActionSync< + Site, + void, + { + @body body: void; + }, + Parameters = { + /** + * Specify true to apply the configuration settings and restarts the app only if necessary. By default, the API always restarts and reprovisions the app. + */ + @query("softRestart") + softRestart?: boolean; + + /** + * Specify true to block until the app is restarted. By default, it is set to false, and the API responds immediately (asynchronous). + */ + @query("synchronous") + synchronous?: boolean; + }, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Restores an app from a backup blob in Azure Storage. + */ + @summary("Restores an app from a backup blob in Azure Storage.") + restoreFromBackupBlob is SiteOps.ActionAsync< + Site, + RestoreRequest, + { + @body body: void; + }, + OverrideErrorType = DefaultErrorResponse, + LroHeaders = Azure.Core.Foundations.RetryAfterHeader & + ArmLroLocationHeader + >; + + /** + * Description for Restores a deleted web app to this web app. + */ + @summary("Restores a deleted web app to this web app.") + restoreFromDeletedApp is SiteOps.ActionAsync< + Site, + DeletedAppRestoreRequest, + { + @body body: void; + }, + OverrideErrorType = DefaultErrorResponse, + LroHeaders = Azure.Core.Foundations.RetryAfterHeader & + ArmLroLocationHeader + >; + + /** + * Description for Restores a web app from a snapshot. + */ + @summary("Restores a web app from a snapshot.") + restoreSnapshot is SiteOps.ActionAsync< + Site, + SnapshotRestoreRequest, + { + @body body: void; + }, + OverrideErrorType = DefaultErrorResponse, + LroHeaders = Azure.Core.Foundations.RetryAfterHeader & + ArmLroLocationHeader + >; + + /** + * Description for Get the difference in configuration settings between two web app slots. + */ + @summary("Get the difference in configuration settings between two web app slots.") + @action("slotsdiffs") + @list + listSlotDifferencesFromProduction is SiteOps.ActionSync< + Site, + CsmSlotEntity, + ArmResponse, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Swaps two deployment slots of an app. + */ + @summary("Swaps two deployment slots of an app.") + @action("slotsswap") + swapSlotWithProduction is SiteOps.ActionAsync< + Site, + CsmSlotEntity, + { + @body body: void; + }, + OverrideErrorType = DefaultErrorResponse, + LroHeaders = Azure.Core.Foundations.RetryAfterHeader & + ArmLroLocationHeader + >; + + /** + * Description for Returns all Snapshots to the user. + */ + @summary("Returns all Snapshots to the user.") + @get + @action("snapshots") + @list + listSnapshots is SiteOps.ActionSync< + Site, + void, + ArmResponse, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Returns all Snapshots to the user from DRSecondary endpoint. + */ + #suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @summary("Returns all Snapshots to the user from DRSecondary endpoint.") + @get + @list + @action("snapshotsdr") + listSnapshotsFromDRSecondary is SiteOps.ActionSync< + Site, + void, + ArmResponse, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Starts an app (or deployment slot, if specified). + */ + @summary("Starts an app (or deployment slot, if specified).") + start is ArmResourceActionSync< + Site, + void, + { + @body body: void; + }, + Error = DefaultErrorResponse + >; + + /** + * Description for Start capturing network packets for the site. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/no-response-body" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + #suppress "@azure-tools/typespec-azure-core/no-openapi" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @summary("Start capturing network packets for the site.") + @operationId("WebApps_StartNetworkTrace") + startNetworkTrace is SiteOps.ActionSync< + Site, + void, + ArmResponse | (ArmAcceptedLroResponse & { + @bodyRoot + @identifiers(#[]) + _?: NetworkTrace[]; + }), + Parameters = { + /** + * The duration to keep capturing in seconds. + */ + @query("durationInSeconds") + durationInSeconds?: int32; + + /** + * The maximum frame length in bytes (Optional). + */ + @query("maxFrameLength") + maxFrameLength?: int32; + + /** + * The Blob URL to store capture file. + */ + @query("sasUrl") + sasUrl?: string; + }, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Stops an app (or deployment slot, if specified). + */ + @summary("Stops an app (or deployment slot, if specified).") + @action("stop") + stop is SiteOps.ActionSync< + Site, + void, + { + @body body: void; + }, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Stop ongoing capturing network packets for the site. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-post-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @summary("Stop ongoing capturing network packets for the site.") + stopNetworkTrace is SiteOps.ActionSync< + Site, + void, + { + @body body: void; + } | NoContentResponse, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Sync web app repository. + */ + @summary("Sync web app repository.") + @action("sync") + syncRepository is SiteOps.ActionSync< + Site, + void, + { + @body body: void; + }, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Syncs function trigger metadata to the management database + */ + @summary("Syncs function trigger metadata to the management database") + @action("syncfunctiontriggers") + syncFunctionTriggers is SiteOps.ActionSync< + Site, + void, + NoContentResponse, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Gets the quota usage information of an app (or deployment slot, if specified). + */ + @summary("Gets the quota usage information of an app (or deployment slot, if specified).") + @get + @action("usages") + @list + listUsages is SiteOps.ActionSync< + Site, + void, + ArmResponse, + Parameters = { + /** + * 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]'. + */ + @query("$filter") + $filter?: string; + }, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Creates the artifacts for web site, or a deployment slot. + */ + @summary("Creates the artifacts for web site, or a deployment slot.") + deployWorkflowArtifacts is SiteOps.ActionSync< + Site, + WorkflowArtifacts, + { + @body body: void; + }, + OptionalRequestBody = true, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Lists logic app's connections for web site, or a deployment slot. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation-response" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @summary("Lists logic app's connections for web site, or a deployment slot.") + listWorkflowsConnections is SiteOps.ActionSync< + Site, + void, + ArmResponse, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Regenerates the callback URL access key for request triggers. + */ + regenerateAccessKey is WorkflowRegenerateAccessKeyOps.ActionSync< + Site, + RegenerateActionParameter, + { + @body body: void; + }, + OverrideErrorType = ErrorResponse + >; + + /** + * Validates the workflow definition. + */ + validate is WorkflowRegenerateAccessKeyOps.ActionSync< + Site, + Workflow, + { + @body body: void; + }, + OverrideErrorType = ErrorResponse + >; +} + +@armResourceOperations +interface WebAppOps + extends Azure.ResourceManager.Legacy.LegacyOperations< + { + ...ApiVersionParameter, + ...SubscriptionIdParameter, + ...ResourceGroupParameter, + ...Azure.ResourceManager.Legacy.Provider, + + /** Name of the app. */ + @path + @segment("sites") + @key + name: string, + }, + { + /** Name of the deployment slot. By default, this API returns the production slot. */ + @path + @segment("slots") + @key + slot: string, + } + > {} + +alias ActionParameterSlotWebAppOps = Azure.ResourceManager.Legacy.RoutedOperations< + { + ...ApiVersionParameter; + ...SubscriptionIdParameter; + ...ResourceGroupParameter; + + /** Name of the app. */ + @path + @segment("sites") + @key + name: string; + }, + { + /** Name of the deployment slot. By default, this API returns the production slot. */ + @path + @segment("slots") + @key + slot: string; + }, + ResourceRoute = #{ + route: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.Web/sites/{name}/slots", + } +>; + +alias ActionParameterSiteWebAppOps = Azure.ResourceManager.Legacy.RoutedOperations< + { + ...ApiVersionParameter; + ...SubscriptionIdParameter; + ...ResourceGroupParameter; + + /** Name of the app. */ + @path + @segment("sites") + @key + name: string; + }, + {}, + ResourceRoute = #{ + route: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.Web/sites", + } +>; + +@armResourceOperations(#{ allowStaticRoutes: true }) +interface WebApps { + @summary("Gets an app's deployment slots.") + @doc("Description for Gets an app's deployment slots.") + listSlots is WebAppOps.List< + Site, + Response = ArmResponse, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Gets the details of a web, mobile, or API app. + */ + @summary("Gets the details of a web, mobile, or API app.") + getSlot is WebAppOps.Read< + Site, + Response = ArmResponse | ArmNotFoundResponse, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Creates a new web, mobile, or API app in an existing resource group, or updates an existing app. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-put-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + #suppress "@azure-tools/typespec-azure-resource-manager/no-response-body" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @summary("Creates a new web, mobile, or API app in an existing resource group, or updates an existing app.") + createOrUpdateSlot is WebAppOps.CreateOrUpdateAsync< + Site, + Response = ArmResourceUpdatedResponse | (ArmAcceptedLroResponse> & { + @bodyRoot + _: Site; + }), + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Creates a new web, mobile, or API app in an existing resource group, or updates an existing app. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/no-response-body" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + #suppress "@azure-tools/typespec-azure-resource-manager/lro-location-header" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @summary("Creates a new web, mobile, or API app in an existing resource group, or updates an existing app.") + @patch(#{ implicitOptionality: false }) + updateSlot is WebAppOps.CustomPatchSync< + Site, + PatchModel = SitePatchResource, + Response = ArmResponse | (AcceptedResponse & { + @bodyRoot + _: Site; + }), + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Deletes a web, mobile, or API app, or one of the deployment slots. + */ + @summary("Deletes a web, mobile, or API app, or one of the deployment slots.") + deleteSlot is WebAppOps.DeleteSync< + Site, + Parameters = { + /** + * If true, web app metrics are also deleted. + */ + @query("deleteMetrics") + deleteMetrics?: boolean; + + /** + * Specify false if you want to keep empty App Service plan. By default, empty App Service plan is deleted. + */ + @query("deleteEmptyServerFarm") + deleteEmptyServerFarm?: boolean; + }, + Response = { + @body body: void; + } | NoContentResponse | ArmNotFoundResponse, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Gets all web, mobile, and API apps in the specified resource group. + */ + @summary("Gets all web, mobile, and API apps in the specified resource group.") + listByResourceGroup is ArmResourceListByParent< + Site, + Parameters = { + /** + * Specify true to include deployment slots in results. The default is false, which only gives you the production slot of all apps. + */ + @query("includeSlots") + includeSlots?: boolean; + }, + Response = ArmResponse, + Error = DefaultErrorResponse + >; + + /** + * Description for Analyze a custom hostname. + */ + @summary("Analyze a custom hostname.") + @get + @action("analyzeCustomHostname") + analyzeCustomHostnameSlot is WebAppOps.ActionSync< + Site, + void, + ArmResponse, + Parameters = { + /** + * Custom hostname. + */ + @query("hostName") + hostName?: string; + }, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Applies the configuration settings from the target slot onto the current slot. + */ + @summary("Applies the configuration settings from the target slot onto the current slot.") + @action("applySlotConfig") + applySlotConfigurationSlot is WebAppOps.ActionSync< + Site, + CsmSlotEntity, + { + @body body: void; + }, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Creates a backup of an app. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation-response" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @summary("Creates a backup of an app.") + @action("backup") + backupSlot is WebAppOps.ActionSync< + Site, + BackupRequest, + ArmResponse, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Replaces the application settings of an app. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-put-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @summary("Replaces the application settings of an app.") + @put + @action("config/appsettings") + updateApplicationSettingsSlot is WebAppOps.ActionSync< + Site, + StringDictionary, + ArmResponse, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Gets the application settings of an app. + */ + @summary("Gets the application settings of an app.") + @action("config/appsettings/list") + listApplicationSettingsSlot is WebAppOps.ActionSync< + Site, + void, + ArmResponse, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Updates the Authentication / Authorization settings associated with web app. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-put-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @summary("Updates the Authentication / Authorization settings associated with web app.") + @put + @action("config/authsettings") + updateAuthSettingsSlot is WebAppOps.ActionSync< + Site, + SiteAuthSettings, + ArmResponse, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Gets the Authentication/Authorization settings of an app. + */ + @summary("Gets the Authentication/Authorization settings of an app.") + @action("config/authsettings/list") + getAuthSettingsSlot is WebAppOps.ActionSync< + Site, + void, + ArmResponse, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Updates the Azure storage account configurations of an app. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-put-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @summary("Updates the Azure storage account configurations of an app.") + @put + @action("config/azurestorageaccounts") + updateAzureStorageAccountsSlot is WebAppOps.ActionSync< + Site, + AzureStoragePropertyDictionaryResource, + ArmResponse, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Gets the Azure storage account configurations of an app. + */ + @summary("Gets the Azure storage account configurations of an app.") + @action("config/azurestorageaccounts/list") + listAzureStorageAccountsSlot is WebAppOps.ActionSync< + Site, + void, + ArmResponse, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Updates the backup configuration of an app. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-put-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @summary("Updates the backup configuration of an app.") + @put + @action("config/backup") + updateBackupConfigurationSlot is WebAppOps.ActionSync< + Site, + BackupRequest, + ArmResponse, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Deletes the backup configuration of an app. + */ + @summary("Deletes the backup configuration of an app.") + @delete + @action("config/backup") + deleteBackupConfigurationSlot is WebAppOps.ActionSync< + Site, + void, + { + @body body: void; + }, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Gets the backup configuration of an app. + */ + @summary("Gets the backup configuration of an app.") + @action("config/backup/list") + getBackupConfigurationSlot is WebAppOps.ActionSync< + Site, + void, + ArmResponse, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Replaces the connection strings of an app. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-put-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @summary("Replaces the connection strings of an app.") + @put + @action("config/connectionstrings") + updateConnectionStringsSlot is WebAppOps.ActionSync< + Site, + ConnectionStringDictionary, + ArmResponse, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Gets the connection strings of an app. + */ + @summary("Gets the connection strings of an app.") + @action("config/connectionstrings/list") + listConnectionStringsSlot is WebAppOps.ActionSync< + Site, + void, + ArmResponse, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Replaces the metadata of an app. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-put-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @summary("Replaces the metadata of an app.") + @put + @action("config/metadata") + updateMetadataSlot is WebAppOps.ActionSync< + Site, + StringDictionary, + ArmResponse, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Gets the metadata of an app. + */ + @summary("Gets the metadata of an app.") + @action("config/metadata/list") + listMetadataSlot is WebAppOps.ActionSync< + Site, + void, + ArmResponse, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Gets the Git/FTP publishing credentials of an app. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-post-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + #suppress "@azure-tools/typespec-azure-resource-manager/arm-post-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @summary("Gets the Git/FTP publishing credentials of an app.") + @action("config/publishingcredentials/list") + listPublishingCredentialsSlot is Azure.ResourceManager.ArmResourceActionAsyncBase< + Site, + void, + ArmResponse & ArmLroLocationHeader, + BaseParameters = Azure.ResourceManager.Foundations.DefaultBaseParameters, + Parameters = { + /** + * If true, the password is included in the response. The default is false. + */ + @segment("slots") + @path + slot: string; + }, + Error = DefaultErrorResponse + >; + + /** + * Description for Updates the Push settings associated with web app. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-put-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @summary("Updates the Push settings associated with web app.") + @put + @action("config/pushsettings") + updateSitePushSettingsSlot is WebAppOps.ActionSync< + Site, + PushSettings, + ArmResponse, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Gets the Push settings associated with web app. + */ + @summary("Gets the Push settings associated with web app.") + @action("config/pushsettings/list") + listSitePushSettingsSlot is WebAppOps.ActionSync< + Site, + void, + ArmResponse, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Gets the last lines of docker logs for the given site + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-post-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + #suppress "@azure-tools/typespec-azure-resource-manager/arm-put-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @summary("Gets the last lines of docker logs for the given site") + @action("containerlogs") + getWebSiteContainerLogsSlot is WebAppOps.ActionSync< + Site, + void, + { + @header("Content-Type") + contentType: "application/octet-stream"; + + @doc("Receipt body in COSE format") + @bodyRoot + body: bytes; + } | NoContentResponse, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Gets the ZIP archived docker log files for the given site + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-put-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + #suppress "@azure-tools/typespec-azure-resource-manager/arm-post-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @summary("Gets the ZIP archived docker log files for the given site") + @action("containerlogs/zip/download") + getContainerLogsZipSlot is WebAppOps.ActionSync< + Site, + void, + { + @header("Content-Type") + contentType: "application/zip"; + + @doc("Receipt body in COSE format") + @bodyRoot + body: bytes; + } | NoContentResponse, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Discovers an existing app backup that can be restored from a blob in Azure storage. Use this to get information about the databases stored in a backup. + */ + @summary("Discovers an existing app backup that can be restored from a blob in Azure storage. Use this to get information about the databases stored in a backup.") + @action("discoverbackup") + discoverBackupSlot is WebAppOps.ActionSync< + Site, + RestoreRequest, + ArmResponse, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Fetch a short lived token that can be exchanged for a master key. + */ + @summary("Fetch a short lived token that can be exchanged for a master key.") + @get + @action("functions/admin/token") + getFunctionsAdminTokenSlot is WebAppOps.ActionSync< + Site, + void, + ArmResponse, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Get host secrets for a function app. + */ + @summary("Get host secrets for a function app.") + @action("host/default/listkeys") + listHostKeysSlot is WebAppOps.ActionSync< + Site, + void, + ArmResponse, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for This is to allow calling via powershell and ARM template. + */ + @summary("This is to allow calling via powershell and ARM template.") + @action("host/default/listsyncstatus") + listSyncStatusSlot is WebAppOps.ActionSync< + Site, + void, + NoContentResponse, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Syncs function trigger metadata to the management database + */ + @summary("Syncs function trigger metadata to the management database") + @action("host/default/sync") + syncFunctionsSlot is WebAppOps.ActionSync< + Site, + void, + NoContentResponse, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Add or update a host level secret. + */ + @summary("Add or update a host level secret.") + @put + @route("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.Web/sites/{name}/slots/{slot}/host/default/{keyType}/{keyName}") + createOrUpdateHostSecretSlot is ActionParameterSlotWebAppOps.ActionSync< + Site, + KeyInfo, + Parameters = { + /** + * The type of host key. + */ + @path + keyType: string; + + /** + * The name of the key. + */ + @path + keyName: string; + }, + Response = ArmResponse | ArmResourceCreatedSyncResponse | DefaultErrorResponse, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Delete a host level secret. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/no-response-body" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @summary("Delete a host level secret.") + @delete + @route("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.Web/sites/{name}/slots/{slot}/host/default/{keyType}/{keyName}") + deleteHostSecretSlot is ActionParameterSlotWebAppOps.ActionSync< + Site, + void, + Parameters = { + /** + * The type of host key. + */ + @path + keyType: string; + + /** + * The name of the key. + */ + @path + keyName: string; + }, + Response = NoContentResponse | ArmNotFoundResponse, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Retrieves all Service Bus Hybrid Connections used by this Web App. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation-response" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @summary("Retrieves all Service Bus Hybrid Connections used by this Web App.") + @get + @action("hybridConnectionRelays") + listHybridConnectionsSlot is WebAppOps.ActionSync< + Site, + void, + ArmResponse, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Gets hybrid connections configured for an app (or deployment slot, if specified). + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation-response" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @summary("Gets hybrid connections configured for an app (or deployment slot, if specified).") + @get + @action("hybridconnection") + listRelayServiceConnectionsSlot is WebAppOps.ActionSync< + Site, + void, + ArmResponse, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Shows whether an app can be cloned to another resource group or subscription. + */ + @summary("Shows whether an app can be cloned to another resource group or subscription.") + @action("iscloneable") + isCloneableSlot is WebAppOps.ActionSync< + Site, + void, + ArmResponse, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Gets existing backups of an app. + */ + @summary("Gets existing backups of an app.") + @list + @action("listbackups") + listSiteBackupsSlot is WebAppOps.ActionSync< + Site, + void, + ArmResponse, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for This is to allow calling via powershell and ARM template. + */ + @summary("This is to allow calling via powershell and ARM template.") + @action("listsyncfunctiontriggerstatus") + listSyncFunctionTriggersSlot is WebAppOps.ActionSync< + Site, + void, + ArmResponse, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Gets a named operation for a network trace capturing (or deployment slot, if specified). + */ + #suppress "@azure-tools/typespec-azure-resource-manager/lro-location-header" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + #suppress "@azure-tools/typespec-azure-resource-manager/no-response-body" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @summary("Gets a named operation for a network trace capturing (or deployment slot, if specified).") + @get + @route("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.Web/sites/{name}/slots/{slot}/networkTrace/operationresults/{operationId}") + getNetworkTraceOperationSlot is ActionParameterSlotWebAppOps.ActionSync< + Site, + Request = void, + Response = ArmResponse | (AcceptedResponse & { + @identifiers(#[]) + @bodyRoot + _: NetworkTrace[]; + }), + Parameters = { + /** + * GUID of the operation. + */ + @path + operationId: string; + }, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Start capturing network packets for the site (To be deprecated). + */ + @summary("Start capturing network packets for the site (To be deprecated).") + @action("networkTrace/start") + startWebSiteNetworkTraceSlot is WebAppOps.ActionSync< + Site, + void, + ArmResponse, + Parameters = { + /** + * The duration to keep capturing in seconds. + */ + @query("durationInSeconds") + durationInSeconds?: int32; + + /** + * The maximum frame length in bytes (Optional). + */ + @query("maxFrameLength") + maxFrameLength?: int32; + + /** + * The Blob URL to store capture file. + */ + @query("sasUrl") + sasUrl?: string; + }, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Start capturing network packets for the site. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/no-response-body" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @summary("Start capturing network packets for the site.") + @action("networkTrace/startOperation") + startWebSiteNetworkTraceOperationSlot is WebAppOps.ActionSync< + Site, + void, + ArmResponse | (ArmAcceptedLroResponse & { + @bodyRoot + @identifiers(#[]) + _?: NetworkTrace[]; + }), + Parameters = { + /** + * The duration to keep capturing in seconds. + */ + @query("durationInSeconds") + durationInSeconds?: int32; + + /** + * The maximum frame length in bytes (Optional). + */ + @query("maxFrameLength") + maxFrameLength?: int32; + + /** + * The Blob URL to store capture file. + */ + @query("sasUrl") + sasUrl?: string; + }, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Stop ongoing capturing network packets for the site. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-post-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @summary("Stop ongoing capturing network packets for the site.") + @action("networkTrace/stop") + stopWebSiteNetworkTraceSlot is WebAppOps.ActionSync< + Site, + void, + { + @body body: void; + } | NoContentResponse, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Gets a named operation for a network trace capturing (or deployment slot, if specified). + */ + @summary("Gets a named operation for a network trace capturing (or deployment slot, if specified).") + @get + @route("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.Web/sites/{name}/slots/{slot}/networkTrace/{operationId}") + getNetworkTracesSlot is ActionParameterSlotWebAppOps.ActionSync< + Site, + Request = void, + Response = ArmResponse, + Parameters = { + /** GUID of the operation. */ + @path + operationId: string; + }, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Gets a named operation for a network trace capturing (or deployment slot, if specified). + */ + #suppress "@azure-tools/typespec-azure-resource-manager/lro-location-header" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + #suppress "@azure-tools/typespec-azure-resource-manager/no-response-body" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @summary("Gets a named operation for a network trace capturing (or deployment slot, if specified).") + @get + @route("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.Web/sites/{name}/slots/{slot}/networkTraces/current/operationresults/{operationId}") + getNetworkTraceOperationSlotV2 is ActionParameterSlotWebAppOps.ActionSync< + Site, + Request = void, + Response = ArmResponse | (AcceptedResponse & { + @identifiers(#[]) + @bodyRoot + _: NetworkTrace[]; + }), + Parameters = { + /** + * GUID of the operation. + */ + @path + operationId: string; + }, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Gets a named operation for a network trace capturing (or deployment slot, if specified). + */ + @summary("Gets a named operation for a network trace capturing (or deployment slot, if specified).") + @get + @route("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.Web/sites/{name}/slots/{slot}/networkTraces/{operationId}") + getNetworkTracesSlotV2 is ActionParameterSlotWebAppOps.ActionSync< + Site, + Request = void, + Response = ArmResponse, + Parameters = { + /** GUID of the operation. */ + @path + operationId: string; + }, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Generates a new publishing password for an app (or deployment slot, if specified). + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-post-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @summary("Generates a new publishing password for an app (or deployment slot, if specified).") + @action("newpassword") + generateNewSitePublishingPasswordSlot is WebAppOps.ActionSync< + Site, + void, + { + @body body: void; + } | NoContentResponse, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Gets perfmon counters for web app. + */ + @summary("Gets perfmon counters for web app.") + @get + @action("perfcounters") + @list + listPerfMonCountersSlot is WebAppOps.ActionSync< + Site, + void, + ArmResponse, + Parameters = { + /** + * 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]'. + */ + @query("$filter") + $filter?: string; + }, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Gets web app's event logs. + */ + @summary("Gets web app's event logs.") + @get + @action("phplogging") + getSitePhpErrorLogFlagSlot is WebAppOps.ActionSync< + Site, + void, + ArmResponse, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Gets the premier add-ons of an app. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation-response" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @summary("Gets the premier add-ons of an app.") + @get + @action("premieraddons") + listPremierAddOnsSlot is WebAppOps.ActionSync< + Site, + void, + ArmResponse, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Gets the private link resources + */ + @summary("Gets the private link resources") + @get + @action("privateLinkResources") + getPrivateLinkResourcesSlot is WebAppOps.ActionSync< + Site, + void, + ArmResponse, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Gets the publishing profile for an app (or deployment slot, if specified). + */ + @summary("Gets the publishing profile for an app (or deployment slot, if specified).") + @action("publishxml") + listPublishingProfileXmlWithSecretsSlot is WebAppOps.ActionSync< + Site, + CsmPublishingProfileOptions, + { + @header("Content-Type") + contentType: "application/xml"; + + @doc("Receipt body in COSE format") + @bodyRoot + body: bytes; + }, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Resets the configuration settings of the current slot if they were previously modified by calling the API with POST. + */ + @summary("Resets the configuration settings of the current slot if they were previously modified by calling the API with POST.") + @action("resetSlotConfig") + resetSlotConfigurationSlot is WebAppOps.ActionSync< + Site, + void, + { + @body body: void; + }, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Restarts an app (or deployment slot, if specified). + */ + @summary("Restarts an app (or deployment slot, if specified).") + @action("restart") + restartSlot is WebAppOps.ActionSync< + Site, + void, + { + @body body: void; + }, + Parameters = { + /** + * Specify true to apply the configuration settings and restarts the app only if necessary. By default, the API always restarts and reprovisions the app. + */ + @query("softRestart") + softRestart?: boolean; + + /** + * Specify true to block until the app is restarted. By default, it is set to false, and the API responds immediately (asynchronous). + */ + @query("synchronous") + synchronous?: boolean; + }, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Restores an app from a backup blob in Azure Storage. + */ + @summary("Restores an app from a backup blob in Azure Storage.") + @action("restoreFromBackupBlob") + restoreFromBackupBlobSlot is WebAppOps.ActionAsync< + Site, + RestoreRequest, + { + @body body: void; + }, + OverrideErrorType = DefaultErrorResponse, + LroHeaders = Azure.Core.Foundations.RetryAfterHeader & + ArmLroLocationHeader + >; + + /** + * Description for Restores a deleted web app to this web app. + */ + @summary("Restores a deleted web app to this web app.") + @action("restoreFromDeletedApp") + restoreFromDeletedAppSlot is WebAppOps.ActionAsync< + Site, + DeletedAppRestoreRequest, + { + @body body: void; + }, + OverrideErrorType = DefaultErrorResponse, + LroHeaders = Azure.Core.Foundations.RetryAfterHeader & + ArmLroLocationHeader + >; + + /** + * Description for Restores a web app from a snapshot. + */ + @summary("Restores a web app from a snapshot.") + @action("restoreSnapshot") + restoreSnapshotSlot is WebAppOps.ActionAsync< + Site, + SnapshotRestoreRequest, + { + @body body: void; + }, + OverrideErrorType = DefaultErrorResponse, + LroHeaders = Azure.Core.Foundations.RetryAfterHeader & + ArmLroLocationHeader + >; + + /** + * Description for Get the difference in configuration settings between two web app slots. + */ + @summary("Get the difference in configuration settings between two web app slots.") + @action("slotsdiffs") + @list + listSlotDifferencesSlot is WebAppOps.ActionSync< + Site, + CsmSlotEntity, + ArmResponse, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Swaps two deployment slots of an app. + */ + @summary("Swaps two deployment slots of an app.") + @action("slotsswap") + swapSlotSlot is WebAppOps.ActionAsync< + Site, + CsmSlotEntity, + { + @body body: void; + }, + OverrideErrorType = DefaultErrorResponse, + LroHeaders = Azure.Core.Foundations.RetryAfterHeader & + ArmLroLocationHeader + >; + + /** + * Description for Returns all Snapshots to the user. + */ + @summary("Returns all Snapshots to the user.") + @get + @action("snapshots") + @list + listSnapshotsSlot is WebAppOps.ActionSync< + Site, + void, + ArmResponse, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Returns all Snapshots to the user from DRSecondary endpoint. + */ + #suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @summary("Returns all Snapshots to the user from DRSecondary endpoint.") + @get + @list + @action("snapshotsdr") + listSnapshotsFromDRSecondarySlot is WebAppOps.ActionSync< + Site, + void, + ArmResponse, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Starts an app (or deployment slot, if specified). + */ + @summary("Starts an app (or deployment slot, if specified).") + @action("start") + startSlot is WebAppOps.ActionSync< + Site, + void, + { + @body body: void; + }, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Start capturing network packets for the site. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/no-response-body" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @summary("Start capturing network packets for the site.") + @action("startNetworkTrace") + startNetworkTraceSlot is WebAppOps.ActionSync< + Site, + void, + ArmResponse | (ArmAcceptedLroResponse & { + @bodyRoot + @identifiers(#[]) + _?: NetworkTrace[]; + }), + Parameters = { + /** + * The duration to keep capturing in seconds. + */ + @query("durationInSeconds") + durationInSeconds?: int32; + + /** + * The maximum frame length in bytes (Optional). + */ + @query("maxFrameLength") + maxFrameLength?: int32; + + /** + * The Blob URL to store capture file. + */ + @query("sasUrl") + sasUrl?: string; + }, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Stops an app (or deployment slot, if specified). + */ + @summary("Stops an app (or deployment slot, if specified).") + @action("stop") + stopSlot is WebAppOps.ActionSync< + Site, + void, + { + @body body: void; + }, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Stop ongoing capturing network packets for the site. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-post-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @summary("Stop ongoing capturing network packets for the site.") + @action("stopNetworkTrace") + stopNetworkTraceSlot is WebAppOps.ActionSync< + Site, + void, + { + @body body: void; + } | NoContentResponse, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Sync web app repository. + */ + @summary("Sync web app repository.") + @action("sync") + syncRepositorySlot is WebAppOps.ActionSync< + Site, + void, + { + @body body: void; + }, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Syncs function trigger metadata to the management database + */ + @summary("Syncs function trigger metadata to the management database") + @action("syncfunctiontriggers") + syncFunctionTriggersSlot is WebAppOps.ActionSync< + Site, + void, + NoContentResponse, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Gets the quota usage information of an app (or deployment slot, if specified). + */ + @summary("Gets the quota usage information of an app (or deployment slot, if specified).") + @get + @action("usages") + @list + listUsagesSlot is WebAppOps.ActionSync< + Site, + void, + ArmResponse, + Parameters = { + /** + * 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]'. + */ + @query("$filter") + $filter?: string; + }, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Creates the artifacts for web site, or a deployment slot. + */ + @summary("Creates the artifacts for web site, or a deployment slot.") + @action("deployWorkflowArtifacts") + deployWorkflowArtifactsSlot is WebAppOps.ActionSync< + Site, + WorkflowArtifacts, + { + @body body: void; + }, + OptionalRequestBody = true, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Lists logic app's connections for web site, or a deployment slot. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation-response" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @summary("Lists logic app's connections for web site, or a deployment slot.") + @action("listWorkflowsConnections") + listWorkflowsConnectionsSlot is WebAppOps.ActionSync< + Site, + void, + ArmResponse, + OverrideErrorType = DefaultErrorResponse + >; +} + +@@doc(Site.name, "Name of the app."); +@@doc(Site.properties, "Site resource specific properties"); +@@doc(Sites.createOrUpdate::parameters.resource, + "A JSON representation of the app properties. See example." +); +@@doc(Sites.update::parameters.properties, + "A JSON representation of the app properties. See example." +); +@@doc(Sites.applySlotConfigToProduction::parameters.body, + "JSON object that contains the target slot name. See example." +); +@@doc(Sites.backup::parameters.body, + "Backup configuration. You can use the JSON response from the POST action as input here." +); +@@doc(Sites.updateApplicationSettings::parameters.body, + "Application settings of the app." +); +@@doc(Sites.updateAuthSettings::parameters.body, + "Auth settings associated with web app." +); +@@doc(Sites.updateAzureStorageAccounts::parameters.body, + "Azure storage accounts of the app." +); +@@doc(Sites.updateBackupConfiguration::parameters.body, + "Edited backup configuration." +); +@@doc(Sites.updateConnectionStrings::parameters.body, + "Connection strings of the app or deployment slot. See example." +); +@@doc(Sites.updateMetadata::parameters.body, + "Edited metadata of the app or deployment slot. See example." +); +@@doc(Sites.updateSitePushSettings::parameters.body, + "Push settings associated with web app." +); +@@doc(Sites.discoverBackup::parameters.body, + "A RestoreRequest object that includes Azure storage URL and blog name for discovery of backup." +); +@@doc(Sites.createOrUpdateHostSecret::parameters.body, + "The key to create or update" +); +@@doc(Sites.migrateStorage::parameters.body, "Migration migrationOptions."); +@@doc(Sites.migrateMySql::parameters.body, "MySql migration options."); +@@doc(Sites.listPublishingProfileXmlWithSecrets::parameters.body, + "Specifies publishingProfileOptions for publishing profile. For example, use {\" format\": \"FileZilla3\"} to get a FileZilla publishing profile." +); +@@doc(Sites.restoreFromBackupBlob::parameters.body, + "Information on restore request ." +); +@@doc(Sites.restoreFromDeletedApp::parameters.body, + "Deleted web app restore information." +); +@@doc(Sites.restoreSnapshot::parameters.body, + "Snapshot restore settings. Snapshot information can be obtained by calling GetDeletedSites or GetSiteSnapshots API." +); +@@doc(Sites.listSlotDifferencesFromProduction::parameters.body, + "JSON object that contains the target slot name. See example." +); +@@doc(Sites.swapSlotWithProduction::parameters.body, + "JSON object that contains the target slot name. See example." +); +@@doc(Sites.deployWorkflowArtifacts::parameters.body, + "Application settings and files of the workflow." +); +@@doc(Sites.regenerateAccessKey::parameters.body, "The access key type."); +@@doc(Sites.validate::parameters.body, "The workflow."); +@@doc(WebApps.createOrUpdateSlot::parameters.resource, + "A JSON representation of the app properties. See example." +); +@@doc(WebApps.updateSlot::parameters.properties, + "A JSON representation of the app properties. See example." +); +@@doc(WebApps.applySlotConfigurationSlot::parameters.body, + "JSON object that contains the target slot name. See example." +); +@@doc(WebApps.backupSlot::parameters.body, + "Backup configuration. You can use the JSON response from the POST action as input here." +); +@@doc(WebApps.updateApplicationSettingsSlot::parameters.body, + "Application settings of the app." +); +@@doc(WebApps.updateAuthSettingsSlot::parameters.body, + "Auth settings associated with web app." +); +@@doc(WebApps.updateAzureStorageAccountsSlot::parameters.body, + "Azure storage accounts of the app." +); +@@doc(WebApps.updateBackupConfigurationSlot::parameters.body, + "Edited backup configuration." +); +@@doc(WebApps.updateConnectionStringsSlot::parameters.body, + "Connection strings of the app or deployment slot. See example." +); +@@doc(WebApps.updateMetadataSlot::parameters.body, + "Edited metadata of the app or deployment slot. See example." +); +@@doc(WebApps.updateSitePushSettingsSlot::parameters.body, + "Push settings associated with web app." +); +@@doc(WebApps.discoverBackupSlot::parameters.body, + "A RestoreRequest object that includes Azure storage URL and blog name for discovery of backup." +); +@@doc(WebApps.createOrUpdateHostSecretSlot::parameters.body, + "The key to create or update" +); +@@doc(WebApps.listPublishingProfileXmlWithSecretsSlot::parameters.body, + "Specifies publishingProfileOptions for publishing profile. For example, use {\" format\": \"FileZilla3\"} to get a FileZilla publishing profile." +); +@@doc(WebApps.restoreFromBackupBlobSlot::parameters.body, + "Information on restore request ." +); +@@doc(WebApps.restoreFromDeletedAppSlot::parameters.body, + "Deleted web app restore information." +); +@@doc(WebApps.restoreSnapshotSlot::parameters.body, + "Snapshot restore settings. Snapshot information can be obtained by calling GetDeletedSites or GetSiteSnapshots API." +); +@@doc(WebApps.listSlotDifferencesSlot::parameters.body, + "JSON object that contains the target slot name. See example." +); +@@doc(WebApps.swapSlotSlot::parameters.body, + "JSON object that contains the target slot name. See example." +); +@@doc(WebApps.deployWorkflowArtifactsSlot::parameters.body, + "Application settings and files of the workflow." +); diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/SiteAuthSettingsV2.tsp b/specification/web/resource-manager/Microsoft.Web/AppService/SiteAuthSettingsV2.tsp new file mode 100644 index 000000000000..65181f73c694 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/SiteAuthSettingsV2.tsp @@ -0,0 +1,168 @@ +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "@typespec/openapi"; +import "@typespec/rest"; +import "./models.tsp"; +import "./Site.tsp"; + +using TypeSpec.Rest; +using Azure.ResourceManager; +using TypeSpec.Http; +using TypeSpec.OpenAPI; + +namespace Microsoft.Web; +/** + * Configuration settings for the Azure App Service Authentication / Authorization V2 feature. + */ +@singleton("authsettingsV2") +@parentResource(Site) +model SiteAuthSettingsV2 + is Azure.ResourceManager.ProxyResource { + ...ResourceNameParameter< + Resource = SiteAuthSettingsV2, + KeyName = "config", + SegmentName = "config", + NamePattern = "" + >; + + /** Kind of resource. If the resource is an app, you can refer to https://github.com/Azure/app-service-linux-docs/blob/master/Things_You_Should_Know/kind_property.md#app-service-resource-kind-reference for details supported values for kind. */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + kind?: string; +} + +@armResourceOperations +interface SiteAuthSettingsV2Ops + extends Azure.ResourceManager.Legacy.LegacyOperations< + { + ...ApiVersionParameter, + ...SubscriptionIdParameter, + ...ResourceGroupParameter, + ...Azure.ResourceManager.Legacy.Provider, + + /** Name of the app. */ + @path + @segment("sites") + @key + name: string, + }, + { + /** undefined */ + @path + @segment("config") + @key + authsettingsV2: "authsettingsV2", + } + > {} + +@armResourceOperations +interface SiteAuthSettingsV2s { + /** + * Description for Gets site's Authentication / Authorization settings for apps via the V2 format + */ + @summary("Gets site's Authentication / Authorization settings for apps via the V2 format") + getAuthSettingsV2WithoutSecrets is SiteAuthSettingsV2Ops.Read< + SiteAuthSettingsV2, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Updates site's Authentication / Authorization settings for apps via the V2 format + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-put-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @summary("Updates site's Authentication / Authorization settings for apps via the V2 format") + updateAuthSettingsV2 is SiteAuthSettingsV2Ops.CreateOrUpdateSync< + SiteAuthSettingsV2, + Response = ArmResourceUpdatedResponse, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Gets site's Authentication / Authorization settings for apps via the V2 format + */ + @summary("Gets site's Authentication / Authorization settings for apps via the V2 format") + @get + @action("list") + getAuthSettingsV2 is SiteAuthSettingsV2Ops.ActionSync< + SiteAuthSettingsV2, + void, + ArmResponse, + OverrideErrorType = DefaultErrorResponse + >; +} +@armResourceOperations +interface SiteAuthSettingsV2OperationGroupOps + extends Azure.ResourceManager.Legacy.LegacyOperations< + { + ...ApiVersionParameter, + ...SubscriptionIdParameter, + ...ResourceGroupParameter, + ...Azure.ResourceManager.Legacy.Provider, + + /** Name of the app. */ + @path + @segment("sites") + @key + name: string, + + /** Name of the deployment slot. If a slot is not specified, the API will get the settings for the production slot. */ + @path + @segment("slots") + @key + slot: string, + }, + { + /** undefined */ + @path + @segment("config") + @key + authsettingsV2: "authsettingsV2", + } + > {} + +#suppress "@azure-tools/typespec-azure-resource-manager/no-resource-delete-operation" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@armResourceOperations +interface SiteAuthSettingsV2OperationGroup { + /** + * Gets site's Authentication / Authorization settings for apps via the V2 format + */ + @summary("Gets site's Authentication / Authorization settings for apps via the V2 format") + getAuthSettingsV2WithoutSecretsSlot is SiteAuthSettingsV2OperationGroupOps.Read< + SiteAuthSettingsV2, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Updates site's Authentication / Authorization settings for apps via the V2 format + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-put-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @summary("Updates site's Authentication / Authorization settings for apps via the V2 format") + updateAuthSettingsV2Slot is SiteAuthSettingsV2OperationGroupOps.CreateOrUpdateSync< + SiteAuthSettingsV2, + Response = ArmResourceUpdatedResponse, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Gets site's Authentication / Authorization settings for apps via the V2 format + */ + @summary("Gets site's Authentication / Authorization settings for apps via the V2 format") + @get + @action("list") + getAuthSettingsV2Slot is SiteAuthSettingsV2OperationGroupOps.ActionSync< + SiteAuthSettingsV2, + void, + ArmResponse, + OverrideErrorType = DefaultErrorResponse + >; +} + +@@doc(SiteAuthSettingsV2.name, ""); +@@doc(SiteAuthSettingsV2.properties, + "SiteAuthSettingsV2 resource specific properties" +); +@@doc(SiteAuthSettingsV2s.updateAuthSettingsV2::parameters.resource, + "Auth settings associated with web app." +); +@@doc(SiteAuthSettingsV2OperationGroup.updateAuthSettingsV2Slot::parameters.resource, + "Auth settings associated with web app." +); diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/SiteConfigResource.tsp b/specification/web/resource-manager/Microsoft.Web/AppService/SiteConfigResource.tsp new file mode 100644 index 000000000000..15e6ddc4377f --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/SiteConfigResource.tsp @@ -0,0 +1,383 @@ +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "@typespec/openapi"; +import "@typespec/rest"; +import "./models.tsp"; +import "./Site.tsp"; + +using TypeSpec.Rest; +using Azure.ResourceManager; +using TypeSpec.Http; +using TypeSpec.OpenAPI; + +namespace Microsoft.Web; +/** + * Web app configuration ARM resource. + */ +@singleton("web") +@parentResource(Site) +model SiteConfigResource is Azure.ResourceManager.ProxyResource { + ...ResourceNameParameter< + Resource = SiteConfigResource, + KeyName = "config", + SegmentName = "config", + NamePattern = "" + >; + + /** Kind of resource. If the resource is an app, you can refer to https://github.com/Azure/app-service-linux-docs/blob/master/Things_You_Should_Know/kind_property.md#app-service-resource-kind-reference for details supported values for kind. */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + kind?: string; +} + +@armResourceOperations +interface SiteConfigResourceOps + extends Azure.ResourceManager.Legacy.LegacyOperations< + { + ...ApiVersionParameter, + ...SubscriptionIdParameter, + ...ResourceGroupParameter, + ...Azure.ResourceManager.Legacy.Provider, + + /** Name of the app. */ + @path + @segment("sites") + @key + name: string, + }, + { + /** undefined */ + @path + @segment("config") + @key + web: "web", + } + > {} + +@armResourceOperations +interface SiteConfigResources { + /** + * Description for Gets the configuration of an app, such as platform version and bitness, default documents, virtual applications, Always On, etc. + */ + @summary("Gets the configuration of an app, such as platform version and bitness, default documents, virtual applications, Always On, etc.") + getConfiguration is SiteConfigResourceOps.Read< + SiteConfigResource, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Updates the configuration of an app. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-put-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @summary("Updates the configuration of an app.") + @summary("Updates the configuration of an app.") + createOrUpdateConfiguration is SiteConfigResourceOps.CreateOrUpdateSync< + SiteConfigResource, + Response = ArmResourceUpdatedResponse, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Updates the configuration of an app. + */ + @summary("Updates the configuration of an app.") + @patch(#{ implicitOptionality: false }) + updateConfiguration is SiteConfigResourceOps.CustomPatchSync< + SiteConfigResource, + PatchModel = SiteConfigResource, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Gets a list of web app configuration snapshots identifiers. Each element of the list contains a timestamp and the ID of the snapshot. + */ + @summary("Gets a list of web app configuration snapshots identifiers. Each element of the list contains a timestamp and the ID of the snapshot.") + @get + @action("snapshots") + @list + listConfigurationSnapshotInfo is ArmResourceActionSync< + SiteConfigResource, + void, + ArmResponse, + Error = DefaultErrorResponse + >; +} +@armResourceOperations +interface SiteConfigResourceOperationGroupOps + extends Azure.ResourceManager.Legacy.LegacyOperations< + { + ...ApiVersionParameter, + ...SubscriptionIdParameter, + ...ResourceGroupParameter, + ...Azure.ResourceManager.Legacy.Provider, + + /** Name of the app. */ + @path + @segment("sites") + @key + name: string, + + /** undefined */ + @path + @segment("config") + @key + web: "web", + }, + { + /** The ID of the snapshot to read. */ + @path + @segment("snapshots") + @key + snapshotId: string, + } + > {} + +@armResourceOperations +interface ListConfigurationsOps + extends Azure.ResourceManager.Legacy.LegacyOperations< + { + ...ApiVersionParameter, + ...SubscriptionIdParameter, + ...ResourceGroupParameter, + ...Azure.ResourceManager.Legacy.Provider, + + /** Name of the app. */ + @path + @segment("sites") + @key + name: string, + }, + { + /** undefined */ + @path + @segment("config") + @key + web: "web", + } + > {} + +@armResourceOperations +interface SiteConfigResourceOperationGroup { + /** + * Description for Gets a snapshot of the configuration of an app at a previous point in time. + */ + @summary("Gets a snapshot of the configuration of an app at a previous point in time.") + getConfigurationSnapshot is SiteConfigResourceOperationGroupOps.Read< + SiteConfigResource, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for List the configurations of an app + */ + @summary("List the configurations of an app") + listConfigurations is ListConfigurationsOps.List< + SiteConfigResource, + Response = ArmResponse, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Reverts the configuration of an app to a previous snapshot. + */ + @summary("Reverts the configuration of an app to a previous snapshot.") + @action("recover") + recoverSiteConfigurationSnapshot is SiteConfigResourceOperationGroupOps.ActionSync< + SiteConfigResource, + void, + NoContentResponse, + OverrideErrorType = DefaultErrorResponse + >; +} +@armResourceOperations +interface SiteConfigSlotResourceOperationGroupOps + extends Azure.ResourceManager.Legacy.LegacyOperations< + { + ...ApiVersionParameter, + ...SubscriptionIdParameter, + ...ResourceGroupParameter, + ...Azure.ResourceManager.Legacy.Provider, + + /** Name of the app. */ + @path + @segment("sites") + @key + name: string, + + /** Name of the deployment slot. If a slot is not specified, the API will return configuration for the production slot. */ + @path + @segment("slots") + @key + slot: string, + }, + { + /** undefined */ + @path + @segment("config") + @key + web: "web", + } + > {} + +@armResourceOperations +interface SiteConfigSlotResourceOperationGroup { + /** + * Description for Gets the configuration of an app, such as platform version and bitness, default documents, virtual applications, Always On, etc. + */ + @summary("Gets the configuration of an app, such as platform version and bitness, default documents, virtual applications, Always On, etc.") + getConfigurationSlot is SiteConfigSlotResourceOperationGroupOps.Read< + SiteConfigResource, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Updates the configuration of an app. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-put-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @summary("Updates the configuration of an app.") + createOrUpdateConfigurationSlot is SiteConfigSlotResourceOperationGroupOps.CreateOrUpdateSync< + SiteConfigResource, + Response = ArmResourceUpdatedResponse, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Updates the configuration of an app. + */ + @summary("Updates the configuration of an app.") + @patch(#{ implicitOptionality: false }) + updateConfigurationSlot is SiteConfigSlotResourceOperationGroupOps.CustomPatchSync< + SiteConfigResource, + PatchModel = SiteConfigResource, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Gets a list of web app configuration snapshots identifiers. Each element of the list contains a timestamp and the ID of the snapshot. + */ + @summary("Gets a list of web app configuration snapshots identifiers. Each element of the list contains a timestamp and the ID of the snapshot.") + @get + @action("snapshots") + @list + listConfigurationSnapshotInfoSlot is SiteConfigSlotResourceOperationGroupOps.ActionSync< + SiteConfigResource, + void, + ArmResponse, + OverrideErrorType = DefaultErrorResponse + >; +} + +@armResourceOperations +interface SiteConfigResourceSnapshotSlotOperationGroupOps + extends Azure.ResourceManager.Legacy.LegacyOperations< + { + ...ApiVersionParameter, + ...SubscriptionIdParameter, + ...ResourceGroupParameter, + ...Azure.ResourceManager.Legacy.Provider, + + /** Name of the app. */ + @path + @segment("sites") + @key + name: string, + + /** Name of the deployment slot. If a slot is not specified, the API will return configuration for the production slot. */ + @path + @segment("slots") + @key + slot: string, + + /** undefined */ + @path + @segment("config") + @key + web: "web", + }, + { + /** The ID of the snapshot to read. */ + @path + @segment("snapshots") + @key + snapshotId: string, + } + > {} + +@armResourceOperations +interface ListConfigurationsSlotOps + extends Azure.ResourceManager.Legacy.LegacyOperations< + { + ...ApiVersionParameter, + ...SubscriptionIdParameter, + ...ResourceGroupParameter, + ...Azure.ResourceManager.Legacy.Provider, + + /** Name of the app. */ + @path + @segment("sites") + @key + name: string, + + /** Name of the deployment slot. If a slot is not specified, the API will return configuration for the production slot. */ + @path + @segment("slots") + @key + slot: string, + }, + { + /** undefined */ + @path + @segment("config") + @key + web: "web", + } + > {} + +#suppress "@azure-tools/typespec-azure-resource-manager/no-resource-delete-operation" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@armResourceOperations +interface SiteConfigSnapshotSlotResourceOperationGroup { + /** + * Description for Gets a snapshot of the configuration of an app at a previous point in time. + */ + @summary("Gets a snapshot of the configuration of an app at a previous point in time.") + getConfigurationSnapshotSlot is SiteConfigResourceSnapshotSlotOperationGroupOps.Read< + SiteConfigResource, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for List the configurations of an app + */ + @summary("List the configurations of an app") + listConfigurationsSlot is ListConfigurationsSlotOps.List< + SiteConfigResource, + Response = ArmResponse, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Reverts the configuration of an app to a previous snapshot. + */ + @summary("Reverts the configuration of an app to a previous snapshot.") + @action("recover") + recoverSiteConfigurationSnapshotSlot is SiteConfigResourceSnapshotSlotOperationGroupOps.ActionSync< + SiteConfigResource, + void, + NoContentResponse, + OverrideErrorType = DefaultErrorResponse + >; +} + +@@doc(SiteConfigResource.name, ""); +@@doc(SiteConfigResource.properties, "Core resource properties"); +@@doc(SiteConfigResources.createOrUpdateConfiguration::parameters.resource, + "JSON representation of a SiteConfig object. See example." +); +@@doc(SiteConfigResources.updateConfiguration::parameters.properties, + "JSON representation of a SiteConfig object. See example." +); +@@doc(SiteConfigSlotResourceOperationGroup.createOrUpdateConfigurationSlot::parameters.resource, + "JSON representation of a SiteConfig object. See example." +); +@@doc(SiteConfigSlotResourceOperationGroup.updateConfigurationSlot::parameters.properties, + "JSON representation of a SiteConfig object. See example." +); diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/SiteContainer.tsp b/specification/web/resource-manager/Microsoft.Web/AppService/SiteContainer.tsp new file mode 100644 index 000000000000..565b7b2361f6 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/SiteContainer.tsp @@ -0,0 +1,176 @@ +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "@typespec/openapi"; +import "@typespec/rest"; +import "./models.tsp"; +import "./Site.tsp"; + +using TypeSpec.Rest; +using Azure.ResourceManager; +using TypeSpec.Http; +using TypeSpec.OpenAPI; + +namespace Microsoft.Web; +/** + * Container of a site + */ +@parentResource(Site) +model SiteContainer + is Azure.ResourceManager.ProxyResource { + ...ResourceNameParameter< + Resource = SiteContainer, + KeyName = "containerName", + SegmentName = "sitecontainers", + NamePattern = "(^[a-zA-Z0-9]$)|(^[a-zA-Z0-9][a-zA-Z0-9-]*[a-zA-Z0-9]$)" + >; + + /** + * Kind of resource. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + kind?: string; +} + +@armResourceOperations +interface SiteContainerOps + extends Azure.ResourceManager.Legacy.LegacyOperations< + { + ...ApiVersionParameter, + ...SubscriptionIdParameter, + ...ResourceGroupParameter, + ...Azure.ResourceManager.Legacy.Provider, + + /** Name of the app. */ + @path + @segment("sites") + @key + name: string, + }, + { + /** Site Container Name */ + @path + @segment("sitecontainers") + @key + @pattern("(^[a-zA-Z0-9]$)|(^[a-zA-Z0-9][a-zA-Z0-9-]*[a-zA-Z0-9]$)") + containerName: string, + } + > {} + +@armResourceOperations +interface SiteContainers { + /** + * Gets a site container of a site, or a deployment slot. + */ + @summary("Gets a site container of a site, or a deployment slot.") + getSiteContainer is SiteContainerOps.Read< + SiteContainer, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Creates or Updates a site container for a site, or a deployment slot. + */ + @summary("Creates or Updates a site container for a site, or a deployment slot.") + createOrUpdateSiteContainer is SiteContainerOps.CreateOrUpdateSync< + SiteContainer, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Deletes a site container for a site, or a deployment slot. + */ + @summary("Deletes a site container for a site, or a deployment slot.") + deleteSiteContainer is SiteContainerOps.DeleteSync< + SiteContainer, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Lists all the site containers of a site, or a deployment slot. + */ + @summary("Lists all the site containers of a site, or a deployment slot.") + listSiteContainers is SiteContainerOps.List< + SiteContainer, + Response = ArmResponse, + OverrideErrorType = DefaultErrorResponse + >; +} +@armResourceOperations +interface SiteContainerOperationGroupOps + extends Azure.ResourceManager.Legacy.LegacyOperations< + { + ...ApiVersionParameter, + ...SubscriptionIdParameter, + ...ResourceGroupParameter, + ...Azure.ResourceManager.Legacy.Provider, + + /** Name of the app. */ + @path + @segment("sites") + @key + name: string, + + /** Name of the deployment slot. If a slot is not specified, the API will get the Site Container for the production slot. */ + @path + @segment("slots") + @key + slot: string, + }, + { + /** Site Container Name */ + @path + @segment("sitecontainers") + @key + @pattern("(^[a-zA-Z0-9]$)|(^[a-zA-Z0-9][a-zA-Z0-9-]*[a-zA-Z0-9]$)") + containerName: string, + } + > {} + +@armResourceOperations +interface SiteContainerOperationGroup { + /** + * Gets a site container of a site, or a deployment slot. + */ + @summary("Gets a site container of a site, or a deployment slot.") + getSiteContainerSlot is SiteContainerOperationGroupOps.Read< + SiteContainer, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Creates or Updates a site container for a site, or a deployment slot. + */ + @summary("Creates or Updates a site container for a site, or a deployment slot.") + createOrUpdateSiteContainerSlot is SiteContainerOperationGroupOps.CreateOrUpdateSync< + SiteContainer, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Deletes a site container for a site, or a deployment slot. + */ + @summary("Deletes a site container for a site, or a deployment slot.") + deleteSiteContainerSlot is SiteContainerOperationGroupOps.DeleteSync< + SiteContainer, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Lists all the site containers of a site, or a deployment slot. + */ + @summary("Lists all the site containers of a site, or a deployment slot.") + listSiteContainersSlot is SiteContainerOperationGroupOps.List< + SiteContainer, + Response = ArmResponse, + OverrideErrorType = DefaultErrorResponse + >; +} + +@@doc(SiteContainer.name, "Site Container Name"); +@@doc(SiteContainer.properties, "SiteContainer resource specific properties"); +@@doc(SiteContainers.createOrUpdateSiteContainer::parameters.resource, + "Container Entity" +); +@@doc(SiteContainerOperationGroup.createOrUpdateSiteContainerSlot::parameters.resource, + "Container Entity" +); diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/SiteExtensionInfo.tsp b/specification/web/resource-manager/Microsoft.Web/AppService/SiteExtensionInfo.tsp new file mode 100644 index 000000000000..f29323d95c50 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/SiteExtensionInfo.tsp @@ -0,0 +1,196 @@ +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "@typespec/openapi"; +import "@typespec/rest"; +import "./models.tsp"; +import "./Site.tsp"; + +using TypeSpec.Rest; +using Azure.ResourceManager; +using TypeSpec.Http; +using TypeSpec.OpenAPI; + +namespace Microsoft.Web; +/** + * Site Extension Information. + */ +@parentResource(Site) +model SiteExtensionInfo + is Azure.ResourceManager.ProxyResource { + ...ResourceNameParameter< + Resource = SiteExtensionInfo, + KeyName = "siteExtensionId", + SegmentName = "siteextensions", + NamePattern = "" + >; + + /** + * Kind of resource. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + kind?: string; +} + +@armResourceOperations +interface SiteExtensionInfoOps + extends Azure.ResourceManager.Legacy.LegacyOperations< + { + ...ApiVersionParameter, + ...SubscriptionIdParameter, + ...ResourceGroupParameter, + ...Azure.ResourceManager.Legacy.Provider, + + /** Site name. */ + @path + @segment("sites") + @key + name: string, + }, + { + /** Site extension name. */ + @path + @segment("siteextensions") + @key + siteExtensionId: string, + } + > {} + +@armResourceOperations +interface SiteExtensionInfos { + /** + * Description for Get site extension information by its ID for a web site, or a deployment slot. + */ + @summary("Get site extension information by its ID for a web site, or a deployment slot.") + getSiteExtension is SiteExtensionInfoOps.Read< + SiteExtensionInfo, + Response = ArmResponse | ArmNotFoundResponse, + OverrideErrorType = DefaultErrorResponse + >; + + // FIXME: (ArmResourceCreateOrReplace): ArmResourceCreateOrReplaceAsync/ArmResourceCreateOrReplaceSync should have a body parameter. + /** + * Description for Install site extension on a web site, or a deployment slot. + */ + @summary("Install site extension on a web site, or a deployment slot.") + installSiteExtension is SiteExtensionInfoOps.CreateOrUpdateAsync< + SiteExtensionInfo, + LroHeaders = ArmLroLocationHeader & + Azure.Core.Foundations.RetryAfterHeader, + Request = void, + Response = ArmResponse | ArmResourceCreatedResponse< + SiteExtensionInfo, + LroHeaders = ArmLroLocationHeader & + Azure.Core.Foundations.RetryAfterHeader + > | ArmTooManyRequestsResponse, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Remove a site extension from a web site, or a deployment slot. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/no-response-body" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @summary("Remove a site extension from a web site, or a deployment slot.") + deleteSiteExtension is SiteExtensionInfoOps.DeleteSync< + SiteExtensionInfo, + Response = ArmDeletedNoContentResponse | ArmNotFoundResponse, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Get list of siteextensions for a web site, or a deployment slot. + */ + @summary("Get list of siteextensions for a web site, or a deployment slot.") + listSiteExtensions is SiteExtensionInfoOps.List< + SiteExtensionInfo, + Response = ArmResponse | ArmNotFoundResponse, + OverrideErrorType = DefaultErrorResponse + >; +} +@armResourceOperations +interface SiteExtensionInfoOperationGroupOps + extends Azure.ResourceManager.Legacy.LegacyOperations< + { + ...ApiVersionParameter, + ...SubscriptionIdParameter, + ...ResourceGroupParameter, + ...Azure.ResourceManager.Legacy.Provider, + + /** Site name. */ + @path + @segment("sites") + @key + name: string, + + /** Name of the deployment slot. If a slot is not specified, the API uses the production slot. */ + @path + @segment("slots") + @key + slot: string, + }, + { + /** Site extension name. */ + @path + @segment("siteextensions") + @key + siteExtensionId: string, + } + > {} + +@armResourceOperations +interface SiteExtensionInfoOperationGroup { + /** + * Description for Get site extension information by its ID for a web site, or a deployment slot. + */ + @summary("Get site extension information by its ID for a web site, or a deployment slot.") + getSiteExtensionSlot is SiteExtensionInfoOperationGroupOps.Read< + SiteExtensionInfo, + Response = ArmResponse | ArmNotFoundResponse, + OverrideErrorType = DefaultErrorResponse + >; + + // FIXME: (ArmResourceCreateOrReplace): ArmResourceCreateOrReplaceAsync/ArmResourceCreateOrReplaceSync should have a body parameter. + /** + * Description for Install site extension on a web site, or a deployment slot. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-put-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @summary("Install site extension on a web site, or a deployment slot.") + installSiteExtensionSlot is SiteExtensionInfoOperationGroupOps.CreateOrUpdateAsync< + SiteExtensionInfo, + LroHeaders = ArmLroLocationHeader & + Azure.Core.Foundations.RetryAfterHeader, + Request = void, + Response = ArmResponse | ArmResourceCreatedResponse< + SiteExtensionInfo, + LroHeaders = ArmLroLocationHeader & + Azure.Core.Foundations.RetryAfterHeader + > | ArmTooManyRequestsResponse, + OverrideErrorType = DefaultErrorResponse + >; + /** + * Description for Remove a site extension from a web site, or a deployment slot. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/no-response-body" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @summary("Remove a site extension from a web site, or a deployment slot.") + deleteSiteExtensionSlot is SiteExtensionInfoOperationGroupOps.DeleteSync< + SiteExtensionInfo, + Response = ArmDeletedNoContentResponse | ArmNotFoundResponse, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Get list of siteextensions for a web site, or a deployment slot. + */ + @summary("Get list of siteextensions for a web site, or a deployment slot.") + listSiteExtensionsSlot is SiteExtensionInfoOperationGroupOps.List< + SiteExtensionInfo, + Response = ArmResponse | ArmNotFoundResponse, + OverrideErrorType = DefaultErrorResponse + >; +} + +@@doc(SiteExtensionInfo.name, "Site extension name."); +@@doc(SiteExtensionInfo.properties, + "SiteExtensionInfo resource specific properties" +); diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/SiteLogsConfig.tsp b/specification/web/resource-manager/Microsoft.Web/AppService/SiteLogsConfig.tsp new file mode 100644 index 000000000000..0805a2111fcc --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/SiteLogsConfig.tsp @@ -0,0 +1,143 @@ +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "@typespec/openapi"; +import "@typespec/rest"; +import "./models.tsp"; +import "./Site.tsp"; + +using TypeSpec.Rest; +using Azure.ResourceManager; +using TypeSpec.Http; +using TypeSpec.OpenAPI; + +namespace Microsoft.Web; +/** + * Configuration of App Service site logs. + */ +@singleton("logs") +@parentResource(Site) +model SiteLogsConfig + is Azure.ResourceManager.ProxyResource { + ...ResourceNameParameter< + Resource = SiteLogsConfig, + KeyName = "config", + SegmentName = "config", + NamePattern = "" + >; + + /** + * Kind of resource. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + kind?: string; +} + +@armResourceOperations +interface SiteLogsConfigOps + extends Azure.ResourceManager.Legacy.LegacyOperations< + { + ...ApiVersionParameter, + ...SubscriptionIdParameter, + ...ResourceGroupParameter, + ...Azure.ResourceManager.Legacy.Provider, + + /** Name of the app. */ + @path + @segment("sites") + @key + name: string, + }, + { + /** undefined */ + @path + @segment("config") + @key + logs: "logs", + } + > {} + +@armResourceOperations +interface SiteLogsConfigs { + /** + * Description for Gets the logging configuration of an app. + */ + @summary("Gets the logging configuration of an app.") + getDiagnosticLogsConfiguration is SiteLogsConfigOps.Read< + SiteLogsConfig, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Updates the logging configuration of an app. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-put-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @summary("Updates the logging configuration of an app.") + updateDiagnosticLogsConfig is SiteLogsConfigOps.CreateOrUpdateSync< + SiteLogsConfig, + Response = ArmResourceUpdatedResponse, + OverrideErrorType = DefaultErrorResponse + >; +} +@armResourceOperations +interface SiteLogsConfigOperationGroupOps + extends Azure.ResourceManager.Legacy.LegacyOperations< + { + ...ApiVersionParameter, + ...SubscriptionIdParameter, + ...ResourceGroupParameter, + ...Azure.ResourceManager.Legacy.Provider, + + /** Name of the app. */ + @path + @segment("sites") + @key + name: string, + + /** Name of the deployment slot. If a slot is not specified, the API will get the logging configuration for the production slot. */ + @path + @segment("slots") + @key + slot: string, + }, + { + /** undefined */ + @path + @segment("config") + @key + logs: "logs", + } + > {} + +#suppress "@azure-tools/typespec-azure-resource-manager/no-resource-delete-operation" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@armResourceOperations +interface SiteLogsConfigOperationGroup { + /** + * Description for Gets the logging configuration of an app. + */ + @summary("Gets the logging configuration of an app.") + getDiagnosticLogsConfigurationSlot is SiteLogsConfigOperationGroupOps.Read< + SiteLogsConfig, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Updates the logging configuration of an app. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-put-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @summary("Updates the logging configuration of an app.") + updateDiagnosticLogsConfigSlot is SiteLogsConfigOperationGroupOps.CreateOrUpdateSync< + SiteLogsConfig, + Response = ArmResourceUpdatedResponse, + OverrideErrorType = DefaultErrorResponse + >; +} + +@@doc(SiteLogsConfig.name, ""); +@@doc(SiteLogsConfig.properties, "SiteLogsConfig resource specific properties"); +@@doc(SiteLogsConfigs.updateDiagnosticLogsConfig::parameters.resource, + "A SiteLogsConfig JSON object that contains the logging configuration to change in the \"properties\"property" +); + +@@doc(SiteLogsConfigOperationGroup.updateDiagnosticLogsConfigSlot::parameters.resource, + "A SiteLogsConfig JSON object that contains the logging configuration to change in the \"properties\"property" +); diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/SiteSourceControl.tsp b/specification/web/resource-manager/Microsoft.Web/AppService/SiteSourceControl.tsp new file mode 100644 index 000000000000..4d4ddb7bc5cc --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/SiteSourceControl.tsp @@ -0,0 +1,245 @@ +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "@typespec/openapi"; +import "@typespec/rest"; +import "./models.tsp"; +import "./Site.tsp"; + +using TypeSpec.Rest; +using Azure.ResourceManager; +using TypeSpec.Http; +using TypeSpec.OpenAPI; + +namespace Microsoft.Web; +/** + * Source control configuration for an app. + */ +@singleton("web") +@parentResource(Site) +model SiteSourceControl + is Azure.ResourceManager.ProxyResource { + ...ResourceNameParameter< + Resource = SiteSourceControl, + KeyName = "sourcecontrol", + SegmentName = "sourcecontrols", + NamePattern = "" + >; + + /** + * Kind of resource. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + kind?: string; +} + +@armResourceOperations +interface SiteSourceControlOps + extends Azure.ResourceManager.Legacy.LegacyOperations< + { + ...ApiVersionParameter, + ...SubscriptionIdParameter, + ...ResourceGroupParameter, + ...Azure.ResourceManager.Legacy.Provider, + + /** Name of the app. */ + @path + @segment("sites") + @key + name: string, + + /** Name of the deployment slot. If a slot is not specified, the API will get the source control configuration for the production slot. */ + @path + @segment("slots") + @key + slot: string, + }, + { + /** undefined */ + @path + @segment("sourcecontrols") + @key + web: "web", + } + > {} + +@armResourceOperations +interface SiteSourceControls { + /** + * Description for Gets the source control configuration of an app. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/no-response-body" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + #suppress "@azure-tools/typespec-azure-resource-manager/lro-location-header" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @summary("Gets the source control configuration of an app.") + getSourceControlSlot is SiteSourceControlOps.Read< + SiteSourceControl, + Response = ArmResponse | ArmResourceCreatedSyncResponse | (AcceptedResponse & { + @bodyRoot + _: SiteSourceControl; + }), + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Updates the source control configuration of an app. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-put-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + #suppress "@azure-tools/typespec-azure-resource-manager/no-response-body" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @summary("Updates the source control configuration of an app.") + createOrUpdateSourceControlSlot is SiteSourceControlOps.CreateOrUpdateAsync< + SiteSourceControl, + Response = ArmResourceUpdatedResponse | ArmResourceCreatedResponse< + SiteSourceControl, + ArmLroLocationHeader & + Azure.Core.Foundations.RetryAfterHeader + > | (ArmAcceptedLroResponse & { + @bodyRoot + _: SiteSourceControl; + }), + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Updates the source control configuration of an app. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/no-response-body" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + #suppress "@azure-tools/typespec-azure-resource-manager/lro-location-header" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @summary("Updates the source control configuration of an app.") + @patch(#{ implicitOptionality: false }) + updateSourceControlSlot is SiteSourceControlOps.CustomPatchSync< + SiteSourceControl, + PatchModel = SiteSourceControl, + Response = ArmResponse | ArmResourceCreatedSyncResponse | (AcceptedResponse & { + @bodyRoot + _: SiteSourceControl; + }), + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Deletes the source control configuration of an app. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + #suppress "@azure-tools/typespec-azure-resource-manager/lro-location-header" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @summary("Deletes the source control configuration of an app.") + deleteSourceControlSlot is SiteSourceControlOps.DeleteSync< + SiteSourceControl, + Parameters = { + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @query("additionalFlags") + additionalFlags?: string; + }, + Response = ArmDeletedResponse | AcceptedResponse | ArmNotFoundResponse, + OverrideErrorType = DefaultErrorResponse + >; +} +@armResourceOperations +interface SiteSourceControlOperationGroupOps + extends Azure.ResourceManager.Legacy.LegacyOperations< + { + ...ApiVersionParameter, + ...SubscriptionIdParameter, + ...ResourceGroupParameter, + ...Azure.ResourceManager.Legacy.Provider, + + /** Name of the app. */ + @path + @segment("sites") + @key + name: string, + }, + { + /** undefined */ + @path + @segment("sourcecontrols") + @key + web: "web", + } + > {} + +@armResourceOperations +interface SiteSourceControlOperationGroup { + /** + * Description for Gets the source control configuration of an app. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/no-response-body" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + #suppress "@azure-tools/typespec-azure-resource-manager/lro-location-header" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @summary("Gets the source control configuration of an app.") + getSourceControl is SiteSourceControlOperationGroupOps.Read< + SiteSourceControl, + Response = ArmResponse | ArmResourceCreatedSyncResponse | (AcceptedResponse & { + @bodyRoot + _: SiteSourceControl; + }), + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Updates the source control configuration of an app. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-put-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + #suppress "@azure-tools/typespec-azure-resource-manager/no-response-body" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @summary("Updates the source control configuration of an app.") + createOrUpdateSourceControl is SiteSourceControlOperationGroupOps.CreateOrUpdateAsync< + SiteSourceControl, + Response = ArmResourceUpdatedResponse | ArmResourceCreatedResponse< + SiteSourceControl, + ArmLroLocationHeader & + Azure.Core.Foundations.RetryAfterHeader + > | (ArmAcceptedLroResponse & { + @bodyRoot + _: SiteSourceControl; + }), + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Updates the source control configuration of an app. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/lro-location-header" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + #suppress "@azure-tools/typespec-azure-resource-manager/no-response-body" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @summary("Updates the source control configuration of an app.") + @patch(#{ implicitOptionality: false }) + updateSourceControl is SiteSourceControlOperationGroupOps.CustomPatchSync< + SiteSourceControl, + PatchModel = SiteSourceControl, + Response = ArmResponse | ArmResourceCreatedSyncResponse | (AcceptedResponse & { + @bodyRoot + _: SiteSourceControl; + }), + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Deletes the source control configuration of an app. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/lro-location-header" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @summary("Deletes the source control configuration of an app.") + deleteSourceControl is SiteSourceControlOperationGroupOps.DeleteSync< + SiteSourceControl, + Parameters = { + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @query("additionalFlags") + additionalFlags?: string; + }, + Response = ArmDeletedResponse | AcceptedResponse | ArmNotFoundResponse, + OverrideErrorType = DefaultErrorResponse + >; +} + +@@doc(SiteSourceControl.name, ""); +@@doc(SiteSourceControl.properties, + "SiteSourceControl resource specific properties" +); +@@doc(SiteSourceControls.createOrUpdateSourceControlSlot::parameters.resource, + "JSON representation of a SiteSourceControl object. See example." +); +@@doc(SiteSourceControls.updateSourceControlSlot::parameters.properties, + "JSON representation of a SiteSourceControl object. See example." +); +@@doc(SiteSourceControlOperationGroup.createOrUpdateSourceControl::parameters.resource, + "JSON representation of a SiteSourceControl object. See example." +); +@@doc(SiteSourceControlOperationGroup.updateSourceControl::parameters.properties, + "JSON representation of a SiteSourceControl object. See example." +); diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/SlotConfigNamesResource.tsp b/specification/web/resource-manager/Microsoft.Web/AppService/SlotConfigNamesResource.tsp new file mode 100644 index 000000000000..ae98fdd0c5f3 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/SlotConfigNamesResource.tsp @@ -0,0 +1,63 @@ +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "@typespec/openapi"; +import "@typespec/rest"; +import "./models.tsp"; +import "./Site.tsp"; + +using TypeSpec.Rest; +using Azure.ResourceManager; +using TypeSpec.Http; +using TypeSpec.OpenAPI; + +namespace Microsoft.Web; +/** + * Slot Config names azure resource. + */ +@singleton("slotConfigNames") +@parentResource(Site) +model SlotConfigNamesResource + is Azure.ResourceManager.ProxyResource { + ...ResourceNameParameter< + Resource = SlotConfigNamesResource, + KeyName = "config", + SegmentName = "config", + NamePattern = "" + >; + + /** + * Kind of resource. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + kind?: string; +} + +#suppress "@azure-tools/typespec-azure-resource-manager/no-resource-delete-operation" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@armResourceOperations +interface SlotConfigNamesResources { + /** + * Description for Gets the names of app settings and connection strings that stick to the slot (not swapped). + */ + @summary("Gets the names of app settings and connection strings that stick to the slot (not swapped).") + listSlotConfigurationNames is ArmResourceRead< + SlotConfigNamesResource, + Error = DefaultErrorResponse + >; + + /** + * Description for Updates the names of application settings and connection string that remain with the slot during swap operation. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-put-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @summary("Updates the names of application settings and connection string that remain with the slot during swap operation.") + updateSlotConfigurationNames is ArmResourceCreateOrReplaceSync< + SlotConfigNamesResource, + Response = ArmResourceUpdatedResponse, + Error = DefaultErrorResponse + >; +} + +@@doc(SlotConfigNamesResource.name, ""); +@@doc(SlotConfigNamesResource.properties, "Core resource properties"); +@@doc(SlotConfigNamesResources.updateSlotConfigurationNames::parameters.resource, + "Names of application settings and connection strings. See example." +); diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/SourceControl.tsp b/specification/web/resource-manager/Microsoft.Web/AppService/SourceControl.tsp new file mode 100644 index 000000000000..7765d4b42975 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/SourceControl.tsp @@ -0,0 +1,80 @@ +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "@typespec/openapi"; +import "@typespec/rest"; +import "./models.tsp"; + +using TypeSpec.Rest; +using Azure.ResourceManager; +using TypeSpec.Http; +using TypeSpec.OpenAPI; + +namespace Microsoft.Web; +/** + * The source control OAuth token. + */ +@tenantResource +model SourceControl + is Azure.ResourceManager.ProxyResource { + ...ResourceNameParameter< + Resource = SourceControl, + KeyName = "sourceControlType", + SegmentName = "sourcecontrols", + NamePattern = "" + >; + + /** + * Kind of resource. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + kind?: string; +} + +#suppress "@azure-tools/typespec-azure-resource-manager/no-resource-delete-operation" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@armResourceOperations +interface SourceControls { + /** + * Description for Gets source control token + */ + #suppress "@azure-tools/typespec-azure-core/no-openapi" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @summary("Gets source control token") + @operationId("GetSourceControl") + getSourceControl is ArmResourceRead< + SourceControl, + BaseParameters = Azure.ResourceManager.Foundations.TenantBaseParameters, + Error = DefaultErrorResponse + >; + + /** + * Description for Updates source control token + */ + #suppress "@azure-tools/typespec-azure-core/no-openapi" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + #suppress "@azure-tools/typespec-azure-resource-manager/arm-put-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @summary("Updates source control token") + @operationId("UpdateSourceControl") + updateSourceControl is ArmResourceCreateOrReplaceSync< + SourceControl, + BaseParameters = Azure.ResourceManager.Foundations.TenantBaseParameters, + Response = ArmResourceUpdatedResponse, + Error = DefaultErrorResponse + >; + + /** + * Description for Gets the source controls available for Azure websites. + */ + #suppress "@azure-tools/typespec-azure-core/no-openapi" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @summary("Gets the source controls available for Azure websites.") + @operationId("ListSourceControls") + listSourceControls is ArmResourceListByParent< + SourceControl, + BaseParameters = Azure.ResourceManager.Foundations.TenantBaseParameters, + Response = ArmResponse, + Error = DefaultErrorResponse + >; +} + +@@doc(SourceControl.name, "Type of source control"); +@@doc(SourceControl.properties, "SourceControl resource specific properties"); +@@doc(SourceControls.updateSourceControl::parameters.resource, + "Source control token information" +); diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/StaticSiteARMResource.tsp b/specification/web/resource-manager/Microsoft.Web/AppService/StaticSiteARMResource.tsp new file mode 100644 index 000000000000..50d222e7b25a --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/StaticSiteARMResource.tsp @@ -0,0 +1,402 @@ +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "@typespec/openapi"; +import "@typespec/rest"; +import "./models.tsp"; + +using TypeSpec.Rest; +using Azure.ResourceManager; +using TypeSpec.Http; +using TypeSpec.OpenAPI; + +namespace Microsoft.Web; +/** + */ +#suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model StaticSiteARMResource + is Azure.ResourceManager.TrackedResource { + ...ResourceNameParameter< + Resource = StaticSiteARMResource, + KeyName = "name", + SegmentName = "staticSites", + NamePattern = "" + >; + + /** + * Kind of resource. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + kind?: string; + + /** + * Description of a SKU for a scalable resource. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + sku?: SkuDescription; + + /** + * Managed service identity. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + identity?: ManagedServiceIdentity; +} + +alias StaticSiteUserOps = Azure.ResourceManager.Legacy.RoutedOperations< + { + ...ApiVersionParameter; + ...SubscriptionIdParameter; + ...ResourceGroupParameter; + }, + { + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + @segment("staticSites") + @key + name: string; + }, + ResourceRoute = #{ + route: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.Web/staticSites", + } +>; + +#suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@armResourceOperations(#{ allowStaticRoutes: true }) +interface StaticSiteARMResources { + /** + * Description for Gets the details of a static site. + */ + @summary("Gets the details of a static site.") + getStaticSite is ArmResourceRead< + StaticSiteARMResource, + Error = DefaultErrorResponse + >; + + /** + * Description for Creates a new static site in an existing resource group, or updates an existing static site. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-put-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + #suppress "@azure-tools/typespec-azure-resource-manager/no-response-body" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @summary("Creates a new static site in an existing resource group, or updates an existing static site.") + createOrUpdateStaticSite is ArmResourceCreateOrReplaceAsync< + StaticSiteARMResource, + Response = ArmResourceUpdatedResponse | (ArmAcceptedLroResponse> & { + @bodyRoot + _: StaticSiteARMResource; + }), + Error = DefaultErrorResponse + >; + + /** + * Description for Creates a new static site in an existing resource group, or updates an existing static site. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/no-response-body" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + #suppress "@azure-tools/typespec-azure-resource-manager/lro-location-header" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @summary("Creates a new static site in an existing resource group, or updates an existing static site.") + @patch(#{ implicitOptionality: false }) + updateStaticSite is ArmCustomPatchSync< + StaticSiteARMResource, + PatchModel = StaticSitePatchResource, + Response = ArmResponse | (AcceptedResponse & { + @bodyRoot + _: StaticSiteARMResource; + }), + Error = DefaultErrorResponse + >; + + /** + * Description for Deletes a static site. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @summary("Deletes a static site.") + deleteStaticSite is ArmResourceDeleteWithoutOkAsync< + StaticSiteARMResource, + Response = ArmDeletedResponse | ArmDeleteAcceptedLroResponse, + Error = DefaultErrorResponse + >; + + /** + * Description for Gets all static sites in the specified resource group. + */ + @summary("Gets all static sites in the specified resource group.") + getStaticSitesByResourceGroup is ArmResourceListByParent< + StaticSiteARMResource, + Response = ArmResponse, + Error = DefaultErrorResponse + >; + + /** + * Description for Get all Static Sites for a subscription. + */ + @summary("Get all Static Sites for a subscription.") + list is ArmListBySubscription< + StaticSiteARMResource, + Response = ArmResponse, + Error = DefaultErrorResponse + >; + + /** + * Description for Gets the list of users of a static site. + */ + @summary("Gets the list of users of a static site.") + @action("listUsers") + @list + @route("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.Web/staticSites/{name}/authproviders/{authprovider}/listUsers") + listStaticSiteUsers is StaticSiteUserOps.ActionSync< + StaticSiteARMResource, + void, + ArmResponse, + Parameters = { + /** + * The auth provider for the users. + */ + @path + authprovider: string; + }, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Deletes the user entry from the static site. + */ + @summary("Deletes the user entry from the static site.") + @route("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.Web/staticSites/{name}/authproviders/{authprovider}/users/{userid}") + @delete + deleteStaticSiteUser is StaticSiteUserOps.ActionSync< + StaticSiteARMResource, + void, + Response = { + @body body: void; + }, + Parameters = { + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + authprovider: string; + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + userid: string; + }, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Updates a user entry with the listed roles + */ + @summary("Updates a user entry with the listed roles") + @patch(#{ implicitOptionality: true }) + @route("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.Web/staticSites/{name}/authproviders/{authprovider}/users/{userid}") + updateStaticSiteUser is StaticSiteUserOps.ActionSync< + StaticSiteARMResource, + StaticSiteUserARMResource, + ArmResponse, + Parameters = { + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + authprovider: string; + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + userid: string; + }, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Creates or updates the app settings of a static site. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-put-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @summary("Creates or updates the app settings of a static site.") + @put + @action("config/appsettings") + createOrUpdateStaticSiteAppSettings is ArmResourceActionSync< + StaticSiteARMResource, + StringDictionary, + ArmResponse, + Error = DefaultErrorResponse + >; + + /** + * Description for Creates or updates the function app settings of a static site. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-put-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @summary("Creates or updates the function app settings of a static site.") + @put + @action("config/functionappsettings") + createOrUpdateStaticSiteFunctionAppSettings is ArmResourceActionSync< + StaticSiteARMResource, + StringDictionary, + ArmResponse, + Error = DefaultErrorResponse + >; + + /** + * Description for Creates an invitation link for a user with the role + */ + @summary("Creates an invitation link for a user with the role") + @action("createUserInvitation") + createUserRolesInvitationLink is ArmResourceActionSync< + StaticSiteARMResource, + StaticSiteUserInvitationRequestResource, + ArmResponse, + Error = DefaultErrorResponse + >; + + /** + * Description for Detaches a static site. + */ + @summary("Detaches a static site.") + @action("detach") + detachStaticSite is ArmResourceActionAsync< + StaticSiteARMResource, + void, + { + @body body: void; + }, + LroHeaders = Azure.Core.Foundations.RetryAfterHeader & + ArmLroLocationHeader, + Error = DefaultErrorResponse + >; + + /** + * Description for Gets the functions of a static site. + */ + @summary("Gets the functions of a static site.") + @get + @action("functions") + @list + listStaticSiteFunctions is ArmResourceActionSync< + StaticSiteARMResource, + void, + ArmResponse, + Error = DefaultErrorResponse + >; + + /** + * Description for Gets the application settings of a static site. + */ + @summary("Gets the application settings of a static site.") + @action("listAppSettings") + listStaticSiteAppSettings is ArmResourceActionSync< + StaticSiteARMResource, + void, + ArmResponse, + Error = DefaultErrorResponse + >; + + /** + * Description for Lists the roles configured for the static site. + */ + @summary("Lists the roles configured for the static site.") + @action("listConfiguredRoles") + listStaticSiteConfiguredRoles is ArmResourceActionSync< + StaticSiteARMResource, + void, + ArmResponse, + Error = DefaultErrorResponse + >; + + /** + * Description for Gets the application settings of a static site. + */ + @summary("Gets the application settings of a static site.") + @action("listFunctionAppSettings") + listStaticSiteFunctionAppSettings is ArmResourceActionSync< + StaticSiteARMResource, + void, + ArmResponse, + Error = DefaultErrorResponse + >; + + /** + * Description for Lists the secrets for an existing static site. + */ + @summary("Lists the secrets for an existing static site.") + @action("listSecrets") + listStaticSiteSecrets is ArmResourceActionSync< + StaticSiteARMResource, + void, + ArmResponse, + Error = DefaultErrorResponse + >; + + /** + * Description for Gets the private link resources + */ + @summary("Gets the private link resources") + @get + @action("privateLinkResources") + getPrivateLinkResources is ArmResourceActionSync< + StaticSiteARMResource, + void, + ArmResponse, + Error = DefaultErrorResponse + >; + + /** + * Description for Resets the api key for an existing static site. + */ + @summary("Resets the api key for an existing static site.") + @action("resetapikey") + resetStaticSiteApiKey is ArmResourceActionSync< + StaticSiteARMResource, + StaticSiteResetPropertiesARMResource, + { + @body body: void; + }, + Error = DefaultErrorResponse + >; + + /** + * Returns details of database connections for a static site + */ + @summary("Returns details of database connections for a static site") + @action("showDatabaseConnections") + @list + getDatabaseConnectionsWithDetails is ArmResourceActionSync< + StaticSiteARMResource, + void, + ArmResponse, + Error = DefaultErrorResponse + >; + + /** + * Description for Deploys zipped content to a static site. + */ + @summary("Deploys zipped content to a static site.") + @action("zipdeploy") + createZipDeploymentForStaticSite is ArmResourceActionAsync< + StaticSiteARMResource, + StaticSiteZipDeploymentARMResource, + { + @body body: void; + }, + Error = DefaultErrorResponse, + LroHeaders = Azure.Core.Foundations.RetryAfterHeader & + ArmLroLocationHeader + >; +} + +@@doc(StaticSiteARMResource.name, "Name of the static site."); +@@doc(StaticSiteARMResource.properties, "Core resource properties"); +@@doc(StaticSiteARMResources.createOrUpdateStaticSite::parameters.resource, + "A JSON representation of the staticsite properties. See example." +); +@@doc(StaticSiteARMResources.updateStaticSite::parameters.properties, + "A JSON representation of the staticsite properties. See example." +); +@@doc(StaticSiteARMResources.updateStaticSiteUser::parameters.body, + "A JSON representation of the StaticSiteUser properties. See example." +); +@@doc(StaticSiteARMResources.createOrUpdateStaticSiteAppSettings::parameters.body, + "The dictionary containing the static site app settings to update." +); +@@doc(StaticSiteARMResources.createOrUpdateStaticSiteFunctionAppSettings::parameters.body, + "The dictionary containing the static site function app settings to update." +); +@@doc(StaticSiteARMResources.createUserRolesInvitationLink::parameters.body, + "" +); +@@doc(StaticSiteARMResources.resetStaticSiteApiKey::parameters.body, ""); +@@doc(StaticSiteARMResources.createZipDeploymentForStaticSite::parameters.body, + "A JSON representation of the StaticSiteZipDeployment properties. See example." +); diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/StaticSiteBasicAuthPropertiesARMResource.tsp b/specification/web/resource-manager/Microsoft.Web/AppService/StaticSiteBasicAuthPropertiesARMResource.tsp new file mode 100644 index 000000000000..63f692e692b9 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/StaticSiteBasicAuthPropertiesARMResource.tsp @@ -0,0 +1,79 @@ +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "@typespec/openapi"; +import "@typespec/rest"; +import "./models.tsp"; +import "./StaticSiteARMResource.tsp"; + +using TypeSpec.Rest; +using Azure.ResourceManager; +using TypeSpec.Http; +using TypeSpec.OpenAPI; + +namespace Microsoft.Web; +/** + * Static site basic auth properties ARM resource. + */ +#suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@parentResource(StaticSiteARMResource) +model StaticSiteBasicAuthPropertiesARMResource + is Azure.ResourceManager.ProxyResource { + ...ResourceNameParameter< + Resource = StaticSiteBasicAuthPropertiesARMResource, + KeyName = "basicAuthName", + SegmentName = "basicAuth", + NamePattern = "", + Type = BasicAuthName + >; + + /** + * Kind of resource. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + kind?: string; +} + +#suppress "@azure-tools/typespec-azure-resource-manager/no-resource-delete-operation" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@armResourceOperations +interface StaticSiteBasicAuthPropertiesARMResources { + /** + * Description for Gets the basic auth properties for a static site. + */ + @summary("Gets the basic auth properties for a static site.") + getBasicAuth is ArmResourceRead< + StaticSiteBasicAuthPropertiesARMResource, + Error = DefaultErrorResponse + >; + + /** + * Description for Adds or updates basic auth for a static site. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-put-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @summary("Adds or updates basic auth for a static site.") + createOrUpdateBasicAuth is ArmResourceCreateOrReplaceSync< + StaticSiteBasicAuthPropertiesARMResource, + Response = ArmResourceUpdatedResponse, + Error = DefaultErrorResponse + >; + + /** + * Description for Gets the basic auth properties for a static site as a collection. + */ + @summary("Gets the basic auth properties for a static site as a collection.") + listBasicAuth is ArmResourceListByParent< + StaticSiteBasicAuthPropertiesARMResource, + Response = ArmResponse, + Error = DefaultErrorResponse + >; +} + +@@doc(StaticSiteBasicAuthPropertiesARMResource.name, + "name of the basic auth entry." +); +@@doc(StaticSiteBasicAuthPropertiesARMResource.properties, + "StaticSiteBasicAuthPropertiesARMResource resource specific properties" +); +@@doc(StaticSiteBasicAuthPropertiesARMResources.createOrUpdateBasicAuth::parameters.resource, + "A JSON representation of the basic auth properties." +); diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/StaticSiteBuildARMResource.tsp b/specification/web/resource-manager/Microsoft.Web/AppService/StaticSiteBuildARMResource.tsp new file mode 100644 index 000000000000..f66c97448593 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/StaticSiteBuildARMResource.tsp @@ -0,0 +1,176 @@ +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "@typespec/openapi"; +import "@typespec/rest"; +import "./models.tsp"; +import "./StaticSiteARMResource.tsp"; + +using TypeSpec.Rest; +using Azure.ResourceManager; +using TypeSpec.Http; +using TypeSpec.OpenAPI; + +namespace Microsoft.Web; +/** + * Static Site Build ARM resource. + */ +#suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@parentResource(StaticSiteARMResource) +model StaticSiteBuildARMResource + is Azure.ResourceManager.ProxyResource { + ...ResourceNameParameter< + Resource = StaticSiteBuildARMResource, + KeyName = "environmentName", + SegmentName = "builds", + NamePattern = "^[a-zA-Z0-9]+$" + >; + + /** + * Kind of resource. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + kind?: string; +} + +#suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@armResourceOperations +interface StaticSiteBuildARMResources { + /** + * Description for Gets the details of a static site build. + */ + @summary("Gets the details of a static site build.") + getStaticSiteBuild is ArmResourceRead< + StaticSiteBuildARMResource, + Error = DefaultErrorResponse + >; + + /** + * Description for Deletes a static site build. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @summary("Deletes a static site build.") + deleteStaticSiteBuild is ArmResourceDeleteWithoutOkAsync< + StaticSiteBuildARMResource, + Response = ArmDeletedResponse | ArmDeleteAcceptedLroResponse | ArmDeletedNoContentResponse, + Error = DefaultErrorResponse + >; + + /** + * Description for Gets all static site builds for a particular static site. + */ + @summary("Gets all static site builds for a particular static site.") + getStaticSiteBuilds is ArmResourceListByParent< + StaticSiteBuildARMResource, + Response = ArmResponse, + Error = DefaultErrorResponse + >; + + /** + * Description for Creates or updates the app settings of a static site build. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-put-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @summary("Creates or updates the app settings of a static site build.") + @put + @action("config/appsettings") + createOrUpdateStaticSiteBuildAppSettings is ArmResourceActionSync< + StaticSiteBuildARMResource, + StringDictionary, + ArmResponse, + Error = DefaultErrorResponse + >; + + /** + * Description for Creates or updates the function app settings of a static site build. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-put-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @summary("Creates or updates the function app settings of a static site build.") + @put + @action("config/functionappsettings") + createOrUpdateStaticSiteBuildFunctionAppSettings is ArmResourceActionSync< + StaticSiteBuildARMResource, + StringDictionary, + ArmResponse, + Error = DefaultErrorResponse + >; + + /** + * Description for Gets the functions of a particular static site build. + */ + @summary("Gets the functions of a particular static site build.") + @get + @action("functions") + @list + listStaticSiteBuildFunctions is ArmResourceActionSync< + StaticSiteBuildARMResource, + void, + ArmResponse, + Error = DefaultErrorResponse + >; + + /** + * Description for Gets the application settings of a static site build. + */ + @summary("Gets the application settings of a static site build.") + @action("listAppSettings") + listStaticSiteBuildAppSettings is ArmResourceActionSync< + StaticSiteBuildARMResource, + void, + ArmResponse, + Error = DefaultErrorResponse + >; + + /** + * Description for Gets the application settings of a static site build. + */ + @summary("Gets the application settings of a static site build.") + @action("listFunctionAppSettings") + listStaticSiteBuildFunctionAppSettings is ArmResourceActionSync< + StaticSiteBuildARMResource, + void, + ArmResponse, + Error = DefaultErrorResponse + >; + + /** + * Returns details of database connections for a static site build + */ + @summary("Returns details of database connections for a static site build") + @action("showDatabaseConnections") + @list + getBuildDatabaseConnectionsWithDetails is ArmResourceActionSync< + StaticSiteBuildARMResource, + void, + ArmResponse, + Error = DefaultErrorResponse + >; + + /** + * Description for Deploys zipped content to a specific environment of a static site. + */ + @summary("Deploys zipped content to a specific environment of a static site.") + @action("zipdeploy") + createZipDeploymentForStaticSiteBuild is ArmResourceActionAsync< + StaticSiteBuildARMResource, + StaticSiteZipDeploymentARMResource, + { + @body body: void; + }, + Error = DefaultErrorResponse, + LroHeaders = Azure.Core.Foundations.RetryAfterHeader & + ArmLroLocationHeader + >; +} + +@@doc(StaticSiteBuildARMResource.name, "The stage site identifier."); +@@doc(StaticSiteBuildARMResource.properties, + "StaticSiteBuildARMResource resource specific properties" +); +@@doc(StaticSiteBuildARMResources.createOrUpdateStaticSiteBuildAppSettings::parameters.body, + "The dictionary containing the static site app settings to update." +); +@@doc(StaticSiteBuildARMResources.createOrUpdateStaticSiteBuildFunctionAppSettings::parameters.body, + "The dictionary containing the static site function app settings to update." +); +@@doc(StaticSiteBuildARMResources.createZipDeploymentForStaticSiteBuild::parameters.body, + "A JSON representation of the StaticSiteZipDeployment properties. See example." +); diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/StaticSiteCustomDomainOverviewARMResource.tsp b/specification/web/resource-manager/Microsoft.Web/AppService/StaticSiteCustomDomainOverviewARMResource.tsp new file mode 100644 index 000000000000..9509ac5f06f1 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/StaticSiteCustomDomainOverviewARMResource.tsp @@ -0,0 +1,112 @@ +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "@typespec/openapi"; +import "@typespec/rest"; +import "./models.tsp"; +import "./StaticSiteARMResource.tsp"; + +using TypeSpec.Rest; +using Azure.ResourceManager; +using TypeSpec.Http; +using TypeSpec.OpenAPI; + +namespace Microsoft.Web; +/** + * Static Site Custom Domain Overview ARM resource. + */ +#suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@parentResource(StaticSiteARMResource) +model StaticSiteCustomDomainOverviewARMResource + is Azure.ResourceManager.ProxyResource { + ...ResourceNameParameter< + Resource = StaticSiteCustomDomainOverviewARMResource, + KeyName = "domainName", + SegmentName = "customDomains", + NamePattern = "" + >; + + /** + * Kind of resource. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + kind?: string; +} + +#suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@armResourceOperations +interface StaticSiteCustomDomainOverviewARMResources { + /** + * Description for Gets an existing custom domain for a particular static site. + */ + @summary("Gets an existing custom domain for a particular static site.") + getStaticSiteCustomDomain is ArmResourceRead< + StaticSiteCustomDomainOverviewARMResource, + Error = DefaultErrorResponse + >; + + /** + * Description for Creates a new static site custom domain in an existing resource group and static site. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-put-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + #suppress "@azure-tools/typespec-azure-resource-manager/no-response-body" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @summary("Creates a new static site custom domain in an existing resource group and static site.") + createOrUpdateStaticSiteCustomDomain is Azure.ResourceManager.Legacy.CreateOrUpdateAsync< + StaticSiteCustomDomainOverviewARMResource, + StaticSiteCustomDomainRequestPropertiesARMResource, + Response = ArmResourceUpdatedResponse | (ArmAcceptedLroResponse> & { + @bodyRoot + _: StaticSiteCustomDomainOverviewARMResource; + }), + Error = DefaultErrorResponse + >; + + /** + * Description for Deletes a custom domain. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @summary("Deletes a custom domain.") + deleteStaticSiteCustomDomain is ArmResourceDeleteWithoutOkAsync< + StaticSiteCustomDomainOverviewARMResource, + Response = ArmDeletedResponse | ArmDeleteAcceptedLroResponse, + Error = DefaultErrorResponse + >; + + /** + * Description for Gets all static site custom domains for a particular static site. + */ + @summary("Gets all static site custom domains for a particular static site.") + listStaticSiteCustomDomains is ArmResourceListByParent< + StaticSiteCustomDomainOverviewARMResource, + Response = ArmResponse, + Error = DefaultErrorResponse + >; + + /** + * Description for Validates a particular custom domain can be added to a static site. + */ + @summary("Validates a particular custom domain can be added to a static site.") + @action("validate") + validateCustomDomainCanBeAddedToStaticSite is ArmResourceActionAsync< + StaticSiteCustomDomainOverviewARMResource, + StaticSiteCustomDomainRequestPropertiesARMResource, + { + @body body: void; + }, + Error = DefaultErrorResponse, + LroHeaders = Azure.Core.Foundations.RetryAfterHeader & + ArmLroLocationHeader + >; +} + +@@doc(StaticSiteCustomDomainOverviewARMResource.name, + "The custom domain name." +); +@@doc(StaticSiteCustomDomainOverviewARMResource.properties, + "StaticSiteCustomDomainOverviewARMResource resource specific properties" +); +@@doc(StaticSiteCustomDomainOverviewARMResources.createOrUpdateStaticSiteCustomDomain::parameters.resource, + "A JSON representation of the static site custom domain request properties. See example." +); +@@doc(StaticSiteCustomDomainOverviewARMResources.validateCustomDomainCanBeAddedToStaticSite::parameters.body, + "A JSON representation of the static site custom domain request properties. See example." +); diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/StaticSiteLinkedBackendARMResource.tsp b/specification/web/resource-manager/Microsoft.Web/AppService/StaticSiteLinkedBackendARMResource.tsp new file mode 100644 index 000000000000..a0b3c75fe9a2 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/StaticSiteLinkedBackendARMResource.tsp @@ -0,0 +1,243 @@ +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "@typespec/openapi"; +import "@typespec/rest"; +import "./models.tsp"; +import "./StaticSiteARMResource.tsp"; + +using TypeSpec.Rest; +using Azure.ResourceManager; +using TypeSpec.Http; +using TypeSpec.OpenAPI; + +namespace Microsoft.Web; +/** + * Static Site Linked Backend ARM resource. + */ +#suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@parentResource(StaticSiteARMResource) +model StaticSiteLinkedBackendARMResource + is Azure.ResourceManager.ProxyResource { + ...ResourceNameParameter< + Resource = StaticSiteLinkedBackendARMResource, + KeyName = "linkedBackendName", + SegmentName = "linkedBackends", + NamePattern = "" + >; + + /** + * Kind of resource. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + kind?: string; +} + +#suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@armResourceOperations +interface StaticSiteLinkedBackendARMResourceOps + extends Azure.ResourceManager.Legacy.LegacyOperations< + { + ...ApiVersionParameter, + ...SubscriptionIdParameter, + ...ResourceGroupParameter, + ...Azure.ResourceManager.Legacy.Provider, + + /** Name of the static site */ + @path + @segment("staticSites") + @key + name: string, + }, + { + /** Name of the linked backend that should be retrieved */ + @path + @segment("linkedBackends") + @key + linkedBackendName: string, + } + > {} + +#suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@armResourceOperations +interface StaticSiteLinkedBackendARMResources { + /** + * Returns the details of a linked backend linked to a static site by name + */ + @summary("Returns the details of a linked backend linked to a static site by name") + getLinkedBackend is StaticSiteLinkedBackendARMResourceOps.Read< + StaticSiteLinkedBackendARMResource, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Link backend to a static site + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-put-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @summary("Link backend to a static site") + linkBackend is StaticSiteLinkedBackendARMResourceOps.CreateOrUpdateAsync< + StaticSiteLinkedBackendARMResource, + Response = ArmResourceUpdatedResponse & + ArmLroLocationHeader, + LroHeaders = ArmLroLocationHeader & + Azure.Core.Foundations.RetryAfterHeader, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Unlink a backend from a static site + */ + @summary("Unlink a backend from a static site") + unlinkBackend is StaticSiteLinkedBackendARMResourceOps.DeleteSync< + StaticSiteLinkedBackendARMResource, + Parameters = { + /** + * Decides if Easy Auth configuration will be removed from backend configuration + */ + @query("isCleaningAuthConfig") + isCleaningAuthConfig?: boolean; + }, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Returns details of all backends linked to a static site + */ + @summary("Returns details of all backends linked to a static site") + getLinkedBackends is StaticSiteLinkedBackendARMResourceOps.List< + StaticSiteLinkedBackendARMResource, + Response = ArmResponse, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Validates that a backend can be linked to a static site + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-post-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @summary("Validates that a backend can be linked to a static site") + @action("validate") + validateBackend is StaticSiteLinkedBackendARMResourceOps.ActionAsync< + StaticSiteLinkedBackendARMResource, + StaticSiteLinkedBackendARMResource, + NoContentResponse, + OverrideErrorType = DefaultErrorResponse, + LroHeaders = Azure.Core.Foundations.RetryAfterHeader & + ArmLroLocationHeader + >; +} +#suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@armResourceOperations +interface StaticSiteLinkedBackendARMResourceOperationGroupOps + extends Azure.ResourceManager.Legacy.LegacyOperations< + { + ...ApiVersionParameter, + ...SubscriptionIdParameter, + ...ResourceGroupParameter, + ...Azure.ResourceManager.Legacy.Provider, + + /** Name of the static site */ + @path + @segment("staticSites") + @key + name: string, + + /** The stage site identifier */ + @path + @segment("builds") + @key + environmentName: string, + }, + { + /** Name of the linked backend that should be retrieved */ + @path + @segment("linkedBackends") + @key + linkedBackendName: string, + } + > {} + +#suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@armResourceOperations +interface StaticSiteLinkedBackendARMResourceOperationGroup { + /** + * Returns the details of a linked backend linked to a static site build by name + */ + @summary("Returns the details of a linked backend linked to a static site build by name") + getLinkedBackendForBuild is StaticSiteLinkedBackendARMResourceOperationGroupOps.Read< + StaticSiteLinkedBackendARMResource, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Link backend to a static site build + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-put-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @summary("Link backend to a static site build") + linkBackendToBuild is StaticSiteLinkedBackendARMResourceOperationGroupOps.CreateOrUpdateAsync< + StaticSiteLinkedBackendARMResource, + Response = ArmResourceUpdatedResponse & + ArmLroLocationHeader, + LroHeaders = ArmLroLocationHeader & + Azure.Core.Foundations.RetryAfterHeader, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Unlink a backend from a static site build + */ + @summary("Unlink a backend from a static site build") + unlinkBackendFromBuild is StaticSiteLinkedBackendARMResourceOperationGroupOps.DeleteSync< + StaticSiteLinkedBackendARMResource, + Parameters = { + /** + * Decides if auth will be removed from backend configuration + */ + @query("isCleaningAuthConfig") + isCleaningAuthConfig?: boolean; + }, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Returns details of all backends linked to a static site build + */ + @summary("Returns details of all backends linked to a static site build") + getLinkedBackendsForBuild is StaticSiteLinkedBackendARMResourceOperationGroupOps.List< + StaticSiteLinkedBackendARMResource, + Response = ArmResponse, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Validates that a backend can be linked to a static site build + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-post-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @summary("Validates that a backend can be linked to a static site build") + @action("validate") + validateBackendForBuild is StaticSiteLinkedBackendARMResourceOperationGroupOps.ActionAsync< + StaticSiteLinkedBackendARMResource, + StaticSiteLinkedBackendARMResource, + NoContentResponse, + OverrideErrorType = DefaultErrorResponse, + LroHeaders = Azure.Core.Foundations.RetryAfterHeader & + ArmLroLocationHeader + >; +} + +@@doc(StaticSiteLinkedBackendARMResource.name, + "Name of the linked backend that should be retrieved" +); +@@doc(StaticSiteLinkedBackendARMResource.properties, + "StaticSiteLinkedBackendARMResource resource specific properties" +); +@@doc(StaticSiteLinkedBackendARMResources.linkBackend::parameters.resource, + "A JSON representation of the linked backend request properties" +); +@@doc(StaticSiteLinkedBackendARMResources.validateBackend::parameters.body, + "A JSON representation of the linked backend request properties" +); +@@doc(StaticSiteLinkedBackendARMResourceOperationGroup.linkBackendToBuild::parameters.resource, + "A JSON representation of the linked backend request properties" +); +@@doc(StaticSiteLinkedBackendARMResourceOperationGroup.validateBackendForBuild::parameters.body, + "A JSON representation of the linked backend request properties" +); diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/StaticSiteUserProvidedFunctionAppARMResource.tsp b/specification/web/resource-manager/Microsoft.Web/AppService/StaticSiteUserProvidedFunctionAppARMResource.tsp new file mode 100644 index 000000000000..d4f51d559fd8 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/StaticSiteUserProvidedFunctionAppARMResource.tsp @@ -0,0 +1,209 @@ +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "@typespec/openapi"; +import "@typespec/rest"; +import "./models.tsp"; +import "./StaticSiteBuildARMResource.tsp"; + +using TypeSpec.Rest; +using Azure.ResourceManager; +using TypeSpec.Http; +using TypeSpec.OpenAPI; + +namespace Microsoft.Web; +/** + * Static Site User Provided Function App ARM resource. + */ +#suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@parentResource(StaticSiteBuildARMResource) +model StaticSiteUserProvidedFunctionAppARMResource + is Azure.ResourceManager.ProxyResource { + ...ResourceNameParameter< + Resource = StaticSiteUserProvidedFunctionAppARMResource, + KeyName = "functionAppName", + SegmentName = "userProvidedFunctionApps", + NamePattern = "" + >; + + /** + * Kind of resource. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + kind?: string; +} + +#suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@armResourceOperations +interface StaticSiteUserProvidedFunctionAppARMResourceOps + extends Azure.ResourceManager.Legacy.LegacyOperations< + { + ...ApiVersionParameter, + ...SubscriptionIdParameter, + ...ResourceGroupParameter, + ...Azure.ResourceManager.Legacy.Provider, + + /** Name of the static site. */ + @path + @segment("staticSites") + @key + name: string, + + /** The stage site identifier. */ + @path + @segment("builds") + @key + environmentName: string, + }, + { + /** Name of the function app registered with the static site build. */ + @path + @segment("userProvidedFunctionApps") + @key + functionAppName: string, + } + > {} + +#suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@armResourceOperations +interface StaticSiteUserProvidedFunctionAppARMResources { + /** + * Description for Gets the details of the user provided function app registered with a static site build + */ + @summary("Gets the details of the user provided function app registered with a static site build") + getUserProvidedFunctionAppForStaticSiteBuild is StaticSiteUserProvidedFunctionAppARMResourceOps.Read< + StaticSiteUserProvidedFunctionAppARMResource, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Register a user provided function app with a static site build + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-put-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + #suppress "@azure-tools/typespec-azure-resource-manager/no-response-body" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @summary("Register a user provided function app with a static site build") + registerUserProvidedFunctionAppWithStaticSiteBuild is StaticSiteUserProvidedFunctionAppARMResourceOps.CreateOrUpdateAsync< + StaticSiteUserProvidedFunctionAppARMResource, + Parameters = { + /** + * 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. + */ + @query("isForced") + isForced?: boolean; + }, + Response = ArmResourceUpdatedResponse | (ArmAcceptedLroResponse> & { + @bodyRoot + _: StaticSiteUserProvidedFunctionAppARMResource; + }), + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Detach the user provided function app from the static site build + */ + @summary("Detach the user provided function app from the static site build") + detachUserProvidedFunctionAppFromStaticSiteBuild is StaticSiteUserProvidedFunctionAppARMResourceOps.DeleteSync< + StaticSiteUserProvidedFunctionAppARMResource, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Gets the details of the user provided function apps registered with a static site build + */ + @summary("Gets the details of the user provided function apps registered with a static site build") + getUserProvidedFunctionAppsForStaticSiteBuild is StaticSiteUserProvidedFunctionAppARMResourceOps.List< + StaticSiteUserProvidedFunctionAppARMResource, + Response = ArmResponse, + OverrideErrorType = DefaultErrorResponse + >; +} +#suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@armResourceOperations +interface StaticSiteUserProvidedFunctionAppARMResourceOperationGroupOps + extends Azure.ResourceManager.Legacy.LegacyOperations< + { + ...ApiVersionParameter, + ...SubscriptionIdParameter, + ...ResourceGroupParameter, + ...Azure.ResourceManager.Legacy.Provider, + + /** Name of the static site. */ + @path + @segment("staticSites") + @key + name: string, + }, + { + /** Name of the function app registered with the static site. */ + @path + @segment("userProvidedFunctionApps") + @key + functionAppName: string, + } + > {} + +#suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@armResourceOperations +interface StaticSiteUserProvidedFunctionAppARMResourceOperationGroup { + /** + * Description for Gets the details of the user provided function app registered with a static site + */ + @summary("Gets the details of the user provided function app registered with a static site") + getUserProvidedFunctionAppForStaticSite is StaticSiteUserProvidedFunctionAppARMResourceOperationGroupOps.Read< + StaticSiteUserProvidedFunctionAppARMResource, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Register a user provided function app with a static site + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-put-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + #suppress "@azure-tools/typespec-azure-resource-manager/no-response-body" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @summary("Register a user provided function app with a static site") + registerUserProvidedFunctionAppWithStaticSite is StaticSiteUserProvidedFunctionAppARMResourceOperationGroupOps.CreateOrUpdateAsync< + StaticSiteUserProvidedFunctionAppARMResource, + Parameters = { + /** + * 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. + */ + @query("isForced") + isForced?: boolean; + }, + Response = ArmResourceUpdatedResponse | (ArmAcceptedLroResponse> & { + @bodyRoot + _: StaticSiteUserProvidedFunctionAppARMResource; + }), + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Detach the user provided function app from the static site + */ + @summary("Detach the user provided function app from the static site") + detachUserProvidedFunctionAppFromStaticSite is StaticSiteUserProvidedFunctionAppARMResourceOperationGroupOps.DeleteSync< + StaticSiteUserProvidedFunctionAppARMResource, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Gets the details of the user provided function apps registered with a static site + */ + @summary("Gets the details of the user provided function apps registered with a static site") + getUserProvidedFunctionAppsForStaticSite is StaticSiteUserProvidedFunctionAppARMResourceOperationGroupOps.List< + StaticSiteUserProvidedFunctionAppARMResource, + Response = ArmResponse, + OverrideErrorType = DefaultErrorResponse + >; +} + +@@doc(StaticSiteUserProvidedFunctionAppARMResource.name, + "Name of the function app registered with the static site build." +); +@@doc(StaticSiteUserProvidedFunctionAppARMResource.properties, + "StaticSiteUserProvidedFunctionAppARMResource resource specific properties" +); +@@doc(StaticSiteUserProvidedFunctionAppARMResources.registerUserProvidedFunctionAppWithStaticSiteBuild::parameters.resource, + "A JSON representation of the user provided function app properties. See example." +); +@@doc(StaticSiteUserProvidedFunctionAppARMResourceOperationGroup.registerUserProvidedFunctionAppWithStaticSite::parameters.resource, + "A JSON representation of the user provided function app properties. See example." +); diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/SwiftVirtualNetwork.tsp b/specification/web/resource-manager/Microsoft.Web/AppService/SwiftVirtualNetwork.tsp new file mode 100644 index 000000000000..49843865f9ae --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/SwiftVirtualNetwork.tsp @@ -0,0 +1,197 @@ +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "@typespec/openapi"; +import "@typespec/rest"; +import "./models.tsp"; +import "./Site.tsp"; + +using TypeSpec.Rest; +using Azure.ResourceManager; +using TypeSpec.Http; +using TypeSpec.OpenAPI; + +namespace Microsoft.Web; +/** + * Swift Virtual Network Contract. This is used to enable the new Swift way of doing virtual network integration. + */ +@singleton("virtualNetwork") +@parentResource(Site) +model SwiftVirtualNetwork + is Azure.ResourceManager.ProxyResource { + ...ResourceNameParameter< + Resource = SwiftVirtualNetwork, + KeyName = "networkConfig", + SegmentName = "networkConfig", + NamePattern = "" + >; + + /** + * Kind of resource. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + kind?: string; +} + +@armResourceOperations +interface SwiftVirtualNetworkOps + extends Azure.ResourceManager.Legacy.LegacyOperations< + { + ...ApiVersionParameter, + ...SubscriptionIdParameter, + ...ResourceGroupParameter, + ...Azure.ResourceManager.Legacy.Provider, + + /** Name of the app. */ + @path + @segment("sites") + @key + name: string, + }, + { + /** undefined */ + @path + @segment("networkConfig") + @key + virtualNetwork: "virtualNetwork", + } + > {} + +@armResourceOperations +interface SwiftVirtualNetworks { + /** + * Description for Gets a Swift Virtual Network connection. + */ + @summary("Gets a Swift Virtual Network connection.") + getSwiftVirtualNetworkConnection is SwiftVirtualNetworkOps.Read< + SwiftVirtualNetwork, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Integrates this Web App with a Virtual Network. This requires that 1) "swiftSupported" is true when doing a GET against this resource, and 2) that the target Subnet has already been delegated, and is not + * in use by another App Service Plan other than the one this App is in. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-put-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @summary("Integrates this Web App with a Virtual Network. This requires that 1) \"swiftSupported\" is true when doing a GET against this resource, and 2) that the target Subnet has already been delegated, and is not\r\nin use by another App Service Plan other than the one this App is in.") + createOrUpdateSwiftVirtualNetworkConnectionWithCheck is SwiftVirtualNetworkOps.CreateOrUpdateSync< + SwiftVirtualNetwork, + Response = ArmResourceUpdatedResponse, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Integrates this Web App with a Virtual Network. This requires that 1) "swiftSupported" is true when doing a GET against this resource, and 2) that the target Subnet has already been delegated, and is not + * in use by another App Service Plan other than the one this App is in. + */ + @summary("Integrates this Web App with a Virtual Network. This requires that 1) \"swiftSupported\" is true when doing a GET against this resource, and 2) that the target Subnet has already been delegated, and is not\r\nin use by another App Service Plan other than the one this App is in.") + @patch(#{ implicitOptionality: false }) + updateSwiftVirtualNetworkConnectionWithCheck is SwiftVirtualNetworkOps.CustomPatchSync< + SwiftVirtualNetwork, + PatchModel = SwiftVirtualNetwork, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Deletes a Swift Virtual Network connection from an app (or deployment slot). + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @summary("Deletes a Swift Virtual Network connection from an app (or deployment slot).") + deleteSwiftVirtualNetwork is SwiftVirtualNetworkOps.DeleteSync< + SwiftVirtualNetwork, + Response = ArmDeletedResponse | ArmNotFoundResponse, + OverrideErrorType = DefaultErrorResponse + >; +} +@armResourceOperations +interface SwiftVirtualNetworkOperationGroupOps + extends Azure.ResourceManager.Legacy.LegacyOperations< + { + ...ApiVersionParameter, + ...SubscriptionIdParameter, + ...ResourceGroupParameter, + ...Azure.ResourceManager.Legacy.Provider, + + /** Name of the app. */ + @path + @segment("sites") + @key + name: string, + + /** Name of the deployment slot. If a slot is not specified, the API will get a gateway for the production slot's Virtual Network. */ + @path + @segment("slots") + @key + slot: string, + }, + { + /** undefined */ + @path + @segment("networkConfig") + @key + virtualNetwork: "virtualNetwork", + } + > {} + +@armResourceOperations +interface SwiftVirtualNetworkOperationGroup { + /** + * Description for Gets a Swift Virtual Network connection. + */ + @summary("Gets a Swift Virtual Network connection.") + getSwiftVirtualNetworkConnectionSlot is SwiftVirtualNetworkOperationGroupOps.Read< + SwiftVirtualNetwork, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Integrates this Web App with a Virtual Network. This requires that 1) "swiftSupported" is true when doing a GET against this resource, and 2) that the target Subnet has already been delegated, and is not + * in use by another App Service Plan other than the one this App is in. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-put-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @summary("Integrates this Web App with a Virtual Network. This requires that 1) \"swiftSupported\" is true when doing a GET against this resource, and 2) that the target Subnet has already been delegated, and is not\r\nin use by another App Service Plan other than the one this App is in.") + createOrUpdateSwiftVirtualNetworkConnectionWithCheckSlot is SwiftVirtualNetworkOperationGroupOps.CreateOrUpdateSync< + SwiftVirtualNetwork, + Response = ArmResourceUpdatedResponse, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Integrates this Web App with a Virtual Network. This requires that 1) "swiftSupported" is true when doing a GET against this resource, and 2) that the target Subnet has already been delegated, and is not + * in use by another App Service Plan other than the one this App is in. + */ + @summary("Integrates this Web App with a Virtual Network. This requires that 1) \"swiftSupported\" is true when doing a GET against this resource, and 2) that the target Subnet has already been delegated, and is not\r\nin use by another App Service Plan other than the one this App is in.") + @patch(#{ implicitOptionality: false }) + updateSwiftVirtualNetworkConnectionWithCheckSlot is SwiftVirtualNetworkOperationGroupOps.CustomPatchSync< + SwiftVirtualNetwork, + PatchModel = SwiftVirtualNetwork, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Deletes a Swift Virtual Network connection from an app (or deployment slot). + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @summary("Deletes a Swift Virtual Network connection from an app (or deployment slot).") + deleteSwiftVirtualNetworkSlot is SwiftVirtualNetworkOperationGroupOps.DeleteSync< + SwiftVirtualNetwork, + Response = ArmDeletedResponse | ArmNotFoundResponse, + OverrideErrorType = DefaultErrorResponse + >; +} + +@@doc(SwiftVirtualNetwork.name, ""); +@@doc(SwiftVirtualNetwork.properties, + "SwiftVirtualNetwork resource specific properties" +); +@@doc(SwiftVirtualNetworks.createOrUpdateSwiftVirtualNetworkConnectionWithCheck::parameters.resource, + "Properties of the Virtual Network connection. See example." +); +@@doc(SwiftVirtualNetworks.updateSwiftVirtualNetworkConnectionWithCheck::parameters.properties, + "Properties of the Virtual Network connection. See example." +); +@@doc(SwiftVirtualNetworkOperationGroup.createOrUpdateSwiftVirtualNetworkConnectionWithCheckSlot::parameters.resource, + "Properties of the Virtual Network connection. See example." +); +@@doc(SwiftVirtualNetworkOperationGroup.updateSwiftVirtualNetworkConnectionWithCheckSlot::parameters.properties, + "Properties of the Virtual Network connection. See example." +); diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/TriggeredJobHistory.tsp b/specification/web/resource-manager/Microsoft.Web/AppService/TriggeredJobHistory.tsp new file mode 100644 index 000000000000..ab7e8e597b8b --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/TriggeredJobHistory.tsp @@ -0,0 +1,148 @@ +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "@typespec/openapi"; +import "@typespec/rest"; +import "./models.tsp"; +import "./TriggeredWebJob.tsp"; + +using TypeSpec.Rest; +using Azure.ResourceManager; +using TypeSpec.Http; +using TypeSpec.OpenAPI; + +namespace Microsoft.Web; +/** + * Triggered Web Job History. List of Triggered Web Job Run Information elements. + */ +@parentResource(TriggeredWebJob) +model TriggeredJobHistory + is Azure.ResourceManager.ProxyResource { + ...ResourceNameParameter< + Resource = TriggeredJobHistory, + KeyName = "id", + SegmentName = "history", + NamePattern = "" + >; + + /** + * Kind of resource. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + kind?: string; +} + +@armResourceOperations +interface TriggeredJobHistoryOps + extends Azure.ResourceManager.Legacy.LegacyOperations< + { + ...ApiVersionParameter, + ...SubscriptionIdParameter, + ...ResourceGroupParameter, + ...Azure.ResourceManager.Legacy.Provider, + + /** Site name. */ + @path + @segment("sites") + @key + name: string, + + /** Name of the deployment slot. If a slot is not specified, the API uses the production slot. */ + @path + @segment("slots") + @key + slot: string, + + /** Name of Web Job. */ + @path + @segment("triggeredwebjobs") + @key + webJobName: string, + }, + { + /** History ID. */ + @path + @segment("history") + @key + id: string, + } + > {} + +@armResourceOperations +interface TriggeredJobHistories { + /** + * Description for Gets a triggered web job's history by its ID for an app, , or a deployment slot. + */ + @summary("Gets a triggered web job's history by its ID for an app, , or a deployment slot.") + getTriggeredWebJobHistorySlot is TriggeredJobHistoryOps.Read< + TriggeredJobHistory, + Response = ArmResponse | ArmNotFoundResponse, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for List a triggered web job's history for an app, or a deployment slot. + */ + @summary("List a triggered web job's history for an app, or a deployment slot.") + listTriggeredWebJobHistorySlot is TriggeredJobHistoryOps.List< + TriggeredJobHistory, + Response = ArmResponse | ArmNotFoundResponse, + OverrideErrorType = DefaultErrorResponse + >; +} +@armResourceOperations +interface TriggeredJobHistoryOperationGroupOps + extends Azure.ResourceManager.Legacy.LegacyOperations< + { + ...ApiVersionParameter, + ...SubscriptionIdParameter, + ...ResourceGroupParameter, + ...Azure.ResourceManager.Legacy.Provider, + + /** Site name. */ + @path + @segment("sites") + @key + name: string, + + /** Name of Web Job. */ + @path + @segment("triggeredwebjobs") + @key + webJobName: string, + }, + { + /** History ID. */ + @path + @segment("history") + @key + id: string, + } + > {} + +@armResourceOperations +interface TriggeredJobHistoryOperationGroup { + /** + * Description for Gets a triggered web job's history by its ID for an app, , or a deployment slot. + */ + @summary("Gets a triggered web job's history by its ID for an app, , or a deployment slot.") + getTriggeredWebJobHistory is TriggeredJobHistoryOperationGroupOps.Read< + TriggeredJobHistory, + Response = ArmResponse | ArmNotFoundResponse, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for List a triggered web job's history for an app, or a deployment slot. + */ + @summary("List a triggered web job's history for an app, or a deployment slot.") + listTriggeredWebJobHistory is TriggeredJobHistoryOperationGroupOps.List< + TriggeredJobHistory, + Response = ArmResponse | ArmNotFoundResponse, + OverrideErrorType = DefaultErrorResponse + >; +} + +@@doc(TriggeredJobHistory.name, "History ID."); +@@doc(TriggeredJobHistory.properties, + "TriggeredJobHistory resource specific properties" +); diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/TriggeredWebJob.tsp b/specification/web/resource-manager/Microsoft.Web/AppService/TriggeredWebJob.tsp new file mode 100644 index 000000000000..c98275618a93 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/TriggeredWebJob.tsp @@ -0,0 +1,184 @@ +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "@typespec/openapi"; +import "@typespec/rest"; +import "./models.tsp"; +import "./Site.tsp"; + +using TypeSpec.Rest; +using Azure.ResourceManager; +using TypeSpec.Http; +using TypeSpec.OpenAPI; + +namespace Microsoft.Web; +/** + * Triggered Web Job Information. + */ +@parentResource(Site) +model TriggeredWebJob + is Azure.ResourceManager.ProxyResource { + ...ResourceNameParameter< + Resource = TriggeredWebJob, + KeyName = "webJobName", + SegmentName = "triggeredwebjobs", + NamePattern = "" + >; + + /** + * Kind of resource. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + kind?: string; +} + +@armResourceOperations +interface TriggeredWebJobOps + extends Azure.ResourceManager.Legacy.LegacyOperations< + { + ...ApiVersionParameter, + ...SubscriptionIdParameter, + ...ResourceGroupParameter, + ...Azure.ResourceManager.Legacy.Provider, + + /** Site name. */ + @path + @segment("sites") + @key + name: string, + + /** Name of the deployment slot. If a slot is not specified, the API uses the production slot. */ + @path + @segment("slots") + @key + slot: string, + }, + { + /** Name of Web Job. */ + @path + @segment("triggeredwebjobs") + @key + webJobName: string, + } + > {} + +@armResourceOperations +interface TriggeredWebJobs { + /** + * Description for Gets a triggered web job by its ID for an app, or a deployment slot. + */ + @summary("Gets a triggered web job by its ID for an app, or a deployment slot.") + getTriggeredWebJobSlot is TriggeredWebJobOps.Read< + TriggeredWebJob, + Response = ArmResponse | ArmNotFoundResponse, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Delete a triggered web job by its ID for an app, or a deployment slot. + */ + @summary("Delete a triggered web job by its ID for an app, or a deployment slot.") + deleteTriggeredWebJobSlot is TriggeredWebJobOps.DeleteSync< + TriggeredWebJob, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for List triggered web jobs for an app, or a deployment slot. + */ + @summary("List triggered web jobs for an app, or a deployment slot.") + listTriggeredWebJobsSlot is TriggeredWebJobOps.List< + TriggeredWebJob, + Response = ArmResponse, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Run a triggered web job for an app, or a deployment slot. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-post-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @summary("Run a triggered web job for an app, or a deployment slot.") + @action("run") + runTriggeredWebJobSlot is TriggeredWebJobOps.ActionSync< + TriggeredWebJob, + void, + { + @body body: void; + } | ArmNotFoundResponse, + OverrideErrorType = DefaultErrorResponse + >; +} +@armResourceOperations +interface TriggeredWebJobOperationGroupOps + extends Azure.ResourceManager.Legacy.LegacyOperations< + { + ...ApiVersionParameter, + ...SubscriptionIdParameter, + ...ResourceGroupParameter, + ...Azure.ResourceManager.Legacy.Provider, + + /** Site name. */ + @path + @segment("sites") + @key + name: string, + }, + { + /** Name of Web Job. */ + @path + @segment("triggeredwebjobs") + @key + webJobName: string, + } + > {} + +@armResourceOperations +interface TriggeredWebJobOperationGroup { + /** + * Description for Gets a triggered web job by its ID for an app, or a deployment slot. + */ + @summary("Gets a triggered web job by its ID for an app, or a deployment slot.") + getTriggeredWebJob is TriggeredWebJobOperationGroupOps.Read< + TriggeredWebJob, + Response = ArmResponse | ArmNotFoundResponse, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Delete a triggered web job by its ID for an app, or a deployment slot. + */ + @summary("Delete a triggered web job by its ID for an app, or a deployment slot.") + deleteTriggeredWebJob is TriggeredWebJobOperationGroupOps.DeleteSync< + TriggeredWebJob, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for List triggered web jobs for an app, or a deployment slot. + */ + @summary("List triggered web jobs for an app, or a deployment slot.") + listTriggeredWebJobs is TriggeredWebJobOperationGroupOps.List< + TriggeredWebJob, + Response = ArmResponse, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Run a triggered web job for an app, or a deployment slot. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-post-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @summary("Run a triggered web job for an app, or a deployment slot.") + @action("run") + runTriggeredWebJob is TriggeredWebJobOperationGroupOps.ActionSync< + TriggeredWebJob, + void, + { + @body body: void; + } | ArmNotFoundResponse, + OverrideErrorType = DefaultErrorResponse + >; +} + +@@doc(TriggeredWebJob.name, "Name of Web Job."); +@@doc(TriggeredWebJob.properties, + "TriggeredWebJob resource specific properties" +); diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/User.tsp b/specification/web/resource-manager/Microsoft.Web/AppService/User.tsp new file mode 100644 index 000000000000..c567a689e8be --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/User.tsp @@ -0,0 +1,67 @@ +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "@typespec/openapi"; +import "@typespec/rest"; +import "./models.tsp"; + +using TypeSpec.Rest; +using Azure.ResourceManager; +using TypeSpec.Http; +using TypeSpec.OpenAPI; + +namespace Microsoft.Web; +/** + * User credentials used for publishing activity. + */ +@singleton("web") +@tenantResource +model User is Azure.ResourceManager.ProxyResource { + ...ResourceNameParameter< + Resource = User, + KeyName = "publishingUser", + SegmentName = "publishingUsers", + NamePattern = "" + >; + + /** + * Kind of resource. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + kind?: string; +} + +#suppress "@azure-tools/typespec-azure-resource-manager/no-resource-delete-operation" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@armResourceOperations +interface Users { + /** + * Description for Gets publishing user + */ + #suppress "@azure-tools/typespec-azure-core/no-openapi" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @operationId("GetPublishingUser") + @summary("Gets publishing user") + getPublishingUser is ArmResourceRead< + User, + BaseParameters = Azure.ResourceManager.Foundations.TenantBaseParameters, + Error = DefaultErrorResponse + >; + + /** + * Description for Updates publishing user + */ + #suppress "@azure-tools/typespec-azure-core/no-openapi" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + #suppress "@azure-tools/typespec-azure-resource-manager/arm-put-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @summary("Updates publishing user") + @operationId("UpdatePublishingUser") + updatePublishingUser is ArmResourceCreateOrReplaceSync< + User, + BaseParameters = Azure.ResourceManager.Foundations.TenantBaseParameters, + Response = ArmResourceUpdatedResponse, + Error = DefaultErrorResponse + >; +} + +@@doc(User.name, ""); +@@doc(User.properties, "User resource specific properties"); +@@doc(Users.updatePublishingUser::parameters.resource, + "Details of publishing user" +); diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/VnetGateway.tsp b/specification/web/resource-manager/Microsoft.Web/AppService/VnetGateway.tsp new file mode 100644 index 000000000000..5aa3e6f068c5 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/VnetGateway.tsp @@ -0,0 +1,241 @@ +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "@typespec/openapi"; +import "@typespec/rest"; +import "./models.tsp"; +import "./VnetInfoResource.tsp"; + +using TypeSpec.Rest; +using Azure.ResourceManager; +using TypeSpec.Http; +using TypeSpec.OpenAPI; + +namespace Microsoft.Web; +/** + * The Virtual Network gateway contract. This is used to give the Virtual Network gateway access to the VPN package. + */ +@parentResource(VnetInfoResource) +model VnetGateway + is Azure.ResourceManager.ProxyResource { + ...ResourceNameParameter< + Resource = VnetGateway, + KeyName = "gatewayName", + SegmentName = "gateways", + NamePattern = "" + >; + + /** + * Kind of resource. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + kind?: string; +} + +@armResourceOperations +interface VnetGatewayOps + extends Azure.ResourceManager.Legacy.LegacyOperations< + { + ...ApiVersionParameter, + ...SubscriptionIdParameter, + ...ResourceGroupParameter, + ...Azure.ResourceManager.Legacy.Provider, + + /** Name of the App Service plan. */ + @path + @segment("serverfarms") + @key + name: string, + + /** Name of the Virtual Network. */ + @path + @segment("virtualNetworkConnections") + @key + vnetName: string, + }, + { + /** Name of the gateway. Only the 'primary' gateway is supported. */ + @path + @segment("gateways") + @key + gatewayName: string, + } + > {} + +@armResourceOperations +interface VnetGateways { + /** + * Description for Get a Virtual Network gateway. + */ + @summary("Get a Virtual Network gateway.") + getVnetGateway is VnetGatewayOps.Read< + VnetGateway, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Update a Virtual Network gateway. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-put-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @summary("Update a Virtual Network gateway.") + updateVnetGateway is VnetGatewayOps.CreateOrUpdateSync< + VnetGateway, + Response = ArmResourceUpdatedResponse, + OverrideErrorType = DefaultErrorResponse + >; +} +@armResourceOperations +interface VnetGatewayOperationGroupOps + extends Azure.ResourceManager.Legacy.LegacyOperations< + { + ...ApiVersionParameter, + ...SubscriptionIdParameter, + ...ResourceGroupParameter, + ...Azure.ResourceManager.Legacy.Provider, + + /** Name of the app. */ + @path + @segment("sites") + @key + name: string, + + /** Name of the deployment slot. If a slot is not specified, the API will get a gateway for the production slot's Virtual Network. */ + @path + @segment("slots") + @key + slot: string, + + /** Name of the Virtual Network. */ + @path + @segment("virtualNetworkConnections") + @key + vnetName: string, + }, + { + /** Name of the gateway. Currently, the only supported string is "primary". */ + @path + @segment("gateways") + @key + gatewayName: string, + } + > {} + +@armResourceOperations +interface VnetGatewayOperationGroup { + /** + * Description for Gets an app's Virtual Network gateway. + */ + @summary("Gets an app's Virtual Network gateway.") + getVnetConnectionGatewaySlot is VnetGatewayOperationGroupOps.Read< + VnetGateway, + Response = ArmResponse | ArmNotFoundResponse, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Adds a gateway to a connected Virtual Network (PUT) or updates it (PATCH). + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-put-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @summary("Adds a gateway to a connected Virtual Network (PUT) or updates it (PATCH).") + createOrUpdateVnetConnectionGatewaySlot is VnetGatewayOperationGroupOps.CreateOrUpdateSync< + VnetGateway, + Response = ArmResourceUpdatedResponse, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Adds a gateway to a connected Virtual Network (PUT) or updates it (PATCH). + */ + @summary("Adds a gateway to a connected Virtual Network (PUT) or updates it (PATCH).") + @patch(#{ implicitOptionality: false }) + updateVnetConnectionGatewaySlot is VnetGatewayOperationGroupOps.CustomPatchSync< + VnetGateway, + PatchModel = VnetGateway, + OverrideErrorType = DefaultErrorResponse + >; +} +@armResourceOperations +interface VnetConnectionGatewayOperationGroupOps + extends Azure.ResourceManager.Legacy.LegacyOperations< + { + ...ApiVersionParameter, + ...SubscriptionIdParameter, + ...ResourceGroupParameter, + ...Azure.ResourceManager.Legacy.Provider, + + /** Name of the app. */ + @path + @segment("sites") + @key + name: string, + + /** Name of the Virtual Network. */ + @path + @segment("virtualNetworkConnections") + @key + vnetName: string, + }, + { + /** Name of the gateway. Currently, the only supported string is "primary". */ + @path + @segment("gateways") + @key + gatewayName: string, + } + > {} + +#suppress "@azure-tools/typespec-azure-resource-manager/no-resource-delete-operation" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@armResourceOperations +interface VnetConnectionGatewayOperationGroup { + /** + * Description for Gets an app's Virtual Network gateway. + */ + @summary("Gets an app's Virtual Network gateway.") + getVnetConnectionGateway is VnetConnectionGatewayOperationGroupOps.Read< + VnetGateway, + Response = ArmResponse | ArmNotFoundResponse, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Adds a gateway to a connected Virtual Network (PUT) or updates it (PATCH). + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-put-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @summary("Adds a gateway to a connected Virtual Network (PUT) or updates it (PATCH).") + createOrUpdateVnetConnectionGateway is VnetConnectionGatewayOperationGroupOps.CreateOrUpdateSync< + VnetGateway, + Response = ArmResourceUpdatedResponse, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Adds a gateway to a connected Virtual Network (PUT) or updates it (PATCH). + */ + @summary("Adds a gateway to a connected Virtual Network (PUT) or updates it (PATCH).") + @patch(#{ implicitOptionality: false }) + updateVnetConnectionGateway is VnetConnectionGatewayOperationGroupOps.CustomPatchSync< + VnetGateway, + PatchModel = VnetGateway, + Response = ArmResponse, + OverrideErrorType = DefaultErrorResponse + >; +} + +@@doc(VnetGateway.name, + "Name of the gateway. Only the 'primary' gateway is supported." +); +@@doc(VnetGateway.properties, "VnetGateway resource specific properties"); +@@doc(VnetGateways.updateVnetGateway::parameters.resource, + "Definition of the gateway." +); +@@doc(VnetGatewayOperationGroup.createOrUpdateVnetConnectionGatewaySlot::parameters.resource, + "The properties to update this gateway with." +); +@@doc(VnetGatewayOperationGroup.updateVnetConnectionGatewaySlot::parameters.properties, + "The properties to update this gateway with." +); +@@doc(VnetConnectionGatewayOperationGroup.createOrUpdateVnetConnectionGateway::parameters.resource, + "The properties to update this gateway with." +); +@@doc(VnetConnectionGatewayOperationGroup.updateVnetConnectionGateway::parameters.properties, + "The properties to update this gateway with." +); diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/VnetInfoResource.tsp b/specification/web/resource-manager/Microsoft.Web/AppService/VnetInfoResource.tsp new file mode 100644 index 000000000000..9beb666b1fa5 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/VnetInfoResource.tsp @@ -0,0 +1,256 @@ +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "@typespec/openapi"; +import "@typespec/rest"; +import "./models.tsp"; +import "./AppServicePlan.tsp"; + +using TypeSpec.Rest; +using Azure.ResourceManager; +using TypeSpec.Http; +using TypeSpec.OpenAPI; + +namespace Microsoft.Web; +/** + * Virtual Network information ARM resource. + */ +@parentResource(AppServicePlan) +model VnetInfoResource is Azure.ResourceManager.ProxyResource { + ...ResourceNameParameter< + Resource = VnetInfoResource, + KeyName = "vnetName", + SegmentName = "virtualNetworkConnections", + NamePattern = "" + >; + + /** + * Kind of resource. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + kind?: string; +} + +@armResourceOperations +interface VnetInfoResourceOps + extends Azure.ResourceManager.Legacy.LegacyOperations< + { + ...ApiVersionParameter, + ...SubscriptionIdParameter, + ...ResourceGroupParameter, + ...Azure.ResourceManager.Legacy.Provider, + + /** Name of the App Service plan. */ + @path + @segment("serverfarms") + @key + name: string, + }, + { + /** Name of the Virtual Network. */ + @path + @segment("virtualNetworkConnections") + @key + vnetName: string, + } + > {} + +@armResourceOperations +interface VnetInfoResources { + /** + * Description for Get a Virtual Network associated with an App Service plan. + */ + @summary("Get a Virtual Network associated with an App Service plan.") + getVnetFromServerFarm is VnetInfoResourceOps.Read< + VnetInfoResource, + Response = ArmResponse | ArmNotFoundResponse, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Get all Virtual Networks associated with an App Service plan. + */ + @summary("Get all Virtual Networks associated with an App Service plan.") + listVnets is VnetInfoResourceOps.ListSinglePage< + VnetInfoResource, + Response = ArmResponse, + OverrideErrorType = DefaultErrorResponse + >; +} +@armResourceOperations +interface VnetInfoResourceOperationGroupOps + extends Azure.ResourceManager.Legacy.LegacyOperations< + { + ...ApiVersionParameter, + ...SubscriptionIdParameter, + ...ResourceGroupParameter, + ...Azure.ResourceManager.Legacy.Provider, + + /** Name of the app. */ + @path + @segment("sites") + @key + name: string, + + /** Name of the deployment slot. If a slot is not specified, the API will get the named virtual network for the production slot. */ + @path + @segment("slots") + @key + slot: string, + }, + { + /** Name of the virtual network. */ + @path + @segment("virtualNetworkConnections") + @key + vnetName: string, + } + > {} + +@armResourceOperations +interface VnetInfoResourceOperationGroup { + /** + * Description for Gets a virtual network the app (or deployment slot) is connected to by name. + */ + @summary("Gets a virtual network the app (or deployment slot) is connected to by name.") + getVnetConnectionSlot is VnetInfoResourceOperationGroupOps.Read< + VnetInfoResource, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Adds a Virtual Network connection to an app or slot (PUT) or updates the connection properties (PATCH). + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-put-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @summary("Adds a Virtual Network connection to an app or slot (PUT) or updates the connection properties (PATCH).") + createOrUpdateVnetConnectionSlot is VnetInfoResourceOperationGroupOps.CreateOrUpdateSync< + VnetInfoResource, + Response = ArmResourceUpdatedResponse, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Adds a Virtual Network connection to an app or slot (PUT) or updates the connection properties (PATCH). + */ + @summary("Adds a Virtual Network connection to an app or slot (PUT) or updates the connection properties (PATCH).") + @patch(#{ implicitOptionality: false }) + updateVnetConnectionSlot is VnetInfoResourceOperationGroupOps.CustomPatchSync< + VnetInfoResource, + PatchModel = VnetInfoResource, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Deletes a connection from an app (or deployment slot to a named virtual network. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @summary("Deletes a connection from an app (or deployment slot to a named virtual network.") + deleteVnetConnectionSlot is VnetInfoResourceOperationGroupOps.DeleteSync< + VnetInfoResource, + Response = ArmDeletedResponse | ArmNotFoundResponse, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Gets the virtual networks the app (or deployment slot) is connected to. + */ + @summary("Gets the virtual networks the app (or deployment slot) is connected to.") + listVnetConnectionsSlot is VnetInfoResourceOperationGroupOps.ListSinglePage< + VnetInfoResource, + Response = ArmResponse, + OverrideErrorType = DefaultErrorResponse + >; +} +@armResourceOperations +interface VnetConnectionOperationGroupOps + extends Azure.ResourceManager.Legacy.LegacyOperations< + { + ...ApiVersionParameter, + ...SubscriptionIdParameter, + ...ResourceGroupParameter, + ...Azure.ResourceManager.Legacy.Provider, + + /** Name of the app. */ + @path + @segment("sites") + @key + name: string, + }, + { + /** Name of the virtual network. */ + @path + @segment("virtualNetworkConnections") + @key + vnetName: string, + } + > {} + +@armResourceOperations +interface VnetConnectionOperationGroup { + /** + * Description for Gets a virtual network the app (or deployment slot) is connected to by name. + */ + @summary("Gets a virtual network the app (or deployment slot) is connected to by name.") + getVnetConnection is VnetConnectionOperationGroupOps.Read< + VnetInfoResource, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Adds a Virtual Network connection to an app or slot (PUT) or updates the connection properties (PATCH). + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-put-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @summary("Adds a Virtual Network connection to an app or slot (PUT) or updates the connection properties (PATCH).") + createOrUpdateVnetConnection is VnetConnectionOperationGroupOps.CreateOrUpdateSync< + VnetInfoResource, + Response = ArmResourceUpdatedResponse, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Adds a Virtual Network connection to an app or slot (PUT) or updates the connection properties (PATCH). + */ + @summary("Adds a Virtual Network connection to an app or slot (PUT) or updates the connection properties (PATCH).") + @patch(#{ implicitOptionality: false }) + updateVnetConnection is VnetConnectionOperationGroupOps.CustomPatchSync< + VnetInfoResource, + PatchModel = VnetInfoResource, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Deletes a connection from an app (or deployment slot to a named virtual network. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @summary("Deletes a connection from an app (or deployment slot to a named virtual network.") + deleteVnetConnection is VnetConnectionOperationGroupOps.DeleteSync< + VnetInfoResource, + Response = ArmDeletedResponse | ArmNotFoundResponse, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Gets the virtual networks the app (or deployment slot) is connected to. + */ + @summary("Gets the virtual networks the app (or deployment slot) is connected to.") + @segment("virtualNetworkConnections") + listVnetConnections is VnetConnectionOperationGroupOps.ListSinglePage< + VnetInfoResource, + Response = ArmResponse, + OverrideErrorType = DefaultErrorResponse + >; +} + +@@doc(VnetInfoResource.name, "Name of the Virtual Network."); +@@doc(VnetInfoResource.properties, "Core resource properties"); +@@doc(VnetInfoResourceOperationGroup.createOrUpdateVnetConnectionSlot::parameters.resource, + "Properties of the Virtual Network connection. See example." +); +@@doc(VnetInfoResourceOperationGroup.updateVnetConnectionSlot::parameters.properties, + "Properties of the Virtual Network connection. See example." +); +@@doc(VnetConnectionOperationGroup.createOrUpdateVnetConnection::parameters.resource, + "Properties of the Virtual Network connection. See example." +); +@@doc(VnetConnectionOperationGroup.updateVnetConnection::parameters.properties, + "Properties of the Virtual Network connection. See example." +); diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/VnetRoute.tsp b/specification/web/resource-manager/Microsoft.Web/AppService/VnetRoute.tsp new file mode 100644 index 000000000000..1178c071ce4b --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/VnetRoute.tsp @@ -0,0 +1,126 @@ +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "@typespec/openapi"; +import "@typespec/rest"; +import "./models.tsp"; +import "./VnetInfoResource.tsp"; + +using TypeSpec.Rest; +using Azure.ResourceManager; +using TypeSpec.Http; +using TypeSpec.OpenAPI; + +namespace Microsoft.Web; +/** + * Virtual Network route contract used to pass routing information for a Virtual Network. + */ +@parentResource(VnetInfoResource) +model VnetRoute is Azure.ResourceManager.ProxyResource { + ...ResourceNameParameter< + Resource = VnetRoute, + KeyName = "routeName", + SegmentName = "routes", + NamePattern = "" + >; + + /** + * Kind of resource. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + kind?: string; +} +@armResourceOperations +interface VnetRoutesOps + extends Azure.ResourceManager.Legacy.LegacyOperations< + { + ...ApiVersionParameter, + ...SubscriptionIdParameter, + ...ResourceGroupParameter, + ...Azure.ResourceManager.Legacy.Provider, + + /** Name of the App Service plan. */ + @path + @segment("serverfarms") + @key + name: string, + + /** Name of the Virtual Network. */ + @path + @segment("virtualNetworkConnections") + @key + vnetName: string, + }, + { + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + @segment("routes") + @key + routeName: string, + } + > {} + +@armResourceOperations +interface VnetRoutes { + /** + * Description for Get a Virtual Network route in an App Service plan. + */ + @summary("Get a Virtual Network route in an App Service plan.") + getRouteForVnet is ArmResourceRead< + VnetRoute, + Response = ArmResponse | ArmNotFoundResponse, + Error = DefaultErrorResponse + >; + + /** + * Description for Create or update a Virtual Network route in an App Service plan. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-put-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @summary("Create or update a Virtual Network route in an App Service plan.") + createOrUpdateVnetRoute is ArmResourceCreateOrReplaceSync< + VnetRoute, + Response = ArmResourceUpdatedResponse | ArmBadRequestResponse | ArmNotFoundResponse, + Error = DefaultErrorResponse + >; + + /** + * Description for Create or update a Virtual Network route in an App Service plan. + */ + @summary("Create or update a Virtual Network route in an App Service plan.") + @patch(#{ implicitOptionality: false }) + updateVnetRoute is ArmCustomPatchSync< + VnetRoute, + PatchModel = VnetRoute, + Response = ArmResourceUpdatedResponse | ArmBadRequestResponse | ArmNotFoundResponse, + Error = DefaultErrorResponse + >; + + /** + * Description for Delete a Virtual Network route in an App Service plan. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @summary("Delete a Virtual Network route in an App Service plan.") + deleteVnetRoute is ArmResourceDeleteSync< + VnetRoute, + Response = ArmDeletedResponse | ArmNotFoundResponse, + Error = DefaultErrorResponse + >; + + /** + * Description for Get all routes that are associated with a Virtual Network in an App Service plan. + */ + @summary("Get all routes that are associated with a Virtual Network in an App Service plan.") + listRoutesForVnet is VnetRoutesOps.ListSinglePage< + VnetRoute, + Response = ArmResponse, + OverrideErrorType = DefaultErrorResponse + >; +} + +@@doc(VnetRoute.name, "Name of the Virtual Network route."); +@@doc(VnetRoute.properties, "VnetRoute resource specific properties"); +@@doc(VnetRoutes.createOrUpdateVnetRoute::parameters.resource, + "Definition of the Virtual Network route." +); +@@doc(VnetRoutes.updateVnetRoute::parameters.properties, + "Definition of the Virtual Network route." +); diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/WebJob.tsp b/specification/web/resource-manager/Microsoft.Web/AppService/WebJob.tsp new file mode 100644 index 000000000000..c7ff3f8cda6e --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/WebJob.tsp @@ -0,0 +1,131 @@ +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "@typespec/openapi"; +import "@typespec/rest"; +import "./models.tsp"; +import "./Site.tsp"; + +using TypeSpec.Rest; +using Azure.ResourceManager; +using TypeSpec.Http; +using TypeSpec.OpenAPI; + +namespace Microsoft.Web; +/** + * Web Job Information. + */ +@parentResource(Site) +model WebJob is Azure.ResourceManager.ProxyResource { + ...ResourceNameParameter< + Resource = WebJob, + KeyName = "webJobName", + SegmentName = "webjobs", + NamePattern = "" + >; + + /** + * Kind of resource. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + kind?: string; +} + +@armResourceOperations +interface WebJobOps + extends Azure.ResourceManager.Legacy.LegacyOperations< + { + ...ApiVersionParameter, + ...SubscriptionIdParameter, + ...ResourceGroupParameter, + ...Azure.ResourceManager.Legacy.Provider, + + /** Site name. */ + @path + @segment("sites") + @key + name: string, + + /** Name of the deployment slot. If a slot is not specified, the API returns deployments for the production slot. */ + @path + @segment("slots") + @key + slot: string, + }, + { + /** Name of the web job. */ + @path + @segment("webjobs") + @key + webJobName: string, + } + > {} + +@armResourceOperations +interface WebJobs { + /** + * Description for Get webjob information for an app, or a deployment slot. + */ + @summary("Get webjob information for an app, or a deployment slot.") + getWebJobSlot is WebJobOps.Read< + WebJob, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for List webjobs for an app, or a deployment slot. + */ + @summary("List webjobs for an app, or a deployment slot.") + listWebJobsSlot is WebJobOps.List< + WebJob, + Response = ArmResponse, + OverrideErrorType = DefaultErrorResponse + >; +} +@armResourceOperations +interface WebJobOperationGroupOps + extends Azure.ResourceManager.Legacy.LegacyOperations< + { + ...ApiVersionParameter, + ...SubscriptionIdParameter, + ...ResourceGroupParameter, + ...Azure.ResourceManager.Legacy.Provider, + + /** Site name. */ + @path + @segment("sites") + @key + name: string, + }, + { + /** Name of the web job. */ + @path + @segment("webjobs") + @key + webJobName: string, + } + > {} + +@armResourceOperations +interface WebJobOperationGroup { + /** + * Description for Get webjob information for an app, or a deployment slot. + */ + @summary("Get webjob information for an app, or a deployment slot.") + getWebJob is WebJobOperationGroupOps.Read< + WebJob, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for List webjobs for an app, or a deployment slot. + */ + @summary("List webjobs for an app, or a deployment slot.") + listWebJobs is WebJobOperationGroupOps.List< + WebJob, + Response = ArmResponse, + OverrideErrorType = DefaultErrorResponse + >; +} + +@@doc(WebJob.name, "Name of the web job."); +@@doc(WebJob.properties, "WebJob resource specific properties"); diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/WebSiteInstanceStatus.tsp b/specification/web/resource-manager/Microsoft.Web/AppService/WebSiteInstanceStatus.tsp new file mode 100644 index 000000000000..f57bb04fb5cc --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/WebSiteInstanceStatus.tsp @@ -0,0 +1,132 @@ +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "@typespec/openapi"; +import "@typespec/rest"; +import "./models.tsp"; +import "./Site.tsp"; + +using TypeSpec.Rest; +using Azure.ResourceManager; +using TypeSpec.Http; +using TypeSpec.OpenAPI; + +namespace Microsoft.Web; + +@parentResource(Site) +model WebSiteInstanceStatus + is Azure.ResourceManager.ProxyResource { + ...ResourceNameParameter< + Resource = WebSiteInstanceStatus, + KeyName = "instanceId", + SegmentName = "instances", + NamePattern = "" + >; + + /** + * Kind of resource. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + kind?: string; +} + +@armResourceOperations +interface WebSiteInstanceStatusOps + extends Azure.ResourceManager.Legacy.LegacyOperations< + { + ...ApiVersionParameter, + ...SubscriptionIdParameter, + ...ResourceGroupParameter, + ...Azure.ResourceManager.Legacy.Provider, + + /** Name of the app. */ + @path + @segment("sites") + @key + name: string, + }, + { + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + @segment("instances") + @key + instanceId: string, + } + > {} + +@armResourceOperations +interface WebSiteInstanceStatuses { + /** + * Description for Gets all scale-out instances of an app. + */ + @summary("Gets all scale-out instances of an app.") + getInstanceInfo is WebSiteInstanceStatusOps.Read< + WebSiteInstanceStatus, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Gets all scale-out instances of an app. + */ + @summary("Gets all scale-out instances of an app.") + listInstanceIdentifiers is WebSiteInstanceStatusOps.List< + WebSiteInstanceStatus, + Response = ArmResponse, + OverrideErrorType = DefaultErrorResponse + >; +} +@armResourceOperations +interface WebSiteInstanceStatusOperationGroupOps + extends Azure.ResourceManager.Legacy.LegacyOperations< + { + ...ApiVersionParameter, + ...SubscriptionIdParameter, + ...ResourceGroupParameter, + ...Azure.ResourceManager.Legacy.Provider, + + /** Name of the app. */ + @path + @segment("sites") + @key + name: string, + + /** Name of the deployment slot. If a slot is not specified, the API gets the production slot instances. */ + @path + @segment("slots") + @key + slot: string, + }, + { + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + @segment("instances") + @key + instanceId: string, + } + > {} + +@armResourceOperations +interface WebSiteInstanceStatusOperationGroup { + /** + * Description for Gets all scale-out instances of an app. + */ + @summary("Gets all scale-out instances of an app.") + getInstanceInfoSlot is WebSiteInstanceStatusOperationGroupOps.Read< + WebSiteInstanceStatus, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Gets all scale-out instances of an app. + */ + @summary("Gets all scale-out instances of an app.") + listInstanceIdentifiersSlot is WebSiteInstanceStatusOperationGroupOps.List< + WebSiteInstanceStatus, + Response = ArmResponse, + OverrideErrorType = DefaultErrorResponse + >; +} + +@@doc(WebSiteInstanceStatus.name, ""); +@@doc(WebSiteInstanceStatus.properties, + "WebSiteInstanceStatus resource specific properties" +); diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/WorkerPoolResource.tsp b/specification/web/resource-manager/Microsoft.Web/AppService/WorkerPoolResource.tsp new file mode 100644 index 000000000000..5ee5d1d9681d --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/WorkerPoolResource.tsp @@ -0,0 +1,378 @@ +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "@typespec/openapi"; +import "@typespec/rest"; +import "./models.tsp"; +import "./AppServiceEnvironmentResource.tsp"; + +using TypeSpec.Rest; +using Azure.ResourceManager; +using TypeSpec.Http; +using TypeSpec.OpenAPI; + +namespace Microsoft.Web; +/** + * Worker pool of an App Service Environment ARM resource. + */ +@singleton("default") +@parentResource(AppServiceEnvironmentResource) +model WorkerPoolResource is Azure.ResourceManager.ProxyResource { + ...ResourceNameParameter< + Resource = WorkerPoolResource, + KeyName = "multiRolePool", + SegmentName = "multiRolePools", + NamePattern = "" + >; + + /** + * Description of a SKU for a scalable resource. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + sku?: SkuDescription; + + /** Kind of resource. If the resource is an app, you can refer to https://github.com/Azure/app-service-linux-docs/blob/master/Things_You_Should_Know/kind_property.md#app-service-resource-kind-reference for details supported values for kind. */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + kind?: string; +} + +@armResourceOperations +interface WorkerPoolResourceOps + extends Azure.ResourceManager.Legacy.LegacyOperations< + { + ...ApiVersionParameter, + ...SubscriptionIdParameter, + ...ResourceGroupParameter, + ...Azure.ResourceManager.Legacy.Provider, + + /** Name of the App Service Environment. */ + @path + @segment("hostingEnvironments") + @key + name: string, + }, + { + /** undefined */ + @path + @segment("multiRolePools") + @key + default: "default", + } + > {} + +alias WorkerPoolActionParamsOps = Azure.ResourceManager.Legacy.RoutedOperations< + { + ...ApiVersionParameter; + ...SubscriptionIdParameter; + ...ResourceGroupParameter; + }, + { + /** Name of the App Service Environment. */ + @path + @segment("hostingEnvironments") + @key + name: string; + }, + ResourceRoute = #{ + route: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.Web/hostingEnvironments", + } +>; + +alias WorkerPoolInstanceMetricActionParamsOps = Azure.ResourceManager.Legacy.RoutedOperations< + { + ...ApiVersionParameter; + ...SubscriptionIdParameter; + ...ResourceGroupParameter; + + /** Name of the App Service Environment. */ + @path + @segment("hostingEnvironments") + @key + name: string; + }, + { + /** Name of the worker pool. */ + @path + @segment("workerPools") + @key + workerPoolName: string; + }, + ResourceRoute = #{ + route: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.Web/hostingEnvironments/{name}/workerPools", + } +>; + +#suppress "@azure-tools/typespec-azure-resource-manager/no-resource-delete-operation" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@armResourceOperations(#{ allowStaticRoutes: true }) +interface WorkerPoolResources { + /** + * Description for Get properties of a multi-role pool. + */ + @summary("Get properties of a multi-role pool.") + getMultiRolePool is WorkerPoolResourceOps.Read< + WorkerPoolResource, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Create or update a multi-role pool. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-put-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + #suppress "@azure-tools/typespec-azure-resource-manager/no-response-body" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @summary("Create or update a multi-role pool.") + createOrUpdateMultiRolePool is WorkerPoolResourceOps.CreateOrUpdateAsync< + WorkerPoolResource, + Response = ArmResourceUpdatedResponse | (ArmAcceptedLroResponse> & { + @bodyRoot + _: WorkerPoolResource; + }), + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Create or update a multi-role pool. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/no-response-body" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + #suppress "@azure-tools/typespec-azure-resource-manager/lro-location-header" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @summary("Create or update a multi-role pool.") + @patch(#{ implicitOptionality: false }) + updateMultiRolePool is WorkerPoolResourceOps.CustomPatchSync< + WorkerPoolResource, + PatchModel = WorkerPoolResource, + Response = ArmResponse | (AcceptedResponse & { + @bodyRoot + _: WorkerPoolResource; + }), + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Get all multi-role pools. + */ + @summary("Get all multi-role pools.") + @segment("multiRolePools") + listMultiRolePools is WorkerPoolResourceOps.List< + WorkerPoolResource, + Response = ArmResponse, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Get metric definitions for a specific instance of a multi-role pool of an App Service Environment. + */ + @summary("Get metric definitions for a specific instance of a multi-role pool of an App Service Environment.") + @get + @list + @route("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.Web/hostingEnvironments/{name}/multiRolePools/default/instances/{instance}/metricdefinitions") + listMultiRolePoolInstanceMetricDefinitions is WorkerPoolActionParamsOps.ActionSync< + WorkerPoolResource, + void, + ArmResponse, + Parameters = { + /** + * Name of the instance in the multi-role pool. + */ + @path + instance: string; + }, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Get metric definitions for a multi-role pool of an App Service Environment. + */ + @summary("Get metric definitions for a multi-role pool of an App Service Environment.") + @get + @action("metricdefinitions") + @list + listMultiRoleMetricDefinitions is WorkerPoolResourceOps.ActionSync< + WorkerPoolResource, + void, + ArmResponse, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Get available SKUs for scaling a multi-role pool. + */ + @summary("Get available SKUs for scaling a multi-role pool.") + @get + @action("skus") + @list + listMultiRolePoolSkus is WorkerPoolResourceOps.ActionSync< + WorkerPoolResource, + void, + ArmResponse, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Get usage metrics for a multi-role pool of an App Service Environment. + */ + @summary("Get usage metrics for a multi-role pool of an App Service Environment.") + @get + @action("usages") + @list + listMultiRoleUsages is WorkerPoolResourceOps.ActionSync< + WorkerPoolResource, + void, + ArmResponse, + OverrideErrorType = DefaultErrorResponse + >; +} +@armResourceOperations +interface AppServiceEnvironmentOps + extends Azure.ResourceManager.Legacy.LegacyOperations< + { + ...ApiVersionParameter, + ...SubscriptionIdParameter, + ...ResourceGroupParameter, + ...Azure.ResourceManager.Legacy.Provider, + + /** Name of the App Service Environment. */ + @path + @segment("hostingEnvironments") + @key + name: string, + }, + { + /** Name of the worker pool. */ + @path + @segment("workerPools") + @key + workerPoolName: string, + } + > {} + +@armResourceOperations(#{ allowStaticRoutes: true }) +interface AppServiceEnvironments { + /** + * Description for Get properties of a worker pool. + */ + @summary("Get properties of a worker pool.") + getWorkerPool is AppServiceEnvironmentOps.Read< + WorkerPoolResource, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Create or update a worker pool. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-put-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + #suppress "@azure-tools/typespec-azure-resource-manager/no-response-body" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @summary("Create or update a worker pool.") + createOrUpdateWorkerPool is AppServiceEnvironmentOps.CreateOrUpdateAsync< + WorkerPoolResource, + Response = ArmResourceUpdatedResponse | (ArmAcceptedLroResponse> & { + @bodyRoot + _: WorkerPoolResource; + }), + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Create or update a worker pool. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/no-response-body" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + #suppress "@azure-tools/typespec-azure-resource-manager/lro-location-header" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @summary("Create or update a worker pool.") + @patch(#{ implicitOptionality: false }) + updateWorkerPool is AppServiceEnvironmentOps.CustomPatchSync< + WorkerPoolResource, + PatchModel = WorkerPoolResource, + Response = ArmResponse | (AcceptedResponse & { + @bodyRoot + _: WorkerPoolResource; + }), + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Get all worker pools of an App Service Environment. + */ + @summary("Get all worker pools of an App Service Environment.") + @segment("workerPools") + listWorkerPools is AppServiceEnvironmentOps.List< + WorkerPoolResource, + Response = ArmResponse, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Get metric definitions for a specific instance of a worker pool of an App Service Environment. + */ + @summary("Get metric definitions for a specific instance of a worker pool of an App Service Environment.") + @get + @action("metricdefinitions") + @list + @route("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.Web/hostingEnvironments/{name}/workerPools/{workerPoolName}/instances/{instance}/metricdefinitions") + listWorkerPoolInstanceMetricDefinitions is WorkerPoolInstanceMetricActionParamsOps.ActionSync< + WorkerPoolResource, + void, + ArmResponse, + Parameters = { + /** + * Name of the instance in the worker pool. + */ + @path + instance: string; + }, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Get metric definitions for a worker pool of an App Service Environment. + */ + @summary("Get metric definitions for a worker pool of an App Service Environment.") + @get + @action("metricdefinitions") + @list + listWebWorkerMetricDefinitions is AppServiceEnvironmentOps.ActionSync< + WorkerPoolResource, + void, + ArmResponse, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Get available SKUs for scaling a worker pool. + */ + @summary("Get available SKUs for scaling a worker pool.") + @get + @action("skus") + @list + listWorkerPoolSkus is AppServiceEnvironmentOps.ActionSync< + WorkerPoolResource, + void, + ArmResponse, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * Description for Get usage metrics for a worker pool of an App Service Environment. + */ + @summary("Get usage metrics for a worker pool of an App Service Environment.") + @get + @action("usages") + @list + listWebWorkerUsages is AppServiceEnvironmentOps.ActionSync< + WorkerPoolResource, + void, + ArmResponse, + OverrideErrorType = DefaultErrorResponse + >; +} + +@@doc(WorkerPoolResource.name, ""); +@@doc(WorkerPoolResource.properties, "Core resource properties"); +@@doc(WorkerPoolResources.createOrUpdateMultiRolePool::parameters.resource, + "Properties of the multi-role pool." +); +@@doc(WorkerPoolResources.updateMultiRolePool::parameters.properties, + "Properties of the multi-role pool." +); +@@doc(AppServiceEnvironments.createOrUpdateWorkerPool::parameters.resource, + "Properties of the worker pool." +); +@@doc(AppServiceEnvironments.updateWorkerPool::parameters.properties, + "Properties of the worker pool." +); diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/WorkflowEnvelope.tsp b/specification/web/resource-manager/Microsoft.Web/AppService/WorkflowEnvelope.tsp new file mode 100644 index 000000000000..f694ac59f077 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/WorkflowEnvelope.tsp @@ -0,0 +1,149 @@ +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "@typespec/openapi"; +import "@typespec/rest"; +import "./models.tsp"; +import "./Site.tsp"; + +using TypeSpec.Rest; +using Azure.ResourceManager; +using TypeSpec.Http; +using TypeSpec.OpenAPI; + +namespace Microsoft.Web; +/** + * Workflow properties definition. + */ +@parentResource(Site) +model WorkflowEnvelope + is Azure.ResourceManager.ProxyResource { + ...ResourceNameParameter< + Resource = WorkflowEnvelope, + KeyName = "workflowName", + SegmentName = "workflows", + NamePattern = "^[a-z][a-z0-9]*$" + >; + + /** + * The resource kind. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + kind?: string; + + /** + * The resource location. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @visibility(Lifecycle.Read, Lifecycle.Create) + location?: string; +} + +@armResourceOperations +interface WorkflowEnvelopeOps + extends Azure.ResourceManager.Legacy.LegacyOperations< + { + ...ApiVersionParameter, + ...SubscriptionIdParameter, + ...ResourceGroupParameter, + ...Azure.ResourceManager.Legacy.Provider, + + /** Site name. */ + @path + @segment("sites") + @key + name: string, + + /** Name of the deployment slot. */ + @path + @segment("slots") + @key + slot: string, + }, + { + /** Workflow name. */ + @path + @segment("workflows") + @key + @pattern("^[a-z][a-z0-9]*$") + @maxLength(63) + @minLength(3) + workflowName: string, + } + > {} + +@armResourceOperations +interface WorkflowEnvelopes { + /** + * Get workflow information by its ID for web site, or a deployment slot. + */ + @summary("Get workflow information by its ID for web site, or a deployment slot.") + getInstanceWorkflowSlot is WorkflowEnvelopeOps.Read< + WorkflowEnvelope, + Response = ArmResponse | ArmNotFoundResponse, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * List the workflows for a web site, or a deployment slot. + */ + @summary("List the workflows for a web site, or a deployment slot.") + listInstanceWorkflowsSlot is WorkflowEnvelopeOps.List< + WorkflowEnvelope, + Response = ArmResponse, + OverrideErrorType = DefaultErrorResponse + >; +} +@armResourceOperations +interface WorkflowEnvelopeOperationGroupOps + extends Azure.ResourceManager.Legacy.LegacyOperations< + { + ...ApiVersionParameter, + ...SubscriptionIdParameter, + ...ResourceGroupParameter, + ...Azure.ResourceManager.Legacy.Provider, + + /** Site name. */ + @path + @segment("sites") + @key + name: string, + }, + { + /** Workflow name. */ + @path + @segment("workflows") + @key + @pattern("^[a-z][a-z0-9]*$") + @maxLength(63) + @minLength(3) + workflowName: string, + } + > {} + +@armResourceOperations +interface WorkflowEnvelopeOperationGroup { + /** + * Get workflow information by its ID for web site, or a deployment slot. + */ + @summary("Get workflow information by its ID for web site, or a deployment slot.") + getWorkflow is WorkflowEnvelopeOperationGroupOps.Read< + WorkflowEnvelope, + Response = ArmResponse | ArmNotFoundResponse, + OverrideErrorType = DefaultErrorResponse + >; + + /** + * List the workflows for a web site, or a deployment slot. + */ + @summary("List the workflows for a web site, or a deployment slot.") + listWorkflows is WorkflowEnvelopeOperationGroupOps.List< + WorkflowEnvelope, + Response = ArmResponse, + OverrideErrorType = DefaultErrorResponse + >; +} + +@@maxLength(WorkflowEnvelope.name, 63); +@@minLength(WorkflowEnvelope.name, 3); +@@doc(WorkflowEnvelope.name, "Workflow name."); +@@doc(WorkflowEnvelope.properties, "Additional workflow properties."); diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/WorkflowRun.tsp b/specification/web/resource-manager/Microsoft.Web/AppService/WorkflowRun.tsp new file mode 100644 index 000000000000..f99762ef62aa --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/WorkflowRun.tsp @@ -0,0 +1,118 @@ +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "@typespec/openapi"; +import "@typespec/rest"; +import "./models.tsp"; +import "./Site.tsp"; + +using TypeSpec.Rest; +using Azure.ResourceManager; +using TypeSpec.Http; +using TypeSpec.OpenAPI; + +namespace Microsoft.Web; +/** + * The workflow run. + */ +@parentResource(Site) +model WorkflowRun + is Azure.ResourceManager.ProxyResource { + ...ResourceNameParameter< + Resource = WorkflowRun, + KeyName = "runName", + SegmentName = "runs", + NamePattern = "" + >; +} + +@armResourceOperations +interface WorkflowRunsOps + extends Azure.ResourceManager.Legacy.LegacyOperations< + { + ...ApiVersionParameter, + ...SubscriptionIdParameter, + ...ResourceGroupParameter, + ...Azure.ResourceManager.Legacy.Provider, + + /** Site name. */ + @path + @segment("sites") + @key + name: string, + + /** undefined */ + @path + @segment("hostruntime") + @key + runtime: "runtime", + + /** undefined */ + @path + @segment("webhooks") + @key + workflow: "workflow", + + /** undefined */ + @path + @segment("api") + @key + management: "management", + + /** The workflow name. */ + @path + @segment("workflows") + @key + workflowName: string, + }, + { + /** The workflow run name. */ + @path + @segment("runs") + @key + runName: string, + } + > {} + +@armResourceOperations +interface WorkflowRuns { + /** + * Gets a workflow run. + */ + get is WorkflowRunsOps.Read; + + /** + * Gets a list of workflow runs. + */ + list is WorkflowRunsOps.List< + WorkflowRun, + Parameters = { + /** + * The number of items to be included in the result. + */ + @query("$top") + $top?: int32; + + /** + * The filter to apply on the operation. Options for filters include: Status, StartTime, and ClientTrackingId. + */ + @query("$filter") + $filter?: string; + }, + OverrideErrorType = ErrorResponse + >; + + /** + * Cancels a workflow run. + */ + cancel is WorkflowRunsOps.ActionSync< + WorkflowRun, + void, + { + @body body: void; + }, + OverrideErrorType = ErrorResponse + >; +} + +@@doc(WorkflowRun.name, "The workflow run name."); +@@doc(WorkflowRun.properties, "The workflow run properties."); diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/WorkflowRunAction.tsp b/specification/web/resource-manager/Microsoft.Web/AppService/WorkflowRunAction.tsp new file mode 100644 index 000000000000..d54961b18dbf --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/WorkflowRunAction.tsp @@ -0,0 +1,126 @@ +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "@typespec/openapi"; +import "@typespec/rest"; +import "./models.tsp"; +import "./WorkflowRun.tsp"; + +using TypeSpec.Rest; +using Azure.ResourceManager; +using TypeSpec.Http; +using TypeSpec.OpenAPI; + +namespace Microsoft.Web; +/** + * The workflow run action. + */ +@parentResource(WorkflowRun) +model WorkflowRunAction + is Azure.ResourceManager.ProxyResource { + ...ResourceNameParameter< + Resource = WorkflowRunAction, + KeyName = "actionName", + SegmentName = "actions", + NamePattern = "" + >; +} + +@armResourceOperations +interface WorkflowRunActionsOps + extends Azure.ResourceManager.Legacy.LegacyOperations< + { + ...ApiVersionParameter, + ...SubscriptionIdParameter, + ...ResourceGroupParameter, + ...Azure.ResourceManager.Legacy.Provider, + + /** Site name. */ + @path + @segment("sites") + @key + name: string, + + /** undefined */ + @path + @segment("hostruntime") + @key + runtime: "runtime", + + /** undefined */ + @path + @segment("webhooks") + @key + workflow: "workflow", + + /** undefined */ + @path + @segment("api") + @key + management: "management", + + /** The workflow name. */ + @path + @segment("workflows") + @key + workflowName: string, + + /** The workflow run name. */ + @path + @segment("runs") + @key + runName: string, + }, + { + /** The workflow action name. */ + @path + @segment("actions") + @key + actionName: string, + } + > {} + +@armResourceOperations +interface WorkflowRunActions { + /** + * Gets a workflow run action. + */ + get is WorkflowRunActionsOps.Read< + WorkflowRunAction, + OverrideErrorType = ErrorResponse + >; + + /** + * Gets a list of workflow run actions. + */ + list is WorkflowRunActionsOps.List< + WorkflowRunAction, + Parameters = { + /** + * The number of items to be included in the result. + */ + @query("$top") + $top?: int32; + + /** + * The filter to apply on the operation. Options for filters include: Status. + */ + @query("$filter") + $filter?: string; + }, + OverrideErrorType = ErrorResponse + >; + + /** + * Lists a workflow run expression trace. + */ + @list + listExpressionTraces is WorkflowRunActionsOps.ActionSync< + WorkflowRunAction, + void, + ArmResponse, + OverrideErrorType = ErrorResponse + >; +} + +@@doc(WorkflowRunAction.name, "The workflow action name."); +@@doc(WorkflowRunAction.properties, "The workflow run action properties."); diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/WorkflowRunActionRepetitionDefinition.tsp b/specification/web/resource-manager/Microsoft.Web/AppService/WorkflowRunActionRepetitionDefinition.tsp new file mode 100644 index 000000000000..fc73c9413771 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/WorkflowRunActionRepetitionDefinition.tsp @@ -0,0 +1,205 @@ +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "@typespec/openapi"; +import "@typespec/rest"; +import "./models.tsp"; +import "./WorkflowRunAction.tsp"; + +using TypeSpec.Rest; +using Azure.ResourceManager; +using TypeSpec.Http; +using TypeSpec.OpenAPI; + +namespace Microsoft.Web; +/** + * The workflow run action repetition definition. + */ +#suppress "@azure-tools/typespec-azure-resource-manager/beyond-nesting-levels" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@parentResource(WorkflowRunAction) +model WorkflowRunActionRepetitionDefinition + is Azure.ResourceManager.TrackedResource< + WorkflowRunActionRepetitionProperties, + false + > { + ...ResourceNameParameter< + Resource = WorkflowRunActionRepetitionDefinition, + KeyName = "repetitionName", + SegmentName = "repetitions", + NamePattern = "" + >; +} + +@armResourceOperations +interface WorkflowRunActionRepetitionDefinitionOps + extends Azure.ResourceManager.Legacy.LegacyOperations< + { + ...ApiVersionParameter, + ...SubscriptionIdParameter, + ...ResourceGroupParameter, + ...Azure.ResourceManager.Legacy.Provider, + + /** Site name. */ + @path + @segment("sites") + @key + name: string, + + /** undefined */ + @path + @segment("hostruntime") + @key + runtime: "runtime", + + /** undefined */ + @path + @segment("webhooks") + @key + workflow: "workflow", + + /** undefined */ + @path + @segment("api") + @key + management: "management", + + /** The workflow name. */ + @path + @segment("workflows") + @key + workflowName: string, + + /** The workflow run name. */ + @path + @segment("runs") + @key + runName: string, + + /** The workflow action name. */ + @path + @segment("actions") + @key + actionName: string, + }, + { + /** The workflow repetition. */ + @path + @segment("repetitions") + @key + repetitionName: string, + } + > {} + +@armResourceOperations +interface WorkflowRunActionRepetitionDefinitions { + /** + * Get a workflow run action repetition. + */ + get is WorkflowRunActionRepetitionDefinitionOps.Read< + WorkflowRunActionRepetitionDefinition, + OverrideErrorType = ErrorResponse + >; + + /** + * Get all of a workflow run action repetitions. + */ + list is WorkflowRunActionRepetitionDefinitionOps.List< + WorkflowRunActionRepetitionDefinition, + Response = ArmResponse, + OverrideErrorType = ErrorResponse + >; + + /** + * Lists a workflow run expression trace. + */ + @list + listExpressionTraces is WorkflowRunActionRepetitionDefinitionOps.ActionSync< + WorkflowRunActionRepetitionDefinition, + void, + ArmResponse, + OverrideErrorType = ErrorResponse + >; +} +@armResourceOperations +interface WorkflowRunActionScopeRepetitionOps + extends Azure.ResourceManager.Legacy.LegacyOperations< + { + ...ApiVersionParameter, + ...SubscriptionIdParameter, + ...ResourceGroupParameter, + ...Azure.ResourceManager.Legacy.Provider, + + /** Site name. */ + @path + @segment("sites") + @key + name: string, + + /** undefined */ + @path + @segment("hostruntime") + @key + runtime: "runtime", + + /** undefined */ + @path + @segment("webhooks") + @key + workflow: "workflow", + + /** undefined */ + @path + @segment("api") + @key + management: "management", + + /** The workflow name. */ + @path + @segment("workflows") + @key + workflowName: string, + + /** The workflow run name. */ + @path + @segment("runs") + @key + runName: string, + + /** The workflow action name. */ + @path + @segment("actions") + @key + actionName: string, + }, + { + /** The workflow repetition. */ + @path + @segment("scopeRepetitions") + @key + repetitionName: string, + } + > {} + +@armResourceOperations +interface WorkflowRunActionScopeRepetitions { + /** + * Get a workflow run action scoped repetition. + */ + get is WorkflowRunActionScopeRepetitionOps.Read< + WorkflowRunActionRepetitionDefinition, + OverrideErrorType = ErrorResponse + >; + + /** + * List the workflow run action scoped repetitions. + */ + list is WorkflowRunActionScopeRepetitionOps.List< + WorkflowRunActionRepetitionDefinition, + Response = ArmResponse, + OverrideErrorType = ErrorResponse + >; +} + +@@doc(WorkflowRunActionRepetitionDefinition.name, "The workflow repetition."); +@@doc(WorkflowRunActionRepetitionDefinition.properties, + "The workflow run action repetition properties definition." +); diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/WorkflowTrigger.tsp b/specification/web/resource-manager/Microsoft.Web/AppService/WorkflowTrigger.tsp new file mode 100644 index 000000000000..d50ae83be70e --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/WorkflowTrigger.tsp @@ -0,0 +1,145 @@ +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "@typespec/openapi"; +import "@typespec/rest"; +import "./models.tsp"; +import "./Site.tsp"; + +using TypeSpec.Rest; +using Azure.ResourceManager; +using TypeSpec.Http; +using TypeSpec.OpenAPI; + +namespace Microsoft.Web; +/** + * The workflow trigger. + */ +@parentResource(Site) +model WorkflowTrigger + is Azure.ResourceManager.ProxyResource { + ...ResourceNameParameter< + Resource = WorkflowTrigger, + KeyName = "triggerName", + SegmentName = "triggers", + NamePattern = "" + >; +} + +@armResourceOperations +interface WorkflowTriggersOps + extends Azure.ResourceManager.Legacy.LegacyOperations< + { + ...ApiVersionParameter, + ...SubscriptionIdParameter, + ...ResourceGroupParameter, + ...Azure.ResourceManager.Legacy.Provider, + + /** Site name. */ + @path + @segment("sites") + @key + name: string, + + /** undefined */ + @path + @segment("hostruntime") + @key + runtime: "runtime", + + /** undefined */ + @path + @segment("webhooks") + @key + workflow: "workflow", + + /** undefined */ + @path + @segment("api") + @key + management: "management", + + /** The workflow name. */ + @path + @segment("workflows") + @key + workflowName: string, + }, + { + /** The workflow trigger name. */ + @path + @segment("triggers") + @key + triggerName: string, + } + > {} + +@armResourceOperations +interface WorkflowTriggers { + /** + * Gets a workflow trigger. + */ + get is WorkflowTriggersOps.Read< + WorkflowTrigger, + OverrideErrorType = ErrorResponse + >; + + /** + * Gets a list of workflow triggers. + */ + list is WorkflowTriggersOps.List< + WorkflowTrigger, + Parameters = { + /** + * The number of items to be included in the result. + */ + @query("$top") + $top?: int32; + + /** + * The filter to apply on the operation. + */ + @query("$filter") + $filter?: string; + }, + OverrideErrorType = ErrorResponse + >; + + /** + * Get the callback URL for a workflow trigger. + */ + listCallbackUrl is WorkflowTriggersOps.ActionSync< + WorkflowTrigger, + void, + ArmResponse, + OverrideErrorType = ErrorResponse + >; + + /** + * Runs a workflow trigger. + */ + run is WorkflowTriggersOps.ActionAsync< + WorkflowTrigger, + void, + { + @body body: void; + }, + OverrideErrorType = ErrorResponse, + LroHeaders = Azure.Core.Foundations.RetryAfterHeader & + ArmLroLocationHeader + >; + + /** + * Get the trigger schema as JSON. + */ + @get + @action("schemas/json") + getSchemaJson is WorkflowTriggersOps.ActionSync< + WorkflowTrigger, + void, + ArmResponse, + OverrideErrorType = ErrorResponse + >; +} + +@@doc(WorkflowTrigger.name, "The workflow trigger name."); +@@doc(WorkflowTrigger.properties, "The workflow trigger properties."); diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/WorkflowTriggerHistory.tsp b/specification/web/resource-manager/Microsoft.Web/AppService/WorkflowTriggerHistory.tsp new file mode 100644 index 000000000000..1a5065d8b8e0 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/WorkflowTriggerHistory.tsp @@ -0,0 +1,130 @@ +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "@typespec/openapi"; +import "@typespec/rest"; +import "./models.tsp"; +import "./WorkflowTrigger.tsp"; + +using TypeSpec.Rest; +using Azure.ResourceManager; +using TypeSpec.Http; +using TypeSpec.OpenAPI; + +namespace Microsoft.Web; +/** + * The workflow trigger history. + */ +@parentResource(WorkflowTrigger) +model WorkflowTriggerHistory + is Azure.ResourceManager.ProxyResource { + ...ResourceNameParameter< + Resource = WorkflowTriggerHistory, + KeyName = "historyName", + SegmentName = "histories", + NamePattern = "" + >; +} + +@armResourceOperations +interface WorkflowTriggerHistoriesOps + extends Azure.ResourceManager.Legacy.LegacyOperations< + { + ...ApiVersionParameter, + ...SubscriptionIdParameter, + ...ResourceGroupParameter, + ...Azure.ResourceManager.Legacy.Provider, + + /** Site name. */ + @path + @segment("sites") + @key + name: string, + + /** undefined */ + @path + @segment("hostruntime") + @key + runtime: "runtime", + + /** undefined */ + @path + @segment("webhooks") + @key + workflow: "workflow", + + /** undefined */ + @path + @segment("api") + @key + management: "management", + + /** The workflow name. */ + @path + @segment("workflows") + @key + workflowName: string, + + /** The workflow trigger name. */ + @path + @segment("triggers") + @key + triggerName: string, + }, + { + /** The workflow trigger history name. Corresponds to the run name for triggers that resulted in a run. */ + @path + @segment("histories") + @key + historyName: string, + } + > {} + +@armResourceOperations +interface WorkflowTriggerHistories { + /** + * Gets a workflow trigger history. + */ + get is WorkflowTriggerHistoriesOps.Read< + WorkflowTriggerHistory, + OverrideErrorType = ErrorResponse + >; + + /** + * Gets a list of workflow trigger histories. + */ + list is WorkflowTriggerHistoriesOps.List< + WorkflowTriggerHistory, + Parameters = { + /** + * The number of items to be included in the result. + */ + @query("$top") + $top?: int32; + + /** + * The filter to apply on the operation. Options for filters include: Status, StartTime, and ClientTrackingId. + */ + @query("$filter") + $filter?: string; + }, + OverrideErrorType = ErrorResponse + >; + + /** + * Resubmits a workflow run based on the trigger history. + */ + resubmit is WorkflowTriggerHistoriesOps.ActionAsync< + WorkflowTriggerHistory, + Request = void, + Result = void, + Response = ArmAcceptedLroResponse, + OverrideErrorType = ErrorResponse + >; +} + +@@doc(WorkflowTriggerHistory.name, + "The workflow trigger history name. Corresponds to the run name for triggers that resulted in a run." +); +@@doc(WorkflowTriggerHistory.properties, + "Gets the workflow trigger history properties." +); diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/WorkflowVersion.tsp b/specification/web/resource-manager/Microsoft.Web/AppService/WorkflowVersion.tsp new file mode 100644 index 000000000000..89d0f7d459b0 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/WorkflowVersion.tsp @@ -0,0 +1,103 @@ +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "@typespec/openapi"; +import "@typespec/rest"; +import "./models.tsp"; +import "./Site.tsp"; + +using TypeSpec.Rest; +using Azure.ResourceManager; +using TypeSpec.Http; +using TypeSpec.OpenAPI; + +namespace Microsoft.Web; +/** + * The workflow version. + */ +@parentResource(Site) +model WorkflowVersion + is Azure.ResourceManager.TrackedResource { + ...ResourceNameParameter< + Resource = WorkflowVersion, + KeyName = "versionId", + SegmentName = "versions", + NamePattern = "" + >; +} + +@armResourceOperations +interface WorkflowVersionsOps + extends Azure.ResourceManager.Legacy.LegacyOperations< + { + ...ApiVersionParameter, + ...SubscriptionIdParameter, + ...ResourceGroupParameter, + ...Azure.ResourceManager.Legacy.Provider, + + /** Site name. */ + @path + @segment("sites") + @key + name: string, + + /** undefined */ + @path + @segment("hostruntime") + @key + runtime: "runtime", + + /** undefined */ + @path + @segment("webhooks") + @key + workflow: "workflow", + + /** undefined */ + @path + @segment("api") + @key + management: "management", + + /** The workflow name. */ + @path + @segment("workflows") + @key + workflowName: string, + }, + { + /** The workflow versionId. */ + @path + @segment("versions") + @key + versionId: string, + } + > {} + +@armResourceOperations +interface WorkflowVersions { + /** + * Gets a workflow version. + */ + get is WorkflowVersionsOps.Read< + WorkflowVersion, + OverrideErrorType = ErrorResponse + >; + + /** + * Gets a list of workflow versions. + */ + list is WorkflowVersionsOps.List< + WorkflowVersion, + Parameters = { + /** + * The number of items to be included in the result. + */ + @query("$top") + $top?: int32; + }, + OverrideErrorType = ErrorResponse + >; +} + +@@doc(WorkflowVersion.name, "The workflow versionId."); +@@doc(WorkflowVersion.properties, "The workflow version properties."); diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/back-compatible.tsp b/specification/web/resource-manager/Microsoft.Web/AppService/back-compatible.tsp new file mode 100644 index 000000000000..57256fb9ad26 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/back-compatible.tsp @@ -0,0 +1,2078 @@ +import "@azure-tools/typespec-client-generator-core"; + +using Azure.ClientGenerator.Core; +using Azure.ClientGenerator.Core.Legacy; +using Microsoft.Web; + +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@@flattenProperty(AppServiceEnvironmentPatchResource.properties); + +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@@flattenProperty(PushSettings.properties); + +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@@flattenProperty(ResourceMetricDefinition.properties); + +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@@flattenProperty(Microsoft.Web.Usage.properties); + +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@@flattenProperty(AppServicePlanPatchResource.properties); + +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@@flattenProperty(HybridConnectionKey.properties); + +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@@flattenProperty(CertificatePatchResource.properties); + +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@@flattenProperty(DiagnosticAnalysis.properties); + +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@@flattenProperty(DiagnosticDetectorResponse.properties); + +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@@flattenProperty(Snapshot.properties); + +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@@flattenProperty(KubeEnvironmentPatchResource.properties); + +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@@flattenProperty(ApplicationStackResource.properties); + +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@@flattenProperty(FunctionAppStack.properties); + +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@@flattenProperty(WebAppStack.properties); + +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@@flattenProperty(Recommendation.properties); + +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@@flattenProperty(BillingMeter.properties); + +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@@flattenProperty(CustomHostnameSites.properties); + +@@clientName(IdentifierProperties.id, "value"); + +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@@flattenProperty(GeoRegion.properties); + +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@@flattenProperty(AseRegion.properties); + +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@@flattenProperty(PremierAddOnOffer.properties); + +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@@flattenProperty(VnetParameters.properties); + +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@@flattenProperty(VnetValidationFailureDetails.properties); + +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@@flattenProperty(VnetValidationTestFailure.properties); + +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@@flattenProperty(ValidateRequest.properties); + +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@@flattenProperty(StaticSitesWorkflowPreviewRequest.properties); + +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@@flattenProperty(StaticSitesWorkflowPreview.properties); + +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@@flattenProperty(RemotePrivateEndpointConnection.properties); + +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@@flattenProperty(StaticSiteUserProvidedFunctionApp.properties); + +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@@flattenProperty(StaticSitePatchResource.properties); + +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@@flattenProperty(StaticSiteUserARMResource.properties); + +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@@flattenProperty(StringDictionary.properties); + +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@@flattenProperty(DatabaseConnectionPatchRequest.properties); + +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@@flattenProperty(StaticSiteFunctionOverviewARMResource.properties); + +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@@flattenProperty(StaticSiteZipDeploymentARMResource.properties); + +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@@flattenProperty(StaticSiteUserInvitationRequestResource.properties); + +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@@flattenProperty(StaticSiteUserInvitationResponseResource.properties); + +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@@flattenProperty(StaticSiteCustomDomainRequestPropertiesARMResource.properties +); + +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@@flattenProperty(StaticSiteResetPropertiesARMResource.properties); + +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@@flattenProperty(SitePatchResource.properties); + +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@@flattenProperty(CustomHostnameAnalysisResult.properties); + +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@@flattenProperty(BackupRequest.properties); + +@@clientName(BackupItemProperties.id, "BackupId"); + +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@@flattenProperty(RestoreRequest.properties); + +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@@flattenProperty(SiteAuthSettings.properties); + +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@@flattenProperty(AzureStoragePropertyDictionaryResource.properties); + +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@@flattenProperty(ConnectionStringDictionary.properties); + +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@@flattenProperty(SiteConfigurationSnapshotInfo.properties); + +@@clientName(ContinuousWebJobProperties.detailed_status, "detailedStatus"); +@@clientName(ContinuousWebJobProperties.log_url, "logUrl"); +@@clientName(ContinuousWebJobProperties.run_command, "runCommand"); +@@clientName(ContinuousWebJobProperties.extra_info_url, "extraInfoUrl"); +@@clientName(ContinuousWebJobProperties.web_job_type, "webJobType"); +@@clientName(ContinuousWebJobProperties.using_sdk, "usingSdk"); + +@@clientName(DeploymentProperties.author_email, "authorEmail"); +@@clientName(DeploymentProperties.start_time, "startTime"); +@@clientName(DeploymentProperties.end_time, "endTime"); + +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@@flattenProperty(MSDeploy.properties); + +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@@flattenProperty(MSDeployLog.properties); + +@@clientName(FunctionEnvelopeProperties.function_app_id, "functionAppId"); +@@clientName(FunctionEnvelopeProperties.script_root_path_href, + "scriptRootPathHref" +); +@@clientName(FunctionEnvelopeProperties.script_href, "scriptHref"); +@@clientName(FunctionEnvelopeProperties.config_href, "configHref"); +@@clientName(FunctionEnvelopeProperties.test_data_href, "testDataHref"); +@@clientName(FunctionEnvelopeProperties.secrets_file_href, "secretsFileHref"); +@@clientName(FunctionEnvelopeProperties.test_data, "testData"); +@@clientName(FunctionEnvelopeProperties.invoke_url_template, + "invokeUrlTemplate" +); + +@@clientName(FunctionSecrets.trigger_url, "triggerUrl"); + +@@clientName(ProcessInfoProperties.deployment_name, "deploymentName"); +@@clientName(ProcessInfoProperties.is_profile_running, "isProfileRunning"); +@@clientName(ProcessInfoProperties.is_iis_profile_running, + "isIisProfileRunning" +); +@@clientName(ProcessInfoProperties.iis_profile_timeout_in_seconds, + "iisProfileTimeoutInSeconds" +); +@@clientName(ProcessInfoProperties.open_file_handles, "openFileHandles"); +@@clientName(ProcessInfoProperties.file_name, "fileName"); +@@clientName(ProcessInfoProperties.command_line, "commandLine"); +@@clientName(ProcessInfoProperties.user_name, "userName"); +@@clientName(ProcessInfoProperties.handle_count, "handleCount"); +@@clientName(ProcessInfoProperties.module_count, "moduleCount"); +@@clientName(ProcessInfoProperties.thread_count, "threadCount"); +@@clientName(ProcessInfoProperties.start_time, "startTime"); +@@clientName(ProcessInfoProperties.total_cpu_time, "totalCpuTime"); +@@clientName(ProcessInfoProperties.user_cpu_time, "userCpuTime"); +@@clientName(ProcessInfoProperties.privileged_cpu_time, "privilegedCpuTime"); +@@clientName(ProcessInfoProperties.working_set, "workingSet"); +@@clientName(ProcessInfoProperties.peak_working_set, "peakWorkingSet"); +@@clientName(ProcessInfoProperties.private_memory, "privateMemory"); +@@clientName(ProcessInfoProperties.virtual_memory, "virtualMemory"); +@@clientName(ProcessInfoProperties.peak_virtual_memory, "peakVirtualMemory"); +@@clientName(ProcessInfoProperties.paged_system_memory, "pagedSystemMemory"); +@@clientName(ProcessInfoProperties.non_paged_system_memory, + "nonPagedSystemMemory" +); +@@clientName(ProcessInfoProperties.paged_memory, "pagedMemory"); +@@clientName(ProcessInfoProperties.peak_paged_memory, "peakPagedMemory"); +@@clientName(ProcessInfoProperties.time_stamp, "timeStamp"); +@@clientName(ProcessInfoProperties.environment_variables, + "environmentVariables" +); +@@clientName(ProcessInfoProperties.is_scm_site, "isScmSite"); +@@clientName(ProcessInfoProperties.is_webjob, "isWebjob"); + +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@@flattenProperty(ProcessThreadInfo.properties); + +@@clientName(ProcessThreadInfoProperties.start_address, "startAddress"); +@@clientName(ProcessThreadInfoProperties.current_priority, "currentPriority"); +@@clientName(ProcessThreadInfoProperties.priority_level, "priorityLevel"); +@@clientName(ProcessThreadInfoProperties.base_priority, "basePriority"); +@@clientName(ProcessThreadInfoProperties.start_time, "startTime"); +@@clientName(ProcessThreadInfoProperties.total_processor_time, + "totalProcessorTime" +); +@@clientName(ProcessThreadInfoProperties.user_processor_time, + "userProcessorTime" +); +@@clientName(ProcessThreadInfoProperties.wait_reason, "waitReason"); + +@@clientName(ProcessModuleInfoProperties.base_address, "baseAddress"); +@@clientName(ProcessModuleInfoProperties.file_name, "fileName"); +@@clientName(ProcessModuleInfoProperties.file_path, "filePath"); +@@clientName(ProcessModuleInfoProperties.module_memory_size, + "moduleMemorySize" +); +@@clientName(ProcessModuleInfoProperties.file_version, "fileVersion"); +@@clientName(ProcessModuleInfoProperties.file_description, "fileDescription"); +@@clientName(ProcessModuleInfoProperties.product_version, "productVersion"); +@@clientName(ProcessModuleInfoProperties.is_debug, "isDebug"); + +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@@flattenProperty(StorageMigrationOptions.properties); + +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@@flattenProperty(StorageMigrationResponse.properties); + +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@@flattenProperty(MigrateMySqlRequest.properties); + +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@@flattenProperty(SitePhpErrorLogFlag.properties); + +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@@flattenProperty(PremierAddOnPatchResource.properties); + +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@@flattenProperty(DeletedAppRestoreRequest.properties); + +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@@flattenProperty(SnapshotRestoreRequest.properties); + +@@clientName(SiteExtensionInfoProperties.extension_id, "extensionId"); +@@clientName(SiteExtensionInfoProperties.extension_type, "extensionType"); +@@clientName(SiteExtensionInfoProperties.extension_url, "extensionUrl"); +@@clientName(SiteExtensionInfoProperties.project_url, "projectUrl"); +@@clientName(SiteExtensionInfoProperties.icon_url, "iconUrl"); +@@clientName(SiteExtensionInfoProperties.license_url, "licenseUrl"); +@@clientName(SiteExtensionInfoProperties.feed_url, "feedUrl"); +@@clientName(SiteExtensionInfoProperties.installer_command_line_params, + "installerCommandLineParams" +); +@@clientName(SiteExtensionInfoProperties.published_date_time, + "publishedDateTime" +); +@@clientName(SiteExtensionInfoProperties.download_count, "downloadCount"); +@@clientName(SiteExtensionInfoProperties.local_is_latest_version, + "localIsLatestVersion" +); +@@clientName(SiteExtensionInfoProperties.local_path, "localPath"); +@@clientName(SiteExtensionInfoProperties.installed_date_time, + "installedDateTime" +); + +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@@flattenProperty(SlotDifference.properties); + +@@clientName(TriggeredWebJobProperties.latest_run, "latestRun"); +@@clientName(TriggeredWebJobProperties.history_url, "historyUrl"); +@@clientName(TriggeredWebJobProperties.scheduler_logs_url, "schedulerLogsUrl"); +@@clientName(TriggeredWebJobProperties.run_command, "runCommand"); +@@clientName(TriggeredWebJobProperties.extra_info_url, "extraInfoUrl"); +@@clientName(TriggeredWebJobProperties.web_job_type, "webJobType"); +@@clientName(TriggeredWebJobProperties.using_sdk, "usingSdk"); + +@@clientName(TriggeredJobRun.web_job_id, "webJobId"); +@@clientName(TriggeredJobRun.web_job_name, "webJobName"); +@@clientName(TriggeredJobRun.start_time, "startTime"); +@@clientName(TriggeredJobRun.end_time, "endTime"); +@@clientName(TriggeredJobRun.output_url, "outputUrl"); +@@clientName(TriggeredJobRun.error_url, "errorUrl"); +@@clientName(TriggeredJobRun.job_name, "jobName"); + +@@clientName(WebJobProperties.run_command, "runCommand"); +@@clientName(WebJobProperties.extra_info_url, "extraInfoUrl"); +@@clientName(WebJobProperties.web_job_type, "webJobType"); +@@clientName(WebJobProperties.using_sdk, "usingSdk"); + +@@clientName(WorkflowTriggerListCallbackUrlQueries.`api-version`, "apiVersion"); + +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@@flattenProperty(Workflow.properties); + +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@@flattenProperty(PrivateLinkConnectionApprovalRequestResource.properties); + +@@clientLocation(AppServiceEnvironmentResources.get, AppServiceEnvironments); +@@clientLocation(AppServiceEnvironmentResources.createOrUpdate, + AppServiceEnvironments +); +@@clientName(AppServiceEnvironmentResources.createOrUpdate::parameters.resource, + "hostingEnvironmentEnvelope" +); +@@clientLocation(AppServiceEnvironmentResources.update, AppServiceEnvironments); +@@clientName(AppServiceEnvironmentResources.update::parameters.properties, + "hostingEnvironmentEnvelope" +); +@@clientLocation(AppServiceEnvironmentResources.delete, AppServiceEnvironments); +@@clientLocation(AppServiceEnvironmentResources.listByResourceGroup, + AppServiceEnvironments +); +@@clientLocation(AppServiceEnvironmentResources.list, AppServiceEnvironments); +@@clientLocation(AppServiceEnvironmentResources.listCapacities, + AppServiceEnvironments +); +@@clientLocation(AppServiceEnvironmentResources.listDiagnostics, + AppServiceEnvironments +); +@@clientLocation(AppServiceEnvironmentResources.getDiagnosticsItem, + AppServiceEnvironments +); +@@clientLocation(AppServiceEnvironmentResources.getInboundNetworkDependenciesEndpoints, + AppServiceEnvironments +); +@@clientLocation(AppServiceEnvironmentResources.testUpgradeAvailableNotification, + AppServiceEnvironments +); +@@clientLocation(AppServiceEnvironmentResources.upgrade, + AppServiceEnvironments +); +@@clientLocation(AppServiceEnvironmentResources.listOperations, + AppServiceEnvironments +); +@@clientLocation(AppServiceEnvironmentResources.getOutboundNetworkDependenciesEndpoints, + AppServiceEnvironments +); +@@clientLocation(AppServiceEnvironmentResources.getPrivateLinkResources, + AppServiceEnvironments +); +@@clientLocation(AppServiceEnvironmentResources.reboot, AppServiceEnvironments); +@@clientLocation(AppServiceEnvironmentResources.listAppServicePlans, + AppServiceEnvironments +); +@@clientLocation(AppServiceEnvironmentResources.listWebApps, + AppServiceEnvironments +); +@@clientLocation(AppServiceEnvironmentResources.listUsages, + AppServiceEnvironments +); +@@clientLocation(AppServiceEnvironmentResources.listHistoryForHostingEnvironment, + Recommendations +); +@@clientLocation(AppServiceEnvironmentResources.listRecommendedRulesForHostingEnvironment, + Recommendations +); +@@clientLocation(AppServiceEnvironmentResources.disableAllForHostingEnvironment, + Recommendations +); +@@clientLocation(AppServiceEnvironmentResources.resetAllFiltersForHostingEnvironment, + Recommendations +); + +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@@flattenProperty(AppServiceEnvironmentResource.properties); + +@@clientLocation(CustomDnsSuffixConfigurations.getAseCustomDnsSuffixConfiguration, + AppServiceEnvironments +); +@@clientLocation(CustomDnsSuffixConfigurations.updateAseCustomDnsSuffixConfiguration, + AppServiceEnvironments +); +@@clientName(CustomDnsSuffixConfigurations.updateAseCustomDnsSuffixConfiguration::parameters.resource, + "customDnsSuffixConfiguration" +); +@@clientLocation(CustomDnsSuffixConfigurations.deleteAseCustomDnsSuffixConfiguration, + AppServiceEnvironments +); + +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@@flattenProperty(CustomDnsSuffixConfiguration.properties); + +@@clientLocation(AseV3NetworkingConfigurations.getAseV3NetworkingConfiguration, + AppServiceEnvironments +); +@@clientLocation(AseV3NetworkingConfigurations.updateAseNetworkingConfiguration, + AppServiceEnvironments +); +@@clientName(AseV3NetworkingConfigurations.updateAseNetworkingConfiguration::parameters.resource, + "aseNetworkingConfiguration" +); + +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@@flattenProperty(AseV3NetworkingConfiguration.properties); + +@@clientLocation(AddressResponses.getVipInfo, AppServiceEnvironments); + +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@@flattenProperty(AddressResponse.properties); + +@@clientLocation(Sites.get, WebApps); +@@clientLocation(Sites.createOrUpdate, WebApps); +@@clientName(Sites.createOrUpdate::parameters.resource, "siteEnvelope"); +@@clientLocation(Sites.update, WebApps); +@@clientName(Sites.update::parameters.properties, "siteEnvelope"); +@@clientLocation(Sites.delete, WebApps); +@@clientLocation(Sites.list, WebApps); +@@clientLocation(Sites.listHistoryForWebApp, Recommendations); +@@clientLocation(Sites.listRecommendedRulesForWebApp, Recommendations); +@@clientLocation(Sites.disableAllForWebApp, Recommendations); +@@clientLocation(Sites.resetAllFiltersForWebApp, Recommendations); +@@clientLocation(Sites.analyzeCustomHostname, WebApps); +@@clientLocation(Sites.applySlotConfigToProduction, WebApps); +@@clientName(Sites.applySlotConfigToProduction::parameters.body, + "slotSwapEntity" +); +@@clientLocation(Sites.backup, WebApps); +@@clientName(Sites.backup::parameters.body, "request"); +@@clientLocation(Sites.updateApplicationSettings, WebApps); +@@clientName(Sites.updateApplicationSettings::parameters.body, "appSettings"); +@@clientLocation(Sites.listApplicationSettings, WebApps); +@@clientLocation(Sites.updateAuthSettings, WebApps); +@@clientName(Sites.updateAuthSettings::parameters.body, "siteAuthSettings"); +@@clientLocation(Sites.getAuthSettings, WebApps); +@@clientLocation(Sites.updateAzureStorageAccounts, WebApps); +@@clientName(Sites.updateAzureStorageAccounts::parameters.body, + "azureStorageAccounts" +); +@@clientLocation(Sites.listAzureStorageAccounts, WebApps); +@@clientLocation(Sites.updateBackupConfiguration, WebApps); +@@clientName(Sites.updateBackupConfiguration::parameters.body, "request"); +@@clientLocation(Sites.deleteBackupConfiguration, WebApps); +@@clientLocation(Sites.getBackupConfiguration, WebApps); +@@clientLocation(Sites.updateConnectionStrings, WebApps); +@@clientName(Sites.updateConnectionStrings::parameters.body, + "connectionStrings" +); +@@clientLocation(Sites.listConnectionStrings, WebApps); +@@clientLocation(Sites.updateMetadata, WebApps); +@@clientName(Sites.updateMetadata::parameters.body, "metadata"); +@@clientLocation(Sites.listMetadata, WebApps); +@@clientLocation(Sites.listPublishingCredentials, WebApps); +@@clientLocation(Sites.updateSitePushSettings, WebApps); +@@clientName(Sites.updateSitePushSettings::parameters.body, "pushSettings"); +@@clientLocation(Sites.listSitePushSettings, WebApps); +@@clientLocation(Sites.getWebSiteContainerLogs, WebApps); +@@clientLocation(Sites.getContainerLogsZip, WebApps); +@@clientLocation(Sites.discoverBackup, WebApps); +@@clientName(Sites.discoverBackup::parameters.body, "request"); +@@clientLocation(Sites.getOneDeployStatus, WebApps); +@@clientLocation(Sites.createOneDeployOperation, WebApps); +@@clientLocation(Sites.getFunctionsAdminToken, WebApps); +@@clientLocation(Sites.listHostKeys, WebApps); +@@clientLocation(Sites.listSyncStatus, WebApps); +@@clientLocation(Sites.syncFunctions, WebApps); +@@clientLocation(Sites.createOrUpdateHostSecret, WebApps); +@@clientName(Sites.createOrUpdateHostSecret::parameters.body, "key"); +@@clientLocation(Sites.deleteHostSecret, WebApps); +@@clientLocation(Sites.listHybridConnections, WebApps); +@@clientLocation(Sites.listRelayServiceConnections, WebApps); +@@clientLocation(Sites.isCloneable, WebApps); +@@clientLocation(Sites.listSiteBackups, WebApps); +@@clientLocation(Sites.listSyncFunctionTriggers, WebApps); +@@clientLocation(Sites.updateMachineKey, WebApps); +@@clientLocation(Sites.migrateStorage, WebApps); +@@clientName(Sites.migrateStorage::parameters.body, "migrationOptions"); +@@clientLocation(Sites.migrateMySql, WebApps); +@@clientName(Sites.migrateMySql::parameters.body, "migrationRequestEnvelope"); +@@clientLocation(Sites.getNetworkTraceOperation, WebApps); +@@clientLocation(Sites.startWebSiteNetworkTrace, WebApps); +@@clientLocation(Sites.startWebSiteNetworkTraceOperation, WebApps); +@@clientLocation(Sites.stopWebSiteNetworkTrace, WebApps); +@@clientLocation(Sites.getNetworkTraces, WebApps); +@@clientLocation(Sites.getNetworkTraceOperationV2, WebApps); +@@clientLocation(Sites.getNetworkTracesV2, WebApps); +@@clientLocation(Sites.generateNewSitePublishingPassword, WebApps); +@@clientLocation(Sites.listPerfMonCounters, WebApps); +@@clientLocation(Sites.getSitePhpErrorLogFlag, WebApps); +@@clientLocation(Sites.listPremierAddOns, WebApps); +@@clientLocation(Sites.getPrivateLinkResources, WebApps); +@@clientLocation(Sites.listPublishingProfileXmlWithSecrets, WebApps); +@@clientName(Sites.listPublishingProfileXmlWithSecrets::parameters.body, + "publishingProfileOptions" +); +@@clientLocation(Sites.resetProductionSlotConfig, WebApps); +@@clientLocation(Sites.restart, WebApps); +@@clientLocation(Sites.restoreFromBackupBlob, WebApps); +@@clientName(Sites.restoreFromBackupBlob::parameters.body, "request"); +@@clientLocation(Sites.restoreFromDeletedApp, WebApps); +@@clientName(Sites.restoreFromDeletedApp::parameters.body, "restoreRequest"); +@@clientLocation(Sites.restoreSnapshot, WebApps); +@@clientName(Sites.restoreSnapshot::parameters.body, "restoreRequest"); +@@clientLocation(Sites.listSlotDifferencesFromProduction, WebApps); +@@clientName(Sites.listSlotDifferencesFromProduction::parameters.body, + "slotSwapEntity" +); +@@clientLocation(Sites.swapSlotWithProduction, WebApps); +@@clientName(Sites.swapSlotWithProduction::parameters.body, "slotSwapEntity"); +@@clientLocation(Sites.listSnapshots, WebApps); +@@clientLocation(Sites.listSnapshotsFromDRSecondary, WebApps); +@@clientLocation(Sites.start, WebApps); +@@clientLocation(Sites.startNetworkTrace, WebApps); +@@clientLocation(Sites.stop, WebApps); +@@clientLocation(Sites.stopNetworkTrace, WebApps); +@@clientLocation(Sites.syncRepository, WebApps); +@@clientLocation(Sites.syncFunctionTriggers, WebApps); +@@clientLocation(Sites.listUsages, WebApps); +@@clientLocation(Sites.deployWorkflowArtifacts, WebApps); +@@clientName(Sites.deployWorkflowArtifacts::parameters.body, + "workflowArtifacts" +); +@@clientLocation(Sites.listWorkflowsConnections, WebApps); +@@clientLocation(Sites.regenerateAccessKey, "Workflows"); +@@clientName(Sites.regenerateAccessKey::parameters.body, "keyType"); +@@clientLocation(Sites.validate, "Workflows"); +@@clientName(Sites.validate::parameters.body, "validate"); + +@@clientName(WebApps.createOrUpdateSlot::parameters.resource, "siteEnvelope"); +@@clientName(WebApps.updateSlot::parameters.properties, "siteEnvelope"); +@@clientName(WebApps.applySlotConfigurationSlot::parameters.body, + "slotSwapEntity" +); +@@clientName(WebApps.backupSlot::parameters.body, "request"); +@@clientName(WebApps.updateApplicationSettingsSlot::parameters.body, + "appSettings" +); +@@clientName(WebApps.updateAuthSettingsSlot::parameters.body, + "siteAuthSettings" +); +@@clientName(WebApps.updateAzureStorageAccountsSlot::parameters.body, + "azureStorageAccounts" +); +@@clientName(WebApps.updateBackupConfigurationSlot::parameters.body, "request"); +@@clientName(WebApps.updateConnectionStringsSlot::parameters.body, + "connectionStrings" +); +@@clientName(WebApps.updateMetadataSlot::parameters.body, "metadata"); +@@clientName(WebApps.updateSitePushSettingsSlot::parameters.body, + "pushSettings" +); +@@clientName(WebApps.discoverBackupSlot::parameters.body, "request"); +@@clientName(WebApps.createOrUpdateHostSecretSlot::parameters.body, "key"); +@@clientName(WebApps.listPublishingProfileXmlWithSecretsSlot::parameters.body, + "publishingProfileOptions" +); +@@clientName(WebApps.restoreFromBackupBlobSlot::parameters.body, "request"); +@@clientName(WebApps.restoreFromDeletedAppSlot::parameters.body, + "restoreRequest" +); +@@clientName(WebApps.restoreSnapshotSlot::parameters.body, "restoreRequest"); +@@clientName(WebApps.listSlotDifferencesSlot::parameters.body, + "slotSwapEntity" +); +@@clientName(WebApps.swapSlotSlot::parameters.body, "slotSwapEntity"); +@@clientName(WebApps.deployWorkflowArtifactsSlot::parameters.body, + "workflowArtifacts" +); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@@flattenProperty(Site.properties); + +@@clientLocation(WorkerPoolResources.getMultiRolePool, AppServiceEnvironments); +@@clientLocation(WorkerPoolResources.createOrUpdateMultiRolePool, + AppServiceEnvironments +); +@@clientName(WorkerPoolResources.createOrUpdateMultiRolePool::parameters.resource, + "multiRolePoolEnvelope" +); +@@clientLocation(WorkerPoolResources.updateMultiRolePool, + AppServiceEnvironments +); +@@clientName(WorkerPoolResources.updateMultiRolePool::parameters.properties, + "multiRolePoolEnvelope" +); +@@clientLocation(WorkerPoolResources.listMultiRolePools, + AppServiceEnvironments +); +@@clientLocation(WorkerPoolResources.listMultiRolePoolInstanceMetricDefinitions, + AppServiceEnvironments +); +@@clientLocation(WorkerPoolResources.listMultiRoleMetricDefinitions, + AppServiceEnvironments +); +@@clientLocation(WorkerPoolResources.listMultiRolePoolSkus, + AppServiceEnvironments +); +@@clientLocation(WorkerPoolResources.listMultiRoleUsages, + AppServiceEnvironments +); +@@clientName(AppServiceEnvironments.createOrUpdateWorkerPool::parameters.resource, + "workerPoolEnvelope" +); +@@clientName(AppServiceEnvironments.updateWorkerPool::parameters.properties, + "workerPoolEnvelope" +); + +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@@flattenProperty(WorkerPoolResource.properties); + +@@clientLocation(RemotePrivateEndpointConnectionARMResources.getPrivateEndpointConnection, + AppServiceEnvironments +); +@@clientLocation(RemotePrivateEndpointConnectionARMResources.approveOrRejectPrivateEndpointConnection, + AppServiceEnvironments +); +@@clientName(RemotePrivateEndpointConnectionARMResources.approveOrRejectPrivateEndpointConnection::parameters.resource, + "privateEndpointWrapper" +); +@@clientLocation(RemotePrivateEndpointConnectionARMResources.deletePrivateEndpointConnection, + AppServiceEnvironments +); +@@clientLocation(RemotePrivateEndpointConnectionARMResources.getPrivateEndpointConnectionList, + AppServiceEnvironments +); +@@clientName(StaticSites.approveOrRejectPrivateEndpointConnection::parameters.resource, + "privateEndpointWrapper" +); +@@clientLocation(RemotePrivateEndpointConnectionARMResourceOperationGroup.getPrivateEndpointConnection, + WebApps +); +@@clientLocation(RemotePrivateEndpointConnectionARMResourceOperationGroup.approveOrRejectPrivateEndpointConnection, + WebApps +); +@@clientName(RemotePrivateEndpointConnectionARMResourceOperationGroup.approveOrRejectPrivateEndpointConnection::parameters.resource, + "privateEndpointWrapper" +); +@@clientLocation(RemotePrivateEndpointConnectionARMResourceOperationGroup.deletePrivateEndpointConnection, + WebApps +); +@@clientLocation(RemotePrivateEndpointConnectionARMResourceOperationGroup.getPrivateEndpointConnectionList, + WebApps +); +@@clientLocation(PrivateEndpointConnectionSlotOperationGroup.getPrivateEndpointConnectionSlot, + WebApps +); +@@clientLocation(PrivateEndpointConnectionSlotOperationGroup.approveOrRejectPrivateEndpointConnectionSlot, + WebApps +); +@@clientName(PrivateEndpointConnectionSlotOperationGroup.approveOrRejectPrivateEndpointConnectionSlot::parameters.resource, + "privateEndpointWrapper" +); +@@clientLocation(PrivateEndpointConnectionSlotOperationGroup.deletePrivateEndpointConnectionSlot, + WebApps +); +@@clientLocation(PrivateEndpointConnectionSlotOperationGroup.getPrivateEndpointConnectionListSlot, + WebApps +); + +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@@flattenProperty(RemotePrivateEndpointConnectionARMResource.properties); + +@@clientName(AppServicePlans.createOrUpdate::parameters.resource, + "appServicePlan" +); +@@clientName(AppServicePlans.update::parameters.properties, "appServicePlan"); + +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@@flattenProperty(AppServicePlan.properties); + +@@clientLocation(HybridConnections.getHybridConnection, AppServicePlans); +@@clientLocation(HybridConnections.deleteHybridConnection, AppServicePlans); +@@clientLocation(HybridConnections.listHybridConnectionKeys, AppServicePlans); +@@clientLocation(HybridConnections.listWebAppsByHybridConnection, + AppServicePlans +); +@@clientLocation(HybridConnectionOperationGroup.getHybridConnection, WebApps); +@@clientLocation(HybridConnectionOperationGroup.createOrUpdateHybridConnection, + WebApps +); +@@clientName(HybridConnectionOperationGroup.createOrUpdateHybridConnection::parameters.resource, + "connectionEnvelope" +); +@@clientLocation(HybridConnectionOperationGroup.updateHybridConnection, + WebApps +); +@@clientName(HybridConnectionOperationGroup.updateHybridConnection::parameters.properties, + "connectionEnvelope" +); +@@clientLocation(HybridConnectionOperationGroup.deleteHybridConnection, + WebApps +); +@@clientLocation(HybridConnectionSlotOperationGroup.getHybridConnectionSlot, + WebApps +); +@@clientLocation(HybridConnectionSlotOperationGroup.createOrUpdateHybridConnectionSlot, + WebApps +); +@@clientName(HybridConnectionSlotOperationGroup.createOrUpdateHybridConnectionSlot::parameters.resource, + "connectionEnvelope" +); +@@clientLocation(HybridConnectionSlotOperationGroup.updateHybridConnectionSlot, + WebApps +); +@@clientName(HybridConnectionSlotOperationGroup.updateHybridConnectionSlot::parameters.properties, + "connectionEnvelope" +); +@@clientLocation(HybridConnectionSlotOperationGroup.deleteHybridConnectionSlot, + WebApps +); + +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@@flattenProperty(HybridConnection.properties); + +@@clientLocation(HybridConnectionLimitsOperationGroup.getHybridConnectionPlanLimit, + AppServicePlans +); + +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@@flattenProperty(HybridConnectionLimits.properties); + +@@clientLocation(VnetInfoResources.getVnetFromServerFarm, AppServicePlans); +@@clientLocation(VnetInfoResources.listVnets, AppServicePlans); +@@clientLocation(VnetInfoResourceOperationGroup.getVnetConnectionSlot, WebApps); +@@clientLocation(VnetInfoResourceOperationGroup.createOrUpdateVnetConnectionSlot, + WebApps +); +@@clientName(VnetInfoResourceOperationGroup.createOrUpdateVnetConnectionSlot::parameters.resource, + "connectionEnvelope" +); +@@clientLocation(VnetInfoResourceOperationGroup.updateVnetConnectionSlot, + WebApps +); +@@clientName(VnetInfoResourceOperationGroup.updateVnetConnectionSlot::parameters.properties, + "connectionEnvelope" +); +@@clientLocation(VnetInfoResourceOperationGroup.deleteVnetConnectionSlot, + WebApps +); +@@clientLocation(VnetInfoResourceOperationGroup.listVnetConnectionsSlot, + WebApps +); +@@clientLocation(VnetConnectionOperationGroup.getVnetConnection, WebApps); +@@clientLocation(VnetConnectionOperationGroup.createOrUpdateVnetConnection, + WebApps +); +@@clientName(VnetConnectionOperationGroup.createOrUpdateVnetConnection::parameters.resource, + "connectionEnvelope" +); +@@clientLocation(VnetConnectionOperationGroup.updateVnetConnection, WebApps); +@@clientName(VnetConnectionOperationGroup.updateVnetConnection::parameters.properties, + "connectionEnvelope" +); +@@clientLocation(VnetConnectionOperationGroup.deleteVnetConnection, WebApps); +@@clientLocation(VnetConnectionOperationGroup.listVnetConnections, WebApps); + +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@@flattenProperty(VnetInfoResource.properties); + +@@clientLocation(VnetRoutes.getRouteForVnet, AppServicePlans); +@@clientLocation(VnetRoutes.createOrUpdateVnetRoute, AppServicePlans); +@@clientName(VnetRoutes.createOrUpdateVnetRoute::parameters.resource, "route"); +@@clientLocation(VnetRoutes.updateVnetRoute, AppServicePlans); +@@clientName(VnetRoutes.updateVnetRoute::parameters.properties, "route"); +@@clientLocation(VnetRoutes.deleteVnetRoute, AppServicePlans); +@@clientLocation(VnetRoutes.listRoutesForVnet, AppServicePlans); + +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@@flattenProperty(VnetRoute.properties); + +@@clientLocation(VnetGateways.getVnetGateway, AppServicePlans); +@@clientLocation(VnetGateways.updateVnetGateway, AppServicePlans); +@@clientName(VnetGateways.updateVnetGateway::parameters.resource, + "connectionEnvelope" +); +@@clientLocation(VnetGatewayOperationGroup.getVnetConnectionGatewaySlot, + WebApps +); +@@clientLocation(VnetGatewayOperationGroup.createOrUpdateVnetConnectionGatewaySlot, + WebApps +); +@@clientName(VnetGatewayOperationGroup.createOrUpdateVnetConnectionGatewaySlot::parameters.resource, + "connectionEnvelope" +); +@@clientLocation(VnetGatewayOperationGroup.updateVnetConnectionGatewaySlot, + WebApps +); +@@clientName(VnetGatewayOperationGroup.updateVnetConnectionGatewaySlot::parameters.properties, + "connectionEnvelope" +); +@@clientLocation(VnetConnectionGatewayOperationGroup.getVnetConnectionGateway, + WebApps +); +@@clientLocation(VnetConnectionGatewayOperationGroup.createOrUpdateVnetConnectionGateway, + WebApps +); +@@clientName(VnetConnectionGatewayOperationGroup.createOrUpdateVnetConnectionGateway::parameters.resource, + "connectionEnvelope" +); +@@clientLocation(VnetConnectionGatewayOperationGroup.updateVnetConnectionGateway, + WebApps +); +@@clientName(VnetConnectionGatewayOperationGroup.updateVnetConnectionGateway::parameters.properties, + "connectionEnvelope" +); + +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@@flattenProperty(VnetGateway.properties); + +@@clientName(Certificates.createOrUpdate::parameters.resource, + "certificateEnvelope" +); +@@clientName(Certificates.update::parameters.properties, "certificateEnvelope"); +@@clientName(SiteCertificates.createOrUpdate::parameters.resource, + "certificateEnvelope" +); +@@clientName(SiteCertificates.update::parameters.properties, + "certificateEnvelope" +); +@@clientLocation(CertificateOperationGroup.getSlot, SiteCertificates); +@@clientLocation(CertificateOperationGroup.createOrUpdateSlot, + SiteCertificates +); +@@clientName(CertificateOperationGroup.createOrUpdateSlot::parameters.resource, + "certificateEnvelope" +); +@@clientLocation(CertificateOperationGroup.updateSlot, SiteCertificates); +@@clientName(CertificateOperationGroup.updateSlot::parameters.properties, + "certificateEnvelope" +); +@@clientLocation(CertificateOperationGroup.deleteSlot, SiteCertificates); +@@clientLocation(CertificateOperationGroup.listSlot, SiteCertificates); + +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@@flattenProperty(Certificate.properties); + +@@clientLocation(DeletedSites.getDeletedWebAppByLocation, "DeletedWebApps"); +@@clientLocation(DeletedSites.listByLocation, "DeletedWebApps"); +@@clientLocation(Global.list, "DeletedWebApps"); + +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@@flattenProperty(DeletedSite.properties); + +@@clientLocation(DetectorResponses.getHostingEnvironmentDetectorResponse, + Diagnostics +); +@@clientLocation(DetectorResponses.listHostingEnvironmentDetectorResponses, + Diagnostics +); +@@clientLocation(DetectorResponseOperationGroup.getSiteDetectorResponseSlot, + Diagnostics +); +@@clientLocation(DetectorResponseOperationGroup.listSiteDetectorResponsesSlot, + Diagnostics +); + +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@@flattenProperty(DetectorResponse.properties); + +@@clientLocation(DiagnosticCategories.getSiteDiagnosticCategory, Diagnostics); +@@clientLocation(DiagnosticCategories.listSiteDiagnosticCategories, + Diagnostics +); +@@clientLocation(DiagnosticCategoryOperationGroup.getSiteDiagnosticCategorySlot, + Diagnostics +); +@@clientLocation(DiagnosticCategoryOperationGroup.listSiteDiagnosticCategoriesSlot, + Diagnostics +); + +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@@flattenProperty(DiagnosticCategory.properties); + +@@clientLocation(AnalysisDefinitions.getSiteAnalysis, Diagnostics); +@@clientLocation(AnalysisDefinitions.listSiteAnalyses, Diagnostics); +@@clientLocation(AnalysisDefinitions.executeSiteAnalysis, Diagnostics); +@@clientLocation(AnalysisDefinitionOperationGroup.getSiteAnalysisSlot, + Diagnostics +); +@@clientLocation(AnalysisDefinitionOperationGroup.listSiteAnalysesSlot, + Diagnostics +); +@@clientLocation(AnalysisDefinitionOperationGroup.executeSiteAnalysisSlot, + Diagnostics +); + +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@@flattenProperty(AnalysisDefinition.properties); + +@@clientLocation(DetectorDefinitionResources.getSiteDetector, Diagnostics); +@@clientLocation(DetectorDefinitionResources.listSiteDetectors, Diagnostics); +@@clientLocation(DetectorDefinitionResources.executeSiteDetector, Diagnostics); +@@clientLocation(DetectorDefinitionResourceOperationGroup.getSiteDetectorSlot, + Diagnostics +); +@@clientLocation(DetectorDefinitionResourceOperationGroup.listSiteDetectorsSlot, + Diagnostics +); +@@clientLocation(DetectorDefinitionResourceOperationGroup.executeSiteDetectorSlot, + Diagnostics +); + +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@@flattenProperty(DetectorDefinitionResource.properties); + +@@clientName(KubeEnvironments.createOrUpdate::parameters.resource, + "kubeEnvironmentEnvelope" +); +@@clientName(KubeEnvironments.update::parameters.properties, + "kubeEnvironmentEnvelope" +); + +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@@flattenProperty(KubeEnvironment.properties); + +@@clientLocation(RecommendationRules.getRuleDetailsByHostingEnvironment, + Recommendations +); +@@clientLocation(RecommendationRules.disableRecommendationForHostingEnvironment, + Recommendations +); + +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@@flattenProperty(RecommendationRule.properties); + +@@clientLocation(ResourceHealthMetadataOperationGroup.getBySite, + "ResourceHealthMetadata" +); +@@clientLocation(ResourceHealthMetadataOperationGroup.listBySite, + "ResourceHealthMetadata" +); +@@clientLocation(BySiteSlotOperationGroup.getBySiteSlot, + "ResourceHealthMetadata" +); +@@clientLocation(BySiteSlotOperationGroup.listBySiteSlot, + "ResourceHealthMetadata" +); + +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@@flattenProperty(ResourceHealthMetadata.properties); + +@@clientLocation(Users.getPublishingUser, Microsoft.Web); +@@clientLocation(Users.updatePublishingUser, Microsoft.Web); +@@clientName(Users.updatePublishingUser::parameters.resource, "userDetails"); + +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@@flattenProperty(User.properties); + +@@clientLocation(SourceControls.getSourceControl, Microsoft.Web); +@@clientLocation(SourceControls.updateSourceControl, Microsoft.Web); +@@clientName(SourceControls.updateSourceControl::parameters.resource, + "requestMessage" +); +@@clientLocation(SourceControls.listSourceControls, Microsoft.Web); + +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@@flattenProperty(SourceControl.properties); + +@@clientLocation(Identifiers.getDomainOwnershipIdentifier, WebApps); +@@clientLocation(Identifiers.createOrUpdateDomainOwnershipIdentifier, WebApps); +@@clientName(Identifiers.createOrUpdateDomainOwnershipIdentifier::parameters.resource, + "domainOwnershipIdentifier" +); +@@clientLocation(Identifiers.updateDomainOwnershipIdentifier, WebApps); +@@clientName(Identifiers.updateDomainOwnershipIdentifier::parameters.properties, + "domainOwnershipIdentifier" +); +@@clientLocation(Identifiers.deleteDomainOwnershipIdentifier, WebApps); +@@clientLocation(Identifiers.listDomainOwnershipIdentifiers, WebApps); +@@clientLocation(IdentifierOperationGroup.getDomainOwnershipIdentifierSlot, + WebApps +); +@@clientLocation(IdentifierOperationGroup.createOrUpdateDomainOwnershipIdentifierSlot, + WebApps +); +@@clientName(IdentifierOperationGroup.createOrUpdateDomainOwnershipIdentifierSlot::parameters.resource, + "domainOwnershipIdentifier" +); +@@clientLocation(IdentifierOperationGroup.updateDomainOwnershipIdentifierSlot, + WebApps +); +@@clientName(IdentifierOperationGroup.updateDomainOwnershipIdentifierSlot::parameters.properties, + "domainOwnershipIdentifier" +); +@@clientLocation(IdentifierOperationGroup.deleteDomainOwnershipIdentifierSlot, + WebApps +); +@@clientLocation(IdentifierOperationGroup.listDomainOwnershipIdentifiersSlot, + WebApps +); + +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@@flattenProperty(Identifier.properties); + +@@clientLocation(StaticSiteARMResources.getStaticSite, StaticSites); +@@clientLocation(StaticSiteARMResources.createOrUpdateStaticSite, StaticSites); +@@clientName(StaticSiteARMResources.createOrUpdateStaticSite::parameters.resource, + "staticSiteEnvelope" +); +@@clientLocation(StaticSiteARMResources.updateStaticSite, StaticSites); +@@clientName(StaticSiteARMResources.updateStaticSite::parameters.properties, + "staticSiteEnvelope" +); +@@clientLocation(StaticSiteARMResources.deleteStaticSite, StaticSites); +@@clientLocation(StaticSiteARMResources.getStaticSitesByResourceGroup, + StaticSites +); +@@clientLocation(StaticSiteARMResources.list, StaticSites); +@@clientLocation(StaticSiteARMResources.listStaticSiteUsers, StaticSites); +@@clientLocation(StaticSiteARMResources.deleteStaticSiteUser, StaticSites); +@@clientLocation(StaticSiteARMResources.updateStaticSiteUser, StaticSites); + +@@clientLocation(StaticSiteARMResources.createOrUpdateStaticSiteAppSettings, + StaticSites +); +@@clientName(StaticSiteARMResources.createOrUpdateStaticSiteAppSettings::parameters.body, + "appSettings" +); +@@clientLocation(StaticSiteARMResources.createOrUpdateStaticSiteFunctionAppSettings, + StaticSites +); +@@clientName(StaticSiteARMResources.createOrUpdateStaticSiteFunctionAppSettings::parameters.body, + "appSettings" +); +@@clientLocation(StaticSiteARMResources.createUserRolesInvitationLink, + StaticSites +); +@@clientName(StaticSiteARMResources.createUserRolesInvitationLink::parameters.body, + "staticSiteUserRolesInvitationEnvelope" +); +@@clientLocation(StaticSiteARMResources.detachStaticSite, StaticSites); +@@clientLocation(StaticSiteARMResources.listStaticSiteFunctions, StaticSites); +@@clientLocation(StaticSiteARMResources.listStaticSiteAppSettings, StaticSites); +@@clientLocation(StaticSiteARMResources.listStaticSiteConfiguredRoles, + StaticSites +); +@@clientLocation(StaticSiteARMResources.listStaticSiteFunctionAppSettings, + StaticSites +); +@@clientLocation(StaticSiteARMResources.listStaticSiteSecrets, StaticSites); +@@clientLocation(StaticSiteARMResources.getPrivateLinkResources, StaticSites); +@@clientLocation(StaticSiteARMResources.resetStaticSiteApiKey, StaticSites); +@@clientName(StaticSiteARMResources.resetStaticSiteApiKey::parameters.body, + "resetPropertiesEnvelope" +); +@@clientLocation(StaticSiteARMResources.getDatabaseConnectionsWithDetails, + StaticSites +); +@@clientLocation(StaticSiteARMResources.createZipDeploymentForStaticSite, + StaticSites +); +@@clientName(StaticSiteARMResources.createZipDeploymentForStaticSite::parameters.body, + "staticSiteZipDeploymentEnvelope" +); + +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@@flattenProperty(StaticSiteARMResource.properties); + +@@clientLocation(StaticSiteBuildARMResources.getStaticSiteBuild, StaticSites); +@@clientLocation(StaticSiteBuildARMResources.deleteStaticSiteBuild, + StaticSites +); +@@clientLocation(StaticSiteBuildARMResources.getStaticSiteBuilds, StaticSites); +@@clientLocation(StaticSiteBuildARMResources.createOrUpdateStaticSiteBuildAppSettings, + StaticSites +); +@@clientName(StaticSiteBuildARMResources.createOrUpdateStaticSiteBuildAppSettings::parameters.body, + "appSettings" +); +@@clientLocation(StaticSiteBuildARMResources.createOrUpdateStaticSiteBuildFunctionAppSettings, + StaticSites +); +@@clientName(StaticSiteBuildARMResources.createOrUpdateStaticSiteBuildFunctionAppSettings::parameters.body, + "appSettings" +); +@@clientLocation(StaticSiteBuildARMResources.listStaticSiteBuildFunctions, + StaticSites +); +@@clientLocation(StaticSiteBuildARMResources.listStaticSiteBuildAppSettings, + StaticSites +); +@@clientLocation(StaticSiteBuildARMResources.listStaticSiteBuildFunctionAppSettings, + StaticSites +); +@@clientLocation(StaticSiteBuildARMResources.getBuildDatabaseConnectionsWithDetails, + StaticSites +); +@@clientLocation(StaticSiteBuildARMResources.createZipDeploymentForStaticSiteBuild, + StaticSites +); +@@clientName(StaticSiteBuildARMResources.createZipDeploymentForStaticSiteBuild::parameters.body, + "staticSiteZipDeploymentEnvelope" +); + +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@@flattenProperty(StaticSiteBuildARMResource.properties); + +@@clientLocation(DatabaseConnections.getBuildDatabaseConnection, StaticSites); +@@clientLocation(DatabaseConnections.createOrUpdateBuildDatabaseConnection, + StaticSites +); +@@clientName(DatabaseConnections.createOrUpdateBuildDatabaseConnection::parameters.resource, + "databaseConnectionRequestEnvelope" +); +@@clientLocation(DatabaseConnections.updateBuildDatabaseConnection, + StaticSites +); +@@clientName(DatabaseConnections.updateBuildDatabaseConnection::parameters.properties, + "databaseConnectionRequestEnvelope" +); +@@clientLocation(DatabaseConnections.deleteBuildDatabaseConnection, + StaticSites +); +@@clientLocation(DatabaseConnections.getBuildDatabaseConnections, StaticSites); +@@clientLocation(DatabaseConnections.getBuildDatabaseConnectionWithDetails, + StaticSites +); +@@clientLocation(DatabaseConnectionOperationGroup.getDatabaseConnection, + StaticSites +); +@@clientLocation(DatabaseConnectionOperationGroup.createOrUpdateDatabaseConnection, + StaticSites +); +@@clientName(DatabaseConnectionOperationGroup.createOrUpdateDatabaseConnection::parameters.resource, + "databaseConnectionRequestEnvelope" +); +@@clientLocation(DatabaseConnectionOperationGroup.updateDatabaseConnection, + StaticSites +); +@@clientName(DatabaseConnectionOperationGroup.updateDatabaseConnection::parameters.properties, + "databaseConnectionRequestEnvelope" +); +@@clientLocation(DatabaseConnectionOperationGroup.deleteDatabaseConnection, + StaticSites +); +@@clientLocation(DatabaseConnectionOperationGroup.getDatabaseConnections, + StaticSites +); +@@clientLocation(DatabaseConnectionOperationGroup.getDatabaseConnectionWithDetails, + StaticSites +); + +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@@flattenProperty(DatabaseConnection.properties); + +@@clientLocation(StaticSiteUserProvidedFunctionAppARMResources.getUserProvidedFunctionAppForStaticSiteBuild, + StaticSites +); +@@clientLocation(StaticSiteUserProvidedFunctionAppARMResources.registerUserProvidedFunctionAppWithStaticSiteBuild, + StaticSites +); +@@clientName(StaticSiteUserProvidedFunctionAppARMResources.registerUserProvidedFunctionAppWithStaticSiteBuild::parameters.resource, + "staticSiteUserProvidedFunctionEnvelope" +); +@@clientLocation(StaticSiteUserProvidedFunctionAppARMResources.detachUserProvidedFunctionAppFromStaticSiteBuild, + StaticSites +); +@@clientLocation(StaticSiteUserProvidedFunctionAppARMResources.getUserProvidedFunctionAppsForStaticSiteBuild, + StaticSites +); +@@clientLocation(StaticSiteUserProvidedFunctionAppARMResourceOperationGroup.getUserProvidedFunctionAppForStaticSite, + StaticSites +); +@@clientLocation(StaticSiteUserProvidedFunctionAppARMResourceOperationGroup.registerUserProvidedFunctionAppWithStaticSite, + StaticSites +); +@@clientName(StaticSiteUserProvidedFunctionAppARMResourceOperationGroup.registerUserProvidedFunctionAppWithStaticSite::parameters.resource, + "staticSiteUserProvidedFunctionEnvelope" +); +@@clientLocation(StaticSiteUserProvidedFunctionAppARMResourceOperationGroup.detachUserProvidedFunctionAppFromStaticSite, + StaticSites +); +@@clientLocation(StaticSiteUserProvidedFunctionAppARMResourceOperationGroup.getUserProvidedFunctionAppsForStaticSite, + StaticSites +); + +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@@flattenProperty(StaticSiteUserProvidedFunctionAppARMResource.properties); + +@@clientLocation(StaticSiteBasicAuthPropertiesARMResources.getBasicAuth, + StaticSites +); +@@clientLocation(StaticSiteBasicAuthPropertiesARMResources.createOrUpdateBasicAuth, + StaticSites +); +@@clientName(StaticSiteBasicAuthPropertiesARMResources.createOrUpdateBasicAuth::parameters.resource, + "basicAuthEnvelope" +); +@@clientLocation(StaticSiteBasicAuthPropertiesARMResources.listBasicAuth, + StaticSites +); + +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@@flattenProperty(StaticSiteBasicAuthPropertiesARMResource.properties); + +@@clientLocation(StaticSiteCustomDomainOverviewARMResources.getStaticSiteCustomDomain, + StaticSites +); +@@clientLocation(StaticSiteCustomDomainOverviewARMResources.createOrUpdateStaticSiteCustomDomain, + StaticSites +); +@@clientName(StaticSiteCustomDomainOverviewARMResources.createOrUpdateStaticSiteCustomDomain::parameters.resource, + "staticSiteCustomDomainRequestPropertiesEnvelope" +); +@@clientLocation(StaticSiteCustomDomainOverviewARMResources.deleteStaticSiteCustomDomain, + StaticSites +); +@@clientLocation(StaticSiteCustomDomainOverviewARMResources.listStaticSiteCustomDomains, + StaticSites +); +@@clientLocation(StaticSiteCustomDomainOverviewARMResources.validateCustomDomainCanBeAddedToStaticSite, + StaticSites +); +@@clientName(StaticSiteCustomDomainOverviewARMResources.validateCustomDomainCanBeAddedToStaticSite::parameters.body, + "staticSiteCustomDomainRequestPropertiesEnvelope" +); + +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@@flattenProperty(StaticSiteCustomDomainOverviewARMResource.properties); + +@@clientLocation(StaticSiteLinkedBackendARMResources.getLinkedBackend, + StaticSites +); +@@clientLocation(StaticSiteLinkedBackendARMResources.linkBackend, StaticSites); +@@clientName(StaticSiteLinkedBackendARMResources.linkBackend::parameters.resource, + "staticSiteLinkedBackendEnvelope" +); +@@clientLocation(StaticSiteLinkedBackendARMResources.unlinkBackend, + StaticSites +); +@@clientLocation(StaticSiteLinkedBackendARMResources.getLinkedBackends, + StaticSites +); +@@clientLocation(StaticSiteLinkedBackendARMResources.validateBackend, + StaticSites +); +@@clientName(StaticSiteLinkedBackendARMResources.validateBackend::parameters.body, + "staticSiteLinkedBackendEnvelope" +); +@@clientLocation(StaticSiteLinkedBackendARMResourceOperationGroup.getLinkedBackendForBuild, + StaticSites +); +@@clientLocation(StaticSiteLinkedBackendARMResourceOperationGroup.linkBackendToBuild, + StaticSites +); +@@clientName(StaticSiteLinkedBackendARMResourceOperationGroup.linkBackendToBuild::parameters.resource, + "staticSiteLinkedBackendEnvelope" +); +@@clientLocation(StaticSiteLinkedBackendARMResourceOperationGroup.unlinkBackendFromBuild, + StaticSites +); +@@clientLocation(StaticSiteLinkedBackendARMResourceOperationGroup.getLinkedBackendsForBuild, + StaticSites +); +@@clientLocation(StaticSiteLinkedBackendARMResourceOperationGroup.validateBackendForBuild, + StaticSites +); +@@clientName(StaticSiteLinkedBackendARMResourceOperationGroup.validateBackendForBuild::parameters.body, + "staticSiteLinkedBackendEnvelope" +); + +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@@flattenProperty(StaticSiteLinkedBackendARMResource.properties); + +@@clientLocation(BackupItems.getBackupStatus, WebApps); +@@clientLocation(BackupItems.deleteBackup, WebApps); +@@clientLocation(BackupItems.listBackups, WebApps); +@@clientLocation(BackupItems.listBackupStatusSecrets, WebApps); +@@clientName(BackupItems.listBackupStatusSecrets::parameters.body, "request"); +@@clientLocation(BackupItems.restore, WebApps); +@@clientName(BackupItems.restore::parameters.body, "request"); +@@clientLocation(BackupItemOperationGroup.getBackupStatusSlot, WebApps); +@@clientLocation(BackupItemOperationGroup.deleteBackupSlot, WebApps); +@@clientLocation(BackupItemOperationGroup.listBackupsSlot, WebApps); +@@clientLocation(BackupItemOperationGroup.listBackupStatusSecretsSlot, WebApps); +@@clientName(BackupItemOperationGroup.listBackupStatusSecretsSlot::parameters.body, + "request" +); +@@clientLocation(BackupItemOperationGroup.restoreSlot, WebApps); +@@clientName(BackupItemOperationGroup.restoreSlot::parameters.body, "request"); + +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@@flattenProperty(BackupItem.properties); + +@@clientLocation(CsmPublishingCredentialsPoliciesEntities.getFtpAllowed, + WebApps +); +@@clientLocation(CsmPublishingCredentialsPoliciesEntities.updateFtpAllowed, + WebApps +); +@@clientName(CsmPublishingCredentialsPoliciesEntities.updateFtpAllowed::parameters.resource, + "csmPublishingAccessPoliciesEntity" +); +@@clientLocation(CsmPublishingCredentialsPoliciesEntities.listBasicPublishingCredentialsPolicies, + WebApps +); +@@clientLocation(CsmPublishingCredentialsPoliciesEntityOperationGroup.getScmAllowed, + WebApps +); +@@clientLocation(CsmPublishingCredentialsPoliciesEntityOperationGroup.updateScmAllowed, + WebApps +); +@@clientName(CsmPublishingCredentialsPoliciesEntityOperationGroup.updateScmAllowed::parameters.resource, + "csmPublishingAccessPoliciesEntity" +); +@@clientLocation(CsmPublishingCredentialsPoliciesEntityFtpAllowedSlot.getFtpAllowedSlot, + WebApps +); +@@clientLocation(CsmPublishingCredentialsPoliciesEntityFtpAllowedSlot.updateFtpAllowedSlot, + WebApps +); +@@clientName(CsmPublishingCredentialsPoliciesEntityFtpAllowedSlot.updateFtpAllowedSlot::parameters.resource, + "csmPublishingAccessPoliciesEntity" +); +@@clientLocation(CsmPublishingCredentialsPoliciesEntityFtpAllowedSlot.listBasicPublishingCredentialsPoliciesSlot, + WebApps +); +@@clientLocation(CsmPublishingCredentialsPoliciesEntityScmAllowedSlot.getScmAllowedSlot, + WebApps +); +@@clientLocation(CsmPublishingCredentialsPoliciesEntityScmAllowedSlot.updateScmAllowedSlot, + WebApps +); +@@clientName(CsmPublishingCredentialsPoliciesEntityScmAllowedSlot.updateScmAllowedSlot::parameters.resource, + "csmPublishingAccessPoliciesEntity" +); + +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@@flattenProperty(CsmPublishingCredentialsPoliciesEntity.properties); + +@@clientLocation(SiteConfigResources.getConfiguration, WebApps); +@@clientLocation(SiteConfigResources.createOrUpdateConfiguration, WebApps); +@@clientName(SiteConfigResources.createOrUpdateConfiguration::parameters.resource, + "siteConfig" +); +@@clientLocation(SiteConfigResources.updateConfiguration, WebApps); +@@clientName(SiteConfigResources.updateConfiguration::parameters.properties, + "siteConfig" +); +@@clientLocation(SiteConfigResources.listConfigurationSnapshotInfo, WebApps); +@@clientLocation(SiteConfigResourceOperationGroup.getConfigurationSnapshot, + WebApps +); +@@clientLocation(SiteConfigResourceOperationGroup.listConfigurations, WebApps); +@@clientLocation(SiteConfigResourceOperationGroup.recoverSiteConfigurationSnapshot, + WebApps +); +@@clientLocation(SiteConfigSlotResourceOperationGroup.getConfigurationSlot, + WebApps +); +@@clientLocation(SiteConfigSlotResourceOperationGroup.createOrUpdateConfigurationSlot, + WebApps +); +@@clientName(SiteConfigSlotResourceOperationGroup.createOrUpdateConfigurationSlot::parameters.resource, + "siteConfig" +); +@@clientLocation(SiteConfigSlotResourceOperationGroup.updateConfigurationSlot, + WebApps +); +@@clientName(SiteConfigSlotResourceOperationGroup.updateConfigurationSlot::parameters.properties, + "siteConfig" +); +@@clientLocation(SiteConfigSlotResourceOperationGroup.listConfigurationSnapshotInfoSlot, + WebApps +); +@@clientLocation(SiteConfigSnapshotSlotResourceOperationGroup.getConfigurationSnapshotSlot, + WebApps +); +@@clientLocation(SiteConfigSnapshotSlotResourceOperationGroup.listConfigurationsSlot, + WebApps +); +@@clientLocation(SiteConfigSnapshotSlotResourceOperationGroup.recoverSiteConfigurationSnapshotSlot, + WebApps +); + +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@@flattenProperty(SiteConfigResource.properties); + +@@clientLocation(SiteAuthSettingsV2s.getAuthSettingsV2WithoutSecrets, WebApps); +@@clientLocation(SiteAuthSettingsV2s.updateAuthSettingsV2, WebApps); +@@clientName(SiteAuthSettingsV2s.updateAuthSettingsV2::parameters.resource, + "siteAuthSettingsV2" +); +@@clientLocation(SiteAuthSettingsV2s.getAuthSettingsV2, WebApps); +@@clientLocation(SiteAuthSettingsV2OperationGroup.getAuthSettingsV2WithoutSecretsSlot, + WebApps +); +@@clientLocation(SiteAuthSettingsV2OperationGroup.updateAuthSettingsV2Slot, + WebApps +); +@@clientName(SiteAuthSettingsV2OperationGroup.updateAuthSettingsV2Slot::parameters.resource, + "siteAuthSettingsV2" +); +@@clientLocation(SiteAuthSettingsV2OperationGroup.getAuthSettingsV2Slot, + WebApps +); + +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@@flattenProperty(SiteAuthSettingsV2.properties); + +@@clientLocation(AppSettingKeyVaultReference.getAppSettingKeyVaultReference, + WebApps +); +@@clientLocation(AppSettingKeyVaultReference.getAppSettingsKeyVaultReferences, + WebApps +); +@@clientLocation(SiteConnectionStringKeyVaultReference.getSiteConnectionStringKeyVaultReference, + WebApps +); +@@clientLocation(SiteConnectionStringKeyVaultReference.getSiteConnectionStringKeyVaultReferences, + WebApps +); +@@clientLocation(AppSettingKeyVaultReferenceSlot.getAppSettingKeyVaultReferenceSlot, + WebApps +); +@@clientLocation(AppSettingKeyVaultReferenceSlot.getAppSettingsKeyVaultReferencesSlot, + WebApps +); +@@clientLocation(SiteConnectionStringKeyVaultReferenceSlot.getSiteConnectionStringKeyVaultReferenceSlot, + WebApps +); +@@clientLocation(SiteConnectionStringKeyVaultReferenceSlot.getSiteConnectionStringKeyVaultReferencesSlot, + WebApps +); + +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@@flattenProperty(ApiKVReference.properties); + +@@clientLocation(SiteLogsConfigs.getDiagnosticLogsConfiguration, WebApps); +@@clientLocation(SiteLogsConfigs.updateDiagnosticLogsConfig, WebApps); +@@clientName(SiteLogsConfigs.updateDiagnosticLogsConfig::parameters.resource, + "siteLogsConfig" +); +@@clientLocation(SiteLogsConfigOperationGroup.getDiagnosticLogsConfigurationSlot, + WebApps +); +@@clientLocation(SiteLogsConfigOperationGroup.updateDiagnosticLogsConfigSlot, + WebApps +); +@@clientName(SiteLogsConfigOperationGroup.updateDiagnosticLogsConfigSlot::parameters.resource, + "siteLogsConfig" +); + +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@@flattenProperty(SiteLogsConfig.properties); + +@@clientLocation(SlotConfigNamesResources.listSlotConfigurationNames, WebApps); +@@clientLocation(SlotConfigNamesResources.updateSlotConfigurationNames, + WebApps +); +@@clientName(SlotConfigNamesResources.updateSlotConfigurationNames::parameters.resource, + "slotConfigNames" +); + +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@@flattenProperty(SlotConfigNamesResource.properties); + +@@clientLocation(ContinuousWebJobs.getContinuousWebJob, WebApps); +@@clientLocation(ContinuousWebJobs.deleteContinuousWebJob, WebApps); +@@clientLocation(ContinuousWebJobs.listContinuousWebJobs, WebApps); +@@clientLocation(ContinuousWebJobs.startContinuousWebJob, WebApps); +@@clientLocation(ContinuousWebJobs.stopContinuousWebJob, WebApps); +@@clientLocation(ContinuousWebJobOperationGroup.getContinuousWebJobSlot, + WebApps +); +@@clientLocation(ContinuousWebJobOperationGroup.deleteContinuousWebJobSlot, + WebApps +); +@@clientLocation(ContinuousWebJobOperationGroup.listContinuousWebJobsSlot, + WebApps +); +@@clientLocation(ContinuousWebJobOperationGroup.startContinuousWebJobSlot, + WebApps +); +@@clientLocation(ContinuousWebJobOperationGroup.stopContinuousWebJobSlot, + WebApps +); + +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@@flattenProperty(ContinuousWebJob.properties); + +@@clientLocation(CsmDeploymentStatuses.getProductionSiteDeploymentStatus, + WebApps +); +@@clientLocation(CsmDeploymentStatuses.listProductionSiteDeploymentStatuses, + WebApps +); +@@clientLocation(CsmDeploymentStatusOperationGroup.getSlotSiteDeploymentStatusSlot, + WebApps +); +@@clientLocation(CsmDeploymentStatusOperationGroup.listSlotSiteDeploymentStatusesSlot, + WebApps +); + +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@@flattenProperty(CsmDeploymentStatus.properties); + +@@clientLocation(Deployments.getDeployment, WebApps); +@@clientLocation(Deployments.createDeployment, WebApps); +@@clientName(Deployments.createDeployment::parameters.resource, "deployment"); +@@clientLocation(Deployments.deleteDeployment, WebApps); +@@clientLocation(Deployments.listDeployments, WebApps); +@@clientLocation(Deployments.listDeploymentLog, WebApps); +@@clientLocation(DeploymentOperationGroup.getDeploymentSlot, WebApps); +@@clientLocation(DeploymentOperationGroup.createDeploymentSlot, WebApps); +@@clientName(DeploymentOperationGroup.createDeploymentSlot::parameters.resource, + "deployment" +); +@@clientLocation(DeploymentOperationGroup.deleteDeploymentSlot, WebApps); +@@clientLocation(DeploymentOperationGroup.listDeploymentsSlot, WebApps); +@@clientLocation(DeploymentOperationGroup.listDeploymentLogSlot, WebApps); + +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@@flattenProperty(Deployment.properties); + +@@clientLocation(MSDeployStatuses.getMSDeployStatus, WebApps); +@@clientLocation(MSDeployStatuses.createMSDeployOperation, WebApps); +@@clientName(MSDeployStatuses.createMSDeployOperation::parameters.resource, + "MSDeploy" +); +@@clientLocation(MSDeployStatuses.getMSDeployLog, WebApps); +@@clientLocation(MSDeployStatusOperationGroup.getInstanceMsDeployStatus, + WebApps +); +@@clientLocation(MSDeployStatusOperationGroup.createInstanceMSDeployOperation, + WebApps +); +@@clientName(MSDeployStatusOperationGroup.createInstanceMSDeployOperation::parameters.resource, + "MSDeploy" +); +@@clientLocation(MSDeployStatusOperationGroup.getInstanceMSDeployLog, WebApps); +@@clientLocation(MSDeployStatusSlotOperationGroup.getMSDeployStatusSlot, + WebApps +); +@@clientLocation(MSDeployStatusSlotOperationGroup.createMSDeployOperationSlot, + WebApps +); +@@clientName(MSDeployStatusSlotOperationGroup.createMSDeployOperationSlot::parameters.resource, + "MSDeploy" +); +@@clientLocation(MSDeployStatusSlotOperationGroup.getMSDeployLogSlot, WebApps); +@@clientLocation(InstanceMSDeployStatusOperationGroup.getInstanceMsDeployStatusSlot, + WebApps +); +@@clientLocation(InstanceMSDeployStatusOperationGroup.createInstanceMSDeployOperationSlot, + WebApps +); +@@clientName(InstanceMSDeployStatusOperationGroup.createInstanceMSDeployOperationSlot::parameters.resource, + "MSDeploy" +); +@@clientLocation(InstanceMSDeployStatusOperationGroup.getInstanceMSDeployLogSlot, + WebApps +); + +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@@flattenProperty(MSDeployStatus.properties); + +@@clientLocation(FunctionEnvelopes.getFunction, WebApps); +@@clientLocation(FunctionEnvelopes.createFunction, WebApps); +@@clientName(FunctionEnvelopes.createFunction::parameters.resource, + "function_envelope" +); +@@clientLocation(FunctionEnvelopes.deleteFunction, WebApps); +@@clientLocation(FunctionEnvelopes.listFunctions, WebApps); +@@clientLocation(FunctionEnvelopes.createOrUpdateFunctionSecret, WebApps); +@@clientLocation(FunctionEnvelopes.deleteFunctionSecret, WebApps); +@@clientLocation(FunctionEnvelopes.listFunctionKeys, WebApps); +@@clientLocation(FunctionEnvelopes.listFunctionSecrets, WebApps); +@@clientLocation(FunctionEnvelopeOperationGroup.getInstanceFunctionSlot, + WebApps +); +@@clientLocation(FunctionEnvelopeOperationGroup.createInstanceFunctionSlot, + WebApps +); +@@clientName(FunctionEnvelopeOperationGroup.createInstanceFunctionSlot::parameters.resource, + "function_envelope" +); +@@clientLocation(FunctionEnvelopeOperationGroup.deleteInstanceFunctionSlot, + WebApps +); +@@clientLocation(FunctionEnvelopeOperationGroup.listInstanceFunctionsSlot, + WebApps +); +@@clientLocation(FunctionEnvelopeOperationGroup.createOrUpdateFunctionSecretSlot, + WebApps +); + +@@clientLocation(FunctionEnvelopeOperationGroup.deleteFunctionSecretSlot, + WebApps +); +@@clientLocation(FunctionEnvelopeOperationGroup.listFunctionKeysSlot, WebApps); +@@clientLocation(FunctionEnvelopeOperationGroup.listFunctionSecretsSlot, + WebApps +); + +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@@flattenProperty(FunctionEnvelope.properties); + +@@clientLocation(HostNameBindings.getHostNameBinding, WebApps); +@@clientLocation(HostNameBindings.createOrUpdateHostNameBinding, WebApps); +@@clientName(HostNameBindings.createOrUpdateHostNameBinding::parameters.resource, + "hostNameBinding" +); +@@clientLocation(HostNameBindings.deleteHostNameBinding, WebApps); +@@clientLocation(HostNameBindings.listHostNameBindings, WebApps); +@@clientLocation(HostNameBindingOperationGroup.getHostNameBindingSlot, WebApps); +@@clientLocation(HostNameBindingOperationGroup.createOrUpdateHostNameBindingSlot, + WebApps +); +@@clientName(HostNameBindingOperationGroup.createOrUpdateHostNameBindingSlot::parameters.resource, + "hostNameBinding" +); +@@clientLocation(HostNameBindingOperationGroup.deleteHostNameBindingSlot, + WebApps +); +@@clientLocation(HostNameBindingOperationGroup.listHostNameBindingsSlot, + WebApps +); + +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@@flattenProperty(HostNameBinding.properties); + +@@clientLocation(RelayServiceConnectionEntities.getRelayServiceConnection, + WebApps +); +@@clientLocation(RelayServiceConnectionEntities.createOrUpdateRelayServiceConnection, + WebApps +); +@@clientName(RelayServiceConnectionEntities.createOrUpdateRelayServiceConnection::parameters.resource, + "connectionEnvelope" +); +@@clientLocation(RelayServiceConnectionEntities.updateRelayServiceConnection, + WebApps +); +@@clientName(RelayServiceConnectionEntities.updateRelayServiceConnection::parameters.properties, + "connectionEnvelope" +); +@@clientLocation(RelayServiceConnectionEntities.deleteRelayServiceConnection, + WebApps +); +@@clientLocation(RelayServiceConnectionEntityOperationGroup.getRelayServiceConnectionSlot, + WebApps +); +@@clientLocation(RelayServiceConnectionEntityOperationGroup.createOrUpdateRelayServiceConnectionSlot, + WebApps +); +@@clientName(RelayServiceConnectionEntityOperationGroup.createOrUpdateRelayServiceConnectionSlot::parameters.resource, + "connectionEnvelope" +); +@@clientLocation(RelayServiceConnectionEntityOperationGroup.updateRelayServiceConnectionSlot, + WebApps +); +@@clientName(RelayServiceConnectionEntityOperationGroup.updateRelayServiceConnectionSlot::parameters.properties, + "connectionEnvelope" +); +@@clientLocation(RelayServiceConnectionEntityOperationGroup.deleteRelayServiceConnectionSlot, + WebApps +); + +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@@flattenProperty(RelayServiceConnectionEntity.properties); + +@@clientLocation(WebSiteInstanceStatuses.getInstanceInfo, WebApps); +@@clientLocation(WebSiteInstanceStatuses.listInstanceIdentifiers, WebApps); +@@clientLocation(WebSiteInstanceStatusOperationGroup.getInstanceInfoSlot, + WebApps +); +@@clientLocation(WebSiteInstanceStatusOperationGroup.listInstanceIdentifiersSlot, + WebApps +); + +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@@flattenProperty(WebSiteInstanceStatus.properties); + +@@clientLocation(ProcessInfos.getInstanceProcess, WebApps); +@@clientLocation(ProcessInfos.deleteInstanceProcess, WebApps); +@@clientLocation(ProcessInfos.listInstanceProcesses, WebApps); +@@clientLocation(ProcessInfos.getInstanceProcessDump, WebApps); +@@clientLocation(ProcessInfos.listInstanceProcessThreads, WebApps); +@@clientLocation(ProcessInfoOperationGroup.getProcess, WebApps); +@@clientLocation(ProcessInfoOperationGroup.deleteProcess, WebApps); +@@clientLocation(ProcessInfoOperationGroup.listProcesses, WebApps); +@@clientLocation(ProcessInfoOperationGroup.getProcessDump, WebApps); +@@clientLocation(ProcessInfoOperationGroup.listProcessThreads, WebApps); +@@clientLocation(InstanceProcessSlotOperationGroup.getInstanceProcessSlot, + WebApps +); +@@clientLocation(InstanceProcessSlotOperationGroup.deleteInstanceProcessSlot, + WebApps +); +@@clientLocation(InstanceProcessSlotOperationGroup.listInstanceProcessesSlot, + WebApps +); +@@clientLocation(InstanceProcessSlotOperationGroup.getInstanceProcessDumpSlot, + WebApps +); +@@clientLocation(InstanceProcessSlotOperationGroup.listInstanceProcessThreadsSlot, + WebApps +); +@@clientLocation(ProcessSlotOperationGroup.getProcessSlot, WebApps); +@@clientLocation(ProcessSlotOperationGroup.deleteProcessSlot, WebApps); +@@clientLocation(ProcessSlotOperationGroup.listProcessesSlot, WebApps); +@@clientLocation(ProcessSlotOperationGroup.getProcessDumpSlot, WebApps); +@@clientLocation(ProcessSlotOperationGroup.listProcessThreadsSlot, WebApps); + +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@@flattenProperty(ProcessInfo.properties); + +@@clientLocation(ProcessModuleInfos.getInstanceProcessModule, WebApps); +@@clientLocation(ProcessModuleInfos.listInstanceProcessModules, WebApps); +@@clientLocation(ProcessModuleInfoOperationGroup.getProcessModule, WebApps); +@@clientLocation(ProcessModuleInfoOperationGroup.listProcessModules, WebApps); +@@clientLocation(InstanceProcessModuleSlotOperationGroup.getInstanceProcessModuleSlot, + WebApps +); +@@clientLocation(InstanceProcessModuleSlotOperationGroup.listInstanceProcessModulesSlot, + WebApps +); +@@clientLocation(ProcessModuleSlotOperationGroup.getProcessModuleSlot, WebApps); +@@clientLocation(ProcessModuleSlotOperationGroup.listProcessModulesSlot, + WebApps +); + +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@@flattenProperty(ProcessModuleInfo.properties); + +@@clientLocation(MigrateMySqlStatuses.getMigrateMySqlStatus, WebApps); +@@clientLocation(MigrateMySqlStatusOperationGroup.getMigrateMySqlStatusSlot, + WebApps +); + +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@@flattenProperty(MigrateMySqlStatus.properties); + +@@clientLocation(SwiftVirtualNetworks.getSwiftVirtualNetworkConnection, + WebApps +); +@@clientLocation(SwiftVirtualNetworks.createOrUpdateSwiftVirtualNetworkConnectionWithCheck, + WebApps +); +@@clientName(SwiftVirtualNetworks.createOrUpdateSwiftVirtualNetworkConnectionWithCheck::parameters.resource, + "connectionEnvelope" +); +@@clientLocation(SwiftVirtualNetworks.updateSwiftVirtualNetworkConnectionWithCheck, + WebApps +); +@@clientName(SwiftVirtualNetworks.updateSwiftVirtualNetworkConnectionWithCheck::parameters.properties, + "connectionEnvelope" +); +@@clientLocation(SwiftVirtualNetworks.deleteSwiftVirtualNetwork, WebApps); +@@clientLocation(SwiftVirtualNetworkOperationGroup.getSwiftVirtualNetworkConnectionSlot, + WebApps +); +@@clientLocation(SwiftVirtualNetworkOperationGroup.createOrUpdateSwiftVirtualNetworkConnectionWithCheckSlot, + WebApps +); +@@clientName(SwiftVirtualNetworkOperationGroup.createOrUpdateSwiftVirtualNetworkConnectionWithCheckSlot::parameters.resource, + "connectionEnvelope" +); +@@clientLocation(SwiftVirtualNetworkOperationGroup.updateSwiftVirtualNetworkConnectionWithCheckSlot, + WebApps +); +@@clientName(SwiftVirtualNetworkOperationGroup.updateSwiftVirtualNetworkConnectionWithCheckSlot::parameters.properties, + "connectionEnvelope" +); +@@clientLocation(SwiftVirtualNetworkOperationGroup.deleteSwiftVirtualNetworkSlot, + WebApps +); + +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@@flattenProperty(SwiftVirtualNetwork.properties); + +@@clientLocation(NetworkFeaturesOperationGroup.listNetworkFeatures, WebApps); +@@clientLocation(NetworkFeaturesSlotOperationGroup.listNetworkFeaturesSlot, + WebApps +); + +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@@flattenProperty(NetworkFeatures.properties); + +@@clientLocation(PremierAddOns.getPremierAddOn, WebApps); +@@clientLocation(PremierAddOns.addPremierAddOn, WebApps); +@@clientName(PremierAddOns.addPremierAddOn::parameters.resource, + "premierAddOn" +); +@@clientLocation(PremierAddOns.updatePremierAddOn, WebApps); +@@clientName(PremierAddOns.updatePremierAddOn::parameters.properties, + "premierAddOn" +); +@@clientLocation(PremierAddOns.deletePremierAddOn, WebApps); +@@clientLocation(PremierAddOnOperationGroup.getPremierAddOnSlot, WebApps); +@@clientLocation(PremierAddOnOperationGroup.addPremierAddOnSlot, WebApps); +@@clientName(PremierAddOnOperationGroup.addPremierAddOnSlot::parameters.resource, + "premierAddOn" +); +@@clientLocation(PremierAddOnOperationGroup.updatePremierAddOnSlot, WebApps); +@@clientName(PremierAddOnOperationGroup.updatePremierAddOnSlot::parameters.properties, + "premierAddOn" +); +@@clientLocation(PremierAddOnOperationGroup.deletePremierAddOnSlot, WebApps); + +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@@flattenProperty(PremierAddOn.properties); + +@@clientLocation(PrivateAccesses.getPrivateAccess, WebApps); +@@clientLocation(PrivateAccesses.putPrivateAccessVnet, WebApps); +@@clientName(PrivateAccesses.putPrivateAccessVnet::parameters.resource, + "access" +); +@@clientLocation(PrivateAccessOperationGroup.getPrivateAccessSlot, WebApps); +@@clientLocation(PrivateAccessOperationGroup.putPrivateAccessVnetSlot, WebApps); +@@clientName(PrivateAccessOperationGroup.putPrivateAccessVnetSlot::parameters.resource, + "access" +); + +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@@flattenProperty(PrivateAccess.properties); + +@@clientLocation(PublicCertificates.getPublicCertificate, WebApps); +@@clientLocation(PublicCertificates.createOrUpdatePublicCertificate, WebApps); +@@clientName(PublicCertificates.createOrUpdatePublicCertificate::parameters.resource, + "publicCertificate" +); +@@clientLocation(PublicCertificates.deletePublicCertificate, WebApps); +@@clientLocation(PublicCertificates.listPublicCertificates, WebApps); +@@clientLocation(PublicCertificateOperationGroup.getPublicCertificateSlot, + WebApps +); +@@clientLocation(PublicCertificateOperationGroup.createOrUpdatePublicCertificateSlot, + WebApps +); +@@clientName(PublicCertificateOperationGroup.createOrUpdatePublicCertificateSlot::parameters.resource, + "publicCertificate" +); +@@clientLocation(PublicCertificateOperationGroup.deletePublicCertificateSlot, + WebApps +); +@@clientLocation(PublicCertificateOperationGroup.listPublicCertificatesSlot, + WebApps +); + +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@@flattenProperty(PublicCertificate.properties); + +@@clientLocation(SiteContainers.getSiteContainer, WebApps); +@@clientLocation(SiteContainers.createOrUpdateSiteContainer, WebApps); +@@clientName(SiteContainers.createOrUpdateSiteContainer::parameters.resource, + "request" +); +@@clientLocation(SiteContainers.deleteSiteContainer, WebApps); +@@clientLocation(SiteContainers.listSiteContainers, WebApps); +@@clientLocation(SiteContainerOperationGroup.getSiteContainerSlot, WebApps); +@@clientLocation(SiteContainerOperationGroup.createOrUpdateSiteContainerSlot, + WebApps +); +@@clientName(SiteContainerOperationGroup.createOrUpdateSiteContainerSlot::parameters.resource, + "request" +); +@@clientLocation(SiteContainerOperationGroup.deleteSiteContainerSlot, WebApps); +@@clientLocation(SiteContainerOperationGroup.listSiteContainersSlot, WebApps); + +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@@flattenProperty(SiteContainer.properties); + +@@clientLocation(SiteExtensionInfos.getSiteExtension, WebApps); +@@clientLocation(SiteExtensionInfos.installSiteExtension, WebApps); +@@clientLocation(SiteExtensionInfos.deleteSiteExtension, WebApps); +@@clientLocation(SiteExtensionInfos.listSiteExtensions, WebApps); +@@clientLocation(SiteExtensionInfoOperationGroup.getSiteExtensionSlot, WebApps); +@@clientLocation(SiteExtensionInfoOperationGroup.installSiteExtensionSlot, + WebApps +); +@@clientLocation(SiteExtensionInfoOperationGroup.deleteSiteExtensionSlot, + WebApps +); +@@clientLocation(SiteExtensionInfoOperationGroup.listSiteExtensionsSlot, + WebApps +); + +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@@flattenProperty(SiteExtensionInfo.properties); + +@@clientLocation(SiteSourceControls.getSourceControlSlot, WebApps); +@@clientLocation(SiteSourceControls.createOrUpdateSourceControlSlot, WebApps); +@@clientName(SiteSourceControls.createOrUpdateSourceControlSlot::parameters.resource, + "siteSourceControl" +); +@@clientLocation(SiteSourceControls.updateSourceControlSlot, WebApps); +@@clientName(SiteSourceControls.updateSourceControlSlot::parameters.properties, + "siteSourceControl" +); +@@clientLocation(SiteSourceControls.deleteSourceControlSlot, WebApps); +@@clientLocation(SiteSourceControlOperationGroup.getSourceControl, WebApps); +@@clientLocation(SiteSourceControlOperationGroup.createOrUpdateSourceControl, + WebApps +); +@@clientName(SiteSourceControlOperationGroup.createOrUpdateSourceControl::parameters.resource, + "siteSourceControl" +); +@@clientLocation(SiteSourceControlOperationGroup.updateSourceControl, WebApps); +@@clientName(SiteSourceControlOperationGroup.updateSourceControl::parameters.properties, + "siteSourceControl" +); +@@clientLocation(SiteSourceControlOperationGroup.deleteSourceControl, WebApps); + +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@@flattenProperty(SiteSourceControl.properties); + +@@clientLocation(TriggeredWebJobs.getTriggeredWebJobSlot, WebApps); +@@clientLocation(TriggeredWebJobs.deleteTriggeredWebJobSlot, WebApps); +@@clientLocation(TriggeredWebJobs.listTriggeredWebJobsSlot, WebApps); +@@clientLocation(TriggeredWebJobs.runTriggeredWebJobSlot, WebApps); +@@clientLocation(TriggeredWebJobOperationGroup.getTriggeredWebJob, WebApps); +@@clientLocation(TriggeredWebJobOperationGroup.deleteTriggeredWebJob, WebApps); +@@clientLocation(TriggeredWebJobOperationGroup.listTriggeredWebJobs, WebApps); +@@clientLocation(TriggeredWebJobOperationGroup.runTriggeredWebJob, WebApps); + +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@@flattenProperty(TriggeredWebJob.properties); + +@@clientLocation(TriggeredJobHistories.getTriggeredWebJobHistorySlot, WebApps); +@@clientLocation(TriggeredJobHistories.listTriggeredWebJobHistorySlot, WebApps); +@@clientLocation(TriggeredJobHistoryOperationGroup.getTriggeredWebJobHistory, + WebApps +); +@@clientLocation(TriggeredJobHistoryOperationGroup.listTriggeredWebJobHistory, + WebApps +); + +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@@flattenProperty(TriggeredJobHistory.properties); + +@@clientLocation(WebJobs.getWebJobSlot, WebApps); +@@clientLocation(WebJobs.listWebJobsSlot, WebApps); +@@clientLocation(WebJobOperationGroup.getWebJob, WebApps); +@@clientLocation(WebJobOperationGroup.listWebJobs, WebApps); + +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@@flattenProperty(WebJob.properties); + +@@clientLocation(WorkflowEnvelopes.getInstanceWorkflowSlot, WebApps); +@@clientLocation(WorkflowEnvelopes.listInstanceWorkflowsSlot, WebApps); +@@clientLocation(WorkflowEnvelopeOperationGroup.getWorkflow, WebApps); +@@clientLocation(WorkflowEnvelopeOperationGroup.listWorkflows, WebApps); + +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@@flattenProperty(WorkflowRun.properties); + +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@@flattenProperty(WorkflowRunAction.properties); + +@@clientLocation(WorkflowRunActionRepetitionDefinitions.get, + "WorkflowRunActionRepetitions" +); +@@clientLocation(WorkflowRunActionRepetitionDefinitions.list, + "WorkflowRunActionRepetitions" +); +@@clientLocation(WorkflowRunActionRepetitionDefinitions.listExpressionTraces, + "WorkflowRunActionRepetitions" +); + +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@@flattenProperty(WorkflowRunActionRepetitionDefinition.properties); + +@@clientLocation(RequestHistories.get, + "WorkflowRunActionRepetitionsRequestHistories" +); +@@clientLocation(RequestHistories.list, + "WorkflowRunActionRepetitionsRequestHistories" +); + +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@@flattenProperty(WorkflowTrigger.properties); + +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@@flattenProperty(WorkflowTriggerHistory.properties); + +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@@flattenProperty(WorkflowVersion.properties); + +@@clientLocation(GlobalOperationGroup.getSubscriptionOperationWithAsyncResponse, + Global +); + +@@clientLocation(ProviderOperationGroup.getAvailableStacks, "Provider"); +@@clientLocation(ProviderOperationGroup.getFunctionAppStacks, "Provider"); +@@clientLocation(ProviderOperationGroup.getFunctionAppStacksForLocation, + "Provider" +); +@@clientLocation(ProviderOperationGroup.getWebAppStacksForLocation, "Provider"); +@@clientLocation(ProviderOperationGroup.getWebAppStacks, "Provider"); +@@clientLocation(ProviderOperationGroup.getAvailableStacksOnPrem, "Provider"); + +@@clientLocation(RecommendationsOperationGroup.list, Recommendations); +@@clientLocation(RecommendationsOperationGroup.resetAllFilters, + Recommendations +); +@@clientLocation(RecommendationsOperationGroup.disableRecommendationForSubscription, + Recommendations +); + +@@clientLocation(ResourceHealthMetadataNonResourceOperationGroup.list, + "ResourceHealthMetadata" +); +@@clientLocation(ResourceHealthMetadataNonResourceOperationGroup.listByResourceGroup, + "ResourceHealthMetadata" +); + +@@clientLocation(GetUsagesInLocationOperationGroup.list, "GetUsagesInLocation"); +@@clientName(GetUsagesInLocationOperationGroup.list, "list"); + +@@clientLocation(StaticSitesOperationGroup.previewWorkflow, StaticSites); + +@@clientLocation(Operations.list, "Provider"); +@@clientName(Operations.list, "ListOperations"); +@@clientName(checkNameAvailability::parameters.body, "request"); +@@clientName(listSiteIdentifiersAssignedToHostName::parameters.body, + "nameIdentifier" +); +@@clientName(regionalCheckNameAvailability::parameters.body, "request"); +@@clientName(verifyHostingEnvironmentVnet::parameters.body, "parameters"); +@@clientName(StaticSitesOperationGroup.previewWorkflow::parameters.body, + "staticSitesWorkflowPreviewRequest" +); +@@clientName(FunctionEnvelopeOperationGroup.createOrUpdateFunctionSecretSlot::parameters.resource, + "key" +); +@@summary(Operations.list, + "Gets all available operations for the Microsoft.Web resource provider. Also exposes resource metric definitions" +); +@@doc(Operations.list, + "Description for Gets all available operations for the Microsoft.Web resource provider. Also exposes resource metric definitions" +); +@@clientName(FunctionEnvelopes.createOrUpdateFunctionSecret::parameters.body, + "key" +); +@@clientName(StaticSiteARMResources.updateStaticSiteUser::parameters.body, + "staticSiteUserEnvelope" +); + +@@clientLocation(checkNameAvailability, "WebSiteManagement", "go"); +@@clientLocation(Users.getPublishingUser, "WebSiteManagement", "go"); +@@clientLocation(SourceControls.getSourceControl, "WebSiteManagement", "go"); +@@clientLocation(getSubscriptionDeploymentLocations, "WebSiteManagement", "go"); +@@clientLocation(listAseRegions, "WebSiteManagement", "go"); +@@clientLocation(listBillingMeters, "WebSiteManagement", "go"); +@@clientLocation(listCustomHostNameSites, "WebSiteManagement", "go"); +@@clientLocation(listGeoRegions, "WebSiteManagement", "go"); +@@clientLocation(listPremierAddOnOffers, "WebSiteManagement", "go"); +@@clientLocation(listSkus, "WebSiteManagement", "go"); +@@clientLocation(listSiteIdentifiersAssignedToHostName, + "WebSiteManagement", + "go" +); +@@clientLocation(SourceControls.listSourceControls, "WebSiteManagement", "go"); +@@clientLocation(move, "WebSiteManagement", "go"); +@@clientLocation(regionalCheckNameAvailability, "WebSiteManagement", "go"); +@@clientLocation(Users.updatePublishingUser, "WebSiteManagement", "go"); +@@clientLocation(SourceControls.updateSourceControl, "WebSiteManagement", "go"); +@@clientLocation(validate, "WebSiteManagement", "go"); +@@clientLocation(validateMove, "WebSiteManagement", "go"); +@@clientLocation(verifyHostingEnvironmentVnet, "WebSiteManagement", "go"); + +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@@flattenProperty(checkNameAvailability::parameters.body); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@@flattenProperty(regionalCheckNameAvailability::parameters.body); diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/client.tsp b/specification/web/resource-manager/Microsoft.Web/AppService/client.tsp new file mode 100644 index 000000000000..c62cd25f6bc2 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/client.tsp @@ -0,0 +1,2942 @@ +import "./main.tsp"; +import "@azure-tools/typespec-azure-resource-manager"; +import "@azure-tools/typespec-client-generator-core"; + +using Http; +using Azure.ClientGenerator.Core; +using Microsoft.Web; +using Azure.ResourceManager; + +// python +@@clientName(Microsoft.Web, "WebSiteManagementClient", "python, javascript"); +@@clientName(WebApps.swapSlotSlot, "swapSlot", "python,go"); + +@@clientName(SupportedTlsVersions.`1.0`, "ONE0", "python"); +@@clientName(SupportedTlsVersions.`1.1`, "ONE1", "python"); +@@clientName(SupportedTlsVersions.`1.2`, "ONE2", "python"); +@@clientName(SupportedTlsVersions.`1.3`, "ONE3", "python"); + +@@clientName(SupportedTlsVersions.`1.0`, "One0", "go, javascript"); +@@clientName(SupportedTlsVersions.`1.1`, "One1", "go, javascript"); +@@clientName(SupportedTlsVersions.`1.2`, "One2", "go, javascript"); +@@clientName(SupportedTlsVersions.`1.3`, "One3", "go, javascript"); + +@@clientName(TlsCipherSuites.TLS_AES_256_GCM_SHA384, + "TLS_AES256_GCM_SHA384", + "python" +); +@@clientName(TlsCipherSuites.TLS_AES_128_GCM_SHA256, + "TLS_AES128_GCM_SHA256", + "python" +); +@@clientName(TlsCipherSuites.TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384, + "TLS_ECDHE_ECDSA_WITH_AES256_GCM_SHA384", + "python" +); +@@clientName(TlsCipherSuites.TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256, + "TLS_ECDHE_ECDSA_WITH_AES128_CBC_SHA256", + "python" +); +@@clientName(TlsCipherSuites.TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256, + "TLS_ECDHE_ECDSA_WITH_AES128_GCM_SHA256", + "python" +); +@@clientName(TlsCipherSuites.TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384, + "TLS_ECDHE_RSA_WITH_AES256_GCM_SHA384", + "python" +); +@@clientName(TlsCipherSuites.TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256, + "TLS_ECDHE_RSA_WITH_AES128_GCM_SHA256", + "python" +); +@@clientName(TlsCipherSuites.TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384, + "TLS_ECDHE_RSA_WITH_AES256_CBC_SHA384", + "python" +); +@@clientName(TlsCipherSuites.TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256, + "TLS_ECDHE_RSA_WITH_AES128_CBC_SHA256", + "python" +); +@@clientName(TlsCipherSuites.TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA, + "TLS_ECDHE_RSA_WITH_AES256_CBC_SHA", + "python" +); +@@clientName(TlsCipherSuites.TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA, + "TLS_ECDHE_RSA_WITH_AES128_CBC_SHA", + "python" +); +@@clientName(TlsCipherSuites.TLS_RSA_WITH_AES_256_GCM_SHA384, + "TLS_RSA_WITH_AES256_GCM_SHA384", + "python" +); +@@clientName(TlsCipherSuites.TLS_RSA_WITH_AES_128_GCM_SHA256, + "TLS_RSA_WITH_AES128_GCM_SHA256", + "python" +); +@@clientName(TlsCipherSuites.TLS_RSA_WITH_AES_256_CBC_SHA256, + "TLS_RSA_WITH_AES256_CBC_SHA256", + "python" +); +@@clientName(TlsCipherSuites.TLS_RSA_WITH_AES_128_CBC_SHA256, + "TLS_RSA_WITH_AES128_CBC_SHA256", + "python" +); +@@clientName(TlsCipherSuites.TLS_RSA_WITH_AES_256_CBC_SHA, + "TLS_RSA_WITH_AES256_CBC_SHA", + "python" +); +@@clientName(TlsCipherSuites.TLS_RSA_WITH_AES_128_CBC_SHA, + "TLS_RSA_WITH_AES128_CBC_SHA", + "python" +); + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +op diagnosticsExecuteSiteAnalysisSlotCustomized( + ...ApiVersionParameter, + ...SubscriptionIdParameter, + ...ResourceGroupParameter, + ...Azure.ResourceManager.Legacy.Provider, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + siteName: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + diagnosticCategory: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + analysisName: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + slot: string, + + /** + * Start Time + */ + @query("startTime") + startTime?: utcDateTime, + + /** + * End Time + */ + @query("endTime") + endTime?: utcDateTime, + + /** + * Time Grain + */ + @pattern("PT[1-9][0-9]+[SMH]") + @query("timeGrain") + timeGrain?: string, + + @body + body: void, +): ArmResponse; + +@@override(AnalysisDefinitionOperationGroup.executeSiteAnalysisSlot, + diagnosticsExecuteSiteAnalysisSlotCustomized +); + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +op diagnosticsExecuteSiteDetectorCustomized( + ...ApiVersionParameter, + ...SubscriptionIdParameter, + ...ResourceGroupParameter, + ...Azure.ResourceManager.Legacy.Provider, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + siteName: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + detectorName: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + diagnosticCategory: string, + + /** + * Start Time + */ + @query("startTime") + startTime?: utcDateTime, + + /** + * End Time + */ + @query("endTime") + endTime?: utcDateTime, + + /** + * Time Grain + */ + @pattern("PT[1-9][0-9]+[SMH]") + @query("timeGrain") + timeGrain?: string, + + @body + body: void, +): ArmResponse; + +@@override(DetectorDefinitionResources.executeSiteDetector, + diagnosticsExecuteSiteDetectorCustomized +); + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +op diagnosticsExecuteSiteDetectorSlotCustomized( + ...ApiVersionParameter, + ...SubscriptionIdParameter, + ...ResourceGroupParameter, + ...Azure.ResourceManager.Legacy.Provider, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + siteName: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + detectorName: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + diagnosticCategory: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + slot: string, + + /** + * Start Time + */ + @query("startTime") + startTime?: utcDateTime, + + /** + * End Time + */ + @query("endTime") + endTime?: utcDateTime, + + /** + * Time Grain + */ + @pattern("PT[1-9][0-9]+[SMH]") + @query("timeGrain") + timeGrain?: string, + + @body + body: void, +): ArmResponse; + +@@override(DetectorDefinitionResourceOperationGroup.executeSiteDetectorSlot, + diagnosticsExecuteSiteDetectorSlotCustomized +); + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +op diagnosticsGetSiteAnalysisSlotCustomized( + ...ApiVersionParameter, + ...SubscriptionIdParameter, + ...ResourceGroupParameter, + ...Azure.ResourceManager.Legacy.Provider, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + siteName: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + diagnosticCategory: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + analysisName: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + slot: string, +): ArmResponse; + +@@override(AnalysisDefinitionOperationGroup.getSiteAnalysisSlot, + diagnosticsGetSiteAnalysisSlotCustomized +); + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +op diagnosticsGetSiteDetectorResponseSlotCustomized( + ...ApiVersionParameter, + ...SubscriptionIdParameter, + ...ResourceGroupParameter, + ...Azure.ResourceManager.Legacy.Provider, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + siteName: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + detectorName: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + slot: string, + + /** + * Start Time + */ + @query("startTime") + startTime?: utcDateTime, + + /** + * End Time + */ + @query("endTime") + endTime?: utcDateTime, + + /** + * Time Grain + */ + @pattern("PT[1-9][0-9]+[SMH]") + @query("timeGrain") + timeGrain?: string, +): ArmResponse; + +@@override(DetectorResponseOperationGroup.getSiteDetectorResponseSlot, + diagnosticsGetSiteDetectorResponseSlotCustomized +); + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +op diagnosticsGetSiteDetectorSlotCustomized( + ...ApiVersionParameter, + ...SubscriptionIdParameter, + ...ResourceGroupParameter, + ...Azure.ResourceManager.Legacy.Provider, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + siteName: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + diagnosticCategory: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + detectorName: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + slot: string, +): ArmResponse; + +@@override(DetectorDefinitionResourceOperationGroup.getSiteDetectorSlot, + diagnosticsGetSiteDetectorSlotCustomized +); + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +op diagnosticsGetSiteDiagnosticCategorySlotCustomized( + ...ApiVersionParameter, + ...SubscriptionIdParameter, + ...ResourceGroupParameter, + ...Azure.ResourceManager.Legacy.Provider, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + siteName: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + diagnosticCategory: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + slot: string, +): ArmResponse; + +@@override(DiagnosticCategoryOperationGroup.getSiteDiagnosticCategorySlot, + diagnosticsGetSiteDiagnosticCategorySlotCustomized +); + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +op diagnosticsListSiteAnalysesSlotCustomized( + ...ApiVersionParameter, + ...SubscriptionIdParameter, + ...ResourceGroupParameter, + ...Azure.ResourceManager.Legacy.Provider, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + siteName: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + diagnosticCategory: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + slot: string, +): ArmResponse; + +@@override(AnalysisDefinitionOperationGroup.listSiteAnalysesSlot, + diagnosticsListSiteAnalysesSlotCustomized +); + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +op diagnosticsListSiteDetectorsSlotCustomized( + ...ApiVersionParameter, + ...SubscriptionIdParameter, + ...ResourceGroupParameter, + ...Azure.ResourceManager.Legacy.Provider, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + siteName: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + diagnosticCategory: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + slot: string, +): ArmResponse; + +@@override(DetectorDefinitionResourceOperationGroup.listSiteDetectorsSlot, + diagnosticsListSiteDetectorsSlotCustomized +); + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +op recommendationsDisableRecommendationForHostingEnvironmentCustomized( + ...ApiVersionParameter, + ...SubscriptionIdParameter, + ...ResourceGroupParameter, + ...Azure.ResourceManager.Legacy.Provider, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @query + environmentName: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + name: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + hostingEnvironmentName: string, + + @body + body: void, +): { + @body body: void; +}; + +@@override(RecommendationRules.disableRecommendationForHostingEnvironment, + recommendationsDisableRecommendationForHostingEnvironmentCustomized +); + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +op webAppsAddPremierAddOnSlotCustomized( + ...ApiVersionParameter, + ...SubscriptionIdParameter, + ...ResourceGroupParameter, + ...Azure.ResourceManager.Legacy.Provider, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + name: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + premierAddOnName: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + slot: string, + + @body + premierAddOn: PremierAddOn, +): ArmResourceUpdatedResponse; + +@@override(PremierAddOnOperationGroup.addPremierAddOnSlot, + webAppsAddPremierAddOnSlotCustomized +); + +#suppress "@azure-tools/typespec-azure-resource-manager/no-response-body" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +op webAppsApproveOrRejectPrivateEndpointConnectionSlotCustomized( + ...ApiVersionParameter, + ...SubscriptionIdParameter, + ...ResourceGroupParameter, + ...Azure.ResourceManager.Legacy.Provider, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + name: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + privateEndpointConnectionName: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + slot: string, + + @body + privateEndpointWrapper: RemotePrivateEndpointConnectionARMResource, +): ArmResourceUpdatedResponse | (ArmAcceptedLroResponse> & { + @bodyRoot + _: RemotePrivateEndpointConnectionARMResource; +}); + +@@override(PrivateEndpointConnectionSlotOperationGroup.approveOrRejectPrivateEndpointConnectionSlot, + webAppsApproveOrRejectPrivateEndpointConnectionSlotCustomized +); + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +op webAppsCreateInstanceFunctionSlotCustomized( + ...ApiVersionParameter, + ...SubscriptionIdParameter, + ...ResourceGroupParameter, + ...Azure.ResourceManager.Legacy.Provider, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + name: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + functionName: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + slot: string, + + #suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @body + function_envelope: FunctionEnvelope, +): ArmResourceCreatedResponse< + FunctionEnvelope, + ArmLroLocationHeader & + Azure.Core.Foundations.RetryAfterHeader +>; + +@@override(FunctionEnvelopeOperationGroup.createInstanceFunctionSlot, + webAppsCreateInstanceFunctionSlotCustomized +); +#suppress "@azure-tools/typespec-azure-resource-manager/no-response-body" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +op webAppsDeletePrivateEndpointConnectionSlotCustomized( + ...ApiVersionParameter, + ...SubscriptionIdParameter, + ...ResourceGroupParameter, + ...Azure.ResourceManager.Legacy.Provider, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + name: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + privateEndpointConnectionName: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + slot: string, +): ArmResponse | (ArmDeleteAcceptedLroResponse & { + #suppress "@azure-tools/typespec-azure-core/no-unknown" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @body + _: unknown; +}) | (ArmDeletedNoContentResponse & { + #suppress "@azure-tools/typespec-azure-core/no-unknown" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @body + _: unknown; +}); + +@@override(PrivateEndpointConnectionSlotOperationGroup.deletePrivateEndpointConnectionSlot, + webAppsDeletePrivateEndpointConnectionSlotCustomized +); + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +op webAppsInstallSiteExtensionSlotCustomized( + ...ApiVersionParameter, + ...SubscriptionIdParameter, + ...ResourceGroupParameter, + ...Azure.ResourceManager.Legacy.Provider, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + name: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + siteExtensionId: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + slot: string, + + @body + resource: void, +): ArmResponse | ArmResourceCreatedResponse< + SiteExtensionInfo, + LroHeaders = ArmLroLocationHeader & + Azure.Core.Foundations.RetryAfterHeader +> | ArmTooManyRequestsResponse; + +@@override(SiteExtensionInfoOperationGroup.installSiteExtensionSlot, + webAppsInstallSiteExtensionSlotCustomized +); + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +op webAppsMigrateStorageCustomized( + ...ApiVersionParameter, + ...SubscriptionIdParameter, + ...Azure.ResourceManager.Legacy.Provider, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @query + subscriptionName: string, + + ...ResourceGroupParameter, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + name: string, + + @body + migrationOptions: StorageMigrationOptions, +): ArmResponse & + ArmLroLocationHeader; + +@@override(Sites.migrateStorage, webAppsMigrateStorageCustomized); + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +op webAppsRestoreSlotCustomized( + ...ApiVersionParameter, + ...SubscriptionIdParameter, + ...ResourceGroupParameter, + ...Azure.ResourceManager.Legacy.Provider, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + name: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + backupId: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + slot: string, + + @body + request: RestoreRequest, +): { + @body body: void; +}; + +@@override(BackupItemOperationGroup.restoreSlot, webAppsRestoreSlotCustomized); + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +op webAppsCreateDeploymentSlotCustomized( + ...ApiVersionParameter, + ...SubscriptionIdParameter, + ...ResourceGroupParameter, + ...Azure.ResourceManager.Legacy.Provider, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + name: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + id: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + slot: string, + + @body + deployment: Deployment, +): ArmResourceUpdatedResponse; + +@@override(DeploymentOperationGroup.createDeploymentSlot, + webAppsCreateDeploymentSlotCustomized +); + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +op webAppsCreateOrUpdateDomainOwnershipIdentifierSlotCustomized( + ...ApiVersionParameter, + ...SubscriptionIdParameter, + ...ResourceGroupParameter, + ...Azure.ResourceManager.Legacy.Provider, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + name: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + domainOwnershipIdentifierName: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + slot: string, + + @body + domainOwnershipIdentifier: Identifier, +): ArmResourceUpdatedResponse; + +@@override(IdentifierOperationGroup.createOrUpdateDomainOwnershipIdentifierSlot, + webAppsCreateOrUpdateDomainOwnershipIdentifierSlotCustomized +); + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +op webAppsCreateOrUpdateFunctionSecretSlotCustomized( + ...ApiVersionParameter, + ...SubscriptionIdParameter, + ...ResourceGroupParameter, + ...Azure.ResourceManager.Legacy.Provider, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + name: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + functionName: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + keyName: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + slot: string, + + @body + key: KeyInfo, +): ArmResponse | ArmResourceCreatedSyncResponse; + +@@override(FunctionEnvelopeOperationGroup.createOrUpdateFunctionSecretSlot, + webAppsCreateOrUpdateFunctionSecretSlotCustomized +); + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +op webAppsCreateOrUpdateHostNameBindingSlotCustomized( + ...ApiVersionParameter, + ...SubscriptionIdParameter, + ...ResourceGroupParameter, + ...Azure.ResourceManager.Legacy.Provider, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + name: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + hostName: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + slot: string, + + @body + hostNameBinding: HostNameBinding, +): ArmResourceUpdatedResponse; + +@@override(HostNameBindingOperationGroup.createOrUpdateHostNameBindingSlot, + webAppsCreateOrUpdateHostNameBindingSlotCustomized +); + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +op webAppsCreateOrUpdateHostSecretSlotCustomized( + ...ApiVersionParameter, + ...SubscriptionIdParameter, + ...ResourceGroupParameter, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + name: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + keyType: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + keyName: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + slot: string, + + @body + key: KeyInfo, +): ArmResponse | ArmResourceCreatedSyncResponse | DefaultErrorResponse; + +@@override(WebApps.createOrUpdateHostSecretSlot, + webAppsCreateOrUpdateHostSecretSlotCustomized +); + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +op webAppsCreateOrUpdateHybridConnectionSlotCustomized( + ...ApiVersionParameter, + ...SubscriptionIdParameter, + ...ResourceGroupParameter, + ...Azure.ResourceManager.Legacy.Provider, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + name: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + namespaceName: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + relayName: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + slot: string, + + @body + connectionEnvelope: HybridConnection, +): ArmResourceUpdatedResponse; + +@@override(HybridConnectionSlotOperationGroup.createOrUpdateHybridConnectionSlot, + webAppsCreateOrUpdateHybridConnectionSlotCustomized +); + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +op webAppsCreateOrUpdatePublicCertificateSlotCustomized( + ...ApiVersionParameter, + ...SubscriptionIdParameter, + ...ResourceGroupParameter, + ...Azure.ResourceManager.Legacy.Provider, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + name: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + publicCertificateName: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + slot: string, + + @body + publicCertificate: PublicCertificate, +): ArmResourceUpdatedResponse; + +@@override(PublicCertificateOperationGroup.createOrUpdatePublicCertificateSlot, + webAppsCreateOrUpdatePublicCertificateSlotCustomized +); + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +op webAppsCreateOrUpdateRelayServiceConnectionSlotCustomized( + ...ApiVersionParameter, + ...SubscriptionIdParameter, + ...ResourceGroupParameter, + ...Azure.ResourceManager.Legacy.Provider, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + name: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + entityName: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + slot: string, + + @body + connectionEnvelope: RelayServiceConnectionEntity, +): ArmResourceUpdatedResponse; + +@@override(RelayServiceConnectionEntityOperationGroup.createOrUpdateRelayServiceConnectionSlot, + webAppsCreateOrUpdateRelayServiceConnectionSlotCustomized +); + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +op webAppsCreateOrUpdateVnetConnectionGatewaySlotCustomized( + ...ApiVersionParameter, + ...SubscriptionIdParameter, + ...ResourceGroupParameter, + ...Azure.ResourceManager.Legacy.Provider, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + name: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + vnetName: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + gatewayName: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + slot: string, + + @body + connectionEnvelope: VnetGateway, +): ArmResourceUpdatedResponse; + +@@override(VnetGatewayOperationGroup.createOrUpdateVnetConnectionGatewaySlot, + webAppsCreateOrUpdateVnetConnectionGatewaySlotCustomized +); + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +op webAppsCreateOrUpdateVnetConnectionSlotCustomized( + ...ApiVersionParameter, + ...SubscriptionIdParameter, + ...ResourceGroupParameter, + ...Azure.ResourceManager.Legacy.Provider, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + name: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + vnetName: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + slot: string, + + @body + connectionEnvelope: VnetInfoResource, +): ArmResourceUpdatedResponse; + +@@override(VnetInfoResourceOperationGroup.createOrUpdateVnetConnectionSlot, + webAppsCreateOrUpdateVnetConnectionSlotCustomized +); + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-resource-manager/no-response-body" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +op webAppsDeleteBackupSlotCustomized( + ...ApiVersionParameter, + ...SubscriptionIdParameter, + ...ResourceGroupParameter, + ...Azure.ResourceManager.Legacy.Provider, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + name: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + backupId: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + slot: string, +): ArmDeletedResponse | ArmNotFoundResponse; + +@@override(BackupItemOperationGroup.deleteBackupSlot, + webAppsDeleteBackupSlotCustomized +); +#suppress "@azure-tools/typespec-azure-resource-manager/no-response-body" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +op webAppsDeleteContinuousWebJobSlotCustomized( + ...ApiVersionParameter, + ...SubscriptionIdParameter, + ...ResourceGroupParameter, + ...Azure.ResourceManager.Legacy.Provider, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + name: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + webJobName: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + slot: string, +): ArmDeletedResponse | ArmDeletedNoContentResponse; + +@@override(ContinuousWebJobOperationGroup.deleteContinuousWebJobSlot, + webAppsDeleteContinuousWebJobSlotCustomized +); +#suppress "@azure-tools/typespec-azure-resource-manager/no-response-body" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +op webAppsDeleteDeploymentSlotCustomized( + ...ApiVersionParameter, + ...SubscriptionIdParameter, + ...ResourceGroupParameter, + ...Azure.ResourceManager.Legacy.Provider, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + name: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + id: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + slot: string, +): ArmDeletedResponse | ArmDeletedNoContentResponse; + +@@override(DeploymentOperationGroup.deleteDeploymentSlot, + webAppsDeleteDeploymentSlotCustomized +); +#suppress "@azure-tools/typespec-azure-resource-manager/no-response-body" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +op webAppsDeleteDomainOwnershipIdentifierSlotCustomized( + ...ApiVersionParameter, + ...SubscriptionIdParameter, + ...ResourceGroupParameter, + ...Azure.ResourceManager.Legacy.Provider, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + name: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + domainOwnershipIdentifierName: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + slot: string, +): ArmDeletedResponse | ArmDeletedNoContentResponse; + +@@override(IdentifierOperationGroup.deleteDomainOwnershipIdentifierSlot, + webAppsDeleteDomainOwnershipIdentifierSlotCustomized +); +#suppress "@azure-tools/typespec-azure-resource-manager/no-response-body" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +op webAppsDeleteFunctionSecretSlotCustomized( + ...ApiVersionParameter, + ...SubscriptionIdParameter, + ...ResourceGroupParameter, + ...Azure.ResourceManager.Legacy.Provider, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + name: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + functionName: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + keyName: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + slot: string, +): NoContentResponse | ArmNotFoundResponse; + +@@override(FunctionEnvelopeOperationGroup.deleteFunctionSecretSlot, + webAppsDeleteFunctionSecretSlotCustomized +); +#suppress "@azure-tools/typespec-azure-resource-manager/no-response-body" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +op webAppsDeleteHostSecretSlotCustomized( + ...ApiVersionParameter, + ...SubscriptionIdParameter, + ...ResourceGroupParameter, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + name: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + keyType: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + keyName: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + slot: string, + + @body + body: void, +): NoContentResponse | ArmNotFoundResponse; + +@@override(WebApps.deleteHostSecretSlot, webAppsDeleteHostSecretSlotCustomized); +#suppress "@azure-tools/typespec-azure-resource-manager/no-response-body" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +op webAppsDeleteHybridConnectionSlotCustomized( + ...ApiVersionParameter, + ...SubscriptionIdParameter, + ...ResourceGroupParameter, + ...Azure.ResourceManager.Legacy.Provider, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + name: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + namespaceName: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + relayName: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + slot: string, +): ArmDeletedResponse | ArmNotFoundResponse; + +@@override(HybridConnectionSlotOperationGroup.deleteHybridConnectionSlot, + webAppsDeleteHybridConnectionSlotCustomized +); +#suppress "@azure-tools/typespec-azure-resource-manager/no-response-body" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +op webAppsDeleteInstanceFunctionSlotCustomized( + ...ApiVersionParameter, + ...SubscriptionIdParameter, + ...ResourceGroupParameter, + ...Azure.ResourceManager.Legacy.Provider, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + name: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + functionName: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + slot: string, +): ArmDeletedNoContentResponse | ArmNotFoundResponse; + +@@override(FunctionEnvelopeOperationGroup.deleteInstanceFunctionSlot, + webAppsDeleteInstanceFunctionSlotCustomized +); +#suppress "@azure-tools/typespec-azure-resource-manager/no-response-body" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +op webAppsDeleteInstanceProcessCustomized( + ...ApiVersionParameter, + ...SubscriptionIdParameter, + ...ResourceGroupParameter, + ...Azure.ResourceManager.Legacy.Provider, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + name: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + processId: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + instanceId: string, +): ArmDeletedNoContentResponse | ArmNotFoundResponse; + +@@override(ProcessInfos.deleteInstanceProcess, + webAppsDeleteInstanceProcessCustomized +); +#suppress "@azure-tools/typespec-azure-resource-manager/no-response-body" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +op webAppsDeleteInstanceProcessSlotCustomized( + ...ApiVersionParameter, + ...SubscriptionIdParameter, + ...ResourceGroupParameter, + ...Azure.ResourceManager.Legacy.Provider, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + name: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + processId: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + slot: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + instanceId: string, +): ArmDeletedNoContentResponse | ArmNotFoundResponse; + +@@override(InstanceProcessSlotOperationGroup.deleteInstanceProcessSlot, + webAppsDeleteInstanceProcessSlotCustomized +); +#suppress "@azure-tools/typespec-azure-resource-manager/no-response-body" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +op webAppsDeletePremierAddOnSlotCustomized( + ...ApiVersionParameter, + ...SubscriptionIdParameter, + ...ResourceGroupParameter, + ...Azure.ResourceManager.Legacy.Provider, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + name: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + premierAddOnName: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + slot: string, +): ArmDeletedResponse; + +@@override(PremierAddOnOperationGroup.deletePremierAddOnSlot, + webAppsDeletePremierAddOnSlotCustomized +); +#suppress "@azure-tools/typespec-azure-resource-manager/no-response-body" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +op webAppsDeleteProcessSlotCustomized( + ...ApiVersionParameter, + ...SubscriptionIdParameter, + ...ResourceGroupParameter, + ...Azure.ResourceManager.Legacy.Provider, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + name: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + processId: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + slot: string, +): ArmDeletedNoContentResponse | ArmNotFoundResponse; + +@@override(ProcessSlotOperationGroup.deleteProcessSlot, + webAppsDeleteProcessSlotCustomized +); +#suppress "@azure-tools/typespec-azure-resource-manager/no-response-body" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +op webAppsDeleteRelayServiceConnectionSlotCustomized( + ...ApiVersionParameter, + ...SubscriptionIdParameter, + ...ResourceGroupParameter, + ...Azure.ResourceManager.Legacy.Provider, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + name: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + entityName: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + slot: string, +): ArmDeletedResponse | ArmNotFoundResponse; + +@@override(RelayServiceConnectionEntityOperationGroup.deleteRelayServiceConnectionSlot, + webAppsDeleteRelayServiceConnectionSlotCustomized +); +#suppress "@azure-tools/typespec-azure-resource-manager/no-response-body" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +op webAppDeleteSiteExtensionSlotCustomized( + ...ApiVersionParameter, + ...SubscriptionIdParameter, + ...ResourceGroupParameter, + ...Azure.ResourceManager.Legacy.Provider, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + name: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + siteExtensionId: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + slot: string, +): ArmDeletedNoContentResponse | ArmNotFoundResponse; + +@@override(SiteExtensionInfoOperationGroup.deleteSiteExtensionSlot, + webAppDeleteSiteExtensionSlotCustomized +); +#suppress "@azure-tools/typespec-azure-resource-manager/no-response-body" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +op webAppsDeleteTriggeredWebJobSlotCustomized( + ...ApiVersionParameter, + ...SubscriptionIdParameter, + ...ResourceGroupParameter, + ...Azure.ResourceManager.Legacy.Provider, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + name: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + webJobName: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + slot: string, +): ArmDeletedResponse | ArmDeletedNoContentResponse; + +@@override(TriggeredWebJobs.deleteTriggeredWebJobSlot, + webAppsDeleteTriggeredWebJobSlotCustomized +); +#suppress "@azure-tools/typespec-azure-resource-manager/no-response-body" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +op webAppsDeleteVnetConnectionSlotCustomized( + ...ApiVersionParameter, + ...SubscriptionIdParameter, + ...ResourceGroupParameter, + ...Azure.ResourceManager.Legacy.Provider, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + name: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + vnetName: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + slot: string, +): ArmDeletedResponse | ArmNotFoundResponse; + +@@override(VnetInfoResourceOperationGroup.deleteVnetConnectionSlot, + webAppsDeleteVnetConnectionSlotCustomized +); + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +op webAppsGetAppSettingKeyVaultReferenceSlotCustomized( + ...ApiVersionParameter, + ...SubscriptionIdParameter, + ...ResourceGroupParameter, + ...Azure.ResourceManager.Legacy.Provider, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + name: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + appSettingKey: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + slot: string, + + configreferences: "configreferences", +): ArmResponse; + +@@override(AppSettingKeyVaultReferenceSlot.getAppSettingKeyVaultReferenceSlot, + webAppsGetAppSettingKeyVaultReferenceSlotCustomized +); + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +op webAppsGetBackupStatusSlotCustomized( + ...ApiVersionParameter, + ...SubscriptionIdParameter, + ...ResourceGroupParameter, + ...Azure.ResourceManager.Legacy.Provider, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + name: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + backupId: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + slot: string, +): ArmResponse; + +@@override(BackupItemOperationGroup.getBackupStatusSlot, + webAppsGetBackupStatusSlotCustomized +); + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +op webAppsGetConfigurationSnapshotSlotCustomized( + ...ApiVersionParameter, + ...SubscriptionIdParameter, + ...ResourceGroupParameter, + ...Azure.ResourceManager.Legacy.Provider, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + name: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + snapshotId: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + slot: string, + + web: "web", +): ArmResponse; + +@@override(SiteConfigSnapshotSlotResourceOperationGroup.getConfigurationSnapshotSlot, + webAppsGetConfigurationSnapshotSlotCustomized +); + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +op webAppsGetContinuousWebJobSlotCustomized( + ...ApiVersionParameter, + ...SubscriptionIdParameter, + ...ResourceGroupParameter, + ...Azure.ResourceManager.Legacy.Provider, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + name: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + webJobName: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + slot: string, +): ArmResponse | ArmNotFoundResponse; + +@@override(ContinuousWebJobOperationGroup.getContinuousWebJobSlot, + webAppsGetContinuousWebJobSlotCustomized +); + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +op webAppsGetDeploymentSlotCustomized( + ...ApiVersionParameter, + ...SubscriptionIdParameter, + ...ResourceGroupParameter, + ...Azure.ResourceManager.Legacy.Provider, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + name: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + id: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + slot: string, +): ArmResponse; + +@@override(DeploymentOperationGroup.getDeploymentSlot, + webAppsGetDeploymentSlotCustomized +); + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +op webAppsGetDomainOwnershipIdentifierSlotCustomized( + ...ApiVersionParameter, + ...SubscriptionIdParameter, + ...ResourceGroupParameter, + ...Azure.ResourceManager.Legacy.Provider, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + name: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + domainOwnershipIdentifierName: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + slot: string, +): ArmResponse; + +@@override(IdentifierOperationGroup.getDomainOwnershipIdentifierSlot, + webAppsGetDomainOwnershipIdentifierSlotCustomized +); + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +op webAppsGetHybridConnectionSlotCustomized( + ...ApiVersionParameter, + ...SubscriptionIdParameter, + ...ResourceGroupParameter, + ...Azure.ResourceManager.Legacy.Provider, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + name: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + namespaceName: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + relayName: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + slot: string, +): ArmResponse; + +@@override(HybridConnectionSlotOperationGroup.getHybridConnectionSlot, + webAppsGetHybridConnectionSlotCustomized +); + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +op webAppsGetInstanceFunctionSlotCustomized( + ...ApiVersionParameter, + ...SubscriptionIdParameter, + ...ResourceGroupParameter, + ...Azure.ResourceManager.Legacy.Provider, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + name: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + functionName: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + slot: string, +): ArmResponse; + +@@override(FunctionEnvelopeOperationGroup.getInstanceFunctionSlot, + webAppsGetInstanceFunctionSlotCustomized +); + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +op webAppsGetInstanceInfoSlotCustomized( + ...ApiVersionParameter, + ...SubscriptionIdParameter, + ...ResourceGroupParameter, + ...Azure.ResourceManager.Legacy.Provider, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + name: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + instanceId: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + slot: string, +): ArmResponse; + +@@override(WebSiteInstanceStatusOperationGroup.getInstanceInfoSlot, + webAppsGetInstanceInfoSlotCustomized +); + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +op webAppsGetInstanceProcessCustomized( + ...ApiVersionParameter, + ...SubscriptionIdParameter, + ...ResourceGroupParameter, + ...Azure.ResourceManager.Legacy.Provider, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + name: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + processId: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + instanceId: string, +): ArmResponse; + +@@override(ProcessInfos.getInstanceProcess, + webAppsGetInstanceProcessCustomized +); + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +op webAppsGetInstanceProcessDumpCustomized( + ...ApiVersionParameter, + ...SubscriptionIdParameter, + ...ResourceGroupParameter, + ...Azure.ResourceManager.Legacy.Provider, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + name: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + processId: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + instanceId: string, + + @body + body: void, +): { + @header("Content-Type") + contentType: "*/*"; + + @doc("Receipt body in COSE format") + @bodyRoot + body: bytes; +} | ArmNotFoundResponse; + +@@override(ProcessInfos.getInstanceProcessDump, + webAppsGetInstanceProcessDumpCustomized +); + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +op webAppsGetInstanceProcessDumpSlotCustomized( + ...ApiVersionParameter, + ...SubscriptionIdParameter, + ...ResourceGroupParameter, + ...Azure.ResourceManager.Legacy.Provider, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + name: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + processId: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + slot: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + instanceId: string, + + @body + body: void, +): { + @header("Content-Type") + contentType: "*/*"; + + @doc("Receipt body in COSE format") + @bodyRoot + body: bytes; +} | ArmNotFoundResponse; + +@@override(InstanceProcessSlotOperationGroup.getInstanceProcessDumpSlot, + webAppsGetInstanceProcessDumpSlotCustomized +); + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +op webAppsGetInstanceProcessModuleCustomized( + ...ApiVersionParameter, + ...SubscriptionIdParameter, + ...ResourceGroupParameter, + ...Azure.ResourceManager.Legacy.Provider, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + name: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + processId: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + baseAddress: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + instanceId: string, +): ArmResponse | ArmNotFoundResponse; + +@@override(ProcessModuleInfos.getInstanceProcessModule, + webAppsGetInstanceProcessModuleCustomized +); + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +op webAppsGetInstanceProcessModuleSlotCustomized( + ...ApiVersionParameter, + ...SubscriptionIdParameter, + ...ResourceGroupParameter, + ...Azure.ResourceManager.Legacy.Provider, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + name: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + processId: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + baseAddress: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + slot: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + instanceId: string, +): ArmResponse | ArmNotFoundResponse; + +@@override(InstanceProcessModuleSlotOperationGroup.getInstanceProcessModuleSlot, + webAppsGetInstanceProcessModuleSlotCustomized +); + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +op webAppsGetInstanceProcessSlotCustomized( + ...ApiVersionParameter, + ...SubscriptionIdParameter, + ...ResourceGroupParameter, + ...Azure.ResourceManager.Legacy.Provider, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + name: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + processId: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + slot: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + instanceId: string, +): ArmResponse | ArmNotFoundResponse; + +@@override(InstanceProcessSlotOperationGroup.getInstanceProcessSlot, + webAppsGetInstanceProcessSlotCustomized +); +#suppress "@azure-tools/typespec-azure-resource-manager/lro-location-header" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-resource-manager/no-response-body" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +op webAppsGetNetworkTraceOperationSlotCustomized( + ...ApiVersionParameter, + ...SubscriptionIdParameter, + ...ResourceGroupParameter, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + name: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + operationId: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + slot: string, + + @body + body: void, +): ArmResponse | (AcceptedResponse & { + @identifiers(#[]) + @bodyRoot + _: NetworkTrace[]; +}); + +@@override(WebApps.getNetworkTraceOperationSlot, + webAppsGetNetworkTraceOperationSlotCustomized +); +#suppress "@azure-tools/typespec-azure-resource-manager/lro-location-header" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-resource-manager/no-response-body" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +op webAppsGetNetworkTraceOperationSlotV2Customized( + ...ApiVersionParameter, + ...SubscriptionIdParameter, + ...ResourceGroupParameter, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + name: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + operationId: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + slot: string, + + @body + body: void, +): ArmResponse | (AcceptedResponse & { + @identifiers(#[]) + @bodyRoot + _: NetworkTrace[]; +}); + +@@override(WebApps.getNetworkTraceOperationSlotV2, + webAppsGetNetworkTraceOperationSlotV2Customized +); + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +op webAppsGetNetworkTracesSlotCustomized( + ...ApiVersionParameter, + ...SubscriptionIdParameter, + ...ResourceGroupParameter, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + name: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + operationId: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + slot: string, + + @body + body: void, +): ArmResponse; + +@@override(WebApps.getNetworkTracesSlot, webAppsGetNetworkTracesSlotCustomized); + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +op webAppsGetNetworkTracesSlotV2Customized( + ...ApiVersionParameter, + ...SubscriptionIdParameter, + ...ResourceGroupParameter, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + name: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + operationId: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + slot: string, + + @body + body: void, +): ArmResponse; + +@@override(WebApps.getNetworkTracesSlotV2, + webAppsGetNetworkTracesSlotV2Customized +); + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +op webAppsGetPremierAddOnSlotCustomized( + ...ApiVersionParameter, + ...SubscriptionIdParameter, + ...ResourceGroupParameter, + ...Azure.ResourceManager.Legacy.Provider, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + name: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + premierAddOnName: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + slot: string, +): ArmResponse; + +@@override(PremierAddOnOperationGroup.getPremierAddOnSlot, + webAppsGetPremierAddOnSlotCustomized +); + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +op webAppsGetPrivateEndpointConnectionSlotCustomized( + ...ApiVersionParameter, + ...SubscriptionIdParameter, + ...ResourceGroupParameter, + ...Azure.ResourceManager.Legacy.Provider, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + name: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + privateEndpointConnectionName: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + slot: string, +): ArmResponse; + +@@override(PrivateEndpointConnectionSlotOperationGroup.getPrivateEndpointConnectionSlot, + webAppsGetPrivateEndpointConnectionSlotCustomized +); + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +op webAppsGetProcessDumpSlotCustomized( + ...ApiVersionParameter, + ...SubscriptionIdParameter, + ...ResourceGroupParameter, + ...Azure.ResourceManager.Legacy.Provider, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + name: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + processId: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + slot: string, + + @body + body: void, +): { + @header("Content-Type") + contentType: "*/*"; + + @doc("Receipt body in COSE format") + @bodyRoot + body: bytes; +} | ArmNotFoundResponse; + +@@override(ProcessSlotOperationGroup.getProcessDumpSlot, + webAppsGetProcessDumpSlotCustomized +); + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +op webAppsGetProcessModuleSlotCustomized( + ...ApiVersionParameter, + ...SubscriptionIdParameter, + ...ResourceGroupParameter, + ...Azure.ResourceManager.Legacy.Provider, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + name: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + processId: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + baseAddress: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + slot: string, +): ArmResponse | ArmNotFoundResponse; + +@@override(ProcessModuleSlotOperationGroup.getProcessModuleSlot, + webAppsGetProcessModuleSlotCustomized +); + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +op webAppsGetProcessSlotCustomized( + ...ApiVersionParameter, + ...SubscriptionIdParameter, + ...ResourceGroupParameter, + ...Azure.ResourceManager.Legacy.Provider, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + name: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + processId: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + slot: string, +): ArmResponse | ArmNotFoundResponse; + +@@override(ProcessSlotOperationGroup.getProcessSlot, + webAppsGetProcessSlotCustomized +); + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +op webAppsGetRelayServiceConnectionSlotCustomized( + ...ApiVersionParameter, + ...SubscriptionIdParameter, + ...ResourceGroupParameter, + ...Azure.ResourceManager.Legacy.Provider, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + name: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + entityName: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + slot: string, +): ArmResponse; + +@@override(RelayServiceConnectionEntityOperationGroup.getRelayServiceConnectionSlot, + webAppsGetRelayServiceConnectionSlotCustomized +); + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +op webAppsGetSiteConnectionStringKeyVaultReferenceSlotCustomized( + ...ApiVersionParameter, + ...SubscriptionIdParameter, + ...ResourceGroupParameter, + ...Azure.ResourceManager.Legacy.Provider, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + name: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + connectionStringKey: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + slot: string, + + configreferences: "configreferences", +): ArmResponse; + +@@override(SiteConnectionStringKeyVaultReferenceSlot.getSiteConnectionStringKeyVaultReferenceSlot, + webAppsGetSiteConnectionStringKeyVaultReferenceSlotCustomized +); + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +op webAppsGetSiteExtensionSlotCustomized( + ...ApiVersionParameter, + ...SubscriptionIdParameter, + ...ResourceGroupParameter, + ...Azure.ResourceManager.Legacy.Provider, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + name: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + siteExtensionId: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + slot: string, +): ArmResponse | ArmNotFoundResponse; + +@@override(SiteExtensionInfoOperationGroup.getSiteExtensionSlot, + webAppsGetSiteExtensionSlotCustomized +); + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +op webAppsGetTriggeredWebJobHistorySlotCustomized( + ...ApiVersionParameter, + ...SubscriptionIdParameter, + ...ResourceGroupParameter, + ...Azure.ResourceManager.Legacy.Provider, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + name: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + webJobName: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + id: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + slot: string, +): ArmResponse | ArmNotFoundResponse; + +@@override(TriggeredJobHistories.getTriggeredWebJobHistorySlot, + webAppsGetTriggeredWebJobHistorySlotCustomized +); + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +op webAppsGetTriggeredWebJobSlotCustomized( + ...ApiVersionParameter, + ...SubscriptionIdParameter, + ...ResourceGroupParameter, + ...Azure.ResourceManager.Legacy.Provider, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + name: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + webJobName: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + slot: string, +): ArmResponse | ArmNotFoundResponse; + +@@override(TriggeredWebJobs.getTriggeredWebJobSlot, + webAppsGetTriggeredWebJobSlotCustomized +); + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +op webAppsGetVnetConnectionGatewaySlotCustomized( + ...ApiVersionParameter, + ...SubscriptionIdParameter, + ...ResourceGroupParameter, + ...Azure.ResourceManager.Legacy.Provider, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + name: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + vnetName: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + gatewayName: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + slot: string, +): ArmResponse | ArmNotFoundResponse; + +@@override(VnetGatewayOperationGroup.getVnetConnectionGatewaySlot, + webAppsGetVnetConnectionGatewaySlotCustomized +); + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +op webAppsGetVnetConnectionSlotCustomized( + ...ApiVersionParameter, + ...SubscriptionIdParameter, + ...ResourceGroupParameter, + ...Azure.ResourceManager.Legacy.Provider, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + name: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + vnetName: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + slot: string, +): ArmResponse; + +@@override(VnetInfoResourceOperationGroup.getVnetConnectionSlot, + webAppsGetVnetConnectionSlotCustomized +); + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +op webAppsGetWebJobSlotCustomized( + ...ApiVersionParameter, + ...SubscriptionIdParameter, + ...ResourceGroupParameter, + ...Azure.ResourceManager.Legacy.Provider, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + name: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + webJobName: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + slot: string, +): ArmResponse; + +@@override(WebJobs.getWebJobSlot, webAppsGetWebJobSlotCustomized); + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +op webAppsListBackupStatusSecretsSlotCustomized( + ...ApiVersionParameter, + ...SubscriptionIdParameter, + ...ResourceGroupParameter, + ...Azure.ResourceManager.Legacy.Provider, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + name: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + backupId: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + slot: string, + + @body + request: BackupRequest, +): ArmResponse; + +@@override(BackupItemOperationGroup.listBackupStatusSecretsSlot, + webAppsListBackupStatusSecretsSlotCustomized +); + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +op webAppsListDeploymentLogSlotCustomized( + ...ApiVersionParameter, + ...SubscriptionIdParameter, + ...ResourceGroupParameter, + ...Azure.ResourceManager.Legacy.Provider, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + name: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + id: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + slot: string, + + @body + body: void, +): ArmResponse; + +@@override(DeploymentOperationGroup.listDeploymentLogSlot, + webAppsListDeploymentLogSlotCustomized +); + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +op webAppsListFunctionKeysSlotCustomized( + ...ApiVersionParameter, + ...SubscriptionIdParameter, + ...ResourceGroupParameter, + ...Azure.ResourceManager.Legacy.Provider, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + name: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + functionName: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + slot: string, + + @body + body: void, +): ArmResponse; + +@@override(FunctionEnvelopeOperationGroup.listFunctionKeysSlot, + webAppsListFunctionKeysSlotCustomized +); + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +op webAppsListFunctionSecretsSlotCustomized( + ...ApiVersionParameter, + ...SubscriptionIdParameter, + ...ResourceGroupParameter, + ...Azure.ResourceManager.Legacy.Provider, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + name: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + functionName: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + slot: string, + + @body + body: void, +): ArmResponse; + +@@override(FunctionEnvelopeOperationGroup.listFunctionSecretsSlot, + webAppsListFunctionSecretsSlotCustomized +); + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +op webAppsListNetworkFeaturesSlotCustomized( + ...ApiVersionParameter, + ...SubscriptionIdParameter, + ...ResourceGroupParameter, + ...Azure.ResourceManager.Legacy.Provider, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + name: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + view: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + slot: string, +): ArmResponse | ArmNotFoundResponse; + +@@override(NetworkFeaturesSlotOperationGroup.listNetworkFeaturesSlot, + webAppsListNetworkFeaturesSlotCustomized +); + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +op webAppsListInstanceProcessModulesCustomized( + ...ApiVersionParameter, + ...SubscriptionIdParameter, + ...ResourceGroupParameter, + ...Azure.ResourceManager.Legacy.Provider, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + name: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + processId: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + instanceId: string, +): ArmResponse | ArmNotFoundResponse; + +@@override(ProcessModuleInfos.listInstanceProcessModules, + webAppsListInstanceProcessModulesCustomized +); + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +op webAppsListInstanceProcessModulesSlotCustomized( + ...ApiVersionParameter, + ...SubscriptionIdParameter, + ...ResourceGroupParameter, + ...Azure.ResourceManager.Legacy.Provider, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + name: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + processId: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + slot: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + instanceId: string, +): ArmResponse | ArmNotFoundResponse; + +@@override(InstanceProcessModuleSlotOperationGroup.listInstanceProcessModulesSlot, + webAppsListInstanceProcessModulesSlotCustomized +); + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +op webAppsListInstanceProcessThreadsCustomized( + ...ApiVersionParameter, + ...SubscriptionIdParameter, + ...ResourceGroupParameter, + ...Azure.ResourceManager.Legacy.Provider, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + name: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + processId: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + instanceId: string, + + @body + body: void, +): ArmResponse | ArmNotFoundResponse; + +@@override(ProcessInfos.listInstanceProcessThreads, + webAppsListInstanceProcessThreadsCustomized +); + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +op webAppsListInstanceProcessThreadsSlotCustomized( + ...ApiVersionParameter, + ...SubscriptionIdParameter, + ...ResourceGroupParameter, + ...Azure.ResourceManager.Legacy.Provider, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + name: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + processId: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + slot: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + instanceId: string, + + @body + body: void, +): ArmResponse | ArmNotFoundResponse; + +@@override(InstanceProcessSlotOperationGroup.listInstanceProcessThreadsSlot, + webAppsListInstanceProcessThreadsSlotCustomized +); + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +op webAppsListProcessModulesSlotCustomized( + ...ApiVersionParameter, + ...SubscriptionIdParameter, + ...ResourceGroupParameter, + ...Azure.ResourceManager.Legacy.Provider, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + name: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + processId: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + slot: string, +): ArmResponse | ArmNotFoundResponse; + +@@override(ProcessModuleSlotOperationGroup.listProcessModulesSlot, + webAppsListProcessModulesSlotCustomized +); + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +op webAppsListProcessThreadsSlotCustomized( + ...ApiVersionParameter, + ...SubscriptionIdParameter, + ...ResourceGroupParameter, + ...Azure.ResourceManager.Legacy.Provider, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + name: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + processId: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + slot: string, + + @body + body: void, +): ArmResponse | ArmNotFoundResponse; + +@@override(ProcessSlotOperationGroup.listProcessThreadsSlot, + webAppsListProcessThreadsSlotCustomized +); + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +op webAppsListTriggeredWebJobHistorySlotCustomized( + ...ApiVersionParameter, + ...SubscriptionIdParameter, + ...ResourceGroupParameter, + ...Azure.ResourceManager.Legacy.Provider, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + name: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + webJobName: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + slot: string, +): ArmResponse | ArmNotFoundResponse; + +@@override(TriggeredJobHistories.listTriggeredWebJobHistorySlot, + webAppsListTriggeredWebJobHistorySlotCustomized +); + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +op webAppsRecoverSiteConfigurationSnapshotSlotCustomized( + ...ApiVersionParameter, + ...SubscriptionIdParameter, + ...ResourceGroupParameter, + ...Azure.ResourceManager.Legacy.Provider, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + name: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + snapshotId: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + slot: string, + + web: "web", + + @body + body: void, +): NoContentResponse; + +@@override(SiteConfigSnapshotSlotResourceOperationGroup.recoverSiteConfigurationSnapshotSlot, + webAppsRecoverSiteConfigurationSnapshotSlotCustomized +); + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +op webAppsRunTriggeredWebJobSlotCustomized( + ...ApiVersionParameter, + ...SubscriptionIdParameter, + ...ResourceGroupParameter, + ...Azure.ResourceManager.Legacy.Provider, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + name: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + webJobName: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + slot: string, + + @body + body: void, +): { + @body body: void; +} | ArmNotFoundResponse; + +@@override(TriggeredWebJobs.runTriggeredWebJobSlot, + webAppsRunTriggeredWebJobSlotCustomized +); + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +op webAppsStartContinuousWebJobSlotCustomized( + ...ApiVersionParameter, + ...SubscriptionIdParameter, + ...ResourceGroupParameter, + ...Azure.ResourceManager.Legacy.Provider, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + name: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + webJobName: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + slot: string, + + @body + body: void, +): { + @body body: void; +} | ArmNotFoundResponse; + +@@override(ContinuousWebJobOperationGroup.startContinuousWebJobSlot, + webAppsStartContinuousWebJobSlotCustomized +); + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +op webAppsStopContinuousWebJobSlotCustomized( + ...ApiVersionParameter, + ...SubscriptionIdParameter, + ...ResourceGroupParameter, + ...Azure.ResourceManager.Legacy.Provider, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + name: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + webJobName: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + slot: string, + + @body + body: void, +): { + @body body: void; +} | ArmNotFoundResponse; + +@@override(ContinuousWebJobOperationGroup.stopContinuousWebJobSlot, + webAppsStopContinuousWebJobSlotCustomized +); + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +op webAppsUpdateDomainOwnershipIdentifierSlotCustomized( + ...ApiVersionParameter, + ...SubscriptionIdParameter, + ...ResourceGroupParameter, + ...Azure.ResourceManager.Legacy.Provider, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + name: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + domainOwnershipIdentifierName: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + slot: string, + + @body + domainOwnershipIdentifier: Identifier, +): ArmResponse; + +@@override(IdentifierOperationGroup.updateDomainOwnershipIdentifierSlot, + webAppsUpdateDomainOwnershipIdentifierSlotCustomized +); + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +op webAppsUpdateHybridConnectionSlotCustomized( + ...ApiVersionParameter, + ...SubscriptionIdParameter, + ...ResourceGroupParameter, + ...Azure.ResourceManager.Legacy.Provider, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + name: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + namespaceName: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + relayName: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + slot: string, + + @body + connectionEnvelope: HybridConnection, +): ArmResponse; + +@@override(HybridConnectionSlotOperationGroup.updateHybridConnectionSlot, + webAppsUpdateHybridConnectionSlotCustomized +); + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +op webAppsUpdatePremierAddOnSlotCustomized( + ...ApiVersionParameter, + ...SubscriptionIdParameter, + ...ResourceGroupParameter, + ...Azure.ResourceManager.Legacy.Provider, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + name: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + premierAddOnName: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + slot: string, + + @body + premierAddOn: PremierAddOnPatchResource, +): ArmResponse; + +@@override(PremierAddOnOperationGroup.updatePremierAddOnSlot, + webAppsUpdatePremierAddOnSlotCustomized +); + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +op webAppsUpdateRelayServiceConnectionSlotCustomized( + ...ApiVersionParameter, + ...SubscriptionIdParameter, + ...ResourceGroupParameter, + ...Azure.ResourceManager.Legacy.Provider, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + name: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + entityName: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + slot: string, + + @body + connectionEnvelope: RelayServiceConnectionEntity, +): ArmResponse; + +@@override(RelayServiceConnectionEntityOperationGroup.updateRelayServiceConnectionSlot, + webAppsUpdateRelayServiceConnectionSlotCustomized +); + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +op webAppsUpdateVnetConnectionGatewaySlotCustomized( + ...ApiVersionParameter, + ...SubscriptionIdParameter, + ...ResourceGroupParameter, + ...Azure.ResourceManager.Legacy.Provider, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + name: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + vnetName: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + gatewayName: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + slot: string, + + @body + connectionEnvelope: VnetGateway, +): ArmResponse; + +@@override(VnetGatewayOperationGroup.updateVnetConnectionGatewaySlot, + webAppsUpdateVnetConnectionGatewaySlotCustomized +); + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +op webAppsUpdateVnetConnectionSlotCustomized( + ...ApiVersionParameter, + ...SubscriptionIdParameter, + ...ResourceGroupParameter, + ...Azure.ResourceManager.Legacy.Provider, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + name: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + vnetName: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + slot: string, + + @body + connectionEnvelope: VnetInfoResource, +): ArmResponse; + +@@override(VnetInfoResourceOperationGroup.updateVnetConnectionSlot, + webAppsUpdateVnetConnectionSlotCustomized +); + +@@clientName(Certificate, "AppCertificate", "go"); +@@clientName(CertificateCollection, "AppCertificateCollection", "go"); +@@clientName(CertificatePatchResource, "AppCertificatePatchResource", "go"); +@@clientName(CertificateProperties, "AppCertificateProperties", "go"); +@@clientName(CertificatePatchResourceProperties, + "AppCertificatePatchResourceProperties", + "go" +); +op checkNameAvailabilityCustomized( + ...Azure.ResourceManager.CommonTypes.ApiVersionParameter, + ...Azure.ResourceManager.CommonTypes.SubscriptionIdParameter, + ...Azure.ResourceManager.Legacy.Provider, + + @doc("Resource name to verify.") + name: string, + + @doc("Resource type used for verification.") + type: CheckNameResourceTypes, + + @doc("Is fully qualified domain name.") + isFqdn?: boolean, + + @doc("Azure Resource Manager ID of the customer's selected Container Apps Environment on which to host the Function app. This must be of the form /subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.App/managedEnvironments/{managedEnvironmentName}.") + environmentId?: string, +): ResourceNameAvailability; + +@@override(checkNameAvailability, + checkNameAvailabilityCustomized, + "javascript" +); + +op regionalCheckNameAvailabilityCustomized( + ...Azure.ResourceManager.CommonTypes.ApiVersionParameter, + ...Azure.ResourceManager.CommonTypes.SubscriptionIdParameter, + ...Azure.ResourceManager.Legacy.Provider, + + @doc("Resource name to verify.") + name: string, + + @doc("The location/region where the resource name availability is checked.") + location: string, + + @doc("Resource type used for verification.") + type: CheckNameResourceTypes, + + @doc("Resource group name.") + resourceGroupName?: string, + + @doc("Indicates the endpoint name reuse scope.The default value is TenantReuse.") + autoGeneratedDomainNameLabelScope?: string, +): DnlResourceNameAvailability; + +@@override(regionalCheckNameAvailability, + regionalCheckNameAvailabilityCustomized, + "javascript" +); +@@clientName(DnlResourceNameAvailabilityRequest.type, + "typeParam", + "javascript" +); +@@clientName(ResourceNameAvailabilityRequest.type, "typeParam", "javascript"); diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/AnalyzeCustomHostName.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/AnalyzeCustomHostName.json new file mode 100644 index 000000000000..a9dbbf60fd8e --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/AnalyzeCustomHostName.json @@ -0,0 +1,34 @@ +{ + "parameters": { + "name": "sitef6141", + "api-version": "2025-03-01", + "resourceGroupName": "testrg123", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": { + "name": "sitef6141", + "type": "Microsoft.Web/sites", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/sitef6141", + "properties": { + "cNameRecords": [ + "siteog.azurewebsites.net" + ], + "conflictingAppResourceId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/siteog", + "customDomainVerificationFailureInfo": { + "code": "07198", + "message": "Custom domain verification failed on conflicting CNAMEs." + }, + "customDomainVerificationTest": "Passed", + "hasConflictAcrossSubscription": true, + "hasConflictOnScaleUnit": false, + "isHostnameAlreadyVerified": true + } + }, + "headers": {} + } + }, + "operationId": "WebApps_AnalyzeCustomHostname", + "title": "Analyze custom hostname for webapp." +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/AnalyzeCustomHostNameSlot.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/AnalyzeCustomHostNameSlot.json new file mode 100644 index 000000000000..9dcb084db05c --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/AnalyzeCustomHostNameSlot.json @@ -0,0 +1,35 @@ +{ + "parameters": { + "name": "sitef6141", + "api-version": "2025-03-01", + "resourceGroupName": "testrg123", + "slot": "staging", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": { + "name": "sitef6141/staging", + "type": "Microsoft.Web/sites/stagings", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/sitef6141/slots/staging", + "properties": { + "cNameRecords": [ + "siteog.azurewebsites.net" + ], + "conflictingAppResourceId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/siteog/slots/qa", + "customDomainVerificationFailureInfo": { + "code": "07198", + "message": "Custom domain verification failed on conflicting CNAMEs." + }, + "customDomainVerificationTest": "Passed", + "hasConflictAcrossSubscription": true, + "hasConflictOnScaleUnit": false, + "isHostnameAlreadyVerified": true + } + }, + "headers": {} + } + }, + "operationId": "WebApps_AnalyzeCustomHostnameSlot", + "title": "Analyze custom hostname for slot" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/AppServiceEnvironments_ApproveOrRejectPrivateEndpointConnection.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/AppServiceEnvironments_ApproveOrRejectPrivateEndpointConnection.json new file mode 100644 index 000000000000..abe4cff90be7 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/AppServiceEnvironments_ApproveOrRejectPrivateEndpointConnection.json @@ -0,0 +1,61 @@ +{ + "parameters": { + "name": "test-ase", + "api-version": "2025-03-01", + "privateEndpointConnectionName": "fa38656c-034e-43d8-adce-fe06ce039c98", + "privateEndpointWrapper": { + "properties": { + "privateLinkServiceConnectionState": { + "description": "Approved by johndoe@company.com", + "status": "Approved" + } + } + }, + "resourceGroupName": "test-rg", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": { + "name": "fa38656c-034e-43d8-adce-fe06ce039c98", + "type": "Microsoft.Web/hostingEnvironments/privateEndpointConnections", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-rg/providers/Microsoft.Web/hostingEnvironments/test-ase/privateEndpointConnections/fa38656c-034e-43d8-adce-fe06ce039c98", + "properties": { + "ipAddresses": [], + "privateEndpoint": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-rg/providers/Microsoft.Network/test-privateEndpoint" + }, + "privateLinkServiceConnectionState": { + "description": "Approved by johndoe@company.com", + "actionsRequired": "None", + "status": "Approved" + }, + "provisioningState": "Succeeded" + } + }, + "headers": {} + }, + "202": { + "body": { + "name": "fa38656c-034e-43d8-adce-fe06ce039c98", + "type": "Microsoft.Web/hostingEnvironments/privateEndpointConnections", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-rg/providers/Microsoft.Web/hostingEnvironments/test-ase/privateEndpointConnections/fa38656c-034e-43d8-adce-fe06ce039c98", + "properties": { + "ipAddresses": [], + "privateEndpoint": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-rg/providers/Microsoft.Network/test-privateEndpoint" + }, + "privateLinkServiceConnectionState": { + "description": "Approved by johndoe@company.com", + "actionsRequired": "None", + "status": "Approved" + }, + "provisioningState": "Succeeded" + } + }, + "headers": {} + } + }, + "operationId": "AppServiceEnvironments_ApproveOrRejectPrivateEndpointConnection", + "title": "Approves or rejects a private endpoint connection." +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/AppServiceEnvironments_ChangeVnet.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/AppServiceEnvironments_ChangeVnet.json new file mode 100644 index 000000000000..138a481f7602 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/AppServiceEnvironments_ChangeVnet.json @@ -0,0 +1,30 @@ +{ + "parameters": { + "name": "test-ase", + "api-version": "2025-03-01", + "resourceGroupName": "test-rg", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "vnetInfo": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/default" + } + }, + "responses": { + "200": { + "body": { + "value": [] + }, + "headers": {} + }, + "202": { + "body": { + "value": [] + }, + "headers": { + "Location": "https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-rg/providers/Microsoft.Web/hostingEnvironments/test-ase/operations/f6a27306-3ee3-4e6b-997d-3ba2024b85e6?api-version=2019-08-01", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220408T212612Z:79bd0bce-5524-4fd1-ada0-1d8c86263d17" + } + } + }, + "operationId": "AppServiceEnvironments_ChangeVnet", + "title": "Move an App Service Environment to a different VNET." +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/AppServiceEnvironments_CreateOrUpdate.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/AppServiceEnvironments_CreateOrUpdate.json new file mode 100644 index 000000000000..d1fc9ce4440e --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/AppServiceEnvironments_CreateOrUpdate.json @@ -0,0 +1,187 @@ +{ + "parameters": { + "name": "test-ase", + "api-version": "2025-03-01", + "hostingEnvironmentEnvelope": { + "kind": "Asev3", + "location": "South Central US", + "properties": { + "virtualNetwork": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/delegated" + } + } + }, + "location": "South Central US", + "resourceGroupName": "test-rg", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": { + "name": "test-ase", + "type": "Microsoft.Web/hostingEnvironments", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-rg/providers/Microsoft.Web/hostingEnvironments/test-ase", + "kind": "ASEV3", + "location": "South Central US", + "properties": { + "clusterSettings": null, + "dedicatedHostCount": 0, + "dnsSuffix": "test-ase.p.azurewebsites.net", + "frontEndScaleFactor": 15, + "hasLinuxWorkers": true, + "internalLoadBalancingMode": "None", + "ipsslAddressCount": 0, + "maximumNumberOfMachines": 250, + "multiRoleCount": null, + "multiSize": "Standard_D2d_v4", + "networkingConfiguration": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-rg/providers/Microsoft.Web/hostingEnvironments/test-ase/configurations/networking", + "properties": { + "allowNewPrivateEndpointConnections": false, + "externalInboundIpAddresses": [ + "52.153.248.36" + ], + "ftpEnabled": false, + "inboundIpAddressOverride": null, + "internalInboundIpAddresses": [], + "linuxOutboundIpAddresses": [ + "20.88.241.56", + "20.88.241.9" + ], + "remoteDebugEnabled": false, + "windowsOutboundIpAddresses": [ + "20.88.241.56", + "20.88.241.9" + ] + } + }, + "provisioningState": "Succeeded", + "status": "Ready", + "suspended": false, + "userWhitelistedIpRanges": null, + "virtualNetwork": { + "name": "delegated", + "type": "Microsoft.Network/virtualNetworks/subnets", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/test-subnet/subnets/delegated", + "subnet": "" + }, + "zoneRedundant": false + }, + "tags": {} + }, + "headers": {} + }, + "201": { + "body": { + "name": "test-ase", + "type": "Microsoft.Web/hostingEnvironments", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-rg/providers/Microsoft.Web/hostingEnvironments/test-ase", + "kind": "ASEV3", + "location": "South Central US", + "properties": { + "clusterSettings": null, + "dedicatedHostCount": 0, + "dnsSuffix": "test-ase.p.azurewebsites.net", + "frontEndScaleFactor": 15, + "hasLinuxWorkers": true, + "internalLoadBalancingMode": "None", + "ipsslAddressCount": 0, + "maximumNumberOfMachines": 250, + "multiRoleCount": null, + "multiSize": "Standard_D2d_v4", + "networkingConfiguration": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-rg/providers/Microsoft.Web/hostingEnvironments/test-ase/configurations/networking", + "properties": { + "allowNewPrivateEndpointConnections": false, + "externalInboundIpAddresses": [ + "52.153.248.36" + ], + "ftpEnabled": false, + "inboundIpAddressOverride": null, + "internalInboundIpAddresses": [], + "linuxOutboundIpAddresses": [ + "20.88.241.56", + "20.88.241.9" + ], + "remoteDebugEnabled": false, + "windowsOutboundIpAddresses": [ + "20.88.241.56", + "20.88.241.9" + ] + } + }, + "provisioningState": "Succeeded", + "status": "Ready", + "suspended": false, + "userWhitelistedIpRanges": null, + "virtualNetwork": { + "name": "delegated", + "type": "Microsoft.Network/virtualNetworks/subnets", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/test-subnet/subnets/delegated", + "subnet": "" + }, + "zoneRedundant": false + }, + "tags": {} + }, + "headers": {} + }, + "202": { + "body": { + "name": "test-ase", + "type": "Microsoft.Web/hostingEnvironments", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-rg/providers/Microsoft.Web/hostingEnvironments/test-ase", + "kind": "ASEV3", + "location": "South Central US", + "properties": { + "clusterSettings": null, + "dedicatedHostCount": 0, + "dnsSuffix": "test-ase.p.azurewebsites.net", + "frontEndScaleFactor": 15, + "hasLinuxWorkers": true, + "internalLoadBalancingMode": "None", + "ipsslAddressCount": 0, + "maximumNumberOfMachines": 250, + "multiRoleCount": null, + "multiSize": "Standard_D2d_v4", + "networkingConfiguration": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-rg/providers/Microsoft.Web/hostingEnvironments/test-ase/configurations/networking", + "properties": { + "allowNewPrivateEndpointConnections": false, + "externalInboundIpAddresses": [ + "52.153.248.36" + ], + "ftpEnabled": false, + "inboundIpAddressOverride": null, + "internalInboundIpAddresses": [], + "linuxOutboundIpAddresses": [ + "20.88.241.56", + "20.88.241.9" + ], + "remoteDebugEnabled": false, + "windowsOutboundIpAddresses": [ + "20.88.241.56", + "20.88.241.9" + ] + } + }, + "provisioningState": "Succeeded", + "status": "Ready", + "suspended": false, + "userWhitelistedIpRanges": null, + "virtualNetwork": { + "name": "delegated", + "type": "Microsoft.Network/virtualNetworks/subnets", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/test-subnet/subnets/delegated", + "subnet": "" + }, + "zoneRedundant": false + }, + "tags": {} + }, + "headers": {} + } + }, + "operationId": "AppServiceEnvironments_CreateOrUpdate", + "title": "Create or update an App Service Environment." +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/AppServiceEnvironments_CreateOrUpdateMultiRolePool.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/AppServiceEnvironments_CreateOrUpdateMultiRolePool.json new file mode 100644 index 000000000000..70a2c01c67f9 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/AppServiceEnvironments_CreateOrUpdateMultiRolePool.json @@ -0,0 +1,26 @@ +{ + "parameters": { + "name": "test-ase", + "api-version": "2025-03-01", + "multiRolePoolEnvelope": { + "properties": { + "workerCount": 3, + "workerSize": "Medium" + } + }, + "resourceGroupName": "test-rg", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": {}, + "headers": {} + }, + "202": { + "body": {}, + "headers": {} + } + }, + "operationId": "AppServiceEnvironments_CreateOrUpdateMultiRolePool", + "title": "Create or update a multi-role pool." +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/AppServiceEnvironments_CreateOrUpdateMultiRolePool_UpdateMultiRolePool.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/AppServiceEnvironments_CreateOrUpdateMultiRolePool_UpdateMultiRolePool.json new file mode 100644 index 000000000000..f2768255fb26 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/AppServiceEnvironments_CreateOrUpdateMultiRolePool_UpdateMultiRolePool.json @@ -0,0 +1,26 @@ +{ + "parameters": { + "name": "test-ase", + "api-version": "2025-03-01", + "multiRolePoolEnvelope": { + "properties": { + "workerCount": 3, + "workerSize": "Medium" + } + }, + "resourceGroupName": "test-rg", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": {}, + "headers": {} + }, + "202": { + "body": {}, + "headers": {} + } + }, + "operationId": "AppServiceEnvironments_UpdateMultiRolePool", + "title": "Create or update a multi-role pool." +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/AppServiceEnvironments_CreateOrUpdateWorkerPool.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/AppServiceEnvironments_CreateOrUpdateWorkerPool.json new file mode 100644 index 000000000000..adfeb295bbf2 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/AppServiceEnvironments_CreateOrUpdateWorkerPool.json @@ -0,0 +1,27 @@ +{ + "parameters": { + "name": "test-ase", + "api-version": "2025-03-01", + "resourceGroupName": "test-rg", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "workerPoolEnvelope": { + "properties": { + "workerCount": 3, + "workerSize": "Small" + } + }, + "workerPoolName": "0" + }, + "responses": { + "200": { + "body": {}, + "headers": {} + }, + "202": { + "body": {}, + "headers": {} + } + }, + "operationId": "AppServiceEnvironments_UpdateWorkerPool", + "title": "Get properties of a worker pool." +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/AppServiceEnvironments_CreateOrUpdateWorkerPool_CreateOrUpdateWorkerPool.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/AppServiceEnvironments_CreateOrUpdateWorkerPool_CreateOrUpdateWorkerPool.json new file mode 100644 index 000000000000..64bc2047925b --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/AppServiceEnvironments_CreateOrUpdateWorkerPool_CreateOrUpdateWorkerPool.json @@ -0,0 +1,27 @@ +{ + "parameters": { + "name": "test-ase", + "api-version": "2025-03-01", + "resourceGroupName": "test-rg", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "workerPoolEnvelope": { + "properties": { + "workerCount": 3, + "workerSize": "Small" + } + }, + "workerPoolName": "0" + }, + "responses": { + "200": { + "body": {}, + "headers": {} + }, + "202": { + "body": {}, + "headers": {} + } + }, + "operationId": "AppServiceEnvironments_CreateOrUpdateWorkerPool", + "title": "Get properties of a worker pool." +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/AppServiceEnvironments_Delete.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/AppServiceEnvironments_Delete.json new file mode 100644 index 000000000000..e080eac04b03 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/AppServiceEnvironments_Delete.json @@ -0,0 +1,21 @@ +{ + "parameters": { + "name": "test-ase", + "api-version": "2025-03-01", + "resourceGroupName": "test-rg", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-rg/providers/Microsoft.Web/hostingEnvironments/test-ase/operations/f6a27306-3ee3-4e6b-997d-3ba2024b85e6?api-version=2019-08-01", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220408T212612Z:79bd0bce-5524-4fd1-ada0-1d8c86263d17" + } + }, + "204": { + "headers": {} + } + }, + "operationId": "AppServiceEnvironments_Delete", + "title": "Delete an App Service Environment." +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/AppServiceEnvironments_DeletePrivateEndpointConnection.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/AppServiceEnvironments_DeletePrivateEndpointConnection.json new file mode 100644 index 000000000000..f775999166e9 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/AppServiceEnvironments_DeletePrivateEndpointConnection.json @@ -0,0 +1,28 @@ +{ + "parameters": { + "name": "test-ase", + "api-version": "2025-03-01", + "privateEndpointConnectionName": "fa38656c-034e-43d8-adce-fe06ce039c98", + "resourceGroupName": "test-rg", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": {}, + "headers": {} + }, + "202": { + "body": {}, + "headers": { + "Location": "https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-rg/providers/Microsoft.Web/hostingEnvironments/test-ase/operations/f6a27306-3ee3-4e6b-997d-3ba2024b85e6?api-version=2019-08-01", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220408T212612Z:79bd0bce-5524-4fd1-ada0-1d8c86263d17" + } + }, + "204": { + "body": {}, + "headers": {} + } + }, + "operationId": "AppServiceEnvironments_DeletePrivateEndpointConnection", + "title": "Deletes a private endpoint connection." +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/AppServiceEnvironments_Get.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/AppServiceEnvironments_Get.json new file mode 100644 index 000000000000..d739903a4dbd --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/AppServiceEnvironments_Get.json @@ -0,0 +1,67 @@ +{ + "parameters": { + "name": "test-ase", + "api-version": "2025-03-01", + "resourceGroupName": "test-rg", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": { + "name": "test-ase", + "type": "Microsoft.Web/hostingEnvironments", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-rg/providers/Microsoft.Web/hostingEnvironments/test-ase", + "kind": "ASEV3", + "location": "South Central US", + "properties": { + "clusterSettings": null, + "dedicatedHostCount": 0, + "dnsSuffix": "test-ase.p.azurewebsites.net", + "frontEndScaleFactor": 15, + "hasLinuxWorkers": true, + "internalLoadBalancingMode": "None", + "ipsslAddressCount": 0, + "maximumNumberOfMachines": 250, + "multiRoleCount": null, + "multiSize": "Standard_D2d_v4", + "networkingConfiguration": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-rg/providers/Microsoft.Web/hostingEnvironments/test-ase/configurations/networking", + "properties": { + "allowNewPrivateEndpointConnections": false, + "externalInboundIpAddresses": [ + "52.153.248.36" + ], + "ftpEnabled": false, + "inboundIpAddressOverride": null, + "internalInboundIpAddresses": [], + "linuxOutboundIpAddresses": [ + "20.88.241.56", + "20.88.241.9" + ], + "remoteDebugEnabled": false, + "windowsOutboundIpAddresses": [ + "20.88.241.56", + "20.88.241.9" + ] + } + }, + "provisioningState": "Succeeded", + "status": "Ready", + "suspended": false, + "userWhitelistedIpRanges": null, + "virtualNetwork": { + "name": "delegated", + "type": "Microsoft.Network/virtualNetworks/subnets", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/test-subnet/subnets/delegated", + "subnet": "" + }, + "zoneRedundant": false + }, + "tags": {} + }, + "headers": {} + } + }, + "operationId": "AppServiceEnvironments_Get", + "title": "Get the properties of an App Service Environment." +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/AppServiceEnvironments_GetAseV3NetworkingConfiguration.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/AppServiceEnvironments_GetAseV3NetworkingConfiguration.json new file mode 100644 index 000000000000..05bc847a194d --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/AppServiceEnvironments_GetAseV3NetworkingConfiguration.json @@ -0,0 +1,38 @@ +{ + "parameters": { + "name": "test-ase", + "api-version": "2025-03-01", + "resourceGroupName": "test-rg", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": { + "name": "networking", + "type": "Microsoft.Web/hostingEnvironments/configurations/networking", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-rg/providers/Microsoft.Web/hostingEnvironments/test-ase/configurations/networking", + "properties": { + "allowNewPrivateEndpointConnections": false, + "externalInboundIpAddresses": [ + "52.153.248.36" + ], + "ftpEnabled": false, + "inboundIpAddressOverride": null, + "internalInboundIpAddresses": [], + "linuxOutboundIpAddresses": [ + "20.88.241.56", + "20.88.241.9" + ], + "remoteDebugEnabled": false, + "windowsOutboundIpAddresses": [ + "20.88.241.56", + "20.88.241.9" + ] + } + }, + "headers": {} + } + }, + "operationId": "AppServiceEnvironments_GetAseV3NetworkingConfiguration", + "title": "Get networking configuration of an App Service Environment." +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/AppServiceEnvironments_GetDiagnosticsItem.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/AppServiceEnvironments_GetDiagnosticsItem.json new file mode 100644 index 000000000000..21d818893f31 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/AppServiceEnvironments_GetDiagnosticsItem.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "name": "test-ase", + "api-version": "2025-03-01", + "diagnosticsName": "test-diagnostic", + "resourceGroupName": "test-rg", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": { + "name": "test-diagnostic" + }, + "headers": {} + } + }, + "operationId": "AppServiceEnvironments_GetDiagnosticsItem", + "title": "Get a diagnostics item for an App Service Environment." +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/AppServiceEnvironments_GetMultiRolePool.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/AppServiceEnvironments_GetMultiRolePool.json new file mode 100644 index 000000000000..639aebe2caf1 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/AppServiceEnvironments_GetMultiRolePool.json @@ -0,0 +1,35 @@ +{ + "parameters": { + "name": "test-ase", + "api-version": "2025-03-01", + "resourceGroupName": "test-rg", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": { + "name": "default", + "type": "Microsoft.Web/hostingEnvironments/multiRolePools", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-rg/providers/Microsoft.Web/hostingEnvironments/test-ase/multiRolePools/default", + "properties": { + "instanceNames": [ + "10.7.1.8", + "10.7.1.9" + ], + "workerCount": 2, + "workerSize": "Standard_D1_V2" + }, + "sku": { + "name": "Q1", + "capacity": 2, + "family": "Q", + "size": "Q1", + "tier": "Quantum" + } + }, + "headers": {} + } + }, + "operationId": "AppServiceEnvironments_GetMultiRolePool", + "title": "Get properties of a multi-role pool." +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/AppServiceEnvironments_GetPrivateEndpointConnection.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/AppServiceEnvironments_GetPrivateEndpointConnection.json new file mode 100644 index 000000000000..941c0e319a31 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/AppServiceEnvironments_GetPrivateEndpointConnection.json @@ -0,0 +1,33 @@ +{ + "parameters": { + "name": "test-ase", + "api-version": "2025-03-01", + "privateEndpointConnectionName": "fa38656c-034e-43d8-adce-fe06ce039c98", + "resourceGroupName": "test-rg", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": { + "name": "fa38656c-034e-43d8-adce-fe06ce039c98", + "type": "Microsoft.Web/hostingEnvironments/privateEndpointConnections", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-rg/providers/Microsoft.Web/hostingEnvironments/test-ase/privateEndpointConnections/fa38656c-034e-43d8-adce-fe06ce039c98", + "properties": { + "ipAddresses": [], + "privateEndpoint": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-rg/providers/Microsoft.Network/test-privateEndpoint" + }, + "privateLinkServiceConnectionState": { + "description": "Please approve my connection, thanks!", + "actionsRequired": "None", + "status": "Disconnecting" + }, + "provisioningState": "Pending" + } + }, + "headers": {} + } + }, + "operationId": "AppServiceEnvironments_GetPrivateEndpointConnection", + "title": "Gets a private endpoint connection." +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/AppServiceEnvironments_GetPrivateEndpointConnectionList.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/AppServiceEnvironments_GetPrivateEndpointConnectionList.json new file mode 100644 index 000000000000..0bd36f964982 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/AppServiceEnvironments_GetPrivateEndpointConnectionList.json @@ -0,0 +1,36 @@ +{ + "parameters": { + "name": "test-ase", + "api-version": "2025-03-01", + "resourceGroupName": "test-rg", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "fa38656c-034e-43d8-adce-fe06ce039c98", + "type": "Microsoft.Web/hostingEnvironments/privateEndpointConnections", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-rg/providers/Microsoft.Web/hostingEnvironments/test-ase/privateEndpointConnections/fa38656c-034e-43d8-adce-fe06ce039c98", + "properties": { + "ipAddresses": [], + "privateEndpoint": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-rg/providers/Microsoft.Network/test-privateEndpoint" + }, + "privateLinkServiceConnectionState": { + "description": "Please approve my connection, thanks!", + "actionsRequired": "None", + "status": "Disconnecting" + }, + "provisioningState": "Pending" + } + } + ] + }, + "headers": {} + } + }, + "operationId": "AppServiceEnvironments_GetPrivateEndpointConnectionList", + "title": "Gets the list of private endpoints associated with a hosting environment." +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/AppServiceEnvironments_GetPrivateLinkResources.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/AppServiceEnvironments_GetPrivateLinkResources.json new file mode 100644 index 000000000000..fa9355a89f76 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/AppServiceEnvironments_GetPrivateLinkResources.json @@ -0,0 +1,18 @@ +{ + "parameters": { + "name": "test-ase", + "api-version": "2025-03-01", + "resourceGroupName": "test-rg", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": { + "value": [] + }, + "headers": {} + } + }, + "operationId": "AppServiceEnvironments_GetPrivateLinkResources", + "title": "Gets the private link resources." +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/AppServiceEnvironments_GetVipInfo.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/AppServiceEnvironments_GetVipInfo.json new file mode 100644 index 000000000000..dff432922a33 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/AppServiceEnvironments_GetVipInfo.json @@ -0,0 +1,43 @@ +{ + "parameters": { + "name": "test-ase", + "api-version": "2025-03-01", + "resourceGroupName": "test-rg", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": { + "name": "test-ase", + "type": "Microsoft.Web/hostingEnvironments/capacities", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-rg/providers/Microsoft.Web/hostingEnvironments/test-ase/capacities/virtualip", + "properties": { + "internalIpAddress": null, + "outboundIpAddresses": [ + "20.112.141.120" + ], + "serviceIpAddress": "20.112.141.120", + "vipMappings": [ + { + "inUse": false, + "internalHttpPort": 20003, + "internalHttpsPort": 20001, + "serviceName": null, + "virtualIP": "20.112.141.135" + }, + { + "inUse": false, + "internalHttpPort": 20004, + "internalHttpsPort": 20002, + "serviceName": null, + "virtualIP": "20.112.141.150" + } + ] + } + }, + "headers": {} + } + }, + "operationId": "AppServiceEnvironments_GetVipInfo", + "title": "Get IP addresses assigned to an App Service Environment." +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/AppServiceEnvironments_GetWorkerPool.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/AppServiceEnvironments_GetWorkerPool.json new file mode 100644 index 000000000000..d54275075abd --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/AppServiceEnvironments_GetWorkerPool.json @@ -0,0 +1,28 @@ +{ + "parameters": { + "name": "test-ase", + "api-version": "2025-03-01", + "resourceGroupName": "test-rg", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "workerPoolName": "workerPool1" + }, + "responses": { + "200": { + "body": { + "name": "workerPool1", + "type": "Microsoft.Web/hostingEnvironments/workerPools", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-rg/providers/Microsoft.Web/hostingEnvironments/test-ase/workerPools/workerPool1", + "kind": "ASEV1", + "properties": { + "instanceNames": [], + "workerCount": 2, + "workerSize": "Small", + "workerSizeId": 0 + } + }, + "headers": {} + } + }, + "operationId": "AppServiceEnvironments_GetWorkerPool", + "title": "Get properties of a worker pool." +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/AppServiceEnvironments_List.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/AppServiceEnvironments_List.json new file mode 100644 index 000000000000..52cc2d5ce397 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/AppServiceEnvironments_List.json @@ -0,0 +1,69 @@ +{ + "parameters": { + "api-version": "2025-03-01", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "test-ase", + "type": "Microsoft.Web/hostingEnvironments", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-rg/providers/Microsoft.Web/hostingEnvironments/test-ase", + "kind": "ASEV3", + "location": "South Central US", + "properties": { + "clusterSettings": null, + "dedicatedHostCount": 0, + "dnsSuffix": "test-ase.p.azurewebsites.net", + "frontEndScaleFactor": 15, + "hasLinuxWorkers": true, + "internalLoadBalancingMode": "None", + "ipsslAddressCount": 0, + "maximumNumberOfMachines": 250, + "multiRoleCount": null, + "multiSize": "Standard_D2d_v4", + "networkingConfiguration": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-rg/providers/Microsoft.Web/hostingEnvironments/test-ase/configurations/networking", + "properties": { + "allowNewPrivateEndpointConnections": false, + "externalInboundIpAddresses": [ + "52.153.248.36" + ], + "ftpEnabled": false, + "inboundIpAddressOverride": null, + "internalInboundIpAddresses": [], + "linuxOutboundIpAddresses": [ + "20.88.241.56", + "20.88.241.9" + ], + "remoteDebugEnabled": false, + "windowsOutboundIpAddresses": [ + "20.88.241.56", + "20.88.241.9" + ] + } + }, + "provisioningState": "Succeeded", + "status": "Ready", + "suspended": false, + "userWhitelistedIpRanges": null, + "virtualNetwork": { + "name": "delegated", + "type": "Microsoft.Network/virtualNetworks/subnets", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/test-subnet/subnets/delegated", + "subnet": "" + }, + "zoneRedundant": false + }, + "tags": {} + } + ] + }, + "headers": {} + } + }, + "operationId": "AppServiceEnvironments_List", + "title": "Get all App Service Environments for a subscription." +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/AppServiceEnvironments_ListAppServicePlans.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/AppServiceEnvironments_ListAppServicePlans.json new file mode 100644 index 000000000000..44db80ad801d --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/AppServiceEnvironments_ListAppServicePlans.json @@ -0,0 +1,63 @@ +{ + "parameters": { + "name": "test-ase", + "api-version": "2025-03-01", + "resourceGroupName": "test-rg", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": { + "nextLink": null, + "value": [ + { + "name": "test-asp", + "type": "Microsoft.Web/serverfarms", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-rg/providers/Microsoft.Web/serverfarms/test-asp", + "kind": "app", + "location": "Central US EUAP", + "properties": { + "elasticScaleEnabled": false, + "freeOfferExpirationTime": null, + "geoRegion": "Central US EUAP", + "hostingEnvironmentProfile": { + "name": "test-ase", + "type": "Microsoft.Web/hostingEnvironments", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-rg/providers/Microsoft.Web/hostingEnvironments/test-ase" + }, + "hyperV": false, + "isSpot": false, + "isXenon": false, + "kubeEnvironmentProfile": null, + "maximumElasticWorkerCount": 0, + "maximumNumberOfWorkers": 100, + "numberOfSites": 0, + "perSiteScaling": false, + "provisioningState": null, + "reserved": false, + "resourceGroup": "test-rg", + "spotExpirationTime": null, + "status": "Ready", + "subscription": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "targetWorkerCount": 1, + "targetWorkerSizeId": 0, + "workerTierName": null, + "zoneRedundant": false + }, + "sku": { + "name": "I1", + "capacity": 0, + "family": "I", + "size": "I1", + "tier": "Isolated" + }, + "tags": {} + } + ] + }, + "headers": {} + } + }, + "operationId": "AppServiceEnvironments_ListAppServicePlans", + "title": "Get all App Service plans in an App Service Environment." +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/AppServiceEnvironments_ListByResourceGroup.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/AppServiceEnvironments_ListByResourceGroup.json new file mode 100644 index 000000000000..ef43e8a9e274 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/AppServiceEnvironments_ListByResourceGroup.json @@ -0,0 +1,70 @@ +{ + "parameters": { + "api-version": "2025-03-01", + "resourceGroupName": "test-rg", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "test-ase", + "type": "Microsoft.Web/hostingEnvironments", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-rg/providers/Microsoft.Web/hostingEnvironments/test-ase", + "kind": "ASEV3", + "location": "South Central US", + "properties": { + "clusterSettings": null, + "dedicatedHostCount": 0, + "dnsSuffix": "test-ase.p.azurewebsites.net", + "frontEndScaleFactor": 15, + "hasLinuxWorkers": true, + "internalLoadBalancingMode": "None", + "ipsslAddressCount": 0, + "maximumNumberOfMachines": 250, + "multiRoleCount": null, + "multiSize": "Standard_D2d_v4", + "networkingConfiguration": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-rg/providers/Microsoft.Web/hostingEnvironments/test-ase/configurations/networking", + "properties": { + "allowNewPrivateEndpointConnections": false, + "externalInboundIpAddresses": [ + "52.153.248.36" + ], + "ftpEnabled": false, + "inboundIpAddressOverride": null, + "internalInboundIpAddresses": [], + "linuxOutboundIpAddresses": [ + "20.88.241.56", + "20.88.241.9" + ], + "remoteDebugEnabled": false, + "windowsOutboundIpAddresses": [ + "20.88.241.56", + "20.88.241.9" + ] + } + }, + "provisioningState": "Succeeded", + "status": "Ready", + "suspended": false, + "userWhitelistedIpRanges": null, + "virtualNetwork": { + "name": "delegated", + "type": "Microsoft.Network/virtualNetworks/subnets", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/test-subnet/subnets/delegated", + "subnet": "" + }, + "zoneRedundant": false + }, + "tags": {} + } + ] + }, + "headers": {} + } + }, + "operationId": "AppServiceEnvironments_ListByResourceGroup", + "title": "Get all App Service Environments in a resource group." +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/AppServiceEnvironments_ListCapacities.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/AppServiceEnvironments_ListCapacities.json new file mode 100644 index 000000000000..4d16c35b687a --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/AppServiceEnvironments_ListCapacities.json @@ -0,0 +1,59 @@ +{ + "parameters": { + "name": "test-ase", + "api-version": "2025-03-01", + "resourceGroupName": "test-rg", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": { + "nextLink": null, + "value": [ + { + "name": null, + "availableCapacity": 0, + "computeMode": "Dedicated", + "excludeFromCapacityAllocation": false, + "isApplicableForAllComputeModes": false, + "isLinux": false, + "siteMode": null, + "totalCapacity": 1, + "unit": null, + "workerSize": null, + "workerSizeId": 0 + }, + { + "name": null, + "availableCapacity": 0, + "computeMode": "Dedicated", + "excludeFromCapacityAllocation": false, + "isApplicableForAllComputeModes": false, + "isLinux": false, + "siteMode": null, + "totalCapacity": 1, + "unit": null, + "workerSize": null, + "workerSizeId": 1 + }, + { + "name": null, + "availableCapacity": 0, + "computeMode": "Dedicated", + "excludeFromCapacityAllocation": false, + "isApplicableForAllComputeModes": false, + "isLinux": false, + "siteMode": null, + "totalCapacity": 1, + "unit": null, + "workerSize": null, + "workerSizeId": 2 + } + ] + }, + "headers": {} + } + }, + "operationId": "AppServiceEnvironments_ListCapacities", + "title": "Get the used, available, and total worker capacity an App Service Environment." +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/AppServiceEnvironments_ListDiagnostics.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/AppServiceEnvironments_ListDiagnostics.json new file mode 100644 index 000000000000..5c0e9b0e586b --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/AppServiceEnvironments_ListDiagnostics.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "name": "test-ase", + "api-version": "2025-03-01", + "resourceGroupName": "test-rg", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": { + "id": null, + "nextLink": null, + "value": [] + }, + "headers": {} + } + }, + "operationId": "AppServiceEnvironments_ListDiagnostics", + "title": "Get diagnostic information for an App Service Environment." +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/AppServiceEnvironments_ListMultiRoleMetricDefinitions.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/AppServiceEnvironments_ListMultiRoleMetricDefinitions.json new file mode 100644 index 000000000000..76ab48033f6b --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/AppServiceEnvironments_ListMultiRoleMetricDefinitions.json @@ -0,0 +1,44 @@ +{ + "parameters": { + "name": "test-ase", + "api-version": "2025-03-01", + "resourceGroupName": "test-rg", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": { + "nextLink": null, + "value": [ + { + "name": "CpuPercentage", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-rg/providers/Microsoft.Web/hostingEnvironments/test-ase/metricdefinitions/cpupercentage" + }, + { + "name": "MemoryPercentage", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-rg/providers/Microsoft.Web/hostingEnvironments/test-ase/metricdefinitions/MemoryPercentage" + }, + { + "name": "DiskQueueLength", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-rg/providers/Microsoft.Web/hostingEnvironments/test-ase/metricdefinitions/DiskQueueLength" + }, + { + "name": "HttpQueueLength", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-rg/providers/Microsoft.Web/hostingEnvironments/test-ase/metricdefinitions/HttpQueueLength" + }, + { + "name": "BytesReceived", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-rg/providers/Microsoft.Web/hostingEnvironments/test-ase/metricdefinitions/BytesReceived" + }, + { + "name": "BytesSent", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-rg/providers/Microsoft.Web/hostingEnvironments/test-ase/metricdefinitions/BytesSent" + } + ] + }, + "headers": {} + } + }, + "operationId": "AppServiceEnvironments_ListMultiRoleMetricDefinitions", + "title": "Get metric definitions for a multi-role pool of an App Service Environment." +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/AppServiceEnvironments_ListMultiRolePoolInstanceMetricDefinitions.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/AppServiceEnvironments_ListMultiRolePoolInstanceMetricDefinitions.json new file mode 100644 index 000000000000..5d1b25298055 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/AppServiceEnvironments_ListMultiRolePoolInstanceMetricDefinitions.json @@ -0,0 +1,45 @@ +{ + "parameters": { + "name": "test-ase", + "api-version": "2025-03-01", + "instance": "10.7.1.8", + "resourceGroupName": "test-rg", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": { + "nextLink": null, + "value": [ + { + "name": "CpuPercentage", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-rg/providers/Microsoft.Web/hostingEnvironments/test-ase/metricdefinitions/cpupercentage" + }, + { + "name": "MemoryPercentage", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-rg/providers/Microsoft.Web/hostingEnvironments/test-ase/metricdefinitions/MemoryPercentage" + }, + { + "name": "DiskQueueLength", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-rg/providers/Microsoft.Web/hostingEnvironments/test-ase/metricdefinitions/DiskQueueLength" + }, + { + "name": "HttpQueueLength", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-rg/providers/Microsoft.Web/hostingEnvironments/test-ase/metricdefinitions/HttpQueueLength" + }, + { + "name": "BytesReceived", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-rg/providers/Microsoft.Web/hostingEnvironments/test-ase/metricdefinitions/BytesReceived" + }, + { + "name": "BytesSent", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-rg/providers/Microsoft.Web/hostingEnvironments/test-ase/metricdefinitions/BytesSent" + } + ] + }, + "headers": {} + } + }, + "operationId": "AppServiceEnvironments_ListMultiRolePoolInstanceMetricDefinitions", + "title": "Get metric definitions for a specific instance of a multi-role pool of an App Service Environment." +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/AppServiceEnvironments_ListMultiRolePoolSkus.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/AppServiceEnvironments_ListMultiRolePoolSkus.json new file mode 100644 index 000000000000..21ae501aa804 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/AppServiceEnvironments_ListMultiRolePoolSkus.json @@ -0,0 +1,160 @@ +{ + "parameters": { + "name": "test-ase", + "api-version": "2025-03-01", + "resourceGroupName": "test-rg", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": { + "nextLink": null, + "value": [ + { + "capacity": { + "default": 2, + "elasticMaximum": null, + "maximum": 247, + "minimum": 2, + "scaleType": "automatic" + }, + "resourceType": "Microsoft.Web/hostingEnvironments/multiRolePools", + "sku": { + "name": "S2", + "tier": "Standard" + } + }, + { + "capacity": { + "default": 2, + "elasticMaximum": null, + "maximum": 247, + "minimum": 2, + "scaleType": "automatic" + }, + "resourceType": "Microsoft.Web/hostingEnvironments/multiRolePools", + "sku": { + "name": "S3", + "tier": "Standard" + } + }, + { + "capacity": { + "default": 2, + "elasticMaximum": null, + "maximum": 247, + "minimum": 2, + "scaleType": "automatic" + }, + "resourceType": "Microsoft.Web/hostingEnvironments/multiRolePools", + "sku": { + "name": "S4", + "tier": "Standard" + } + }, + { + "capacity": { + "default": 2, + "elasticMaximum": null, + "maximum": 247, + "minimum": 2, + "scaleType": "automatic" + }, + "resourceType": "Microsoft.Web/hostingEnvironments/multiRolePools", + "sku": { + "name": "O2", + "tier": "Optimized" + } + }, + { + "capacity": { + "default": 2, + "elasticMaximum": null, + "maximum": 247, + "minimum": 2, + "scaleType": "automatic" + }, + "resourceType": "Microsoft.Web/hostingEnvironments/multiRolePools", + "sku": { + "name": "O3", + "tier": "Optimized" + } + }, + { + "capacity": { + "default": 2, + "elasticMaximum": null, + "maximum": 247, + "minimum": 2, + "scaleType": "automatic" + }, + "resourceType": "Microsoft.Web/hostingEnvironments/multiRolePools", + "sku": { + "name": "O4", + "tier": "Optimized" + } + }, + { + "capacity": { + "default": 2, + "elasticMaximum": null, + "maximum": 247, + "minimum": 2, + "scaleType": "automatic" + }, + "resourceType": "Microsoft.Web/hostingEnvironments/multiRolePools", + "sku": { + "name": "Q1", + "tier": "Quantum" + } + }, + { + "capacity": { + "default": 2, + "elasticMaximum": null, + "maximum": 247, + "minimum": 2, + "scaleType": "automatic" + }, + "resourceType": "Microsoft.Web/hostingEnvironments/multiRolePools", + "sku": { + "name": "Q2", + "tier": "Quantum" + } + }, + { + "capacity": { + "default": 2, + "elasticMaximum": null, + "maximum": 247, + "minimum": 2, + "scaleType": "automatic" + }, + "resourceType": "Microsoft.Web/hostingEnvironments/multiRolePools", + "sku": { + "name": "Q3", + "tier": "Quantum" + } + }, + { + "capacity": { + "default": 2, + "elasticMaximum": null, + "maximum": 247, + "minimum": 2, + "scaleType": "automatic" + }, + "resourceType": "Microsoft.Web/hostingEnvironments/multiRolePools", + "sku": { + "name": "Q4", + "tier": "Quantum" + } + } + ] + }, + "headers": {} + } + }, + "operationId": "AppServiceEnvironments_ListMultiRolePoolSkus", + "title": "Get available SKUs for scaling a multi-role pool." +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/AppServiceEnvironments_ListMultiRolePools.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/AppServiceEnvironments_ListMultiRolePools.json new file mode 100644 index 000000000000..397272f263f9 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/AppServiceEnvironments_ListMultiRolePools.json @@ -0,0 +1,40 @@ +{ + "parameters": { + "name": "test-ase", + "api-version": "2025-03-01", + "resourceGroupName": "test-rg", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": { + "nextLink": null, + "value": [ + { + "name": "default", + "type": "Microsoft.Web/hostingEnvironments/multiRolePools", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-rg/providers/Microsoft.Web/hostingEnvironments/test-ase/multiRolePools/default", + "properties": { + "instanceNames": [ + "10.7.1.8", + "10.7.1.9" + ], + "workerCount": 2, + "workerSize": "Standard_D1_V2" + }, + "sku": { + "name": "Q1", + "capacity": 2, + "family": "Q", + "size": "Q1", + "tier": "Quantum" + } + } + ] + }, + "headers": {} + } + }, + "operationId": "AppServiceEnvironments_ListMultiRolePools", + "title": "Get all multi-role pools." +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/AppServiceEnvironments_ListMultiRoleUsages.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/AppServiceEnvironments_ListMultiRoleUsages.json new file mode 100644 index 000000000000..a0da727ad631 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/AppServiceEnvironments_ListMultiRoleUsages.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "name": "test-ase", + "api-version": "2025-03-01", + "resourceGroupName": "test-rg", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": { + "nextLink": null, + "value": [] + }, + "headers": {} + } + }, + "operationId": "AppServiceEnvironments_ListMultiRoleUsages", + "title": "Get usage metrics for a multi-role pool of an App Service Environment." +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/AppServiceEnvironments_ListOperations.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/AppServiceEnvironments_ListOperations.json new file mode 100644 index 000000000000..4ff072e4959d --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/AppServiceEnvironments_ListOperations.json @@ -0,0 +1,16 @@ +{ + "parameters": { + "name": "test-ase", + "api-version": "2025-03-01", + "resourceGroupName": "test-rg", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": [], + "headers": {} + } + }, + "operationId": "AppServiceEnvironments_ListOperations", + "title": "List all currently running operations on the App Service Environment." +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/AppServiceEnvironments_ListUsages.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/AppServiceEnvironments_ListUsages.json new file mode 100644 index 000000000000..86cea04b2109 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/AppServiceEnvironments_ListUsages.json @@ -0,0 +1,30 @@ +{ + "parameters": { + "name": "test-ase", + "api-version": "2025-03-01", + "resourceGroupName": "test-rg", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": { + "nextLink": null, + "value": [ + { + "name": { + "localizedValue": "File System Storage", + "value": "FileSystemStorage" + }, + "currentValue": 37888, + "limit": 1099511627776, + "nextResetTime": "9999-12-31T23:59:59.9999999Z", + "unit": "Bytes" + } + ] + }, + "headers": {} + } + }, + "operationId": "AppServiceEnvironments_ListUsages", + "title": "Get global usage metrics of an App Service Environment." +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/AppServiceEnvironments_ListWebApps.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/AppServiceEnvironments_ListWebApps.json new file mode 100644 index 000000000000..7a8023ad48ac --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/AppServiceEnvironments_ListWebApps.json @@ -0,0 +1,84 @@ +{ + "parameters": { + "name": "test-ase", + "api-version": "2025-03-01", + "resourceGroupName": "test-rg", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": { + "nextLink": null, + "value": [ + { + "name": "test-site", + "type": "Microsoft.Web/sites", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-rg/providers/Microsoft.Web/sites/test-site", + "location": "Central US EUAP", + "properties": { + "availabilityState": "Normal", + "clientAffinityEnabled": true, + "clientCertEnabled": false, + "clientCertMode": "Required", + "containerSize": 0, + "customDomainVerificationId": "2982A67AD520FBCD070650FC77814FB03B62927C6EFCA2F5FF3BF5DC60088845", + "dailyMemoryTimeQuota": 0, + "defaultHostName": "test-site.test-ase.p.azurewebsites.net", + "enabled": true, + "enabledHostNames": [ + "test-site.test-ase.p.azurewebsites.net", + "test-site.scm.test-ase.p.azurewebsites.net" + ], + "hostNameSslStates": [ + { + "name": "test-site.test-ase.p.azurewebsites.net", + "hostType": "Standard", + "sslState": "Disabled" + }, + { + "name": "test-site.scm.test-ase.p.azurewebsites.net", + "hostType": "Repository", + "sslState": "Disabled" + } + ], + "hostNames": [ + "test-site.test-ase.p.azurewebsites.net" + ], + "hostNamesDisabled": false, + "hostingEnvironmentProfile": { + "name": "test-ase", + "type": "Microsoft.Web/hostingEnvironments", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-rg/providers/Microsoft.Web/hostingEnvironments/test-ase" + }, + "httpsOnly": false, + "hyperV": false, + "isXenon": false, + "keyVaultReferenceIdentity": "SystemAssigned", + "lastModifiedTimeUtc": "2022-04-08T20:41:04.1233333", + "outboundIpAddresses": "20.112.141.120", + "possibleOutboundIpAddresses": "20.112.141.120", + "redundancyMode": "None", + "repositorySiteName": "test-site", + "reserved": false, + "resourceGroup": "test-rg", + "scmSiteAlsoStopped": false, + "serverFarmId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-rg/providers/Microsoft.Web/serverfarms/test-serverfarm", + "siteConfig": { + "functionAppScaleLimit": 0, + "linuxFxVersion": "", + "minimumElasticInstanceCount": 0, + "numberOfWorkers": 1 + }, + "state": "Running", + "storageAccountRequired": false, + "usageState": "Normal" + } + } + ] + }, + "headers": {} + } + }, + "operationId": "AppServiceEnvironments_ListWebApps", + "title": "Get all apps in an App Service Environment." +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/AppServiceEnvironments_ListWebWorkerMetricDefinitions.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/AppServiceEnvironments_ListWebWorkerMetricDefinitions.json new file mode 100644 index 000000000000..ba1c2c49f87f --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/AppServiceEnvironments_ListWebWorkerMetricDefinitions.json @@ -0,0 +1,40 @@ +{ + "parameters": { + "name": "test-ase", + "api-version": "2025-03-01", + "resourceGroupName": "test-rg", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "workerPoolName": "0" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "CpuPercentage", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-rg/providers/Microsoft.Web/hostingEnvironments/test-ase/workerPools/0/metricDefinitions/CpuPercentage", + "properties": null + }, + { + "name": "MemoryPercentage", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-rg/providers/Microsoft.Web/hostingEnvironments/test-ase/workerPools/0/metricDefinitions/MemoryPercentage", + "properties": null + }, + { + "name": "DiskQueueLength", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-rg/providers/Microsoft.Web/hostingEnvironments/test-ase/workerPools/0/metricDefinitions/DiskQueueLength", + "properties": null + }, + { + "name": "HttpQueueLength", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-rg/providers/Microsoft.Web/hostingEnvironments/test-ase/workerPools/0/metricDefinitions/HttpQueueLength", + "properties": null + } + ] + }, + "headers": {} + } + }, + "operationId": "AppServiceEnvironments_ListWebWorkerMetricDefinitions", + "title": "Get metric definitions for a worker pool of an App Service Environment." +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/AppServiceEnvironments_ListWebWorkerUsages.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/AppServiceEnvironments_ListWebWorkerUsages.json new file mode 100644 index 000000000000..c55349f95466 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/AppServiceEnvironments_ListWebWorkerUsages.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "name": "test-ase", + "api-version": "2025-03-01", + "resourceGroupName": "test-rg", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "workerPoolName": "0" + }, + "responses": { + "200": { + "body": { + "nextLink": null, + "value": [] + }, + "headers": {} + } + }, + "operationId": "AppServiceEnvironments_ListWebWorkerUsages", + "title": "Get usage metrics for a worker pool of an App Service Environment." +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/AppServiceEnvironments_ListWorkerPoolInstanceMetricDefinitions.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/AppServiceEnvironments_ListWorkerPoolInstanceMetricDefinitions.json new file mode 100644 index 000000000000..cb0d7c2c37bb --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/AppServiceEnvironments_ListWorkerPoolInstanceMetricDefinitions.json @@ -0,0 +1,41 @@ +{ + "parameters": { + "name": "test-ase", + "api-version": "2025-03-01", + "instance": "10.8.0.7", + "resourceGroupName": "test-rg", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "workerPoolName": "0" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "CpuPercentage", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-rg/providers/Microsoft.Web/hostingEnvironments/test-ase/workerPools/0/metricDefinitions/CpuPercentage", + "properties": null + }, + { + "name": "MemoryPercentage", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-rg/providers/Microsoft.Web/hostingEnvironments/test-ase/workerPools/0/metricDefinitions/MemoryPercentage", + "properties": null + }, + { + "name": "DiskQueueLength", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-rg/providers/Microsoft.Web/hostingEnvironments/test-ase/workerPools/0/metricDefinitions/DiskQueueLength", + "properties": null + }, + { + "name": "HttpQueueLength", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-rg/providers/Microsoft.Web/hostingEnvironments/test-ase/workerPools/0/metricDefinitions/HttpQueueLength", + "properties": null + } + ] + }, + "headers": {} + } + }, + "operationId": "AppServiceEnvironments_ListWorkerPoolInstanceMetricDefinitions", + "title": "Get metric definitions for a specific instance of a worker pool of an App Service Environment." +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/AppServiceEnvironments_ListWorkerPoolSkus.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/AppServiceEnvironments_ListWorkerPoolSkus.json new file mode 100644 index 000000000000..ea787eaf5c92 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/AppServiceEnvironments_ListWorkerPoolSkus.json @@ -0,0 +1,91 @@ +{ + "parameters": { + "name": "test-ase", + "api-version": "2025-03-01", + "resourceGroupName": "test-rg", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "workerPoolName": "workerPool1" + }, + "responses": { + "200": { + "body": { + "nextLink": null, + "value": [ + { + "capacity": { + "default": 2, + "elasticMaximum": null, + "maximum": 53, + "minimum": 2, + "scaleType": "automatic" + }, + "resourceType": "Microsoft.Web/hostingEnvironments/workerPools", + "sku": { + "name": "S1", + "tier": "Standard" + } + }, + { + "capacity": { + "default": 2, + "elasticMaximum": null, + "maximum": 53, + "minimum": 2, + "scaleType": "automatic" + }, + "resourceType": "Microsoft.Web/hostingEnvironments/workerPools", + "sku": { + "name": "S2", + "tier": "Standard" + } + }, + { + "capacity": { + "default": 2, + "elasticMaximum": null, + "maximum": 53, + "minimum": 2, + "scaleType": "automatic" + }, + "resourceType": "Microsoft.Web/hostingEnvironments/workerPools", + "sku": { + "name": "S3", + "tier": "Standard" + } + }, + { + "capacity": { + "default": 2, + "elasticMaximum": null, + "maximum": 53, + "minimum": 2, + "scaleType": "automatic" + }, + "resourceType": "Microsoft.Web/hostingEnvironments/workerPools", + "sku": { + "name": "S4", + "tier": "Standard" + } + }, + { + "capacity": { + "default": 2, + "elasticMaximum": null, + "maximum": 53, + "minimum": 2, + "scaleType": "automatic" + }, + "resourceType": "Microsoft.Web/hostingEnvironments/workerPools", + "sku": { + "name": "O1", + "tier": "Optimized" + } + } + ] + }, + "headers": {} + } + }, + "operationId": "AppServiceEnvironments_ListWorkerPoolSkus", + "title": "Get available SKUs for scaling a worker pool." +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/AppServiceEnvironments_ListWorkerPools.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/AppServiceEnvironments_ListWorkerPools.json new file mode 100644 index 000000000000..e6635aea3822 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/AppServiceEnvironments_ListWorkerPools.json @@ -0,0 +1,56 @@ +{ + "parameters": { + "name": "test-ase", + "api-version": "2025-03-01", + "resourceGroupName": "test-rg", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": { + "nextLink": null, + "value": [ + { + "name": "workerPool1", + "type": "Microsoft.Web/hostingEnvironments/workerPools", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-rg/providers/Microsoft.Web/hostingEnvironments/test-ase/workerPools/workerPool1", + "kind": "ASEV1", + "properties": { + "instanceNames": [], + "workerCount": 2, + "workerSize": "Small", + "workerSizeId": 0 + } + }, + { + "name": "workerPool2", + "type": "Microsoft.Web/hostingEnvironments/workerPools", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-rg/providers/Microsoft.Web/hostingEnvironments/test-ase/workerPools/workerPool2", + "kind": "ASEV1", + "properties": { + "instanceNames": [], + "workerCount": 0, + "workerSize": "Small", + "workerSizeId": 1 + } + }, + { + "name": "workerPool3", + "type": "Microsoft.Web/hostingEnvironments/workerPools", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-rg/providers/Microsoft.Web/hostingEnvironments/test-ase/workerPools/workerPool3", + "kind": "ASEV1", + "properties": { + "instanceNames": [], + "workerCount": 0, + "workerSize": "Small", + "workerSizeId": 2 + } + } + ] + }, + "headers": {} + } + }, + "operationId": "AppServiceEnvironments_ListWorkerPools", + "title": "Get all worker pools of an App Service Environment." +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/AppServiceEnvironments_Reboot.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/AppServiceEnvironments_Reboot.json new file mode 100644 index 000000000000..76dc4ab1c480 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/AppServiceEnvironments_Reboot.json @@ -0,0 +1,15 @@ +{ + "parameters": { + "name": "test-ase", + "api-version": "2025-03-01", + "resourceGroupName": "test-rg", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "202": { + "headers": {} + } + }, + "operationId": "AppServiceEnvironments_Reboot", + "title": "Reboot all machines in an App Service Environment." +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/AppServiceEnvironments_Resume.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/AppServiceEnvironments_Resume.json new file mode 100644 index 000000000000..eadb75ad7ab9 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/AppServiceEnvironments_Resume.json @@ -0,0 +1,27 @@ +{ + "parameters": { + "name": "test-ase", + "api-version": "2025-03-01", + "resourceGroupName": "test-rg", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": { + "value": [] + }, + "headers": {} + }, + "202": { + "body": { + "value": [] + }, + "headers": { + "Location": "https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-rg/providers/Microsoft.Web/hostingEnvironments/test-ase/operations/f6a27306-3ee3-4e6b-997d-3ba2024b85e6?api-version=2019-08-01", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220408T212612Z:79bd0bce-5524-4fd1-ada0-1d8c86263d17" + } + } + }, + "operationId": "AppServiceEnvironments_Resume", + "title": "Resume an App Service Environment." +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/AppServiceEnvironments_Suspend.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/AppServiceEnvironments_Suspend.json new file mode 100644 index 000000000000..2f90ab92f9cd --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/AppServiceEnvironments_Suspend.json @@ -0,0 +1,27 @@ +{ + "parameters": { + "name": "test-ase", + "api-version": "2025-03-01", + "resourceGroupName": "test-rg", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": { + "value": [] + }, + "headers": {} + }, + "202": { + "body": { + "value": [] + }, + "headers": { + "Location": "https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-rg/providers/Microsoft.Web/hostingEnvironments/test-ase/operations/f6a27306-3ee3-4e6b-997d-3ba2024b85e6?api-version=2019-08-01", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220408T212612Z:79bd0bce-5524-4fd1-ada0-1d8c86263d17" + } + } + }, + "operationId": "AppServiceEnvironments_Suspend", + "title": "Suspend an App Service Environment." +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/AppServiceEnvironments_TestUpgradeAvailableNotification.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/AppServiceEnvironments_TestUpgradeAvailableNotification.json new file mode 100644 index 000000000000..54ca9b2cee37 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/AppServiceEnvironments_TestUpgradeAvailableNotification.json @@ -0,0 +1,15 @@ +{ + "parameters": { + "name": "SampleHostingEnvironment", + "api-version": "2025-03-01", + "resourceGroupName": "rg", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "headers": {} + } + }, + "operationId": "AppServiceEnvironments_TestUpgradeAvailableNotification", + "title": "Send a test notification that an upgrade is available for this App Service Environment" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/AppServiceEnvironments_Update.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/AppServiceEnvironments_Update.json new file mode 100644 index 000000000000..ef6695b4b8c5 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/AppServiceEnvironments_Update.json @@ -0,0 +1,185 @@ +{ + "parameters": { + "name": "test-ase", + "api-version": "2025-03-01", + "hostingEnvironmentEnvelope": { + "properties": { + "frontEndScaleFactor": 20, + "virtualNetwork": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/test-subnet/subnets/delegated" + } + } + }, + "resourceGroupName": "test-rg", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": { + "name": "test-ase", + "type": "Microsoft.Web/hostingEnvironments", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-rg/providers/Microsoft.Web/hostingEnvironments/test-ase", + "kind": "ASEV3", + "location": "South Central US", + "properties": { + "clusterSettings": null, + "dedicatedHostCount": 0, + "dnsSuffix": "test-ase.p.azurewebsites.net", + "frontEndScaleFactor": 15, + "hasLinuxWorkers": true, + "internalLoadBalancingMode": "None", + "ipsslAddressCount": 0, + "maximumNumberOfMachines": 250, + "multiRoleCount": null, + "multiSize": "Standard_D2d_v4", + "networkingConfiguration": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-rg/providers/Microsoft.Web/hostingEnvironments/test-ase/configurations/networking", + "properties": { + "allowNewPrivateEndpointConnections": false, + "externalInboundIpAddresses": [ + "52.153.248.36" + ], + "ftpEnabled": false, + "inboundIpAddressOverride": null, + "internalInboundIpAddresses": [], + "linuxOutboundIpAddresses": [ + "20.88.241.56", + "20.88.241.9" + ], + "remoteDebugEnabled": false, + "windowsOutboundIpAddresses": [ + "20.88.241.56", + "20.88.241.9" + ] + } + }, + "provisioningState": "Succeeded", + "status": "Ready", + "suspended": false, + "userWhitelistedIpRanges": null, + "virtualNetwork": { + "name": "delegated", + "type": "Microsoft.Network/virtualNetworks/subnets", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/test-subnet/subnets/delegated", + "subnet": "" + }, + "zoneRedundant": false + }, + "tags": {} + }, + "headers": {} + }, + "201": { + "body": { + "name": "test-ase", + "type": "Microsoft.Web/hostingEnvironments", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-rg/providers/Microsoft.Web/hostingEnvironments/test-ase", + "kind": "ASEV3", + "location": "South Central US", + "properties": { + "clusterSettings": null, + "dedicatedHostCount": 0, + "dnsSuffix": "test-ase.p.azurewebsites.net", + "frontEndScaleFactor": 15, + "hasLinuxWorkers": true, + "internalLoadBalancingMode": "None", + "ipsslAddressCount": 0, + "maximumNumberOfMachines": 250, + "multiRoleCount": null, + "multiSize": "Standard_D2d_v4", + "networkingConfiguration": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-rg/providers/Microsoft.Web/hostingEnvironments/test-ase/configurations/networking", + "properties": { + "allowNewPrivateEndpointConnections": false, + "externalInboundIpAddresses": [ + "52.153.248.36" + ], + "ftpEnabled": false, + "inboundIpAddressOverride": null, + "internalInboundIpAddresses": [], + "linuxOutboundIpAddresses": [ + "20.88.241.56", + "20.88.241.9" + ], + "remoteDebugEnabled": false, + "windowsOutboundIpAddresses": [ + "20.88.241.56", + "20.88.241.9" + ] + } + }, + "provisioningState": "Succeeded", + "status": "Ready", + "suspended": false, + "userWhitelistedIpRanges": null, + "virtualNetwork": { + "name": "delegated", + "type": "Microsoft.Network/virtualNetworks/subnets", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/test-subnet/subnets/delegated", + "subnet": "" + }, + "zoneRedundant": false + }, + "tags": {} + }, + "headers": {} + }, + "202": { + "body": { + "name": "test-ase", + "type": "Microsoft.Web/hostingEnvironments", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-rg/providers/Microsoft.Web/hostingEnvironments/test-ase", + "kind": "ASEV3", + "location": "South Central US", + "properties": { + "clusterSettings": null, + "dedicatedHostCount": 0, + "dnsSuffix": "test-ase.p.azurewebsites.net", + "frontEndScaleFactor": 15, + "hasLinuxWorkers": true, + "internalLoadBalancingMode": "None", + "ipsslAddressCount": 0, + "maximumNumberOfMachines": 250, + "multiRoleCount": null, + "multiSize": "Standard_D2d_v4", + "networkingConfiguration": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-rg/providers/Microsoft.Web/hostingEnvironments/test-ase/configurations/networking", + "properties": { + "allowNewPrivateEndpointConnections": false, + "externalInboundIpAddresses": [ + "52.153.248.36" + ], + "ftpEnabled": false, + "inboundIpAddressOverride": null, + "internalInboundIpAddresses": [], + "linuxOutboundIpAddresses": [ + "20.88.241.56", + "20.88.241.9" + ], + "remoteDebugEnabled": false, + "windowsOutboundIpAddresses": [ + "20.88.241.56", + "20.88.241.9" + ] + } + }, + "provisioningState": "Succeeded", + "status": "Ready", + "suspended": false, + "userWhitelistedIpRanges": null, + "virtualNetwork": { + "name": "delegated", + "type": "Microsoft.Network/virtualNetworks/subnets", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/test-subnet/subnets/delegated", + "subnet": "" + }, + "zoneRedundant": false + }, + "tags": {} + }, + "headers": {} + } + }, + "operationId": "AppServiceEnvironments_Update", + "title": "Create or update an App Service Environment." +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/AppServiceEnvironments_UpdateAseNetworkingConfiguration.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/AppServiceEnvironments_UpdateAseNetworkingConfiguration.json new file mode 100644 index 000000000000..4786a1b8062e --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/AppServiceEnvironments_UpdateAseNetworkingConfiguration.json @@ -0,0 +1,44 @@ +{ + "parameters": { + "name": "test-ase", + "api-version": "2025-03-01", + "aseNetworkingConfiguration": { + "properties": { + "ftpEnabled": true, + "remoteDebugEnabled": true + } + }, + "resourceGroupName": "test-rg", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": { + "name": "networking", + "type": "Microsoft.Web/hostingEnvironments/configurations/networking", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-rg/providers/Microsoft.Web/hostingEnvironments/test-ase/configurations/networking", + "properties": { + "allowNewPrivateEndpointConnections": false, + "externalInboundIpAddresses": [ + "52.153.248.36" + ], + "ftpEnabled": true, + "inboundIpAddressOverride": null, + "internalInboundIpAddresses": [], + "linuxOutboundIpAddresses": [ + "20.88.241.56", + "20.88.241.9" + ], + "remoteDebugEnabled": true, + "windowsOutboundIpAddresses": [ + "20.88.241.56", + "20.88.241.9" + ] + } + }, + "headers": {} + } + }, + "operationId": "AppServiceEnvironments_UpdateAseNetworkingConfiguration", + "title": "Update networking configuration of an App Service Environment." +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/AppServiceEnvironments_Upgrade.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/AppServiceEnvironments_Upgrade.json new file mode 100644 index 000000000000..ee6d5c1a9e50 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/AppServiceEnvironments_Upgrade.json @@ -0,0 +1,17 @@ +{ + "parameters": { + "name": "SampleHostingEnvironment", + "api-version": "2025-03-01", + "resourceGroupName": "rg", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "202": { + "headers": { + "azure-asyncoperation": "https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/providers/Microsoft.Web/locations/westus2/operationResults/62e4d893-d233-4005-988e-a428d9f77076?api-version=2019-01-01" + } + } + }, + "operationId": "AppServiceEnvironments_Upgrade", + "title": "Initiate an upgrade on an App Service Environment" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/ApplySlotConfig.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/ApplySlotConfig.json new file mode 100644 index 000000000000..064a99e11f8b --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/ApplySlotConfig.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "name": "sitef6141", + "api-version": "2025-03-01", + "resourceGroupName": "testrg123", + "slotSwapEntity": { + "preserveVnet": true, + "targetSlot": "staging" + }, + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "headers": {} + } + }, + "operationId": "WebApps_ApplySlotConfigToProduction", + "title": "Apply web app slot config" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/ApproveRejectSitePrivateEndpointConnection.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/ApproveRejectSitePrivateEndpointConnection.json new file mode 100644 index 000000000000..d5c413c5ebb3 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/ApproveRejectSitePrivateEndpointConnection.json @@ -0,0 +1,62 @@ +{ + "parameters": { + "name": "testSite", + "api-version": "2025-03-01", + "privateEndpointConnectionName": "connection", + "privateEndpointWrapper": { + "properties": { + "privateLinkServiceConnectionState": { + "description": "Approved by admin.", + "actionsRequired": "", + "status": "Approved" + } + } + }, + "resourceGroupName": "rg", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": { + "name": "connection", + "type": "Microsoft.Web/sites/privateEndpointConnections", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/sites/testSite/privateEndpointConnections/connection", + "properties": { + "privateEndpoint": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Network/privateEndpoints/myPrivateEndpoint" + }, + "privateLinkServiceConnectionState": { + "description": "Approved by admin.", + "actionsRequired": "", + "status": "Approved" + }, + "provisioningState": "Succeeded" + } + }, + "headers": {} + }, + "202": { + "body": { + "name": "connection", + "type": "Microsoft.Web/sites/privateEndpointConnections", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/sites/testSite/privateEndpointConnections/connection", + "properties": { + "privateEndpoint": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Network/privateEndpoints/myPrivateEndpoint" + }, + "privateLinkServiceConnectionState": { + "description": "Approved by admin.", + "actionsRequired": "", + "status": "Approved" + }, + "provisioningState": "Succeeded" + } + }, + "headers": { + "azure-asyncoperation": "https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/providers/Microsoft.Web/locations/westus2/operationResults/62e4d893-d233-4005-988e-a428d9f77076?api-version=2019-01-01" + } + } + }, + "operationId": "WebApps_ApproveOrRejectPrivateEndpointConnection", + "title": "Approves or rejects a private endpoint connection for a site." +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/ApproveRejectSitePrivateEndpointConnectionSlot.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/ApproveRejectSitePrivateEndpointConnectionSlot.json new file mode 100644 index 000000000000..c4657f9becc4 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/ApproveRejectSitePrivateEndpointConnectionSlot.json @@ -0,0 +1,63 @@ +{ + "parameters": { + "name": "testSite", + "api-version": "2025-03-01", + "privateEndpointConnectionName": "connection", + "privateEndpointWrapper": { + "properties": { + "privateLinkServiceConnectionState": { + "description": "Approved by admin.", + "actionsRequired": "", + "status": "Approved" + } + } + }, + "resourceGroupName": "rg", + "slot": "stage", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": { + "name": "connection", + "type": "Microsoft.Web/sites/privateEndpointConnections", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/sites/testSite/slots/stage/privateEndpointConnections/connection", + "properties": { + "privateEndpoint": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Network/privateEndpoints/myPrivateEndpoint" + }, + "privateLinkServiceConnectionState": { + "description": "Approved by admin.", + "actionsRequired": "", + "status": "Approved" + }, + "provisioningState": "Succeeded" + } + }, + "headers": {} + }, + "202": { + "body": { + "name": "connection", + "type": "Microsoft.Web/sites/privateEndpointConnections", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/sites/testSite/slots/stage/privateEndpointConnections/connection", + "properties": { + "privateEndpoint": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Network/privateEndpoints/myPrivateEndpoint" + }, + "privateLinkServiceConnectionState": { + "description": "Approved by admin.", + "actionsRequired": "", + "status": "Approved" + }, + "provisioningState": "Succeeded" + } + }, + "headers": { + "azure-asyncoperation": "https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/providers/Microsoft.Web/locations/westus2/operationResults/62e4d893-d233-4005-988e-a428d9f77076?api-version=2019-01-01" + } + } + }, + "operationId": "WebApps_ApproveOrRejectPrivateEndpointConnectionSlot", + "title": "Approves or rejects a private endpoint connection for a site." +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/ApproveRejectSitePrivateEndpointConnection_StaticSites.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/ApproveRejectSitePrivateEndpointConnection_StaticSites.json new file mode 100644 index 000000000000..5ffa61928891 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/ApproveRejectSitePrivateEndpointConnection_StaticSites.json @@ -0,0 +1,62 @@ +{ + "parameters": { + "name": "testSite", + "api-version": "2025-03-01", + "privateEndpointConnectionName": "connection", + "privateEndpointWrapper": { + "properties": { + "privateLinkServiceConnectionState": { + "description": "Approved by admin.", + "actionsRequired": "", + "status": "Approved" + } + } + }, + "resourceGroupName": "rg", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": { + "name": "connection", + "type": "Microsoft.Web/sites/privateEndpointConnections", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/sites/testSite/privateEndpointConnections/connection", + "properties": { + "privateEndpoint": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Network/privateEndpoints/myPrivateEndpoint" + }, + "privateLinkServiceConnectionState": { + "description": "Approved by admin.", + "actionsRequired": "", + "status": "Approved" + }, + "provisioningState": "Succeeded" + } + }, + "headers": {} + }, + "202": { + "body": { + "name": "connection", + "type": "Microsoft.Web/sites/privateEndpointConnections", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/sites/testSite/privateEndpointConnections/connection", + "properties": { + "privateEndpoint": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Network/privateEndpoints/myPrivateEndpoint" + }, + "privateLinkServiceConnectionState": { + "description": "Approved by admin.", + "actionsRequired": "", + "status": "Approved" + }, + "provisioningState": "Succeeded" + } + }, + "headers": { + "azure-asyncoperation": "https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/providers/Microsoft.Web/locations/westus2/operationResults/62e4d893-d233-4005-988e-a428d9f77076?api-version=2019-01-01" + } + } + }, + "operationId": "StaticSites_ApproveOrRejectPrivateEndpointConnection", + "title": "Approves or rejects a private endpoint connection for a site." +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/BackupWebApp.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/BackupWebApp.json new file mode 100644 index 000000000000..a56e4481f8e9 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/BackupWebApp.json @@ -0,0 +1,76 @@ +{ + "parameters": { + "name": "sitef6141", + "api-version": "2025-03-01", + "resourceGroupName": "testrg123", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "request": { + "properties": { + "backupName": "abcdwe", + "backupSchedule": { + "frequencyInterval": 7, + "frequencyUnit": "Day", + "keepAtLeastOneBackup": true, + "retentionPeriodInDays": 30, + "startTime": "2022-09-02T17:33:11.641Z" + }, + "databases": [ + { + "name": "backenddb", + "connectionString": "DSN=data-source-name[;SERVER=value] [;PWD=value] [;UID=value] [;=]", + "connectionStringName": "backend", + "databaseType": "SqlAzure" + }, + { + "name": "statsdb", + "connectionString": "DSN=data-source-name[;SERVER=value] [;PWD=value] [;UID=value] [;=]", + "connectionStringName": "stats", + "databaseType": "SqlAzure" + } + ], + "enabled": true, + "storageAccountUrl": "DefaultEndpointsProtocol=https;AccountName=storagesample;AccountKey=" + } + } + }, + "responses": { + "200": { + "body": { + "name": "sitef6141", + "type": "Microsoft.Web/sites", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/sitef6141", + "properties": { + "name": "sitef6141_2024-11-01", + "blobName": "sitef6141_2024-11-01", + "created": "2022-09-03T17:33:11.641Z", + "databases": [ + { + "name": "backenddb", + "connectionString": "DSN=data-source-name[;SERVER=value] [;PWD=value] [;UID=value] [;=]", + "connectionStringName": "backend", + "databaseType": "SqlAzure" + }, + { + "name": "statsdb", + "connectionString": "DSN=data-source-name[;SERVER=value] [;PWD=value] [;UID=value] [;=]", + "connectionStringName": "stats", + "databaseType": "SqlAzure" + } + ], + "finishedTimeStamp": "2022-09-02T17:33:11.641Z", + "id": 12345, + "lastRestoreTimeStamp": "2022-09-04T17:33:11.641Z", + "log": "Succeeded", + "scheduled": true, + "sizeInBytes": 56091883, + "status": "InProgress", + "storageAccountUrl": "DefaultEndpointsProtocol=https;AccountName=storagesample;AccountKey=", + "websiteSizeInBytes": 56091883 + } + }, + "headers": {} + } + }, + "operationId": "WebApps_Backup", + "title": "Backup web app" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/CloneWebApp.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/CloneWebApp.json new file mode 100644 index 000000000000..587e37aeb025 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/CloneWebApp.json @@ -0,0 +1,263 @@ +{ + "parameters": { + "name": "sitef6141", + "api-version": "2025-03-01", + "resourceGroupName": "testrg123", + "siteEnvelope": { + "kind": "app", + "location": "East US", + "properties": { + "cloningInfo": { + "appSettingsOverrides": { + "Setting1": "NewValue1", + "Setting3": "NewValue5" + }, + "cloneCustomHostNames": true, + "cloneSourceControl": true, + "configureLoadBalancing": false, + "hostingEnvironment": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg456/providers/Microsoft.Web/hostingenvironments/aseforsites", + "overwrite": false, + "sourceWebAppId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg456/providers/Microsoft.Web/sites/srcsiteg478", + "sourceWebAppLocation": "West Europe" + } + } + }, + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": { + "name": "sitef6141", + "type": "Microsoft.Web/sites", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/sitef6141", + "kind": "app", + "location": "East US", + "properties": { + "availabilityState": "Normal", + "clientAffinityEnabled": true, + "clientCertEnabled": false, + "clientCertMode": "Required", + "containerSize": 0, + "customDomainVerificationId": "7F3BB652450EF7AD0B6AA33064586E4A9CE823A46DF0B2EC6443A68086E84153", + "dailyMemoryTimeQuota": 0, + "defaultHostName": "sitef6141.azurewebsites.net", + "enabled": true, + "enabledHostNames": [ + "sitef6141.azurewebsites.net", + "sitef6141.scm.azurewebsites.net" + ], + "hostNameSslStates": [ + { + "name": "sitef6141.azurewebsites.net", + "hostType": "Standard", + "sslState": "Disabled" + }, + { + "name": "sitef6141.scm.azurewebsites.net", + "hostType": "Repository", + "sslState": "Disabled" + } + ], + "hostNames": [ + "sitef6141.azurewebsites.net" + ], + "hostNamesDisabled": false, + "httpsOnly": false, + "hyperV": false, + "isXenon": false, + "keyVaultReferenceIdentity": "SystemAssigned", + "lastModifiedTimeUtc": "2020-03-04T17:33:11.641Z", + "outboundIpAddresses": "70.37.102.201,20.225.43.144", + "outboundVnetRouting": { + "allTraffic": false, + "applicationTraffic": false, + "backupRestoreTraffic": false, + "contentShareTraffic": false, + "imagePullTraffic": false + }, + "possibleOutboundIpAddresses": "70.37.102.201,20.225.43.144,20.225.184.122,20.225.184.188", + "redundancyMode": "None", + "repositorySiteName": "sitef6141", + "reserved": false, + "resourceGroup": "testrg123", + "scmSiteAlsoStopped": false, + "serverFarmId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/serverfarms/DefaultAsp", + "siteConfig": { + "acrUseManagedIdentityCreds": false, + "alwaysOn": false, + "appCommandLine": "", + "autoHealEnabled": false, + "azureStorageAccounts": {}, + "defaultDocuments": [ + "Default.htm", + "Default.html", + "Default.asp", + "index.htm", + "index.html", + "iisstart.htm", + "default.aspx", + "index.php", + "hostingstart.html" + ], + "detailedErrorLoggingEnabled": false, + "ftpsState": "AllAllowed", + "functionAppScaleLimit": 0, + "functionsRuntimeScaleMonitoringEnabled": false, + "http20Enabled": false, + "httpLoggingEnabled": false, + "linuxFxVersion": "", + "loadBalancing": "LeastRequests", + "logsDirectorySizeLimit": 35, + "managedPipelineMode": "Integrated", + "minTlsVersion": "1.2", + "minimumElasticInstanceCount": 0, + "netFrameworkVersion": "v4.0", + "nodeVersion": "", + "numberOfWorkers": 1, + "phpVersion": "5.6", + "powerShellVersion": "", + "pythonVersion": "", + "remoteDebuggingEnabled": false, + "requestTracingEnabled": false, + "scmMinTlsVersion": "1.2", + "use32BitWorkerProcess": true, + "virtualApplications": [ + { + "physicalPath": "site\\wwwroot", + "preloadEnabled": false, + "virtualPath": "/" + } + ], + "vnetName": "", + "vnetPrivatePortsCount": 0, + "vnetRouteAllEnabled": false, + "webSocketsEnabled": false + }, + "state": "Running", + "storageAccountRequired": false, + "usageState": "Normal" + } + }, + "headers": {} + }, + "202": { + "body": { + "name": "sitef6141", + "type": "Microsoft.Web/sites", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/sitef6141", + "kind": "app", + "location": "East US", + "properties": { + "availabilityState": "Normal", + "clientAffinityEnabled": true, + "clientCertEnabled": false, + "clientCertMode": "Required", + "containerSize": 0, + "customDomainVerificationId": "7F3BB652450EF7AD0B6AA33064586E4A9CE823A46DF0B2EC6443A68086E84153", + "dailyMemoryTimeQuota": 0, + "defaultHostName": "sitef6141.azurewebsites.net", + "enabled": true, + "enabledHostNames": [ + "sitef6141.azurewebsites.net", + "sitef6141.scm.azurewebsites.net" + ], + "hostNameSslStates": [ + { + "name": "sitef6141.azurewebsites.net", + "hostType": "Standard", + "sslState": "Disabled" + }, + { + "name": "sitef6141.scm.azurewebsites.net", + "hostType": "Repository", + "sslState": "Disabled" + } + ], + "hostNames": [ + "sitef6141.azurewebsites.net" + ], + "hostNamesDisabled": false, + "httpsOnly": false, + "hyperV": false, + "isXenon": false, + "keyVaultReferenceIdentity": "SystemAssigned", + "lastModifiedTimeUtc": "2020-03-04T17:33:11.641Z", + "outboundIpAddresses": "70.37.102.201,20.225.43.144", + "outboundVnetRouting": { + "allTraffic": false, + "applicationTraffic": false, + "backupRestoreTraffic": false, + "contentShareTraffic": false, + "imagePullTraffic": false + }, + "possibleOutboundIpAddresses": "70.37.102.201,20.225.43.144,20.225.184.122,20.225.184.188", + "redundancyMode": "None", + "repositorySiteName": "sitef6141", + "reserved": false, + "resourceGroup": "testrg123", + "scmSiteAlsoStopped": false, + "serverFarmId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/serverfarms/DefaultAsp", + "siteConfig": { + "acrUseManagedIdentityCreds": false, + "alwaysOn": false, + "appCommandLine": "", + "autoHealEnabled": false, + "azureStorageAccounts": {}, + "defaultDocuments": [ + "Default.htm", + "Default.html", + "Default.asp", + "index.htm", + "index.html", + "iisstart.htm", + "default.aspx", + "index.php", + "hostingstart.html" + ], + "detailedErrorLoggingEnabled": false, + "ftpsState": "AllAllowed", + "functionAppScaleLimit": 0, + "functionsRuntimeScaleMonitoringEnabled": false, + "http20Enabled": false, + "httpLoggingEnabled": false, + "linuxFxVersion": "", + "loadBalancing": "LeastRequests", + "logsDirectorySizeLimit": 35, + "managedPipelineMode": "Integrated", + "minTlsVersion": "1.2", + "minimumElasticInstanceCount": 0, + "netFrameworkVersion": "v4.0", + "nodeVersion": "", + "numberOfWorkers": 1, + "phpVersion": "5.6", + "powerShellVersion": "", + "pythonVersion": "", + "remoteDebuggingEnabled": false, + "requestTracingEnabled": false, + "scmMinTlsVersion": "1.2", + "use32BitWorkerProcess": true, + "virtualApplications": [ + { + "physicalPath": "site\\wwwroot", + "preloadEnabled": false, + "virtualPath": "/" + } + ], + "vnetName": "", + "vnetPrivatePortsCount": 0, + "vnetRouteAllEnabled": false, + "webSocketsEnabled": false + }, + "state": "Running", + "storageAccountRequired": false, + "usageState": "Normal" + } + }, + "headers": { + "azure-asyncoperation": "https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/providers/Microsoft.Web/sites/sitef6141/operationResults/62e4d893-d233-4005-988e-a428d9f77076?api-version=2025-03-01" + } + } + }, + "operationId": "WebApps_CreateOrUpdate", + "title": "Clone web app" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/CloneWebAppSlot.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/CloneWebAppSlot.json new file mode 100644 index 000000000000..9007668316fb --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/CloneWebAppSlot.json @@ -0,0 +1,264 @@ +{ + "parameters": { + "name": "sitef6141", + "api-version": "2025-03-01", + "resourceGroupName": "testrg123", + "siteEnvelope": { + "kind": "app", + "location": "East US", + "properties": { + "cloningInfo": { + "appSettingsOverrides": { + "Setting1": "NewValue1", + "Setting3": "NewValue5" + }, + "cloneCustomHostNames": true, + "cloneSourceControl": true, + "configureLoadBalancing": false, + "hostingEnvironment": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg456/providers/Microsoft.Web/hostingenvironments/aseforsites", + "overwrite": false, + "sourceWebAppId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg456/providers/Microsoft.Web/sites/srcsiteg478/slot/qa", + "sourceWebAppLocation": "West Europe" + } + } + }, + "slot": "staging", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": { + "name": "sitef6141/staging", + "type": "Microsoft.Web/sites/slots", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/sitef6141/slots/staging", + "kind": "app", + "location": "East US", + "properties": { + "availabilityState": "Normal", + "clientAffinityEnabled": true, + "clientCertEnabled": false, + "clientCertMode": "Required", + "containerSize": 0, + "customDomainVerificationId": "7F3BB652450EF7AD0B6AA33064586E4A9CE823A46DF0B2EC6443A68086E84153", + "dailyMemoryTimeQuota": 0, + "defaultHostName": "sitef6141-staging.azurewebsites.net", + "enabled": true, + "enabledHostNames": [ + "sitef6141-staging.azurewebsites.net", + "sitef6141-staging.scm.azurewebsites.net" + ], + "hostNameSslStates": [ + { + "name": "sitef6141-staging.azurewebsites.net", + "hostType": "Standard", + "sslState": "Disabled" + }, + { + "name": "sitef6141-staging.scm.azurewebsites.net", + "hostType": "Repository", + "sslState": "Disabled" + } + ], + "hostNames": [ + "sitef6141-staging.azurewebsites.net" + ], + "hostNamesDisabled": false, + "httpsOnly": false, + "hyperV": false, + "isXenon": false, + "keyVaultReferenceIdentity": "SystemAssigned", + "lastModifiedTimeUtc": "2020-03-04T17:33:11.641Z", + "outboundIpAddresses": "70.37.102.201,20.225.43.144", + "outboundVnetRouting": { + "allTraffic": false, + "applicationTraffic": false, + "backupRestoreTraffic": false, + "contentShareTraffic": false, + "imagePullTraffic": false + }, + "possibleOutboundIpAddresses": "70.37.102.201,20.225.43.144,20.225.184.122,20.225.184.188", + "redundancyMode": "None", + "repositorySiteName": "sitef6141", + "reserved": false, + "resourceGroup": "testrg123", + "scmSiteAlsoStopped": false, + "serverFarmId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/serverfarms/DefaultAsp", + "siteConfig": { + "acrUseManagedIdentityCreds": false, + "alwaysOn": false, + "appCommandLine": "", + "autoHealEnabled": false, + "azureStorageAccounts": {}, + "defaultDocuments": [ + "Default.htm", + "Default.html", + "Default.asp", + "index.htm", + "index.html", + "iisstart.htm", + "default.aspx", + "index.php", + "hostingstart.html" + ], + "detailedErrorLoggingEnabled": false, + "ftpsState": "AllAllowed", + "functionAppScaleLimit": 0, + "functionsRuntimeScaleMonitoringEnabled": false, + "http20Enabled": false, + "httpLoggingEnabled": false, + "linuxFxVersion": "", + "loadBalancing": "LeastRequests", + "logsDirectorySizeLimit": 35, + "managedPipelineMode": "Integrated", + "minTlsVersion": "1.2", + "minimumElasticInstanceCount": 0, + "netFrameworkVersion": "v4.0", + "nodeVersion": "", + "numberOfWorkers": 1, + "phpVersion": "5.6", + "powerShellVersion": "", + "pythonVersion": "", + "remoteDebuggingEnabled": false, + "requestTracingEnabled": false, + "scmMinTlsVersion": "1.2", + "use32BitWorkerProcess": true, + "virtualApplications": [ + { + "physicalPath": "site\\wwwroot", + "preloadEnabled": false, + "virtualPath": "/" + } + ], + "vnetName": "", + "vnetPrivatePortsCount": 0, + "vnetRouteAllEnabled": false, + "webSocketsEnabled": false + }, + "state": "Running", + "storageAccountRequired": false, + "usageState": "Normal" + } + }, + "headers": {} + }, + "202": { + "body": { + "name": "sitef6141/staging", + "type": "Microsoft.Web/sites/slots", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/sitef6141/slots/staging", + "kind": "app", + "location": "East US", + "properties": { + "availabilityState": "Normal", + "clientAffinityEnabled": true, + "clientCertEnabled": false, + "clientCertMode": "Required", + "containerSize": 0, + "customDomainVerificationId": "7F3BB652450EF7AD0B6AA33064586E4A9CE823A46DF0B2EC6443A68086E84153", + "dailyMemoryTimeQuota": 0, + "defaultHostName": "sitef6141-staging.azurewebsites.net", + "enabled": true, + "enabledHostNames": [ + "sitef6141-staging.azurewebsites.net", + "sitef6141-staging.scm.azurewebsites.net" + ], + "hostNameSslStates": [ + { + "name": "sitef6141-staging.azurewebsites.net", + "hostType": "Standard", + "sslState": "Disabled" + }, + { + "name": "sitef6141-staging.scm.azurewebsites.net", + "hostType": "Repository", + "sslState": "Disabled" + } + ], + "hostNames": [ + "sitef6141-staging.azurewebsites.net" + ], + "hostNamesDisabled": false, + "httpsOnly": false, + "hyperV": false, + "isXenon": false, + "keyVaultReferenceIdentity": "SystemAssigned", + "lastModifiedTimeUtc": "2020-03-04T17:33:11.641Z", + "outboundIpAddresses": "70.37.102.201,20.225.43.144", + "outboundVnetRouting": { + "allTraffic": false, + "applicationTraffic": false, + "backupRestoreTraffic": false, + "contentShareTraffic": false, + "imagePullTraffic": false + }, + "possibleOutboundIpAddresses": "70.37.102.201,20.225.43.144,20.225.184.122,20.225.184.188", + "redundancyMode": "None", + "repositorySiteName": "sitef6141", + "reserved": false, + "resourceGroup": "testrg123", + "scmSiteAlsoStopped": false, + "serverFarmId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/serverfarms/DefaultAsp", + "siteConfig": { + "acrUseManagedIdentityCreds": false, + "alwaysOn": false, + "appCommandLine": "", + "autoHealEnabled": false, + "azureStorageAccounts": {}, + "defaultDocuments": [ + "Default.htm", + "Default.html", + "Default.asp", + "index.htm", + "index.html", + "iisstart.htm", + "default.aspx", + "index.php", + "hostingstart.html" + ], + "detailedErrorLoggingEnabled": false, + "ftpsState": "AllAllowed", + "functionAppScaleLimit": 0, + "functionsRuntimeScaleMonitoringEnabled": false, + "http20Enabled": false, + "httpLoggingEnabled": false, + "linuxFxVersion": "", + "loadBalancing": "LeastRequests", + "logsDirectorySizeLimit": 35, + "managedPipelineMode": "Integrated", + "minTlsVersion": "1.2", + "minimumElasticInstanceCount": 0, + "netFrameworkVersion": "v4.0", + "nodeVersion": "", + "numberOfWorkers": 1, + "phpVersion": "5.6", + "powerShellVersion": "", + "pythonVersion": "", + "remoteDebuggingEnabled": false, + "requestTracingEnabled": false, + "scmMinTlsVersion": "1.2", + "use32BitWorkerProcess": true, + "virtualApplications": [ + { + "physicalPath": "site\\wwwroot", + "preloadEnabled": false, + "virtualPath": "/" + } + ], + "vnetName": "", + "vnetPrivatePortsCount": 0, + "vnetRouteAllEnabled": false, + "webSocketsEnabled": false + }, + "state": "Running", + "storageAccountRequired": false, + "usageState": "Normal" + } + }, + "headers": { + "azure-asyncoperation": "https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/providers/Microsoft.Web/sites/sitef6141/operationResults/62e4d893-d233-4005-988e-a428d9f77076?api-version=2025-03-01" + } + } + }, + "operationId": "WebApps_CreateOrUpdateSlot", + "title": "Clone web app slot" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/CreateOrUpdateAppServicePlan.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/CreateOrUpdateAppServicePlan.json new file mode 100644 index 000000000000..c0595a33aa24 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/CreateOrUpdateAppServicePlan.json @@ -0,0 +1,84 @@ +{ + "parameters": { + "name": "testsf6141", + "api-version": "2025-03-01", + "appServicePlan": { + "kind": "app", + "location": "East US", + "properties": {}, + "sku": { + "name": "P1", + "capacity": 1, + "family": "P", + "size": "P1", + "tier": "Premium" + } + }, + "resourceGroupName": "testrg123", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": { + "name": "testsf6141", + "type": "Microsoft.Web/serverfarms", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/serverfarms/testsf6141", + "kind": "app", + "location": "East US", + "properties": { + "asyncScalingEnabled": false, + "geoRegion": "East US", + "maximumNumberOfWorkers": 20, + "numberOfSites": 4, + "provisioningState": "Succeeded", + "reserved": false, + "status": "Ready", + "targetWorkerCount": 0, + "targetWorkerSizeId": 0 + }, + "sku": { + "name": "P1", + "capacity": 1, + "family": "P", + "size": "P1", + "tier": "Premium" + } + }, + "headers": {} + }, + "202": { + "body": { + "name": "testsf6141", + "type": "Microsoft.Web/serverfarms", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/serverfarms/testsf6141", + "kind": "app", + "location": "East US", + "properties": { + "asyncScalingEnabled": true, + "geoRegion": "East US", + "isSpot": false, + "maximumNumberOfWorkers": 20, + "numberOfSites": 4, + "provisioningState": "Succeeded", + "reserved": false, + "status": "Ready", + "targetWorkerCount": 0, + "targetWorkerSizeId": 0 + }, + "sku": { + "name": "P1", + "capacity": 1, + "family": "P", + "size": "P1", + "tier": "Premium" + } + }, + "headers": { + "azure-asyncoperation": "https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/serverfarms/testsf6141/operationresults/F0C6B8EC-0D53-432C-913B-1CD9E8CDE3A0", + "location": "https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/serverfarms/testsf6141/operationresults/F0C6B8EC-0D53-432C-913B-1CD9E8CDE3A0" + } + } + }, + "operationId": "AppServicePlans_CreateOrUpdate", + "title": "Create Or Update App Service plan" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/CreateOrUpdateCertificate.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/CreateOrUpdateCertificate.json new file mode 100644 index 000000000000..a31dc1d85bc8 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/CreateOrUpdateCertificate.json @@ -0,0 +1,41 @@ +{ + "parameters": { + "name": "testc6282", + "api-version": "2025-03-01", + "certificateEnvelope": { + "location": "East US", + "properties": { + "hostNames": [ + "ServerCert" + ], + "password": "" + } + }, + "resourceGroupName": "testrg123", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": { + "name": "testc6282", + "type": "Microsoft.Web/certificates", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/certificates/testc6282", + "location": "East US", + "properties": { + "expirationDate": "2039-12-31T23:59:59+00:00", + "friendlyName": "", + "hostNames": [ + "ServerCert" + ], + "issueDate": "2015-11-12T23:40:25+00:00", + "issuer": "CACert", + "subjectName": "ServerCert", + "thumbprint": "FE703D7411A44163B6D32B3AD9B03E175886EBFE" + } + }, + "headers": {} + } + }, + "operationId": "Certificates_CreateOrUpdate", + "title": "Create Or Update Certificate" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/CreateOrUpdateFunctionAppFlexConsumption.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/CreateOrUpdateFunctionAppFlexConsumption.json new file mode 100644 index 000000000000..f3ab15b2c17f --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/CreateOrUpdateFunctionAppFlexConsumption.json @@ -0,0 +1,342 @@ +{ + "parameters": { + "name": "sitef6141", + "api-version": "2025-03-01", + "resourceGroupName": "testrg123", + "siteEnvelope": { + "kind": "functionapp,linux", + "location": "East US", + "properties": { + "functionAppConfig": { + "deployment": { + "storage": { + "type": "blobContainer", + "authentication": { + "type": "StorageAccountConnectionString", + "storageAccountConnectionStringName": "TheAppSettingName" + }, + "value": "https://storageAccountName.blob.core.windows.net/containername" + } + }, + "runtime": { + "name": "python", + "version": "3.11" + }, + "scaleAndConcurrency": { + "instanceMemoryMB": 2048, + "maximumInstanceCount": 100 + } + }, + "siteConfig": { + "appSettings": [ + { + "name": "AzureWebJobsStorage", + "value": "DefaultEndpointsProtocol=https;AccountName=StorageAccountName;AccountKey=Sanitized;EndpointSuffix=core.windows.net" + }, + { + "name": "APPLICATIONINSIGHTS_CONNECTION_STRING", + "value": "InstrumentationKey=Sanitized;IngestionEndpoint=Sanitized;LiveEndpoint=Sanitized" + } + ] + } + } + }, + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": { + "name": "sitef6141", + "type": "Microsoft.Web/sites", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/sitef6141", + "location": "East US", + "properties": { + "availabilityState": "Normal", + "clientAffinityEnabled": false, + "clientCertEnabled": false, + "containerSize": 2048, + "dailyMemoryTimeQuota": 0, + "defaultHostName": "sitef6141.azurewebsites.net", + "enabled": true, + "enabledHostNames": [ + "sitef6141.azurewebsites.net", + "sitef6141.scm.azurewebsites.net" + ], + "functionAppConfig": { + "deployment": { + "storage": { + "type": "blobContainer", + "authentication": { + "type": "StorageAccountConnectionString", + "storageAccountConnectionStringName": "TheAppSettingName" + }, + "value": "https://storageAccountName.blob.core.windows.net/containername" + } + }, + "runtime": { + "name": "python", + "version": "3.11" + }, + "scaleAndConcurrency": { + "alwaysReady": null, + "instanceMemoryMB": 2048, + "maximumInstanceCount": 100, + "triggers": null + } + }, + "hostNameSslStates": [ + { + "name": "sitef6141.azurewebsites.net", + "hostType": "Standard", + "sslState": "Disabled" + }, + { + "name": "sitef6141.scm.azurewebsites.net", + "hostType": "Repository", + "sslState": "Disabled" + } + ], + "hostNames": [ + "sitef6141.azurewebsites.net" + ], + "httpsOnly": true, + "hyperV": false, + "isXenon": false, + "lastModifiedTimeUtc": "2024-01-09T00:24:54.8", + "outboundIpAddresses": "70.37.102.201,20.225.43.144", + "outboundVnetRouting": { + "allTraffic": false, + "applicationTraffic": false, + "backupRestoreTraffic": false, + "contentShareTraffic": false, + "imagePullTraffic": false + }, + "possibleOutboundIpAddresses": "70.37.102.201,20.225.43.144,20.225.184.122,20.225.184.188", + "publicNetworkAccess": "Enabled", + "redundancyMode": "None", + "repositorySiteName": "sitef6141", + "reserved": null, + "resourceConfig": { + "cpu": 1, + "memory": "2.0Gi" + }, + "resourceGroup": "testrg123", + "scmSiteAlsoStopped": false, + "serverFarmId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/serverfarms/DefaultAsp", + "siteConfig": { + "acrUseManagedIdentityCreds": false, + "alwaysOn": false, + "appCommandLine": "", + "autoHealEnabled": false, + "azureStorageAccounts": {}, + "detailedErrorLoggingEnabled": false, + "ftpsState": "AllAllowed", + "functionAppScaleLimit": 0, + "functionsRuntimeScaleMonitoringEnabled": false, + "http20Enabled": false, + "httpLoggingEnabled": false, + "ipSecurityRestrictions": [ + { + "name": "Allow all", + "description": "Allow all access", + "action": "Allow", + "ipAddress": "Any", + "priority": 2147483647 + } + ], + "keyVaultReferenceIdentity": "", + "linuxFxVersion": "", + "loadBalancing": "LeastRequests", + "logsDirectorySizeLimit": 35, + "managedPipelineMode": "Integrated", + "minTlsVersion": "1.2", + "minimumElasticInstanceCount": 0, + "netFrameworkVersion": "", + "nodeVersion": "", + "numberOfWorkers": 1, + "phpVersion": "", + "powerShellVersion": "", + "pythonVersion": "", + "remoteDebuggingEnabled": false, + "requestTracingEnabled": false, + "scmIpSecurityRestrictions": [ + { + "name": "Allow all", + "description": "Allow all access", + "action": "Allow", + "ipAddress": "Any", + "priority": 2147483647 + } + ], + "scmMinTlsVersion": "1.2", + "use32BitWorkerProcess": false, + "virtualApplications": [ + { + "physicalPath": "site\\wwwroot", + "preloadEnabled": false, + "virtualPath": "/" + } + ], + "vnetName": "", + "vnetPrivatePortsCount": 0, + "vnetRouteAllEnabled": false, + "webSocketsEnabled": false + }, + "state": "Running", + "storageAccountRequired": false, + "usageState": "Normal" + } + }, + "headers": {} + }, + "202": { + "body": { + "name": "sitef6141", + "type": "Microsoft.Web/sites", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/sitef6141", + "location": "East US", + "properties": { + "availabilityState": "Normal", + "clientAffinityEnabled": false, + "clientCertEnabled": false, + "containerSize": 2048, + "dailyMemoryTimeQuota": 0, + "defaultHostName": "sitef6141.azurewebsites.net", + "enabled": true, + "enabledHostNames": [ + "sitef6141.azurewebsites.net", + "sitef6141.scm.azurewebsites.net" + ], + "functionAppConfig": { + "deployment": { + "storage": { + "type": "blobContainer", + "authentication": { + "type": "StorageAccountConnectionString", + "storageAccountConnectionStringName": "TheAppSettingName" + }, + "value": "https://storageAccountName.blob.core.windows.net/containername" + } + }, + "runtime": { + "name": "python", + "version": "3.11" + }, + "scaleAndConcurrency": { + "alwaysReady": null, + "instanceMemoryMB": 2048, + "maximumInstanceCount": 100, + "triggers": null + } + }, + "hostNameSslStates": [ + { + "name": "sitef6141.azurewebsites.net", + "hostType": "Standard", + "sslState": "Disabled" + }, + { + "name": "sitef6141.scm.azurewebsites.net", + "hostType": "Repository", + "sslState": "Disabled" + } + ], + "hostNames": [ + "sitef6141.azurewebsites.net" + ], + "httpsOnly": true, + "hyperV": false, + "isXenon": false, + "lastModifiedTimeUtc": "2024-01-09T00:24:54.8", + "outboundIpAddresses": "70.37.102.201,20.225.43.144", + "outboundVnetRouting": { + "allTraffic": false, + "applicationTraffic": false, + "backupRestoreTraffic": false, + "contentShareTraffic": false, + "imagePullTraffic": false + }, + "possibleOutboundIpAddresses": "70.37.102.201,20.225.43.144,20.225.184.122,20.225.184.188", + "publicNetworkAccess": "Enabled", + "redundancyMode": "None", + "repositorySiteName": "sitef6141", + "reserved": null, + "resourceConfig": { + "cpu": 1, + "memory": "2.0Gi" + }, + "resourceGroup": "testrg123", + "scmSiteAlsoStopped": false, + "serverFarmId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/serverfarms/DefaultAsp", + "siteConfig": { + "acrUseManagedIdentityCreds": false, + "alwaysOn": false, + "appCommandLine": "", + "autoHealEnabled": false, + "azureStorageAccounts": {}, + "detailedErrorLoggingEnabled": false, + "ftpsState": "AllAllowed", + "functionAppScaleLimit": 0, + "functionsRuntimeScaleMonitoringEnabled": false, + "http20Enabled": false, + "httpLoggingEnabled": false, + "ipSecurityRestrictions": [ + { + "name": "Allow all", + "description": "Allow all access", + "action": "Allow", + "ipAddress": "Any", + "priority": 2147483647 + } + ], + "keyVaultReferenceIdentity": "", + "linuxFxVersion": "", + "loadBalancing": "LeastRequests", + "logsDirectorySizeLimit": 35, + "managedPipelineMode": "Integrated", + "minTlsVersion": "1.2", + "minimumElasticInstanceCount": 0, + "netFrameworkVersion": "", + "nodeVersion": "", + "numberOfWorkers": 1, + "phpVersion": "", + "powerShellVersion": "", + "pythonVersion": "", + "remoteDebuggingEnabled": false, + "requestTracingEnabled": false, + "scmIpSecurityRestrictions": [ + { + "name": "Allow all", + "description": "Allow all access", + "action": "Allow", + "ipAddress": "Any", + "priority": 2147483647 + } + ], + "scmMinTlsVersion": "1.2", + "use32BitWorkerProcess": false, + "virtualApplications": [ + { + "physicalPath": "site\\wwwroot", + "preloadEnabled": false, + "virtualPath": "/" + } + ], + "vnetName": "", + "vnetPrivatePortsCount": 0, + "vnetRouteAllEnabled": false, + "webSocketsEnabled": false + }, + "state": "Running", + "storageAccountRequired": false, + "usageState": "Normal" + } + }, + "headers": { + "azure-asyncoperation": "https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/providers/Microsoft.Web/sites/sitef6141/operationResults/62e4d893-d233-4005-988e-a428d9f77076?api-version=2025-03-01" + } + } + }, + "operationId": "WebApps_CreateOrUpdate", + "title": "Create or Update Flex Consumption function app" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/CreateOrUpdateFunctionAppFlexConsumptionWithDetails.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/CreateOrUpdateFunctionAppFlexConsumptionWithDetails.json new file mode 100644 index 000000000000..60ff14971897 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/CreateOrUpdateFunctionAppFlexConsumptionWithDetails.json @@ -0,0 +1,371 @@ +{ + "parameters": { + "name": "sitef6141", + "api-version": "2025-03-01", + "resourceGroupName": "testrg123", + "siteEnvelope": { + "kind": "functionapp,linux", + "location": "East US", + "properties": { + "functionAppConfig": { + "deployment": { + "storage": { + "type": "blobContainer", + "authentication": { + "type": "StorageAccountConnectionString", + "storageAccountConnectionStringName": "TheAppSettingName" + }, + "value": "https://storageAccountName.blob.core.windows.net/containername" + } + }, + "runtime": { + "name": "python", + "version": "3.11" + }, + "scaleAndConcurrency": { + "alwaysReady": [ + { + "name": "http", + "instanceCount": 2 + } + ], + "instanceMemoryMB": 2048, + "maximumInstanceCount": 100, + "triggers": { + "http": { + "perInstanceConcurrency": 16 + } + } + } + }, + "siteConfig": { + "appSettings": [ + { + "name": "AzureWebJobsStorage", + "value": "DefaultEndpointsProtocol=https;AccountName=StorageAccountName;AccountKey=Sanitized;EndpointSuffix=core.windows.net" + }, + { + "name": "APPLICATIONINSIGHTS_CONNECTION_STRING", + "value": "InstrumentationKey=Sanitized;IngestionEndpoint=Sanitized;LiveEndpoint=Sanitized" + } + ] + } + } + }, + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": { + "name": "sitef6141", + "type": "Microsoft.Web/sites", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/sitef6141", + "location": "East US", + "properties": { + "availabilityState": "Normal", + "clientAffinityEnabled": false, + "clientCertEnabled": false, + "containerSize": 2048, + "dailyMemoryTimeQuota": 0, + "defaultHostName": "sitef6141.azurewebsites.net", + "enabled": true, + "enabledHostNames": [ + "sitef6141.azurewebsites.net", + "sitef6141.scm.azurewebsites.net" + ], + "functionAppConfig": { + "deployment": { + "storage": { + "type": "blobContainer", + "authentication": { + "type": "StorageAccountConnectionString", + "storageAccountConnectionStringName": "TheAppSettingName" + }, + "value": "https://storageAccountName.blob.core.windows.net/containername" + } + }, + "runtime": { + "name": "python", + "version": "3.11" + }, + "scaleAndConcurrency": { + "alwaysReady": [ + { + "name": "http", + "instanceCount": 2 + } + ], + "instanceMemoryMB": 2048, + "maximumInstanceCount": 100, + "triggers": { + "http": { + "perInstanceConcurrency": 16 + } + } + } + }, + "hostNameSslStates": [ + { + "name": "sitef6141.azurewebsites.net", + "hostType": "Standard", + "sslState": "Disabled" + }, + { + "name": "sitef6141.scm.azurewebsites.net", + "hostType": "Repository", + "sslState": "Disabled" + } + ], + "hostNames": [ + "sitef6141.azurewebsites.net" + ], + "httpsOnly": true, + "hyperV": false, + "isXenon": false, + "lastModifiedTimeUtc": "2024-01-09T00:24:54.8", + "outboundIpAddresses": "70.37.102.201,20.225.43.144", + "outboundVnetRouting": { + "allTraffic": false, + "applicationTraffic": false, + "backupRestoreTraffic": false, + "contentShareTraffic": false, + "imagePullTraffic": false + }, + "possibleOutboundIpAddresses": "70.37.102.201,20.225.43.144,20.225.184.122,20.225.184.188", + "publicNetworkAccess": "Enabled", + "redundancyMode": "None", + "repositorySiteName": "sitef6141", + "reserved": null, + "resourceConfig": { + "cpu": 1, + "memory": "2.0Gi" + }, + "resourceGroup": "testrg123", + "scmSiteAlsoStopped": false, + "serverFarmId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/serverfarms/DefaultAsp", + "siteConfig": { + "acrUseManagedIdentityCreds": false, + "alwaysOn": false, + "appCommandLine": "", + "autoHealEnabled": false, + "azureStorageAccounts": {}, + "detailedErrorLoggingEnabled": false, + "ftpsState": "AllAllowed", + "functionAppScaleLimit": 0, + "functionsRuntimeScaleMonitoringEnabled": false, + "http20Enabled": false, + "httpLoggingEnabled": false, + "ipSecurityRestrictions": [ + { + "name": "Allow all", + "description": "Allow all access", + "action": "Allow", + "ipAddress": "Any", + "priority": 2147483647 + } + ], + "keyVaultReferenceIdentity": "", + "linuxFxVersion": "", + "loadBalancing": "LeastRequests", + "logsDirectorySizeLimit": 35, + "managedPipelineMode": "Integrated", + "minTlsVersion": "1.2", + "minimumElasticInstanceCount": 0, + "netFrameworkVersion": "", + "nodeVersion": "", + "numberOfWorkers": 1, + "phpVersion": "", + "powerShellVersion": "", + "pythonVersion": "", + "remoteDebuggingEnabled": false, + "requestTracingEnabled": false, + "scmIpSecurityRestrictions": [ + { + "name": "Allow all", + "description": "Allow all access", + "action": "Allow", + "ipAddress": "Any", + "priority": 2147483647 + } + ], + "scmMinTlsVersion": "1.2", + "use32BitWorkerProcess": false, + "virtualApplications": [ + { + "physicalPath": "site\\wwwroot", + "preloadEnabled": false, + "virtualPath": "/" + } + ], + "vnetName": "", + "vnetPrivatePortsCount": 0, + "vnetRouteAllEnabled": false, + "webSocketsEnabled": false + }, + "state": "Running", + "storageAccountRequired": false, + "usageState": "Normal" + } + }, + "headers": {} + }, + "202": { + "body": { + "name": "sitef6141", + "type": "Microsoft.Web/sites", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/sitef6141", + "location": "East US", + "properties": { + "availabilityState": "Normal", + "clientAffinityEnabled": false, + "clientCertEnabled": false, + "containerSize": 2048, + "dailyMemoryTimeQuota": 0, + "defaultHostName": "sitef6141.azurewebsites.net", + "enabled": true, + "enabledHostNames": [ + "sitef6141.azurewebsites.net", + "sitef6141.scm.azurewebsites.net" + ], + "functionAppConfig": { + "deployment": { + "storage": { + "type": "blobContainer", + "authentication": { + "type": "StorageAccountConnectionString", + "storageAccountConnectionStringName": "TheAppSettingName" + }, + "value": "https://storageAccountName.blob.core.windows.net/containername" + } + }, + "runtime": { + "name": "python", + "version": "3.11" + }, + "scaleAndConcurrency": { + "alwaysReady": [ + { + "name": "http", + "instanceCount": 2 + } + ], + "instanceMemoryMB": 2048, + "maximumInstanceCount": 100, + "triggers": { + "http": { + "perInstanceConcurrency": 16 + } + } + } + }, + "hostNameSslStates": [ + { + "name": "sitef6141.azurewebsites.net", + "hostType": "Standard", + "sslState": "Disabled" + }, + { + "name": "sitef6141.scm.azurewebsites.net", + "hostType": "Repository", + "sslState": "Disabled" + } + ], + "hostNames": [ + "sitef6141.azurewebsites.net" + ], + "httpsOnly": true, + "hyperV": false, + "isXenon": false, + "lastModifiedTimeUtc": "2024-01-09T00:24:54.8", + "outboundIpAddresses": "70.37.102.201,20.225.43.144", + "outboundVnetRouting": { + "allTraffic": false, + "applicationTraffic": false, + "backupRestoreTraffic": false, + "contentShareTraffic": false, + "imagePullTraffic": false + }, + "possibleOutboundIpAddresses": "70.37.102.201,20.225.43.144,20.225.184.122,20.225.184.188", + "publicNetworkAccess": "Enabled", + "redundancyMode": "None", + "repositorySiteName": "sitef6141", + "reserved": null, + "resourceConfig": { + "cpu": 1, + "memory": "2.0Gi" + }, + "resourceGroup": "testrg123", + "scmSiteAlsoStopped": false, + "serverFarmId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/serverfarms/DefaultAsp", + "siteConfig": { + "acrUseManagedIdentityCreds": false, + "alwaysOn": false, + "appCommandLine": "", + "autoHealEnabled": false, + "azureStorageAccounts": {}, + "detailedErrorLoggingEnabled": false, + "ftpsState": "AllAllowed", + "functionAppScaleLimit": 0, + "functionsRuntimeScaleMonitoringEnabled": false, + "http20Enabled": false, + "httpLoggingEnabled": false, + "ipSecurityRestrictions": [ + { + "name": "Allow all", + "description": "Allow all access", + "action": "Allow", + "ipAddress": "Any", + "priority": 2147483647 + } + ], + "keyVaultReferenceIdentity": "", + "linuxFxVersion": "", + "loadBalancing": "LeastRequests", + "logsDirectorySizeLimit": 35, + "managedPipelineMode": "Integrated", + "minTlsVersion": "1.2", + "minimumElasticInstanceCount": 0, + "netFrameworkVersion": "", + "nodeVersion": "", + "numberOfWorkers": 1, + "phpVersion": "", + "powerShellVersion": "", + "pythonVersion": "", + "remoteDebuggingEnabled": false, + "requestTracingEnabled": false, + "scmIpSecurityRestrictions": [ + { + "name": "Allow all", + "description": "Allow all access", + "action": "Allow", + "ipAddress": "Any", + "priority": 2147483647 + } + ], + "scmMinTlsVersion": "1.2", + "use32BitWorkerProcess": false, + "virtualApplications": [ + { + "physicalPath": "site\\wwwroot", + "preloadEnabled": false, + "virtualPath": "/" + } + ], + "vnetName": "", + "vnetPrivatePortsCount": 0, + "vnetRouteAllEnabled": false, + "webSocketsEnabled": false + }, + "state": "Running", + "storageAccountRequired": false, + "usageState": "Normal" + } + }, + "headers": { + "azure-asyncoperation": "https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/providers/Microsoft.Web/sites/sitef6141/operationResults/62e4d893-d233-4005-988e-a428d9f77076?api-version=2025-03-01" + } + } + }, + "operationId": "WebApps_CreateOrUpdate", + "title": "Create or Update Flex Consumption function app with details" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/CreateOrUpdateSiteCertificate.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/CreateOrUpdateSiteCertificate.json new file mode 100644 index 000000000000..c825102bc52a --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/CreateOrUpdateSiteCertificate.json @@ -0,0 +1,62 @@ +{ + "parameters": { + "name": "testSiteName", + "api-version": "2025-03-01", + "certificateEnvelope": { + "location": "East US", + "properties": { + "hostNames": [ + "ServerCert" + ], + "password": "" + } + }, + "certificateName": "testc6282", + "resourceGroupName": "testrg123", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": { + "name": "testc6282", + "type": "Microsoft.Web/sites/certificates", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/testSiteName/certificates/testc6282", + "location": "East US", + "properties": { + "expirationDate": "2039-12-31T23:59:59+00:00", + "friendlyName": "", + "hostNames": [ + "ServerCert" + ], + "issueDate": "2015-11-12T23:40:25+00:00", + "issuer": "CACert", + "subjectName": "ServerCert", + "thumbprint": "FE703D7411A44163B6D32B3AD9B03E175886EBFE" + } + }, + "headers": {} + }, + "201": { + "body": { + "name": "testc6282", + "type": "Microsoft.Web/sites/certificates", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/testSiteName/certificates/testc6282", + "location": "East US", + "properties": { + "expirationDate": "2039-12-31T23:59:59+00:00", + "friendlyName": "", + "hostNames": [ + "ServerCert" + ], + "issueDate": "2015-11-12T23:40:25+00:00", + "issuer": "CACert", + "subjectName": "ServerCert", + "thumbprint": "FE703D7411A44163B6D32B3AD9B03E175886EBFE" + } + }, + "headers": {} + } + }, + "operationId": "SiteCertificates_CreateOrUpdate", + "title": "Create Or Update Certificate" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/CreateOrUpdateSiteCertificateSlot.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/CreateOrUpdateSiteCertificateSlot.json new file mode 100644 index 000000000000..f43445e0b01c --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/CreateOrUpdateSiteCertificateSlot.json @@ -0,0 +1,63 @@ +{ + "parameters": { + "name": "testSiteName", + "api-version": "2025-03-01", + "certificateEnvelope": { + "location": "East US", + "properties": { + "hostNames": [ + "ServerCert" + ], + "password": "" + } + }, + "certificateName": "testc6282", + "resourceGroupName": "testrg123", + "slot": "staging", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": { + "name": "testc6282", + "type": "Microsoft.Web/sites/certificates", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/testSiteName/slots/staging/certificates/testc6282", + "location": "East US", + "properties": { + "expirationDate": "2039-12-31T23:59:59+00:00", + "friendlyName": "", + "hostNames": [ + "ServerCert" + ], + "issueDate": "2015-11-12T23:40:25+00:00", + "issuer": "CACert", + "subjectName": "ServerCert", + "thumbprint": "FE703D7411A44163B6D32B3AD9B03E175886EBFE" + } + }, + "headers": {} + }, + "201": { + "body": { + "name": "testc6282", + "type": "Microsoft.Web/sites/certificates", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/testSiteName/slots/staging/certificates/testc6282", + "location": "East US", + "properties": { + "expirationDate": "2039-12-31T23:59:59+00:00", + "friendlyName": "", + "hostNames": [ + "ServerCert" + ], + "issueDate": "2015-11-12T23:40:25+00:00", + "issuer": "CACert", + "subjectName": "ServerCert", + "thumbprint": "FE703D7411A44163B6D32B3AD9B03E175886EBFE" + } + }, + "headers": {} + } + }, + "operationId": "SiteCertificates_CreateOrUpdateSlot", + "title": "Create Or Update Certificate for slot" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/CreateOrUpdateStaticSite.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/CreateOrUpdateStaticSite.json new file mode 100644 index 000000000000..8acfeaaa6c8e --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/CreateOrUpdateStaticSite.json @@ -0,0 +1,83 @@ +{ + "parameters": { + "name": "testStaticSite0", + "api-version": "2025-03-01", + "resourceGroupName": "rg", + "staticSiteEnvelope": { + "location": "West US 2", + "properties": { + "branch": "master", + "buildProperties": { + "apiLocation": "api", + "appArtifactLocation": "build", + "appLocation": "app" + }, + "repositoryToken": "repoToken123", + "repositoryUrl": "https://github.com/username/RepoName" + }, + "sku": { + "name": "Basic", + "tier": "Basic" + } + }, + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": { + "name": "testStaticSite0", + "type": "Microsoft.Web/staticSites", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/staticSites/testStaticSite0", + "location": "West US 2", + "properties": { + "allowConfigFileUpdates": true, + "branch": "demo", + "contentDistributionEndpoint": "", + "customDomains": [], + "defaultHostname": "happy-sea-15afae3e.azurestaticwebsites.net", + "keyVaultReferenceIdentity": "SystemAssigned", + "linkedBackends": [], + "privateEndpointConnections": [], + "repositoryUrl": "https://github.com/username/RepoName", + "stagingEnvironmentPolicy": "Enabled", + "userProvidedFunctionApps": null + }, + "sku": { + "name": "Basic", + "tier": "Basic" + } + }, + "headers": {} + }, + "202": { + "body": { + "name": "testStaticSite0", + "type": "Microsoft.Web/staticSites", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/staticSites/testStaticSite0", + "location": "West US 2", + "properties": { + "allowConfigFileUpdates": true, + "branch": "demo", + "contentDistributionEndpoint": "", + "customDomains": [], + "defaultHostname": "happy-sea-15afae3e.azurestaticwebsites.net", + "keyVaultReferenceIdentity": "SystemAssigned", + "linkedBackends": [], + "privateEndpointConnections": [], + "repositoryUrl": "https://github.com/username/RepoName", + "stagingEnvironmentPolicy": "Enabled", + "userProvidedFunctionApps": null + }, + "sku": { + "name": "Basic", + "tier": "Basic" + } + }, + "headers": { + "azure-asyncoperation": "https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/providers/Microsoft.Web/locations/westus2/operationResults/62e4d893-d233-4005-988e-a428d9f77076?api-version=2019-01-01" + } + } + }, + "operationId": "StaticSites_CreateOrUpdateStaticSite", + "title": "Create or update a static site" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/CreateOrUpdateStaticSiteAppSettings.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/CreateOrUpdateStaticSiteAppSettings.json new file mode 100644 index 000000000000..8880b6199e32 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/CreateOrUpdateStaticSiteAppSettings.json @@ -0,0 +1,28 @@ +{ + "parameters": { + "name": "testStaticSite0", + "api-version": "2025-03-01", + "appSettings": { + "properties": { + "setting1": "someval", + "setting2": "someval2" + } + }, + "resourceGroupName": "rg", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/staticSites/testStaticSite0/config/appSettings", + "properties": { + "setting1": "someval", + "setting2": "someval2" + } + }, + "headers": {} + } + }, + "operationId": "StaticSites_CreateOrUpdateStaticSiteAppSettings", + "title": "Creates or updates the app settings of a static site." +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/CreateOrUpdateStaticSiteBasicAuth.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/CreateOrUpdateStaticSiteBasicAuth.json new file mode 100644 index 000000000000..b3b878e67975 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/CreateOrUpdateStaticSiteBasicAuth.json @@ -0,0 +1,33 @@ +{ + "parameters": { + "name": "testStaticSite0", + "api-version": "2025-03-01", + "basicAuthEnvelope": { + "properties": { + "applicableEnvironmentsMode": "AllEnvironments", + "environments": null, + "password": "**********************", + "secretUrl": null + } + }, + "basicAuthName": "default", + "resourceGroupName": "rg", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/staticSites/testStaticSite0/basicAuth/default", + "properties": { + "applicableEnvironmentsMode": "AllEnvironments", + "environments": null, + "secretState": "Password", + "secretUrl": null + } + }, + "headers": {} + } + }, + "operationId": "StaticSites_CreateOrUpdateBasicAuth", + "title": "Creates or updates basic auth properties for a static site." +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/CreateOrUpdateStaticSiteBuildAppSettings.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/CreateOrUpdateStaticSiteBuildAppSettings.json new file mode 100644 index 000000000000..073f697562df --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/CreateOrUpdateStaticSiteBuildAppSettings.json @@ -0,0 +1,29 @@ +{ + "parameters": { + "name": "testStaticSite0", + "api-version": "2025-03-01", + "appSettings": { + "properties": { + "setting1": "someval", + "setting2": "someval2" + } + }, + "environmentName": "12", + "resourceGroupName": "rg", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/staticSites/testStaticSite0/builds/12/config/appSettings", + "properties": { + "setting1": "someval", + "setting2": "someval2" + } + }, + "headers": {} + } + }, + "operationId": "StaticSites_CreateOrUpdateStaticSiteBuildAppSettings", + "title": "Creates or updates the function app settings of a static site build." +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/CreateOrUpdateStaticSiteBuildDatabaseConnection.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/CreateOrUpdateStaticSiteBuildDatabaseConnection.json new file mode 100644 index 000000000000..a4d0b899b866 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/CreateOrUpdateStaticSiteBuildDatabaseConnection.json @@ -0,0 +1,35 @@ +{ + "parameters": { + "name": "testStaticSite0", + "api-version": "2025-03-01", + "databaseConnectionName": "default", + "databaseConnectionRequestEnvelope": { + "properties": { + "connectionIdentity": "SystemAssigned", + "connectionString": "AccountEndpoint=https://exampleDatabaseName.documents.azure.com:443/;Database=mydb;", + "region": "West US 2", + "resourceId": "/subscription/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/databaseRG/providers/Microsoft.DocumentDB/databaseAccounts/exampleDatabaseName" + } + }, + "environmentName": "default", + "resourceGroupName": "rg", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": { + "name": "default", + "type": "Microsoft.Web/staticSites/builds/databaseConnections", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/staticSites/testStaticSite0/builds/default/databaseConnections/default", + "properties": { + "connectionIdentity": "SystemAssigned", + "region": "West US 2", + "resourceId": "/subscription/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/databaseRG/providers/Microsoft.DocumentDB/databaseAccounts/exampleDatabaseName" + } + }, + "headers": {} + } + }, + "operationId": "StaticSites_CreateOrUpdateBuildDatabaseConnection", + "title": "Create or update a database connection for a static site build" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/CreateOrUpdateStaticSiteBuildFunctionAppSettings.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/CreateOrUpdateStaticSiteBuildFunctionAppSettings.json new file mode 100644 index 000000000000..ea12fc07d31e --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/CreateOrUpdateStaticSiteBuildFunctionAppSettings.json @@ -0,0 +1,29 @@ +{ + "parameters": { + "name": "testStaticSite0", + "api-version": "2025-03-01", + "appSettings": { + "properties": { + "setting1": "someval", + "setting2": "someval2" + } + }, + "environmentName": "12", + "resourceGroupName": "rg", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/staticSites/testStaticSite0/builds/12/config/appSettings", + "properties": { + "setting1": "someval", + "setting2": "someval2" + } + }, + "headers": {} + } + }, + "operationId": "StaticSites_CreateOrUpdateStaticSiteBuildFunctionAppSettings", + "title": "Creates or updates the function app settings of a static site build." +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/CreateOrUpdateStaticSiteCustomDomain.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/CreateOrUpdateStaticSiteCustomDomain.json new file mode 100644 index 000000000000..ffe119ddecb3 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/CreateOrUpdateStaticSiteCustomDomain.json @@ -0,0 +1,37 @@ +{ + "parameters": { + "name": "testStaticSite0", + "api-version": "2025-03-01", + "domainName": "custom.domain.net", + "resourceGroupName": "rg", + "staticSiteCustomDomainRequestPropertiesEnvelope": { + "properties": {} + }, + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/staticSitesBuilds/testStaticSite0/customDomains/custom.domain.net", + "properties": { + "createdOn": "2020-03-04T17:33:11.641Z", + "domainName": "custom.domain.net" + } + } + }, + "202": { + "body": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/staticSitesBuilds/testStaticSite0/customDomains/custom.domain.net", + "properties": { + "createdOn": "2020-03-04T17:33:11.641Z", + "domainName": "custom.domain.net" + } + }, + "headers": { + "azure-asyncoperation": "https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/providers/Microsoft.Web/locations/westus2/operationResults/62e4d893-d233-4005-988e-a428d9f77076?api-version=2019-01-01" + } + } + }, + "operationId": "StaticSites_CreateOrUpdateStaticSiteCustomDomain", + "title": "Create or update a custom domain for a static site" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/CreateOrUpdateStaticSiteDatabaseConnection.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/CreateOrUpdateStaticSiteDatabaseConnection.json new file mode 100644 index 000000000000..dd71cc1f8a54 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/CreateOrUpdateStaticSiteDatabaseConnection.json @@ -0,0 +1,34 @@ +{ + "parameters": { + "name": "testStaticSite0", + "api-version": "2025-03-01", + "databaseConnectionName": "default", + "databaseConnectionRequestEnvelope": { + "properties": { + "connectionIdentity": "SystemAssigned", + "connectionString": "AccountEndpoint=https://exampleDatabaseName.documents.azure.com:443/;Database=mydb;", + "region": "West US 2", + "resourceId": "/subscription/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/databaseRG/providers/Microsoft.DocumentDB/databaseAccounts/exampleDatabaseName" + } + }, + "resourceGroupName": "rg", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": { + "name": "default", + "type": "Microsoft.Web/staticSites/databaseConnections", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/staticSites/testStaticSite0/databaseConnections/default", + "properties": { + "connectionIdentity": "SystemAssigned", + "region": "West US 2", + "resourceId": "/subscription/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/databaseRG/providers/Microsoft.DocumentDB/databaseAccounts/exampleDatabaseName" + } + }, + "headers": {} + } + }, + "operationId": "StaticSites_CreateOrUpdateDatabaseConnection", + "title": "Create or update a database connection for a static site" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/CreateOrUpdateStaticSiteFunctionAppSettings.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/CreateOrUpdateStaticSiteFunctionAppSettings.json new file mode 100644 index 000000000000..549a47de8c4e --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/CreateOrUpdateStaticSiteFunctionAppSettings.json @@ -0,0 +1,28 @@ +{ + "parameters": { + "name": "testStaticSite0", + "api-version": "2025-03-01", + "appSettings": { + "properties": { + "setting1": "someval", + "setting2": "someval2" + } + }, + "resourceGroupName": "rg", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/staticSites/testStaticSite0/config/appSettings", + "properties": { + "setting1": "someval", + "setting2": "someval2" + } + }, + "headers": {} + } + }, + "operationId": "StaticSites_CreateOrUpdateStaticSiteFunctionAppSettings", + "title": "Creates or updates the function app settings of a static site." +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/CreateOrUpdateWebApp.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/CreateOrUpdateWebApp.json new file mode 100644 index 000000000000..760cefd947a2 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/CreateOrUpdateWebApp.json @@ -0,0 +1,262 @@ +{ + "parameters": { + "name": "sitef6141", + "api-version": "2025-03-01", + "resourceGroupName": "testrg123", + "siteEnvelope": { + "kind": "app", + "location": "East US", + "properties": { + "serverFarmId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/serverfarms/DefaultAsp" + } + }, + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": { + "name": "sitef6141", + "type": "Microsoft.Web/sites", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/sitef6141", + "kind": "app", + "location": "East US", + "properties": { + "availabilityState": "Normal", + "clientAffinityEnabled": true, + "clientAffinityProxyEnabled": true, + "clientCertEnabled": false, + "clientCertMode": "Required", + "containerSize": 0, + "customDomainVerificationId": "7F3BB652450EF7AD0B6AA33064586E4A9CE823A46DF0B2EC6443A68086E84153", + "dailyMemoryTimeQuota": 0, + "defaultHostName": "sitef6141.azurewebsites.net", + "enabled": true, + "enabledHostNames": [ + "sitef6141.azurewebsites.net", + "sitef6141.scm.azurewebsites.net" + ], + "hostNameSslStates": [ + { + "name": "sitef6141.azurewebsites.net", + "hostType": "Standard", + "sslState": "Disabled" + }, + { + "name": "sitef6141.scm.azurewebsites.net", + "hostType": "Repository", + "sslState": "Disabled" + } + ], + "hostNames": [ + "sitef6141.azurewebsites.net" + ], + "hostNamesDisabled": false, + "httpsOnly": false, + "hyperV": false, + "isXenon": false, + "keyVaultReferenceIdentity": "SystemAssigned", + "lastModifiedTimeUtc": "2020-03-04T17:33:11.641Z", + "outboundIpAddresses": "70.37.102.201,20.225.43.144", + "outboundVnetRouting": { + "allTraffic": false, + "applicationTraffic": false, + "backupRestoreTraffic": false, + "contentShareTraffic": false, + "imagePullTraffic": false + }, + "possibleOutboundIpAddresses": "70.37.102.201,20.225.43.144,20.225.184.122,20.225.184.188", + "redundancyMode": "None", + "repositorySiteName": "sitef6141", + "reserved": false, + "resourceConfig": { + "cpu": 1, + "memory": "2.0Gi" + }, + "resourceGroup": "testrg123", + "scmSiteAlsoStopped": false, + "serverFarmId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/serverfarms/DefaultAsp", + "siteConfig": { + "acrUseManagedIdentityCreds": false, + "alwaysOn": false, + "appCommandLine": "", + "autoHealEnabled": false, + "azureStorageAccounts": {}, + "defaultDocuments": [ + "Default.htm", + "Default.html", + "Default.asp", + "index.htm", + "index.html", + "iisstart.htm", + "default.aspx", + "index.php", + "hostingstart.html" + ], + "detailedErrorLoggingEnabled": false, + "ftpsState": "AllAllowed", + "functionAppScaleLimit": 0, + "functionsRuntimeScaleMonitoringEnabled": false, + "http20Enabled": false, + "httpLoggingEnabled": false, + "linuxFxVersion": "", + "loadBalancing": "LeastRequests", + "logsDirectorySizeLimit": 35, + "managedPipelineMode": "Integrated", + "minTlsVersion": "1.2", + "minimumElasticInstanceCount": 0, + "netFrameworkVersion": "v4.0", + "nodeVersion": "", + "numberOfWorkers": 1, + "phpVersion": "5.6", + "powerShellVersion": "", + "pythonVersion": "", + "remoteDebuggingEnabled": false, + "requestTracingEnabled": false, + "scmMinTlsVersion": "1.2", + "use32BitWorkerProcess": true, + "virtualApplications": [ + { + "physicalPath": "site\\wwwroot", + "preloadEnabled": false, + "virtualPath": "/" + } + ], + "vnetName": "", + "vnetPrivatePortsCount": 0, + "vnetRouteAllEnabled": false, + "webSocketsEnabled": false + }, + "state": "Running", + "storageAccountRequired": false, + "usageState": "Normal", + "workloadProfileName": "myd4wp" + } + }, + "headers": {} + }, + "202": { + "body": { + "name": "sitef6141", + "type": "Microsoft.Web/sites", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/sitef6141", + "kind": "app", + "location": "East US", + "properties": { + "availabilityState": "Normal", + "clientAffinityEnabled": true, + "clientCertEnabled": false, + "clientCertMode": "Required", + "containerSize": 0, + "customDomainVerificationId": "7F3BB652450EF7AD0B6AA33064586E4A9CE823A46DF0B2EC6443A68086E84153", + "dailyMemoryTimeQuota": 0, + "defaultHostName": "sitef6141.azurewebsites.net", + "enabled": true, + "enabledHostNames": [ + "sitef6141.azurewebsites.net", + "sitef6141.scm.azurewebsites.net" + ], + "hostNameSslStates": [ + { + "name": "sitef6141.azurewebsites.net", + "hostType": "Standard", + "sslState": "Disabled" + }, + { + "name": "sitef6141.scm.azurewebsites.net", + "hostType": "Repository", + "sslState": "Disabled" + } + ], + "hostNames": [ + "sitef6141.azurewebsites.net" + ], + "hostNamesDisabled": false, + "httpsOnly": false, + "hyperV": false, + "isXenon": false, + "keyVaultReferenceIdentity": "SystemAssigned", + "lastModifiedTimeUtc": "2020-03-04T17:33:11.641Z", + "outboundIpAddresses": "70.37.102.201,20.225.43.144", + "outboundVnetRouting": { + "allTraffic": false, + "applicationTraffic": false, + "backupRestoreTraffic": false, + "contentShareTraffic": false, + "imagePullTraffic": false + }, + "possibleOutboundIpAddresses": "70.37.102.201,20.225.43.144,20.225.184.122,20.225.184.188", + "redundancyMode": "None", + "repositorySiteName": "sitef6141", + "reserved": false, + "resourceConfig": { + "cpu": 1, + "memory": "2.0Gi" + }, + "resourceGroup": "testrg123", + "scmSiteAlsoStopped": false, + "serverFarmId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/serverfarms/DefaultAsp", + "siteConfig": { + "acrUseManagedIdentityCreds": false, + "alwaysOn": false, + "appCommandLine": "", + "autoHealEnabled": false, + "azureStorageAccounts": {}, + "defaultDocuments": [ + "Default.htm", + "Default.html", + "Default.asp", + "index.htm", + "index.html", + "iisstart.htm", + "default.aspx", + "index.php", + "hostingstart.html" + ], + "detailedErrorLoggingEnabled": false, + "ftpsState": "AllAllowed", + "functionAppScaleLimit": 0, + "functionsRuntimeScaleMonitoringEnabled": false, + "http20Enabled": false, + "httpLoggingEnabled": false, + "linuxFxVersion": "", + "loadBalancing": "LeastRequests", + "logsDirectorySizeLimit": 35, + "managedPipelineMode": "Integrated", + "minTlsVersion": "1.2", + "minimumElasticInstanceCount": 0, + "netFrameworkVersion": "v4.0", + "nodeVersion": "", + "numberOfWorkers": 1, + "phpVersion": "5.6", + "powerShellVersion": "", + "pythonVersion": "", + "remoteDebuggingEnabled": false, + "requestTracingEnabled": false, + "scmMinTlsVersion": "1.2", + "use32BitWorkerProcess": true, + "virtualApplications": [ + { + "physicalPath": "site\\wwwroot", + "preloadEnabled": false, + "virtualPath": "/" + } + ], + "vnetName": "", + "vnetPrivatePortsCount": 0, + "vnetRouteAllEnabled": false, + "webSocketsEnabled": false + }, + "state": "Running", + "storageAccountRequired": false, + "usageState": "Normal", + "workloadProfileName": "myd4wp" + } + }, + "headers": { + "azure-asyncoperation": "https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/providers/Microsoft.Web/sites/sitef6141/operationResults/62e4d893-d233-4005-988e-a428d9f77076?api-version=2025-03-01" + } + } + }, + "operationId": "WebApps_CreateOrUpdate", + "title": "Create or Update web app" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/CreateOrUpdateWebAppSlot.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/CreateOrUpdateWebAppSlot.json new file mode 100644 index 000000000000..bda1c3f4fde9 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/CreateOrUpdateWebAppSlot.json @@ -0,0 +1,253 @@ +{ + "parameters": { + "name": "sitef6141", + "api-version": "2025-03-01", + "resourceGroupName": "testrg123", + "siteEnvelope": { + "kind": "app", + "location": "East US", + "properties": { + "serverFarmId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/serverfarms/DefaultAsp" + } + }, + "slot": "staging", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": { + "name": "sitef6141/staging", + "type": "Microsoft.Web/sites/slots", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/sitef6141/slots/staging", + "kind": "app", + "location": "East US", + "properties": { + "availabilityState": "Normal", + "clientAffinityEnabled": true, + "clientCertEnabled": false, + "clientCertMode": "Required", + "containerSize": 0, + "customDomainVerificationId": "7F3BB652450EF7AD0B6AA33064586E4A9CE823A46DF0B2EC6443A68086E84153", + "dailyMemoryTimeQuota": 0, + "defaultHostName": "sitef6141.azurewebsites.net", + "enabled": true, + "enabledHostNames": [ + "sitef6141-staging.azurewebsites.net", + "sitef6141-staging.scm.azurewebsites.net" + ], + "hostNameSslStates": [ + { + "name": "sitef6141-staging.azurewebsites.net", + "hostType": "Standard", + "sslState": "Disabled" + }, + { + "name": "sitef6141-staging.scm.azurewebsites.net", + "hostType": "Repository", + "sslState": "Disabled" + } + ], + "hostNames": [ + "sitef6141-staging.azurewebsites.net" + ], + "hostNamesDisabled": false, + "httpsOnly": false, + "hyperV": false, + "isXenon": false, + "keyVaultReferenceIdentity": "SystemAssigned", + "lastModifiedTimeUtc": "2020-03-04T17:33:11.641Z", + "outboundIpAddresses": "70.37.102.201,20.225.43.144", + "outboundVnetRouting": { + "allTraffic": false, + "applicationTraffic": false, + "backupRestoreTraffic": false, + "contentShareTraffic": false, + "imagePullTraffic": false + }, + "possibleOutboundIpAddresses": "70.37.102.201,20.225.43.144,20.225.184.122,20.225.184.188", + "redundancyMode": "None", + "repositorySiteName": "sitef6141", + "reserved": false, + "resourceGroup": "testrg123", + "scmSiteAlsoStopped": false, + "serverFarmId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/serverfarms/DefaultAsp", + "siteConfig": { + "acrUseManagedIdentityCreds": false, + "alwaysOn": false, + "appCommandLine": "", + "autoHealEnabled": false, + "azureStorageAccounts": {}, + "defaultDocuments": [ + "Default.htm", + "Default.html", + "Default.asp", + "index.htm", + "index.html", + "iisstart.htm", + "default.aspx", + "index.php", + "hostingstart.html" + ], + "detailedErrorLoggingEnabled": false, + "ftpsState": "AllAllowed", + "functionAppScaleLimit": 0, + "functionsRuntimeScaleMonitoringEnabled": false, + "http20Enabled": false, + "httpLoggingEnabled": false, + "linuxFxVersion": "", + "loadBalancing": "LeastRequests", + "logsDirectorySizeLimit": 35, + "managedPipelineMode": "Integrated", + "minTlsVersion": "1.2", + "minimumElasticInstanceCount": 0, + "netFrameworkVersion": "v4.0", + "nodeVersion": "", + "numberOfWorkers": 1, + "phpVersion": "5.6", + "powerShellVersion": "", + "pythonVersion": "", + "remoteDebuggingEnabled": false, + "requestTracingEnabled": false, + "scmMinTlsVersion": "1.2", + "use32BitWorkerProcess": true, + "virtualApplications": [ + { + "physicalPath": "site\\wwwroot", + "preloadEnabled": false, + "virtualPath": "/" + } + ], + "vnetName": "", + "vnetPrivatePortsCount": 0, + "vnetRouteAllEnabled": false, + "webSocketsEnabled": false + }, + "state": "Running", + "storageAccountRequired": false, + "usageState": "Normal" + } + }, + "headers": {} + }, + "202": { + "body": { + "name": "sitef6141/staging", + "type": "Microsoft.Web/sites/slots", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/sitef6141/slots/staging", + "kind": "app", + "location": "East US", + "properties": { + "availabilityState": "Normal", + "clientAffinityEnabled": true, + "clientAffinityProxyEnabled": true, + "clientCertEnabled": false, + "clientCertMode": "Required", + "containerSize": 0, + "customDomainVerificationId": "7F3BB652450EF7AD0B6AA33064586E4A9CE823A46DF0B2EC6443A68086E84153", + "dailyMemoryTimeQuota": 0, + "defaultHostName": "sitef6141-staging.azurewebsites.net", + "enabled": true, + "enabledHostNames": [ + "sitef6141-staging.azurewebsites.net", + "sitef6141-staging.scm.azurewebsites.net" + ], + "hostNameSslStates": [ + { + "name": "sitef6141-staging.azurewebsites.net", + "hostType": "Standard", + "sslState": "Disabled" + }, + { + "name": "sitef6141-staging.scm.azurewebsites.net", + "hostType": "Repository", + "sslState": "Disabled" + } + ], + "hostNames": [ + "sitef6141-staging.azurewebsites.net" + ], + "hostNamesDisabled": false, + "httpsOnly": false, + "hyperV": false, + "isXenon": false, + "keyVaultReferenceIdentity": "SystemAssigned", + "lastModifiedTimeUtc": "2020-03-04T17:33:11.641Z", + "outboundIpAddresses": "70.37.102.201,20.225.43.144", + "outboundVnetRouting": { + "allTraffic": false, + "applicationTraffic": false, + "backupRestoreTraffic": false, + "contentShareTraffic": false, + "imagePullTraffic": false + }, + "possibleOutboundIpAddresses": "70.37.102.201,20.225.43.144,20.225.184.122,20.225.184.188", + "redundancyMode": "None", + "repositorySiteName": "sitef6141", + "reserved": false, + "resourceGroup": "testrg123", + "scmSiteAlsoStopped": false, + "serverFarmId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/serverfarms/DefaultAsp", + "siteConfig": { + "acrUseManagedIdentityCreds": false, + "alwaysOn": false, + "appCommandLine": "", + "autoHealEnabled": false, + "azureStorageAccounts": {}, + "defaultDocuments": [ + "Default.htm", + "Default.html", + "Default.asp", + "index.htm", + "index.html", + "iisstart.htm", + "default.aspx", + "index.php", + "hostingstart.html" + ], + "detailedErrorLoggingEnabled": false, + "ftpsState": "AllAllowed", + "functionAppScaleLimit": 0, + "functionsRuntimeScaleMonitoringEnabled": false, + "http20Enabled": false, + "httpLoggingEnabled": false, + "linuxFxVersion": "", + "loadBalancing": "LeastRequests", + "logsDirectorySizeLimit": 35, + "managedPipelineMode": "Integrated", + "minTlsVersion": "1.2", + "minimumElasticInstanceCount": 0, + "netFrameworkVersion": "v4.0", + "nodeVersion": "", + "numberOfWorkers": 1, + "phpVersion": "5.6", + "powerShellVersion": "", + "pythonVersion": "", + "remoteDebuggingEnabled": false, + "requestTracingEnabled": false, + "scmMinTlsVersion": "1.2", + "use32BitWorkerProcess": true, + "virtualApplications": [ + { + "physicalPath": "site\\wwwroot", + "preloadEnabled": false, + "virtualPath": "/" + } + ], + "vnetName": "", + "vnetPrivatePortsCount": 0, + "vnetRouteAllEnabled": false, + "webSocketsEnabled": false + }, + "state": "Running", + "storageAccountRequired": false, + "usageState": "Normal" + } + }, + "headers": { + "azure-asyncoperation": "https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/providers/Microsoft.Web/sites/sitef6141/operationResults/62e4d893-d233-4005-988e-a428d9f77076?api-version=2025-03-01" + } + } + }, + "operationId": "WebApps_CreateOrUpdateSlot", + "title": "Create or Update Web App Slot" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/CreateUserRolesInvitationLink.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/CreateUserRolesInvitationLink.json new file mode 100644 index 000000000000..8a684564ae49 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/CreateUserRolesInvitationLink.json @@ -0,0 +1,30 @@ +{ + "parameters": { + "name": "testStaticSite0", + "api-version": "2025-03-01", + "resourceGroupName": "rg", + "staticSiteUserRolesInvitationEnvelope": { + "properties": { + "domain": "happy-sea-15afae3e.azurestaticwebsites.net", + "numHoursToExpiration": 1, + "provider": "aad", + "roles": "admin,contributor", + "userDetails": "username" + } + }, + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": { + "properties": { + "expiresOn": "2020-02-28T16:53:56.211Z", + "invitationUrl": "https://happy-sea-15afae3e.azurestaticwebsites.net?invite=asdf" + } + }, + "headers": {} + } + }, + "operationId": "StaticSites_CreateUserRolesInvitationLink", + "title": "Create an invitation link for a user for a static site" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/DeleteAppServicePlan.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/DeleteAppServicePlan.json new file mode 100644 index 000000000000..11866183298f --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/DeleteAppServicePlan.json @@ -0,0 +1,14 @@ +{ + "parameters": { + "name": "testsf6141", + "api-version": "2025-03-01", + "resourceGroupName": "testrg123", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": {}, + "204": {} + }, + "operationId": "AppServicePlans_Delete", + "title": "Delete App Service plan" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/DeleteAseCustomDnsSuffixConfiguration.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/DeleteAseCustomDnsSuffixConfiguration.json new file mode 100644 index 000000000000..76e18ed4cf46 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/DeleteAseCustomDnsSuffixConfiguration.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "name": "test-ase", + "api-version": "2025-03-01", + "resourceGroupName": "test-rg", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": {}, + "headers": {} + }, + "204": { + "body": {}, + "headers": {} + } + }, + "operationId": "AppServiceEnvironments_DeleteAseCustomDnsSuffixConfiguration", + "title": "Delete ASE custom DNS suffix configuration" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/DeleteCertificate.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/DeleteCertificate.json new file mode 100644 index 000000000000..87c4269b34bf --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/DeleteCertificate.json @@ -0,0 +1,14 @@ +{ + "parameters": { + "name": "testc6282", + "api-version": "2025-03-01", + "resourceGroupName": "testrg123", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": {}, + "204": {} + }, + "operationId": "Certificates_Delete", + "title": "Delete Certificate" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/DeleteDeployWorkflowArtifacts.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/DeleteDeployWorkflowArtifacts.json new file mode 100644 index 000000000000..c0d2faf6fae5 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/DeleteDeployWorkflowArtifacts.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "name": "testsite2", + "api-version": "2025-03-01", + "resourceGroupName": "testrg123", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "workflowArtifacts": { + "filesToDelete": [ + "test/workflow.json", + "test/" + ] + } + }, + "responses": { + "200": {} + }, + "operationId": "WebApps_DeployWorkflowArtifacts", + "title": "Delete workflow artifacts" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/DeleteSiteCertificate.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/DeleteSiteCertificate.json new file mode 100644 index 000000000000..2b2d9f4fb9a4 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/DeleteSiteCertificate.json @@ -0,0 +1,15 @@ +{ + "parameters": { + "name": "testSiteName", + "api-version": "2025-03-01", + "certificateName": "testc6282", + "resourceGroupName": "testrg123", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": {}, + "204": {} + }, + "operationId": "SiteCertificates_Delete", + "title": "Delete Certificate" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/DeleteSiteCertificateSlot.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/DeleteSiteCertificateSlot.json new file mode 100644 index 000000000000..8c41761792a0 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/DeleteSiteCertificateSlot.json @@ -0,0 +1,16 @@ +{ + "parameters": { + "name": "testSiteName", + "api-version": "2025-03-01", + "certificateName": "testc6282", + "resourceGroupName": "testrg123", + "slot": "staging", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": {}, + "204": {} + }, + "operationId": "SiteCertificates_DeleteSlot", + "title": "Delete Certificate for slot" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/DeleteSitePrivateEndpointConnection.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/DeleteSitePrivateEndpointConnection.json new file mode 100644 index 000000000000..a0c67b232b71 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/DeleteSitePrivateEndpointConnection.json @@ -0,0 +1,25 @@ +{ + "parameters": { + "name": "testSite", + "api-version": "2025-03-01", + "privateEndpointConnectionName": "connection", + "resourceGroupName": "rg", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": {} + }, + "202": { + "body": {}, + "headers": { + "azure-asyncoperation": "https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/providers/Microsoft.Web/locations/westus2/operationResults/62e4d893-d233-4005-988e-a428d9f77076?api-version=2019-01-01" + } + }, + "204": { + "body": {} + } + }, + "operationId": "WebApps_DeletePrivateEndpointConnection", + "title": "Delete a private endpoint connection for a site." +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/DeleteSitePrivateEndpointConnectionSlot.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/DeleteSitePrivateEndpointConnectionSlot.json new file mode 100644 index 000000000000..1ea850105774 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/DeleteSitePrivateEndpointConnectionSlot.json @@ -0,0 +1,26 @@ +{ + "parameters": { + "name": "testSite", + "api-version": "2025-03-01", + "privateEndpointConnectionName": "connection", + "resourceGroupName": "rg", + "slot": "stage", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": {} + }, + "202": { + "body": {}, + "headers": { + "azure-asyncoperation": "https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/providers/Microsoft.Web/locations/westus2/operationResults/62e4d893-d233-4005-988e-a428d9f77076?api-version=2019-01-01" + } + }, + "204": { + "body": {} + } + }, + "operationId": "WebApps_DeletePrivateEndpointConnectionSlot", + "title": "Delete a private endpoint connection for a site." +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/DeleteSitePrivateEndpointConnection_StaticSites.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/DeleteSitePrivateEndpointConnection_StaticSites.json new file mode 100644 index 000000000000..a7e06cb4b68d --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/DeleteSitePrivateEndpointConnection_StaticSites.json @@ -0,0 +1,25 @@ +{ + "parameters": { + "name": "testSite", + "api-version": "2025-03-01", + "privateEndpointConnectionName": "connection", + "resourceGroupName": "rg", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": {} + }, + "202": { + "body": {}, + "headers": { + "azure-asyncoperation": "https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/providers/Microsoft.Web/locations/westus2/operationResults/62e4d893-d233-4005-988e-a428d9f77076?api-version=2019-01-01" + } + }, + "204": { + "body": {} + } + }, + "operationId": "StaticSites_DeletePrivateEndpointConnection", + "title": "Delete a private endpoint connection for a site." +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/DeleteStaticSite.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/DeleteStaticSite.json new file mode 100644 index 000000000000..476c31ff890d --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/DeleteStaticSite.json @@ -0,0 +1,18 @@ +{ + "parameters": { + "name": "testStaticSite0", + "api-version": "2025-03-01", + "resourceGroupName": "rg", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "azure-asyncoperation": "https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/providers/Microsoft.Web/locations/westus2/operationResults/62e4d893-d233-4005-988e-a428d9f77076?api-version=2019-01-01" + } + } + }, + "operationId": "StaticSites_DeleteStaticSite", + "title": "Delete a static site" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/DeleteStaticSiteBuild.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/DeleteStaticSiteBuild.json new file mode 100644 index 000000000000..ac5f26549648 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/DeleteStaticSiteBuild.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "name": "testStaticSite0", + "api-version": "2025-03-01", + "environmentName": "12", + "resourceGroupName": "rg", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "azure-asyncoperation": "https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/providers/Microsoft.Web/locations/westus2/operationResults/62e4d893-d233-4005-988e-a428d9f77076?api-version=2019-01-01" + } + }, + "204": {} + }, + "operationId": "StaticSites_DeleteStaticSiteBuild", + "title": "Delete a static site build" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/DeleteStaticSiteBuildDatabaseConnection.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/DeleteStaticSiteBuildDatabaseConnection.json new file mode 100644 index 000000000000..2bf865daa43c --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/DeleteStaticSiteBuildDatabaseConnection.json @@ -0,0 +1,16 @@ +{ + "parameters": { + "name": "testStaticSite0", + "api-version": "2025-03-01", + "databaseConnectionName": "default", + "environmentName": "default", + "resourceGroupName": "rg", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": {}, + "204": {} + }, + "operationId": "StaticSites_DeleteBuildDatabaseConnection", + "title": "Delete a database connection from a static site build." +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/DeleteStaticSiteCustomDomain.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/DeleteStaticSiteCustomDomain.json new file mode 100644 index 000000000000..8931cc56736d --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/DeleteStaticSiteCustomDomain.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "name": "testStaticSite0", + "api-version": "2025-03-01", + "domainName": "custom.domain.net", + "resourceGroupName": "rg", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "azure-asyncoperation": "https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/providers/Microsoft.Web/locations/westus2/operationResults/62e4d893-d233-4005-988e-a428d9f77076?api-version=2019-01-01" + } + } + }, + "operationId": "StaticSites_DeleteStaticSiteCustomDomain", + "title": "Delete a custom domain for a static site" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/DeleteStaticSiteDatabaseConnection.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/DeleteStaticSiteDatabaseConnection.json new file mode 100644 index 000000000000..c16516169ddb --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/DeleteStaticSiteDatabaseConnection.json @@ -0,0 +1,15 @@ +{ + "parameters": { + "name": "testStaticSite0", + "api-version": "2025-03-01", + "databaseConnectionName": "default", + "resourceGroupName": "rg", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": {}, + "204": {} + }, + "operationId": "StaticSites_DeleteDatabaseConnection", + "title": "Delete a database connection from a static site." +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/DeleteStaticSiteUser.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/DeleteStaticSiteUser.json new file mode 100644 index 000000000000..a5f23dd2f3b6 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/DeleteStaticSiteUser.json @@ -0,0 +1,15 @@ +{ + "parameters": { + "name": "testStaticSite0", + "api-version": "2025-03-01", + "authprovider": "aad", + "resourceGroupName": "rg", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "userid": "1234" + }, + "responses": { + "200": {} + }, + "operationId": "StaticSites_DeleteStaticSiteUser", + "title": "Delete a user for a static site" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/DeleteWebApp.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/DeleteWebApp.json new file mode 100644 index 000000000000..85503098f2e8 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/DeleteWebApp.json @@ -0,0 +1,15 @@ +{ + "parameters": { + "name": "sitef6141", + "api-version": "2025-03-01", + "resourceGroupName": "testrg123", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": {}, + "204": {}, + "404": {} + }, + "operationId": "WebApps_Delete", + "title": "Delete Web app" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/DeleteWebAppBackup.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/DeleteWebAppBackup.json new file mode 100644 index 000000000000..83d23f4a865a --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/DeleteWebAppBackup.json @@ -0,0 +1,15 @@ +{ + "parameters": { + "name": "sitef6141", + "api-version": "2025-03-01", + "backupId": "12345", + "resourceGroupName": "testrg123", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": {}, + "404": {} + }, + "operationId": "WebApps_DeleteBackup", + "title": "Delete web app backup" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/DeleteWebAppSlot.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/DeleteWebAppSlot.json new file mode 100644 index 000000000000..b9441612a79e --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/DeleteWebAppSlot.json @@ -0,0 +1,16 @@ +{ + "parameters": { + "name": "sitef6141", + "api-version": "2025-03-01", + "resourceGroupName": "testrg123", + "slot": "staging", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": {}, + "204": {}, + "404": {} + }, + "operationId": "WebApps_DeleteSlot", + "title": "Delete Web App Slot" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/DetachStaticSite.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/DetachStaticSite.json new file mode 100644 index 000000000000..2a4d856b326d --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/DetachStaticSite.json @@ -0,0 +1,18 @@ +{ + "parameters": { + "name": "testStaticSite0", + "api-version": "2025-03-01", + "resourceGroupName": "rg", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "azure-asyncoperation": "https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/providers/Microsoft.Web/locations/westus2/operationResults/62e4d893-d233-4005-988e-a428d9f77076?api-version=2019-01-01" + } + } + }, + "operationId": "StaticSites_DetachStaticSite", + "title": "Detach a static site" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/DetachUserProvidedFunctionAppFromStaticSite.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/DetachUserProvidedFunctionAppFromStaticSite.json new file mode 100644 index 000000000000..2f139d9282d1 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/DetachUserProvidedFunctionAppFromStaticSite.json @@ -0,0 +1,15 @@ +{ + "parameters": { + "name": "testStaticSite0", + "api-version": "2025-03-01", + "functionAppName": "testFunctionApp", + "resourceGroupName": "rg", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": {}, + "204": {} + }, + "operationId": "StaticSites_DetachUserProvidedFunctionAppFromStaticSite", + "title": "Detach the user provided function app from the static site." +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/DetachUserProvidedFunctionAppFromStaticSiteBuild.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/DetachUserProvidedFunctionAppFromStaticSiteBuild.json new file mode 100644 index 000000000000..a6267bf6c031 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/DetachUserProvidedFunctionAppFromStaticSiteBuild.json @@ -0,0 +1,16 @@ +{ + "parameters": { + "name": "testStaticSite0", + "api-version": "2025-03-01", + "environmentName": "12", + "functionAppName": "testFunctionApp", + "resourceGroupName": "rg", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": {}, + "204": {} + }, + "operationId": "StaticSites_DetachUserProvidedFunctionAppFromStaticSiteBuild", + "title": "Detach the user provided function app from the static site build." +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/Diagnostics_ExecuteSiteAnalysis.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/Diagnostics_ExecuteSiteAnalysis.json new file mode 100644 index 000000000000..0c0a3b489087 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/Diagnostics_ExecuteSiteAnalysis.json @@ -0,0 +1,128 @@ +{ + "parameters": { + "analysisName": "apprestartanalyses", + "api-version": "2025-03-01", + "diagnosticCategory": "availability", + "resourceGroupName": "Sample-WestUSResourceGroup", + "siteName": "SampleApp", + "slot": "Production", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": { + "name": "apprestartanalysis", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/Sample-WestUSResourceGroup/providers/Microsoft.Web/sites/SampleApp/diagnostics/availability/analyses/apprestartanalyses", + "properties": { + "abnormalTimePeriods": [ + { + "endTime": "2017-11-06T22:50:00Z", + "events": [ + { + "type": "ServiceIncident", + "endTime": "2017-11-06T22:21:48Z", + "message": "Your application process was restarted as application environment variables changed. This can most likely occur due to update in app settings or swap operation. This event occurred multiple times during the day.", + "metaData": [ + [ + { + "name": "feature", + "value": "auditlogs" + }, + { + "name": "displayedName", + "value": "Check Audit Logs" + } + ] + ], + "priority": 0, + "solutions": [], + "source": null, + "startTime": "2017-11-06T22:21:50Z" + } + ], + "solutions": [], + "startTime": "2017-11-05T22:50:00Z" + } + ], + "endTime": "2017-11-06T22:50:00Z", + "nonCorrelatedDetectors": [], + "payload": [ + { + "data": [], + "detectorMetaData": null, + "metrics": [ + { + "name": "All Application Stop Events", + "endTime": "2017-11-06T22:50:00Z", + "startTime": "2017-11-05T22:50:00Z", + "timeGrain": "00:05:00", + "unit": null, + "values": [ + { + "roleInstance": "RD00155D3C15BE", + "timestamp": "2017-11-06T00:00:00Z", + "total": 2 + }, + { + "isAggregated": true, + "timestamp": "2017-11-06T00:00:00Z", + "total": 2 + }, + { + "roleInstance": "RD00155D3C15C1", + "timestamp": "2017-11-06T00:10:00Z", + "total": 2 + }, + { + "roleInstance": "RD00155D3BE0FB", + "timestamp": "2017-11-06T00:10:00Z", + "total": 2 + }, + { + "isAggregated": true, + "timestamp": "2017-11-06T00:10:00Z", + "total": 4 + } + ] + }, + { + "name": "User Events", + "endTime": "2017-11-06T22:50:00Z", + "startTime": "2017-11-05T22:50:00Z", + "timeGrain": "00:05:00", + "unit": "", + "values": [ + { + "isAggregated": true, + "timestamp": "2017-11-06T22:20:00Z", + "total": 3 + }, + { + "roleInstance": "RD00155D3C09FC", + "timestamp": "2017-11-06T22:20:00Z", + "total": 1 + }, + { + "roleInstance": "RD00155D3C2ADC", + "timestamp": "2017-11-06T22:20:00Z", + "total": 1 + }, + { + "roleInstance": "RD00155D3C214E", + "timestamp": "2017-11-06T22:20:00Z", + "total": 1 + } + ] + } + ], + "source": "workerprocessrecycle" + } + ], + "startTime": "2017-11-05T22:50:00Z" + } + } + } + }, + "operationId": "Diagnostics_ExecuteSiteAnalysis", + "title": "Execute site analysis" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/Diagnostics_ExecuteSiteAnalysisSlot.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/Diagnostics_ExecuteSiteAnalysisSlot.json new file mode 100644 index 000000000000..9bae41a22ad7 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/Diagnostics_ExecuteSiteAnalysisSlot.json @@ -0,0 +1,128 @@ +{ + "parameters": { + "analysisName": "apprestartanalyses", + "api-version": "2025-03-01", + "diagnosticCategory": "availability", + "resourceGroupName": "Sample-WestUSResourceGroup", + "siteName": "SampleApp", + "slot": "staging", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": { + "name": "apprestartanalysis", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/Sample-WestUSResourceGroup/providers/Microsoft.Web/sites/SampleApp/slots/staging/diagnostics/availability/analyses/apprestartanalyses", + "properties": { + "abnormalTimePeriods": [ + { + "endTime": "2017-11-06T22:50:00Z", + "events": [ + { + "type": "ServiceIncident", + "endTime": "2017-11-06T22:21:48Z", + "message": "Your application process was restarted as application environment variables changed. This can most likely occur due to update in app settings or swap operation. This event occurred multiple times during the day.", + "metaData": [ + [ + { + "name": "feature", + "value": "auditlogs" + }, + { + "name": "displayedName", + "value": "Check Audit Logs" + } + ] + ], + "priority": 0, + "solutions": [], + "source": null, + "startTime": "2017-11-06T22:21:50Z" + } + ], + "solutions": [], + "startTime": "2017-11-05T22:50:00Z" + } + ], + "endTime": "2017-11-06T22:50:00Z", + "nonCorrelatedDetectors": [], + "payload": [ + { + "data": [], + "detectorMetaData": null, + "metrics": [ + { + "name": "All Application Stop Events", + "endTime": "2017-11-06T22:50:00Z", + "startTime": "2017-11-05T22:50:00Z", + "timeGrain": "00:05:00", + "unit": null, + "values": [ + { + "roleInstance": "RD00155D3C15BE", + "timestamp": "2017-11-06T00:00:00Z", + "total": 2 + }, + { + "isAggregated": true, + "timestamp": "2017-11-06T00:00:00Z", + "total": 2 + }, + { + "roleInstance": "RD00155D3C15C1", + "timestamp": "2017-11-06T00:10:00Z", + "total": 2 + }, + { + "roleInstance": "RD00155D3BE0FB", + "timestamp": "2017-11-06T00:10:00Z", + "total": 2 + }, + { + "isAggregated": true, + "timestamp": "2017-11-06T00:10:00Z", + "total": 4 + } + ] + }, + { + "name": "User Events", + "endTime": "2017-11-06T22:50:00Z", + "startTime": "2017-11-05T22:50:00Z", + "timeGrain": "00:05:00", + "unit": "", + "values": [ + { + "isAggregated": true, + "timestamp": "2017-11-06T22:20:00Z", + "total": 3 + }, + { + "roleInstance": "RD00155D3C09FC", + "timestamp": "2017-11-06T22:20:00Z", + "total": 1 + }, + { + "roleInstance": "RD00155D3C2ADC", + "timestamp": "2017-11-06T22:20:00Z", + "total": 1 + }, + { + "roleInstance": "RD00155D3C214E", + "timestamp": "2017-11-06T22:20:00Z", + "total": 1 + } + ] + } + ], + "source": "workerprocessrecycle" + } + ], + "startTime": "2017-11-05T22:50:00Z" + } + } + } + }, + "operationId": "Diagnostics_ExecuteSiteAnalysis", + "title": "Execute site slot analysis" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/Diagnostics_ExecuteSiteAnalysisSlot_Slot.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/Diagnostics_ExecuteSiteAnalysisSlot_Slot.json new file mode 100644 index 000000000000..b9547c3dbead --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/Diagnostics_ExecuteSiteAnalysisSlot_Slot.json @@ -0,0 +1,128 @@ +{ + "parameters": { + "analysisName": "apprestartanalyses", + "api-version": "2025-03-01", + "diagnosticCategory": "availability", + "resourceGroupName": "Sample-WestUSResourceGroup", + "siteName": "SampleApp", + "slot": "staging", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": { + "name": "apprestartanalysis", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/Sample-WestUSResourceGroup/providers/Microsoft.Web/sites/SampleApp/slots/staging/diagnostics/availability/analyses/apprestartanalyses", + "properties": { + "abnormalTimePeriods": [ + { + "endTime": "2017-11-06T22:50:00Z", + "events": [ + { + "type": "ServiceIncident", + "endTime": "2017-11-06T22:21:48Z", + "message": "Your application process was restarted as application environment variables changed. This can most likely occur due to update in app settings or swap operation. This event occurred multiple times during the day.", + "metaData": [ + [ + { + "name": "feature", + "value": "auditlogs" + }, + { + "name": "displayedName", + "value": "Check Audit Logs" + } + ] + ], + "priority": 0, + "solutions": [], + "source": null, + "startTime": "2017-11-06T22:21:50Z" + } + ], + "solutions": [], + "startTime": "2017-11-05T22:50:00Z" + } + ], + "endTime": "2017-11-06T22:50:00Z", + "nonCorrelatedDetectors": [], + "payload": [ + { + "data": [], + "detectorMetaData": null, + "metrics": [ + { + "name": "All Application Stop Events", + "endTime": "2017-11-06T22:50:00Z", + "startTime": "2017-11-05T22:50:00Z", + "timeGrain": "00:05:00", + "unit": null, + "values": [ + { + "roleInstance": "RD00155D3C15BE", + "timestamp": "2017-11-06T00:00:00Z", + "total": 2 + }, + { + "isAggregated": true, + "timestamp": "2017-11-06T00:00:00Z", + "total": 2 + }, + { + "roleInstance": "RD00155D3C15C1", + "timestamp": "2017-11-06T00:10:00Z", + "total": 2 + }, + { + "roleInstance": "RD00155D3BE0FB", + "timestamp": "2017-11-06T00:10:00Z", + "total": 2 + }, + { + "isAggregated": true, + "timestamp": "2017-11-06T00:10:00Z", + "total": 4 + } + ] + }, + { + "name": "User Events", + "endTime": "2017-11-06T22:50:00Z", + "startTime": "2017-11-05T22:50:00Z", + "timeGrain": "00:05:00", + "unit": "", + "values": [ + { + "isAggregated": true, + "timestamp": "2017-11-06T22:20:00Z", + "total": 3 + }, + { + "roleInstance": "RD00155D3C09FC", + "timestamp": "2017-11-06T22:20:00Z", + "total": 1 + }, + { + "roleInstance": "RD00155D3C2ADC", + "timestamp": "2017-11-06T22:20:00Z", + "total": 1 + }, + { + "roleInstance": "RD00155D3C214E", + "timestamp": "2017-11-06T22:20:00Z", + "total": 1 + } + ] + } + ], + "source": "workerprocessrecycle" + } + ], + "startTime": "2017-11-05T22:50:00Z" + } + } + } + }, + "operationId": "Diagnostics_ExecuteSiteAnalysisSlot", + "title": "Execute site slot analysis" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/Diagnostics_ExecuteSiteAnalysis_Slot.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/Diagnostics_ExecuteSiteAnalysis_Slot.json new file mode 100644 index 000000000000..f2f846a8ef9d --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/Diagnostics_ExecuteSiteAnalysis_Slot.json @@ -0,0 +1,128 @@ +{ + "parameters": { + "analysisName": "apprestartanalyses", + "api-version": "2025-03-01", + "diagnosticCategory": "availability", + "resourceGroupName": "Sample-WestUSResourceGroup", + "siteName": "SampleApp", + "slot": "Production", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": { + "name": "apprestartanalysis", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/Sample-WestUSResourceGroup/providers/Microsoft.Web/sites/SampleApp/diagnostics/availability/analyses/apprestartanalyses", + "properties": { + "abnormalTimePeriods": [ + { + "endTime": "2017-11-06T22:50:00Z", + "events": [ + { + "type": "ServiceIncident", + "endTime": "2017-11-06T22:21:48Z", + "message": "Your application process was restarted as application environment variables changed. This can most likely occur due to update in app settings or swap operation. This event occurred multiple times during the day.", + "metaData": [ + [ + { + "name": "feature", + "value": "auditlogs" + }, + { + "name": "displayedName", + "value": "Check Audit Logs" + } + ] + ], + "priority": 0, + "solutions": [], + "source": null, + "startTime": "2017-11-06T22:21:50Z" + } + ], + "solutions": [], + "startTime": "2017-11-05T22:50:00Z" + } + ], + "endTime": "2017-11-06T22:50:00Z", + "nonCorrelatedDetectors": [], + "payload": [ + { + "data": [], + "detectorMetaData": null, + "metrics": [ + { + "name": "All Application Stop Events", + "endTime": "2017-11-06T22:50:00Z", + "startTime": "2017-11-05T22:50:00Z", + "timeGrain": "00:05:00", + "unit": null, + "values": [ + { + "roleInstance": "RD00155D3C15BE", + "timestamp": "2017-11-06T00:00:00Z", + "total": 2 + }, + { + "isAggregated": true, + "timestamp": "2017-11-06T00:00:00Z", + "total": 2 + }, + { + "roleInstance": "RD00155D3C15C1", + "timestamp": "2017-11-06T00:10:00Z", + "total": 2 + }, + { + "roleInstance": "RD00155D3BE0FB", + "timestamp": "2017-11-06T00:10:00Z", + "total": 2 + }, + { + "isAggregated": true, + "timestamp": "2017-11-06T00:10:00Z", + "total": 4 + } + ] + }, + { + "name": "User Events", + "endTime": "2017-11-06T22:50:00Z", + "startTime": "2017-11-05T22:50:00Z", + "timeGrain": "00:05:00", + "unit": "", + "values": [ + { + "isAggregated": true, + "timestamp": "2017-11-06T22:20:00Z", + "total": 3 + }, + { + "roleInstance": "RD00155D3C09FC", + "timestamp": "2017-11-06T22:20:00Z", + "total": 1 + }, + { + "roleInstance": "RD00155D3C2ADC", + "timestamp": "2017-11-06T22:20:00Z", + "total": 1 + }, + { + "roleInstance": "RD00155D3C214E", + "timestamp": "2017-11-06T22:20:00Z", + "total": 1 + } + ] + } + ], + "source": "workerprocessrecycle" + } + ], + "startTime": "2017-11-05T22:50:00Z" + } + } + } + }, + "operationId": "Diagnostics_ExecuteSiteAnalysisSlot", + "title": "Execute site analysis" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/Diagnostics_ExecuteSiteDetector.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/Diagnostics_ExecuteSiteDetector.json new file mode 100644 index 000000000000..4274a877b64b --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/Diagnostics_ExecuteSiteDetector.json @@ -0,0 +1,32 @@ +{ + "parameters": { + "api-version": "2025-03-01", + "detectorName": "sitecrashes", + "diagnosticCategory": "availability", + "resourceGroupName": "Sample-WestUSResourceGroup", + "siteName": "SampleApp", + "slot": "Production", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": { + "name": "sitecrashes", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/Sample-WestUSResourceGroup/providers/Microsoft.Web/sites/SampleApp/diagnostics/availability/detectors/sitecrashes", + "properties": { + "abnormalTimePeriods": [ + { + "endTime": "2017-11-06T22:50:00Z", + "solutions": [], + "startTime": "2017-11-05T22:50:00Z" + } + ], + "endTime": "2017-11-06T22:50:00Z", + "startTime": "2017-11-05T22:50:00Z" + } + } + } + }, + "operationId": "Diagnostics_ExecuteSiteDetector", + "title": "Execute site detector" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/Diagnostics_ExecuteSiteDetectorSlot.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/Diagnostics_ExecuteSiteDetectorSlot.json new file mode 100644 index 000000000000..f4fea383e880 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/Diagnostics_ExecuteSiteDetectorSlot.json @@ -0,0 +1,32 @@ +{ + "parameters": { + "api-version": "2025-03-01", + "detectorName": "sitecrashes", + "diagnosticCategory": "availability", + "resourceGroupName": "Sample-WestUSResourceGroup", + "siteName": "SampleApp", + "slot": "staging", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": { + "name": "sitecrashes", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/Sample-WestUSResourceGroup/providers/Microsoft.Web/sites/SampleApp/slots/staging/diagnostics/availability/detectors/sitecrashes", + "properties": { + "abnormalTimePeriods": [ + { + "endTime": "2017-11-06T22:50:00Z", + "solutions": [], + "startTime": "2017-11-05T22:50:00Z" + } + ], + "endTime": "2017-11-06T22:50:00Z", + "startTime": "2017-11-05T22:50:00Z" + } + } + } + }, + "operationId": "Diagnostics_ExecuteSiteDetector", + "title": "Execute site slot detector" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/Diagnostics_ExecuteSiteDetectorSlot_Slot.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/Diagnostics_ExecuteSiteDetectorSlot_Slot.json new file mode 100644 index 000000000000..946e5f743487 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/Diagnostics_ExecuteSiteDetectorSlot_Slot.json @@ -0,0 +1,32 @@ +{ + "parameters": { + "api-version": "2025-03-01", + "detectorName": "sitecrashes", + "diagnosticCategory": "availability", + "resourceGroupName": "Sample-WestUSResourceGroup", + "siteName": "SampleApp", + "slot": "staging", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": { + "name": "sitecrashes", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/Sample-WestUSResourceGroup/providers/Microsoft.Web/sites/SampleApp/slots/staging/diagnostics/availability/detectors/sitecrashes", + "properties": { + "abnormalTimePeriods": [ + { + "endTime": "2017-11-06T22:50:00Z", + "solutions": [], + "startTime": "2017-11-05T22:50:00Z" + } + ], + "endTime": "2017-11-06T22:50:00Z", + "startTime": "2017-11-05T22:50:00Z" + } + } + } + }, + "operationId": "Diagnostics_ExecuteSiteDetectorSlot", + "title": "Execute site slot detector" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/Diagnostics_ExecuteSiteDetector_Slot.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/Diagnostics_ExecuteSiteDetector_Slot.json new file mode 100644 index 000000000000..c2bca36840a0 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/Diagnostics_ExecuteSiteDetector_Slot.json @@ -0,0 +1,32 @@ +{ + "parameters": { + "api-version": "2025-03-01", + "detectorName": "sitecrashes", + "diagnosticCategory": "availability", + "resourceGroupName": "Sample-WestUSResourceGroup", + "siteName": "SampleApp", + "slot": "Production", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": { + "name": "sitecrashes", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/Sample-WestUSResourceGroup/providers/Microsoft.Web/sites/SampleApp/diagnostics/availability/detectors/sitecrashes", + "properties": { + "abnormalTimePeriods": [ + { + "endTime": "2017-11-06T22:50:00Z", + "solutions": [], + "startTime": "2017-11-05T22:50:00Z" + } + ], + "endTime": "2017-11-06T22:50:00Z", + "startTime": "2017-11-05T22:50:00Z" + } + } + } + }, + "operationId": "Diagnostics_ExecuteSiteDetectorSlot", + "title": "Execute site detector" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/Diagnostics_GetHostingEnvironmentDetectorResponse.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/Diagnostics_GetHostingEnvironmentDetectorResponse.json new file mode 100644 index 000000000000..97589eb9b9a6 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/Diagnostics_GetHostingEnvironmentDetectorResponse.json @@ -0,0 +1,135 @@ +{ + "parameters": { + "name": "SampleAppServiceEnvironment", + "api-version": "2025-03-01", + "detectorName": "runtimeavailability", + "resourceGroupName": "Sample-WestUSResourceGroup", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": { + "name": "runtimeavailability", + "id": "/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/hostingEnvironments/SampleAppServiceEnvironment/detectors/runtimeavailability", + "properties": { + "dataset": [ + { + "renderingProperties": { + "description": "This detector breaks down the number of requests that your apps on this app service environment received for each status code.", + "title": "Requests by Status Code" + }, + "table": { + "columns": [ + { + "columnName": "PreciseTimeStamp", + "columnType": "datetime", + "dataType": "DateTime" + }, + { + "columnName": "count_Http2xx", + "columnType": "long", + "dataType": "Int64" + }, + { + "columnName": "count_Http3xx", + "columnType": "long", + "dataType": "Int64" + }, + { + "columnName": "count_Http4xx", + "columnType": "long", + "dataType": "Int64" + }, + { + "columnName": "count_Http5xx", + "columnType": "long", + "dataType": "Int64" + } + ], + "rows": [ + [ + "2018-03-27T00:25:00Z", + "772705", + "0", + "0", + "0" + ], + [ + "2018-03-27T00:30:00Z", + "787069", + "0", + "0", + "0" + ], + [ + "2018-03-27T00:35:00Z", + "781627", + "0", + "1", + "0" + ], + [ + "2018-03-27T00:40:00Z", + "785017", + "0", + "0", + "0" + ], + [ + "2018-03-27T00:45:00Z", + "783518", + "0", + "0", + "0" + ], + [ + "2018-03-27T00:50:00Z", + "785783", + "0", + "0", + "0" + ], + [ + "2018-03-27T00:55:00Z", + "772874", + "0", + "0", + "0" + ], + [ + "2018-03-27T01:00:00Z", + "787162", + "0", + "0", + "0" + ], + [ + "2018-03-27T01:05:00Z", + "782036", + "0", + "0", + "0" + ], + [ + "2018-03-27T01:10:00Z", + "784642", + "0", + "0", + "0" + ] + ], + "tableName": "Table_0" + } + } + ], + "metadata": { + "description": "This detector analyzes all the requests to all applications running on this app service environment.", + "category": "Availability and Performance" + } + } + } + } + }, + "operationId": "Diagnostics_GetHostingEnvironmentDetectorResponse", + "title": "Get App Service Environment Detector Responses" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/Diagnostics_GetSiteAnalysis.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/Diagnostics_GetSiteAnalysis.json new file mode 100644 index 000000000000..03aa37f201ea --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/Diagnostics_GetSiteAnalysis.json @@ -0,0 +1,24 @@ +{ + "parameters": { + "analysisName": "appanalysis", + "api-version": "2025-03-01", + "diagnosticCategory": "availability", + "resourceGroupName": "Sample-WestUSResourceGroup", + "siteName": "SampleApp", + "slot": "Production", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": { + "name": "appanalysis", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/Sample-WestUSResourceGroup/providers/Microsoft.Web/sites/SampleApp/slots/staging/diagnostics/availability/analyses/appanalysis", + "properties": { + "description": "Determine causes of availability loss as well as solutions for these problems" + } + } + } + }, + "operationId": "Diagnostics_GetSiteAnalysis", + "title": "Get App Analysis" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/Diagnostics_GetSiteAnalysisSlot.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/Diagnostics_GetSiteAnalysisSlot.json new file mode 100644 index 000000000000..92a1cd070a55 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/Diagnostics_GetSiteAnalysisSlot.json @@ -0,0 +1,24 @@ +{ + "parameters": { + "analysisName": "appanalysis", + "api-version": "2025-03-01", + "diagnosticCategory": "availability", + "resourceGroupName": "Sample-WestUSResourceGroup", + "siteName": "SampleApp", + "slot": "staging", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": { + "name": "appanalysis", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/Sample-WestUSResourceGroup/providers/Microsoft.Web/sites/SampleApp/slots/staging/diagnostics/availability/analyses/appanalysis", + "properties": { + "description": "Determine causes of availability loss as well as solutions for these problems" + } + } + } + }, + "operationId": "Diagnostics_GetSiteAnalysis", + "title": "Get App Slot Analysis" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/Diagnostics_GetSiteAnalysisSlot_Slot.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/Diagnostics_GetSiteAnalysisSlot_Slot.json new file mode 100644 index 000000000000..c1b554067c2a --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/Diagnostics_GetSiteAnalysisSlot_Slot.json @@ -0,0 +1,24 @@ +{ + "parameters": { + "analysisName": "appanalysis", + "api-version": "2025-03-01", + "diagnosticCategory": "availability", + "resourceGroupName": "Sample-WestUSResourceGroup", + "siteName": "SampleApp", + "slot": "staging", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": { + "name": "appanalysis", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/Sample-WestUSResourceGroup/providers/Microsoft.Web/sites/SampleApp/slots/staging/diagnostics/availability/analyses/appanalysis", + "properties": { + "description": "Determine causes of availability loss as well as solutions for these problems" + } + } + } + }, + "operationId": "Diagnostics_GetSiteAnalysisSlot", + "title": "Get App Slot Analysis" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/Diagnostics_GetSiteAnalysis_Slot.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/Diagnostics_GetSiteAnalysis_Slot.json new file mode 100644 index 000000000000..8945644a2185 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/Diagnostics_GetSiteAnalysis_Slot.json @@ -0,0 +1,24 @@ +{ + "parameters": { + "analysisName": "appanalysis", + "api-version": "2025-03-01", + "diagnosticCategory": "availability", + "resourceGroupName": "Sample-WestUSResourceGroup", + "siteName": "SampleApp", + "slot": "Production", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": { + "name": "appanalysis", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/Sample-WestUSResourceGroup/providers/Microsoft.Web/sites/SampleApp/slots/staging/diagnostics/availability/analyses/appanalysis", + "properties": { + "description": "Determine causes of availability loss as well as solutions for these problems" + } + } + } + }, + "operationId": "Diagnostics_GetSiteAnalysisSlot", + "title": "Get App Analysis" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/Diagnostics_GetSiteDetector.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/Diagnostics_GetSiteDetector.json new file mode 100644 index 000000000000..e571c5694f77 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/Diagnostics_GetSiteDetector.json @@ -0,0 +1,27 @@ +{ + "parameters": { + "api-version": "2025-03-01", + "detectorName": "sitecrashes", + "diagnosticCategory": "availability", + "resourceGroupName": "Sample-WestUSResourceGroup", + "siteName": "SampleApp", + "slot": "Production", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": { + "name": "sitecrashes", + "id": "/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/sites/BuggyBakery/diagnostics/availability/detectors/sitecrashes", + "properties": { + "description": null, + "displayName": "Site Crash Events", + "isEnabled": true, + "rank": 9 + } + } + } + }, + "operationId": "Diagnostics_GetSiteDetector", + "title": "Get App Detector" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/Diagnostics_GetSiteDetectorResponse.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/Diagnostics_GetSiteDetectorResponse.json new file mode 100644 index 000000000000..987fd1a8a43e --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/Diagnostics_GetSiteDetectorResponse.json @@ -0,0 +1,136 @@ +{ + "parameters": { + "api-version": "2025-03-01", + "detectorName": "runtimeavailability", + "resourceGroupName": "Sample-WestUSResourceGroup", + "siteName": "SampleApp", + "slot": "staging", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": { + "name": "runtimeavailability", + "id": "/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/sites/BuggyBakery/detectors/runtimeavailability", + "properties": { + "dataset": [ + { + "renderingProperties": { + "description": "This detector breaks down the number of requests that your app received for each status code.", + "title": "Requests by Status Code" + }, + "table": { + "columns": [ + { + "columnName": "PreciseTimeStamp", + "columnType": "datetime", + "dataType": "DateTime" + }, + { + "columnName": "count_Http2xx", + "columnType": "long", + "dataType": "Int64" + }, + { + "columnName": "count_Http3xx", + "columnType": "long", + "dataType": "Int64" + }, + { + "columnName": "count_Http4xx", + "columnType": "long", + "dataType": "Int64" + }, + { + "columnName": "count_Http5xx", + "columnType": "long", + "dataType": "Int64" + } + ], + "rows": [ + [ + "2018-03-27T00:25:00Z", + "772705", + "0", + "0", + "0" + ], + [ + "2018-03-27T00:30:00Z", + "787069", + "0", + "0", + "0" + ], + [ + "2018-03-27T00:35:00Z", + "781627", + "0", + "1", + "0" + ], + [ + "2018-03-27T00:40:00Z", + "785017", + "0", + "0", + "0" + ], + [ + "2018-03-27T00:45:00Z", + "783518", + "0", + "0", + "0" + ], + [ + "2018-03-27T00:50:00Z", + "785783", + "0", + "0", + "0" + ], + [ + "2018-03-27T00:55:00Z", + "772874", + "0", + "0", + "0" + ], + [ + "2018-03-27T01:00:00Z", + "787162", + "0", + "0", + "0" + ], + [ + "2018-03-27T01:05:00Z", + "782036", + "0", + "0", + "0" + ], + [ + "2018-03-27T01:10:00Z", + "784642", + "0", + "0", + "0" + ] + ], + "tableName": "Table_0" + } + } + ], + "metadata": { + "description": "This detector analyzes the requests to your application.", + "category": "Availability and Performance" + } + } + } + } + }, + "operationId": "Diagnostics_GetSiteDetectorResponse", + "title": "Get App Detector Response" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/Diagnostics_GetSiteDetectorResponseSlot.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/Diagnostics_GetSiteDetectorResponseSlot.json new file mode 100644 index 000000000000..30fcd98a9470 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/Diagnostics_GetSiteDetectorResponseSlot.json @@ -0,0 +1,136 @@ +{ + "parameters": { + "api-version": "2025-03-01", + "detectorName": "runtimeavailability", + "resourceGroupName": "Sample-WestUSResourceGroup", + "siteName": "SampleApp", + "slot": "staging", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": { + "name": "runtimeavailability", + "id": "/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/sites/BuggyBakery/slots/staging/detectors/runtimeavailability", + "properties": { + "dataset": [ + { + "renderingProperties": { + "description": "This detector breaks down the number of requests that your app received for each status code.", + "title": "Requests by Status Code" + }, + "table": { + "columns": [ + { + "columnName": "PreciseTimeStamp", + "columnType": "datetime", + "dataType": "DateTime" + }, + { + "columnName": "count_Http2xx", + "columnType": "long", + "dataType": "Int64" + }, + { + "columnName": "count_Http3xx", + "columnType": "long", + "dataType": "Int64" + }, + { + "columnName": "count_Http4xx", + "columnType": "long", + "dataType": "Int64" + }, + { + "columnName": "count_Http5xx", + "columnType": "long", + "dataType": "Int64" + } + ], + "rows": [ + [ + "2018-03-27T00:25:00Z", + "772705", + "0", + "0", + "0" + ], + [ + "2018-03-27T00:30:00Z", + "787069", + "0", + "0", + "0" + ], + [ + "2018-03-27T00:35:00Z", + "781627", + "0", + "1", + "0" + ], + [ + "2018-03-27T00:40:00Z", + "785017", + "0", + "0", + "0" + ], + [ + "2018-03-27T00:45:00Z", + "783518", + "0", + "0", + "0" + ], + [ + "2018-03-27T00:50:00Z", + "785783", + "0", + "0", + "0" + ], + [ + "2018-03-27T00:55:00Z", + "772874", + "0", + "0", + "0" + ], + [ + "2018-03-27T01:00:00Z", + "787162", + "0", + "0", + "0" + ], + [ + "2018-03-27T01:05:00Z", + "782036", + "0", + "0", + "0" + ], + [ + "2018-03-27T01:10:00Z", + "784642", + "0", + "0", + "0" + ] + ], + "tableName": "Table_0" + } + } + ], + "metadata": { + "description": "This detector analyzes the requests to your application.", + "category": "Availability and Performance" + } + } + } + } + }, + "operationId": "Diagnostics_GetSiteDetectorResponse", + "title": "Get App Slot Detector Response" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/Diagnostics_GetSiteDetectorResponseSlot_Slot.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/Diagnostics_GetSiteDetectorResponseSlot_Slot.json new file mode 100644 index 000000000000..1d99cb84539c --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/Diagnostics_GetSiteDetectorResponseSlot_Slot.json @@ -0,0 +1,136 @@ +{ + "parameters": { + "api-version": "2025-03-01", + "detectorName": "runtimeavailability", + "resourceGroupName": "Sample-WestUSResourceGroup", + "siteName": "SampleApp", + "slot": "staging", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": { + "name": "runtimeavailability", + "id": "/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/sites/BuggyBakery/slots/staging/detectors/runtimeavailability", + "properties": { + "dataset": [ + { + "renderingProperties": { + "description": "This detector breaks down the number of requests that your app received for each status code.", + "title": "Requests by Status Code" + }, + "table": { + "columns": [ + { + "columnName": "PreciseTimeStamp", + "columnType": "datetime", + "dataType": "DateTime" + }, + { + "columnName": "count_Http2xx", + "columnType": "long", + "dataType": "Int64" + }, + { + "columnName": "count_Http3xx", + "columnType": "long", + "dataType": "Int64" + }, + { + "columnName": "count_Http4xx", + "columnType": "long", + "dataType": "Int64" + }, + { + "columnName": "count_Http5xx", + "columnType": "long", + "dataType": "Int64" + } + ], + "rows": [ + [ + "2018-03-27T00:25:00Z", + "772705", + "0", + "0", + "0" + ], + [ + "2018-03-27T00:30:00Z", + "787069", + "0", + "0", + "0" + ], + [ + "2018-03-27T00:35:00Z", + "781627", + "0", + "1", + "0" + ], + [ + "2018-03-27T00:40:00Z", + "785017", + "0", + "0", + "0" + ], + [ + "2018-03-27T00:45:00Z", + "783518", + "0", + "0", + "0" + ], + [ + "2018-03-27T00:50:00Z", + "785783", + "0", + "0", + "0" + ], + [ + "2018-03-27T00:55:00Z", + "772874", + "0", + "0", + "0" + ], + [ + "2018-03-27T01:00:00Z", + "787162", + "0", + "0", + "0" + ], + [ + "2018-03-27T01:05:00Z", + "782036", + "0", + "0", + "0" + ], + [ + "2018-03-27T01:10:00Z", + "784642", + "0", + "0", + "0" + ] + ], + "tableName": "Table_0" + } + } + ], + "metadata": { + "description": "This detector analyzes the requests to your application.", + "category": "Availability and Performance" + } + } + } + } + }, + "operationId": "Diagnostics_GetSiteDetectorResponseSlot", + "title": "Get App Slot Detector Response" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/Diagnostics_GetSiteDetectorResponse_Slot.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/Diagnostics_GetSiteDetectorResponse_Slot.json new file mode 100644 index 000000000000..3bd1c34aece7 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/Diagnostics_GetSiteDetectorResponse_Slot.json @@ -0,0 +1,136 @@ +{ + "parameters": { + "api-version": "2025-03-01", + "detectorName": "runtimeavailability", + "resourceGroupName": "Sample-WestUSResourceGroup", + "siteName": "SampleApp", + "slot": "staging", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": { + "name": "runtimeavailability", + "id": "/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/sites/BuggyBakery/detectors/runtimeavailability", + "properties": { + "dataset": [ + { + "renderingProperties": { + "description": "This detector breaks down the number of requests that your app received for each status code.", + "title": "Requests by Status Code" + }, + "table": { + "columns": [ + { + "columnName": "PreciseTimeStamp", + "columnType": "datetime", + "dataType": "DateTime" + }, + { + "columnName": "count_Http2xx", + "columnType": "long", + "dataType": "Int64" + }, + { + "columnName": "count_Http3xx", + "columnType": "long", + "dataType": "Int64" + }, + { + "columnName": "count_Http4xx", + "columnType": "long", + "dataType": "Int64" + }, + { + "columnName": "count_Http5xx", + "columnType": "long", + "dataType": "Int64" + } + ], + "rows": [ + [ + "2018-03-27T00:25:00Z", + "772705", + "0", + "0", + "0" + ], + [ + "2018-03-27T00:30:00Z", + "787069", + "0", + "0", + "0" + ], + [ + "2018-03-27T00:35:00Z", + "781627", + "0", + "1", + "0" + ], + [ + "2018-03-27T00:40:00Z", + "785017", + "0", + "0", + "0" + ], + [ + "2018-03-27T00:45:00Z", + "783518", + "0", + "0", + "0" + ], + [ + "2018-03-27T00:50:00Z", + "785783", + "0", + "0", + "0" + ], + [ + "2018-03-27T00:55:00Z", + "772874", + "0", + "0", + "0" + ], + [ + "2018-03-27T01:00:00Z", + "787162", + "0", + "0", + "0" + ], + [ + "2018-03-27T01:05:00Z", + "782036", + "0", + "0", + "0" + ], + [ + "2018-03-27T01:10:00Z", + "784642", + "0", + "0", + "0" + ] + ], + "tableName": "Table_0" + } + } + ], + "metadata": { + "description": "This detector analyzes the requests to your application.", + "category": "Availability and Performance" + } + } + } + } + }, + "operationId": "Diagnostics_GetSiteDetectorResponseSlot", + "title": "Get App Detector Response" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/Diagnostics_GetSiteDetectorSlot.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/Diagnostics_GetSiteDetectorSlot.json new file mode 100644 index 000000000000..efcd8aa86d7c --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/Diagnostics_GetSiteDetectorSlot.json @@ -0,0 +1,27 @@ +{ + "parameters": { + "api-version": "2025-03-01", + "detectorName": "sitecrashes", + "diagnosticCategory": "availability", + "resourceGroupName": "Sample-WestUSResourceGroup", + "siteName": "SampleApp", + "slot": "staging", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": { + "name": "sitecrashes", + "id": "/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/sites/BuggyBakery/slots/staging/diagnostics/availability/detectors/sitecrashes", + "properties": { + "description": null, + "displayName": "Site Crash Events", + "isEnabled": true, + "rank": 9 + } + } + } + }, + "operationId": "Diagnostics_GetSiteDetector", + "title": "Get App Slot Detector" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/Diagnostics_GetSiteDetectorSlot_Slot.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/Diagnostics_GetSiteDetectorSlot_Slot.json new file mode 100644 index 000000000000..30ab05ffda20 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/Diagnostics_GetSiteDetectorSlot_Slot.json @@ -0,0 +1,27 @@ +{ + "parameters": { + "api-version": "2025-03-01", + "detectorName": "sitecrashes", + "diagnosticCategory": "availability", + "resourceGroupName": "Sample-WestUSResourceGroup", + "siteName": "SampleApp", + "slot": "staging", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": { + "name": "sitecrashes", + "id": "/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/sites/BuggyBakery/slots/staging/diagnostics/availability/detectors/sitecrashes", + "properties": { + "description": null, + "displayName": "Site Crash Events", + "isEnabled": true, + "rank": 9 + } + } + } + }, + "operationId": "Diagnostics_GetSiteDetectorSlot", + "title": "Get App Slot Detector" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/Diagnostics_GetSiteDetector_Slot.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/Diagnostics_GetSiteDetector_Slot.json new file mode 100644 index 000000000000..78b3a4884526 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/Diagnostics_GetSiteDetector_Slot.json @@ -0,0 +1,27 @@ +{ + "parameters": { + "api-version": "2025-03-01", + "detectorName": "sitecrashes", + "diagnosticCategory": "availability", + "resourceGroupName": "Sample-WestUSResourceGroup", + "siteName": "SampleApp", + "slot": "Production", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": { + "name": "sitecrashes", + "id": "/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/sites/BuggyBakery/diagnostics/availability/detectors/sitecrashes", + "properties": { + "description": null, + "displayName": "Site Crash Events", + "isEnabled": true, + "rank": 9 + } + } + } + }, + "operationId": "Diagnostics_GetSiteDetectorSlot", + "title": "Get App Detector" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/Diagnostics_GetSiteDiagnosticCategory.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/Diagnostics_GetSiteDiagnosticCategory.json new file mode 100644 index 000000000000..867804ed14a1 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/Diagnostics_GetSiteDiagnosticCategory.json @@ -0,0 +1,23 @@ +{ + "parameters": { + "api-version": "2025-03-01", + "diagnosticCategory": "availability", + "resourceGroupName": "Sample-WestUSResourceGroup", + "siteName": "SampleApp", + "slot": "Production", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": { + "name": "availability", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/Sample-WestUSResourceGroup/providers/Microsoft.Web/sites/SampleApp/diagnostics/availability", + "properties": { + "description": "Availability and Perfomance Diagnostics" + } + } + } + }, + "operationId": "Diagnostics_GetSiteDiagnosticCategory", + "title": "Get App Diagnostic Category" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/Diagnostics_GetSiteDiagnosticCategorySlot.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/Diagnostics_GetSiteDiagnosticCategorySlot.json new file mode 100644 index 000000000000..b983dbfe5ced --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/Diagnostics_GetSiteDiagnosticCategorySlot.json @@ -0,0 +1,23 @@ +{ + "parameters": { + "api-version": "2025-03-01", + "diagnosticCategory": "availability", + "resourceGroupName": "Sample-WestUSResourceGroup", + "siteName": "SampleApp", + "slot": "staging", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": { + "name": "availability", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/Sample-WestUSResourceGroup/providers/Microsoft.Web/sites/SampleApp/diagnostics/availability", + "properties": { + "description": "Availability and Perfomance Diagnostics" + } + } + } + }, + "operationId": "Diagnostics_GetSiteDiagnosticCategory", + "title": "Get App Slot Diagnostic Category" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/Diagnostics_GetSiteDiagnosticCategorySlot_Slot.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/Diagnostics_GetSiteDiagnosticCategorySlot_Slot.json new file mode 100644 index 000000000000..bf343ef322cf --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/Diagnostics_GetSiteDiagnosticCategorySlot_Slot.json @@ -0,0 +1,23 @@ +{ + "parameters": { + "api-version": "2025-03-01", + "diagnosticCategory": "availability", + "resourceGroupName": "Sample-WestUSResourceGroup", + "siteName": "SampleApp", + "slot": "staging", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": { + "name": "availability", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/Sample-WestUSResourceGroup/providers/Microsoft.Web/sites/SampleApp/diagnostics/availability", + "properties": { + "description": "Availability and Perfomance Diagnostics" + } + } + } + }, + "operationId": "Diagnostics_GetSiteDiagnosticCategorySlot", + "title": "Get App Slot Diagnostic Category" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/Diagnostics_GetSiteDiagnosticCategory_Slot.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/Diagnostics_GetSiteDiagnosticCategory_Slot.json new file mode 100644 index 000000000000..3091e05d5baa --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/Diagnostics_GetSiteDiagnosticCategory_Slot.json @@ -0,0 +1,23 @@ +{ + "parameters": { + "api-version": "2025-03-01", + "diagnosticCategory": "availability", + "resourceGroupName": "Sample-WestUSResourceGroup", + "siteName": "SampleApp", + "slot": "Production", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": { + "name": "availability", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/Sample-WestUSResourceGroup/providers/Microsoft.Web/sites/SampleApp/diagnostics/availability", + "properties": { + "description": "Availability and Perfomance Diagnostics" + } + } + } + }, + "operationId": "Diagnostics_GetSiteDiagnosticCategorySlot", + "title": "Get App Diagnostic Category" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/Diagnostics_ListHostingEnvironmentDetectorResponses.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/Diagnostics_ListHostingEnvironmentDetectorResponses.json new file mode 100644 index 000000000000..0cff5a7e7c4e --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/Diagnostics_ListHostingEnvironmentDetectorResponses.json @@ -0,0 +1,29 @@ +{ + "parameters": { + "name": "SampleAppServiceEnvironment", + "api-version": "2025-03-01", + "resourceGroupName": "Sample-WestUSResourceGroup", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "runtimeavailability", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/Sample-WestUSResourceGroup/providers/Microsoft.Web/hostingEnvironments/SampleAppServiceEnvironment/detectors/runtimeavailability", + "properties": { + "dataset": [], + "metadata": { + "description": "This detector analyzes all the requests to all applications running on this app service environment.", + "category": "Availability and Performance" + } + } + } + ] + } + } + }, + "operationId": "Diagnostics_ListHostingEnvironmentDetectorResponses", + "title": "Get App Service Environment Detector Responses" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/Diagnostics_ListSiteAnalyses.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/Diagnostics_ListSiteAnalyses.json new file mode 100644 index 000000000000..295ace6369fc --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/Diagnostics_ListSiteAnalyses.json @@ -0,0 +1,55 @@ +{ + "parameters": { + "api-version": "2025-03-01", + "diagnosticCategory": "availability", + "resourceGroupName": "Sample-WestUSResourceGroup", + "siteName": "SampleApp", + "slot": "Production", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "appanalysis", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/Sample-WestUSResourceGroup/providers/Microsoft.Web/sites/SampleApp/diagnostics/availability/analyses/appanalysis", + "properties": { + "description": "Determine causes of availability loss as well as solutions for these problems" + } + }, + { + "name": "apprestartanalysis", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/Sample-WestUSResourceGroup/providers/Microsoft.Web/sites/SampleApp/diagnostics/availability/analyses/apprestartanalyses", + "properties": { + "description": "Find the reasons that your app restarted" + } + }, + { + "name": "memoryanalysis", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/Sample-WestUSResourceGroup/providers/Microsoft.Web/sites/SampleApp/diagnostics/availability/analyses/memoryanalysis", + "properties": { + "description": "Detect issues with memory as well as suggest ways to troubleshoot memory problems" + } + }, + { + "name": "tcpconnectionsanalysis", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/Sample-WestUSResourceGroup/providers/Microsoft.Web/sites/SampleApp/diagnostics/availability/analyses/tcpconnectionsanalysis", + "properties": { + "description": "Analyze port usage and find out if a high number of connections is causing problems for your web app" + } + }, + { + "name": "perfanalysis", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/Sample-WestUSResourceGroup/providers/Microsoft.Web/sites/SampleApp/diagnostics/availability/analyses/perfanalysis", + "properties": { + "description": "Determine causes of performance degredation as well as solutions for these problems" + } + } + ] + } + } + }, + "operationId": "Diagnostics_ListSiteAnalyses", + "title": "List App Analyses" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/Diagnostics_ListSiteAnalysesSlot.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/Diagnostics_ListSiteAnalysesSlot.json new file mode 100644 index 000000000000..576368fbb2fc --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/Diagnostics_ListSiteAnalysesSlot.json @@ -0,0 +1,55 @@ +{ + "parameters": { + "api-version": "2025-03-01", + "diagnosticCategory": "availability", + "resourceGroupName": "Sample-WestUSResourceGroup", + "siteName": "SampleApp", + "slot": "staging", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "appanalysis", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/Sample-WestUSResourceGroup/providers/Microsoft.Web/sites/SampleApp/slots/staging/diagnostics/availability/analyses/appanalysis", + "properties": { + "description": "Determine causes of availability loss as well as solutions for these problems" + } + }, + { + "name": "apprestartanalysis", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/Sample-WestUSResourceGroup/providers/Microsoft.Web/sites/SampleApp/slots/staging/diagnostics/availability/analyses/apprestartanalyses", + "properties": { + "description": "Find the reasons that your app restarted" + } + }, + { + "name": "memoryanalysis", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/Sample-WestUSResourceGroup/providers/Microsoft.Web/sites/SampleApp/slots/staging/diagnostics/availability/analyses/memoryanalysis", + "properties": { + "description": "Detect issues with memory as well as suggest ways to troubleshoot memory problems" + } + }, + { + "name": "tcpconnectionsanalysis", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/Sample-WestUSResourceGroup/providers/Microsoft.Web/sites/SampleApp/slots/staging/diagnostics/availability/analyses/tcpconnectionsanalysis", + "properties": { + "description": "Analyze port usage and find out if a high number of connections is causing problems for your web app" + } + }, + { + "name": "perfanalysis", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/Sample-WestUSResourceGroup/providers/Microsoft.Web/sites/SampleApp/slots/staging/diagnostics/availability/analyses/perfanalysis", + "properties": { + "description": "Determine causes of performance degredation as well as solutions for these problems" + } + } + ] + } + } + }, + "operationId": "Diagnostics_ListSiteAnalyses", + "title": "List App Slot Analyses" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/Diagnostics_ListSiteAnalysesSlot_Slot.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/Diagnostics_ListSiteAnalysesSlot_Slot.json new file mode 100644 index 000000000000..8a1a0895ff2b --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/Diagnostics_ListSiteAnalysesSlot_Slot.json @@ -0,0 +1,55 @@ +{ + "parameters": { + "api-version": "2025-03-01", + "diagnosticCategory": "availability", + "resourceGroupName": "Sample-WestUSResourceGroup", + "siteName": "SampleApp", + "slot": "staging", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "appanalysis", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/Sample-WestUSResourceGroup/providers/Microsoft.Web/sites/SampleApp/slots/staging/diagnostics/availability/analyses/appanalysis", + "properties": { + "description": "Determine causes of availability loss as well as solutions for these problems" + } + }, + { + "name": "apprestartanalysis", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/Sample-WestUSResourceGroup/providers/Microsoft.Web/sites/SampleApp/slots/staging/diagnostics/availability/analyses/apprestartanalyses", + "properties": { + "description": "Find the reasons that your app restarted" + } + }, + { + "name": "memoryanalysis", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/Sample-WestUSResourceGroup/providers/Microsoft.Web/sites/SampleApp/slots/staging/diagnostics/availability/analyses/memoryanalysis", + "properties": { + "description": "Detect issues with memory as well as suggest ways to troubleshoot memory problems" + } + }, + { + "name": "tcpconnectionsanalysis", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/Sample-WestUSResourceGroup/providers/Microsoft.Web/sites/SampleApp/slots/staging/diagnostics/availability/analyses/tcpconnectionsanalysis", + "properties": { + "description": "Analyze port usage and find out if a high number of connections is causing problems for your web app" + } + }, + { + "name": "perfanalysis", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/Sample-WestUSResourceGroup/providers/Microsoft.Web/sites/SampleApp/slots/staging/diagnostics/availability/analyses/perfanalysis", + "properties": { + "description": "Determine causes of performance degredation as well as solutions for these problems" + } + } + ] + } + } + }, + "operationId": "Diagnostics_ListSiteAnalysesSlot", + "title": "List App Slot Analyses" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/Diagnostics_ListSiteAnalyses_Slot.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/Diagnostics_ListSiteAnalyses_Slot.json new file mode 100644 index 000000000000..68ae22ccc4a0 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/Diagnostics_ListSiteAnalyses_Slot.json @@ -0,0 +1,55 @@ +{ + "parameters": { + "api-version": "2025-03-01", + "diagnosticCategory": "availability", + "resourceGroupName": "Sample-WestUSResourceGroup", + "siteName": "SampleApp", + "slot": "Production", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "appanalysis", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/Sample-WestUSResourceGroup/providers/Microsoft.Web/sites/SampleApp/diagnostics/availability/analyses/appanalysis", + "properties": { + "description": "Determine causes of availability loss as well as solutions for these problems" + } + }, + { + "name": "apprestartanalysis", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/Sample-WestUSResourceGroup/providers/Microsoft.Web/sites/SampleApp/diagnostics/availability/analyses/apprestartanalyses", + "properties": { + "description": "Find the reasons that your app restarted" + } + }, + { + "name": "memoryanalysis", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/Sample-WestUSResourceGroup/providers/Microsoft.Web/sites/SampleApp/diagnostics/availability/analyses/memoryanalysis", + "properties": { + "description": "Detect issues with memory as well as suggest ways to troubleshoot memory problems" + } + }, + { + "name": "tcpconnectionsanalysis", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/Sample-WestUSResourceGroup/providers/Microsoft.Web/sites/SampleApp/diagnostics/availability/analyses/tcpconnectionsanalysis", + "properties": { + "description": "Analyze port usage and find out if a high number of connections is causing problems for your web app" + } + }, + { + "name": "perfanalysis", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/Sample-WestUSResourceGroup/providers/Microsoft.Web/sites/SampleApp/diagnostics/availability/analyses/perfanalysis", + "properties": { + "description": "Determine causes of performance degredation as well as solutions for these problems" + } + } + ] + } + } + }, + "operationId": "Diagnostics_ListSiteAnalysesSlot", + "title": "List App Analyses" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/Diagnostics_ListSiteDetectorResponses.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/Diagnostics_ListSiteDetectorResponses.json new file mode 100644 index 000000000000..0fe5fb90bf0a --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/Diagnostics_ListSiteDetectorResponses.json @@ -0,0 +1,30 @@ +{ + "parameters": { + "api-version": "2025-03-01", + "resourceGroupName": "Sample-WestUSResourceGroup", + "siteName": "SampleApp", + "slot": "staging", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "runtimeavailability", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/Sample-WestUSResourceGroup/providers/Microsoft.Web/sites/SampleApp/detectors/runtimeavailability", + "properties": { + "dataset": [], + "metadata": { + "description": "This detector analyzes the requests to your application.", + "category": "Availability and Performance" + } + } + } + ] + } + } + }, + "operationId": "Diagnostics_ListSiteDetectorResponses", + "title": "Get App Detector Responses" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/Diagnostics_ListSiteDetectorResponsesSlot.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/Diagnostics_ListSiteDetectorResponsesSlot.json new file mode 100644 index 000000000000..97dcb6d2589f --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/Diagnostics_ListSiteDetectorResponsesSlot.json @@ -0,0 +1,30 @@ +{ + "parameters": { + "api-version": "2025-03-01", + "resourceGroupName": "Sample-WestUSResourceGroup", + "siteName": "SampleApp", + "slot": "staging", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "runtimeavailability", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/Sample-WestUSResourceGroup/providers/Microsoft.Web/sites/SampleApp/slots/staging/detectors/runtimeavailability", + "properties": { + "dataset": [], + "metadata": { + "description": "This detector analyzes the requests to your application.", + "category": "Availability and Performance" + } + } + } + ] + } + } + }, + "operationId": "Diagnostics_ListSiteDetectorResponses", + "title": "Get App Slot Detector Responses" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/Diagnostics_ListSiteDetectorResponsesSlot_Slot.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/Diagnostics_ListSiteDetectorResponsesSlot_Slot.json new file mode 100644 index 000000000000..232587e7a1ec --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/Diagnostics_ListSiteDetectorResponsesSlot_Slot.json @@ -0,0 +1,30 @@ +{ + "parameters": { + "api-version": "2025-03-01", + "resourceGroupName": "Sample-WestUSResourceGroup", + "siteName": "SampleApp", + "slot": "staging", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "runtimeavailability", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/Sample-WestUSResourceGroup/providers/Microsoft.Web/sites/SampleApp/slots/staging/detectors/runtimeavailability", + "properties": { + "dataset": [], + "metadata": { + "description": "This detector analyzes the requests to your application.", + "category": "Availability and Performance" + } + } + } + ] + } + } + }, + "operationId": "Diagnostics_ListSiteDetectorResponsesSlot", + "title": "Get App Slot Detector Responses" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/Diagnostics_ListSiteDetectorResponses_Slot.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/Diagnostics_ListSiteDetectorResponses_Slot.json new file mode 100644 index 000000000000..c6294b5ad7d8 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/Diagnostics_ListSiteDetectorResponses_Slot.json @@ -0,0 +1,30 @@ +{ + "parameters": { + "api-version": "2025-03-01", + "resourceGroupName": "Sample-WestUSResourceGroup", + "siteName": "SampleApp", + "slot": "staging", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "runtimeavailability", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/Sample-WestUSResourceGroup/providers/Microsoft.Web/sites/SampleApp/detectors/runtimeavailability", + "properties": { + "dataset": [], + "metadata": { + "description": "This detector analyzes the requests to your application.", + "category": "Availability and Performance" + } + } + } + ] + } + } + }, + "operationId": "Diagnostics_ListSiteDetectorResponsesSlot", + "title": "Get App Detector Responses" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/Diagnostics_ListSiteDetectors.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/Diagnostics_ListSiteDetectors.json new file mode 100644 index 000000000000..1c216becd855 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/Diagnostics_ListSiteDetectors.json @@ -0,0 +1,200 @@ +{ + "parameters": { + "api-version": "2025-03-01", + "diagnosticCategory": "availability", + "resourceGroupName": "Sample-WestUSResourceGroup", + "siteName": "SampleApp", + "slot": "Production", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "servicehealth", + "id": "/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/sites/BuggyBakery/diagnostics/availability/detectors/servicehealth", + "properties": { + "description": null, + "displayName": "Service Health", + "isEnabled": true, + "rank": 1 + } + }, + { + "name": "siteswap", + "id": "/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/sites/BuggyBakery/diagnostics/availability/detectors/siteswap", + "properties": { + "description": null, + "displayName": "Site Swap Operations", + "isEnabled": true, + "rank": 8 + } + }, + { + "name": "sitecrashes", + "id": "/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/sites/BuggyBakery/diagnostics/availability/detectors/sitecrashes", + "properties": { + "description": null, + "displayName": "Site Crash Events", + "isEnabled": true, + "rank": 9 + } + }, + { + "name": "deployment", + "id": "/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/sites/BuggyBakery/diagnostics/availability/detectors/deployment", + "properties": { + "description": null, + "displayName": "Site Deployments", + "isEnabled": true, + "rank": 7 + } + }, + { + "name": "sitecpuanalysis", + "id": "/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/sites/BuggyBakery/diagnostics/availability/detectors/sitecpuanalysis", + "properties": { + "description": null, + "displayName": "CPU Analysis", + "isEnabled": true, + "rank": 3 + } + }, + { + "name": "sitememoryanalysis", + "id": "/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/sites/BuggyBakery/diagnostics/availability/detectors/sitememoryanalysis", + "properties": { + "description": null, + "displayName": "Physical Memory Analysis", + "isEnabled": true, + "rank": 3 + } + }, + { + "name": "committedmemoryusage", + "id": "/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/sites/BuggyBakery/diagnostics/availability/detectors/committedmemoryusage", + "properties": { + "description": null, + "displayName": "Committed Memory Usage", + "isEnabled": true, + "rank": 7 + } + }, + { + "name": "pagefileoperations", + "id": "/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/sites/BuggyBakery/diagnostics/availability/detectors/pagefileoperations", + "properties": { + "description": null, + "displayName": "Page File Operations", + "isEnabled": true, + "rank": 3 + } + }, + { + "name": "siterestartuserinitiated", + "id": "/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/sites/BuggyBakery/diagnostics/availability/detectors/siterestartuserinitiated", + "properties": { + "description": null, + "displayName": "User Initiated Site Restarts", + "isEnabled": true, + "rank": 14 + } + }, + { + "name": "siterestartsettingupdate", + "id": "/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/sites/BuggyBakery/diagnostics/availability/detectors/siterestartsettingupdate", + "properties": { + "description": null, + "displayName": "Config Update Site Restarts", + "isEnabled": true, + "rank": 12 + } + }, + { + "name": "frebanalysis", + "id": "/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/sites/BuggyBakery/diagnostics/availability/detectors/frebanalysis", + "properties": { + "description": null, + "displayName": "Freb Logs Analysis", + "isEnabled": true, + "rank": 6 + } + }, + { + "name": "workeravailability", + "id": "/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/sites/BuggyBakery/diagnostics/availability/detectors/workeravailability", + "properties": { + "description": null, + "displayName": "Worker Availability", + "isEnabled": true, + "rank": 11 + } + }, + { + "name": "sitelatency", + "id": "/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/sites/BuggyBakery/diagnostics/availability/detectors/sitelatency", + "properties": { + "description": null, + "displayName": "Site Latency", + "isEnabled": false, + "rank": 1005 + } + }, + { + "name": "threadcount", + "id": "/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/sites/BuggyBakery/diagnostics/availability/detectors/threadcount", + "properties": { + "description": null, + "displayName": "Thread Count", + "isEnabled": true, + "rank": 23 + } + }, + { + "name": "failedrequestsperuri", + "id": "/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/sites/BuggyBakery/diagnostics/availability/detectors/failedrequestsperuri", + "properties": { + "description": null, + "displayName": "Failed Requests Per URI", + "isEnabled": true, + "rank": 998 + } + }, + { + "name": "autoheal", + "id": "/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/sites/BuggyBakery/diagnostics/availability/detectors/autoheal", + "properties": { + "description": null, + "displayName": "AutoHeal", + "isEnabled": true, + "rank": 21 + } + }, + { + "name": "loganalyzer", + "id": "/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/sites/BuggyBakery/diagnostics/availability/detectors/loganalyzer", + "properties": { + "description": null, + "displayName": "PHP Log Analyzer", + "isEnabled": true, + "rank": 26 + } + }, + { + "name": "aspnetcore", + "id": "/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/sites/BuggyBakery/diagnostics/availability/detectors/aspnetcore", + "properties": { + "description": null, + "displayName": "ASP.NET Core", + "isEnabled": true, + "rank": 5 + } + } + ] + } + } + }, + "operationId": "Diagnostics_ListSiteDetectors", + "title": "List App Detectors" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/Diagnostics_ListSiteDetectorsSlot.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/Diagnostics_ListSiteDetectorsSlot.json new file mode 100644 index 000000000000..e8ba0e4ee2aa --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/Diagnostics_ListSiteDetectorsSlot.json @@ -0,0 +1,60 @@ +{ + "parameters": { + "api-version": "2025-03-01", + "diagnosticCategory": "availability", + "resourceGroupName": "Sample-WestUSResourceGroup", + "siteName": "SampleApp", + "slot": "staging", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "servicehealth", + "id": "/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/sites/BuggyBakery/slots/staging/diagnostics/availability/detectors/servicehealth", + "properties": { + "description": null, + "displayName": "Service Health", + "isEnabled": true, + "rank": 1 + } + }, + { + "name": "siteswap", + "id": "/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/sites/BuggyBakery/slots/staging/diagnostics/availability/detectors/siteswap", + "properties": { + "description": null, + "displayName": "Site Swap Operations", + "isEnabled": true, + "rank": 8 + } + }, + { + "name": "sitecrashes", + "id": "/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/sites/BuggyBakery/slots/staging/diagnostics/availability/detectors/sitecrashes", + "properties": { + "description": null, + "displayName": "Site Crash Events", + "isEnabled": true, + "rank": 9 + } + }, + { + "name": "deployment", + "id": "/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/sites/BuggyBakery/slots/staging/diagnostics/availability/detectors/deployment", + "properties": { + "description": null, + "displayName": "Site Deployments", + "isEnabled": true, + "rank": 7 + } + } + ] + } + } + }, + "operationId": "Diagnostics_ListSiteDetectors", + "title": "List App Slot Detectors" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/Diagnostics_ListSiteDetectorsSlot_Slot.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/Diagnostics_ListSiteDetectorsSlot_Slot.json new file mode 100644 index 000000000000..fe17710b78fc --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/Diagnostics_ListSiteDetectorsSlot_Slot.json @@ -0,0 +1,60 @@ +{ + "parameters": { + "api-version": "2025-03-01", + "diagnosticCategory": "availability", + "resourceGroupName": "Sample-WestUSResourceGroup", + "siteName": "SampleApp", + "slot": "staging", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "servicehealth", + "id": "/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/sites/BuggyBakery/slots/staging/diagnostics/availability/detectors/servicehealth", + "properties": { + "description": null, + "displayName": "Service Health", + "isEnabled": true, + "rank": 1 + } + }, + { + "name": "siteswap", + "id": "/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/sites/BuggyBakery/slots/staging/diagnostics/availability/detectors/siteswap", + "properties": { + "description": null, + "displayName": "Site Swap Operations", + "isEnabled": true, + "rank": 8 + } + }, + { + "name": "sitecrashes", + "id": "/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/sites/BuggyBakery/slots/staging/diagnostics/availability/detectors/sitecrashes", + "properties": { + "description": null, + "displayName": "Site Crash Events", + "isEnabled": true, + "rank": 9 + } + }, + { + "name": "deployment", + "id": "/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/sites/BuggyBakery/slots/staging/diagnostics/availability/detectors/deployment", + "properties": { + "description": null, + "displayName": "Site Deployments", + "isEnabled": true, + "rank": 7 + } + } + ] + } + } + }, + "operationId": "Diagnostics_ListSiteDetectorsSlot", + "title": "List App Slot Detectors" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/Diagnostics_ListSiteDetectors_Slot.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/Diagnostics_ListSiteDetectors_Slot.json new file mode 100644 index 000000000000..3dc91b004de2 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/Diagnostics_ListSiteDetectors_Slot.json @@ -0,0 +1,200 @@ +{ + "parameters": { + "api-version": "2025-03-01", + "diagnosticCategory": "availability", + "resourceGroupName": "Sample-WestUSResourceGroup", + "siteName": "SampleApp", + "slot": "Production", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "servicehealth", + "id": "/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/sites/BuggyBakery/diagnostics/availability/detectors/servicehealth", + "properties": { + "description": null, + "displayName": "Service Health", + "isEnabled": true, + "rank": 1 + } + }, + { + "name": "siteswap", + "id": "/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/sites/BuggyBakery/diagnostics/availability/detectors/siteswap", + "properties": { + "description": null, + "displayName": "Site Swap Operations", + "isEnabled": true, + "rank": 8 + } + }, + { + "name": "sitecrashes", + "id": "/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/sites/BuggyBakery/diagnostics/availability/detectors/sitecrashes", + "properties": { + "description": null, + "displayName": "Site Crash Events", + "isEnabled": true, + "rank": 9 + } + }, + { + "name": "deployment", + "id": "/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/sites/BuggyBakery/diagnostics/availability/detectors/deployment", + "properties": { + "description": null, + "displayName": "Site Deployments", + "isEnabled": true, + "rank": 7 + } + }, + { + "name": "sitecpuanalysis", + "id": "/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/sites/BuggyBakery/diagnostics/availability/detectors/sitecpuanalysis", + "properties": { + "description": null, + "displayName": "CPU Analysis", + "isEnabled": true, + "rank": 3 + } + }, + { + "name": "sitememoryanalysis", + "id": "/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/sites/BuggyBakery/diagnostics/availability/detectors/sitememoryanalysis", + "properties": { + "description": null, + "displayName": "Physical Memory Analysis", + "isEnabled": true, + "rank": 3 + } + }, + { + "name": "committedmemoryusage", + "id": "/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/sites/BuggyBakery/diagnostics/availability/detectors/committedmemoryusage", + "properties": { + "description": null, + "displayName": "Committed Memory Usage", + "isEnabled": true, + "rank": 7 + } + }, + { + "name": "pagefileoperations", + "id": "/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/sites/BuggyBakery/diagnostics/availability/detectors/pagefileoperations", + "properties": { + "description": null, + "displayName": "Page File Operations", + "isEnabled": true, + "rank": 3 + } + }, + { + "name": "siterestartuserinitiated", + "id": "/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/sites/BuggyBakery/diagnostics/availability/detectors/siterestartuserinitiated", + "properties": { + "description": null, + "displayName": "User Initiated Site Restarts", + "isEnabled": true, + "rank": 14 + } + }, + { + "name": "siterestartsettingupdate", + "id": "/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/sites/BuggyBakery/diagnostics/availability/detectors/siterestartsettingupdate", + "properties": { + "description": null, + "displayName": "Config Update Site Restarts", + "isEnabled": true, + "rank": 12 + } + }, + { + "name": "frebanalysis", + "id": "/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/sites/BuggyBakery/diagnostics/availability/detectors/frebanalysis", + "properties": { + "description": null, + "displayName": "Freb Logs Analysis", + "isEnabled": true, + "rank": 6 + } + }, + { + "name": "workeravailability", + "id": "/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/sites/BuggyBakery/diagnostics/availability/detectors/workeravailability", + "properties": { + "description": null, + "displayName": "Worker Availability", + "isEnabled": true, + "rank": 11 + } + }, + { + "name": "sitelatency", + "id": "/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/sites/BuggyBakery/diagnostics/availability/detectors/sitelatency", + "properties": { + "description": null, + "displayName": "Site Latency", + "isEnabled": false, + "rank": 1005 + } + }, + { + "name": "threadcount", + "id": "/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/sites/BuggyBakery/diagnostics/availability/detectors/threadcount", + "properties": { + "description": null, + "displayName": "Thread Count", + "isEnabled": true, + "rank": 23 + } + }, + { + "name": "failedrequestsperuri", + "id": "/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/sites/BuggyBakery/diagnostics/availability/detectors/failedrequestsperuri", + "properties": { + "description": null, + "displayName": "Failed Requests Per URI", + "isEnabled": true, + "rank": 998 + } + }, + { + "name": "autoheal", + "id": "/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/sites/BuggyBakery/diagnostics/availability/detectors/autoheal", + "properties": { + "description": null, + "displayName": "AutoHeal", + "isEnabled": true, + "rank": 21 + } + }, + { + "name": "loganalyzer", + "id": "/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/sites/BuggyBakery/diagnostics/availability/detectors/loganalyzer", + "properties": { + "description": null, + "displayName": "PHP Log Analyzer", + "isEnabled": true, + "rank": 26 + } + }, + { + "name": "aspnetcore", + "id": "/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/sites/BuggyBakery/diagnostics/availability/detectors/aspnetcore", + "properties": { + "description": null, + "displayName": "ASP.NET Core", + "isEnabled": true, + "rank": 5 + } + } + ] + } + } + }, + "operationId": "Diagnostics_ListSiteDetectorsSlot", + "title": "List App Detectors" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/Diagnostics_ListSiteDiagnosticCategories.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/Diagnostics_ListSiteDiagnosticCategories.json new file mode 100644 index 000000000000..773404b3965a --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/Diagnostics_ListSiteDiagnosticCategories.json @@ -0,0 +1,26 @@ +{ + "parameters": { + "api-version": "2025-03-01", + "resourceGroupName": "Sample-WestUSResourceGroup", + "siteName": "SampleApp", + "slot": "Production", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "availability", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/Sample-WestUSResourceGroup/providers/Microsoft.Web/sites/SampleApp/diagnostics/availability", + "properties": { + "description": "Availability and Perfomance Diagnostics" + } + } + ] + } + } + }, + "operationId": "Diagnostics_ListSiteDiagnosticCategories", + "title": "List App Diagnostic Categories" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/Diagnostics_ListSiteDiagnosticCategoriesSlot.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/Diagnostics_ListSiteDiagnosticCategoriesSlot.json new file mode 100644 index 000000000000..6d3c2a97c6df --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/Diagnostics_ListSiteDiagnosticCategoriesSlot.json @@ -0,0 +1,26 @@ +{ + "parameters": { + "api-version": "2025-03-01", + "resourceGroupName": "Sample-WestUSResourceGroup", + "siteName": "SampleApp", + "slot": "staging", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "availability", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/Sample-WestUSResourceGroup/providers/Microsoft.Web/sites/SampleApp/slots/staging/diagnostics/availability", + "properties": { + "description": "Availability and Perfomance Diagnostics" + } + } + ] + } + } + }, + "operationId": "Diagnostics_ListSiteDiagnosticCategories", + "title": "List App Slot Diagnostic Categories" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/Diagnostics_ListSiteDiagnosticCategoriesSlot_Slot.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/Diagnostics_ListSiteDiagnosticCategoriesSlot_Slot.json new file mode 100644 index 000000000000..feaf24e11b07 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/Diagnostics_ListSiteDiagnosticCategoriesSlot_Slot.json @@ -0,0 +1,26 @@ +{ + "parameters": { + "api-version": "2025-03-01", + "resourceGroupName": "Sample-WestUSResourceGroup", + "siteName": "SampleApp", + "slot": "staging", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "availability", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/Sample-WestUSResourceGroup/providers/Microsoft.Web/sites/SampleApp/slots/staging/diagnostics/availability", + "properties": { + "description": "Availability and Perfomance Diagnostics" + } + } + ] + } + } + }, + "operationId": "Diagnostics_ListSiteDiagnosticCategoriesSlot", + "title": "List App Slot Diagnostic Categories" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/Diagnostics_ListSiteDiagnosticCategories_Slot.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/Diagnostics_ListSiteDiagnosticCategories_Slot.json new file mode 100644 index 000000000000..cab49be50f2e --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/Diagnostics_ListSiteDiagnosticCategories_Slot.json @@ -0,0 +1,26 @@ +{ + "parameters": { + "api-version": "2025-03-01", + "resourceGroupName": "Sample-WestUSResourceGroup", + "siteName": "SampleApp", + "slot": "Production", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "availability", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/Sample-WestUSResourceGroup/providers/Microsoft.Web/sites/SampleApp/diagnostics/availability", + "properties": { + "description": "Availability and Perfomance Diagnostics" + } + } + ] + } + } + }, + "operationId": "Diagnostics_ListSiteDiagnosticCategoriesSlot", + "title": "List App Diagnostic Categories" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/GenerateStaticSiteWorkflowPreview.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/GenerateStaticSiteWorkflowPreview.json new file mode 100644 index 000000000000..54c3980652b2 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/GenerateStaticSiteWorkflowPreview.json @@ -0,0 +1,31 @@ +{ + "parameters": { + "api-version": "2025-03-01", + "location": "West US 2", + "staticSitesWorkflowPreviewRequest": { + "properties": { + "branch": "master", + "buildProperties": { + "apiLocation": "api", + "appArtifactLocation": "build", + "appLocation": "app" + }, + "repositoryUrl": "https://github.com/username/RepoName" + } + }, + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": { + "properties": { + "path": ".github/workflows/azure-static-web-apps-.yml", + "contents": "base64encodedworkflowcontentspreview" + } + }, + "headers": {} + } + }, + "operationId": "StaticSites_PreviewWorkflow", + "title": "Generates a preview workflow file for the static site" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/GetAllStaticSites.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/GetAllStaticSites.json new file mode 100644 index 000000000000..0ad5ac19e9ff --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/GetAllStaticSites.json @@ -0,0 +1,40 @@ +{ + "parameters": { + "api-version": "2025-03-01", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": { + "nextLink": null, + "value": [ + { + "name": "testStaticSite0", + "type": "Microsoft.Web/staticSites", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/staticSites/testStaticSite0", + "location": "West US 2", + "properties": { + "allowConfigFileUpdates": true, + "branch": "demo", + "contentDistributionEndpoint": "", + "customDomains": [], + "defaultHostname": "happy-sea-15afae3e.azurestaticwebsites.net", + "keyVaultReferenceIdentity": "SystemAssigned", + "privateEndpointConnections": [], + "repositoryUrl": "https://github.com/username/repo", + "stagingEnvironmentPolicy": "Enabled", + "userProvidedFunctionApps": [] + }, + "sku": { + "name": "Standard", + "tier": "Standard" + } + } + ] + }, + "headers": {} + } + }, + "operationId": "StaticSites_List", + "title": "Get all static sites in a subscription" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/GetAppServicePlan.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/GetAppServicePlan.json new file mode 100644 index 000000000000..295f0446dd31 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/GetAppServicePlan.json @@ -0,0 +1,42 @@ +{ + "parameters": { + "name": "testsf6141", + "api-version": "2025-03-01", + "resourceGroupName": "testrg123", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": { + "name": "testsf6141", + "type": "Microsoft.Web/serverfarms", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/serverfarms/testsf6141", + "kind": "app", + "location": "East US", + "properties": { + "geoRegion": "East US", + "isSpot": false, + "maximumNumberOfWorkers": 20, + "numberOfSites": 4, + "numberOfWorkers": 19, + "provisioningState": "Succeeded", + "reserved": false, + "status": "Ready", + "targetWorkerCount": 0, + "targetWorkerSizeId": 0 + }, + "sku": { + "name": "P1", + "capacity": 1, + "family": "P", + "size": "P1", + "tier": "Premium" + } + }, + "headers": {} + }, + "404": {} + }, + "operationId": "AppServicePlans_Get", + "title": "Get App Service plan" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/GetAseCustomDnsSuffixConfiguration.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/GetAseCustomDnsSuffixConfiguration.json new file mode 100644 index 000000000000..f7b299c769cd --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/GetAseCustomDnsSuffixConfiguration.json @@ -0,0 +1,27 @@ +{ + "parameters": { + "name": "test-ase", + "api-version": "2025-03-01", + "resourceGroupName": "test-rg", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": { + "name": "customDnsSuffix", + "type": "Microsoft.Web/hostingEnvironments/configurations/customdnssuffix", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-rg/providers/Microsoft.Web/hostingEnvironments/test-ase/configurations/customdnssuffix", + "properties": { + "certificateUrl": "https://test-kv.vault.azure.net/secrets/contosocert", + "dnsSuffix": "contoso.com", + "keyVaultReferenceIdentity": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourcegroups/test-rg/providers/microsoft.managedidentity/userassignedidentities/test-user-mi", + "provisioningDetails": null, + "provisioningState": "Succeeded" + } + }, + "headers": {} + } + }, + "operationId": "AppServiceEnvironments_GetAseCustomDnsSuffixConfiguration", + "title": "Get ASE custom DNS suffix configuration" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/GetAuthSettingsV2WithoutSecrets.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/GetAuthSettingsV2WithoutSecrets.json new file mode 100644 index 000000000000..43591437c9ca --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/GetAuthSettingsV2WithoutSecrets.json @@ -0,0 +1,88 @@ +{ + "parameters": { + "name": "sitef6141", + "api-version": "2025-03-01", + "resourceGroupName": "testrg123", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": { + "name": "authsettingsv2", + "type": "Microsoft.Web/sites/authsettingsv2", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/sitef6141/config/authsettingsv2", + "kind": "app", + "properties": { + "globalValidation": { + "excludedPaths": [ + "/nosecrets/Path" + ], + "requireAuthentication": true, + "unauthenticatedClientAction": "Return403" + }, + "httpSettings": { + "forwardProxy": { + "convention": "Standard", + "customHostHeaderName": "authHeader", + "customProtoHeaderName": "customProtoHeader" + }, + "requireHttps": true, + "routes": { + "apiPrefix": "/authv2/" + } + }, + "identityProviders": { + "google": { + "enabled": true, + "login": { + "scopes": [ + "admin" + ] + }, + "registration": { + "clientId": "42d795a9-8abb-4d06-8534-39528af40f8e.apps.googleusercontent.com", + "clientSecretSettingName": "ClientSecret" + }, + "validation": { + "allowedAudiences": [ + "https://example.com" + ] + } + } + }, + "login": { + "allowedExternalRedirectUrls": [ + "https://someurl.com" + ], + "cookieExpiration": { + "convention": "IdentityProviderDerived", + "timeToExpiration": "2022:09-01T00:00Z" + }, + "nonce": { + "validateNonce": true + }, + "preserveUrlFragmentsForLogins": true, + "routes": { + "logoutEndpoint": "https://app.com/logout" + }, + "tokenStore": { + "enabled": true, + "fileSystem": { + "directory": "/wwwroot/sites/example" + }, + "tokenRefreshExtensionHours": 96 + } + }, + "platform": { + "configFilePath": "/auth/config.json", + "enabled": true, + "runtimeVersion": "~1" + } + } + }, + "headers": {} + } + }, + "operationId": "WebApps_GetAuthSettingsV2WithoutSecrets", + "title": "List Auth Settings without Secrets" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/GetCertificate.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/GetCertificate.json new file mode 100644 index 000000000000..6ab059d5bd2f --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/GetCertificate.json @@ -0,0 +1,32 @@ +{ + "parameters": { + "name": "testc6282", + "api-version": "2025-03-01", + "resourceGroupName": "testrg123", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": { + "name": "testc6282", + "type": "Microsoft.Web/certificates", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/certificates/testc6282", + "location": "East US", + "properties": { + "expirationDate": "2039-12-31T23:59:59+00:00", + "friendlyName": "", + "hostNames": [ + "ServerCert" + ], + "issueDate": "2015-11-12T23:40:25+00:00", + "issuer": "CACert", + "subjectName": "ServerCert", + "thumbprint": "FE703D7411A44163B6D32B3AD9B03E175886EBFE" + } + }, + "headers": {} + } + }, + "operationId": "Certificates_Get", + "title": "Get Certificate" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/GetDeletedWebApp.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/GetDeletedWebApp.json new file mode 100644 index 000000000000..161a4ffcde27 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/GetDeletedWebApp.json @@ -0,0 +1,29 @@ +{ + "parameters": { + "api-version": "2025-03-01", + "deletedSiteId": "9", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": { + "name": "wussite6", + "type": "Microsoft.Web/deletedSites", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg1/providers/Microsoft.Web/locations/West US 2/deletedwebapps/wussite6", + "properties": { + "deletedSiteId": 9, + "deletedSiteName": "wussite6", + "deletedTimestamp": "2019-05-09T22:29:05.1337007", + "geoRegionName": "West US 2", + "kind": "app", + "resourceGroup": "rg1", + "slot": "Production", + "subscription": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + } + }, + "headers": {} + } + }, + "operationId": "Global_GetDeletedWebApp", + "title": "Get Deleted Web App" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/GetDeletedWebAppByLocation.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/GetDeletedWebAppByLocation.json new file mode 100644 index 000000000000..ddad3cdaaab6 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/GetDeletedWebAppByLocation.json @@ -0,0 +1,30 @@ +{ + "parameters": { + "api-version": "2025-03-01", + "deletedSiteId": "9", + "location": "West US 2", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": { + "name": "wussite6", + "type": "Microsoft.Web/locations/deletedSites", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg1/providers/Microsoft.Web/locations/West US 2/deletedwebapps/wussite6", + "properties": { + "deletedSiteId": 9, + "deletedSiteName": "wussite6", + "deletedTimestamp": "2019-05-09T22:29:05.1337007", + "geoRegionName": "West US 2", + "kind": "app", + "resourceGroup": "rg1", + "slot": "Production", + "subscription": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + } + }, + "headers": {} + } + }, + "operationId": "DeletedWebApps_GetDeletedWebAppByLocation", + "title": "Get Deleted Web App by Location" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/GetDeletedWebAppSnapshots.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/GetDeletedWebAppSnapshots.json new file mode 100644 index 000000000000..1ab34c7e17b0 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/GetDeletedWebAppSnapshots.json @@ -0,0 +1,24 @@ +{ + "parameters": { + "api-version": "2025-03-01", + "deletedSiteId": "9", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": [ + { + "name": "wussite6", + "type": "Microsoft.Web/locations/deletedSites", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg1/providers/Microsoft.Web/locations/West US 2/deletedwebapps/wussite6/snapshots/9", + "properties": { + "time": "2019-05-09T22:29:05.1337007" + } + } + ], + "headers": {} + } + }, + "operationId": "Global_GetDeletedWebAppSnapshots", + "title": "Get Deleted Web App Snapshots" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/GetFunctionAppStacks.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/GetFunctionAppStacks.json new file mode 100644 index 000000000000..c03708d7c63d --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/GetFunctionAppStacks.json @@ -0,0 +1,781 @@ +{ + "parameters": { + "api-version": "2025-03-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "dotnet", + "type": "Microsoft.Web/functionAppStacks", + "id": "/providers/Microsoft.Web/functionAppStacks/dotnet", + "properties": { + "displayText": ".NET", + "majorVersions": [ + { + "displayText": ".NET Core 3", + "minorVersions": [ + { + "displayText": ".NET Core 3.1", + "stackSettings": { + "linuxRuntimeSettings": { + "appInsightsSettings": { + "isSupported": true + }, + "appSettingsDictionary": { + "FUNCTIONS_WORKER_RUNTIME": "dotnet" + }, + "gitHubActionSettings": { + "isSupported": true, + "supportedVersion": "3.1.301" + }, + "remoteDebuggingSupported": false, + "runtimeVersion": "dotnet|3.1", + "siteConfigPropertiesDictionary": { + "linuxFxVersion": "dotnet|3.1", + "use32BitWorkerProcess": false + }, + "supportedFunctionsExtensionVersions": [ + "~3" + ] + }, + "windowsRuntimeSettings": { + "appInsightsSettings": { + "isSupported": true + }, + "appSettingsDictionary": { + "FUNCTIONS_WORKER_RUNTIME": "dotnet" + }, + "gitHubActionSettings": { + "isSupported": true, + "supportedVersion": "3.1.301" + }, + "remoteDebuggingSupported": false, + "runtimeVersion": "3.1", + "siteConfigPropertiesDictionary": { + "use32BitWorkerProcess": true + }, + "supportedFunctionsExtensionVersions": [ + "~3" + ] + } + }, + "value": "3.1" + } + ], + "value": "3" + }, + { + "displayText": ".NET Core 2", + "minorVersions": [ + { + "displayText": ".NET Core 2.2", + "stackSettings": { + "linuxRuntimeSettings": { + "appInsightsSettings": { + "isSupported": true + }, + "appSettingsDictionary": { + "FUNCTIONS_WORKER_RUNTIME": "dotnet" + }, + "gitHubActionSettings": { + "isSupported": true, + "supportedVersion": "2.2.207" + }, + "remoteDebuggingSupported": false, + "runtimeVersion": "dotnet|2.2", + "siteConfigPropertiesDictionary": { + "linuxFxVersion": "dotnet|2.2", + "use32BitWorkerProcess": false + }, + "supportedFunctionsExtensionVersions": [ + "~2" + ] + }, + "windowsRuntimeSettings": { + "appInsightsSettings": { + "isSupported": true + }, + "appSettingsDictionary": { + "FUNCTIONS_WORKER_RUNTIME": "dotnet" + }, + "gitHubActionSettings": { + "isSupported": true, + "supportedVersion": "2.2.207" + }, + "remoteDebuggingSupported": false, + "runtimeVersion": "2.2", + "siteConfigPropertiesDictionary": { + "use32BitWorkerProcess": true + }, + "supportedFunctionsExtensionVersions": [ + "~2" + ] + } + }, + "value": "2.2" + } + ], + "value": "2" + }, + { + "displayText": ".NET Framework 4", + "minorVersions": [ + { + "displayText": ".NET Framework 4.7", + "stackSettings": { + "windowsRuntimeSettings": { + "appInsightsSettings": { + "isSupported": true + }, + "appSettingsDictionary": {}, + "gitHubActionSettings": { + "isSupported": false + }, + "remoteDebuggingSupported": false, + "runtimeVersion": "4.7", + "siteConfigPropertiesDictionary": { + "use32BitWorkerProcess": true + }, + "supportedFunctionsExtensionVersions": [ + "~1" + ] + } + }, + "value": "4.7" + } + ], + "value": "2" + } + ], + "preferredOs": "Windows", + "value": "dotnet" + } + }, + { + "name": "node", + "type": "Microsoft.Web/functionAppStacks", + "id": "/providers/Microsoft.Web/functionAppStacks/node", + "properties": { + "displayText": "Node.js", + "majorVersions": [ + { + "displayText": "Node.js 14", + "minorVersions": [ + { + "displayText": "Node.js 14 LTS", + "stackSettings": { + "linuxRuntimeSettings": { + "appInsightsSettings": { + "isSupported": true + }, + "appSettingsDictionary": { + "FUNCTIONS_WORKER_RUNTIME": "node" + }, + "gitHubActionSettings": { + "isSupported": true, + "supportedVersion": "14.x" + }, + "isHidden": true, + "isPreview": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "Node|14", + "siteConfigPropertiesDictionary": { + "linuxFxVersion": "Node|14", + "use32BitWorkerProcess": false + }, + "supportedFunctionsExtensionVersions": [ + "~3" + ] + }, + "windowsRuntimeSettings": { + "appInsightsSettings": { + "isSupported": true + }, + "appSettingsDictionary": { + "FUNCTIONS_WORKER_RUNTIME": "node", + "WEBSITE_NODE_DEFAULT_VERSION": "~14" + }, + "gitHubActionSettings": { + "isSupported": true, + "supportedVersion": "14.x" + }, + "isHidden": true, + "isPreview": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "~14", + "siteConfigPropertiesDictionary": { + "use32BitWorkerProcess": true + }, + "supportedFunctionsExtensionVersions": [ + "~3" + ] + } + }, + "value": "14 LTS" + } + ], + "value": "14" + }, + { + "displayText": "Node.js 12", + "minorVersions": [ + { + "displayText": "Node.js 12 LTS", + "stackSettings": { + "linuxRuntimeSettings": { + "appInsightsSettings": { + "isSupported": true + }, + "appSettingsDictionary": { + "FUNCTIONS_WORKER_RUNTIME": "node" + }, + "gitHubActionSettings": { + "isSupported": true, + "supportedVersion": "12.x" + }, + "remoteDebuggingSupported": false, + "runtimeVersion": "Node|12", + "siteConfigPropertiesDictionary": { + "linuxFxVersion": "Node|12", + "use32BitWorkerProcess": false + }, + "supportedFunctionsExtensionVersions": [ + "~3" + ] + }, + "windowsRuntimeSettings": { + "appInsightsSettings": { + "isSupported": true + }, + "appSettingsDictionary": { + "FUNCTIONS_WORKER_RUNTIME": "node", + "WEBSITE_NODE_DEFAULT_VERSION": "~12" + }, + "gitHubActionSettings": { + "isSupported": true, + "supportedVersion": "12.x" + }, + "remoteDebuggingSupported": false, + "runtimeVersion": "~12", + "siteConfigPropertiesDictionary": { + "use32BitWorkerProcess": true + }, + "supportedFunctionsExtensionVersions": [ + "~3" + ] + } + }, + "value": "12 LTS" + } + ], + "value": "12" + }, + { + "displayText": "Node.js 10", + "minorVersions": [ + { + "displayText": "Node.js 10 LTS", + "stackSettings": { + "linuxRuntimeSettings": { + "appInsightsSettings": { + "isSupported": true + }, + "appSettingsDictionary": { + "FUNCTIONS_WORKER_RUNTIME": "node" + }, + "gitHubActionSettings": { + "isSupported": true, + "supportedVersion": "10.x" + }, + "remoteDebuggingSupported": false, + "runtimeVersion": "Node|10", + "siteConfigPropertiesDictionary": { + "linuxFxVersion": "Node|10", + "use32BitWorkerProcess": false + }, + "supportedFunctionsExtensionVersions": [ + "~2", + "~3" + ] + }, + "windowsRuntimeSettings": { + "appInsightsSettings": { + "isSupported": true + }, + "appSettingsDictionary": { + "FUNCTIONS_WORKER_RUNTIME": "node", + "WEBSITE_NODE_DEFAULT_VERSION": "~10" + }, + "gitHubActionSettings": { + "isSupported": true, + "supportedVersion": "10.x" + }, + "remoteDebuggingSupported": false, + "runtimeVersion": "~10", + "siteConfigPropertiesDictionary": { + "use32BitWorkerProcess": true + }, + "supportedFunctionsExtensionVersions": [ + "~2", + "~3" + ] + } + }, + "value": "10 LTS" + } + ], + "value": "10" + }, + { + "displayText": "Node.js 8", + "minorVersions": [ + { + "displayText": "Node.js 8 LTS", + "stackSettings": { + "windowsRuntimeSettings": { + "appInsightsSettings": { + "isSupported": true + }, + "appSettingsDictionary": { + "FUNCTIONS_WORKER_RUNTIME": "node", + "WEBSITE_NODE_DEFAULT_VERSION": "~8" + }, + "gitHubActionSettings": { + "isSupported": true, + "supportedVersion": "8.x" + }, + "remoteDebuggingSupported": false, + "runtimeVersion": "~8", + "siteConfigPropertiesDictionary": { + "use32BitWorkerProcess": true + }, + "supportedFunctionsExtensionVersions": [ + "~2" + ] + } + }, + "value": "8 LTS" + } + ], + "value": "8" + }, + { + "displayText": "Node.js 6", + "minorVersions": [ + { + "displayText": "Node.js 6 LTS", + "stackSettings": { + "windowsRuntimeSettings": { + "appInsightsSettings": { + "isSupported": true + }, + "appSettingsDictionary": { + "WEBSITE_NODE_DEFAULT_VERSION": "~6" + }, + "gitHubActionSettings": { + "isSupported": false + }, + "remoteDebuggingSupported": false, + "runtimeVersion": "~6", + "siteConfigPropertiesDictionary": { + "use32BitWorkerProcess": true + }, + "supportedFunctionsExtensionVersions": [ + "~1" + ] + } + }, + "value": "6 LTS" + } + ], + "value": "6" + } + ], + "preferredOs": "Windows", + "value": "node" + } + }, + { + "name": "python", + "type": "Microsoft.Web/functionAppStacks", + "id": "/providers/Microsoft.Web/functionAppStacks/python", + "properties": { + "displayText": "Python", + "majorVersions": [ + { + "displayText": "Python 3", + "minorVersions": [ + { + "displayText": "Python 3.8", + "stackSettings": { + "linuxRuntimeSettings": { + "appInsightsSettings": { + "isSupported": true + }, + "appSettingsDictionary": { + "FUNCTIONS_WORKER_RUNTIME": "python" + }, + "gitHubActionSettings": { + "isSupported": true, + "supportedVersion": "3.8" + }, + "remoteDebuggingSupported": false, + "runtimeVersion": "Python|3.8", + "siteConfigPropertiesDictionary": { + "linuxFxVersion": "Python|3.8", + "use32BitWorkerProcess": false + }, + "supportedFunctionsExtensionVersions": [ + "~3" + ] + } + }, + "value": "3.8" + }, + { + "displayText": "Python 3.7", + "stackSettings": { + "linuxRuntimeSettings": { + "appInsightsSettings": { + "isSupported": true + }, + "appSettingsDictionary": { + "FUNCTIONS_WORKER_RUNTIME": "python" + }, + "gitHubActionSettings": { + "isSupported": true, + "supportedVersion": "3.7" + }, + "remoteDebuggingSupported": false, + "runtimeVersion": "Python|3.7", + "siteConfigPropertiesDictionary": { + "linuxFxVersion": "Python|3.7", + "use32BitWorkerProcess": false + }, + "supportedFunctionsExtensionVersions": [ + "~2", + "~3" + ] + } + }, + "value": "3.7" + }, + { + "displayText": "Python 3.6", + "stackSettings": { + "linuxRuntimeSettings": { + "appInsightsSettings": { + "isSupported": true + }, + "appSettingsDictionary": { + "FUNCTIONS_WORKER_RUNTIME": "python" + }, + "gitHubActionSettings": { + "isSupported": true, + "supportedVersion": "3.6" + }, + "remoteDebuggingSupported": false, + "runtimeVersion": "Python|3.6", + "siteConfigPropertiesDictionary": { + "linuxFxVersion": "Python|3.6", + "use32BitWorkerProcess": false + }, + "supportedFunctionsExtensionVersions": [ + "~2", + "~3" + ] + } + }, + "value": "3.6" + } + ], + "value": "3" + } + ], + "preferredOs": "Linux", + "value": "python" + } + }, + { + "name": "java", + "type": "Microsoft.Web/functionAppStacks", + "id": "/providers/Microsoft.Web/functionAppStacks/java", + "properties": { + "displayText": "Java", + "majorVersions": [ + { + "displayText": "Java 11", + "minorVersions": [ + { + "displayText": "Java 11", + "stackSettings": { + "linuxRuntimeSettings": { + "appInsightsSettings": { + "isSupported": true + }, + "appSettingsDictionary": { + "FUNCTIONS_WORKER_RUNTIME": "java" + }, + "gitHubActionSettings": { + "isSupported": true, + "supportedVersion": "11" + }, + "isAutoUpdate": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "Java|11", + "siteConfigPropertiesDictionary": { + "linuxFxVersion": "Java|11", + "use32BitWorkerProcess": false + }, + "supportedFunctionsExtensionVersions": [ + "~3" + ] + }, + "windowsRuntimeSettings": { + "appInsightsSettings": { + "isSupported": true + }, + "appSettingsDictionary": { + "FUNCTIONS_WORKER_RUNTIME": "java" + }, + "gitHubActionSettings": { + "isSupported": true, + "supportedVersion": "11" + }, + "isAutoUpdate": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "11", + "siteConfigPropertiesDictionary": { + "javaVersion": "11", + "use32BitWorkerProcess": true + }, + "supportedFunctionsExtensionVersions": [ + "~3" + ] + } + }, + "value": "11.0" + } + ], + "value": "11" + }, + { + "displayText": "Java 8", + "minorVersions": [ + { + "displayText": "Java 8", + "stackSettings": { + "linuxRuntimeSettings": { + "appInsightsSettings": { + "isSupported": true + }, + "appSettingsDictionary": { + "FUNCTIONS_WORKER_RUNTIME": "java" + }, + "gitHubActionSettings": { + "isSupported": true, + "supportedVersion": "8" + }, + "isAutoUpdate": true, + "isDefault": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "Java|8", + "siteConfigPropertiesDictionary": { + "linuxFxVersion": "Java|8", + "use32BitWorkerProcess": false + }, + "supportedFunctionsExtensionVersions": [ + "~3" + ] + }, + "windowsRuntimeSettings": { + "appInsightsSettings": { + "isSupported": true + }, + "appSettingsDictionary": { + "FUNCTIONS_WORKER_RUNTIME": "java" + }, + "gitHubActionSettings": { + "isSupported": true, + "supportedVersion": "8" + }, + "isAutoUpdate": true, + "isDefault": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "1.8", + "siteConfigPropertiesDictionary": { + "javaVersion": "1.8", + "use32BitWorkerProcess": true + }, + "supportedFunctionsExtensionVersions": [ + "~2", + "~3" + ] + } + }, + "value": "8.0" + } + ], + "value": "8" + } + ], + "preferredOs": "Windows", + "value": "java" + } + }, + { + "name": "powershell", + "type": "Microsoft.Web/functionAppStacks", + "id": "/providers/Microsoft.Web/functionAppStacks/powershell", + "properties": { + "displayText": "PowerShell Core", + "majorVersions": [ + { + "displayText": "PowerShell 7", + "minorVersions": [ + { + "displayText": "PowerShell 7.0", + "stackSettings": { + "windowsRuntimeSettings": { + "appInsightsSettings": { + "isSupported": true + }, + "appSettingsDictionary": { + "FUNCTIONS_WORKER_RUNTIME": "powershell" + }, + "gitHubActionSettings": { + "isSupported": false + }, + "remoteDebuggingSupported": false, + "runtimeVersion": "~7", + "siteConfigPropertiesDictionary": { + "powerShellVersion": "~7", + "use32BitWorkerProcess": true + }, + "supportedFunctionsExtensionVersions": [ + "~3" + ] + } + }, + "value": "7.0" + } + ], + "value": "7" + }, + { + "displayText": "PowerShell Core 6", + "minorVersions": [ + { + "displayText": "PowerShell Core 6.2", + "stackSettings": { + "windowsRuntimeSettings": { + "appInsightsSettings": { + "isSupported": true + }, + "appSettingsDictionary": { + "FUNCTIONS_WORKER_RUNTIME": "powershell" + }, + "endOfLifeDate": "2020-10-04T00:00:00+00:00", + "gitHubActionSettings": { + "isSupported": false + }, + "isDeprecated": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "~6", + "siteConfigPropertiesDictionary": { + "powerShellVersion": "~6", + "use32BitWorkerProcess": true + }, + "supportedFunctionsExtensionVersions": [ + "~2", + "~3" + ] + } + }, + "value": "6.2" + } + ], + "value": "6" + } + ], + "preferredOs": "Windows", + "value": "powershell" + } + }, + { + "name": "custom", + "type": "Microsoft.Web/functionAppStacks", + "id": "/providers/Microsoft.Web/functionAppStacks/custom", + "properties": { + "displayText": "Custom", + "majorVersions": [ + { + "displayText": "Custom", + "minorVersions": [ + { + "displayText": "Custom Handler", + "stackSettings": { + "linuxRuntimeSettings": { + "appInsightsSettings": { + "isSupported": true + }, + "appSettingsDictionary": { + "FUNCTIONS_WORKER_RUNTIME": "custom" + }, + "gitHubActionSettings": { + "isSupported": false + }, + "isPreview": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "", + "siteConfigPropertiesDictionary": { + "linuxFxVersion": "", + "use32BitWorkerProcess": false + }, + "supportedFunctionsExtensionVersions": [ + "~3", + "~2" + ] + }, + "windowsRuntimeSettings": { + "appInsightsSettings": { + "isSupported": true + }, + "appSettingsDictionary": { + "FUNCTIONS_WORKER_RUNTIME": "custom" + }, + "gitHubActionSettings": { + "isSupported": false + }, + "isPreview": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "custom", + "siteConfigPropertiesDictionary": { + "use32BitWorkerProcess": true + }, + "supportedFunctionsExtensionVersions": [ + "~3", + "~2" + ] + } + }, + "value": "custom" + } + ], + "value": "custom" + } + ], + "preferredOs": "Windows", + "value": "custom" + } + } + ] + }, + "headers": {} + } + }, + "operationId": "Provider_GetFunctionAppStacks", + "title": "Get Function App Stacks" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/GetFunctionAppStacksForLocation.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/GetFunctionAppStacksForLocation.json new file mode 100644 index 000000000000..02fac5cfccda --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/GetFunctionAppStacksForLocation.json @@ -0,0 +1,788 @@ +{ + "parameters": { + "api-version": "2025-03-01", + "location": "westus" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "dotnet", + "type": "Microsoft.Web/locations/functionAppStacks", + "id": "/providers/Microsoft.Web/locations/functionAppStacks/dotnet", + "location": "westus", + "properties": { + "displayText": ".NET", + "majorVersions": [ + { + "displayText": ".NET Core 3", + "minorVersions": [ + { + "displayText": ".NET Core 3.1", + "stackSettings": { + "linuxRuntimeSettings": { + "appInsightsSettings": { + "isSupported": true + }, + "appSettingsDictionary": { + "FUNCTIONS_WORKER_RUNTIME": "dotnet" + }, + "gitHubActionSettings": { + "isSupported": true, + "supportedVersion": "3.1.301" + }, + "remoteDebuggingSupported": false, + "runtimeVersion": "dotnet|3.1", + "siteConfigPropertiesDictionary": { + "linuxFxVersion": "dotnet|3.1", + "use32BitWorkerProcess": false + }, + "supportedFunctionsExtensionVersions": [ + "~3" + ] + }, + "windowsRuntimeSettings": { + "appInsightsSettings": { + "isSupported": true + }, + "appSettingsDictionary": { + "FUNCTIONS_WORKER_RUNTIME": "dotnet" + }, + "gitHubActionSettings": { + "isSupported": true, + "supportedVersion": "3.1.301" + }, + "remoteDebuggingSupported": false, + "runtimeVersion": "3.1", + "siteConfigPropertiesDictionary": { + "use32BitWorkerProcess": true + }, + "supportedFunctionsExtensionVersions": [ + "~3" + ] + } + }, + "value": "3.1" + } + ], + "value": "3" + }, + { + "displayText": ".NET Core 2", + "minorVersions": [ + { + "displayText": ".NET Core 2.2", + "stackSettings": { + "linuxRuntimeSettings": { + "appInsightsSettings": { + "isSupported": true + }, + "appSettingsDictionary": { + "FUNCTIONS_WORKER_RUNTIME": "dotnet" + }, + "gitHubActionSettings": { + "isSupported": true, + "supportedVersion": "2.2.207" + }, + "remoteDebuggingSupported": false, + "runtimeVersion": "dotnet|2.2", + "siteConfigPropertiesDictionary": { + "linuxFxVersion": "dotnet|2.2", + "use32BitWorkerProcess": false + }, + "supportedFunctionsExtensionVersions": [ + "~2" + ] + }, + "windowsRuntimeSettings": { + "appInsightsSettings": { + "isSupported": true + }, + "appSettingsDictionary": { + "FUNCTIONS_WORKER_RUNTIME": "dotnet" + }, + "gitHubActionSettings": { + "isSupported": true, + "supportedVersion": "2.2.207" + }, + "remoteDebuggingSupported": false, + "runtimeVersion": "2.2", + "siteConfigPropertiesDictionary": { + "use32BitWorkerProcess": true + }, + "supportedFunctionsExtensionVersions": [ + "~2" + ] + } + }, + "value": "2.2" + } + ], + "value": "2" + }, + { + "displayText": ".NET Framework 4", + "minorVersions": [ + { + "displayText": ".NET Framework 4.7", + "stackSettings": { + "windowsRuntimeSettings": { + "appInsightsSettings": { + "isSupported": true + }, + "appSettingsDictionary": {}, + "gitHubActionSettings": { + "isSupported": false + }, + "remoteDebuggingSupported": false, + "runtimeVersion": "4.7", + "siteConfigPropertiesDictionary": { + "use32BitWorkerProcess": true + }, + "supportedFunctionsExtensionVersions": [ + "~1" + ] + } + }, + "value": "4.7" + } + ], + "value": "2" + } + ], + "preferredOs": "Windows", + "value": "dotnet" + } + }, + { + "name": "node", + "type": "Microsoft.Web/locations/functionAppStacks", + "id": "/providers/Microsoft.Web/locations/functionAppStacks/node", + "location": "westus", + "properties": { + "displayText": "Node.js", + "majorVersions": [ + { + "displayText": "Node.js 14", + "minorVersions": [ + { + "displayText": "Node.js 14 LTS", + "stackSettings": { + "linuxRuntimeSettings": { + "appInsightsSettings": { + "isSupported": true + }, + "appSettingsDictionary": { + "FUNCTIONS_WORKER_RUNTIME": "node" + }, + "gitHubActionSettings": { + "isSupported": true, + "supportedVersion": "14.x" + }, + "isHidden": true, + "isPreview": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "Node|14", + "siteConfigPropertiesDictionary": { + "linuxFxVersion": "Node|14", + "use32BitWorkerProcess": false + }, + "supportedFunctionsExtensionVersions": [ + "~3" + ] + }, + "windowsRuntimeSettings": { + "appInsightsSettings": { + "isSupported": true + }, + "appSettingsDictionary": { + "FUNCTIONS_WORKER_RUNTIME": "node", + "WEBSITE_NODE_DEFAULT_VERSION": "~14" + }, + "gitHubActionSettings": { + "isSupported": true, + "supportedVersion": "14.x" + }, + "isHidden": true, + "isPreview": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "~14", + "siteConfigPropertiesDictionary": { + "use32BitWorkerProcess": true + }, + "supportedFunctionsExtensionVersions": [ + "~3" + ] + } + }, + "value": "14 LTS" + } + ], + "value": "14" + }, + { + "displayText": "Node.js 12", + "minorVersions": [ + { + "displayText": "Node.js 12 LTS", + "stackSettings": { + "linuxRuntimeSettings": { + "appInsightsSettings": { + "isSupported": true + }, + "appSettingsDictionary": { + "FUNCTIONS_WORKER_RUNTIME": "node" + }, + "gitHubActionSettings": { + "isSupported": true, + "supportedVersion": "12.x" + }, + "remoteDebuggingSupported": false, + "runtimeVersion": "Node|12", + "siteConfigPropertiesDictionary": { + "linuxFxVersion": "Node|12", + "use32BitWorkerProcess": false + }, + "supportedFunctionsExtensionVersions": [ + "~3" + ] + }, + "windowsRuntimeSettings": { + "appInsightsSettings": { + "isSupported": true + }, + "appSettingsDictionary": { + "FUNCTIONS_WORKER_RUNTIME": "node", + "WEBSITE_NODE_DEFAULT_VERSION": "~12" + }, + "gitHubActionSettings": { + "isSupported": true, + "supportedVersion": "12.x" + }, + "remoteDebuggingSupported": false, + "runtimeVersion": "~12", + "siteConfigPropertiesDictionary": { + "use32BitWorkerProcess": true + }, + "supportedFunctionsExtensionVersions": [ + "~3" + ] + } + }, + "value": "12 LTS" + } + ], + "value": "12" + }, + { + "displayText": "Node.js 10", + "minorVersions": [ + { + "displayText": "Node.js 10 LTS", + "stackSettings": { + "linuxRuntimeSettings": { + "appInsightsSettings": { + "isSupported": true + }, + "appSettingsDictionary": { + "FUNCTIONS_WORKER_RUNTIME": "node" + }, + "gitHubActionSettings": { + "isSupported": true, + "supportedVersion": "10.x" + }, + "remoteDebuggingSupported": false, + "runtimeVersion": "Node|10", + "siteConfigPropertiesDictionary": { + "linuxFxVersion": "Node|10", + "use32BitWorkerProcess": false + }, + "supportedFunctionsExtensionVersions": [ + "~2", + "~3" + ] + }, + "windowsRuntimeSettings": { + "appInsightsSettings": { + "isSupported": true + }, + "appSettingsDictionary": { + "FUNCTIONS_WORKER_RUNTIME": "node", + "WEBSITE_NODE_DEFAULT_VERSION": "~10" + }, + "gitHubActionSettings": { + "isSupported": true, + "supportedVersion": "10.x" + }, + "remoteDebuggingSupported": false, + "runtimeVersion": "~10", + "siteConfigPropertiesDictionary": { + "use32BitWorkerProcess": true + }, + "supportedFunctionsExtensionVersions": [ + "~2", + "~3" + ] + } + }, + "value": "10 LTS" + } + ], + "value": "10" + }, + { + "displayText": "Node.js 8", + "minorVersions": [ + { + "displayText": "Node.js 8 LTS", + "stackSettings": { + "windowsRuntimeSettings": { + "appInsightsSettings": { + "isSupported": true + }, + "appSettingsDictionary": { + "FUNCTIONS_WORKER_RUNTIME": "node", + "WEBSITE_NODE_DEFAULT_VERSION": "~8" + }, + "gitHubActionSettings": { + "isSupported": true, + "supportedVersion": "8.x" + }, + "remoteDebuggingSupported": false, + "runtimeVersion": "~8", + "siteConfigPropertiesDictionary": { + "use32BitWorkerProcess": true + }, + "supportedFunctionsExtensionVersions": [ + "~2" + ] + } + }, + "value": "8 LTS" + } + ], + "value": "8" + }, + { + "displayText": "Node.js 6", + "minorVersions": [ + { + "displayText": "Node.js 6 LTS", + "stackSettings": { + "windowsRuntimeSettings": { + "appInsightsSettings": { + "isSupported": true + }, + "appSettingsDictionary": { + "WEBSITE_NODE_DEFAULT_VERSION": "~6" + }, + "gitHubActionSettings": { + "isSupported": false + }, + "remoteDebuggingSupported": false, + "runtimeVersion": "~6", + "siteConfigPropertiesDictionary": { + "use32BitWorkerProcess": true + }, + "supportedFunctionsExtensionVersions": [ + "~1" + ] + } + }, + "value": "6 LTS" + } + ], + "value": "6" + } + ], + "preferredOs": "Windows", + "value": "node" + } + }, + { + "name": "python", + "type": "Microsoft.Web/locations/functionAppStacks", + "id": "/providers/Microsoft.Web/locations/functionAppStacks/python", + "location": "westus", + "properties": { + "displayText": "Python", + "majorVersions": [ + { + "displayText": "Python 3", + "minorVersions": [ + { + "displayText": "Python 3.8", + "stackSettings": { + "linuxRuntimeSettings": { + "appInsightsSettings": { + "isSupported": true + }, + "appSettingsDictionary": { + "FUNCTIONS_WORKER_RUNTIME": "python" + }, + "gitHubActionSettings": { + "isSupported": true, + "supportedVersion": "3.8" + }, + "remoteDebuggingSupported": false, + "runtimeVersion": "Python|3.8", + "siteConfigPropertiesDictionary": { + "linuxFxVersion": "Python|3.8", + "use32BitWorkerProcess": false + }, + "supportedFunctionsExtensionVersions": [ + "~3" + ] + } + }, + "value": "3.8" + }, + { + "displayText": "Python 3.7", + "stackSettings": { + "linuxRuntimeSettings": { + "appInsightsSettings": { + "isSupported": true + }, + "appSettingsDictionary": { + "FUNCTIONS_WORKER_RUNTIME": "python" + }, + "gitHubActionSettings": { + "isSupported": true, + "supportedVersion": "3.7" + }, + "remoteDebuggingSupported": false, + "runtimeVersion": "Python|3.7", + "siteConfigPropertiesDictionary": { + "linuxFxVersion": "Python|3.7", + "use32BitWorkerProcess": false + }, + "supportedFunctionsExtensionVersions": [ + "~2", + "~3" + ] + } + }, + "value": "3.7" + }, + { + "displayText": "Python 3.6", + "stackSettings": { + "linuxRuntimeSettings": { + "appInsightsSettings": { + "isSupported": true + }, + "appSettingsDictionary": { + "FUNCTIONS_WORKER_RUNTIME": "python" + }, + "gitHubActionSettings": { + "isSupported": true, + "supportedVersion": "3.6" + }, + "remoteDebuggingSupported": false, + "runtimeVersion": "Python|3.6", + "siteConfigPropertiesDictionary": { + "linuxFxVersion": "Python|3.6", + "use32BitWorkerProcess": false + }, + "supportedFunctionsExtensionVersions": [ + "~2", + "~3" + ] + } + }, + "value": "3.6" + } + ], + "value": "3" + } + ], + "preferredOs": "Linux", + "value": "python" + } + }, + { + "name": "java", + "type": "Microsoft.Web/locations/functionAppStacks", + "id": "/providers/Microsoft.Web/locations/functionAppStacks/java", + "location": "westus", + "properties": { + "displayText": "Java", + "majorVersions": [ + { + "displayText": "Java 11", + "minorVersions": [ + { + "displayText": "Java 11", + "stackSettings": { + "linuxRuntimeSettings": { + "appInsightsSettings": { + "isSupported": true + }, + "appSettingsDictionary": { + "FUNCTIONS_WORKER_RUNTIME": "java" + }, + "gitHubActionSettings": { + "isSupported": true, + "supportedVersion": "11" + }, + "isAutoUpdate": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "Java|11", + "siteConfigPropertiesDictionary": { + "linuxFxVersion": "Java|11", + "use32BitWorkerProcess": false + }, + "supportedFunctionsExtensionVersions": [ + "~3" + ] + }, + "windowsRuntimeSettings": { + "appInsightsSettings": { + "isSupported": true + }, + "appSettingsDictionary": { + "FUNCTIONS_WORKER_RUNTIME": "java" + }, + "gitHubActionSettings": { + "isSupported": true, + "supportedVersion": "11" + }, + "isAutoUpdate": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "11", + "siteConfigPropertiesDictionary": { + "javaVersion": "11", + "use32BitWorkerProcess": true + }, + "supportedFunctionsExtensionVersions": [ + "~3" + ] + } + }, + "value": "11.0" + } + ], + "value": "11" + }, + { + "displayText": "Java 8", + "minorVersions": [ + { + "displayText": "Java 8", + "stackSettings": { + "linuxRuntimeSettings": { + "appInsightsSettings": { + "isSupported": true + }, + "appSettingsDictionary": { + "FUNCTIONS_WORKER_RUNTIME": "java" + }, + "gitHubActionSettings": { + "isSupported": true, + "supportedVersion": "8" + }, + "isAutoUpdate": true, + "isDefault": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "Java|8", + "siteConfigPropertiesDictionary": { + "linuxFxVersion": "Java|8", + "use32BitWorkerProcess": false + }, + "supportedFunctionsExtensionVersions": [ + "~3" + ] + }, + "windowsRuntimeSettings": { + "appInsightsSettings": { + "isSupported": true + }, + "appSettingsDictionary": { + "FUNCTIONS_WORKER_RUNTIME": "java" + }, + "gitHubActionSettings": { + "isSupported": true, + "supportedVersion": "8" + }, + "isAutoUpdate": true, + "isDefault": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "1.8", + "siteConfigPropertiesDictionary": { + "javaVersion": "1.8", + "use32BitWorkerProcess": true + }, + "supportedFunctionsExtensionVersions": [ + "~2", + "~3" + ] + } + }, + "value": "8.0" + } + ], + "value": "8" + } + ], + "preferredOs": "Windows", + "value": "java" + } + }, + { + "name": "powershell", + "type": "Microsoft.Web/locations/functionAppStacks", + "id": "/providers/Microsoft.Web/locations/functionAppStacks/powershell", + "location": "westus", + "properties": { + "displayText": "PowerShell Core", + "majorVersions": [ + { + "displayText": "PowerShell 7", + "minorVersions": [ + { + "displayText": "PowerShell 7.0", + "stackSettings": { + "windowsRuntimeSettings": { + "appInsightsSettings": { + "isSupported": true + }, + "appSettingsDictionary": { + "FUNCTIONS_WORKER_RUNTIME": "powershell" + }, + "gitHubActionSettings": { + "isSupported": false + }, + "remoteDebuggingSupported": false, + "runtimeVersion": "~7", + "siteConfigPropertiesDictionary": { + "powerShellVersion": "~7", + "use32BitWorkerProcess": true + }, + "supportedFunctionsExtensionVersions": [ + "~3" + ] + } + }, + "value": "7.0" + } + ], + "value": "7" + }, + { + "displayText": "PowerShell Core 6", + "minorVersions": [ + { + "displayText": "PowerShell Core 6.2", + "stackSettings": { + "windowsRuntimeSettings": { + "appInsightsSettings": { + "isSupported": true + }, + "appSettingsDictionary": { + "FUNCTIONS_WORKER_RUNTIME": "powershell" + }, + "endOfLifeDate": "2020-10-04T00:00:00+00:00", + "gitHubActionSettings": { + "isSupported": false + }, + "isDeprecated": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "~6", + "siteConfigPropertiesDictionary": { + "powerShellVersion": "~6", + "use32BitWorkerProcess": true + }, + "supportedFunctionsExtensionVersions": [ + "~2", + "~3" + ] + } + }, + "value": "6.2" + } + ], + "value": "6" + } + ], + "preferredOs": "Windows", + "value": "powershell" + } + }, + { + "name": "custom", + "type": "Microsoft.Web/locations/functionAppStacks", + "id": "/providers/Microsoft.Web/locations/functionAppStacks/custom", + "location": "westus", + "properties": { + "displayText": "Custom", + "majorVersions": [ + { + "displayText": "Custom", + "minorVersions": [ + { + "displayText": "Custom Handler", + "stackSettings": { + "linuxRuntimeSettings": { + "appInsightsSettings": { + "isSupported": true + }, + "appSettingsDictionary": { + "FUNCTIONS_WORKER_RUNTIME": "custom" + }, + "gitHubActionSettings": { + "isSupported": false + }, + "isPreview": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "", + "siteConfigPropertiesDictionary": { + "linuxFxVersion": "", + "use32BitWorkerProcess": false + }, + "supportedFunctionsExtensionVersions": [ + "~3", + "~2" + ] + }, + "windowsRuntimeSettings": { + "appInsightsSettings": { + "isSupported": true + }, + "appSettingsDictionary": { + "FUNCTIONS_WORKER_RUNTIME": "custom" + }, + "gitHubActionSettings": { + "isSupported": false + }, + "isPreview": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "custom", + "siteConfigPropertiesDictionary": { + "use32BitWorkerProcess": true + }, + "supportedFunctionsExtensionVersions": [ + "~3", + "~2" + ] + } + }, + "value": "custom" + } + ], + "value": "custom" + } + ], + "preferredOs": "Windows", + "value": "custom" + } + } + ] + }, + "headers": {} + } + }, + "operationId": "Provider_GetFunctionAppStacksForLocation", + "title": "Get Locations Function App Stacks" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/GetInboundNetworkDependenciesEndpoints.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/GetInboundNetworkDependenciesEndpoints.json new file mode 100644 index 000000000000..b70cf2d4180b --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/GetInboundNetworkDependenciesEndpoints.json @@ -0,0 +1,81 @@ +{ + "parameters": { + "name": "SampleAse", + "api-version": "2025-03-01", + "resourceGroupName": "Sample-WestUSResourceGroup", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": { + "nextLink": null, + "value": [ + { + "description": "App Service management", + "endpoints": [ + "70.37.57.58/32", + "157.55.208.185/32", + "23.102.188.65/32", + "191.236.154.88/32", + "52.174.22.21/32", + "13.94.149.179/32", + "13.94.143.126/32", + "13.94.141.115/32", + "52.178.195.197/32", + "52.178.190.65/32", + "52.178.184.149/32", + "52.178.177.147/32", + "13.75.127.117/32", + "40.83.125.161/32", + "40.83.121.56/32", + "40.83.120.64/32", + "52.187.56.50/32", + "52.187.63.37/32", + "52.187.59.251/32", + "52.187.63.19/32", + "52.165.158.140/32", + "52.165.152.214/32", + "52.165.154.193/32", + "52.165.153.122/32", + "104.44.129.255/32", + "104.44.134.255/32", + "104.44.129.243/32", + "104.44.129.141/32", + "65.52.193.203/32", + "70.37.89.222/32", + "13.64.115.203/32", + "52.225.177.153/32", + "65.52.172.237/32" + ], + "ports": [ + "454", + "455" + ] + }, + { + "description": "App Service Environment VIP", + "endpoints": [ + "52.247.209.18/32" + ], + "ports": [ + "454", + "455", + "16001" + ] + }, + { + "description": "App Service Environment subnet", + "endpoints": [ + "192.168.250.0/24" + ], + "ports": [ + "All" + ] + } + ] + } + } + }, + "operationId": "AppServiceEnvironments_GetInboundNetworkDependenciesEndpoints", + "title": "Get the network endpoints of all inbound dependencies of an App Service Environment." +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/GetKeyVaultReferencesForAppSetting.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/GetKeyVaultReferencesForAppSetting.json new file mode 100644 index 000000000000..3d717c49253f --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/GetKeyVaultReferencesForAppSetting.json @@ -0,0 +1,24 @@ +{ + "parameters": { + "name": "testc6282", + "api-version": "2025-03-01", + "appSettingKey": "setting", + "resourceGroupName": "testrg123", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/testc6282/config/configreferences/appsettings/setting", + "properties": { + "secretName": "secretName", + "secretVersion": "secretVersion", + "vaultName": "keyVaultName" + } + }, + "headers": {} + } + }, + "operationId": "WebApps_GetAppSettingKeyVaultReference", + "title": "Get Azure Key Vault app setting reference" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/GetKeyVaultReferencesForAppSettingSlot.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/GetKeyVaultReferencesForAppSettingSlot.json new file mode 100644 index 000000000000..5b7dfefc3e53 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/GetKeyVaultReferencesForAppSettingSlot.json @@ -0,0 +1,25 @@ +{ + "parameters": { + "name": "testc6282", + "api-version": "2025-03-01", + "appSettingKey": "setting", + "resourceGroupName": "testrg123", + "slot": "stage", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/testc6282/slots/stage/config/configreferences/appsettings/setting", + "properties": { + "secretName": "secretName", + "secretVersion": "secretVersion", + "vaultName": "keyVaultName" + } + }, + "headers": {} + } + }, + "operationId": "WebApps_GetAppSettingKeyVaultReferenceSlot", + "title": "Get Azure Key Vault slot app setting reference" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/GetKeyVaultReferencesForAppSettings.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/GetKeyVaultReferencesForAppSettings.json new file mode 100644 index 000000000000..08febc80fcab --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/GetKeyVaultReferencesForAppSettings.json @@ -0,0 +1,35 @@ +{ + "parameters": { + "name": "testc6282", + "api-version": "2025-03-01", + "resourceGroupName": "testrg123", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/testc6282/config/configreferences/appsettings/secretName", + "properties": { + "secretName": "secretName", + "secretVersion": "secretVersion", + "vaultName": "keyVaultName" + } + }, + { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/testc6282/config/configreferences/appsettings/secretName2", + "properties": { + "secretName": "secretName2", + "secretVersion": "secretVersion2", + "vaultName": "keyVaultName" + } + } + ] + }, + "headers": {} + } + }, + "operationId": "WebApps_GetAppSettingsKeyVaultReferences", + "title": "Get Azure Key Vault references for app settings" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/GetKeyVaultReferencesForAppSettingsSlot.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/GetKeyVaultReferencesForAppSettingsSlot.json new file mode 100644 index 000000000000..8546c8d09629 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/GetKeyVaultReferencesForAppSettingsSlot.json @@ -0,0 +1,36 @@ +{ + "parameters": { + "name": "testc6282", + "api-version": "2025-03-01", + "resourceGroupName": "testrg123", + "slot": "stage", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/testc6282/slots/stage/config/configreferences/appsettings/secretName", + "properties": { + "secretName": "secretName", + "secretVersion": "secretVersion", + "vaultName": "keyVaultName" + } + }, + { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/testc6282/slots/stage/config/configreferences/appsettings/secretName2", + "properties": { + "secretName": "secretName2", + "secretVersion": "secretVersion2", + "vaultName": "keyVaultName" + } + } + ] + }, + "headers": {} + } + }, + "operationId": "WebApps_GetAppSettingsKeyVaultReferencesSlot", + "title": "Get Azure Key Vault references for app settings for slot" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/GetLinkedBackendForStaticSite.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/GetLinkedBackendForStaticSite.json new file mode 100644 index 000000000000..7a3181b96475 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/GetLinkedBackendForStaticSite.json @@ -0,0 +1,27 @@ +{ + "parameters": { + "name": "testStaticSite0", + "api-version": "2025-03-01", + "linkedBackendName": "testBackend", + "resourceGroupName": "rg", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": { + "name": "testBackend", + "type": "Microsoft.Web/staticSites/builds/linkedBackends", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/staticSites/testStaticSite0/builds/default/linkedBackends/testBackend", + "properties": { + "backendResourceId": "/subscription/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/backendRg/providers/Microsoft.Web/sites/testBackend", + "createdOn": "2021-12-24T17:33:11.641Z", + "provisioningState": "Succeeded", + "region": "West US 2" + } + }, + "headers": {} + } + }, + "operationId": "StaticSites_GetLinkedBackend", + "title": "Get details of the linked backend registered with a static site by name." +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/GetLinkedBackendForStaticSiteBuild.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/GetLinkedBackendForStaticSiteBuild.json new file mode 100644 index 000000000000..5b57408b0603 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/GetLinkedBackendForStaticSiteBuild.json @@ -0,0 +1,28 @@ +{ + "parameters": { + "name": "testStaticSite0", + "api-version": "2025-03-01", + "environmentName": "default", + "linkedBackendName": "testBackend", + "resourceGroupName": "rg", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": { + "name": "testBackend", + "type": "Microsoft.Web/staticSites/builds/linkedBackends", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/staticSites/testStaticSite0/builds/default/linkedBackends/testBackend", + "properties": { + "backendResourceId": "/subscription/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/backendRg/providers/Microsoft.Web/sites/testBackend", + "createdOn": "2021-12-24T17:33:11.641Z", + "provisioningState": "Succeeded", + "region": "West US 2" + } + }, + "headers": {} + } + }, + "operationId": "StaticSites_GetLinkedBackendForBuild", + "title": "Get details of the linked backend registered with a static site build by name." +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/GetLinkedBackendsForStaticSite.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/GetLinkedBackendsForStaticSite.json new file mode 100644 index 000000000000..2293bc6f80bd --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/GetLinkedBackendsForStaticSite.json @@ -0,0 +1,31 @@ +{ + "parameters": { + "name": "testStaticSite0", + "api-version": "2025-03-01", + "resourceGroupName": "rg", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": { + "nextLink": null, + "value": [ + { + "name": "testBackend", + "type": "Microsoft.Web/staticSites/builds/linkedBackends", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/staticSites/testStaticSite0/builds/default/linkedBackends/testBackend", + "properties": { + "backendResourceId": "/subscription/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/functionRG/providers/Microsoft.Web/sites/testBackend", + "createdOn": "2020-03-04T17:33:11.641Z", + "provisioningState": "Succeeded", + "region": "West US 2" + } + } + ] + }, + "headers": {} + } + }, + "operationId": "StaticSites_GetLinkedBackends", + "title": "Get details of the linked backends registered with a static site." +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/GetLinkedBackendsForStaticSiteBuild.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/GetLinkedBackendsForStaticSiteBuild.json new file mode 100644 index 000000000000..918369152029 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/GetLinkedBackendsForStaticSiteBuild.json @@ -0,0 +1,33 @@ +{ + "parameters": { + "name": "testStaticSite0", + "api-version": "2025-03-01", + "environmentName": "default", + "linkedBackendName": "testBackend", + "resourceGroupName": "rg", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": { + "nextLink": null, + "value": [ + { + "name": "testBackend", + "type": "Microsoft.Web/staticSites/builds/linkedBackends", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/staticSites/testStaticSite0/builds/default/linkedBackends/testBackend", + "properties": { + "backendResourceId": "/subscription/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/functionRG/providers/Microsoft.Web/sites/testBackend", + "createdOn": "2020-03-04T17:33:11.641Z", + "provisioningState": "Succeeded", + "region": "West US 2" + } + } + ] + }, + "headers": {} + } + }, + "operationId": "StaticSites_GetLinkedBackendsForBuild", + "title": "Get details of the linked backends registered with a static site build." +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/GetOutboundNetworkDependenciesEndpoints.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/GetOutboundNetworkDependenciesEndpoints.json new file mode 100644 index 000000000000..858a9920269a --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/GetOutboundNetworkDependenciesEndpoints.json @@ -0,0 +1,804 @@ +{ + "parameters": { + "name": "SampleAse", + "api-version": "2025-03-01", + "resourceGroupName": "Sample-WestUSResourceGroup", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": { + "nextLink": null, + "value": [ + { + "category": "Azure Storage", + "endpoints": [ + { + "domainName": "blob.core.windows.net", + "endpointDetails": [ + { + "ipAddress": "52.183.104.36", + "isAccessible": true, + "latency": 42.0469, + "port": 80 + }, + { + "ipAddress": "52.183.104.36", + "isAccessible": true, + "latency": 41.7038, + "port": 443 + } + ] + }, + { + "domainName": "queue.core.windows.net", + "endpointDetails": [ + { + "ipAddress": "52.183.104.25", + "isAccessible": true, + "latency": 37.326, + "port": 80 + }, + { + "ipAddress": "52.183.104.25", + "isAccessible": true, + "latency": 37.513600000000004, + "port": 443 + } + ] + }, + { + "domainName": "table.core.windows.net", + "endpointDetails": [ + { + "ipAddress": "52.183.104.26", + "isAccessible": true, + "latency": 32.789, + "port": 80 + }, + { + "ipAddress": "52.183.104.26", + "isAccessible": true, + "latency": 1.8702, + "port": 443 + } + ] + }, + { + "domainName": "file.core.windows.net", + "endpointDetails": [ + { + "ipAddress": "52.183.104.28", + "isAccessible": true, + "latency": 36.7378, + "port": 80 + }, + { + "ipAddress": "52.183.104.28", + "isAccessible": true, + "latency": 36.7108, + "port": 443 + } + ] + }, + { + "domainName": "blob.core.windows.net", + "endpointDetails": [ + { + "ipAddress": "13.77.184.64", + "isAccessible": true, + "latency": 4.0261000000000005, + "port": 80 + }, + { + "ipAddress": "13.77.184.64", + "isAccessible": true, + "latency": 3.8264, + "port": 443 + } + ] + }, + { + "domainName": "queue.core.windows.net", + "endpointDetails": [ + { + "ipAddress": "13.77.184.73", + "isAccessible": true, + "latency": 40.8523, + "port": 80 + }, + { + "ipAddress": "13.77.184.73", + "isAccessible": true, + "latency": 40.7501, + "port": 443 + } + ] + }, + { + "domainName": "table.core.windows.net", + "endpointDetails": [ + { + "ipAddress": "13.77.184.74", + "isAccessible": true, + "latency": 1.2071, + "port": 80 + }, + { + "ipAddress": "13.77.184.74", + "isAccessible": true, + "latency": 38.2975, + "port": 443 + } + ] + }, + { + "domainName": "file.core.windows.net", + "endpointDetails": [ + { + "ipAddress": "13.77.184.76", + "isAccessible": true, + "latency": 59.383700000000005, + "port": 80 + }, + { + "ipAddress": "13.77.184.76", + "isAccessible": true, + "latency": 60.0775, + "port": 443 + } + ] + }, + { + "domainName": "blob.core.windows.net", + "endpointDetails": [ + { + "ipAddress": "13.77.184.64", + "isAccessible": true, + "latency": 3.5512, + "port": 80 + }, + { + "ipAddress": "13.77.184.64", + "isAccessible": true, + "latency": 2.6777, + "port": 443 + } + ] + }, + { + "domainName": "queue.core.windows.net", + "endpointDetails": [ + { + "ipAddress": "13.77.184.73", + "isAccessible": true, + "latency": 3.5204, + "port": 80 + }, + { + "ipAddress": "13.77.184.73", + "isAccessible": true, + "latency": 2.8193, + "port": 443 + } + ] + }, + { + "domainName": "table.core.windows.net", + "endpointDetails": [ + { + "ipAddress": "13.77.184.74", + "isAccessible": true, + "latency": 3.2720000000000002, + "port": 80 + }, + { + "ipAddress": "13.77.184.74", + "isAccessible": true, + "latency": 3.0147, + "port": 443 + } + ] + }, + { + "domainName": "file.core.windows.net", + "endpointDetails": [ + { + "ipAddress": "13.77.184.76", + "isAccessible": true, + "latency": 3.2387, + "port": 80 + }, + { + "ipAddress": "13.77.184.76", + "isAccessible": true, + "latency": 3.2804, + "port": 443 + } + ] + }, + { + "domainName": "blob.core.windows.net", + "endpointDetails": [ + { + "ipAddress": "13.66.176.16", + "isAccessible": true, + "latency": 43.025200000000005, + "port": 80 + }, + { + "ipAddress": "13.66.176.16", + "isAccessible": true, + "latency": 43.1683, + "port": 443 + } + ] + }, + { + "domainName": "queue.core.windows.net", + "endpointDetails": [ + { + "ipAddress": "13.66.176.25", + "isAccessible": true, + "latency": 41.8598, + "port": 80 + }, + { + "ipAddress": "13.66.176.25", + "isAccessible": true, + "latency": 41.9805, + "port": 443 + } + ] + }, + { + "domainName": "table.core.windows.net", + "endpointDetails": [ + { + "ipAddress": "13.66.176.26", + "isAccessible": true, + "latency": 30.542900000000003, + "port": 80 + }, + { + "ipAddress": "13.66.176.26", + "isAccessible": true, + "latency": 0.9832000000000001, + "port": 443 + } + ] + }, + { + "domainName": "file.core.windows.net", + "endpointDetails": [ + { + "ipAddress": "13.66.176.28", + "isAccessible": true, + "latency": 35.9562, + "port": 80 + }, + { + "ipAddress": "13.66.176.28", + "isAccessible": true, + "latency": 36.0643, + "port": 443 + } + ] + }, + { + "domainName": "blob.core.windows.net", + "endpointDetails": [ + { + "ipAddress": "13.77.184.64", + "isAccessible": true, + "latency": 3.2829, + "port": 80 + }, + { + "ipAddress": "13.77.184.64", + "isAccessible": true, + "latency": 2.3393, + "port": 443 + } + ] + }, + { + "domainName": "queue.core.windows.net", + "endpointDetails": [ + { + "ipAddress": "13.77.184.73", + "isAccessible": true, + "latency": 3.4103000000000003, + "port": 80 + }, + { + "ipAddress": "13.77.184.73", + "isAccessible": true, + "latency": 4.1032, + "port": 443 + } + ] + }, + { + "domainName": "table.core.windows.net", + "endpointDetails": [ + { + "ipAddress": "13.77.184.74", + "isAccessible": true, + "latency": 3.1141, + "port": 80 + }, + { + "ipAddress": "13.77.184.74", + "isAccessible": true, + "latency": 3.0247, + "port": 443 + } + ] + }, + { + "domainName": "file.core.windows.net", + "endpointDetails": [ + { + "ipAddress": "13.77.184.76", + "isAccessible": true, + "latency": 2.834, + "port": 80 + }, + { + "ipAddress": "13.77.184.76", + "isAccessible": true, + "latency": 2.8198000000000003, + "port": 443 + } + ] + }, + { + "domainName": "blob.core.windows.net", + "endpointDetails": [ + { + "ipAddress": "13.77.184.64", + "isAccessible": true, + "latency": 1.3855000000000002, + "port": 80 + }, + { + "ipAddress": "13.77.184.64", + "isAccessible": true, + "latency": 1.0594000000000001, + "port": 443 + } + ] + }, + { + "domainName": "queue.core.windows.net", + "endpointDetails": [ + { + "ipAddress": "13.77.184.73", + "isAccessible": true, + "latency": 2.4717000000000002, + "port": 80 + }, + { + "ipAddress": "13.77.184.73", + "isAccessible": true, + "latency": 2.4827, + "port": 443 + } + ] + }, + { + "domainName": "table.core.windows.net", + "endpointDetails": [ + { + "ipAddress": "13.77.184.74", + "isAccessible": true, + "latency": 3.395, + "port": 80 + }, + { + "ipAddress": "13.77.184.74", + "isAccessible": true, + "latency": 3.1701, + "port": 443 + } + ] + }, + { + "domainName": "file.core.windows.net", + "endpointDetails": [ + { + "ipAddress": "13.77.184.76", + "isAccessible": true, + "latency": 1.4308, + "port": 80 + }, + { + "ipAddress": "13.77.184.76", + "isAccessible": true, + "latency": 22.5866, + "port": 443 + } + ] + }, + { + "domainName": "blob.core.windows.net", + "endpointDetails": [ + { + "ipAddress": "13.77.184.64", + "isAccessible": true, + "latency": 2.5372, + "port": 80 + }, + { + "ipAddress": "13.77.184.64", + "isAccessible": true, + "latency": 2.4626, + "port": 443 + } + ] + }, + { + "domainName": "queue.core.windows.net", + "endpointDetails": [ + { + "ipAddress": "13.77.184.73", + "isAccessible": true, + "latency": 3.7873, + "port": 80 + }, + { + "ipAddress": "13.77.184.73", + "isAccessible": true, + "latency": 4.1911000000000005, + "port": 443 + } + ] + }, + { + "domainName": "table.core.windows.net", + "endpointDetails": [ + { + "ipAddress": "13.77.184.74", + "isAccessible": true, + "latency": 2.9162000000000003, + "port": 80 + }, + { + "ipAddress": "13.77.184.74", + "isAccessible": true, + "latency": 2.7896, + "port": 443 + } + ] + }, + { + "domainName": "file.core.windows.net", + "endpointDetails": [ + { + "ipAddress": "13.77.184.76", + "isAccessible": true, + "latency": 26.723100000000002, + "port": 80 + }, + { + "ipAddress": "13.77.184.76", + "isAccessible": true, + "latency": 26.735200000000003, + "port": 443 + } + ] + } + ] + }, + { + "category": "Azure SQL Database", + "endpoints": [ + { + "domainName": "database.windows.net", + "endpointDetails": [ + { + "ipAddress": "13.66.226.202", + "isAccessible": true, + "latency": 1.5964, + "port": 1433 + } + ] + } + ] + }, + { + "category": "Azure Management", + "endpoints": [ + { + "domainName": "management.core.windows.net", + "endpointDetails": [ + { + "ipAddress": "23.102.135.246", + "isAccessible": true, + "latency": 46.5764, + "port": 443 + } + ] + }, + { + "domainName": "admin.core.windows.net", + "endpointDetails": [ + { + "ipAddress": "23.102.135.247", + "isAccessible": true, + "latency": 47.408, + "port": 443 + } + ] + }, + { + "domainName": "management.azure.com", + "endpointDetails": [ + { + "ipAddress": "52.151.25.45", + "isAccessible": true, + "latency": 3.9529, + "port": 443 + } + ] + } + ] + }, + { + "category": "Azure Active Directory", + "endpoints": [ + { + "domainName": "graph.windows.net", + "endpointDetails": [ + { + "ipAddress": "20.190.133.83", + "isAccessible": true, + "latency": 3.2264, + "port": 443 + }, + { + "ipAddress": "20.190.133.81", + "isAccessible": true, + "latency": 3.2264, + "port": 443 + }, + { + "ipAddress": "20.190.133.67", + "isAccessible": true, + "latency": 3.2264, + "port": 443 + }, + { + "ipAddress": "40.126.5.34", + "isAccessible": true, + "latency": 3.2264, + "port": 443 + } + ] + } + ] + }, + { + "category": "Regional Service", + "endpoints": [ + { + "domainName": "gr-prod-mwh.cloudapp.net", + "endpointDetails": [ + { + "ipAddress": "13.66.225.188", + "isAccessible": true, + "latency": 3.3826, + "port": 443 + } + ] + }, + { + "domainName": "az-prod.metrics.nsatc.net", + "endpointDetails": [ + { + "ipAddress": "40.77.24.27", + "isAccessible": true, + "latency": 38.5647, + "port": 443 + } + ] + } + ] + }, + { + "category": "SSL Certificate Verification", + "endpoints": [ + { + "domainName": "ocsp.msocsp.com", + "endpointDetails": [ + { + "ipAddress": "104.18.25.243", + "isAccessible": true, + "latency": 6.0651, + "port": 80 + }, + { + "ipAddress": "104.18.25.243", + "isAccessible": true, + "latency": 12.888, + "port": 443 + }, + { + "ipAddress": "104.18.24.243", + "isAccessible": true, + "latency": 6.0651, + "port": 80 + }, + { + "ipAddress": "104.18.24.243", + "isAccessible": true, + "latency": 12.888, + "port": 443 + } + ] + }, + { + "domainName": "mscrl.microsoft.com", + "endpointDetails": [ + { + "ipAddress": "152.199.4.33", + "isAccessible": true, + "latency": 6.742900000000001, + "port": 80 + }, + { + "ipAddress": "152.199.4.33", + "isAccessible": true, + "latency": 7.436100000000001, + "port": 443 + } + ] + }, + { + "domainName": "crl.microsoft.com", + "endpointDetails": [ + { + "ipAddress": "23.215.102.10", + "isAccessible": true, + "latency": 25.136200000000002, + "port": 80 + }, + { + "ipAddress": "23.215.102.10", + "isAccessible": true, + "latency": 25.0085, + "port": 443 + }, + { + "ipAddress": "23.215.102.42", + "isAccessible": true, + "latency": 25.136200000000002, + "port": 80 + }, + { + "ipAddress": "23.215.102.42", + "isAccessible": true, + "latency": 25.0085, + "port": 443 + } + ] + }, + { + "domainName": "www.microsoft.com", + "endpointDetails": [ + { + "ipAddress": "23.49.13.56", + "isAccessible": true, + "latency": 7.9229, + "port": 80 + }, + { + "ipAddress": "23.49.13.56", + "isAccessible": true, + "latency": 8.4871, + "port": 443 + } + ] + }, + { + "domainName": "crl3.digicert.com", + "endpointDetails": [ + { + "ipAddress": "72.21.91.29", + "isAccessible": true, + "latency": 5.4074, + "port": 80 + }, + { + "ipAddress": "72.21.91.29", + "isAccessible": true, + "latency": 5.577, + "port": 443 + } + ] + }, + { + "domainName": "ocsp.digicert.com", + "endpointDetails": [ + { + "ipAddress": "72.21.91.29", + "isAccessible": true, + "latency": 6.8989, + "port": 80 + }, + { + "ipAddress": "72.21.91.29", + "isAccessible": true, + "latency": 5.667400000000001, + "port": 443 + } + ] + }, + { + "domainName": "cacerts.digicert.com", + "endpointDetails": [ + { + "ipAddress": "104.18.11.39", + "isAccessible": true, + "latency": 10.772400000000001, + "port": 80 + }, + { + "ipAddress": "104.18.11.39", + "isAccessible": true, + "latency": 10.7705, + "port": 443 + }, + { + "ipAddress": "104.18.10.39", + "isAccessible": true, + "latency": 10.772400000000001, + "port": 80 + }, + { + "ipAddress": "104.18.10.39", + "isAccessible": true, + "latency": 10.7705, + "port": 443 + } + ] + }, + { + "domainName": "www.thawte.com", + "endpointDetails": [ + { + "ipAddress": "54.69.98.161", + "isAccessible": true, + "latency": 47.532900000000005, + "port": 80 + }, + { + "ipAddress": "54.69.98.161", + "isAccessible": true, + "latency": 48.5362, + "port": 443 + }, + { + "ipAddress": "35.167.62.148", + "isAccessible": true, + "latency": 47.532900000000005, + "port": 80 + }, + { + "ipAddress": "35.167.62.148", + "isAccessible": true, + "latency": 48.5362, + "port": 443 + } + ] + } + ] + } + ] + } + } + }, + "operationId": "AppServiceEnvironments_GetOutboundNetworkDependenciesEndpoints", + "title": "Get the network endpoints of all outbound dependencies of an App Service Environment." +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/GetPublishingCredentialsPolicy.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/GetPublishingCredentialsPolicy.json new file mode 100644 index 000000000000..8ab9774ff709 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/GetPublishingCredentialsPolicy.json @@ -0,0 +1,21 @@ +{ + "parameters": { + "name": "testSite", + "api-version": "2025-03-01", + "resourceGroupName": "rg", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/sites/testSite/basicPublishingCredentialsPolicies/ftp", + "properties": { + "allow": false + } + }, + "headers": {} + } + }, + "operationId": "WebApps_GetScmAllowed", + "title": "Get SCM Allowed" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/GetPublishingCredentialsPolicySlot.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/GetPublishingCredentialsPolicySlot.json new file mode 100644 index 000000000000..284cacbe0617 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/GetPublishingCredentialsPolicySlot.json @@ -0,0 +1,22 @@ +{ + "parameters": { + "name": "testSite", + "api-version": "2025-03-01", + "resourceGroupName": "rg", + "slot": "stage", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/sites/testSite/slots/stage/basicPublishingCredentialsPolicies/ftp", + "properties": { + "allow": false + } + }, + "headers": {} + } + }, + "operationId": "WebApps_GetScmAllowedSlot", + "title": "Get SCM Allowed" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/GetPublishingCredentialsPolicySlot_FtpAllowedSlot.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/GetPublishingCredentialsPolicySlot_FtpAllowedSlot.json new file mode 100644 index 000000000000..235746ec5bbf --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/GetPublishingCredentialsPolicySlot_FtpAllowedSlot.json @@ -0,0 +1,22 @@ +{ + "parameters": { + "name": "testSite", + "api-version": "2025-03-01", + "resourceGroupName": "rg", + "slot": "stage", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/sites/testSite/slots/stage/basicPublishingCredentialsPolicies/ftp", + "properties": { + "allow": false + } + }, + "headers": {} + } + }, + "operationId": "WebApps_GetFtpAllowedSlot", + "title": "Get FTP Allowed" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/GetPublishingCredentialsPolicy_GetFtpAllowed.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/GetPublishingCredentialsPolicy_GetFtpAllowed.json new file mode 100644 index 000000000000..292636c3a270 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/GetPublishingCredentialsPolicy_GetFtpAllowed.json @@ -0,0 +1,21 @@ +{ + "parameters": { + "name": "testSite", + "api-version": "2025-03-01", + "resourceGroupName": "rg", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/sites/testSite/basicPublishingCredentialsPolicies/ftp", + "properties": { + "allow": false + } + }, + "headers": {} + } + }, + "operationId": "WebApps_GetFtpAllowed", + "title": "Get FTP Allowed" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/GetResourceHealthMetadataBySite.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/GetResourceHealthMetadataBySite.json new file mode 100644 index 000000000000..ed89a8fd065e --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/GetResourceHealthMetadataBySite.json @@ -0,0 +1,25 @@ +{ + "parameters": { + "name": "newsiteinnewASE-NCUS", + "api-version": "2025-03-01", + "metadataName": "default", + "resourceGroupName": "Default-Web-NorthCentralUS", + "slot": "Production", + "subscriptionId": "4adb32ad-8327-4cbb-b775-b84b4465bb38" + }, + "responses": { + "200": { + "body": { + "name": "default", + "type": "Microsoft.Web/sites/resourceHealthMetadata", + "id": "/subscriptions/4adb32ad-8327-4cbb-b775-b84b4465bb38/resourceGroups/Default-Web-NorthCentralUS/providers/Microsoft.Web/sites/newsiteinnewASE-NCUS/resourceHealthMetadata/default", + "properties": { + "category": "Shared", + "signalAvailability": true + } + } + } + }, + "operationId": "ResourceHealthMetadata_GetBySite", + "title": "Get ResourceHealthMetadata" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/GetResourceHealthMetadataBySite_Slot.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/GetResourceHealthMetadataBySite_Slot.json new file mode 100644 index 000000000000..df8f306f875c --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/GetResourceHealthMetadataBySite_Slot.json @@ -0,0 +1,25 @@ +{ + "parameters": { + "name": "newsiteinnewASE-NCUS", + "api-version": "2025-03-01", + "metadataName": "default", + "resourceGroupName": "Default-Web-NorthCentralUS", + "slot": "Production", + "subscriptionId": "4adb32ad-8327-4cbb-b775-b84b4465bb38" + }, + "responses": { + "200": { + "body": { + "name": "default", + "type": "Microsoft.Web/sites/resourceHealthMetadata", + "id": "/subscriptions/4adb32ad-8327-4cbb-b775-b84b4465bb38/resourceGroups/Default-Web-NorthCentralUS/providers/Microsoft.Web/sites/newsiteinnewASE-NCUS/resourceHealthMetadata/default", + "properties": { + "category": "Shared", + "signalAvailability": true + } + } + } + }, + "operationId": "ResourceHealthMetadata_GetBySiteSlot", + "title": "Get ResourceHealthMetadata" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/GetSiteCertificate.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/GetSiteCertificate.json new file mode 100644 index 000000000000..90ad1092b23a --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/GetSiteCertificate.json @@ -0,0 +1,33 @@ +{ + "parameters": { + "name": "testSiteName", + "api-version": "2025-03-01", + "certificateName": "testc6282", + "resourceGroupName": "testrg123", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": { + "name": "testc6282", + "type": "Microsoft.Web/sites/certificates", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/testSiteName/certificates/testc6282", + "location": "East US", + "properties": { + "expirationDate": "2039-12-31T23:59:59+00:00", + "friendlyName": "", + "hostNames": [ + "ServerCert" + ], + "issueDate": "2015-11-12T23:40:25+00:00", + "issuer": "CACert", + "subjectName": "ServerCert", + "thumbprint": "FE703D7411A44163B6D32B3AD9B03E175886EBFE" + } + }, + "headers": {} + } + }, + "operationId": "SiteCertificates_Get", + "title": "Get Certificate" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/GetSiteCertificateSlot.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/GetSiteCertificateSlot.json new file mode 100644 index 000000000000..fb46885b7981 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/GetSiteCertificateSlot.json @@ -0,0 +1,34 @@ +{ + "parameters": { + "name": "testSiteName", + "api-version": "2025-03-01", + "certificateName": "testc6282", + "resourceGroupName": "testrg123", + "slot": "staging", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": { + "name": "testc6282", + "type": "Microsoft.Web/sites/certificates", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/testSiteName/slots/staging/certificates/testc6282", + "location": "East US", + "properties": { + "expirationDate": "2039-12-31T23:59:59+00:00", + "friendlyName": "", + "hostNames": [ + "ServerCert" + ], + "issueDate": "2015-11-12T23:40:25+00:00", + "issuer": "CACert", + "subjectName": "ServerCert", + "thumbprint": "FE703D7411A44163B6D32B3AD9B03E175886EBFE" + } + }, + "headers": {} + } + }, + "operationId": "SiteCertificates_GetSlot", + "title": "Get Site Certificate for a slot" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/GetSiteConfig.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/GetSiteConfig.json new file mode 100644 index 000000000000..677da4a29644 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/GetSiteConfig.json @@ -0,0 +1,72 @@ +{ + "parameters": { + "name": "sitef6141", + "api-version": "2025-03-01", + "resourceGroupName": "testrg123", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": { + "name": "web", + "type": "Microsoft.Web/sites/config", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/sitef6141/config/web", + "kind": "app", + "properties": { + "acrUseManagedIdentityCreds": false, + "alwaysOn": false, + "appCommandLine": "", + "autoHealEnabled": false, + "azureStorageAccounts": {}, + "defaultDocuments": [ + "Default.htm", + "Default.html", + "Default.asp", + "index.htm", + "index.html", + "iisstart.htm", + "default.aspx", + "index.php", + "hostingstart.html" + ], + "detailedErrorLoggingEnabled": false, + "ftpsState": "AllAllowed", + "functionAppScaleLimit": 0, + "functionsRuntimeScaleMonitoringEnabled": false, + "http20Enabled": false, + "httpLoggingEnabled": false, + "linuxFxVersion": "", + "loadBalancing": "LeastRequests", + "logsDirectorySizeLimit": 35, + "managedPipelineMode": "Integrated", + "minTlsVersion": "1.2", + "minimumElasticInstanceCount": 0, + "netFrameworkVersion": "v4.0", + "nodeVersion": "", + "numberOfWorkers": 1, + "phpVersion": "5.6", + "powerShellVersion": "", + "pythonVersion": "", + "remoteDebuggingEnabled": false, + "requestTracingEnabled": false, + "scmMinTlsVersion": "1.2", + "use32BitWorkerProcess": true, + "virtualApplications": [ + { + "physicalPath": "site\\wwwroot", + "preloadEnabled": false, + "virtualPath": "/" + } + ], + "vnetName": "", + "vnetPrivatePortsCount": 0, + "vnetRouteAllEnabled": false, + "webSocketsEnabled": false + } + }, + "headers": {} + } + }, + "operationId": "WebApps_GetConfiguration", + "title": "Get Site Config" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/GetSiteDeploymentStatus.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/GetSiteDeploymentStatus.json new file mode 100644 index 000000000000..3a684c5e1637 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/GetSiteDeploymentStatus.json @@ -0,0 +1,47 @@ +{ + "parameters": { + "name": "testSite", + "api-version": "2025-03-01", + "deploymentStatusId": "eacfd68b-3bbd-4ad9-99c5-98614d89c8e5", + "resourceGroupName": "rg", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": { + "name": "eacfd68b-3bbd-4ad9-99c5-98614d89c8e5", + "type": "Microsoft.Web/sites/deploymentStatus", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/sites/testSite/deploymentStatus/eacfd68b-3bbd-4ad9-99c5-98614d89c8e5", + "properties": { + "deploymentId": "eacfd68b-3bbd-4ad9-99c5-98614d89c8e5", + "errors": null, + "failedInstancesLogs": [], + "numberOfInstancesFailed": 0, + "numberOfInstancesInProgress": 0, + "numberOfInstancesSuccessful": 1, + "status": "RuntimeSuccessful" + } + }, + "headers": {} + }, + "202": { + "body": { + "name": "eacfd68b-3bbd-4ad9-99c5-98614d89c8e5", + "type": "Microsoft.Web/sites/deploymentStatus", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/sites/testSite/deploymentStatus/eacfd68b-3bbd-4ad9-99c5-98614d89c8e5", + "properties": { + "deploymentId": "eacfd68b-3bbd-4ad9-99c5-98614d89c8e5", + "errors": null, + "failedInstancesLogs": [], + "numberOfInstancesFailed": 0, + "numberOfInstancesInProgress": 1, + "numberOfInstancesSuccessful": 0, + "status": "RuntimeStarting" + } + }, + "headers": {} + } + }, + "operationId": "WebApps_GetProductionSiteDeploymentStatus", + "title": "Get Deployment Status" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/GetSiteDeploymentStatusSlot.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/GetSiteDeploymentStatusSlot.json new file mode 100644 index 000000000000..202c715226f8 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/GetSiteDeploymentStatusSlot.json @@ -0,0 +1,48 @@ +{ + "parameters": { + "name": "testSite", + "api-version": "2025-03-01", + "deploymentStatusId": "eacfd68b-3bbd-4ad9-99c5-98614d89c8e5", + "resourceGroupName": "rg", + "slot": "stage", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": { + "name": "eacfd68b-3bbd-4ad9-99c5-98614d89c8e5", + "type": "Microsoft.Web/sites/slots/deploymentStatus", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/sites/testSite/slots/stage/deploymentStatus/eacfd68b-3bbd-4ad9-99c5-98614d89c8e5", + "properties": { + "deploymentId": "eacfd68b-3bbd-4ad9-99c5-98614d89c8e5", + "errors": null, + "failedInstancesLogs": [], + "numberOfInstancesFailed": 0, + "numberOfInstancesInProgress": 0, + "numberOfInstancesSuccessful": 1, + "status": "RuntimeSuccessful" + } + }, + "headers": {} + }, + "202": { + "body": { + "name": "eacfd68b-3bbd-4ad9-99c5-98614d89c8e5", + "type": "Microsoft.Web/sites/slots/deploymentStatus", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/sites/testSite/slots/stage/deploymentStatus/eacfd68b-3bbd-4ad9-99c5-98614d89c8e5", + "properties": { + "deploymentId": "eacfd68b-3bbd-4ad9-99c5-98614d89c8e5", + "errors": null, + "failedInstancesLogs": [], + "numberOfInstancesFailed": 0, + "numberOfInstancesInProgress": 1, + "numberOfInstancesSuccessful": 0, + "status": "RuntimeStarting" + } + }, + "headers": {} + } + }, + "operationId": "WebApps_GetSlotSiteDeploymentStatusSlot", + "title": "Get Deployment Status Slot" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/GetSiteInstanceInfo.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/GetSiteInstanceInfo.json new file mode 100644 index 000000000000..31e317bd3fc2 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/GetSiteInstanceInfo.json @@ -0,0 +1,32 @@ +{ + "parameters": { + "name": "tests346", + "api-version": "2025-03-01", + "instanceId": "134987120", + "resourceGroupName": "testrg123", + "slot": "staging", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": { + "name": "134987120", + "type": "Microsoft.Web/sites/instances", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/tests346/slot/staging/instances/134987120", + "properties": { + "containers": { + "c1": { + "currentTimeStamp": "2013-10-21T13:28:06.419Z" + } + }, + "detectorUrl": "testsec579", + "state": "READY", + "statusUrl": "https://sampleurl" + } + }, + "headers": {} + } + }, + "operationId": "WebApps_GetInstanceInfo", + "title": "Get site instance info" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/GetSiteInstanceInfo_Slot.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/GetSiteInstanceInfo_Slot.json new file mode 100644 index 000000000000..dd9ddcb5754f --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/GetSiteInstanceInfo_Slot.json @@ -0,0 +1,32 @@ +{ + "parameters": { + "name": "tests346", + "api-version": "2025-03-01", + "instanceId": "134987120", + "resourceGroupName": "testrg123", + "slot": "staging", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": { + "name": "134987120", + "type": "Microsoft.Web/sites/instances", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/tests346/slot/staging/instances/134987120", + "properties": { + "containers": { + "c1": { + "currentTimeStamp": "2013-10-21T13:28:06.419Z" + } + }, + "detectorUrl": "testsec579", + "state": "READY", + "statusUrl": "https://sampleurl" + } + }, + "headers": {} + } + }, + "operationId": "WebApps_GetInstanceInfoSlot", + "title": "Get site instance info" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/GetSitePrivateEndpointConnection.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/GetSitePrivateEndpointConnection.json new file mode 100644 index 000000000000..d24356fff3f2 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/GetSitePrivateEndpointConnection.json @@ -0,0 +1,30 @@ +{ + "parameters": { + "name": "testSite", + "api-version": "2025-03-01", + "privateEndpointConnectionName": "connection", + "resourceGroupName": "rg", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/sites/testSite/privateEndpointConnections/connection", + "properties": { + "privateEndpoint": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Network/privateEndpoints/myPrivateEndpoint" + }, + "privateLinkServiceConnectionState": { + "description": "Approved by admin.", + "actionsRequired": "", + "status": "Approved" + }, + "provisioningState": "Succeeded" + } + }, + "headers": {} + } + }, + "operationId": "WebApps_GetPrivateEndpointConnection", + "title": "Get a private endpoint connection for a site." +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/GetSitePrivateEndpointConnectionList.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/GetSitePrivateEndpointConnectionList.json new file mode 100644 index 000000000000..700898a2135a --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/GetSitePrivateEndpointConnectionList.json @@ -0,0 +1,34 @@ +{ + "parameters": { + "name": "testStaticSite0", + "api-version": "2025-03-01", + "resourceGroupName": "rg", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": { + "nextLink": null, + "value": [ + { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/sites/testSite/privateEndpointConnections/connection", + "properties": { + "privateEndpoint": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Network/privateEndpoints/myPrivateEndpoint" + }, + "privateLinkServiceConnectionState": { + "description": "Approved by admin.", + "actionsRequired": "", + "status": "Approved" + }, + "provisioningState": "Succeeded" + } + } + ] + }, + "headers": {} + } + }, + "operationId": "StaticSites_GetPrivateEndpointConnectionList", + "title": "Get a list of private endpoint connections associated with a site." +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/GetSitePrivateEndpointConnectionSlot.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/GetSitePrivateEndpointConnectionSlot.json new file mode 100644 index 000000000000..194bef3e03d7 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/GetSitePrivateEndpointConnectionSlot.json @@ -0,0 +1,31 @@ +{ + "parameters": { + "name": "testSite", + "api-version": "2025-03-01", + "privateEndpointConnectionName": "connection", + "resourceGroupName": "rg", + "slot": "stage", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/sites/testSite/slot/stage/privateEndpointConnections/connection", + "properties": { + "privateEndpoint": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Network/privateEndpoints/myPrivateEndpoint" + }, + "privateLinkServiceConnectionState": { + "description": "Approved by admin.", + "actionsRequired": "", + "status": "Approved" + }, + "provisioningState": "Succeeded" + } + }, + "headers": {} + } + }, + "operationId": "WebApps_GetPrivateEndpointConnectionSlot", + "title": "Get a private endpoint connection for a site." +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/GetSitePrivateEndpointConnection_StaticSites.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/GetSitePrivateEndpointConnection_StaticSites.json new file mode 100644 index 000000000000..413f236355d8 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/GetSitePrivateEndpointConnection_StaticSites.json @@ -0,0 +1,30 @@ +{ + "parameters": { + "name": "testSite", + "api-version": "2025-03-01", + "privateEndpointConnectionName": "connection", + "resourceGroupName": "rg", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/sites/testSite/privateEndpointConnections/connection", + "properties": { + "privateEndpoint": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Network/privateEndpoints/myPrivateEndpoint" + }, + "privateLinkServiceConnectionState": { + "description": "Approved by admin.", + "actionsRequired": "", + "status": "Approved" + }, + "provisioningState": "Succeeded" + } + }, + "headers": {} + } + }, + "operationId": "StaticSites_GetPrivateEndpointConnection", + "title": "Get a private endpoint connection for a site." +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/GetSitePrivateLinkResources.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/GetSitePrivateLinkResources.json new file mode 100644 index 000000000000..210b21be9ff7 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/GetSitePrivateLinkResources.json @@ -0,0 +1,33 @@ +{ + "parameters": { + "name": "testSite", + "api-version": "2025-03-01", + "resourceGroupName": "rg", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "site", + "type": "Microsoft.Web/sites/privateLinkResources", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/sites/testSite/privateLinkResources/site", + "properties": { + "groupId": "sites", + "requiredMembers": [ + "sites" + ], + "requiredZoneNames": [ + "privatelink.testsite.azurewebsites.net" + ] + } + } + ] + }, + "headers": {} + } + }, + "operationId": "StaticSites_GetPrivateLinkResources", + "title": "Get private link resources of a site" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/GetSitePrivateLinkResourcesSlot.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/GetSitePrivateLinkResourcesSlot.json new file mode 100644 index 000000000000..99a143360a46 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/GetSitePrivateLinkResourcesSlot.json @@ -0,0 +1,34 @@ +{ + "parameters": { + "name": "testSite", + "api-version": "2025-03-01", + "resourceGroupName": "rg", + "slot": "stage", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "site", + "type": "Microsoft.Web/sites/privateLinkResources", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/sites/testSite/privateLinkResources/site", + "properties": { + "groupId": "sites", + "requiredMembers": [ + "sites" + ], + "requiredZoneNames": [ + "privatelink.testsite.azurewebsites.net" + ] + } + } + ] + }, + "headers": {} + } + }, + "operationId": "WebApps_GetPrivateLinkResourcesSlot", + "title": "Get private link resources of a site" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/GetSitePrivateLinkResources_WebApps.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/GetSitePrivateLinkResources_WebApps.json new file mode 100644 index 000000000000..b3aa1396a603 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/GetSitePrivateLinkResources_WebApps.json @@ -0,0 +1,33 @@ +{ + "parameters": { + "name": "testSite", + "api-version": "2025-03-01", + "resourceGroupName": "rg", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "site", + "type": "Microsoft.Web/sites/privateLinkResources", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/sites/testSite/privateLinkResources/site", + "properties": { + "groupId": "sites", + "requiredMembers": [ + "sites" + ], + "requiredZoneNames": [ + "privatelink.testsite.azurewebsites.net" + ] + } + } + ] + }, + "headers": {} + } + }, + "operationId": "WebApps_GetPrivateLinkResources", + "title": "Get private link resources of a site" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/GetStaticSite.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/GetStaticSite.json new file mode 100644 index 000000000000..47fd47ae9513 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/GetStaticSite.json @@ -0,0 +1,45 @@ +{ + "parameters": { + "name": "testStaticSite0", + "api-version": "2025-03-01", + "resourceGroupName": "rg", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": { + "name": "testStaticSite0", + "type": "Microsoft.Web/staticSites", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/staticSites/testStaticSite0", + "location": "West US 2", + "properties": { + "allowConfigFileUpdates": true, + "branch": "demo", + "contentDistributionEndpoint": "", + "customDomains": [], + "defaultHostname": "happy-sea-15afae3e.azurestaticwebsites.net", + "keyVaultReferenceIdentity": "SystemAssigned", + "linkedBackends": [ + { + "backendResourceId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.ApiManagement/service/apimService0", + "createdOn": "2022-03-27T04:57:24.8058474", + "provisioningState": "Succeeded", + "region": null + } + ], + "privateEndpointConnections": [], + "repositoryUrl": "https://github.com/username/repo", + "stagingEnvironmentPolicy": "Enabled", + "userProvidedFunctionApps": null + }, + "sku": { + "name": "Basic", + "tier": "Basic" + } + }, + "headers": {} + } + }, + "operationId": "StaticSites_GetStaticSite", + "title": "Get details for a static site" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/GetStaticSiteBasicAuth.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/GetStaticSiteBasicAuth.json new file mode 100644 index 000000000000..cd5ecb6bf3ad --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/GetStaticSiteBasicAuth.json @@ -0,0 +1,26 @@ +{ + "parameters": { + "name": "testStaticSite0", + "api-version": "2025-03-01", + "basicAuthName": "default", + "resourceGroupName": "rg", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": { + "name": "default", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/staticSites/testStaticSite0/basicAuth/default", + "properties": { + "applicableEnvironmentsMode": "AllEnvironments", + "environments": null, + "secretState": "Password", + "secretUrl": null + } + }, + "headers": {} + } + }, + "operationId": "StaticSites_GetBasicAuth", + "title": "Gets the basic auth properties for a static site." +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/GetStaticSiteBuild.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/GetStaticSiteBuild.json new file mode 100644 index 000000000000..da56f75d9e9a --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/GetStaticSiteBuild.json @@ -0,0 +1,37 @@ +{ + "parameters": { + "name": "testStaticSite0", + "api-version": "2025-03-01", + "environmentName": "12", + "resourceGroupName": "rg", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/staticSites/testStaticSite0/builds/12", + "properties": { + "buildId": "12", + "createdTimeUtc": "2020-03-04T17:33:11.641Z", + "hostname": "happy-sea-15afae3e-12.westus2.azurestaticwebsites.net", + "lastUpdatedOn": "2020-03-04T17:33:11.641Z", + "linkedBackends": [ + { + "backendResourceId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.ApiManagement/service/apimService0", + "createdOn": "2022-03-27T04:57:24.8058474", + "provisioningState": "Succeeded", + "region": null + } + ], + "pullRequestTitle": "Update README.md", + "sourceBranch": "pr-branch", + "status": "Uploading", + "userProvidedFunctionApps": null + } + }, + "headers": {} + } + }, + "operationId": "StaticSites_GetStaticSiteBuild", + "title": "Get a static site build" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/GetStaticSiteBuildDatabaseConnection.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/GetStaticSiteBuildDatabaseConnection.json new file mode 100644 index 000000000000..e30bbfa4bf66 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/GetStaticSiteBuildDatabaseConnection.json @@ -0,0 +1,27 @@ +{ + "parameters": { + "name": "testStaticSite0", + "api-version": "2025-03-01", + "databaseConnectionName": "default", + "environmentName": "default", + "resourceGroupName": "rg", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": { + "name": "default", + "type": "Microsoft.Web/staticSites/builds/databaseConnections", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/staticSites/testStaticSite0/builds/default/databaseConnections/default", + "properties": { + "connectionIdentity": "SystemAssigned", + "region": "West US 2", + "resourceId": "/subscription/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/databaseRG/providers/Microsoft.DocumentDB/databaseAccounts/exampleDatabaseName" + } + }, + "headers": {} + } + }, + "operationId": "StaticSites_GetBuildDatabaseConnection", + "title": "Get overview of database connections for the static site build." +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/GetStaticSiteBuildDatabaseConnectionWithDetails.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/GetStaticSiteBuildDatabaseConnectionWithDetails.json new file mode 100644 index 000000000000..6d50f8c2a03c --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/GetStaticSiteBuildDatabaseConnectionWithDetails.json @@ -0,0 +1,40 @@ +{ + "parameters": { + "name": "testStaticSite0", + "api-version": "2025-03-01", + "databaseConnectionName": "default", + "environmentName": "default", + "resourceGroupName": "rg", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": { + "name": "default", + "type": "Microsoft.Web/staticSites/builds/databaseConnections", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/staticSites/testStaticSite0/builds/default/databaseConnections/default", + "properties": { + "configurationFiles": [ + { + "type": "configuration", + "contents": "base64encodeddatabaseconfiguration", + "fileName": "staticwebapp.database.config.json" + }, + { + "type": "graphqlschema", + "contents": "base64encodeddatabasegraphqlschema", + "fileName": "staticwebapp.database.schema.gql" + } + ], + "connectionIdentity": "SystemAssigned", + "connectionString": "AccountEndpoint=https://exampleDatabaseName.documents.azure.com:443/;Database=mydb;", + "region": "West US 2", + "resourceId": "/subscription/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/databaseRG/providers/Microsoft.DocumentDB/databaseAccounts/exampleDatabaseName" + } + }, + "headers": {} + } + }, + "operationId": "StaticSites_GetBuildDatabaseConnectionWithDetails", + "title": "Get details of database connections for the static site build." +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/GetStaticSiteBuildDatabaseConnections.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/GetStaticSiteBuildDatabaseConnections.json new file mode 100644 index 000000000000..6e31b0a5ab23 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/GetStaticSiteBuildDatabaseConnections.json @@ -0,0 +1,31 @@ +{ + "parameters": { + "name": "testStaticSite0", + "api-version": "2025-03-01", + "environmentName": "default", + "resourceGroupName": "rg", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": { + "nextLink": null, + "value": [ + { + "name": "default", + "type": "Microsoft.Web/staticSites/builds/databaseConnections", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/staticSites/testStaticSite0/builds/default/databaseConnections/default", + "properties": { + "connectionIdentity": "SystemAssigned", + "region": "West US 2", + "resourceId": "/subscription/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/databaseRG/providers/Microsoft.DocumentDB/databaseAccounts/exampleDatabaseName" + } + } + ] + }, + "headers": {} + } + }, + "operationId": "StaticSites_GetBuildDatabaseConnections", + "title": "List overviews of database connections for the static site build." +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/GetStaticSiteBuildDatabaseConnectionsWithDetails.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/GetStaticSiteBuildDatabaseConnectionsWithDetails.json new file mode 100644 index 000000000000..c7596470f8ef --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/GetStaticSiteBuildDatabaseConnectionsWithDetails.json @@ -0,0 +1,44 @@ +{ + "parameters": { + "name": "testStaticSite0", + "api-version": "2025-03-01", + "environmentName": "default", + "resourceGroupName": "rg", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": { + "nextLink": null, + "value": [ + { + "name": "default", + "type": "Microsoft.Web/staticSites/builds/databaseConnections", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/staticSites/testStaticSite0/builds/default/databaseConnections/default", + "properties": { + "configurationFiles": [ + { + "type": "configuration", + "contents": "base64encodeddatabaseconfiguration", + "fileName": "staticwebapp.database.config.json" + }, + { + "type": "graphqlschema", + "contents": "base64encodeddatabasegraphqlschema", + "fileName": "staticwebapp.database.schema.gql" + } + ], + "connectionIdentity": "SystemAssigned", + "connectionString": "AccountEndpoint=https://exampleDatabaseName.documents.azure.com:443/;Database=mydb;", + "region": "West US 2", + "resourceId": "/subscription/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/databaseRG/providers/Microsoft.DocumentDB/databaseAccounts/exampleDatabaseName" + } + } + ] + }, + "headers": {} + } + }, + "operationId": "StaticSites_GetBuildDatabaseConnectionsWithDetails", + "title": "List full details of database connections for the static site build." +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/GetStaticSiteBuilds.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/GetStaticSiteBuilds.json new file mode 100644 index 000000000000..cbc8e060621d --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/GetStaticSiteBuilds.json @@ -0,0 +1,55 @@ +{ + "parameters": { + "name": "testStaticSite0", + "api-version": "2025-03-01", + "resourceGroupName": "rg", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": { + "nextLink": null, + "value": [ + { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/staticSites/testStaticSite0/builds/default", + "properties": { + "buildId": "default", + "createdTimeUtc": "2020-03-04T17:33:11.641Z", + "hostname": "happy-sea-15afae3e.azurestaticwebsites.net", + "lastUpdatedOn": "2020-03-04T17:33:11.641Z", + "linkedBackends": [], + "pullRequestTitle": null, + "sourceBranch": "demo", + "status": "Ready", + "userProvidedFunctionApps": null + } + }, + { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/staticSites/testStaticSite0/builds/12", + "properties": { + "buildId": "12", + "createdTimeUtc": "2020-03-04T17:33:11.641Z", + "hostname": "happy-sea-15afae3e-12.westus2.azurestaticwebsites.net", + "lastUpdatedOn": "2020-03-04T17:33:11.641Z", + "linkedBackends": [ + { + "backendResourceId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.ApiManagement/service/apimService0", + "createdOn": "2022-03-27T04:57:24.8058474", + "provisioningState": "Succeeded", + "region": null + } + ], + "pullRequestTitle": "Update README.md", + "sourceBranch": "demo-patch2", + "status": "Ready", + "userProvidedFunctionApps": null + } + } + ] + }, + "headers": {} + } + }, + "operationId": "StaticSites_GetStaticSiteBuilds", + "title": "Get all builds for a static site" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/GetStaticSiteCustomDomain.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/GetStaticSiteCustomDomain.json new file mode 100644 index 000000000000..71ba2e49cdd9 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/GetStaticSiteCustomDomain.json @@ -0,0 +1,22 @@ +{ + "parameters": { + "name": "testStaticSite0", + "api-version": "2025-03-01", + "domainName": "custom.domain.net", + "resourceGroupName": "rg", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/staticSitesBuilds/testStaticSite0/customDomains/custom.domain.net", + "properties": { + "createdOn": "2020-03-04T17:33:11.641Z", + "domainName": "custom.domain.net" + } + } + } + }, + "operationId": "StaticSites_GetStaticSiteCustomDomain", + "title": "Get custom domain for a static site" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/GetStaticSiteCustomDomains.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/GetStaticSiteCustomDomains.json new file mode 100644 index 000000000000..0f2e010de49b --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/GetStaticSiteCustomDomains.json @@ -0,0 +1,27 @@ +{ + "parameters": { + "name": "testStaticSite0", + "api-version": "2025-03-01", + "resourceGroupName": "rg", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": { + "nextLink": null, + "value": [ + { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/staticSitesBuilds/testStaticSite0/customDomains/custom.domain.net", + "properties": { + "createdOn": "2020-03-04T17:33:11.641Z", + "domainName": "custom.domain.net" + } + } + ] + }, + "headers": {} + } + }, + "operationId": "StaticSites_ListStaticSiteCustomDomains", + "title": "List custom domains for a static site" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/GetStaticSiteDatabaseConnection.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/GetStaticSiteDatabaseConnection.json new file mode 100644 index 000000000000..df5d865d638a --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/GetStaticSiteDatabaseConnection.json @@ -0,0 +1,26 @@ +{ + "parameters": { + "name": "testStaticSite0", + "api-version": "2025-03-01", + "databaseConnectionName": "default", + "resourceGroupName": "rg", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": { + "name": "default", + "type": "Microsoft.Web/staticSites/databaseConnections", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/staticSites/testStaticSite0/databaseConnections/default", + "properties": { + "connectionIdentity": "SystemAssigned", + "region": "West US 2", + "resourceId": "/subscription/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/databaseRG/providers/Microsoft.DocumentDB/databaseAccounts/exampleDatabaseName" + } + }, + "headers": {} + } + }, + "operationId": "StaticSites_GetDatabaseConnection", + "title": "Get overview of database connections for the static site." +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/GetStaticSiteDatabaseConnectionWithDetails.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/GetStaticSiteDatabaseConnectionWithDetails.json new file mode 100644 index 000000000000..45f64b104f07 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/GetStaticSiteDatabaseConnectionWithDetails.json @@ -0,0 +1,39 @@ +{ + "parameters": { + "name": "testStaticSite0", + "api-version": "2025-03-01", + "databaseConnectionName": "default", + "resourceGroupName": "rg", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": { + "name": "default", + "type": "Microsoft.Web/staticSites/databaseConnections", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/staticSites/testStaticSite0/databaseConnections/default", + "properties": { + "configurationFiles": [ + { + "type": "configuration", + "contents": "base64encodeddatabaseconfiguration", + "fileName": "staticwebapp.database.config.json" + }, + { + "type": "graphqlschema", + "contents": "base64encodeddatabasegraphqlschema", + "fileName": "staticwebapp.database.schema.gql" + } + ], + "connectionIdentity": "SystemAssigned", + "connectionString": "AccountEndpoint=https://exampleDatabaseName.documents.azure.com:443/;Database=mydb;", + "region": "West US 2", + "resourceId": "/subscription/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/databaseRG/providers/Microsoft.DocumentDB/databaseAccounts/exampleDatabaseName" + } + }, + "headers": {} + } + }, + "operationId": "StaticSites_GetDatabaseConnectionWithDetails", + "title": "Get details of database connections for the static site." +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/GetStaticSiteDatabaseConnections.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/GetStaticSiteDatabaseConnections.json new file mode 100644 index 000000000000..3fe25ba26c38 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/GetStaticSiteDatabaseConnections.json @@ -0,0 +1,30 @@ +{ + "parameters": { + "name": "testStaticSite0", + "api-version": "2025-03-01", + "resourceGroupName": "rg", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": { + "nextLink": null, + "value": [ + { + "name": "default", + "type": "Microsoft.Web/staticSites/databaseConnections", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/staticSites/testStaticSite0/databaseConnections/default", + "properties": { + "connectionIdentity": "SystemAssigned", + "region": "West US 2", + "resourceId": "/subscription/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/databaseRG/providers/Microsoft.DocumentDB/databaseAccounts/exampleDatabaseName" + } + } + ] + }, + "headers": {} + } + }, + "operationId": "StaticSites_GetDatabaseConnections", + "title": "List overviews of database connections for the static site." +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/GetStaticSiteDatabaseConnectionsWithDetails.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/GetStaticSiteDatabaseConnectionsWithDetails.json new file mode 100644 index 000000000000..8b77ae97694c --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/GetStaticSiteDatabaseConnectionsWithDetails.json @@ -0,0 +1,43 @@ +{ + "parameters": { + "name": "testStaticSite0", + "api-version": "2025-03-01", + "resourceGroupName": "rg", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": { + "nextLink": null, + "value": [ + { + "name": "default", + "type": "Microsoft.Web/staticSites/databaseConnections", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/staticSites/testStaticSite0/databaseConnections/default", + "properties": { + "configurationFiles": [ + { + "type": "configuration", + "contents": "base64encodeddatabaseconfiguration", + "fileName": "staticwebapp.database.config.json" + }, + { + "type": "graphqlschema", + "contents": "base64encodeddatabasegraphqlschema", + "fileName": "staticwebapp.database.schema.gql" + } + ], + "connectionIdentity": "SystemAssigned", + "connectionString": "AccountEndpoint=https://exampleDatabaseName.documents.azure.com:443/;Database=mydb;", + "region": "West US 2", + "resourceId": "/subscription/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/databaseRG/providers/Microsoft.DocumentDB/databaseAccounts/exampleDatabaseName" + } + } + ] + }, + "headers": {} + } + }, + "operationId": "StaticSites_GetDatabaseConnectionsWithDetails", + "title": "List full details of database connections for the static site." +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/GetStaticSites.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/GetStaticSites.json new file mode 100644 index 000000000000..bce10ad42e03 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/GetStaticSites.json @@ -0,0 +1,42 @@ +{ + "parameters": { + "api-version": "2025-03-01", + "resourceGroupName": "rg", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": { + "nextLink": null, + "value": [ + { + "name": "testStaticSite0", + "type": "Microsoft.Web/staticSites", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/staticSites/testStaticSite0", + "location": "West US 2", + "properties": { + "allowConfigFileUpdates": true, + "branch": "demo", + "contentDistributionEndpoint": "", + "customDomains": [], + "defaultHostname": "happy-sea-15afae3e.azurestaticwebsites.net", + "keyVaultReferenceIdentity": "SystemAssigned", + "linkedBackends": [], + "privateEndpointConnections": [], + "repositoryUrl": "https://github.com/username/repo", + "stagingEnvironmentPolicy": "Enabled", + "userProvidedFunctionApps": null + }, + "sku": { + "name": "Standard", + "tier": "Standard" + } + } + ] + }, + "headers": {} + } + }, + "operationId": "StaticSites_GetStaticSitesByResourceGroup", + "title": "Get static sites for a resource group" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/GetSubscriptionOperationWithAsyncResponse.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/GetSubscriptionOperationWithAsyncResponse.json new file mode 100644 index 000000000000..61b66cb1b35e --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/GetSubscriptionOperationWithAsyncResponse.json @@ -0,0 +1,13 @@ +{ + "parameters": { + "operationId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab5d5", + "api-version": "2025-03-01", + "location": "West US", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "204": {} + }, + "operationId": "Global_GetSubscriptionOperationWithAsyncResponse", + "title": "Gets an operation in a subscription and given region" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/GetUsagesInLocation.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/GetUsagesInLocation.json new file mode 100644 index 000000000000..fe3e0854e6fc --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/GetUsagesInLocation.json @@ -0,0 +1,29 @@ +{ + "parameters": { + "api-version": "2025-03-01", + "location": "West US", + "quotaType": "regional", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": { + "nextLink": null, + "value": [ + { + "name": { + "localizedValue": "Cores usage in West US", + "value": "Cores usage in West US" + }, + "currentValue": 55, + "limit": 250, + "unit": "Core Count" + } + ] + }, + "headers": {} + } + }, + "operationId": "GetUsagesInLocation_list", + "title": "Get usages in location for subscription" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/GetUserProvidedFunctionAppForStaticSite.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/GetUserProvidedFunctionAppForStaticSite.json new file mode 100644 index 000000000000..a8540a0bfba5 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/GetUserProvidedFunctionAppForStaticSite.json @@ -0,0 +1,26 @@ +{ + "parameters": { + "name": "testStaticSite0", + "api-version": "2025-03-01", + "functionAppName": "testFunctionApp", + "resourceGroupName": "rg", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": { + "name": "testFunctionApp", + "type": "Microsoft.Web/staticSites/builds/userProvidedFunctionApps", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/staticSites/testStaticSite0/builds/default/userProvidedFunctionApps/testFunctionApp", + "properties": { + "createdOn": "2020-03-04T17:33:11.641Z", + "functionAppRegion": "West US 2", + "functionAppResourceId": "/subscription/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/functionRG/providers/Microsoft.Web/sites/testFunctionApp" + } + }, + "headers": {} + } + }, + "operationId": "StaticSites_GetUserProvidedFunctionAppForStaticSite", + "title": "Get details of the user provided function app registered with a static site." +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/GetUserProvidedFunctionAppForStaticSiteBuild.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/GetUserProvidedFunctionAppForStaticSiteBuild.json new file mode 100644 index 000000000000..d6d88f9ab322 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/GetUserProvidedFunctionAppForStaticSiteBuild.json @@ -0,0 +1,27 @@ +{ + "parameters": { + "name": "testStaticSite0", + "api-version": "2025-03-01", + "environmentName": "default", + "functionAppName": "testFunctionApp", + "resourceGroupName": "rg", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": { + "name": "testFunctionApp", + "type": "Microsoft.Web/staticSites/builds/userProvidedFunctionApps", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/staticSites/testStaticSite0/builds/default/userProvidedFunctionApps/testFunctionApp", + "properties": { + "createdOn": "2020-03-04T17:33:11.641Z", + "functionAppRegion": "West US 2", + "functionAppResourceId": "/subscription/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/functionRG/providers/Microsoft.Web/sites/testFunctionApp" + } + }, + "headers": {} + } + }, + "operationId": "StaticSites_GetUserProvidedFunctionAppForStaticSiteBuild", + "title": "Get details of the user provided function app registered with a static site build." +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/GetUserProvidedFunctionAppsForStaticSite.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/GetUserProvidedFunctionAppsForStaticSite.json new file mode 100644 index 000000000000..41491028b0fb --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/GetUserProvidedFunctionAppsForStaticSite.json @@ -0,0 +1,30 @@ +{ + "parameters": { + "name": "testStaticSite0", + "api-version": "2025-03-01", + "resourceGroupName": "rg", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": { + "nextLink": null, + "value": [ + { + "name": "testFunctionApp", + "type": "Microsoft.Web/staticSites/builds/userProvidedFunctionApps", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/staticSites/testStaticSite0/builds/default/userProvidedFunctionApps/testFunctionApp", + "properties": { + "createdOn": "2020-03-04T17:33:11.641Z", + "functionAppRegion": "West US 2", + "functionAppResourceId": "/subscription/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/functionRG/providers/Microsoft.Web/sites/testFunctionApp" + } + } + ] + }, + "headers": {} + } + }, + "operationId": "StaticSites_GetUserProvidedFunctionAppsForStaticSite", + "title": "Get details of the user provided function apps registered with a static site." +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/GetUserProvidedFunctionAppsForStaticSiteBuild.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/GetUserProvidedFunctionAppsForStaticSiteBuild.json new file mode 100644 index 000000000000..89da21ae459d --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/GetUserProvidedFunctionAppsForStaticSiteBuild.json @@ -0,0 +1,31 @@ +{ + "parameters": { + "name": "testStaticSite0", + "api-version": "2025-03-01", + "environmentName": "default", + "resourceGroupName": "rg", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": { + "nextLink": null, + "value": [ + { + "name": "testFunctionApp", + "type": "Microsoft.Web/staticSites/builds/userProvidedFunctionApps", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/staticSites/testStaticSite0/builds/default/userProvidedFunctionApps/testFunctionApp", + "properties": { + "createdOn": "2020-03-04T17:33:11.641Z", + "functionAppRegion": "West US 2", + "functionAppResourceId": "/subscription/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/functionRG/providers/Microsoft.Web/sites/testFunctionApp" + } + } + ] + }, + "headers": {} + } + }, + "operationId": "StaticSites_GetUserProvidedFunctionAppsForStaticSiteBuild", + "title": "Get details of the user provided function apps registered with a static site build." +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/GetWebApp.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/GetWebApp.json new file mode 100644 index 000000000000..ac947763cc3b --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/GetWebApp.json @@ -0,0 +1,134 @@ +{ + "parameters": { + "name": "sitef6141", + "api-version": "2025-03-01", + "resourceGroupName": "testrg123", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": { + "name": "sitef6141", + "type": "Microsoft.Web/sites", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/sitef6141", + "kind": "app", + "location": "East US", + "properties": { + "availabilityState": "Normal", + "clientAffinityEnabled": true, + "clientCertEnabled": false, + "clientCertMode": "Required", + "containerSize": 0, + "customDomainVerificationId": "7F3BB652450EF7AD0B6AA33064586E4A9CE823A46DF0B2EC6443A68086E84153", + "dailyMemoryTimeQuota": 0, + "defaultHostName": "sitef6141.azurewebsites.net", + "enabled": true, + "enabledHostNames": [ + "sitef6141.azurewebsites.net", + "sitef6141.scm.azurewebsites.net" + ], + "hostNameSslStates": [ + { + "name": "sitef6141.azurewebsites.net", + "hostType": "Standard", + "sslState": "Disabled" + }, + { + "name": "sitef6141.scm.azurewebsites.net", + "hostType": "Repository", + "sslState": "Disabled" + } + ], + "hostNames": [ + "sitef6141.azurewebsites.net" + ], + "hostNamesDisabled": false, + "httpsOnly": false, + "hyperV": false, + "isXenon": false, + "keyVaultReferenceIdentity": "SystemAssigned", + "lastModifiedTimeUtc": "2020-03-04T17:33:11.641Z", + "outboundIpAddresses": "70.37.102.201,20.225.43.144", + "outboundVnetRouting": { + "allTraffic": false, + "applicationTraffic": false, + "backupRestoreTraffic": false, + "contentShareTraffic": false, + "imagePullTraffic": false + }, + "possibleOutboundIpAddresses": "70.37.102.201,20.225.43.144,20.225.184.122,20.225.184.188", + "redundancyMode": "None", + "repositorySiteName": "sitef6141", + "reserved": false, + "resourceConfig": { + "cpu": 1, + "memory": "2.0Gi" + }, + "resourceGroup": "testrg123", + "scmSiteAlsoStopped": false, + "serverFarmId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/serverfarms/DefaultAsp", + "siteConfig": { + "acrUseManagedIdentityCreds": false, + "alwaysOn": false, + "appCommandLine": "", + "autoHealEnabled": false, + "azureStorageAccounts": {}, + "defaultDocuments": [ + "Default.htm", + "Default.html", + "Default.asp", + "index.htm", + "index.html", + "iisstart.htm", + "default.aspx", + "index.php", + "hostingstart.html" + ], + "detailedErrorLoggingEnabled": false, + "ftpsState": "AllAllowed", + "functionAppScaleLimit": 0, + "functionsRuntimeScaleMonitoringEnabled": false, + "http20Enabled": false, + "httpLoggingEnabled": false, + "linuxFxVersion": "", + "loadBalancing": "LeastRequests", + "logsDirectorySizeLimit": 35, + "managedPipelineMode": "Integrated", + "minTlsVersion": "1.2", + "minimumElasticInstanceCount": 0, + "netFrameworkVersion": "v4.0", + "nodeVersion": "", + "numberOfWorkers": 1, + "phpVersion": "5.6", + "powerShellVersion": "", + "pythonVersion": "", + "remoteDebuggingEnabled": false, + "requestTracingEnabled": false, + "scmMinTlsVersion": "1.2", + "use32BitWorkerProcess": true, + "virtualApplications": [ + { + "physicalPath": "site\\wwwroot", + "preloadEnabled": false, + "virtualPath": "/" + } + ], + "vnetName": "", + "vnetPrivatePortsCount": 0, + "vnetRouteAllEnabled": false, + "webSocketsEnabled": false + }, + "sku": "Standard", + "state": "Running", + "storageAccountRequired": false, + "usageState": "Normal", + "workloadProfileName": "myd4wp" + } + }, + "headers": {} + }, + "404": {} + }, + "operationId": "WebApps_Get", + "title": "Get Web App" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/GetWebAppBackup.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/GetWebAppBackup.json new file mode 100644 index 000000000000..5aa010f64a60 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/GetWebAppBackup.json @@ -0,0 +1,49 @@ +{ + "parameters": { + "name": "sitef6141", + "api-version": "2025-03-01", + "backupId": "12345", + "resourceGroupName": "testrg123", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": { + "name": "sitef6141", + "type": "Microsoft.Web/sites", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/sitef6141/backups/12345", + "properties": { + "name": "sitef6141_2024-11-01", + "blobName": "sitef6141_2024-11-01", + "created": "2022-09-03T17:33:11.641Z", + "databases": [ + { + "name": "backenddb", + "connectionString": "DSN=data-source-name[;SERVER=value] [;PWD=value] [;UID=value] [;=]", + "connectionStringName": "backend", + "databaseType": "SqlAzure" + }, + { + "name": "statsdb", + "connectionString": "DSN=data-source-name[;SERVER=value] [;PWD=value] [;UID=value] [;=]", + "connectionStringName": "stats", + "databaseType": "SqlAzure" + } + ], + "finishedTimeStamp": "2022-09-05T17:33:11.641Z", + "id": 12345, + "lastRestoreTimeStamp": "2022-09-04T17:33:11.641Z", + "log": "Succeeded", + "scheduled": true, + "sizeInBytes": 56091883, + "status": "InProgress", + "storageAccountUrl": "DefaultEndpointsProtocol=https;AccountName=storagesample;AccountKey=", + "websiteSizeInBytes": 56091883 + } + }, + "headers": {} + } + }, + "operationId": "WebApps_GetBackupStatus", + "title": "Get web app backup" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/GetWebAppBackupWithSecrets.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/GetWebAppBackupWithSecrets.json new file mode 100644 index 000000000000..9ad278ec9fa5 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/GetWebAppBackupWithSecrets.json @@ -0,0 +1,77 @@ +{ + "parameters": { + "name": "sitef6141", + "api-version": "2025-03-01", + "backupId": "12345", + "resourceGroupName": "testrg123", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "request": { + "properties": { + "backupName": "abcdwe", + "backupSchedule": { + "frequencyInterval": 7, + "frequencyUnit": "Day", + "keepAtLeastOneBackup": true, + "retentionPeriodInDays": 30, + "startTime": "2022-09-02T17:33:11.641Z" + }, + "databases": [ + { + "name": "backenddb", + "connectionString": "DSN=data-source-name[;SERVER=value] [;PWD=value] [;UID=value] [;=]", + "connectionStringName": "backend", + "databaseType": "SqlAzure" + }, + { + "name": "statsdb", + "connectionString": "DSN=data-source-name[;SERVER=value] [;PWD=value] [;UID=value] [;=]", + "connectionStringName": "stats", + "databaseType": "SqlAzure" + } + ], + "enabled": true, + "storageAccountUrl": "DefaultEndpointsProtocol=https;AccountName=storagesample;AccountKey=" + } + } + }, + "responses": { + "200": { + "body": { + "name": "sitef6141", + "type": "Microsoft.Web/sites", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/sitef6141/backups/12345", + "properties": { + "name": "sitef6141_2024-11-01", + "blobName": "sitef6141_2024-11-01", + "created": "2022-09-03T17:33:11.641Z", + "databases": [ + { + "name": "backenddb", + "connectionString": "DSN=data-source-name[;SERVER=value] [;PWD=value] [;UID=value] [;=]", + "connectionStringName": "backend", + "databaseType": "SqlAzure" + }, + { + "name": "statsdb", + "connectionString": "DSN=data-source-name[;SERVER=value] [;PWD=value] [;UID=value] [;=]", + "connectionStringName": "stats", + "databaseType": "SqlAzure" + } + ], + "finishedTimeStamp": "2022-09-05T17:33:11.641Z", + "id": 12345, + "lastRestoreTimeStamp": "2022-09-04T17:33:11.641Z", + "log": "Succeeded", + "scheduled": true, + "sizeInBytes": 56091883, + "status": "InProgress", + "storageAccountUrl": "DefaultEndpointsProtocol=https;AccountName=storagesample;AccountKey=", + "websiteSizeInBytes": 56091883 + } + }, + "headers": {} + } + }, + "operationId": "WebApps_ListBackupStatusSecrets", + "title": "Get web app backup with secrets" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/GetWebAppSlot.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/GetWebAppSlot.json new file mode 100644 index 000000000000..2a5e8d715e56 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/GetWebAppSlot.json @@ -0,0 +1,130 @@ +{ + "parameters": { + "name": "sitef6141", + "api-version": "2025-03-01", + "resourceGroupName": "testrg123", + "slot": "staging", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": { + "name": "sitef6141/staging", + "type": "Microsoft.Web/sites/slots", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/sitef6141/slots/staging", + "kind": "app", + "location": "East US", + "properties": { + "availabilityState": "Normal", + "clientAffinityEnabled": true, + "clientCertEnabled": false, + "clientCertMode": "Required", + "containerSize": 0, + "customDomainVerificationId": "7F3BB652450EF7AD0B6AA33064586E4A9CE823A46DF0B2EC6443A68086E84153", + "dailyMemoryTimeQuota": 0, + "defaultHostName": "sitef6141-staging.azurewebsites.net", + "enabled": true, + "enabledHostNames": [ + "sitef6141-staging.azurewebsites.net", + "sitef6141-staging.scm.azurewebsites.net" + ], + "hostNameSslStates": [ + { + "name": "sitef6141-staging.azurewebsites.net", + "hostType": "Standard", + "sslState": "Disabled" + }, + { + "name": "sitef6141-staging.scm.azurewebsites.net", + "hostType": "Repository", + "sslState": "Disabled" + } + ], + "hostNames": [ + "sitef6141-staging.azurewebsites.net" + ], + "hostNamesDisabled": false, + "httpsOnly": false, + "hyperV": false, + "isXenon": false, + "keyVaultReferenceIdentity": "SystemAssigned", + "lastModifiedTimeUtc": "2020-03-04T17:33:11.641Z", + "outboundIpAddresses": "70.37.102.201,20.225.43.144", + "outboundVnetRouting": { + "allTraffic": false, + "applicationTraffic": false, + "backupRestoreTraffic": false, + "contentShareTraffic": false, + "imagePullTraffic": false + }, + "possibleOutboundIpAddresses": "70.37.102.201,20.225.43.144,20.225.184.122,20.225.184.188", + "redundancyMode": "None", + "repositorySiteName": "sitef6141", + "reserved": false, + "resourceGroup": "testrg123", + "scmSiteAlsoStopped": false, + "serverFarmId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/serverfarms/DefaultAsp", + "siteConfig": { + "acrUseManagedIdentityCreds": false, + "alwaysOn": false, + "appCommandLine": "", + "autoHealEnabled": false, + "azureStorageAccounts": {}, + "defaultDocuments": [ + "Default.htm", + "Default.html", + "Default.asp", + "index.htm", + "index.html", + "iisstart.htm", + "default.aspx", + "index.php", + "hostingstart.html" + ], + "detailedErrorLoggingEnabled": false, + "ftpsState": "AllAllowed", + "functionAppScaleLimit": 0, + "functionsRuntimeScaleMonitoringEnabled": false, + "http20Enabled": false, + "httpLoggingEnabled": false, + "linuxFxVersion": "", + "loadBalancing": "LeastRequests", + "logsDirectorySizeLimit": 35, + "managedPipelineMode": "Integrated", + "minTlsVersion": "1.2", + "minimumElasticInstanceCount": 0, + "netFrameworkVersion": "v4.0", + "nodeVersion": "", + "numberOfWorkers": 1, + "phpVersion": "5.6", + "powerShellVersion": "", + "pythonVersion": "", + "remoteDebuggingEnabled": false, + "requestTracingEnabled": false, + "scmMinTlsVersion": "1.2", + "use32BitWorkerProcess": true, + "virtualApplications": [ + { + "physicalPath": "site\\wwwroot", + "preloadEnabled": false, + "virtualPath": "/" + } + ], + "vnetName": "", + "vnetPrivatePortsCount": 0, + "vnetRouteAllEnabled": false, + "webSocketsEnabled": false + }, + "sku": "Standard", + "state": "Running", + "storageAccountRequired": false, + "usageState": "Normal" + } + }, + "headers": {} + }, + "404": {} + }, + "operationId": "WebApps_GetSlot", + "title": "Get Web App Slot" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/GetWebAppStacks.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/GetWebAppStacks.json new file mode 100644 index 000000000000..6082bfaf1d3f --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/GetWebAppStacks.json @@ -0,0 +1,2917 @@ +{ + "parameters": { + "api-version": "2025-03-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "dotnet", + "type": "Microsoft.Web/webAppStacks", + "id": "/providers/Microsoft.Web/webAppStacks/dotnet", + "properties": { + "displayText": ".NET", + "majorVersions": [ + { + "displayText": ".NET 5", + "minorVersions": [ + { + "displayText": ".NET 5", + "stackSettings": { + "linuxRuntimeSettings": { + "appInsightsSettings": { + "isSupported": false + }, + "gitHubActionSettings": { + "isSupported": true, + "supportedVersion": "5.0.x" + }, + "isEarlyAccess": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "DOTNETCORE|5.0" + }, + "windowsRuntimeSettings": { + "appInsightsSettings": { + "isSupported": true + }, + "gitHubActionSettings": { + "isSupported": true, + "supportedVersion": "5.0.x" + }, + "isEarlyAccess": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "v5.0" + } + }, + "value": "5" + } + ], + "value": "5" + }, + { + "displayText": ".NET Core 3", + "minorVersions": [ + { + "displayText": ".NET Core 3.1 (LTS)", + "stackSettings": { + "linuxRuntimeSettings": { + "appInsightsSettings": { + "isSupported": false + }, + "gitHubActionSettings": { + "isSupported": true, + "supportedVersion": "3.1.301" + }, + "remoteDebuggingSupported": false, + "runtimeVersion": "DOTNETCORE|3.1" + }, + "windowsRuntimeSettings": { + "appInsightsSettings": { + "isSupported": true + }, + "gitHubActionSettings": { + "isSupported": true, + "supportedVersion": "3.1.301" + }, + "remoteDebuggingSupported": false, + "runtimeVersion": "3.1" + } + }, + "value": "3.1" + }, + { + "displayText": ".NET Core 3.0", + "stackSettings": { + "linuxRuntimeSettings": { + "appInsightsSettings": { + "isSupported": false + }, + "endOfLifeDate": "2020-04-03T00:00:00+00:00", + "gitHubActionSettings": { + "isSupported": true, + "supportedVersion": "3.0.103" + }, + "isDeprecated": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "DOTNETCORE|3.0" + }, + "windowsRuntimeSettings": { + "appInsightsSettings": { + "isSupported": false + }, + "endOfLifeDate": "2020-04-03T00:00:00+00:00", + "gitHubActionSettings": { + "isSupported": true, + "supportedVersion": "3.0.103" + }, + "isDeprecated": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "3.0" + } + }, + "value": "3.0" + } + ], + "value": "3" + }, + { + "displayText": ".NET Core 2", + "minorVersions": [ + { + "displayText": ".NET Core 2.2", + "stackSettings": { + "linuxRuntimeSettings": { + "appInsightsSettings": { + "isSupported": false + }, + "endOfLifeDate": "2020-01-23T00:00:00+00:00", + "gitHubActionSettings": { + "isSupported": true, + "supportedVersion": "2.2.207" + }, + "isDeprecated": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "DOTNETCORE|2.2" + }, + "windowsRuntimeSettings": { + "appInsightsSettings": { + "isSupported": false + }, + "endOfLifeDate": "2020-01-23T00:00:00+00:00", + "gitHubActionSettings": { + "isSupported": true, + "supportedVersion": "2.2.207" + }, + "isDeprecated": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "2.2" + } + }, + "value": "2.2" + }, + { + "displayText": ".NET Core 2.1 (LTS)", + "stackSettings": { + "linuxRuntimeSettings": { + "appInsightsSettings": { + "isSupported": false + }, + "endOfLifeDate": "2021-09-21T00:00:00+00:00", + "gitHubActionSettings": { + "isSupported": true, + "supportedVersion": "2.1.807" + }, + "remoteDebuggingSupported": false, + "runtimeVersion": "DOTNETCORE|2.1" + }, + "windowsRuntimeSettings": { + "appInsightsSettings": { + "isSupported": true + }, + "endOfLifeDate": "2021-09-21T00:00:00+00:00", + "gitHubActionSettings": { + "isSupported": true, + "supportedVersion": "2.1.807" + }, + "remoteDebuggingSupported": false, + "runtimeVersion": "2.1" + } + }, + "value": "2.1" + }, + { + "displayText": ".NET Core 2.0", + "stackSettings": { + "linuxRuntimeSettings": { + "appInsightsSettings": { + "isSupported": false + }, + "endOfLifeDate": "2018-11-01T00:00:00+00:00", + "gitHubActionSettings": { + "isSupported": true, + "supportedVersion": "2.1.202" + }, + "isDeprecated": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "DOTNETCORE|2.0" + }, + "windowsRuntimeSettings": { + "appInsightsSettings": { + "isSupported": false + }, + "endOfLifeDate": "2018-11-01T00:00:00+00:00", + "gitHubActionSettings": { + "isSupported": true, + "supportedVersion": "2.1.202" + }, + "isDeprecated": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "2.0" + } + }, + "value": "2.0" + } + ], + "value": "dotnetcore2" + }, + { + "displayText": ".NET Core 1", + "minorVersions": [ + { + "displayText": ".NET Core 1.1", + "stackSettings": { + "linuxRuntimeSettings": { + "appInsightsSettings": { + "isSupported": false + }, + "endOfLifeDate": "2019-07-27T00:00:00+00:00", + "gitHubActionSettings": { + "isSupported": true, + "supportedVersion": "1.1.14" + }, + "isDeprecated": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "DOTNETCORE|1.1" + }, + "windowsRuntimeSettings": { + "appInsightsSettings": { + "isSupported": false + }, + "endOfLifeDate": "2019-07-27T00:00:00+00:00", + "gitHubActionSettings": { + "isSupported": true, + "supportedVersion": "1.1.14" + }, + "isDeprecated": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "1.1" + } + }, + "value": "1.1" + }, + { + "displayText": ".NET Core 1.0", + "stackSettings": { + "linuxRuntimeSettings": { + "appInsightsSettings": { + "isSupported": false + }, + "endOfLifeDate": "2019-07-27T00:00:00+00:00", + "gitHubActionSettings": { + "isSupported": true, + "supportedVersion": "1.1.14" + }, + "isDeprecated": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "DOTNETCORE|1.0" + }, + "windowsRuntimeSettings": { + "appInsightsSettings": { + "isSupported": false + }, + "endOfLifeDate": "2019-07-27T00:00:00+00:00", + "gitHubActionSettings": { + "isSupported": true, + "supportedVersion": "1.1.14" + }, + "isDeprecated": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "1.0" + } + }, + "value": "1.0" + } + ], + "value": "1" + }, + { + "displayText": "ASP.NET V4", + "minorVersions": [ + { + "displayText": "ASP.NET V4.8", + "stackSettings": { + "windowsRuntimeSettings": { + "appInsightsSettings": { + "isSupported": true + }, + "gitHubActionSettings": { + "isSupported": true, + "supportedVersion": "3.1" + }, + "remoteDebuggingSupported": false, + "runtimeVersion": "v4.0" + } + }, + "value": "v4.8" + } + ], + "value": "v4" + }, + { + "displayText": "ASP.NET V3", + "minorVersions": [ + { + "displayText": "ASP.NET V3.5", + "stackSettings": { + "windowsRuntimeSettings": { + "appInsightsSettings": { + "isSupported": true + }, + "gitHubActionSettings": { + "isSupported": true, + "supportedVersion": "2.1" + }, + "remoteDebuggingSupported": false, + "runtimeVersion": "v2.0" + } + }, + "value": "v3.5" + } + ], + "value": "v3" + } + ], + "preferredOs": "Windows", + "value": "dotnet" + } + }, + { + "name": "node", + "type": "Microsoft.Web/webAppStacks", + "id": "/providers/Microsoft.Web/webAppStacks/node", + "properties": { + "displayText": "Node", + "majorVersions": [ + { + "displayText": "Node LTS", + "minorVersions": [ + { + "displayText": "Node LTS", + "stackSettings": { + "linuxRuntimeSettings": { + "appInsightsSettings": { + "isSupported": true + }, + "gitHubActionSettings": { + "isSupported": true + }, + "isDeprecated": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "NODE|lts" + } + }, + "value": "lts" + } + ], + "value": "lts" + }, + { + "displayText": "Node 14", + "minorVersions": [ + { + "displayText": "Node 14 LTS", + "stackSettings": { + "linuxRuntimeSettings": { + "appInsightsSettings": { + "isSupported": true + }, + "endOfLifeDate": "2023-05-30T00:00:00+00:00", + "gitHubActionSettings": { + "isSupported": true, + "supportedVersion": "14.x" + }, + "isPreview": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "NODE|14-lts" + } + }, + "value": "14-lts" + } + ], + "value": "14" + }, + { + "displayText": "Node 12", + "minorVersions": [ + { + "displayText": "Node 12 LTS", + "stackSettings": { + "linuxRuntimeSettings": { + "appInsightsSettings": { + "isSupported": true + }, + "endOfLifeDate": "2022-05-01T00:00:00+00:00", + "gitHubActionSettings": { + "isSupported": true, + "supportedVersion": "12.x" + }, + "remoteDebuggingSupported": false, + "runtimeVersion": "NODE|12-lts" + }, + "windowsRuntimeSettings": { + "appInsightsSettings": { + "isSupported": true + }, + "endOfLifeDate": "2022-05-01T00:00:00+00:00", + "gitHubActionSettings": { + "isSupported": true + }, + "remoteDebuggingSupported": false, + "runtimeVersion": "12.13.0" + } + }, + "value": "12-lts" + }, + { + "displayText": "Node 12.9", + "stackSettings": { + "linuxRuntimeSettings": { + "appInsightsSettings": { + "isSupported": true + }, + "endOfLifeDate": "2022-05-01T00:00:00+00:00", + "gitHubActionSettings": { + "isSupported": true, + "supportedVersion": "12.x" + }, + "isDeprecated": true, + "remoteDebuggingSupported": true, + "runtimeVersion": "NODE|12.9" + } + }, + "value": "12.9" + } + ], + "value": "12" + }, + { + "displayText": "Node 10", + "minorVersions": [ + { + "displayText": "Node 10 LTS", + "stackSettings": { + "linuxRuntimeSettings": { + "appInsightsSettings": { + "isSupported": true + }, + "endOfLifeDate": "2021-05-01T00:00:00+00:00", + "gitHubActionSettings": { + "isSupported": true, + "supportedVersion": "10.x" + }, + "remoteDebuggingSupported": false, + "runtimeVersion": "NODE|10-lts" + } + }, + "value": "10-LTS" + }, + { + "displayText": "Node 10.16", + "stackSettings": { + "linuxRuntimeSettings": { + "appInsightsSettings": { + "isSupported": true + }, + "endOfLifeDate": "2021-05-01T00:00:00+00:00", + "gitHubActionSettings": { + "isSupported": true, + "supportedVersion": "10.x" + }, + "isDeprecated": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "NODE|10.16" + } + }, + "value": "10.16" + }, + { + "displayText": "Node 10.15", + "stackSettings": { + "windowsRuntimeSettings": { + "appInsightsSettings": { + "isSupported": false + }, + "endOfLifeDate": "2021-05-01T00:00:00+00:00", + "gitHubActionSettings": { + "isSupported": true, + "supportedVersion": "10.x" + }, + "isHidden": true, + "isPreview": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "10.15.2" + } + }, + "value": "10.15" + }, + { + "displayText": "Node 10.14", + "stackSettings": { + "linuxRuntimeSettings": { + "appInsightsSettings": { + "isSupported": true + }, + "endOfLifeDate": "2021-05-01T00:00:00+00:00", + "gitHubActionSettings": { + "isSupported": true, + "supportedVersion": "10.x" + }, + "remoteDebuggingSupported": false, + "runtimeVersion": "NODE|10.14" + }, + "windowsRuntimeSettings": { + "appInsightsSettings": { + "isSupported": true + }, + "endOfLifeDate": "2021-05-01T00:00:00+00:00", + "gitHubActionSettings": { + "isSupported": true, + "supportedVersion": "10.x" + }, + "remoteDebuggingSupported": false, + "runtimeVersion": "10.14.1" + } + }, + "value": "10.14" + }, + { + "displayText": "Node 10.12", + "stackSettings": { + "linuxRuntimeSettings": { + "appInsightsSettings": { + "isSupported": true + }, + "endOfLifeDate": "2021-05-01T00:00:00+00:00", + "gitHubActionSettings": { + "isSupported": true, + "supportedVersion": "10.x" + }, + "isDeprecated": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "NODE|10.12" + } + }, + "value": "10.12" + }, + { + "displayText": "Node 10.10", + "stackSettings": { + "linuxRuntimeSettings": { + "appInsightsSettings": { + "isSupported": true + }, + "endOfLifeDate": "2021-05-01T00:00:00+00:00", + "gitHubActionSettings": { + "isSupported": true, + "supportedVersion": "10.x" + }, + "isDeprecated": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "NODE|10.10" + }, + "windowsRuntimeSettings": { + "appInsightsSettings": { + "isSupported": true + }, + "endOfLifeDate": "2021-05-01T00:00:00+00:00", + "gitHubActionSettings": { + "isSupported": true, + "supportedVersion": "10.x" + }, + "remoteDebuggingSupported": false, + "runtimeVersion": "10.0.0" + } + }, + "value": "10.10" + }, + { + "displayText": "Node 10.6", + "stackSettings": { + "linuxRuntimeSettings": { + "appInsightsSettings": { + "isSupported": true + }, + "endOfLifeDate": "2021-05-01T00:00:00+00:00", + "gitHubActionSettings": { + "isSupported": true, + "supportedVersion": "10.x" + }, + "remoteDebuggingSupported": false, + "runtimeVersion": "NODE|10.6" + }, + "windowsRuntimeSettings": { + "appInsightsSettings": { + "isSupported": true + }, + "endOfLifeDate": "2021-05-01T00:00:00+00:00", + "gitHubActionSettings": { + "isSupported": true + }, + "remoteDebuggingSupported": false, + "runtimeVersion": "10.6.0" + } + }, + "value": "10.6" + }, + { + "displayText": "Node 10.1", + "stackSettings": { + "linuxRuntimeSettings": { + "appInsightsSettings": { + "isSupported": true + }, + "endOfLifeDate": "2021-05-01T00:00:00+00:00", + "gitHubActionSettings": { + "isSupported": true, + "supportedVersion": "10.x" + }, + "remoteDebuggingSupported": false, + "runtimeVersion": "NODE|10.1" + } + }, + "value": "10.1" + } + ], + "value": "10" + }, + { + "displayText": "Node 9", + "minorVersions": [ + { + "displayText": "Node 9.4", + "stackSettings": { + "linuxRuntimeSettings": { + "appInsightsSettings": { + "isSupported": true + }, + "endOfLifeDate": "2019-07-30T00:00:00+00:00", + "gitHubActionSettings": { + "isSupported": true + }, + "isDeprecated": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "NODE|9.4" + } + }, + "value": "9.4" + } + ], + "value": "9" + }, + { + "displayText": "Node 8", + "minorVersions": [ + { + "displayText": "Node 8 LTS", + "stackSettings": { + "linuxRuntimeSettings": { + "appInsightsSettings": { + "isSupported": true + }, + "endOfLifeDate": "2020-01-31T00:00:00+00:00", + "gitHubActionSettings": { + "isSupported": true + }, + "isDeprecated": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "NODE|8-lts" + } + }, + "value": "8-lts" + }, + { + "displayText": "Node 8.12", + "stackSettings": { + "linuxRuntimeSettings": { + "appInsightsSettings": { + "isSupported": true + }, + "endOfLifeDate": "2020-01-31T00:00:00+00:00", + "gitHubActionSettings": { + "isSupported": true + }, + "isDeprecated": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "NODE|8.12" + } + }, + "value": "8.12" + }, + { + "displayText": "Node 8.11", + "stackSettings": { + "linuxRuntimeSettings": { + "appInsightsSettings": { + "isSupported": true + }, + "endOfLifeDate": "2020-01-31T00:00:00+00:00", + "gitHubActionSettings": { + "isSupported": true + }, + "isDeprecated": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "NODE|8.11" + }, + "windowsRuntimeSettings": { + "appInsightsSettings": { + "isSupported": false + }, + "endOfLifeDate": "2020-01-31T00:00:00+00:00", + "gitHubActionSettings": { + "isSupported": false + }, + "isDeprecated": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "8.11" + } + }, + "value": "8.11" + }, + { + "displayText": "Node 8.10", + "stackSettings": { + "windowsRuntimeSettings": { + "appInsightsSettings": { + "isSupported": false + }, + "endOfLifeDate": "2020-01-31T00:00:00+00:00", + "gitHubActionSettings": { + "isSupported": false + }, + "isDeprecated": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "8.10" + } + }, + "value": "8.10" + }, + { + "displayText": "Node 8.9", + "stackSettings": { + "linuxRuntimeSettings": { + "appInsightsSettings": { + "isSupported": true + }, + "endOfLifeDate": "2020-01-31T00:00:00+00:00", + "gitHubActionSettings": { + "isSupported": true + }, + "isDeprecated": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "NODE|8.9" + }, + "windowsRuntimeSettings": { + "appInsightsSettings": { + "isSupported": false + }, + "endOfLifeDate": "2020-01-31T00:00:00+00:00", + "gitHubActionSettings": { + "isSupported": false + }, + "isDeprecated": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "8.9" + } + }, + "value": "8.9" + }, + { + "displayText": "Node 8.8", + "stackSettings": { + "linuxRuntimeSettings": { + "appInsightsSettings": { + "isSupported": true + }, + "endOfLifeDate": "2020-01-31T00:00:00+00:00", + "gitHubActionSettings": { + "isSupported": true + }, + "isDeprecated": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "NODE|8.8" + } + }, + "value": "8.8" + }, + { + "displayText": "Node 8.5", + "stackSettings": { + "windowsRuntimeSettings": { + "appInsightsSettings": { + "isSupported": false + }, + "endOfLifeDate": "2020-01-31T00:00:00+00:00", + "gitHubActionSettings": { + "isSupported": false + }, + "isDeprecated": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "8.5" + } + }, + "value": "8.5" + }, + { + "displayText": "Node 8.4", + "stackSettings": { + "windowsRuntimeSettings": { + "appInsightsSettings": { + "isSupported": false + }, + "endOfLifeDate": "2020-01-31T00:00:00+00:00", + "gitHubActionSettings": { + "isSupported": false + }, + "isDeprecated": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "8.4" + } + }, + "value": "8.4" + }, + { + "displayText": "Node 8.2", + "stackSettings": { + "linuxRuntimeSettings": { + "appInsightsSettings": { + "isSupported": true + }, + "endOfLifeDate": "2020-01-31T00:00:00+00:00", + "gitHubActionSettings": { + "isSupported": true + }, + "isDeprecated": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "NODE|8.2" + } + }, + "value": "8.2" + }, + { + "displayText": "Node 8.1", + "stackSettings": { + "linuxRuntimeSettings": { + "appInsightsSettings": { + "isSupported": true + }, + "endOfLifeDate": "2020-01-31T00:00:00+00:00", + "gitHubActionSettings": { + "isSupported": true + }, + "isDeprecated": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "NODE|8.1" + }, + "windowsRuntimeSettings": { + "appInsightsSettings": { + "isSupported": true + }, + "endOfLifeDate": "2020-01-31T00:00:00+00:00", + "gitHubActionSettings": { + "isSupported": true + }, + "isDeprecated": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "8.1.4" + } + }, + "value": "8.1" + }, + { + "displayText": "Node 8.0", + "stackSettings": { + "linuxRuntimeSettings": { + "appInsightsSettings": { + "isSupported": true + }, + "endOfLifeDate": "2020-01-31T00:00:00+00:00", + "gitHubActionSettings": { + "isSupported": true + }, + "isDeprecated": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "NODE|8.0" + } + }, + "value": "8.0" + } + ], + "value": "8" + }, + { + "displayText": "Node 7", + "minorVersions": [ + { + "displayText": "Node 7.10", + "stackSettings": { + "windowsRuntimeSettings": { + "appInsightsSettings": { + "isSupported": false + }, + "endOfLifeDate": "2017-07-30T00:00:00+00:00", + "gitHubActionSettings": { + "isSupported": false + }, + "isDeprecated": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "7.10.1" + } + }, + "value": "7.10" + } + ], + "value": "7" + }, + { + "displayText": "Node 6", + "minorVersions": [ + { + "displayText": "Node 6 LTS", + "stackSettings": { + "linuxRuntimeSettings": { + "appInsightsSettings": { + "isSupported": true + }, + "endOfLifeDate": "2019-05-30T00:00:00+00:00", + "gitHubActionSettings": { + "isSupported": true + }, + "isDeprecated": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "NODE|6-lts" + } + }, + "value": "6-LTS" + }, + { + "displayText": "Node 6.12", + "stackSettings": { + "windowsRuntimeSettings": { + "appInsightsSettings": { + "isSupported": true + }, + "endOfLifeDate": "2019-05-30T00:00:00+00:00", + "gitHubActionSettings": { + "isSupported": false + }, + "isDeprecated": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "6.12" + } + }, + "value": "6.12" + }, + { + "displayText": "Node 6.11", + "stackSettings": { + "linuxRuntimeSettings": { + "appInsightsSettings": { + "isSupported": true + }, + "endOfLifeDate": "2019-05-30T00:00:00+00:00", + "gitHubActionSettings": { + "isSupported": true + }, + "isDeprecated": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "NODE|6.11" + } + }, + "value": "6.11" + }, + { + "displayText": "Node 6.10", + "stackSettings": { + "linuxRuntimeSettings": { + "appInsightsSettings": { + "isSupported": true + }, + "endOfLifeDate": "2019-05-30T00:00:00+00:00", + "gitHubActionSettings": { + "isSupported": true + }, + "isDeprecated": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "NODE|6.10" + } + }, + "value": "6.10" + }, + { + "displayText": "Node 6.9", + "stackSettings": { + "linuxRuntimeSettings": { + "appInsightsSettings": { + "isSupported": true + }, + "endOfLifeDate": "2019-05-30T00:00:00+00:00", + "gitHubActionSettings": { + "isSupported": true + }, + "isDeprecated": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "NODE|6.9" + }, + "windowsRuntimeSettings": { + "appInsightsSettings": { + "isSupported": true + }, + "endOfLifeDate": "2019-05-30T00:00:00+00:00", + "gitHubActionSettings": { + "isSupported": true + }, + "isDeprecated": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "6.9.5" + } + }, + "value": "6.9" + }, + { + "displayText": "Node 6.6", + "stackSettings": { + "linuxRuntimeSettings": { + "appInsightsSettings": { + "isSupported": true + }, + "endOfLifeDate": "2019-05-30T00:00:00+00:00", + "gitHubActionSettings": { + "isSupported": true + }, + "isDeprecated": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "NODE|6.6" + } + }, + "value": "6.6" + }, + { + "displayText": "Node 6.5", + "stackSettings": { + "windowsRuntimeSettings": { + "appInsightsSettings": { + "isSupported": true + }, + "endOfLifeDate": "2019-05-30T00:00:00+00:00", + "gitHubActionSettings": { + "isSupported": false + }, + "isDeprecated": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "6.5.0" + } + }, + "value": "6.5" + }, + { + "displayText": "Node 6.2", + "stackSettings": { + "linuxRuntimeSettings": { + "appInsightsSettings": { + "isSupported": true + }, + "endOfLifeDate": "2019-05-30T00:00:00+00:00", + "gitHubActionSettings": { + "isSupported": true + }, + "isDeprecated": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "NODE|6.2" + } + }, + "value": "6.2" + } + ], + "value": "6" + }, + { + "displayText": "Node 4", + "minorVersions": [ + { + "displayText": "Node 4.8", + "stackSettings": { + "linuxRuntimeSettings": { + "appInsightsSettings": { + "isSupported": true + }, + "endOfLifeDate": "2018-05-30T00:00:00+00:00", + "gitHubActionSettings": { + "isSupported": true + }, + "isDeprecated": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "NODE|4.8" + }, + "windowsRuntimeSettings": { + "appInsightsSettings": { + "isSupported": true + }, + "endOfLifeDate": "2018-05-30T00:00:00+00:00", + "gitHubActionSettings": { + "isSupported": false + }, + "isDeprecated": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "4.8" + } + }, + "value": "4.8" + }, + { + "displayText": "Node 4.5", + "stackSettings": { + "linuxRuntimeSettings": { + "appInsightsSettings": { + "isSupported": true + }, + "endOfLifeDate": "2018-05-30T00:00:00+00:00", + "gitHubActionSettings": { + "isSupported": true + }, + "isDeprecated": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "NODE|4.5" + } + }, + "value": "4.5" + }, + { + "displayText": "Node 4.4", + "stackSettings": { + "linuxRuntimeSettings": { + "appInsightsSettings": { + "isSupported": true + }, + "endOfLifeDate": "2018-05-30T00:00:00+00:00", + "gitHubActionSettings": { + "isSupported": true + }, + "isDeprecated": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "NODE|4.4" + } + }, + "value": "4.4" + } + ], + "value": "4" + } + ], + "preferredOs": "Linux", + "value": "node" + } + }, + { + "name": "python", + "type": "Microsoft.Web/webAppStacks", + "id": "/providers/Microsoft.Web/webAppStacks/python", + "properties": { + "displayText": "Python", + "majorVersions": [ + { + "displayText": "Python 3", + "minorVersions": [ + { + "displayText": "Python 3.8", + "stackSettings": { + "linuxRuntimeSettings": { + "appInsightsSettings": { + "isSupported": false + }, + "gitHubActionSettings": { + "isSupported": true, + "supportedVersion": "3.8" + }, + "remoteDebuggingSupported": false, + "runtimeVersion": "PYTHON|3.8" + } + }, + "value": "3.8" + }, + { + "displayText": "Python 3.7", + "stackSettings": { + "linuxRuntimeSettings": { + "appInsightsSettings": { + "isSupported": false + }, + "gitHubActionSettings": { + "isSupported": true, + "supportedVersion": "3.7" + }, + "remoteDebuggingSupported": false, + "runtimeVersion": "PYTHON|3.7" + } + }, + "value": "3.7" + }, + { + "displayText": "Python 3.6", + "stackSettings": { + "linuxRuntimeSettings": { + "appInsightsSettings": { + "isSupported": false + }, + "gitHubActionSettings": { + "isSupported": true, + "supportedVersion": "3.6" + }, + "remoteDebuggingSupported": false, + "runtimeVersion": "PYTHON|3.6" + }, + "windowsRuntimeSettings": { + "appInsightsSettings": { + "isSupported": true + }, + "gitHubActionSettings": { + "isSupported": true, + "supportedVersion": "3.6" + }, + "remoteDebuggingSupported": false, + "runtimeVersion": "3.4.0" + } + }, + "value": "3.6" + } + ], + "value": "3" + }, + { + "displayText": "Python 2", + "minorVersions": [ + { + "displayText": "Python 2.7", + "stackSettings": { + "linuxRuntimeSettings": { + "appInsightsSettings": { + "isSupported": false + }, + "endOfLifeDate": "2020-02-01T00:00:00+00:00", + "gitHubActionSettings": { + "isSupported": true, + "supportedVersion": "2.7" + }, + "isDeprecated": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "PYTHON|2.7" + }, + "windowsRuntimeSettings": { + "appInsightsSettings": { + "isSupported": false + }, + "endOfLifeDate": "2020-02-01T00:00:00+00:00", + "gitHubActionSettings": { + "isSupported": true, + "supportedVersion": "2.7" + }, + "isDeprecated": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "2.7.3" + } + }, + "value": "2.7" + } + ], + "value": "2" + } + ], + "preferredOs": "Linux", + "value": "python" + } + }, + { + "name": "php", + "type": "Microsoft.Web/webAppStacks", + "id": "/providers/Microsoft.Web/webAppStacks/php", + "properties": { + "displayText": "PHP", + "majorVersions": [ + { + "displayText": "PHP 7", + "minorVersions": [ + { + "displayText": "PHP 7.4", + "stackSettings": { + "linuxRuntimeSettings": { + "appInsightsSettings": { + "isSupported": false + }, + "endOfLifeDate": "2022-12-28T00:00:00+00:00", + "gitHubActionSettings": { + "isSupported": false + }, + "remoteDebuggingSupported": false, + "runtimeVersion": "PHP|7.4" + }, + "windowsRuntimeSettings": { + "appInsightsSettings": { + "isSupported": false + }, + "endOfLifeDate": "2022-12-28T00:00:00+00:00", + "gitHubActionSettings": { + "isSupported": false + }, + "remoteDebuggingSupported": false, + "runtimeVersion": "7.4" + } + }, + "value": "7.4" + }, + { + "displayText": "PHP 7.3", + "stackSettings": { + "linuxRuntimeSettings": { + "appInsightsSettings": { + "isSupported": false + }, + "endOfLifeDate": "2022-01-06T00:00:00+00:00", + "gitHubActionSettings": { + "isSupported": false + }, + "remoteDebuggingSupported": false, + "runtimeVersion": "PHP|7.3" + }, + "windowsRuntimeSettings": { + "appInsightsSettings": { + "isSupported": false + }, + "endOfLifeDate": "2022-01-06T00:00:00+00:00", + "gitHubActionSettings": { + "isSupported": false + }, + "remoteDebuggingSupported": false, + "runtimeVersion": "7.3" + } + }, + "value": "7.3" + }, + { + "displayText": "PHP 7.2", + "stackSettings": { + "linuxRuntimeSettings": { + "appInsightsSettings": { + "isSupported": false + }, + "endOfLifeDate": "2020-12-30T00:00:00+00:00", + "gitHubActionSettings": { + "isSupported": false + }, + "remoteDebuggingSupported": false, + "runtimeVersion": "PHP|7.2" + }, + "windowsRuntimeSettings": { + "appInsightsSettings": { + "isSupported": false + }, + "endOfLifeDate": "2020-12-30T00:00:00+00:00", + "gitHubActionSettings": { + "isSupported": false + }, + "remoteDebuggingSupported": false, + "runtimeVersion": "7.2" + } + }, + "value": "7.2" + }, + { + "displayText": "PHP 7.1", + "stackSettings": { + "windowsRuntimeSettings": { + "appInsightsSettings": { + "isSupported": false + }, + "endOfLifeDate": "2020-03-01T00:00:00+00:00", + "gitHubActionSettings": { + "isSupported": false + }, + "isDeprecated": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "7.1" + } + }, + "value": "7.1" + }, + { + "displayText": "7.0", + "stackSettings": { + "linuxRuntimeSettings": { + "appInsightsSettings": { + "isSupported": false + }, + "endOfLifeDate": "2020-03-01T00:00:00+00:00", + "gitHubActionSettings": { + "isSupported": false + }, + "isDeprecated": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "PHP|7.0" + }, + "windowsRuntimeSettings": { + "appInsightsSettings": { + "isSupported": false + }, + "endOfLifeDate": "2020-03-01T00:00:00+00:00", + "gitHubActionSettings": { + "isSupported": false + }, + "isDeprecated": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "7.0" + } + }, + "value": "7.0" + } + ], + "value": "7" + }, + { + "displayText": "PHP 5", + "minorVersions": [ + { + "displayText": "PHP 5.6", + "stackSettings": { + "linuxRuntimeSettings": { + "appInsightsSettings": { + "isSupported": false + }, + "endOfLifeDate": "2024-11-01T00:00:00+00:00", + "gitHubActionSettings": { + "isSupported": false + }, + "isDeprecated": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "PHP|5.6" + }, + "windowsRuntimeSettings": { + "appInsightsSettings": { + "isSupported": false + }, + "endOfLifeDate": "2024-11-01T00:00:00+00:00", + "gitHubActionSettings": { + "isSupported": false + }, + "isDeprecated": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "5.6" + } + }, + "value": "5.6" + } + ], + "value": "5" + } + ], + "preferredOs": "Linux", + "value": "php" + } + }, + { + "name": "ruby", + "type": "Microsoft.Web/webAppStacks", + "id": "/providers/Microsoft.Web/webAppStacks/ruby", + "properties": { + "displayText": "Ruby", + "majorVersions": [ + { + "displayText": "Ruby 2", + "minorVersions": [ + { + "displayText": "Ruby 2.6", + "stackSettings": { + "linuxRuntimeSettings": { + "appInsightsSettings": { + "isSupported": false + }, + "gitHubActionSettings": { + "isSupported": false + }, + "remoteDebuggingSupported": false, + "runtimeVersion": "RUBY|2.6" + } + }, + "value": "2.6" + }, + { + "displayText": "Ruby 2.6.2", + "stackSettings": { + "linuxRuntimeSettings": { + "appInsightsSettings": { + "isSupported": false + }, + "gitHubActionSettings": { + "isSupported": false + }, + "remoteDebuggingSupported": false, + "runtimeVersion": "RUBY|2.6.2" + } + }, + "value": "2.6.2" + }, + { + "displayText": "Ruby 2.5", + "stackSettings": { + "linuxRuntimeSettings": { + "appInsightsSettings": { + "isSupported": false + }, + "gitHubActionSettings": { + "isSupported": false + }, + "remoteDebuggingSupported": false, + "runtimeVersion": "RUBY|2.5" + } + }, + "value": "2.5" + }, + { + "displayText": "Ruby 2.5.5", + "stackSettings": { + "linuxRuntimeSettings": { + "appInsightsSettings": { + "isSupported": false + }, + "gitHubActionSettings": { + "isSupported": false + }, + "remoteDebuggingSupported": false, + "runtimeVersion": "RUBY|2.5.5" + } + }, + "value": "2.5.5" + }, + { + "displayText": "Ruby 2.4", + "stackSettings": { + "linuxRuntimeSettings": { + "appInsightsSettings": { + "isSupported": false + }, + "endOfLifeDate": "2020-05-01T00:00:00+00:00", + "gitHubActionSettings": { + "isSupported": false + }, + "isDeprecated": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "RUBY|2.4" + } + }, + "value": "2.4" + }, + { + "displayText": "Ruby 2.4.5", + "stackSettings": { + "linuxRuntimeSettings": { + "appInsightsSettings": { + "isSupported": false + }, + "endOfLifeDate": "2020-05-01T00:00:00+00:00", + "gitHubActionSettings": { + "isSupported": false + }, + "isDeprecated": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "RUBY|2.4.5" + } + }, + "value": "2.4.5" + }, + { + "displayText": "Ruby 2.3", + "stackSettings": { + "linuxRuntimeSettings": { + "appInsightsSettings": { + "isSupported": false + }, + "endOfLifeDate": "2019-05-01T00:00:00+00:00", + "gitHubActionSettings": { + "isSupported": false + }, + "isDeprecated": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "RUBY|2.3" + } + }, + "value": "2.3" + }, + { + "displayText": "Ruby 2.3.8", + "stackSettings": { + "linuxRuntimeSettings": { + "appInsightsSettings": { + "isSupported": false + }, + "endOfLifeDate": "2019-05-01T00:00:00+00:00", + "gitHubActionSettings": { + "isSupported": false + }, + "isDeprecated": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "RUBY|2.3.8" + } + }, + "value": "2.3.8" + }, + { + "displayText": "Ruby 2.3.3", + "stackSettings": { + "linuxRuntimeSettings": { + "appInsightsSettings": { + "isSupported": false + }, + "endOfLifeDate": "2019-05-01T00:00:00+00:00", + "gitHubActionSettings": { + "isSupported": false + }, + "isDeprecated": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "RUBY|2.3.3" + } + }, + "value": "2.3.3" + } + ], + "value": "2" + } + ], + "preferredOs": "Linux", + "value": "ruby" + } + }, + { + "name": "java", + "type": "Microsoft.Web/webAppStacks", + "id": "/providers/Microsoft.Web/webAppStacks/java", + "properties": { + "displayText": "Java", + "majorVersions": [ + { + "displayText": "Java 11", + "minorVersions": [ + { + "displayText": "Java 11", + "stackSettings": { + "linuxRuntimeSettings": { + "appInsightsSettings": { + "isSupported": false + }, + "endOfLifeDate": "2026-10-01T00:00:00+00:00", + "gitHubActionSettings": { + "isSupported": true, + "supportedVersion": "11" + }, + "isAutoUpdate": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "" + }, + "windowsRuntimeSettings": { + "appInsightsSettings": { + "isSupported": false + }, + "endOfLifeDate": "2026-10-01T00:00:00+00:00", + "gitHubActionSettings": { + "isSupported": true, + "supportedVersion": "11" + }, + "isAutoUpdate": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "11" + } + }, + "value": "11.0" + }, + { + "displayText": "Java 11.0.7", + "stackSettings": { + "linuxRuntimeSettings": { + "appInsightsSettings": { + "isSupported": false + }, + "endOfLifeDate": "2026-10-01T00:00:00+00:00", + "gitHubActionSettings": { + "isSupported": true, + "supportedVersion": "11" + }, + "remoteDebuggingSupported": false, + "runtimeVersion": "" + }, + "windowsRuntimeSettings": { + "appInsightsSettings": { + "isSupported": false + }, + "endOfLifeDate": "2026-10-01T00:00:00+00:00", + "gitHubActionSettings": { + "isSupported": true, + "supportedVersion": "11" + }, + "remoteDebuggingSupported": false, + "runtimeVersion": "11.0.7" + } + }, + "value": "11.0.7" + }, + { + "displayText": "Java 11.0.6", + "stackSettings": { + "linuxRuntimeSettings": { + "appInsightsSettings": { + "isSupported": false + }, + "endOfLifeDate": "2026-10-01T00:00:00+00:00", + "gitHubActionSettings": { + "isSupported": true, + "supportedVersion": "11" + }, + "remoteDebuggingSupported": false, + "runtimeVersion": "" + }, + "windowsRuntimeSettings": { + "appInsightsSettings": { + "isSupported": false + }, + "endOfLifeDate": "2026-10-01T00:00:00+00:00", + "gitHubActionSettings": { + "isSupported": true, + "supportedVersion": "11" + }, + "remoteDebuggingSupported": false, + "runtimeVersion": "11.0.6" + } + }, + "value": "11.0.6" + }, + { + "displayText": "Java 11.0.5", + "stackSettings": { + "linuxRuntimeSettings": { + "appInsightsSettings": { + "isSupported": false + }, + "endOfLifeDate": "2026-10-01T00:00:00+00:00", + "gitHubActionSettings": { + "isSupported": true, + "supportedVersion": "11" + }, + "remoteDebuggingSupported": false, + "runtimeVersion": "" + }, + "windowsRuntimeSettings": { + "appInsightsSettings": { + "isSupported": false + }, + "endOfLifeDate": "2026-10-01T00:00:00+00:00", + "gitHubActionSettings": { + "isSupported": true, + "supportedVersion": "11" + }, + "remoteDebuggingSupported": false, + "runtimeVersion": "11.0.5_ZULU" + } + }, + "value": "11.0.5" + }, + { + "displayText": "Java 11.0.3", + "stackSettings": { + "windowsRuntimeSettings": { + "appInsightsSettings": { + "isSupported": false + }, + "endOfLifeDate": "2026-10-01T00:00:00+00:00", + "gitHubActionSettings": { + "isSupported": true, + "supportedVersion": "11" + }, + "remoteDebuggingSupported": false, + "runtimeVersion": "11.0.3_ZULU" + } + }, + "value": "11.0.3" + }, + { + "displayText": "Java 11.0.2", + "stackSettings": { + "windowsRuntimeSettings": { + "appInsightsSettings": { + "isSupported": false + }, + "endOfLifeDate": "2026-10-01T00:00:00+00:00", + "gitHubActionSettings": { + "isSupported": true, + "supportedVersion": "11" + }, + "remoteDebuggingSupported": false, + "runtimeVersion": "11.0.2_ZULU" + } + }, + "value": "11.0.2" + } + ], + "value": "11" + }, + { + "displayText": "Java 8", + "minorVersions": [ + { + "displayText": "Java 8", + "stackSettings": { + "linuxRuntimeSettings": { + "appInsightsSettings": { + "isSupported": false + }, + "endOfLifeDate": "2025-04-01T00:00:00+00:00", + "gitHubActionSettings": { + "isSupported": true, + "supportedVersion": "8" + }, + "isAutoUpdate": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "" + }, + "windowsRuntimeSettings": { + "appInsightsSettings": { + "isSupported": false + }, + "endOfLifeDate": "2025-04-01T00:00:00+00:00", + "gitHubActionSettings": { + "isSupported": true, + "supportedVersion": "8" + }, + "isAutoUpdate": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "1.8" + } + }, + "value": "8.0" + }, + { + "displayText": "Java 1.8.0_252", + "stackSettings": { + "linuxRuntimeSettings": { + "appInsightsSettings": { + "isSupported": false + }, + "endOfLifeDate": "2025-04-01T00:00:00+00:00", + "gitHubActionSettings": { + "isSupported": true, + "supportedVersion": "8" + }, + "remoteDebuggingSupported": false, + "runtimeVersion": "" + }, + "windowsRuntimeSettings": { + "appInsightsSettings": { + "isSupported": false + }, + "endOfLifeDate": "2025-04-01T00:00:00+00:00", + "gitHubActionSettings": { + "isSupported": true, + "supportedVersion": "8" + }, + "remoteDebuggingSupported": false, + "runtimeVersion": "1.8.0_252" + } + }, + "value": "8.0.252" + }, + { + "displayText": "Java 1.8.0_242", + "stackSettings": { + "linuxRuntimeSettings": { + "appInsightsSettings": { + "isSupported": false + }, + "endOfLifeDate": "2025-04-01T00:00:00+00:00", + "gitHubActionSettings": { + "isSupported": true, + "supportedVersion": "8" + }, + "remoteDebuggingSupported": false, + "runtimeVersion": "" + }, + "windowsRuntimeSettings": { + "appInsightsSettings": { + "isSupported": false + }, + "endOfLifeDate": "2025-04-01T00:00:00+00:00", + "gitHubActionSettings": { + "isSupported": true, + "supportedVersion": "8" + }, + "remoteDebuggingSupported": false, + "runtimeVersion": "1.8.0_242" + } + }, + "value": "8.0.242" + }, + { + "displayText": "Java 1.8.0_232", + "stackSettings": { + "linuxRuntimeSettings": { + "appInsightsSettings": { + "isSupported": false + }, + "endOfLifeDate": "2025-04-01T00:00:00+00:00", + "gitHubActionSettings": { + "isSupported": true, + "supportedVersion": "8" + }, + "remoteDebuggingSupported": false, + "runtimeVersion": "" + }, + "windowsRuntimeSettings": { + "appInsightsSettings": { + "isSupported": false + }, + "endOfLifeDate": "2025-04-01T00:00:00+00:00", + "gitHubActionSettings": { + "isSupported": true, + "supportedVersion": "8" + }, + "remoteDebuggingSupported": false, + "runtimeVersion": "1.8.0_232_ZULU" + } + }, + "value": "8.0.232" + }, + { + "displayText": "Java 1.8.0_212", + "stackSettings": { + "windowsRuntimeSettings": { + "appInsightsSettings": { + "isSupported": false + }, + "endOfLifeDate": "2025-04-01T00:00:00+00:00", + "gitHubActionSettings": { + "isSupported": true, + "supportedVersion": "8" + }, + "remoteDebuggingSupported": false, + "runtimeVersion": "1.8.0_212_ZULU" + } + }, + "value": "8.0.212" + }, + { + "displayText": "Java 1.8.0_202", + "stackSettings": { + "windowsRuntimeSettings": { + "appInsightsSettings": { + "isSupported": false + }, + "endOfLifeDate": "2025-04-01T00:00:00+00:00", + "gitHubActionSettings": { + "isSupported": true, + "supportedVersion": "8" + }, + "remoteDebuggingSupported": false, + "runtimeVersion": "1.8.0_202_ZULU" + } + }, + "value": "8.0.202" + }, + { + "displayText": "Java 1.8.0_202 (Oracle)", + "stackSettings": { + "windowsRuntimeSettings": { + "appInsightsSettings": { + "isSupported": false + }, + "gitHubActionSettings": { + "isSupported": true, + "supportedVersion": "8" + }, + "isDeprecated": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "1.8.0_202" + } + }, + "value": "8.0.202 (Oracle)" + }, + { + "displayText": "Java 1.8.0_181", + "stackSettings": { + "windowsRuntimeSettings": { + "appInsightsSettings": { + "isSupported": false + }, + "endOfLifeDate": "2025-04-01T00:00:00+00:00", + "gitHubActionSettings": { + "isSupported": true, + "supportedVersion": "8" + }, + "remoteDebuggingSupported": false, + "runtimeVersion": "1.8.0_181_ZULU" + } + }, + "value": "8.0.181" + }, + { + "displayText": "Java 1.8.0_181 (Oracle)", + "stackSettings": { + "windowsRuntimeSettings": { + "appInsightsSettings": { + "isSupported": false + }, + "gitHubActionSettings": { + "isSupported": true, + "supportedVersion": "8" + }, + "isDeprecated": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "1.8.0_181" + } + }, + "value": "8.0.181 (Oracle)" + }, + { + "displayText": "Java 1.8.0_172", + "stackSettings": { + "windowsRuntimeSettings": { + "appInsightsSettings": { + "isSupported": false + }, + "endOfLifeDate": "2025-04-01T00:00:00+00:00", + "gitHubActionSettings": { + "isSupported": true, + "supportedVersion": "8" + }, + "remoteDebuggingSupported": false, + "runtimeVersion": "1.8.0_172_ZULU" + } + }, + "value": "8.0.172" + }, + { + "displayText": "Java 1.8.0_172 (Oracle)", + "stackSettings": { + "windowsRuntimeSettings": { + "appInsightsSettings": { + "isSupported": false + }, + "gitHubActionSettings": { + "isSupported": true, + "supportedVersion": "8" + }, + "isDeprecated": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "1.8.0_172" + } + }, + "value": "8.0.172 (Oracle)" + }, + { + "displayText": "Java 1.8.0_144", + "stackSettings": { + "windowsRuntimeSettings": { + "appInsightsSettings": { + "isSupported": false + }, + "endOfLifeDate": "2025-04-01T00:00:00+00:00", + "gitHubActionSettings": { + "isSupported": true, + "supportedVersion": "8" + }, + "remoteDebuggingSupported": false, + "runtimeVersion": "1.8.0_144" + } + }, + "value": "8.0.144" + }, + { + "displayText": "Java 1.8.0_111 (Oracle)", + "stackSettings": { + "windowsRuntimeSettings": { + "appInsightsSettings": { + "isSupported": false + }, + "gitHubActionSettings": { + "isSupported": true, + "supportedVersion": "8" + }, + "isDeprecated": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "1.8.0_111" + } + }, + "value": "8.0.111 (Oracle)" + }, + { + "displayText": "Java 1.8.0_102", + "stackSettings": { + "windowsRuntimeSettings": { + "appInsightsSettings": { + "isSupported": false + }, + "endOfLifeDate": "2025-04-01T00:00:00+00:00", + "gitHubActionSettings": { + "isSupported": true, + "supportedVersion": "8" + }, + "remoteDebuggingSupported": false, + "runtimeVersion": "1.8.0_102" + } + }, + "value": "8.0.102" + }, + { + "displayText": "Java 1.8.0_92", + "stackSettings": { + "windowsRuntimeSettings": { + "appInsightsSettings": { + "isSupported": false + }, + "endOfLifeDate": "2025-04-01T00:00:00+00:00", + "gitHubActionSettings": { + "isSupported": true, + "supportedVersion": "8" + }, + "remoteDebuggingSupported": false, + "runtimeVersion": "1.8.0_92" + } + }, + "value": "8.0.92" + }, + { + "displayText": "Java 1.8.0_73 (Oracle)", + "stackSettings": { + "windowsRuntimeSettings": { + "appInsightsSettings": { + "isSupported": false + }, + "gitHubActionSettings": { + "isSupported": true, + "supportedVersion": "8" + }, + "isDeprecated": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "1.8.0_73" + } + }, + "value": "8.0.73 (Oracle)" + }, + { + "displayText": "Java 1.8.0_60 (Oracle)", + "stackSettings": { + "windowsRuntimeSettings": { + "appInsightsSettings": { + "isSupported": false + }, + "gitHubActionSettings": { + "isSupported": true, + "supportedVersion": "8" + }, + "isDeprecated": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "1.8.0_60" + } + }, + "value": "8.0.60 (Oracle)" + }, + { + "displayText": "Java 1.8.0_25 (Oracle)", + "stackSettings": { + "windowsRuntimeSettings": { + "appInsightsSettings": { + "isSupported": false + }, + "gitHubActionSettings": { + "isSupported": true, + "supportedVersion": "8" + }, + "isDeprecated": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "1.8.0_25" + } + }, + "value": "8.0.25 (Oracle)" + } + ], + "value": "8" + }, + { + "displayText": "Java 7", + "minorVersions": [ + { + "displayText": "Java 7", + "stackSettings": { + "windowsRuntimeSettings": { + "appInsightsSettings": { + "isSupported": false + }, + "endOfLifeDate": "2023-08-01T00:00:00+00:00", + "gitHubActionSettings": { + "isSupported": false + }, + "isAutoUpdate": true, + "isDeprecated": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "1.7" + } + }, + "value": "7.0" + }, + { + "displayText": "Java 1.7.0_262", + "stackSettings": { + "windowsRuntimeSettings": { + "appInsightsSettings": { + "isSupported": false + }, + "endOfLifeDate": "2023-08-01T00:00:00+00:00", + "gitHubActionSettings": { + "isSupported": false + }, + "isDeprecated": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "1.7.0_262_ZULU" + } + }, + "value": "7.0.262" + }, + { + "displayText": "Java 1.7.0_242", + "stackSettings": { + "windowsRuntimeSettings": { + "appInsightsSettings": { + "isSupported": false + }, + "endOfLifeDate": "2023-08-01T00:00:00+00:00", + "gitHubActionSettings": { + "isSupported": false + }, + "isDeprecated": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "1.7.0_242_ZULU" + } + }, + "value": "7.0.242" + }, + { + "displayText": "Java 1.7.0_222", + "stackSettings": { + "windowsRuntimeSettings": { + "appInsightsSettings": { + "isSupported": false + }, + "endOfLifeDate": "2023-08-01T00:00:00+00:00", + "gitHubActionSettings": { + "isSupported": false + }, + "isDeprecated": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "1.7.0_222_ZULU" + } + }, + "value": "7.0.222" + }, + { + "displayText": "Java 1.7.0_191", + "stackSettings": { + "windowsRuntimeSettings": { + "appInsightsSettings": { + "isSupported": false + }, + "endOfLifeDate": "2023-08-01T00:00:00+00:00", + "gitHubActionSettings": { + "isSupported": false + }, + "isDeprecated": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "1.7.0_191_ZULU" + } + }, + "value": "7.0.191" + }, + { + "displayText": "Java 1.7.0_80 (Oracle)", + "stackSettings": { + "windowsRuntimeSettings": { + "appInsightsSettings": { + "isSupported": false + }, + "gitHubActionSettings": { + "isSupported": false + }, + "isDeprecated": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "1.7.0_80" + } + }, + "value": "7.0.80 (Oracle)" + }, + { + "displayText": "Java 1.7.0_71 (Oracle)", + "stackSettings": { + "windowsRuntimeSettings": { + "appInsightsSettings": { + "isSupported": false + }, + "gitHubActionSettings": { + "isSupported": false + }, + "isDeprecated": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "1.7.0_71" + } + }, + "value": "7.0.71 (Oracle)" + }, + { + "displayText": "Java 1.7.0_51 (Oracle)", + "stackSettings": { + "windowsRuntimeSettings": { + "appInsightsSettings": { + "isSupported": false + }, + "gitHubActionSettings": { + "isSupported": false + }, + "isDeprecated": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "1.7.0_51" + } + }, + "value": "7.0.51 (Oracle)" + } + ], + "value": "7" + } + ], + "preferredOs": "Linux", + "value": "java" + } + }, + { + "name": "javacontainers", + "type": "Microsoft.Web/webAppStacks", + "id": "/providers/Microsoft.Web/webAppStacks/javacontainers", + "properties": { + "displayText": "Java Containers", + "majorVersions": [ + { + "displayText": "Java SE (Embedded Web Server)", + "minorVersions": [ + { + "displayText": "Java SE (Embedded Web Server)", + "stackSettings": { + "linuxContainerSettings": { + "isAutoUpdate": true, + "java11Runtime": "JAVA|11-java11", + "java8Runtime": "JAVA|8-jre8" + }, + "windowsContainerSettings": { + "isAutoUpdate": true, + "javaContainer": "JAVA", + "javaContainerVersion": "SE" + } + }, + "value": "SE" + }, + { + "displayText": "Java SE 11.0.7", + "stackSettings": { + "linuxContainerSettings": { + "java11Runtime": "JAVA|11.0.7" + } + }, + "value": "11.0.7" + }, + { + "displayText": "Java SE 11.0.6", + "stackSettings": { + "linuxContainerSettings": { + "java11Runtime": "JAVA|11.0.6" + } + }, + "value": "11.0.6" + }, + { + "displayText": "Java SE 11.0.5", + "stackSettings": { + "linuxContainerSettings": { + "java11Runtime": "JAVA|11.0.5" + } + }, + "value": "11.0.5" + }, + { + "displayText": "Java SE 8u252", + "stackSettings": { + "linuxContainerSettings": { + "java8Runtime": "JAVA|8u252" + } + }, + "value": "1.8.252" + }, + { + "displayText": "Java SE 8u242", + "stackSettings": { + "linuxContainerSettings": { + "java8Runtime": "JAVA|8u242" + } + }, + "value": "1.8.242" + }, + { + "displayText": "Java SE 8u232", + "stackSettings": { + "linuxContainerSettings": { + "java8Runtime": "JAVA|8u232" + } + }, + "value": "1.8.232" + } + ], + "value": "javase" + }, + { + "displayText": "JBoss EAP", + "minorVersions": [ + { + "displayText": "JBoss EAP 7.2", + "stackSettings": { + "linuxContainerSettings": { + "isPreview": true, + "java8Runtime": "JBOSSEAP|7.2-java8" + } + }, + "value": "7.2" + } + ], + "value": "jbosseap" + }, + { + "displayText": "Tomcat 9.0", + "minorVersions": [ + { + "displayText": "Tomcat 9.0", + "stackSettings": { + "linuxContainerSettings": { + "isAutoUpdate": true, + "java11Runtime": "TOMCAT|9.0-java11", + "java8Runtime": "TOMCAT|9.0-jre8" + }, + "windowsContainerSettings": { + "isAutoUpdate": true, + "javaContainer": "TOMCAT", + "javaContainerVersion": "9.0" + } + }, + "value": "9.0" + }, + { + "displayText": "Tomcat 9.0.37", + "stackSettings": { + "linuxContainerSettings": { + "java11Runtime": "TOMCAT|9.0.37-java11", + "java8Runtime": "TOMCAT|9.0.37-java8" + }, + "windowsContainerSettings": { + "javaContainer": "TOMCAT", + "javaContainerVersion": "9.0.37" + } + }, + "value": "9.0.37" + }, + { + "displayText": "Tomcat 9.0.33", + "stackSettings": { + "linuxContainerSettings": { + "java11Runtime": "TOMCAT|9.0.33-java11", + "java8Runtime": "TOMCAT|9.0.33-java8" + } + }, + "value": "9.0.33" + }, + { + "displayText": "Tomcat 9.0.31", + "stackSettings": { + "windowsContainerSettings": { + "javaContainer": "TOMCAT", + "javaContainerVersion": "9.0.31" + } + }, + "value": "9.0.31" + }, + { + "displayText": "Tomcat 9.0.27", + "stackSettings": { + "windowsContainerSettings": { + "javaContainer": "TOMCAT", + "javaContainerVersion": "9.0.27" + } + }, + "value": "9.0.27" + }, + { + "displayText": "Tomcat 9.0.21", + "stackSettings": { + "windowsContainerSettings": { + "javaContainer": "TOMCAT", + "javaContainerVersion": "9.0.21" + } + }, + "value": "9.0.21" + }, + { + "displayText": "Tomcat 9.0.20", + "stackSettings": { + "linuxContainerSettings": { + "java11Runtime": "TOMCAT|9.0.20-java11", + "java8Runtime": "TOMCAT|9.0.20-java8" + } + }, + "value": "9.0.20" + }, + { + "displayText": "Tomcat 9.0.14", + "stackSettings": { + "windowsContainerSettings": { + "javaContainer": "TOMCAT", + "javaContainerVersion": "9.0.14" + } + }, + "value": "9.0.14" + }, + { + "displayText": "Tomcat 9.0.12", + "stackSettings": { + "windowsContainerSettings": { + "javaContainer": "TOMCAT", + "javaContainerVersion": "9.0.12" + } + }, + "value": "9.0.12" + }, + { + "displayText": "Tomcat 9.0.8", + "stackSettings": { + "windowsContainerSettings": { + "javaContainer": "TOMCAT", + "javaContainerVersion": "9.0.8" + } + }, + "value": "9.0.8" + }, + { + "displayText": "Tomcat 9.0.0", + "stackSettings": { + "windowsContainerSettings": { + "javaContainer": "TOMCAT", + "javaContainerVersion": "9.0.0" + } + }, + "value": "9.0.0" + } + ], + "value": "tomcat9.0" + }, + { + "displayText": "Tomcat 8.5", + "minorVersions": [ + { + "displayText": "Tomcat 8.5", + "stackSettings": { + "linuxContainerSettings": { + "isAutoUpdate": true, + "java11Runtime": "TOMCAT|8.5-java11", + "java8Runtime": "TOMCAT|8.5-jre8" + }, + "windowsContainerSettings": { + "isAutoUpdate": true, + "javaContainer": "TOMCAT", + "javaContainerVersion": "8.5" + } + }, + "value": "8.5" + }, + { + "displayText": "Tomcat 8.5.6", + "stackSettings": { + "windowsContainerSettings": { + "javaContainer": "TOMCAT", + "javaContainerVersion": "8.5.6" + } + }, + "value": "8.5.6" + }, + { + "displayText": "Tomcat 8.5.57", + "stackSettings": { + "linuxContainerSettings": { + "java11Runtime": "TOMCAT|8.5.57-java11", + "java8Runtime": "TOMCAT|8.5.57-java8" + }, + "windowsContainerSettings": { + "javaContainer": "TOMCAT", + "javaContainerVersion": "8.5.57" + } + }, + "value": "8.5.57" + }, + { + "displayText": "Tomcat 8.5.53", + "stackSettings": { + "linuxContainerSettings": { + "java11Runtime": "TOMCAT|8.5.53-java11", + "java8Runtime": "TOMCAT|8.5.53-java8" + } + }, + "value": "8.5.53" + }, + { + "displayText": "Tomcat 8.5.51", + "stackSettings": { + "windowsContainerSettings": { + "javaContainer": "TOMCAT", + "javaContainerVersion": "8.5.51" + } + }, + "value": "8.5.51" + }, + { + "displayText": "Tomcat 8.5.47", + "stackSettings": { + "windowsContainerSettings": { + "javaContainer": "TOMCAT", + "javaContainerVersion": "8.5.47" + } + }, + "value": "8.5.47" + }, + { + "displayText": "Tomcat 8.5.42", + "stackSettings": { + "windowsContainerSettings": { + "javaContainer": "TOMCAT", + "javaContainerVersion": "8.5.42" + } + }, + "value": "8.5.42" + }, + { + "displayText": "Tomcat 8.5.41", + "stackSettings": { + "linuxContainerSettings": { + "java11Runtime": "TOMCAT|8.5.41-java11", + "java8Runtime": "TOMCAT|8.5.41-java8" + } + }, + "value": "8.5.41" + }, + { + "displayText": "Tomcat 8.5.37", + "stackSettings": { + "windowsContainerSettings": { + "javaContainer": "TOMCAT", + "javaContainerVersion": "8.5.37" + } + }, + "value": "8.5.37" + }, + { + "displayText": "Tomcat 8.5.34", + "stackSettings": { + "windowsContainerSettings": { + "javaContainer": "TOMCAT", + "javaContainerVersion": "8.5.34" + } + }, + "value": "8.5.34" + }, + { + "displayText": "Tomcat 8.5.31", + "stackSettings": { + "windowsContainerSettings": { + "javaContainer": "TOMCAT", + "javaContainerVersion": "8.5.31" + } + }, + "value": "8.5.31" + }, + { + "displayText": "Tomcat 8.5.20", + "stackSettings": { + "windowsContainerSettings": { + "javaContainer": "TOMCAT", + "javaContainerVersion": "8.5.20" + } + }, + "value": "8.5.20" + } + ], + "value": "tomcat8.5" + }, + { + "displayText": "Tomcat 8.0", + "minorVersions": [ + { + "displayText": "Tomcat 8.0", + "stackSettings": { + "windowsContainerSettings": { + "isAutoUpdate": true, + "javaContainer": "TOMCAT", + "javaContainerVersion": "8.0" + } + }, + "value": "8.0" + }, + { + "displayText": "Tomcat 8.0.53", + "stackSettings": { + "windowsContainerSettings": { + "javaContainer": "TOMCAT", + "javaContainerVersion": "8.0.53" + } + }, + "value": "8.0.53" + }, + { + "displayText": "Tomcat 8.0.46", + "stackSettings": { + "windowsContainerSettings": { + "javaContainer": "TOMCAT", + "javaContainerVersion": "8.0.46" + } + }, + "value": "8.0.46" + }, + { + "displayText": "Tomcat 8.0.23", + "stackSettings": { + "windowsContainerSettings": { + "javaContainer": "TOMCAT", + "javaContainerVersion": "8.0.23" + } + }, + "value": "8.0.23" + } + ], + "value": "tomcat8.0" + }, + { + "displayText": "Tomcat 7.0", + "minorVersions": [ + { + "displayText": "Tomcat 7.0", + "stackSettings": { + "windowsContainerSettings": { + "isAutoUpdate": true, + "javaContainer": "TOMCAT", + "javaContainerVersion": "7.0" + } + }, + "value": "7.0" + }, + { + "displayText": "Tomcat 7.0.94", + "stackSettings": { + "windowsContainerSettings": { + "javaContainer": "TOMCAT", + "javaContainerVersion": "7.0.94" + } + }, + "value": "7.0.94" + }, + { + "displayText": "Tomcat 7.0.81", + "stackSettings": { + "windowsContainerSettings": { + "javaContainer": "TOMCAT", + "javaContainerVersion": "7.0.81" + } + }, + "value": "7.0.81" + }, + { + "displayText": "Tomcat 7.0.62", + "stackSettings": { + "windowsContainerSettings": { + "javaContainer": "TOMCAT", + "javaContainerVersion": "7.0.62" + } + }, + "value": "7.0.62" + }, + { + "displayText": "Tomcat 7.0.50", + "stackSettings": { + "windowsContainerSettings": { + "javaContainer": "TOMCAT", + "javaContainerVersion": "7.0.50" + } + }, + "value": "7.0.50" + } + ], + "value": "tomcat7.0" + }, + { + "displayText": "Jetty 9.3", + "minorVersions": [ + { + "displayText": "Jetty 9.3", + "stackSettings": { + "windowsContainerSettings": { + "isAutoUpdate": true, + "isDeprecated": true, + "javaContainer": "JETTY", + "javaContainerVersion": "9.3" + } + }, + "value": "9.3" + }, + { + "displayText": "Jetty 9.3.25", + "stackSettings": { + "windowsContainerSettings": { + "isDeprecated": true, + "javaContainer": "JETTY", + "javaContainerVersion": "9.3.25" + } + }, + "value": "9.3.25" + }, + { + "displayText": "Jetty 9.3.13", + "stackSettings": { + "windowsContainerSettings": { + "isDeprecated": true, + "javaContainer": "JETTY", + "javaContainerVersion": "9.3.13" + } + }, + "value": "9.3.13" + } + ], + "value": "jetty9.3" + }, + { + "displayText": "Jetty 9.1", + "minorVersions": [ + { + "displayText": "Jetty 9.1", + "stackSettings": { + "windowsContainerSettings": { + "isAutoUpdate": true, + "isDeprecated": true, + "javaContainer": "JETTY", + "javaContainerVersion": "9.1" + } + }, + "value": "9.1" + }, + { + "displayText": "Jetty 9.1.0", + "stackSettings": { + "windowsContainerSettings": { + "isDeprecated": true, + "javaContainer": "JETTY", + "javaContainerVersion": "9.1.0" + } + }, + "value": "9.1.0" + } + ], + "value": "jetty9.1" + }, + { + "displayText": "WildFly 14", + "minorVersions": [ + { + "displayText": "WildFly 14", + "stackSettings": { + "linuxContainerSettings": { + "isAutoUpdate": true, + "isDeprecated": true, + "java8Runtime": "WILDFLY|14-jre8" + } + }, + "value": "14" + }, + { + "displayText": "WildFly 14.0.1", + "stackSettings": { + "linuxContainerSettings": { + "isDeprecated": true, + "java8Runtime": "WILDFLY|14.0.1-java8" + } + }, + "value": "14.0.1" + } + ], + "value": "wildfly14" + } + ], + "value": "javacontainers" + } + } + ] + }, + "headers": {} + } + }, + "operationId": "Provider_GetWebAppStacks", + "title": "Get Web App Stacks" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/GetWebAppStacksForLocation.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/GetWebAppStacksForLocation.json new file mode 100644 index 000000000000..51b84a0cbc2a --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/GetWebAppStacksForLocation.json @@ -0,0 +1,2925 @@ +{ + "parameters": { + "api-version": "2025-03-01", + "location": "westus" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "dotnet", + "type": "Microsoft.Web/locations/webAppStacks", + "id": "/providers/Microsoft.Web/locations/webAppStacks/dotnet", + "location": "westus", + "properties": { + "displayText": ".NET", + "majorVersions": [ + { + "displayText": ".NET 5", + "minorVersions": [ + { + "displayText": ".NET 5", + "stackSettings": { + "linuxRuntimeSettings": { + "appInsightsSettings": { + "isSupported": false + }, + "gitHubActionSettings": { + "isSupported": true, + "supportedVersion": "5.0.x" + }, + "isEarlyAccess": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "DOTNETCORE|5.0" + }, + "windowsRuntimeSettings": { + "appInsightsSettings": { + "isSupported": true + }, + "gitHubActionSettings": { + "isSupported": true, + "supportedVersion": "5.0.x" + }, + "isEarlyAccess": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "v5.0" + } + }, + "value": "5" + } + ], + "value": "5" + }, + { + "displayText": ".NET Core 3", + "minorVersions": [ + { + "displayText": ".NET Core 3.1 (LTS)", + "stackSettings": { + "linuxRuntimeSettings": { + "appInsightsSettings": { + "isSupported": false + }, + "gitHubActionSettings": { + "isSupported": true, + "supportedVersion": "3.1.301" + }, + "remoteDebuggingSupported": false, + "runtimeVersion": "DOTNETCORE|3.1" + }, + "windowsRuntimeSettings": { + "appInsightsSettings": { + "isSupported": true + }, + "gitHubActionSettings": { + "isSupported": true, + "supportedVersion": "3.1.301" + }, + "remoteDebuggingSupported": false, + "runtimeVersion": "3.1" + } + }, + "value": "3.1" + }, + { + "displayText": ".NET Core 3.0", + "stackSettings": { + "linuxRuntimeSettings": { + "appInsightsSettings": { + "isSupported": false + }, + "endOfLifeDate": "2020-04-03T00:00:00+00:00", + "gitHubActionSettings": { + "isSupported": true, + "supportedVersion": "3.0.103" + }, + "isDeprecated": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "DOTNETCORE|3.0" + }, + "windowsRuntimeSettings": { + "appInsightsSettings": { + "isSupported": false + }, + "endOfLifeDate": "2020-04-03T00:00:00+00:00", + "gitHubActionSettings": { + "isSupported": true, + "supportedVersion": "3.0.103" + }, + "isDeprecated": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "3.0" + } + }, + "value": "3.0" + } + ], + "value": "3" + }, + { + "displayText": ".NET Core 2", + "minorVersions": [ + { + "displayText": ".NET Core 2.2", + "stackSettings": { + "linuxRuntimeSettings": { + "appInsightsSettings": { + "isSupported": false + }, + "endOfLifeDate": "2020-01-23T00:00:00+00:00", + "gitHubActionSettings": { + "isSupported": true, + "supportedVersion": "2.2.207" + }, + "isDeprecated": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "DOTNETCORE|2.2" + }, + "windowsRuntimeSettings": { + "appInsightsSettings": { + "isSupported": false + }, + "endOfLifeDate": "2020-01-23T00:00:00+00:00", + "gitHubActionSettings": { + "isSupported": true, + "supportedVersion": "2.2.207" + }, + "isDeprecated": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "2.2" + } + }, + "value": "2.2" + }, + { + "displayText": ".NET Core 2.1 (LTS)", + "stackSettings": { + "linuxRuntimeSettings": { + "appInsightsSettings": { + "isSupported": false + }, + "endOfLifeDate": "2021-09-21T00:00:00+00:00", + "gitHubActionSettings": { + "isSupported": true, + "supportedVersion": "2.1.807" + }, + "remoteDebuggingSupported": false, + "runtimeVersion": "DOTNETCORE|2.1" + }, + "windowsRuntimeSettings": { + "appInsightsSettings": { + "isSupported": true + }, + "endOfLifeDate": "2021-09-21T00:00:00+00:00", + "gitHubActionSettings": { + "isSupported": true, + "supportedVersion": "2.1.807" + }, + "remoteDebuggingSupported": false, + "runtimeVersion": "2.1" + } + }, + "value": "2.1" + }, + { + "displayText": ".NET Core 2.0", + "stackSettings": { + "linuxRuntimeSettings": { + "appInsightsSettings": { + "isSupported": false + }, + "endOfLifeDate": "2018-11-01T00:00:00+00:00", + "gitHubActionSettings": { + "isSupported": true, + "supportedVersion": "2.1.202" + }, + "isDeprecated": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "DOTNETCORE|2.0" + }, + "windowsRuntimeSettings": { + "appInsightsSettings": { + "isSupported": false + }, + "endOfLifeDate": "2018-11-01T00:00:00+00:00", + "gitHubActionSettings": { + "isSupported": true, + "supportedVersion": "2.1.202" + }, + "isDeprecated": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "2.0" + } + }, + "value": "2.0" + } + ], + "value": "dotnetcore2" + }, + { + "displayText": ".NET Core 1", + "minorVersions": [ + { + "displayText": ".NET Core 1.1", + "stackSettings": { + "linuxRuntimeSettings": { + "appInsightsSettings": { + "isSupported": false + }, + "endOfLifeDate": "2019-07-27T00:00:00+00:00", + "gitHubActionSettings": { + "isSupported": true, + "supportedVersion": "1.1.14" + }, + "isDeprecated": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "DOTNETCORE|1.1" + }, + "windowsRuntimeSettings": { + "appInsightsSettings": { + "isSupported": false + }, + "endOfLifeDate": "2019-07-27T00:00:00+00:00", + "gitHubActionSettings": { + "isSupported": true, + "supportedVersion": "1.1.14" + }, + "isDeprecated": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "1.1" + } + }, + "value": "1.1" + }, + { + "displayText": ".NET Core 1.0", + "stackSettings": { + "linuxRuntimeSettings": { + "appInsightsSettings": { + "isSupported": false + }, + "endOfLifeDate": "2019-07-27T00:00:00+00:00", + "gitHubActionSettings": { + "isSupported": true, + "supportedVersion": "1.1.14" + }, + "isDeprecated": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "DOTNETCORE|1.0" + }, + "windowsRuntimeSettings": { + "appInsightsSettings": { + "isSupported": false + }, + "endOfLifeDate": "2019-07-27T00:00:00+00:00", + "gitHubActionSettings": { + "isSupported": true, + "supportedVersion": "1.1.14" + }, + "isDeprecated": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "1.0" + } + }, + "value": "1.0" + } + ], + "value": "1" + }, + { + "displayText": "ASP.NET V4", + "minorVersions": [ + { + "displayText": "ASP.NET V4.8", + "stackSettings": { + "windowsRuntimeSettings": { + "appInsightsSettings": { + "isSupported": true + }, + "gitHubActionSettings": { + "isSupported": true, + "supportedVersion": "3.1" + }, + "remoteDebuggingSupported": false, + "runtimeVersion": "v4.0" + } + }, + "value": "v4.8" + } + ], + "value": "v4" + }, + { + "displayText": "ASP.NET V3", + "minorVersions": [ + { + "displayText": "ASP.NET V3.5", + "stackSettings": { + "windowsRuntimeSettings": { + "appInsightsSettings": { + "isSupported": true + }, + "gitHubActionSettings": { + "isSupported": true, + "supportedVersion": "2.1" + }, + "remoteDebuggingSupported": false, + "runtimeVersion": "v2.0" + } + }, + "value": "v3.5" + } + ], + "value": "v3" + } + ], + "preferredOs": "Windows", + "value": "dotnet" + } + }, + { + "name": "node", + "type": "Microsoft.Web/locations/webAppStacks", + "id": "/providers/Microsoft.Web/locations/webAppStacks/node", + "location": "westus", + "properties": { + "displayText": "Node", + "majorVersions": [ + { + "displayText": "Node LTS", + "minorVersions": [ + { + "displayText": "Node LTS", + "stackSettings": { + "linuxRuntimeSettings": { + "appInsightsSettings": { + "isSupported": true + }, + "gitHubActionSettings": { + "isSupported": true + }, + "isDeprecated": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "NODE|lts" + } + }, + "value": "lts" + } + ], + "value": "lts" + }, + { + "displayText": "Node 14", + "minorVersions": [ + { + "displayText": "Node 14 LTS", + "stackSettings": { + "linuxRuntimeSettings": { + "appInsightsSettings": { + "isSupported": true + }, + "endOfLifeDate": "2023-05-30T00:00:00+00:00", + "gitHubActionSettings": { + "isSupported": true, + "supportedVersion": "14.x" + }, + "isPreview": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "NODE|14-lts" + } + }, + "value": "14-lts" + } + ], + "value": "14" + }, + { + "displayText": "Node 12", + "minorVersions": [ + { + "displayText": "Node 12 LTS", + "stackSettings": { + "linuxRuntimeSettings": { + "appInsightsSettings": { + "isSupported": true + }, + "endOfLifeDate": "2022-05-01T00:00:00+00:00", + "gitHubActionSettings": { + "isSupported": true, + "supportedVersion": "12.x" + }, + "remoteDebuggingSupported": false, + "runtimeVersion": "NODE|12-lts" + }, + "windowsRuntimeSettings": { + "appInsightsSettings": { + "isSupported": true + }, + "endOfLifeDate": "2022-05-01T00:00:00+00:00", + "gitHubActionSettings": { + "isSupported": true + }, + "remoteDebuggingSupported": false, + "runtimeVersion": "12.13.0" + } + }, + "value": "12-lts" + }, + { + "displayText": "Node 12.9", + "stackSettings": { + "linuxRuntimeSettings": { + "appInsightsSettings": { + "isSupported": true + }, + "endOfLifeDate": "2022-05-01T00:00:00+00:00", + "gitHubActionSettings": { + "isSupported": true, + "supportedVersion": "12.x" + }, + "isDeprecated": true, + "remoteDebuggingSupported": true, + "runtimeVersion": "NODE|12.9" + } + }, + "value": "12.9" + } + ], + "value": "12" + }, + { + "displayText": "Node 10", + "minorVersions": [ + { + "displayText": "Node 10 LTS", + "stackSettings": { + "linuxRuntimeSettings": { + "appInsightsSettings": { + "isSupported": true + }, + "endOfLifeDate": "2021-05-01T00:00:00+00:00", + "gitHubActionSettings": { + "isSupported": true, + "supportedVersion": "10.x" + }, + "remoteDebuggingSupported": false, + "runtimeVersion": "NODE|10-lts" + } + }, + "value": "10-LTS" + }, + { + "displayText": "Node 10.16", + "stackSettings": { + "linuxRuntimeSettings": { + "appInsightsSettings": { + "isSupported": true + }, + "endOfLifeDate": "2021-05-01T00:00:00+00:00", + "gitHubActionSettings": { + "isSupported": true, + "supportedVersion": "10.x" + }, + "isDeprecated": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "NODE|10.16" + } + }, + "value": "10.16" + }, + { + "displayText": "Node 10.15", + "stackSettings": { + "windowsRuntimeSettings": { + "appInsightsSettings": { + "isSupported": false + }, + "endOfLifeDate": "2021-05-01T00:00:00+00:00", + "gitHubActionSettings": { + "isSupported": true, + "supportedVersion": "10.x" + }, + "isHidden": true, + "isPreview": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "10.15.2" + } + }, + "value": "10.15" + }, + { + "displayText": "Node 10.14", + "stackSettings": { + "linuxRuntimeSettings": { + "appInsightsSettings": { + "isSupported": true + }, + "endOfLifeDate": "2021-05-01T00:00:00+00:00", + "gitHubActionSettings": { + "isSupported": true, + "supportedVersion": "10.x" + }, + "remoteDebuggingSupported": false, + "runtimeVersion": "NODE|10.14" + }, + "windowsRuntimeSettings": { + "appInsightsSettings": { + "isSupported": true + }, + "endOfLifeDate": "2021-05-01T00:00:00+00:00", + "gitHubActionSettings": { + "isSupported": true, + "supportedVersion": "10.x" + }, + "remoteDebuggingSupported": false, + "runtimeVersion": "10.14.1" + } + }, + "value": "10.14" + }, + { + "displayText": "Node 10.12", + "stackSettings": { + "linuxRuntimeSettings": { + "appInsightsSettings": { + "isSupported": true + }, + "endOfLifeDate": "2021-05-01T00:00:00+00:00", + "gitHubActionSettings": { + "isSupported": true, + "supportedVersion": "10.x" + }, + "isDeprecated": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "NODE|10.12" + } + }, + "value": "10.12" + }, + { + "displayText": "Node 10.10", + "stackSettings": { + "linuxRuntimeSettings": { + "appInsightsSettings": { + "isSupported": true + }, + "endOfLifeDate": "2021-05-01T00:00:00+00:00", + "gitHubActionSettings": { + "isSupported": true, + "supportedVersion": "10.x" + }, + "isDeprecated": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "NODE|10.10" + }, + "windowsRuntimeSettings": { + "appInsightsSettings": { + "isSupported": true + }, + "endOfLifeDate": "2021-05-01T00:00:00+00:00", + "gitHubActionSettings": { + "isSupported": true, + "supportedVersion": "10.x" + }, + "remoteDebuggingSupported": false, + "runtimeVersion": "10.0.0" + } + }, + "value": "10.10" + }, + { + "displayText": "Node 10.6", + "stackSettings": { + "linuxRuntimeSettings": { + "appInsightsSettings": { + "isSupported": true + }, + "endOfLifeDate": "2021-05-01T00:00:00+00:00", + "gitHubActionSettings": { + "isSupported": true, + "supportedVersion": "10.x" + }, + "remoteDebuggingSupported": false, + "runtimeVersion": "NODE|10.6" + }, + "windowsRuntimeSettings": { + "appInsightsSettings": { + "isSupported": true + }, + "endOfLifeDate": "2021-05-01T00:00:00+00:00", + "gitHubActionSettings": { + "isSupported": true + }, + "remoteDebuggingSupported": false, + "runtimeVersion": "10.6.0" + } + }, + "value": "10.6" + }, + { + "displayText": "Node 10.1", + "stackSettings": { + "linuxRuntimeSettings": { + "appInsightsSettings": { + "isSupported": true + }, + "endOfLifeDate": "2021-05-01T00:00:00+00:00", + "gitHubActionSettings": { + "isSupported": true, + "supportedVersion": "10.x" + }, + "remoteDebuggingSupported": false, + "runtimeVersion": "NODE|10.1" + } + }, + "value": "10.1" + } + ], + "value": "10" + }, + { + "displayText": "Node 9", + "minorVersions": [ + { + "displayText": "Node 9.4", + "stackSettings": { + "linuxRuntimeSettings": { + "appInsightsSettings": { + "isSupported": true + }, + "endOfLifeDate": "2019-07-30T00:00:00+00:00", + "gitHubActionSettings": { + "isSupported": true + }, + "isDeprecated": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "NODE|9.4" + } + }, + "value": "9.4" + } + ], + "value": "9" + }, + { + "displayText": "Node 8", + "minorVersions": [ + { + "displayText": "Node 8 LTS", + "stackSettings": { + "linuxRuntimeSettings": { + "appInsightsSettings": { + "isSupported": true + }, + "endOfLifeDate": "2020-01-31T00:00:00+00:00", + "gitHubActionSettings": { + "isSupported": true + }, + "isDeprecated": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "NODE|8-lts" + } + }, + "value": "8-lts" + }, + { + "displayText": "Node 8.12", + "stackSettings": { + "linuxRuntimeSettings": { + "appInsightsSettings": { + "isSupported": true + }, + "endOfLifeDate": "2020-01-31T00:00:00+00:00", + "gitHubActionSettings": { + "isSupported": true + }, + "isDeprecated": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "NODE|8.12" + } + }, + "value": "8.12" + }, + { + "displayText": "Node 8.11", + "stackSettings": { + "linuxRuntimeSettings": { + "appInsightsSettings": { + "isSupported": true + }, + "endOfLifeDate": "2020-01-31T00:00:00+00:00", + "gitHubActionSettings": { + "isSupported": true + }, + "isDeprecated": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "NODE|8.11" + }, + "windowsRuntimeSettings": { + "appInsightsSettings": { + "isSupported": false + }, + "endOfLifeDate": "2020-01-31T00:00:00+00:00", + "gitHubActionSettings": { + "isSupported": false + }, + "isDeprecated": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "8.11" + } + }, + "value": "8.11" + }, + { + "displayText": "Node 8.10", + "stackSettings": { + "windowsRuntimeSettings": { + "appInsightsSettings": { + "isSupported": false + }, + "endOfLifeDate": "2020-01-31T00:00:00+00:00", + "gitHubActionSettings": { + "isSupported": false + }, + "isDeprecated": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "8.10" + } + }, + "value": "8.10" + }, + { + "displayText": "Node 8.9", + "stackSettings": { + "linuxRuntimeSettings": { + "appInsightsSettings": { + "isSupported": true + }, + "endOfLifeDate": "2020-01-31T00:00:00+00:00", + "gitHubActionSettings": { + "isSupported": true + }, + "isDeprecated": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "NODE|8.9" + }, + "windowsRuntimeSettings": { + "appInsightsSettings": { + "isSupported": false + }, + "endOfLifeDate": "2020-01-31T00:00:00+00:00", + "gitHubActionSettings": { + "isSupported": false + }, + "isDeprecated": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "8.9" + } + }, + "value": "8.9" + }, + { + "displayText": "Node 8.8", + "stackSettings": { + "linuxRuntimeSettings": { + "appInsightsSettings": { + "isSupported": true + }, + "endOfLifeDate": "2020-01-31T00:00:00+00:00", + "gitHubActionSettings": { + "isSupported": true + }, + "isDeprecated": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "NODE|8.8" + } + }, + "value": "8.8" + }, + { + "displayText": "Node 8.5", + "stackSettings": { + "windowsRuntimeSettings": { + "appInsightsSettings": { + "isSupported": false + }, + "endOfLifeDate": "2020-01-31T00:00:00+00:00", + "gitHubActionSettings": { + "isSupported": false + }, + "isDeprecated": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "8.5" + } + }, + "value": "8.5" + }, + { + "displayText": "Node 8.4", + "stackSettings": { + "windowsRuntimeSettings": { + "appInsightsSettings": { + "isSupported": false + }, + "endOfLifeDate": "2020-01-31T00:00:00+00:00", + "gitHubActionSettings": { + "isSupported": false + }, + "isDeprecated": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "8.4" + } + }, + "value": "8.4" + }, + { + "displayText": "Node 8.2", + "stackSettings": { + "linuxRuntimeSettings": { + "appInsightsSettings": { + "isSupported": true + }, + "endOfLifeDate": "2020-01-31T00:00:00+00:00", + "gitHubActionSettings": { + "isSupported": true + }, + "isDeprecated": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "NODE|8.2" + } + }, + "value": "8.2" + }, + { + "displayText": "Node 8.1", + "stackSettings": { + "linuxRuntimeSettings": { + "appInsightsSettings": { + "isSupported": true + }, + "endOfLifeDate": "2020-01-31T00:00:00+00:00", + "gitHubActionSettings": { + "isSupported": true + }, + "isDeprecated": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "NODE|8.1" + }, + "windowsRuntimeSettings": { + "appInsightsSettings": { + "isSupported": true + }, + "endOfLifeDate": "2020-01-31T00:00:00+00:00", + "gitHubActionSettings": { + "isSupported": true + }, + "isDeprecated": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "8.1.4" + } + }, + "value": "8.1" + }, + { + "displayText": "Node 8.0", + "stackSettings": { + "linuxRuntimeSettings": { + "appInsightsSettings": { + "isSupported": true + }, + "endOfLifeDate": "2020-01-31T00:00:00+00:00", + "gitHubActionSettings": { + "isSupported": true + }, + "isDeprecated": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "NODE|8.0" + } + }, + "value": "8.0" + } + ], + "value": "8" + }, + { + "displayText": "Node 7", + "minorVersions": [ + { + "displayText": "Node 7.10", + "stackSettings": { + "windowsRuntimeSettings": { + "appInsightsSettings": { + "isSupported": false + }, + "endOfLifeDate": "2017-07-30T00:00:00+00:00", + "gitHubActionSettings": { + "isSupported": false + }, + "isDeprecated": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "7.10.1" + } + }, + "value": "7.10" + } + ], + "value": "7" + }, + { + "displayText": "Node 6", + "minorVersions": [ + { + "displayText": "Node 6 LTS", + "stackSettings": { + "linuxRuntimeSettings": { + "appInsightsSettings": { + "isSupported": true + }, + "endOfLifeDate": "2019-05-30T00:00:00+00:00", + "gitHubActionSettings": { + "isSupported": true + }, + "isDeprecated": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "NODE|6-lts" + } + }, + "value": "6-LTS" + }, + { + "displayText": "Node 6.12", + "stackSettings": { + "windowsRuntimeSettings": { + "appInsightsSettings": { + "isSupported": true + }, + "endOfLifeDate": "2019-05-30T00:00:00+00:00", + "gitHubActionSettings": { + "isSupported": false + }, + "isDeprecated": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "6.12" + } + }, + "value": "6.12" + }, + { + "displayText": "Node 6.11", + "stackSettings": { + "linuxRuntimeSettings": { + "appInsightsSettings": { + "isSupported": true + }, + "endOfLifeDate": "2019-05-30T00:00:00+00:00", + "gitHubActionSettings": { + "isSupported": true + }, + "isDeprecated": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "NODE|6.11" + } + }, + "value": "6.11" + }, + { + "displayText": "Node 6.10", + "stackSettings": { + "linuxRuntimeSettings": { + "appInsightsSettings": { + "isSupported": true + }, + "endOfLifeDate": "2019-05-30T00:00:00+00:00", + "gitHubActionSettings": { + "isSupported": true + }, + "isDeprecated": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "NODE|6.10" + } + }, + "value": "6.10" + }, + { + "displayText": "Node 6.9", + "stackSettings": { + "linuxRuntimeSettings": { + "appInsightsSettings": { + "isSupported": true + }, + "endOfLifeDate": "2019-05-30T00:00:00+00:00", + "gitHubActionSettings": { + "isSupported": true + }, + "isDeprecated": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "NODE|6.9" + }, + "windowsRuntimeSettings": { + "appInsightsSettings": { + "isSupported": true + }, + "endOfLifeDate": "2019-05-30T00:00:00+00:00", + "gitHubActionSettings": { + "isSupported": true + }, + "isDeprecated": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "6.9.5" + } + }, + "value": "6.9" + }, + { + "displayText": "Node 6.6", + "stackSettings": { + "linuxRuntimeSettings": { + "appInsightsSettings": { + "isSupported": true + }, + "endOfLifeDate": "2019-05-30T00:00:00+00:00", + "gitHubActionSettings": { + "isSupported": true + }, + "isDeprecated": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "NODE|6.6" + } + }, + "value": "6.6" + }, + { + "displayText": "Node 6.5", + "stackSettings": { + "windowsRuntimeSettings": { + "appInsightsSettings": { + "isSupported": true + }, + "endOfLifeDate": "2019-05-30T00:00:00+00:00", + "gitHubActionSettings": { + "isSupported": false + }, + "isDeprecated": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "6.5.0" + } + }, + "value": "6.5" + }, + { + "displayText": "Node 6.2", + "stackSettings": { + "linuxRuntimeSettings": { + "appInsightsSettings": { + "isSupported": true + }, + "endOfLifeDate": "2019-05-30T00:00:00+00:00", + "gitHubActionSettings": { + "isSupported": true + }, + "isDeprecated": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "NODE|6.2" + } + }, + "value": "6.2" + } + ], + "value": "6" + }, + { + "displayText": "Node 4", + "minorVersions": [ + { + "displayText": "Node 4.8", + "stackSettings": { + "linuxRuntimeSettings": { + "appInsightsSettings": { + "isSupported": true + }, + "endOfLifeDate": "2018-05-30T00:00:00+00:00", + "gitHubActionSettings": { + "isSupported": true + }, + "isDeprecated": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "NODE|4.8" + }, + "windowsRuntimeSettings": { + "appInsightsSettings": { + "isSupported": true + }, + "endOfLifeDate": "2018-05-30T00:00:00+00:00", + "gitHubActionSettings": { + "isSupported": false + }, + "isDeprecated": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "4.8" + } + }, + "value": "4.8" + }, + { + "displayText": "Node 4.5", + "stackSettings": { + "linuxRuntimeSettings": { + "appInsightsSettings": { + "isSupported": true + }, + "endOfLifeDate": "2018-05-30T00:00:00+00:00", + "gitHubActionSettings": { + "isSupported": true + }, + "isDeprecated": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "NODE|4.5" + } + }, + "value": "4.5" + }, + { + "displayText": "Node 4.4", + "stackSettings": { + "linuxRuntimeSettings": { + "appInsightsSettings": { + "isSupported": true + }, + "endOfLifeDate": "2018-05-30T00:00:00+00:00", + "gitHubActionSettings": { + "isSupported": true + }, + "isDeprecated": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "NODE|4.4" + } + }, + "value": "4.4" + } + ], + "value": "4" + } + ], + "preferredOs": "Linux", + "value": "node" + } + }, + { + "name": "python", + "type": "Microsoft.Web/locations/webAppStacks", + "id": "/providers/Microsoft.Web/locations/webAppStacks/python", + "location": "westus", + "properties": { + "displayText": "Python", + "majorVersions": [ + { + "displayText": "Python 3", + "minorVersions": [ + { + "displayText": "Python 3.8", + "stackSettings": { + "linuxRuntimeSettings": { + "appInsightsSettings": { + "isSupported": false + }, + "gitHubActionSettings": { + "isSupported": true, + "supportedVersion": "3.8" + }, + "remoteDebuggingSupported": false, + "runtimeVersion": "PYTHON|3.8" + } + }, + "value": "3.8" + }, + { + "displayText": "Python 3.7", + "stackSettings": { + "linuxRuntimeSettings": { + "appInsightsSettings": { + "isSupported": false + }, + "gitHubActionSettings": { + "isSupported": true, + "supportedVersion": "3.7" + }, + "remoteDebuggingSupported": false, + "runtimeVersion": "PYTHON|3.7" + } + }, + "value": "3.7" + }, + { + "displayText": "Python 3.6", + "stackSettings": { + "linuxRuntimeSettings": { + "appInsightsSettings": { + "isSupported": false + }, + "gitHubActionSettings": { + "isSupported": true, + "supportedVersion": "3.6" + }, + "remoteDebuggingSupported": false, + "runtimeVersion": "PYTHON|3.6" + }, + "windowsRuntimeSettings": { + "appInsightsSettings": { + "isSupported": true + }, + "gitHubActionSettings": { + "isSupported": true, + "supportedVersion": "3.6" + }, + "remoteDebuggingSupported": false, + "runtimeVersion": "3.4.0" + } + }, + "value": "3.6" + } + ], + "value": "3" + }, + { + "displayText": "Python 2", + "minorVersions": [ + { + "displayText": "Python 2.7", + "stackSettings": { + "linuxRuntimeSettings": { + "appInsightsSettings": { + "isSupported": false + }, + "endOfLifeDate": "2020-02-01T00:00:00+00:00", + "gitHubActionSettings": { + "isSupported": true, + "supportedVersion": "2.7" + }, + "isDeprecated": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "PYTHON|2.7" + }, + "windowsRuntimeSettings": { + "appInsightsSettings": { + "isSupported": false + }, + "endOfLifeDate": "2020-02-01T00:00:00+00:00", + "gitHubActionSettings": { + "isSupported": true, + "supportedVersion": "2.7" + }, + "isDeprecated": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "2.7.3" + } + }, + "value": "2.7" + } + ], + "value": "2" + } + ], + "preferredOs": "Linux", + "value": "python" + } + }, + { + "name": "php", + "type": "Microsoft.Web/locations/webAppStacks", + "id": "/providers/Microsoft.Web/locations/webAppStacks/php", + "location": "westus", + "properties": { + "displayText": "PHP", + "majorVersions": [ + { + "displayText": "PHP 7", + "minorVersions": [ + { + "displayText": "PHP 7.4", + "stackSettings": { + "linuxRuntimeSettings": { + "appInsightsSettings": { + "isSupported": false + }, + "endOfLifeDate": "2022-12-28T00:00:00+00:00", + "gitHubActionSettings": { + "isSupported": false + }, + "remoteDebuggingSupported": false, + "runtimeVersion": "PHP|7.4" + }, + "windowsRuntimeSettings": { + "appInsightsSettings": { + "isSupported": false + }, + "endOfLifeDate": "2022-12-28T00:00:00+00:00", + "gitHubActionSettings": { + "isSupported": false + }, + "remoteDebuggingSupported": false, + "runtimeVersion": "7.4" + } + }, + "value": "7.4" + }, + { + "displayText": "PHP 7.3", + "stackSettings": { + "linuxRuntimeSettings": { + "appInsightsSettings": { + "isSupported": false + }, + "endOfLifeDate": "2022-01-06T00:00:00+00:00", + "gitHubActionSettings": { + "isSupported": false + }, + "remoteDebuggingSupported": false, + "runtimeVersion": "PHP|7.3" + }, + "windowsRuntimeSettings": { + "appInsightsSettings": { + "isSupported": false + }, + "endOfLifeDate": "2022-01-06T00:00:00+00:00", + "gitHubActionSettings": { + "isSupported": false + }, + "remoteDebuggingSupported": false, + "runtimeVersion": "7.3" + } + }, + "value": "7.3" + }, + { + "displayText": "PHP 7.2", + "stackSettings": { + "linuxRuntimeSettings": { + "appInsightsSettings": { + "isSupported": false + }, + "endOfLifeDate": "2020-12-30T00:00:00+00:00", + "gitHubActionSettings": { + "isSupported": false + }, + "remoteDebuggingSupported": false, + "runtimeVersion": "PHP|7.2" + }, + "windowsRuntimeSettings": { + "appInsightsSettings": { + "isSupported": false + }, + "endOfLifeDate": "2020-12-30T00:00:00+00:00", + "gitHubActionSettings": { + "isSupported": false + }, + "remoteDebuggingSupported": false, + "runtimeVersion": "7.2" + } + }, + "value": "7.2" + }, + { + "displayText": "PHP 7.1", + "stackSettings": { + "windowsRuntimeSettings": { + "appInsightsSettings": { + "isSupported": false + }, + "endOfLifeDate": "2020-03-01T00:00:00+00:00", + "gitHubActionSettings": { + "isSupported": false + }, + "isDeprecated": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "7.1" + } + }, + "value": "7.1" + }, + { + "displayText": "7.0", + "stackSettings": { + "linuxRuntimeSettings": { + "appInsightsSettings": { + "isSupported": false + }, + "endOfLifeDate": "2020-03-01T00:00:00+00:00", + "gitHubActionSettings": { + "isSupported": false + }, + "isDeprecated": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "PHP|7.0" + }, + "windowsRuntimeSettings": { + "appInsightsSettings": { + "isSupported": false + }, + "endOfLifeDate": "2020-03-01T00:00:00+00:00", + "gitHubActionSettings": { + "isSupported": false + }, + "isDeprecated": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "7.0" + } + }, + "value": "7.0" + } + ], + "value": "7" + }, + { + "displayText": "PHP 5", + "minorVersions": [ + { + "displayText": "PHP 5.6", + "stackSettings": { + "linuxRuntimeSettings": { + "appInsightsSettings": { + "isSupported": false + }, + "endOfLifeDate": "2024-11-01T00:00:00+00:00", + "gitHubActionSettings": { + "isSupported": false + }, + "isDeprecated": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "PHP|5.6" + }, + "windowsRuntimeSettings": { + "appInsightsSettings": { + "isSupported": false + }, + "endOfLifeDate": "2024-11-01T00:00:00+00:00", + "gitHubActionSettings": { + "isSupported": false + }, + "isDeprecated": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "5.6" + } + }, + "value": "5.6" + } + ], + "value": "5" + } + ], + "preferredOs": "Linux", + "value": "php" + } + }, + { + "name": "ruby", + "type": "Microsoft.Web/locations/webAppStacks", + "id": "/providers/Microsoft.Web/locations/webAppStacks/ruby", + "location": "westus", + "properties": { + "displayText": "Ruby", + "majorVersions": [ + { + "displayText": "Ruby 2", + "minorVersions": [ + { + "displayText": "Ruby 2.6", + "stackSettings": { + "linuxRuntimeSettings": { + "appInsightsSettings": { + "isSupported": false + }, + "gitHubActionSettings": { + "isSupported": false + }, + "remoteDebuggingSupported": false, + "runtimeVersion": "RUBY|2.6" + } + }, + "value": "2.6" + }, + { + "displayText": "Ruby 2.6.2", + "stackSettings": { + "linuxRuntimeSettings": { + "appInsightsSettings": { + "isSupported": false + }, + "gitHubActionSettings": { + "isSupported": false + }, + "remoteDebuggingSupported": false, + "runtimeVersion": "RUBY|2.6.2" + } + }, + "value": "2.6.2" + }, + { + "displayText": "Ruby 2.5", + "stackSettings": { + "linuxRuntimeSettings": { + "appInsightsSettings": { + "isSupported": false + }, + "gitHubActionSettings": { + "isSupported": false + }, + "remoteDebuggingSupported": false, + "runtimeVersion": "RUBY|2.5" + } + }, + "value": "2.5" + }, + { + "displayText": "Ruby 2.5.5", + "stackSettings": { + "linuxRuntimeSettings": { + "appInsightsSettings": { + "isSupported": false + }, + "gitHubActionSettings": { + "isSupported": false + }, + "remoteDebuggingSupported": false, + "runtimeVersion": "RUBY|2.5.5" + } + }, + "value": "2.5.5" + }, + { + "displayText": "Ruby 2.4", + "stackSettings": { + "linuxRuntimeSettings": { + "appInsightsSettings": { + "isSupported": false + }, + "endOfLifeDate": "2020-05-01T00:00:00+00:00", + "gitHubActionSettings": { + "isSupported": false + }, + "isDeprecated": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "RUBY|2.4" + } + }, + "value": "2.4" + }, + { + "displayText": "Ruby 2.4.5", + "stackSettings": { + "linuxRuntimeSettings": { + "appInsightsSettings": { + "isSupported": false + }, + "endOfLifeDate": "2020-05-01T00:00:00+00:00", + "gitHubActionSettings": { + "isSupported": false + }, + "isDeprecated": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "RUBY|2.4.5" + } + }, + "value": "2.4.5" + }, + { + "displayText": "Ruby 2.3", + "stackSettings": { + "linuxRuntimeSettings": { + "appInsightsSettings": { + "isSupported": false + }, + "endOfLifeDate": "2019-05-01T00:00:00+00:00", + "gitHubActionSettings": { + "isSupported": false + }, + "isDeprecated": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "RUBY|2.3" + } + }, + "value": "2.3" + }, + { + "displayText": "Ruby 2.3.8", + "stackSettings": { + "linuxRuntimeSettings": { + "appInsightsSettings": { + "isSupported": false + }, + "endOfLifeDate": "2019-05-01T00:00:00+00:00", + "gitHubActionSettings": { + "isSupported": false + }, + "isDeprecated": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "RUBY|2.3.8" + } + }, + "value": "2.3.8" + }, + { + "displayText": "Ruby 2.3.3", + "stackSettings": { + "linuxRuntimeSettings": { + "appInsightsSettings": { + "isSupported": false + }, + "endOfLifeDate": "2019-05-01T00:00:00+00:00", + "gitHubActionSettings": { + "isSupported": false + }, + "isDeprecated": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "RUBY|2.3.3" + } + }, + "value": "2.3.3" + } + ], + "value": "2" + } + ], + "preferredOs": "Linux", + "value": "ruby" + } + }, + { + "name": "java", + "type": "Microsoft.Web/locations/webAppStacks", + "id": "/providers/Microsoft.Web/locations/webAppStacks/java", + "location": "westus", + "properties": { + "displayText": "Java", + "majorVersions": [ + { + "displayText": "Java 11", + "minorVersions": [ + { + "displayText": "Java 11", + "stackSettings": { + "linuxRuntimeSettings": { + "appInsightsSettings": { + "isSupported": false + }, + "endOfLifeDate": "2026-10-01T00:00:00+00:00", + "gitHubActionSettings": { + "isSupported": true, + "supportedVersion": "11" + }, + "isAutoUpdate": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "" + }, + "windowsRuntimeSettings": { + "appInsightsSettings": { + "isSupported": false + }, + "endOfLifeDate": "2026-10-01T00:00:00+00:00", + "gitHubActionSettings": { + "isSupported": true, + "supportedVersion": "11" + }, + "isAutoUpdate": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "11" + } + }, + "value": "11.0" + }, + { + "displayText": "Java 11.0.7", + "stackSettings": { + "linuxRuntimeSettings": { + "appInsightsSettings": { + "isSupported": false + }, + "endOfLifeDate": "2026-10-01T00:00:00+00:00", + "gitHubActionSettings": { + "isSupported": true, + "supportedVersion": "11" + }, + "remoteDebuggingSupported": false, + "runtimeVersion": "" + }, + "windowsRuntimeSettings": { + "appInsightsSettings": { + "isSupported": false + }, + "endOfLifeDate": "2026-10-01T00:00:00+00:00", + "gitHubActionSettings": { + "isSupported": true, + "supportedVersion": "11" + }, + "remoteDebuggingSupported": false, + "runtimeVersion": "11.0.7" + } + }, + "value": "11.0.7" + }, + { + "displayText": "Java 11.0.6", + "stackSettings": { + "linuxRuntimeSettings": { + "appInsightsSettings": { + "isSupported": false + }, + "endOfLifeDate": "2026-10-01T00:00:00+00:00", + "gitHubActionSettings": { + "isSupported": true, + "supportedVersion": "11" + }, + "remoteDebuggingSupported": false, + "runtimeVersion": "" + }, + "windowsRuntimeSettings": { + "appInsightsSettings": { + "isSupported": false + }, + "endOfLifeDate": "2026-10-01T00:00:00+00:00", + "gitHubActionSettings": { + "isSupported": true, + "supportedVersion": "11" + }, + "remoteDebuggingSupported": false, + "runtimeVersion": "11.0.6" + } + }, + "value": "11.0.6" + }, + { + "displayText": "Java 11.0.5", + "stackSettings": { + "linuxRuntimeSettings": { + "appInsightsSettings": { + "isSupported": false + }, + "endOfLifeDate": "2026-10-01T00:00:00+00:00", + "gitHubActionSettings": { + "isSupported": true, + "supportedVersion": "11" + }, + "remoteDebuggingSupported": false, + "runtimeVersion": "" + }, + "windowsRuntimeSettings": { + "appInsightsSettings": { + "isSupported": false + }, + "endOfLifeDate": "2026-10-01T00:00:00+00:00", + "gitHubActionSettings": { + "isSupported": true, + "supportedVersion": "11" + }, + "remoteDebuggingSupported": false, + "runtimeVersion": "11.0.5_ZULU" + } + }, + "value": "11.0.5" + }, + { + "displayText": "Java 11.0.3", + "stackSettings": { + "windowsRuntimeSettings": { + "appInsightsSettings": { + "isSupported": false + }, + "endOfLifeDate": "2026-10-01T00:00:00+00:00", + "gitHubActionSettings": { + "isSupported": true, + "supportedVersion": "11" + }, + "remoteDebuggingSupported": false, + "runtimeVersion": "11.0.3_ZULU" + } + }, + "value": "11.0.3" + }, + { + "displayText": "Java 11.0.2", + "stackSettings": { + "windowsRuntimeSettings": { + "appInsightsSettings": { + "isSupported": false + }, + "endOfLifeDate": "2026-10-01T00:00:00+00:00", + "gitHubActionSettings": { + "isSupported": true, + "supportedVersion": "11" + }, + "remoteDebuggingSupported": false, + "runtimeVersion": "11.0.2_ZULU" + } + }, + "value": "11.0.2" + } + ], + "value": "11" + }, + { + "displayText": "Java 8", + "minorVersions": [ + { + "displayText": "Java 8", + "stackSettings": { + "linuxRuntimeSettings": { + "appInsightsSettings": { + "isSupported": false + }, + "endOfLifeDate": "2025-04-01T00:00:00+00:00", + "gitHubActionSettings": { + "isSupported": true, + "supportedVersion": "8" + }, + "isAutoUpdate": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "" + }, + "windowsRuntimeSettings": { + "appInsightsSettings": { + "isSupported": false + }, + "endOfLifeDate": "2025-04-01T00:00:00+00:00", + "gitHubActionSettings": { + "isSupported": true, + "supportedVersion": "8" + }, + "isAutoUpdate": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "1.8" + } + }, + "value": "8.0" + }, + { + "displayText": "Java 1.8.0_252", + "stackSettings": { + "linuxRuntimeSettings": { + "appInsightsSettings": { + "isSupported": false + }, + "endOfLifeDate": "2025-04-01T00:00:00+00:00", + "gitHubActionSettings": { + "isSupported": true, + "supportedVersion": "8" + }, + "remoteDebuggingSupported": false, + "runtimeVersion": "" + }, + "windowsRuntimeSettings": { + "appInsightsSettings": { + "isSupported": false + }, + "endOfLifeDate": "2025-04-01T00:00:00+00:00", + "gitHubActionSettings": { + "isSupported": true, + "supportedVersion": "8" + }, + "remoteDebuggingSupported": false, + "runtimeVersion": "1.8.0_252" + } + }, + "value": "8.0.252" + }, + { + "displayText": "Java 1.8.0_242", + "stackSettings": { + "linuxRuntimeSettings": { + "appInsightsSettings": { + "isSupported": false + }, + "endOfLifeDate": "2025-04-01T00:00:00+00:00", + "gitHubActionSettings": { + "isSupported": true, + "supportedVersion": "8" + }, + "remoteDebuggingSupported": false, + "runtimeVersion": "" + }, + "windowsRuntimeSettings": { + "appInsightsSettings": { + "isSupported": false + }, + "endOfLifeDate": "2025-04-01T00:00:00+00:00", + "gitHubActionSettings": { + "isSupported": true, + "supportedVersion": "8" + }, + "remoteDebuggingSupported": false, + "runtimeVersion": "1.8.0_242" + } + }, + "value": "8.0.242" + }, + { + "displayText": "Java 1.8.0_232", + "stackSettings": { + "linuxRuntimeSettings": { + "appInsightsSettings": { + "isSupported": false + }, + "endOfLifeDate": "2025-04-01T00:00:00+00:00", + "gitHubActionSettings": { + "isSupported": true, + "supportedVersion": "8" + }, + "remoteDebuggingSupported": false, + "runtimeVersion": "" + }, + "windowsRuntimeSettings": { + "appInsightsSettings": { + "isSupported": false + }, + "endOfLifeDate": "2025-04-01T00:00:00+00:00", + "gitHubActionSettings": { + "isSupported": true, + "supportedVersion": "8" + }, + "remoteDebuggingSupported": false, + "runtimeVersion": "1.8.0_232_ZULU" + } + }, + "value": "8.0.232" + }, + { + "displayText": "Java 1.8.0_212", + "stackSettings": { + "windowsRuntimeSettings": { + "appInsightsSettings": { + "isSupported": false + }, + "endOfLifeDate": "2025-04-01T00:00:00+00:00", + "gitHubActionSettings": { + "isSupported": true, + "supportedVersion": "8" + }, + "remoteDebuggingSupported": false, + "runtimeVersion": "1.8.0_212_ZULU" + } + }, + "value": "8.0.212" + }, + { + "displayText": "Java 1.8.0_202", + "stackSettings": { + "windowsRuntimeSettings": { + "appInsightsSettings": { + "isSupported": false + }, + "endOfLifeDate": "2025-04-01T00:00:00+00:00", + "gitHubActionSettings": { + "isSupported": true, + "supportedVersion": "8" + }, + "remoteDebuggingSupported": false, + "runtimeVersion": "1.8.0_202_ZULU" + } + }, + "value": "8.0.202" + }, + { + "displayText": "Java 1.8.0_202 (Oracle)", + "stackSettings": { + "windowsRuntimeSettings": { + "appInsightsSettings": { + "isSupported": false + }, + "gitHubActionSettings": { + "isSupported": true, + "supportedVersion": "8" + }, + "isDeprecated": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "1.8.0_202" + } + }, + "value": "8.0.202 (Oracle)" + }, + { + "displayText": "Java 1.8.0_181", + "stackSettings": { + "windowsRuntimeSettings": { + "appInsightsSettings": { + "isSupported": false + }, + "endOfLifeDate": "2025-04-01T00:00:00+00:00", + "gitHubActionSettings": { + "isSupported": true, + "supportedVersion": "8" + }, + "remoteDebuggingSupported": false, + "runtimeVersion": "1.8.0_181_ZULU" + } + }, + "value": "8.0.181" + }, + { + "displayText": "Java 1.8.0_181 (Oracle)", + "stackSettings": { + "windowsRuntimeSettings": { + "appInsightsSettings": { + "isSupported": false + }, + "gitHubActionSettings": { + "isSupported": true, + "supportedVersion": "8" + }, + "isDeprecated": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "1.8.0_181" + } + }, + "value": "8.0.181 (Oracle)" + }, + { + "displayText": "Java 1.8.0_172", + "stackSettings": { + "windowsRuntimeSettings": { + "appInsightsSettings": { + "isSupported": false + }, + "endOfLifeDate": "2025-04-01T00:00:00+00:00", + "gitHubActionSettings": { + "isSupported": true, + "supportedVersion": "8" + }, + "remoteDebuggingSupported": false, + "runtimeVersion": "1.8.0_172_ZULU" + } + }, + "value": "8.0.172" + }, + { + "displayText": "Java 1.8.0_172 (Oracle)", + "stackSettings": { + "windowsRuntimeSettings": { + "appInsightsSettings": { + "isSupported": false + }, + "gitHubActionSettings": { + "isSupported": true, + "supportedVersion": "8" + }, + "isDeprecated": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "1.8.0_172" + } + }, + "value": "8.0.172 (Oracle)" + }, + { + "displayText": "Java 1.8.0_144", + "stackSettings": { + "windowsRuntimeSettings": { + "appInsightsSettings": { + "isSupported": false + }, + "endOfLifeDate": "2025-04-01T00:00:00+00:00", + "gitHubActionSettings": { + "isSupported": true, + "supportedVersion": "8" + }, + "remoteDebuggingSupported": false, + "runtimeVersion": "1.8.0_144" + } + }, + "value": "8.0.144" + }, + { + "displayText": "Java 1.8.0_111 (Oracle)", + "stackSettings": { + "windowsRuntimeSettings": { + "appInsightsSettings": { + "isSupported": false + }, + "gitHubActionSettings": { + "isSupported": true, + "supportedVersion": "8" + }, + "isDeprecated": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "1.8.0_111" + } + }, + "value": "8.0.111 (Oracle)" + }, + { + "displayText": "Java 1.8.0_102", + "stackSettings": { + "windowsRuntimeSettings": { + "appInsightsSettings": { + "isSupported": false + }, + "endOfLifeDate": "2025-04-01T00:00:00+00:00", + "gitHubActionSettings": { + "isSupported": true, + "supportedVersion": "8" + }, + "remoteDebuggingSupported": false, + "runtimeVersion": "1.8.0_102" + } + }, + "value": "8.0.102" + }, + { + "displayText": "Java 1.8.0_92", + "stackSettings": { + "windowsRuntimeSettings": { + "appInsightsSettings": { + "isSupported": false + }, + "endOfLifeDate": "2025-04-01T00:00:00+00:00", + "gitHubActionSettings": { + "isSupported": true, + "supportedVersion": "8" + }, + "remoteDebuggingSupported": false, + "runtimeVersion": "1.8.0_92" + } + }, + "value": "8.0.92" + }, + { + "displayText": "Java 1.8.0_73 (Oracle)", + "stackSettings": { + "windowsRuntimeSettings": { + "appInsightsSettings": { + "isSupported": false + }, + "gitHubActionSettings": { + "isSupported": true, + "supportedVersion": "8" + }, + "isDeprecated": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "1.8.0_73" + } + }, + "value": "8.0.73 (Oracle)" + }, + { + "displayText": "Java 1.8.0_60 (Oracle)", + "stackSettings": { + "windowsRuntimeSettings": { + "appInsightsSettings": { + "isSupported": false + }, + "gitHubActionSettings": { + "isSupported": true, + "supportedVersion": "8" + }, + "isDeprecated": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "1.8.0_60" + } + }, + "value": "8.0.60 (Oracle)" + }, + { + "displayText": "Java 1.8.0_25 (Oracle)", + "stackSettings": { + "windowsRuntimeSettings": { + "appInsightsSettings": { + "isSupported": false + }, + "gitHubActionSettings": { + "isSupported": true, + "supportedVersion": "8" + }, + "isDeprecated": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "1.8.0_25" + } + }, + "value": "8.0.25 (Oracle)" + } + ], + "value": "8" + }, + { + "displayText": "Java 7", + "minorVersions": [ + { + "displayText": "Java 7", + "stackSettings": { + "windowsRuntimeSettings": { + "appInsightsSettings": { + "isSupported": false + }, + "endOfLifeDate": "2023-08-01T00:00:00+00:00", + "gitHubActionSettings": { + "isSupported": false + }, + "isAutoUpdate": true, + "isDeprecated": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "1.7" + } + }, + "value": "7.0" + }, + { + "displayText": "Java 1.7.0_262", + "stackSettings": { + "windowsRuntimeSettings": { + "appInsightsSettings": { + "isSupported": false + }, + "endOfLifeDate": "2023-08-01T00:00:00+00:00", + "gitHubActionSettings": { + "isSupported": false + }, + "isDeprecated": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "1.7.0_262_ZULU" + } + }, + "value": "7.0.262" + }, + { + "displayText": "Java 1.7.0_242", + "stackSettings": { + "windowsRuntimeSettings": { + "appInsightsSettings": { + "isSupported": false + }, + "endOfLifeDate": "2023-08-01T00:00:00+00:00", + "gitHubActionSettings": { + "isSupported": false + }, + "isDeprecated": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "1.7.0_242_ZULU" + } + }, + "value": "7.0.242" + }, + { + "displayText": "Java 1.7.0_222", + "stackSettings": { + "windowsRuntimeSettings": { + "appInsightsSettings": { + "isSupported": false + }, + "endOfLifeDate": "2023-08-01T00:00:00+00:00", + "gitHubActionSettings": { + "isSupported": false + }, + "isDeprecated": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "1.7.0_222_ZULU" + } + }, + "value": "7.0.222" + }, + { + "displayText": "Java 1.7.0_191", + "stackSettings": { + "windowsRuntimeSettings": { + "appInsightsSettings": { + "isSupported": false + }, + "endOfLifeDate": "2023-08-01T00:00:00+00:00", + "gitHubActionSettings": { + "isSupported": false + }, + "isDeprecated": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "1.7.0_191_ZULU" + } + }, + "value": "7.0.191" + }, + { + "displayText": "Java 1.7.0_80 (Oracle)", + "stackSettings": { + "windowsRuntimeSettings": { + "appInsightsSettings": { + "isSupported": false + }, + "gitHubActionSettings": { + "isSupported": false + }, + "isDeprecated": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "1.7.0_80" + } + }, + "value": "7.0.80 (Oracle)" + }, + { + "displayText": "Java 1.7.0_71 (Oracle)", + "stackSettings": { + "windowsRuntimeSettings": { + "appInsightsSettings": { + "isSupported": false + }, + "gitHubActionSettings": { + "isSupported": false + }, + "isDeprecated": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "1.7.0_71" + } + }, + "value": "7.0.71 (Oracle)" + }, + { + "displayText": "Java 1.7.0_51 (Oracle)", + "stackSettings": { + "windowsRuntimeSettings": { + "appInsightsSettings": { + "isSupported": false + }, + "gitHubActionSettings": { + "isSupported": false + }, + "isDeprecated": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "1.7.0_51" + } + }, + "value": "7.0.51 (Oracle)" + } + ], + "value": "7" + } + ], + "preferredOs": "Linux", + "value": "java" + } + }, + { + "name": "javacontainers", + "type": "Microsoft.Web/locations/webAppStacks", + "id": "/providers/Microsoft.Web/locations/webAppStacks/javacontainers", + "location": "westus", + "properties": { + "displayText": "Java Containers", + "majorVersions": [ + { + "displayText": "Java SE (Embedded Web Server)", + "minorVersions": [ + { + "displayText": "Java SE (Embedded Web Server)", + "stackSettings": { + "linuxContainerSettings": { + "isAutoUpdate": true, + "java11Runtime": "JAVA|11-java11", + "java8Runtime": "JAVA|8-jre8" + }, + "windowsContainerSettings": { + "isAutoUpdate": true, + "javaContainer": "JAVA", + "javaContainerVersion": "SE" + } + }, + "value": "SE" + }, + { + "displayText": "Java SE 11.0.7", + "stackSettings": { + "linuxContainerSettings": { + "java11Runtime": "JAVA|11.0.7" + } + }, + "value": "11.0.7" + }, + { + "displayText": "Java SE 11.0.6", + "stackSettings": { + "linuxContainerSettings": { + "java11Runtime": "JAVA|11.0.6" + } + }, + "value": "11.0.6" + }, + { + "displayText": "Java SE 11.0.5", + "stackSettings": { + "linuxContainerSettings": { + "java11Runtime": "JAVA|11.0.5" + } + }, + "value": "11.0.5" + }, + { + "displayText": "Java SE 8u252", + "stackSettings": { + "linuxContainerSettings": { + "java8Runtime": "JAVA|8u252" + } + }, + "value": "1.8.252" + }, + { + "displayText": "Java SE 8u242", + "stackSettings": { + "linuxContainerSettings": { + "java8Runtime": "JAVA|8u242" + } + }, + "value": "1.8.242" + }, + { + "displayText": "Java SE 8u232", + "stackSettings": { + "linuxContainerSettings": { + "java8Runtime": "JAVA|8u232" + } + }, + "value": "1.8.232" + } + ], + "value": "javase" + }, + { + "displayText": "JBoss EAP", + "minorVersions": [ + { + "displayText": "JBoss EAP 7.2", + "stackSettings": { + "linuxContainerSettings": { + "isPreview": true, + "java8Runtime": "JBOSSEAP|7.2-java8" + } + }, + "value": "7.2" + } + ], + "value": "jbosseap" + }, + { + "displayText": "Tomcat 9.0", + "minorVersions": [ + { + "displayText": "Tomcat 9.0", + "stackSettings": { + "linuxContainerSettings": { + "isAutoUpdate": true, + "java11Runtime": "TOMCAT|9.0-java11", + "java8Runtime": "TOMCAT|9.0-jre8" + }, + "windowsContainerSettings": { + "isAutoUpdate": true, + "javaContainer": "TOMCAT", + "javaContainerVersion": "9.0" + } + }, + "value": "9.0" + }, + { + "displayText": "Tomcat 9.0.37", + "stackSettings": { + "linuxContainerSettings": { + "java11Runtime": "TOMCAT|9.0.37-java11", + "java8Runtime": "TOMCAT|9.0.37-java8" + }, + "windowsContainerSettings": { + "javaContainer": "TOMCAT", + "javaContainerVersion": "9.0.37" + } + }, + "value": "9.0.37" + }, + { + "displayText": "Tomcat 9.0.33", + "stackSettings": { + "linuxContainerSettings": { + "java11Runtime": "TOMCAT|9.0.33-java11", + "java8Runtime": "TOMCAT|9.0.33-java8" + } + }, + "value": "9.0.33" + }, + { + "displayText": "Tomcat 9.0.31", + "stackSettings": { + "windowsContainerSettings": { + "javaContainer": "TOMCAT", + "javaContainerVersion": "9.0.31" + } + }, + "value": "9.0.31" + }, + { + "displayText": "Tomcat 9.0.27", + "stackSettings": { + "windowsContainerSettings": { + "javaContainer": "TOMCAT", + "javaContainerVersion": "9.0.27" + } + }, + "value": "9.0.27" + }, + { + "displayText": "Tomcat 9.0.21", + "stackSettings": { + "windowsContainerSettings": { + "javaContainer": "TOMCAT", + "javaContainerVersion": "9.0.21" + } + }, + "value": "9.0.21" + }, + { + "displayText": "Tomcat 9.0.20", + "stackSettings": { + "linuxContainerSettings": { + "java11Runtime": "TOMCAT|9.0.20-java11", + "java8Runtime": "TOMCAT|9.0.20-java8" + } + }, + "value": "9.0.20" + }, + { + "displayText": "Tomcat 9.0.14", + "stackSettings": { + "windowsContainerSettings": { + "javaContainer": "TOMCAT", + "javaContainerVersion": "9.0.14" + } + }, + "value": "9.0.14" + }, + { + "displayText": "Tomcat 9.0.12", + "stackSettings": { + "windowsContainerSettings": { + "javaContainer": "TOMCAT", + "javaContainerVersion": "9.0.12" + } + }, + "value": "9.0.12" + }, + { + "displayText": "Tomcat 9.0.8", + "stackSettings": { + "windowsContainerSettings": { + "javaContainer": "TOMCAT", + "javaContainerVersion": "9.0.8" + } + }, + "value": "9.0.8" + }, + { + "displayText": "Tomcat 9.0.0", + "stackSettings": { + "windowsContainerSettings": { + "javaContainer": "TOMCAT", + "javaContainerVersion": "9.0.0" + } + }, + "value": "9.0.0" + } + ], + "value": "tomcat9.0" + }, + { + "displayText": "Tomcat 8.5", + "minorVersions": [ + { + "displayText": "Tomcat 8.5", + "stackSettings": { + "linuxContainerSettings": { + "isAutoUpdate": true, + "java11Runtime": "TOMCAT|8.5-java11", + "java8Runtime": "TOMCAT|8.5-jre8" + }, + "windowsContainerSettings": { + "isAutoUpdate": true, + "javaContainer": "TOMCAT", + "javaContainerVersion": "8.5" + } + }, + "value": "8.5" + }, + { + "displayText": "Tomcat 8.5.6", + "stackSettings": { + "windowsContainerSettings": { + "javaContainer": "TOMCAT", + "javaContainerVersion": "8.5.6" + } + }, + "value": "8.5.6" + }, + { + "displayText": "Tomcat 8.5.57", + "stackSettings": { + "linuxContainerSettings": { + "java11Runtime": "TOMCAT|8.5.57-java11", + "java8Runtime": "TOMCAT|8.5.57-java8" + }, + "windowsContainerSettings": { + "javaContainer": "TOMCAT", + "javaContainerVersion": "8.5.57" + } + }, + "value": "8.5.57" + }, + { + "displayText": "Tomcat 8.5.53", + "stackSettings": { + "linuxContainerSettings": { + "java11Runtime": "TOMCAT|8.5.53-java11", + "java8Runtime": "TOMCAT|8.5.53-java8" + } + }, + "value": "8.5.53" + }, + { + "displayText": "Tomcat 8.5.51", + "stackSettings": { + "windowsContainerSettings": { + "javaContainer": "TOMCAT", + "javaContainerVersion": "8.5.51" + } + }, + "value": "8.5.51" + }, + { + "displayText": "Tomcat 8.5.47", + "stackSettings": { + "windowsContainerSettings": { + "javaContainer": "TOMCAT", + "javaContainerVersion": "8.5.47" + } + }, + "value": "8.5.47" + }, + { + "displayText": "Tomcat 8.5.42", + "stackSettings": { + "windowsContainerSettings": { + "javaContainer": "TOMCAT", + "javaContainerVersion": "8.5.42" + } + }, + "value": "8.5.42" + }, + { + "displayText": "Tomcat 8.5.41", + "stackSettings": { + "linuxContainerSettings": { + "java11Runtime": "TOMCAT|8.5.41-java11", + "java8Runtime": "TOMCAT|8.5.41-java8" + } + }, + "value": "8.5.41" + }, + { + "displayText": "Tomcat 8.5.37", + "stackSettings": { + "windowsContainerSettings": { + "javaContainer": "TOMCAT", + "javaContainerVersion": "8.5.37" + } + }, + "value": "8.5.37" + }, + { + "displayText": "Tomcat 8.5.34", + "stackSettings": { + "windowsContainerSettings": { + "javaContainer": "TOMCAT", + "javaContainerVersion": "8.5.34" + } + }, + "value": "8.5.34" + }, + { + "displayText": "Tomcat 8.5.31", + "stackSettings": { + "windowsContainerSettings": { + "javaContainer": "TOMCAT", + "javaContainerVersion": "8.5.31" + } + }, + "value": "8.5.31" + }, + { + "displayText": "Tomcat 8.5.20", + "stackSettings": { + "windowsContainerSettings": { + "javaContainer": "TOMCAT", + "javaContainerVersion": "8.5.20" + } + }, + "value": "8.5.20" + } + ], + "value": "tomcat8.5" + }, + { + "displayText": "Tomcat 8.0", + "minorVersions": [ + { + "displayText": "Tomcat 8.0", + "stackSettings": { + "windowsContainerSettings": { + "isAutoUpdate": true, + "javaContainer": "TOMCAT", + "javaContainerVersion": "8.0" + } + }, + "value": "8.0" + }, + { + "displayText": "Tomcat 8.0.53", + "stackSettings": { + "windowsContainerSettings": { + "javaContainer": "TOMCAT", + "javaContainerVersion": "8.0.53" + } + }, + "value": "8.0.53" + }, + { + "displayText": "Tomcat 8.0.46", + "stackSettings": { + "windowsContainerSettings": { + "javaContainer": "TOMCAT", + "javaContainerVersion": "8.0.46" + } + }, + "value": "8.0.46" + }, + { + "displayText": "Tomcat 8.0.23", + "stackSettings": { + "windowsContainerSettings": { + "javaContainer": "TOMCAT", + "javaContainerVersion": "8.0.23" + } + }, + "value": "8.0.23" + } + ], + "value": "tomcat8.0" + }, + { + "displayText": "Tomcat 7.0", + "minorVersions": [ + { + "displayText": "Tomcat 7.0", + "stackSettings": { + "windowsContainerSettings": { + "isAutoUpdate": true, + "javaContainer": "TOMCAT", + "javaContainerVersion": "7.0" + } + }, + "value": "7.0" + }, + { + "displayText": "Tomcat 7.0.94", + "stackSettings": { + "windowsContainerSettings": { + "javaContainer": "TOMCAT", + "javaContainerVersion": "7.0.94" + } + }, + "value": "7.0.94" + }, + { + "displayText": "Tomcat 7.0.81", + "stackSettings": { + "windowsContainerSettings": { + "javaContainer": "TOMCAT", + "javaContainerVersion": "7.0.81" + } + }, + "value": "7.0.81" + }, + { + "displayText": "Tomcat 7.0.62", + "stackSettings": { + "windowsContainerSettings": { + "javaContainer": "TOMCAT", + "javaContainerVersion": "7.0.62" + } + }, + "value": "7.0.62" + }, + { + "displayText": "Tomcat 7.0.50", + "stackSettings": { + "windowsContainerSettings": { + "javaContainer": "TOMCAT", + "javaContainerVersion": "7.0.50" + } + }, + "value": "7.0.50" + } + ], + "value": "tomcat7.0" + }, + { + "displayText": "Jetty 9.3", + "minorVersions": [ + { + "displayText": "Jetty 9.3", + "stackSettings": { + "windowsContainerSettings": { + "isAutoUpdate": true, + "isDeprecated": true, + "javaContainer": "JETTY", + "javaContainerVersion": "9.3" + } + }, + "value": "9.3" + }, + { + "displayText": "Jetty 9.3.25", + "stackSettings": { + "windowsContainerSettings": { + "isDeprecated": true, + "javaContainer": "JETTY", + "javaContainerVersion": "9.3.25" + } + }, + "value": "9.3.25" + }, + { + "displayText": "Jetty 9.3.13", + "stackSettings": { + "windowsContainerSettings": { + "isDeprecated": true, + "javaContainer": "JETTY", + "javaContainerVersion": "9.3.13" + } + }, + "value": "9.3.13" + } + ], + "value": "jetty9.3" + }, + { + "displayText": "Jetty 9.1", + "minorVersions": [ + { + "displayText": "Jetty 9.1", + "stackSettings": { + "windowsContainerSettings": { + "isAutoUpdate": true, + "isDeprecated": true, + "javaContainer": "JETTY", + "javaContainerVersion": "9.1" + } + }, + "value": "9.1" + }, + { + "displayText": "Jetty 9.1.0", + "stackSettings": { + "windowsContainerSettings": { + "isDeprecated": true, + "javaContainer": "JETTY", + "javaContainerVersion": "9.1.0" + } + }, + "value": "9.1.0" + } + ], + "value": "jetty9.1" + }, + { + "displayText": "WildFly 14", + "minorVersions": [ + { + "displayText": "WildFly 14", + "stackSettings": { + "linuxContainerSettings": { + "isAutoUpdate": true, + "isDeprecated": true, + "java8Runtime": "WILDFLY|14-jre8" + } + }, + "value": "14" + }, + { + "displayText": "WildFly 14.0.1", + "stackSettings": { + "linuxContainerSettings": { + "isDeprecated": true, + "java8Runtime": "WILDFLY|14.0.1-java8" + } + }, + "value": "14.0.1" + } + ], + "value": "wildfly14" + } + ], + "value": "javacontainers" + } + } + ] + }, + "headers": {} + } + }, + "operationId": "Provider_GetWebAppStacksForLocation", + "title": "Get Locations Web App Stacks" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/GetWebSiteNetworkTraceOperation.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/GetWebSiteNetworkTraceOperation.json new file mode 100644 index 000000000000..c60e14c5082a --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/GetWebSiteNetworkTraceOperation.json @@ -0,0 +1,37 @@ +{ + "parameters": { + "name": "SampleApp", + "operationId": "c291433b-53ad-4c49-8cae-0a293eae1c6d", + "api-version": "2025-03-01", + "resourceGroupName": "testrg123", + "slot": "Production", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": [ + { + "path": "D:\\home\\LogFiles\\networktrace\\10.0.0.1_2018_02_01T00_00_00.zip", + "message": "Trace file has been saved as D:\\home\\LogFiles\\networktrace\\10.0.0.1_2018_02_01T00_00_00.zip", + "status": "Succeeded" + } + ], + "headers": {} + }, + "202": { + "body": [ + { + "path": "D:\\home\\LogFiles\\networktrace\\10.0.0.1_2018_02_01T00_00_00.zip", + "message": "Trace file has been saved as D:\\home\\LogFiles\\networktrace\\10.0.0.1_2018_02_01T00_00_00.zip", + "status": "Succeeded" + } + ], + "headers": { + "azure-asyncoperation": "https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/SampleApp/networktraces/current/operationresults/c291433b-53ad-4c49-8cae-0a293eae1c6d", + "location": "https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/SampleApp/networktraces/current/operationresults/c291433b-53ad-4c49-8cae-0a293eae1c6d" + } + } + }, + "operationId": "WebApps_GetNetworkTraceOperation", + "title": "Get the current status of a network trace operation for a site" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/GetWebSiteNetworkTraceOperation_Slot.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/GetWebSiteNetworkTraceOperation_Slot.json new file mode 100644 index 000000000000..107526341fd7 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/GetWebSiteNetworkTraceOperation_Slot.json @@ -0,0 +1,37 @@ +{ + "parameters": { + "name": "SampleApp", + "operationId": "c291433b-53ad-4c49-8cae-0a293eae1c6d", + "api-version": "2025-03-01", + "resourceGroupName": "testrg123", + "slot": "Production", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": [ + { + "path": "D:\\home\\LogFiles\\networktrace\\10.0.0.1_2018_02_01T00_00_00.zip", + "message": "Trace file has been saved as D:\\home\\LogFiles\\networktrace\\10.0.0.1_2018_02_01T00_00_00.zip", + "status": "Succeeded" + } + ], + "headers": {} + }, + "202": { + "body": [ + { + "path": "D:\\home\\LogFiles\\networktrace\\10.0.0.1_2018_02_01T00_00_00.zip", + "message": "Trace file has been saved as D:\\home\\LogFiles\\networktrace\\10.0.0.1_2018_02_01T00_00_00.zip", + "status": "Succeeded" + } + ], + "headers": { + "azure-asyncoperation": "https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/SampleApp/networktraces/current/operationresults/c291433b-53ad-4c49-8cae-0a293eae1c6d", + "location": "https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/SampleApp/networktraces/current/operationresults/c291433b-53ad-4c49-8cae-0a293eae1c6d" + } + } + }, + "operationId": "WebApps_GetNetworkTraceOperationSlot", + "title": "Get the current status of a network trace operation for a site" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/GetWebSiteNetworkTraceOperation_SlotV2.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/GetWebSiteNetworkTraceOperation_SlotV2.json new file mode 100644 index 000000000000..ea75df54cb02 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/GetWebSiteNetworkTraceOperation_SlotV2.json @@ -0,0 +1,37 @@ +{ + "parameters": { + "name": "SampleApp", + "operationId": "c291433b-53ad-4c49-8cae-0a293eae1c6d", + "api-version": "2025-03-01", + "resourceGroupName": "testrg123", + "slot": "Production", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": [ + { + "path": "D:\\home\\LogFiles\\networktrace\\10.0.0.1_2018_02_01T00_00_00.zip", + "message": "Trace file has been saved as D:\\home\\LogFiles\\networktrace\\10.0.0.1_2018_02_01T00_00_00.zip", + "status": "Succeeded" + } + ], + "headers": {} + }, + "202": { + "body": [ + { + "path": "D:\\home\\LogFiles\\networktrace\\10.0.0.1_2018_02_01T00_00_00.zip", + "message": "Trace file has been saved as D:\\home\\LogFiles\\networktrace\\10.0.0.1_2018_02_01T00_00_00.zip", + "status": "Succeeded" + } + ], + "headers": { + "azure-asyncoperation": "https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/SampleApp/networktraces/current/operationresults/c291433b-53ad-4c49-8cae-0a293eae1c6d", + "location": "https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/SampleApp/networktraces/current/operationresults/c291433b-53ad-4c49-8cae-0a293eae1c6d" + } + } + }, + "operationId": "WebApps_GetNetworkTraceOperationSlotV2", + "title": "Get the current status of a network trace operation for a site" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/GetWebSiteNetworkTraceOperation_V2.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/GetWebSiteNetworkTraceOperation_V2.json new file mode 100644 index 000000000000..07eb89978c9d --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/GetWebSiteNetworkTraceOperation_V2.json @@ -0,0 +1,37 @@ +{ + "parameters": { + "name": "SampleApp", + "operationId": "c291433b-53ad-4c49-8cae-0a293eae1c6d", + "api-version": "2025-03-01", + "resourceGroupName": "testrg123", + "slot": "Production", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": [ + { + "path": "D:\\home\\LogFiles\\networktrace\\10.0.0.1_2018_02_01T00_00_00.zip", + "message": "Trace file has been saved as D:\\home\\LogFiles\\networktrace\\10.0.0.1_2018_02_01T00_00_00.zip", + "status": "Succeeded" + } + ], + "headers": {} + }, + "202": { + "body": [ + { + "path": "D:\\home\\LogFiles\\networktrace\\10.0.0.1_2018_02_01T00_00_00.zip", + "message": "Trace file has been saved as D:\\home\\LogFiles\\networktrace\\10.0.0.1_2018_02_01T00_00_00.zip", + "status": "Succeeded" + } + ], + "headers": { + "azure-asyncoperation": "https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/SampleApp/networktraces/current/operationresults/c291433b-53ad-4c49-8cae-0a293eae1c6d", + "location": "https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/SampleApp/networktraces/current/operationresults/c291433b-53ad-4c49-8cae-0a293eae1c6d" + } + } + }, + "operationId": "WebApps_GetNetworkTraceOperationV2", + "title": "Get the current status of a network trace operation for a site" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/GetWebSiteNetworkTraces.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/GetWebSiteNetworkTraces.json new file mode 100644 index 000000000000..ef8e40aa51a2 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/GetWebSiteNetworkTraces.json @@ -0,0 +1,24 @@ +{ + "parameters": { + "name": "SampleApp", + "operationId": "c291433b-53ad-4c49-8cae-0a293eae1c6d", + "api-version": "2025-03-01", + "resourceGroupName": "testrg123", + "slot": "Production", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": [ + { + "path": "D:\\home\\LogFiles\\networktrace\\10.0.0.1_2018_02_01T00_00_00.zip", + "message": "Trace file has been saved as D:\\home\\LogFiles\\networktrace\\10.0.0.1_2018_02_01T00_00_00.zip", + "status": "Succeeded" + } + ], + "headers": {} + } + }, + "operationId": "WebApps_GetNetworkTraces", + "title": "Get NetworkTraces for a site" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/GetWebSiteNetworkTraces_GetNetworkTracesSlotV2.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/GetWebSiteNetworkTraces_GetNetworkTracesSlotV2.json new file mode 100644 index 000000000000..6936c63fa1f0 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/GetWebSiteNetworkTraces_GetNetworkTracesSlotV2.json @@ -0,0 +1,24 @@ +{ + "parameters": { + "name": "SampleApp", + "operationId": "c291433b-53ad-4c49-8cae-0a293eae1c6d", + "api-version": "2025-03-01", + "resourceGroupName": "testrg123", + "slot": "Production", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": [ + { + "path": "D:\\home\\LogFiles\\networktrace\\10.0.0.1_2018_02_01T00_00_00.zip", + "message": "Trace file has been saved as D:\\home\\LogFiles\\networktrace\\10.0.0.1_2018_02_01T00_00_00.zip", + "status": "Succeeded" + } + ], + "headers": {} + } + }, + "operationId": "WebApps_GetNetworkTracesSlotV2", + "title": "Get NetworkTraces for a site" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/GetWebSiteNetworkTraces_Slot.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/GetWebSiteNetworkTraces_Slot.json new file mode 100644 index 000000000000..31cc2f330d11 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/GetWebSiteNetworkTraces_Slot.json @@ -0,0 +1,24 @@ +{ + "parameters": { + "name": "SampleApp", + "operationId": "c291433b-53ad-4c49-8cae-0a293eae1c6d", + "api-version": "2025-03-01", + "resourceGroupName": "testrg123", + "slot": "Production", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": [ + { + "path": "D:\\home\\LogFiles\\networktrace\\10.0.0.1_2018_02_01T00_00_00.zip", + "message": "Trace file has been saved as D:\\home\\LogFiles\\networktrace\\10.0.0.1_2018_02_01T00_00_00.zip", + "status": "Succeeded" + } + ], + "headers": {} + } + }, + "operationId": "WebApps_GetNetworkTracesSlot", + "title": "Get NetworkTraces for a site" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/GetWebSiteNetworkTraces_SlotV2.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/GetWebSiteNetworkTraces_SlotV2.json new file mode 100644 index 000000000000..fbe44ee5cc37 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/GetWebSiteNetworkTraces_SlotV2.json @@ -0,0 +1,24 @@ +{ + "parameters": { + "name": "SampleApp", + "operationId": "c291433b-53ad-4c49-8cae-0a293eae1c6d", + "api-version": "2025-03-01", + "resourceGroupName": "testrg123", + "slot": "Production", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": [ + { + "path": "D:\\home\\LogFiles\\networktrace\\10.0.0.1_2018_02_01T00_00_00.zip", + "message": "Trace file has been saved as D:\\home\\LogFiles\\networktrace\\10.0.0.1_2018_02_01T00_00_00.zip", + "status": "Succeeded" + } + ], + "headers": {} + } + }, + "operationId": "WebApps_GetNetworkTracesV2", + "title": "Get NetworkTraces for a site" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/GetWorkflow.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/GetWorkflow.json new file mode 100644 index 000000000000..3b1c0dbc3c11 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/GetWorkflow.json @@ -0,0 +1,61 @@ +{ + "parameters": { + "name": "testsite2", + "api-version": "2025-03-01", + "resourceGroupName": "testrg123", + "slot": "staging", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "workflowName": "stateful1" + }, + "responses": { + "200": { + "body": { + "name": "testsite2/stateful1", + "type": "Microsoft.Web/sites/workflows", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/testsite2/workflows/stateful1", + "kind": "Stateful", + "location": "USAAnywhere", + "properties": { + "files": { + "connections.json": { + "managedApiConnections": { + "office365": { + "api": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/providers/Microsoft.Web/locations/brazilsouth/managedApis/office365" + }, + "authentication": { + "type": "Raw", + "parameter": "@appsetting('office365-connectionKey')", + "scheme": "Key" + }, + "connection": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/connections/office365-1" + }, + "connectionRuntimeUrl": "string" + } + } + }, + "workflow.json": { + "definition": { + "$schema": "https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#", + "actions": {}, + "contentVersion": "1.0.0.0", + "outputs": {}, + "parameters": {}, + "triggers": {} + } + } + }, + "flowState": "Enabled", + "health": { + "state": "Healthy" + } + } + }, + "headers": {} + }, + "404": {} + }, + "operationId": "WebApps_GetWorkflow", + "title": "GET a workflow" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/GetWorkflow_Slot.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/GetWorkflow_Slot.json new file mode 100644 index 000000000000..c4d746b0fd5c --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/GetWorkflow_Slot.json @@ -0,0 +1,61 @@ +{ + "parameters": { + "name": "testsite2", + "api-version": "2025-03-01", + "resourceGroupName": "testrg123", + "slot": "staging", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "workflowName": "stateful1" + }, + "responses": { + "200": { + "body": { + "name": "testsite2/stateful1", + "type": "Microsoft.Web/sites/workflows", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/testsite2/workflows/stateful1", + "kind": "Stateful", + "location": "USAAnywhere", + "properties": { + "files": { + "connections.json": { + "managedApiConnections": { + "office365": { + "api": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/providers/Microsoft.Web/locations/brazilsouth/managedApis/office365" + }, + "authentication": { + "type": "Raw", + "parameter": "@appsetting('office365-connectionKey')", + "scheme": "Key" + }, + "connection": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/connections/office365-1" + }, + "connectionRuntimeUrl": "string" + } + } + }, + "workflow.json": { + "definition": { + "$schema": "https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#", + "actions": {}, + "contentVersion": "1.0.0.0", + "outputs": {}, + "parameters": {}, + "triggers": {} + } + } + }, + "flowState": "Enabled", + "health": { + "state": "Healthy" + } + } + }, + "headers": {} + }, + "404": {} + }, + "operationId": "WebApps_GetInstanceWorkflowSlot", + "title": "GET a workflow Slot" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/KubeEnvironments_CreateOrUpdate.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/KubeEnvironments_CreateOrUpdate.json new file mode 100644 index 000000000000..2567f1ec5c04 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/KubeEnvironments_CreateOrUpdate.json @@ -0,0 +1,70 @@ +{ + "parameters": { + "name": "testkubeenv", + "api-version": "2025-03-01", + "extendedLocation": { + "name": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/examplerg/providers/Microsoft.ExtendedLocation/customLocations/testcustomlocation", + "type": "customLocation" + }, + "kind": "kubernetes", + "kubeEnvironmentEnvelope": { + "location": "East US", + "properties": { + "staticIp": "1.2.3.4" + } + }, + "location": "East US", + "resourceGroupName": "examplerg", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": { + "name": "testkubeenv", + "type": "Microsoft.Web/kubeEnvironments", + "extendedLocation": { + "name": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/examplerg/providers/Microsoft.ExtendedLocation/customLocations/testcustomlocation", + "type": "customLocation" + }, + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/examplerg/providers/Microsoft.Web/kubeEnvironments/testkubeenv", + "location": "East US", + "properties": { + "aksResourceID": "test", + "appLogsConfiguration": null, + "arcConfiguration": null, + "defaultDomain": "testkubeenv.k4apps.io", + "deploymentErrors": null, + "internalLoadBalancerEnabled": false, + "provisioningState": "Succeeded", + "staticIp": "1.2.3.4" + }, + "tags": {} + } + }, + "201": { + "body": { + "name": "testkubeenv", + "type": "Microsoft.Web/kubeEnvironments", + "extendedLocation": { + "name": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/examplerg/providers/Microsoft.ExtendedLocation/customLocations/testcustomlocation", + "type": "customLocation" + }, + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/examplerg/providers/Microsoft.Web/kubeEnvironments/testkubeenv", + "location": "East US", + "properties": { + "aksResourceID": "test", + "appLogsConfiguration": null, + "arcConfiguration": null, + "defaultDomain": "testkubeenv.k4apps.io", + "deploymentErrors": null, + "internalLoadBalancerEnabled": false, + "provisioningState": "InitializationInProgress", + "staticIp": "1.2.3.4" + }, + "tags": {} + } + } + }, + "operationId": "KubeEnvironments_CreateOrUpdate", + "title": "Create kube environments" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/KubeEnvironments_Delete.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/KubeEnvironments_Delete.json new file mode 100644 index 000000000000..7881789bee3f --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/KubeEnvironments_Delete.json @@ -0,0 +1,25 @@ +{ + "parameters": { + "name": "examplekenv", + "api-version": "2025-03-01", + "extendedLocation": { + "name": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/examplerg/providers/Microsoft.ExtendedLocation/customLocations/testcustomlocation", + "type": "customLocation" + }, + "kind": "kubernetes", + "location": "East US", + "resourceGroupName": "examplerg", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/examplerg/providers/Microsoft.Web/kubeEnvironments/operationresults?api-version=2025-03-01" + } + }, + "204": {} + }, + "operationId": "KubeEnvironments_Delete", + "title": "Delete kube environment by name" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/KubeEnvironments_Get.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/KubeEnvironments_Get.json new file mode 100644 index 000000000000..c4e3ffd46e9d --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/KubeEnvironments_Get.json @@ -0,0 +1,40 @@ +{ + "parameters": { + "name": "jlaw-demo1", + "api-version": "2025-03-01", + "extendedLocation": { + "name": "/subscriptions/8efdecc5-919e-44eb-b179-915dca89ebf9/resourceGroups/examplerg/providers/Microsoft.ExtendedLocation/customLocations/testcustomlocation", + "type": "customLocation" + }, + "location": "North Central US", + "resourceGroupName": "examplerg", + "subscriptionId": "8efdecc5-919e-44eb-b179-915dca89ebf9" + }, + "responses": { + "200": { + "body": { + "name": "jlaw-demo1", + "type": "Microsoft.Web/kubeEnvironments", + "extendedLocation": { + "name": "/subscriptions/8efdecc5-919e-44eb-b179-915dca89ebf9/resourceGroups/examplerg/providers/Microsoft.ExtendedLocation/customLocations/testcustomlocation", + "type": "customLocation" + }, + "id": "/subscriptions/8efdecc5-919e-44eb-b179-915dca89ebf9/resourceGroups/examplerg/providers/Microsoft.Web/kubeEnvironments/jlaw-demo1", + "location": "North Central US", + "properties": { + "aksResourceID": "/subscriptions/8efdecc5-919e-44eb-b179-915dca89ebf9/resourceGroups/examplerg/providers/Microsoft.ContainerService/managedClusters/jlaw-demo1", + "appLogsConfiguration": null, + "arcConfiguration": null, + "defaultDomain": "jlaw-demo1.k4apps.io", + "deploymentErrors": null, + "internalLoadBalancerEnabled": false, + "provisioningState": "Succeeded", + "staticIp": "20.42.33.145" + }, + "tags": {} + } + } + }, + "operationId": "KubeEnvironments_Get", + "title": "Get kube environments by name" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/KubeEnvironments_ListByResourceGroup.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/KubeEnvironments_ListByResourceGroup.json new file mode 100644 index 000000000000..2765d815b2a0 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/KubeEnvironments_ListByResourceGroup.json @@ -0,0 +1,58 @@ +{ + "parameters": { + "name": "Samplek8se", + "api-version": "2025-03-01", + "resourceGroupName": "examplerg", + "subscriptionId": "8efdecc5-919e-44eb-b179-915dca89ebf9" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "jlaw-demo1", + "type": "Microsoft.Web/kubeEnvironments", + "extendedLocation": { + "name": "/subscriptions/8efdecc5-919e-44eb-b179-915dca89ebf9/resourceGroups/examplerg/providers/Microsoft.ExtendedLocation/customLocations/testcustomlocation", + "type": "customLocation" + }, + "id": "/subscriptions/8efdecc5-919e-44eb-b179-915dca89ebf9/resourceGroups/examplerg/providers/Microsoft.Web/kubeEnvironments/jlaw-demo1", + "location": "North Central US", + "properties": { + "appLogsConfiguration": null, + "arcConfiguration": null, + "defaultDomain": "jlaw-demo1.k4apps.io", + "deploymentErrors": null, + "internalLoadBalancerEnabled": false, + "provisioningState": "Succeeded", + "staticIp": "20.42.33.145" + }, + "tags": {} + }, + { + "name": "demo1", + "type": "Microsoft.Web/kubeEnvironments", + "extendedLocation": { + "name": "/subscriptions/8efdecc5-919e-44eb-b179-915dca89ebf9/resourceGroups/examplerg/providers/Microsoft.ExtendedLocation/customLocations/testcustomlocation", + "type": "customLocation" + }, + "id": "/subscriptions/8efdecc5-919e-44eb-b179-915dca89ebf9/resourceGroups/examplerg/providers/Microsoft.Web/kubeEnvironments/demo1", + "location": "North Central US", + "properties": { + "appLogsConfiguration": null, + "arcConfiguration": null, + "defaultDomain": "demo1.k4apps.io", + "deploymentErrors": null, + "internalLoadBalancerEnabled": false, + "provisioningState": "Succeeded", + "staticIp": "52.142.21.61" + }, + "tags": {} + } + ] + } + } + }, + "operationId": "KubeEnvironments_ListByResourceGroup", + "title": "List kube environments by resource group" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/KubeEnvironments_ListBySubscription.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/KubeEnvironments_ListBySubscription.json new file mode 100644 index 000000000000..492b6189c27b --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/KubeEnvironments_ListBySubscription.json @@ -0,0 +1,50 @@ +{ + "parameters": { + "name": "examplekenv", + "api-version": "2025-03-01", + "resourceGroupName": "examplerg", + "subscriptionId": "8efdecc5-919e-44eb-b179-915dca89ebf9" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "jlaw-demo1", + "type": "Microsoft.Web/kubeEnvironments", + "id": "/subscriptions/8efdecc5-919e-44eb-b179-915dca89ebf9/resourceGroups/examplerg/providers/Microsoft.Web/kubeEnvironments/jlaw-demo1", + "location": "North Central US", + "properties": { + "appLogsConfiguration": null, + "arcConfiguration": null, + "defaultDomain": "jlaw-demo1.k4apps.io", + "deploymentErrors": null, + "internalLoadBalancerEnabled": false, + "provisioningState": "Succeeded", + "staticIp": "20.42.33.145" + }, + "tags": {} + }, + { + "name": "demo1", + "type": "Microsoft.Web/kubeEnvironments", + "id": "/subscriptions/8efdecc5-919e-44eb-b179-915dca89ebf9/resourceGroups/DemoRG/providers/Microsoft.Web/kubeEnvironments/demo1", + "location": "North Central US", + "properties": { + "appLogsConfiguration": null, + "arcConfiguration": null, + "defaultDomain": "demo1.k4apps.io", + "deploymentErrors": null, + "internalLoadBalancerEnabled": false, + "provisioningState": "Succeeded", + "staticIp": "52.142.21.61" + }, + "tags": {} + } + ] + } + } + }, + "operationId": "KubeEnvironments_ListBySubscription", + "title": "List kube environments by subscription" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/KubeEnvironments_Update.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/KubeEnvironments_Update.json new file mode 100644 index 000000000000..2befad91db61 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/KubeEnvironments_Update.json @@ -0,0 +1,69 @@ +{ + "parameters": { + "name": "testkubeenv", + "api-version": "2025-03-01", + "extendedLocation": { + "name": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/examplerg/providers/Microsoft.ExtendedLocation/customLocations/testcustomlocation", + "type": "customLocation" + }, + "kind": "kubernetes", + "kubeEnvironmentEnvelope": { + "properties": { + "staticIp": "1.2.3.4" + } + }, + "location": "East US", + "resourceGroupName": "examplerg", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": { + "name": "testkubeenv", + "type": "Microsoft.Web/kubeEnvironments", + "extendedLocation": { + "name": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/examplerg/providers/Microsoft.ExtendedLocation/customLocations/testcustomlocation", + "type": "customLocation" + }, + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/examplerg/providers/Microsoft.Web/kubeEnvironments/testkubeenv", + "location": "East US", + "properties": { + "aksResourceID": "test", + "appLogsConfiguration": null, + "arcConfiguration": null, + "defaultDomain": "testkubeenv.k4apps.io", + "deploymentErrors": null, + "internalLoadBalancerEnabled": false, + "provisioningState": "Succeeded", + "staticIp": "1.2.3.4" + }, + "tags": {} + } + }, + "201": { + "body": { + "name": "testkubeenv", + "type": "Microsoft.Web/kubeEnvironments", + "extendedLocation": { + "name": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/examplerg/providers/Microsoft.ExtendedLocation/customLocations/testcustomlocation", + "type": "customLocation" + }, + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/examplerg/providers/Microsoft.Web/kubeEnvironments/testkubeenv", + "location": "East US", + "properties": { + "aksResourceID": "test", + "appLogsConfiguration": null, + "arcConfiguration": null, + "defaultDomain": "testkubeenv.k4apps.io", + "deploymentErrors": null, + "internalLoadBalancerEnabled": false, + "provisioningState": "InitializationInProgress", + "staticIp": "1.2.3.4" + }, + "tags": {} + } + } + }, + "operationId": "KubeEnvironments_Update", + "title": "Update kube environments" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/LinkBackendToStaticSite.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/LinkBackendToStaticSite.json new file mode 100644 index 000000000000..55f5c21694c1 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/LinkBackendToStaticSite.json @@ -0,0 +1,33 @@ +{ + "parameters": { + "name": "testStaticSite0", + "api-version": "2025-03-01", + "linkedBackendName": "testBackend", + "resourceGroupName": "rg", + "staticSiteLinkedBackendEnvelope": { + "properties": { + "backendResourceId": "/subscription/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/backendRg/providers/Microsoft.Web/sites/testBackend", + "region": "West US 2" + } + }, + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": { + "name": "testBackend", + "type": "Microsoft.Web/staticSites/builds/linkedBackends", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/staticSites/testStaticSite0/builds/default/linkedBackends/testBackend", + "properties": { + "backendResourceId": "/subscription/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/backendRg/providers/Microsoft.Web/sites/testBackend", + "createdOn": "2021-12-24T17:33:11.641Z", + "provisioningState": "Succeeded", + "region": "West US 2" + } + }, + "headers": {} + } + }, + "operationId": "StaticSites_LinkBackend", + "title": "Link a backend to a static site" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/LinkBackendToStaticSiteBuild.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/LinkBackendToStaticSiteBuild.json new file mode 100644 index 000000000000..afe418c39fc6 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/LinkBackendToStaticSiteBuild.json @@ -0,0 +1,34 @@ +{ + "parameters": { + "name": "testStaticSite0", + "api-version": "2025-03-01", + "environmentName": "default", + "linkedBackendName": "testBackend", + "resourceGroupName": "rg", + "staticSiteLinkedBackendEnvelope": { + "properties": { + "backendResourceId": "/subscription/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/backendRg/providers/Microsoft.Web/sites/testBackend", + "region": "West US 2" + } + }, + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": { + "name": "testBackend", + "type": "Microsoft.Web/staticSites/builds/linkedBackends", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/staticSites/testStaticSite0/builds/default/linkedBackends/testBackend", + "properties": { + "backendResourceId": "/subscription/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/backendRg/providers/Microsoft.Web/sites/testBackend", + "createdOn": "2021-12-24T17:33:11.641Z", + "provisioningState": "Succeeded", + "region": "West US 2" + } + }, + "headers": {} + } + }, + "operationId": "StaticSites_LinkBackendToBuild", + "title": "Link a backend to a static site build" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/ListAppServicePlans.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/ListAppServicePlans.json new file mode 100644 index 000000000000..af4801d15175 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/ListAppServicePlans.json @@ -0,0 +1,69 @@ +{ + "parameters": { + "api-version": "2025-03-01", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "testsf6141", + "type": "Microsoft.Web/serverfarms", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/serverfarms/testsf6141", + "kind": "app", + "location": "East US", + "properties": { + "geoRegion": "East US", + "isSpot": false, + "maximumNumberOfWorkers": 20, + "numberOfSites": 4, + "numberOfWorkers": 19, + "provisioningState": "Succeeded", + "reserved": false, + "status": "Ready", + "targetWorkerCount": 0, + "targetWorkerSizeId": 0 + }, + "sku": { + "name": "P1", + "capacity": 1, + "family": "P", + "size": "P1", + "tier": "Premium" + } + }, + { + "name": "testsf7252", + "type": "Microsoft.Web/serverfarms", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/serverfarms/testsf7252", + "kind": "app", + "location": "East US", + "properties": { + "geoRegion": "East US", + "isSpot": false, + "maximumNumberOfWorkers": 20, + "numberOfSites": 4, + "numberOfWorkers": 19, + "provisioningState": "Succeeded", + "reserved": false, + "status": "Ready", + "targetWorkerCount": 0, + "targetWorkerSizeId": 0 + }, + "sku": { + "name": "P1", + "capacity": 1, + "family": "P", + "size": "P1", + "tier": "Premium" + } + } + ] + }, + "headers": {} + } + }, + "operationId": "AppServicePlans_List", + "title": "List App Service plans" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/ListAppServicePlansByResourceGroup.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/ListAppServicePlansByResourceGroup.json new file mode 100644 index 000000000000..cfdd1d47809f --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/ListAppServicePlansByResourceGroup.json @@ -0,0 +1,70 @@ +{ + "parameters": { + "api-version": "2025-03-01", + "resourceGroupName": "testrg123", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "testsf6141", + "type": "Microsoft.Web/serverfarms", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/serverfarms/testsf6141", + "kind": "app", + "location": "East US", + "properties": { + "geoRegion": "East US", + "isSpot": false, + "maximumNumberOfWorkers": 20, + "numberOfSites": 4, + "numberOfWorkers": 19, + "provisioningState": "Succeeded", + "reserved": false, + "status": "Ready", + "targetWorkerCount": 0, + "targetWorkerSizeId": 0 + }, + "sku": { + "name": "P1", + "capacity": 1, + "family": "P", + "size": "P1", + "tier": "Premium" + } + }, + { + "name": "testsf7252", + "type": "Microsoft.Web/serverfarms", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/serverfarms/testsf7252", + "kind": "app", + "location": "East US", + "properties": { + "geoRegion": "East US", + "isSpot": false, + "maximumNumberOfWorkers": 20, + "numberOfSites": 4, + "numberOfWorkers": 19, + "provisioningState": "Succeeded", + "reserved": false, + "status": "Ready", + "targetWorkerCount": 0, + "targetWorkerSizeId": 0 + }, + "sku": { + "name": "P1", + "capacity": 1, + "family": "P", + "size": "P1", + "tier": "Premium" + } + } + ] + }, + "headers": {} + } + }, + "operationId": "AppServicePlans_ListByResourceGroup", + "title": "List App Service plans by resource group" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/ListAppSettings.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/ListAppSettings.json new file mode 100644 index 000000000000..e160e5809457 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/ListAppSettings.json @@ -0,0 +1,25 @@ +{ + "parameters": { + "name": "sitef6141", + "api-version": "2025-03-01", + "resourceGroupName": "testrg123", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": { + "name": "appsettings", + "type": "Microsoft.Web/sites/config", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/sitef6141/config/appsettings", + "kind": "app", + "properties": { + "Setting1": "Value1", + "Setting2": "Value2" + } + }, + "headers": {} + } + }, + "operationId": "WebApps_ListApplicationSettings", + "title": "List App Settings" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/ListAseRegions.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/ListAseRegions.json new file mode 100644 index 000000000000..41cfe5a424f3 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/ListAseRegions.json @@ -0,0 +1,56 @@ +{ + "parameters": { + "api-version": "2025-03-01", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "type": "Microsoft.Web/aseRegions", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/providers/Microsoft.Web/aseRegions", + "properties": { + "availableOS": [ + "Windows", + "Linux", + "HyperV" + ], + "availableSku": [ + "I1v2", + "I2v2", + "I3v2" + ], + "dedicatedHost": true, + "displayName": "southcentralus", + "standard": true, + "zoneRedundant": true + } + }, + { + "type": "Microsoft.Web/aseRegions", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/providers/Microsoft.Web/aseRegions", + "properties": { + "availableOS": [ + "Windows", + "Linux" + ], + "availableSku": [ + "I1v4", + "I2v2", + "I3v2" + ], + "dedicatedHost": true, + "displayName": "northcentralus", + "standard": true, + "zoneRedundant": true + } + } + ] + }, + "headers": {} + } + }, + "operationId": "ListAseRegions", + "title": "List aseregions" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/ListAuthSettings.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/ListAuthSettings.json new file mode 100644 index 000000000000..280b37af9e50 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/ListAuthSettings.json @@ -0,0 +1,34 @@ +{ + "parameters": { + "name": "sitef6141", + "api-version": "2025-03-01", + "resourceGroupName": "testrg123", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": { + "name": "authsettings", + "type": "Microsoft.Web/sites/authsettings", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/sitef6141/config/authsettings", + "kind": "app", + "properties": { + "allowedExternalRedirectUrls": [ + "sitef6141.customdomain.net", + "sitef6141.customdomain.info" + ], + "clientId": "42d795a9-8abb-4d06-8534-39528af40f8e.apps.googleusercontent.com", + "defaultProvider": "Google", + "enabled": true, + "runtimeVersion": "~1", + "tokenRefreshExtensionHours": 120, + "tokenStoreEnabled": true, + "unauthenticatedClientAction": "RedirectToLoginPage" + } + }, + "headers": {} + } + }, + "operationId": "WebApps_GetAuthSettings", + "title": "List Auth Settings" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/ListAuthSettingsV2.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/ListAuthSettingsV2.json new file mode 100644 index 000000000000..011ef259daba --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/ListAuthSettingsV2.json @@ -0,0 +1,88 @@ +{ + "parameters": { + "name": "sitef6141", + "api-version": "2025-03-01", + "resourceGroupName": "testrg123", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": { + "name": "authsettingsv2", + "type": "Microsoft.Web/sites/authsettingsv2", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/sitef6141/config/authsettingsv2", + "kind": "app", + "properties": { + "globalValidation": { + "excludedPaths": [ + "/nosecrets/Path" + ], + "requireAuthentication": true, + "unauthenticatedClientAction": "Return403" + }, + "httpSettings": { + "forwardProxy": { + "convention": "Standard", + "customHostHeaderName": "authHeader", + "customProtoHeaderName": "customProtoHeader" + }, + "requireHttps": true, + "routes": { + "apiPrefix": "/authv2/" + } + }, + "identityProviders": { + "google": { + "enabled": true, + "login": { + "scopes": [ + "admin" + ] + }, + "registration": { + "clientId": "42d795a9-8abb-4d06-8534-39528af40f8e.apps.googleusercontent.com", + "clientSecretSettingName": "ClientSecret" + }, + "validation": { + "allowedAudiences": [ + "https://example.com" + ] + } + } + }, + "login": { + "allowedExternalRedirectUrls": [ + "https://someurl.com" + ], + "cookieExpiration": { + "convention": "IdentityProviderDerived", + "timeToExpiration": "2022:09-01T00:00Z" + }, + "nonce": { + "validateNonce": true + }, + "preserveUrlFragmentsForLogins": true, + "routes": { + "logoutEndpoint": "https://app.com/logout" + }, + "tokenStore": { + "enabled": true, + "fileSystem": { + "directory": "/wwwroot/sites/example" + }, + "tokenRefreshExtensionHours": 96 + } + }, + "platform": { + "configFilePath": "/auth/config.json", + "enabled": true, + "runtimeVersion": "~1" + } + } + }, + "headers": {} + } + }, + "operationId": "WebApps_GetAuthSettingsV2", + "title": "List Auth Settings V2" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/ListCertificates.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/ListCertificates.json new file mode 100644 index 000000000000..51354729f635 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/ListCertificates.json @@ -0,0 +1,51 @@ +{ + "parameters": { + "api-version": "2025-03-01", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "testc6282", + "type": "Microsoft.Web/certificates", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/certificates/testc6282", + "location": "East US", + "properties": { + "expirationDate": "2039-12-31T23:59:59+00:00", + "friendlyName": "", + "hostNames": [ + "ServerCert" + ], + "issueDate": "2015-11-12T23:40:25+00:00", + "issuer": "CACert", + "subjectName": "ServerCert", + "thumbprint": "FE703D7411A44163B6D32B3AD9B03E175886EBFE" + } + }, + { + "name": "testc4912", + "type": "Microsoft.Web/certificates", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/certificates/testc4912", + "location": "West US", + "properties": { + "expirationDate": "2040-12-31T23:59:59+00:00", + "friendlyName": "", + "hostNames": [ + "ServerCert2" + ], + "issueDate": "2015-12-12T23:40:25+00:00", + "issuer": "CACert", + "subjectName": "ServerCert2", + "thumbprint": "FE703D7411A44163B6D32B3AD9B0490D5886EBFE" + } + } + ] + }, + "headers": {} + } + }, + "operationId": "Certificates_List", + "title": "List Certificates for subscription" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/ListCertificatesByResourceGroup.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/ListCertificatesByResourceGroup.json new file mode 100644 index 000000000000..1145066d9a38 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/ListCertificatesByResourceGroup.json @@ -0,0 +1,52 @@ +{ + "parameters": { + "api-version": "2025-03-01", + "resourceGroupName": "testrg123", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "testc6282", + "type": "Microsoft.Web/certificates", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/certificates/testc6282", + "location": "East US", + "properties": { + "expirationDate": "2039-12-31T23:59:59+00:00", + "friendlyName": "", + "hostNames": [ + "ServerCert" + ], + "issueDate": "2015-11-12T23:40:25+00:00", + "issuer": "CACert", + "subjectName": "ServerCert", + "thumbprint": "FE703D7411A44163B6D32B3AD9B03E175886EBFE" + } + }, + { + "name": "testc4912", + "type": "Microsoft.Web/certificates", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/certificates/testc4912", + "location": "West US", + "properties": { + "expirationDate": "2040-12-31T23:59:59+00:00", + "friendlyName": "", + "hostNames": [ + "ServerCert2" + ], + "issueDate": "2015-12-12T23:40:25+00:00", + "issuer": "CACert", + "subjectName": "ServerCert2", + "thumbprint": "FE703D7411A44163B6D32B3AD9B0490D5886EBFE" + } + } + ] + }, + "headers": {} + } + }, + "operationId": "Certificates_ListByResourceGroup", + "title": "List Certificates by resource group" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/ListCustomHostNameSites.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/ListCustomHostNameSites.json new file mode 100644 index 000000000000..0afce067683c --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/ListCustomHostNameSites.json @@ -0,0 +1,52 @@ +{ + "parameters": { + "api-version": "2025-03-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "nextLink": null, + "value": [ + { + "name": "mywebapp.azurewebsites.net", + "type": "Microsoft.Web/customhostnameSites", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Web/customhostnameSites/mywebapp.azurewebsites.net", + "properties": { + "customHostname": "mywebapp.azurewebsites.net", + "region": "West US", + "siteResourceIds": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/westus-rg/providers/Microsoft.Web/sites/mywebapp" + } + ] + } + }, + { + "name": "www.example.com", + "type": "Microsoft.Web/customhostnameSites", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Web/customhostnameSites/www.example.com", + "properties": { + "customHostname": "www.example.com", + "region": "West US 2", + "siteResourceIds": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/westus2-rg/providers/Microsoft.Web/sites/westus2app1" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/westus2-rg/providers/Microsoft.Web/sites/westus2app2" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/westus2-rg/providers/Microsoft.Web/sites/westus2app3" + } + ] + } + } + ] + }, + "headers": {} + } + }, + "operationId": "ListCustomHostNameSites", + "title": "Get custom hostnames under subscription" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/ListCustomSpecificHostNameSites.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/ListCustomSpecificHostNameSites.json new file mode 100644 index 000000000000..582287624268 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/ListCustomSpecificHostNameSites.json @@ -0,0 +1,39 @@ +{ + "parameters": { + "api-version": "2025-03-01", + "hostname": "www.example.com", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "nextLink": null, + "value": [ + { + "name": "www.example.com", + "type": "Microsoft.Web/customhostnameSites", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Web/customhostnameSites/www.example.com", + "properties": { + "customHostname": "www.example.com", + "region": "West US 2", + "siteResourceIds": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/westus2-rg/providers/Microsoft.Web/sites/westus2app1" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/westus2-rg/providers/Microsoft.Web/sites/westus2app2" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/westus2-rg/providers/Microsoft.Web/sites/westus2app3" + } + ] + } + } + ] + }, + "headers": {} + } + }, + "operationId": "ListCustomHostNameSites", + "title": "Get specific custom hostname under subscription" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/ListDeletedWebAppsByLocation.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/ListDeletedWebAppsByLocation.json new file mode 100644 index 000000000000..90da67028052 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/ListDeletedWebAppsByLocation.json @@ -0,0 +1,34 @@ +{ + "parameters": { + "api-version": "2025-03-01", + "location": "West US 2", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": { + "nextLink": null, + "value": [ + { + "name": "wussite6", + "type": "Microsoft.Web/locations/deletedSites", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg1/providers/Microsoft.Web/locations/West US 2/deletedwebapps/wussite6", + "properties": { + "deletedSiteId": 9, + "deletedSiteName": "wussite6", + "deletedTimestamp": "2019-05-09T22:29:05.1337007", + "geoRegionName": "West US 2", + "kind": "app", + "resourceGroup": "rg1", + "slot": "Production", + "subscription": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + } + } + ] + }, + "headers": {} + } + }, + "operationId": "DeletedWebApps_ListByLocation", + "title": "List Deleted Web App by Location" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/ListOperations.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/ListOperations.json new file mode 100644 index 000000000000..3ec3331f59a0 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/ListOperations.json @@ -0,0 +1,5843 @@ +{ + "parameters": { + "api-version": "2025-03-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "Microsoft.Web/sites/Read", + "display": { + "description": "Get the properties of a Web App", + "operation": "Get Web App", + "provider": "Microsoft Web Apps", + "resource": "Web App" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.Web/sites/Write", + "display": { + "description": "Create a new Web App or update an existing one", + "operation": "Create or Update Web App", + "provider": "Microsoft Web Apps", + "resource": "Web App" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.Web/sites/slots/Write", + "display": { + "description": "Create a new Web App Slot or update an existing one", + "operation": "Create or Update Web App Slot", + "provider": "Microsoft Web Apps", + "resource": "Web App Slot" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.Web/sites/Delete", + "display": { + "description": "Delete an existing Web App", + "operation": "Delete Web App", + "provider": "Microsoft Web Apps", + "resource": "Web App" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.Web/sites/slots/Delete", + "display": { + "description": "Delete an existing Web App Slot", + "operation": "Delete Web App Slot", + "provider": "Microsoft Web Apps", + "resource": "Web App Slot" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.Web/sites/slots/config/Read", + "display": { + "description": "Get Web App Slot's configuration settings", + "operation": "Get Web App Slot Configuration", + "provider": "Microsoft Web Apps", + "resource": "Web App Slot" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.Web/sites/config/Read", + "display": { + "description": "Get Web App configuration settings", + "operation": "Get Web App Configuration", + "provider": "Microsoft Web Apps", + "resource": "Web App" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.Web/sites/config/list/Action", + "display": { + "description": "List Web App's security sensitive settings, such as publishing credentials, app settings and connection strings", + "operation": "List Web App Security Sensitive Settings", + "provider": "Microsoft Web Apps", + "resource": "Web App" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.Web/sites/slots/config/list/Action", + "display": { + "description": "List Web App Slot's security sensitive settings, such as publishing credentials, app settings and connection strings", + "operation": "List Web App Slot Security Sensitive Settings", + "provider": "Microsoft Web Apps", + "resource": "Web App Slot" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.Web/sites/config/Write", + "display": { + "description": "Update Web App's configuration settings", + "operation": "Update Web App Configuration", + "provider": "Microsoft Web Apps", + "resource": "Web App" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.Web/sites/slots/config/Write", + "display": { + "description": "Update Web App Slot's configuration settings", + "operation": "Update Web App Slot Configuration", + "provider": "Microsoft Web Apps", + "resource": "Web App Slot" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.Web/sites/sourcecontrols/Read", + "display": { + "description": "Get Web App's source control configuration settings", + "operation": "Get Web App Source Control Configuration", + "provider": "Microsoft Web Apps", + "resource": "Web App" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.Web/sites/slots/sourcecontrols/Read", + "display": { + "description": "Get Web App Slot's source control configuration settings", + "operation": "Get Web App Slot Source Control Configuration", + "provider": "Microsoft Web Apps", + "resource": "Web App Slot" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.Web/sites/sourcecontrols/Write", + "display": { + "description": "Update Web App's source control configuration settings", + "operation": "Update Web App Source Control Configuration", + "provider": "Microsoft Web Apps", + "resource": "Web App" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.Web/sites/slots/sourcecontrols/Write", + "display": { + "description": "Update Web App Slot's source control configuration settings", + "operation": "Update Web App Slot Source Control Configuration", + "provider": "Microsoft Web Apps", + "resource": "Web App Slot" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.Web/sites/sourcecontrols/Delete", + "display": { + "description": "Delete Web App's source control configuration settings", + "operation": "Delete Web App Source Control Configuration", + "provider": "Microsoft Web Apps", + "resource": "Web App" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.Web/sites/slots/sourcecontrols/Delete", + "display": { + "description": "Delete Web App Slot's source control configuration settings", + "operation": "Delete Web App Slot Source Control Configuration", + "provider": "Microsoft Web Apps", + "resource": "Web App Slot" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.Web/sites/backup/Action", + "display": { + "description": "Create a new web app backup", + "operation": "Create Web App Backup", + "provider": "Microsoft Web Apps", + "resource": "Web App" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.Web/sites/slots/backup/Action", + "display": { + "description": "Create new Web App Slot backup.", + "operation": "Create Web App Slot Backup", + "provider": "Microsoft Web Apps", + "resource": "Web App Slot" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.Web/sites/backups/Read", + "display": { + "description": "Get the properties of a web app's backup", + "operation": "Get Web App Backup", + "provider": "Microsoft Web Apps", + "resource": "Web App" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.Web/sites/slots/backups/Read", + "display": { + "description": "Get the properties of a web app slots' backup", + "operation": "List Web App Slot Backups", + "provider": "Microsoft Web Apps", + "resource": "Web App Slot" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.Web/sites/publishxml/Action", + "display": { + "description": "Get publishing profile xml for a Web App", + "operation": "Get Web App Publishing Profile", + "provider": "Microsoft Web Apps", + "resource": "Web App" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.Web/sites/slots/publishxml/Action", + "display": { + "description": "Get publishing profile xml for Web App Slot", + "operation": "Get Web App Slot Publishing Profile", + "provider": "Microsoft Web Apps", + "resource": "Web App Slot" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.Web/sites/publish/Action", + "display": { + "description": "Publish a Web App", + "operation": "Publish Web App", + "provider": "Microsoft Web Apps", + "resource": "Web App" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.Web/sites/slots/publish/Action", + "display": { + "description": "Publish a Web App Slot", + "operation": "Publish Web App Slot", + "provider": "Microsoft Web Apps", + "resource": "Web App Slot" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.Web/sites/restart/Action", + "display": { + "description": "Restart a Web App", + "operation": "Restart Web App", + "provider": "Microsoft Web Apps", + "resource": "Web App" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.Web/sites/slots/restart/Action", + "display": { + "description": "Restart a Web App Slot", + "operation": "Restart Web App Slot", + "provider": "Microsoft Web Apps", + "resource": "Web App Slot" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.Web/sites/start/Action", + "display": { + "description": "Start a Web App", + "operation": "Start Web App", + "provider": "Microsoft Web Apps", + "resource": "Web App" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.Web/sites/slots/start/Action", + "display": { + "description": "Start a Web App Slot", + "operation": "Start Web App Slot", + "provider": "Microsoft Web Apps", + "resource": "Web App Slot" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.Web/sites/stop/Action", + "display": { + "description": "Stop a Web App", + "operation": "Stop Web App", + "provider": "Microsoft Web Apps", + "resource": "Web App" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.Web/sites/slots/stop/Action", + "display": { + "description": "Stop a Web App Slot", + "operation": "Stop Web App Slot", + "provider": "Microsoft Web Apps", + "resource": "Web App Slot" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.Web/sites/slotsswap/Action", + "display": { + "description": "Swap Web App deployment slots", + "operation": "Swap Web App Slots", + "provider": "Microsoft Web Apps", + "resource": "Web App" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.Web/sites/slots/slotsswap/Action", + "display": { + "description": "Swap Web App deployment slots", + "operation": "Swap Web App Slots", + "provider": "Microsoft Web Apps", + "resource": "Web App Slot" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.Web/sites/slotsdiffs/Action", + "display": { + "description": "Get differences in configuration between web app and slots", + "operation": "Get Web App Slots Differences", + "provider": "Microsoft Web Apps", + "resource": "Web App" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.Web/sites/slots/slotsdiffs/Action", + "display": { + "description": "Get differences in configuration between web app and slots", + "operation": "Get Web App Slots Differences", + "provider": "Microsoft Web Apps", + "resource": "Web App Slot" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.Web/sites/applySlotConfig/Action", + "display": { + "description": "Apply web app slot configuration from target slot to the current web app", + "operation": "Apply Web App Configuration", + "provider": "Microsoft Web Apps", + "resource": "Web App" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.Web/sites/slots/applySlotConfig/Action", + "display": { + "description": "Apply web app slot configuration from target slot to the current slot.", + "operation": "Apply Web App Slot Configuration", + "provider": "Microsoft Web Apps", + "resource": "Web App Slot" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.Web/sites/resetSlotConfig/Action", + "display": { + "description": "Reset web app configuration", + "operation": "Reset Web App Configuration", + "provider": "Microsoft Web Apps", + "resource": "Web App" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.Web/sites/slots/resetSlotConfig/Action", + "display": { + "description": "Reset web app slot configuration", + "operation": "Reset Web App Slot Configuration", + "provider": "Microsoft Web Apps", + "resource": "Web App Slot" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.Web/sites/slots/Read", + "display": { + "description": "Get the properties of a Web App deployment slot", + "operation": "Get Web App Deployment Slot", + "provider": "Microsoft Web Apps", + "resource": "Web App Slot" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.Web/serverfarms/Read", + "display": { + "description": "Get the properties on an App Service Plan", + "operation": "Get App Service Plan", + "provider": "Microsoft Web Apps", + "resource": "App Service Plan" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.Web/serverfarms/Write", + "display": { + "description": "Create a new App Service Plan or update an existing one", + "operation": "Create or Update App Service Plan", + "provider": "Microsoft Web Apps", + "resource": "App Service Plan" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.Web/serverfarms/Delete", + "display": { + "description": "Delete an existing App Service Plan", + "operation": "Delete App Service Plan", + "provider": "Microsoft Web Apps", + "resource": "App Service Plan" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.Web/serverfarms/restartSites/Action", + "display": { + "description": "Restart all Web Apps in an App Service Plan", + "operation": "Restart Web Apps", + "provider": "Microsoft Web Apps", + "resource": "App Service Plan" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.Web/certificates/Read", + "display": { + "description": "Get the list of certificates.", + "operation": "Get Certificates", + "provider": "Microsoft Web Apps", + "resource": "Certificate" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.Web/certificates/Write", + "display": { + "description": "Add a new certificate or update an existing one.", + "operation": "Add or Update Certificate", + "provider": "Microsoft Web Apps", + "resource": "Certificate" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.Web/certificates/Delete", + "display": { + "description": "Delete an existing certificate.", + "operation": "Delete Certificate", + "provider": "Microsoft Web Apps", + "resource": "Certificate" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.Web/aseRegions/Read", + "display": { + "description": "Get the list of ASE regions.", + "operation": "Get ASE Regions", + "provider": "Microsoft Web Apps", + "resource": "ASE Region" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.Web/geoRegions/Read", + "display": { + "description": "Get the list of Geo regions.", + "operation": "Get Geo Regions", + "provider": "Microsoft Web Apps", + "resource": "Geo Region" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.Web/listSitesAssignedToHostName/Read", + "display": { + "description": "Get names of sites assigned to hostname.", + "operation": "Get sites assigned to hostname", + "provider": "Microsoft Web Apps", + "resource": "Site Name" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.Web/hostingEnvironments/Read", + "display": { + "description": "Get the properties of an App Service Environment", + "operation": "Get App Service Environment", + "provider": "Microsoft Web Apps", + "resource": "App Service Environment" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.Web/hostingEnvironments/Write", + "display": { + "description": "Create a new App Service Environment or update existing one", + "operation": "Create or Update App Service Environment", + "provider": "Microsoft Web Apps", + "resource": "App Service Environment" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.Web/hostingEnvironments/Delete", + "display": { + "description": "Delete an App Service Environment", + "operation": "Delete App Service Environment", + "provider": "Microsoft Web Apps", + "resource": "App Service Environment" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.Web/hostingEnvironments/reboot/Action", + "display": { + "description": "Reboot all machines in an App Service Environment", + "operation": "Reboot an App Service Environment", + "provider": "Microsoft Web Apps", + "resource": "App Service Environment" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.Web/hostingEnvironments/multiRolePools/Read", + "display": { + "description": "Get the properties of a FrontEnd Pool in an App Service Environment", + "operation": "Get FrontEnd Pool", + "provider": "Microsoft Web Apps", + "resource": "App Service Environment FrontEnd Pool" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.Web/hostingEnvironments/multiRolePools/Write", + "display": { + "description": "Create a new FrontEnd Pool in an App Service Environment or update an existing one", + "operation": "Create or Update FrontEnd Pool", + "provider": "Microsoft Web Apps", + "resource": "App Service Environment FrontEnd Pool" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.Web/hostingEnvironments/workerPools/Read", + "display": { + "description": "Get the properties of a Worker Pool in an App Service Environment", + "operation": "Get Worker Pool", + "provider": "Microsoft Web Apps", + "resource": "App Service Environment Worker Pool" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.Web/hostingEnvironments/workerPools/Write", + "display": { + "description": "Create a new Worker Pool in an App Service Environment or update an existing one", + "operation": "Create or Update Worker Pool", + "provider": "Microsoft Web Apps", + "resource": "App Service Environment Worker Pool" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.Web/connections/Read", + "display": { + "description": "Get the list of Connections.", + "operation": "Get Connections", + "provider": "Microsoft Web Apps", + "resource": "Connections" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.Web/connections/Write", + "display": { + "description": "Creates or updates a Connection.", + "operation": "Add or Update Connection", + "provider": "Microsoft Web Apps", + "resource": "Connections" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.Web/connections/Delete", + "display": { + "description": "Deletes a Connection.", + "operation": "Delete Connection", + "provider": "Microsoft Web Apps", + "resource": "Connections" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.Web/connections/Join/Action", + "display": { + "description": "Joins a Connection.", + "operation": "Join Connection", + "provider": "Microsoft Web Apps", + "resource": "Connections" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.Web/connectionGateways/Read", + "display": { + "description": "Get the list of Connection Gateways.", + "operation": "Get Connection Gateways", + "provider": "Microsoft Web Apps", + "resource": "Connection Gateways" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.Web/connectionGateways/Write", + "display": { + "description": "Creates or updates a Connection Gateway.", + "operation": "Add or Update Connection Gateways", + "provider": "Microsoft Web Apps", + "resource": "Connection Gateways" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.Web/connectionGateways/Delete", + "display": { + "description": "Deletes a Connection Gateway.", + "operation": "Delete Connection Gateway", + "provider": "Microsoft Web Apps", + "resource": "Connection Gateways" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.Web/connectionGateways/Join/Action", + "display": { + "description": "Joins a Connection Gateway.", + "operation": "Join Connection Gateway", + "provider": "Microsoft Web Apps", + "resource": "Connection Gateways" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.Web/recommendations/Read", + "display": { + "description": "Get the list of recommendations for subscriptions.", + "operation": "Get recommendations", + "provider": "Microsoft Web Apps", + "resource": "Recommendation" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.Web/sites/recommendations/Read", + "display": { + "description": "Get the list of recommendations for web app.", + "operation": "Get recommendations for web app", + "provider": "Microsoft Web Apps", + "resource": "Recommendation" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/availablestacks/read", + "display": { + "description": "Get Available Stacks.", + "operation": "Get Available Stacks", + "provider": "Microsoft Web Apps", + "resource": "Available Stacks" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/functionappstacks/read", + "display": { + "description": "Get Function App Stacks.", + "operation": "Get Function App Stacks", + "provider": "Microsoft Web Apps", + "resource": "Function App Stacks" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/webappstacks/read", + "display": { + "description": "Get Web App Stacks.", + "operation": "Get Web App Stacks", + "provider": "Microsoft Web Apps", + "resource": "Web App Stacks" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/checknameavailability/read", + "display": { + "description": "Check if resource name is available.", + "operation": "Get Check Name Availability", + "provider": "Microsoft Web Apps", + "resource": "Check Name Availability" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/locations/checknameavailability/read", + "display": { + "description": "Check if resource name is available for DNL apps.", + "operation": "Get Check Name Availability", + "provider": "Microsoft Web Apps", + "resource": "DNL Check Name Availability" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/classicmobileservices/read", + "display": { + "description": "Get Classic Mobile Services.", + "operation": "Get Classic Mobile Services", + "provider": "Microsoft Web Apps", + "resource": "Classic Mobile Services" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/connections/confirmconsentcode/action", + "display": { + "description": "Confirm Connections Consent Code.", + "operation": "Confirm Connections Consent Code", + "provider": "Microsoft Web Apps", + "resource": "Connections" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/connections/listconsentlinks/action", + "display": { + "description": "List Consent Links for Connections.", + "operation": "List Consent Links for Connections", + "provider": "Microsoft Web Apps", + "resource": "Connections" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/deploymentlocations/read", + "display": { + "description": "Get Deployment Locations.", + "operation": "Get Deployment Locations", + "provider": "Microsoft Web Apps", + "resource": "Deployment Locations" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/hostingenvironments/capacities/read", + "display": { + "description": "Get Hosting Environments Capacities.", + "operation": "Get Hosting Environments Capacities", + "provider": "Microsoft Web Apps", + "resource": "Hosting Environments Capacities" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/hostingenvironments/diagnostics/read", + "display": { + "description": "Get Hosting Environments Diagnostics.", + "operation": "Get Hosting Environments Diagnostics", + "provider": "Microsoft Web Apps", + "resource": "Hosting Environments Diagnostics" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/hostingenvironments/metricdefinitions/read", + "display": { + "description": "Get Hosting Environments Metric Definitions.", + "operation": "Get Hosting Environments Metric Definitions", + "provider": "Microsoft Web Apps", + "resource": "Hosting Environments Metric Definitions" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/hostingenvironments/multirolepools/metricdefinitions/read", + "display": { + "description": "Get Hosting Environments MultiRole Pools Metric Definitions.", + "operation": "Get Hosting Environments MultiRole Pools Metric Definitions", + "provider": "Microsoft Web Apps", + "resource": "Hosting Environments MultiRole Pools Metric Definitions" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/hostingenvironments/multirolepools/metrics/read", + "display": { + "description": "Get Hosting Environments MultiRole Pools Metrics.", + "operation": "Get Hosting Environments MultiRole Pools Metrics", + "provider": "Microsoft Web Apps", + "resource": "Hosting Environments MultiRole Pools Metrics" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/hostingenvironments/multirolepools/skus/read", + "display": { + "description": "Get Hosting Environments MultiRole Pools SKUs.", + "operation": "Get Hosting Environments MultiRole Pools SKUs", + "provider": "Microsoft Web Apps", + "resource": "Hosting Environments MultiRole Pools SKUs" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/hostingenvironments/multirolepools/usages/read", + "display": { + "description": "Get Hosting Environments MultiRole Pools Usages.", + "operation": "Get Hosting Environments MultiRole Pools Usages", + "provider": "Microsoft Web Apps", + "resource": "Hosting Environments MultiRole Pools Usages" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/hostingenvironments/operations/read", + "display": { + "description": "Get Hosting Environments Operations.", + "operation": "Get Hosting Environments Operations", + "provider": "Microsoft Web Apps", + "resource": "Hosting Environments Operations" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/hostingenvironments/resume/action", + "display": { + "description": "Resume Hosting Environments.", + "operation": "Resume Hosting Environments", + "provider": "Microsoft Web Apps", + "resource": "Hosting Environments" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/hostingenvironments/serverfarms/read", + "display": { + "description": "Get Hosting Environments App Service Plans.", + "operation": "Get Hosting Environments App Service Plans", + "provider": "Microsoft Web Apps", + "resource": "Hosting Environments App Service Plans" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/hostingenvironments/sites/read", + "display": { + "description": "Get Hosting Environments Web Apps.", + "operation": "Get Hosting Environments Web Apps", + "provider": "Microsoft Web Apps", + "resource": "Hosting Environments Web Apps" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/hostingenvironments/suspend/action", + "display": { + "description": "Suspend Hosting Environments.", + "operation": "Suspend Hosting Environments", + "provider": "Microsoft Web Apps", + "resource": "Hosting Environments" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/hostingenvironments/usages/read", + "display": { + "description": "Get Hosting Environments Usages.", + "operation": "Get Hosting Environments Usages", + "provider": "Microsoft Web Apps", + "resource": "Hosting Environments Usages" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/hostingenvironments/workerpools/metricdefinitions/read", + "display": { + "description": "Get Hosting Environments Workerpools Metric Definitions.", + "operation": "Get Hosting Environments Workerpools Metric Definitions", + "provider": "Microsoft Web Apps", + "resource": "Hosting Environments Workerpools Metric Definitions" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/hostingenvironments/workerpools/metrics/read", + "display": { + "description": "Get Hosting Environments Workerpools Metrics.", + "operation": "Get Hosting Environments Workerpools Metrics", + "provider": "Microsoft Web Apps", + "resource": "Hosting Environments Workerpools Metrics" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/hostingenvironments/workerpools/skus/read", + "display": { + "description": "Get Hosting Environments Workerpools SKUs.", + "operation": "Get Hosting Environments Workerpools SKUs", + "provider": "Microsoft Web Apps", + "resource": "Hosting Environments Workerpools SKUs" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/hostingenvironments/workerpools/usages/read", + "display": { + "description": "Get Hosting Environments Workerpools Usages.", + "operation": "Get Hosting Environments Workerpools Usages", + "provider": "Microsoft Web Apps", + "resource": "Hosting Environments Workerpools Usages" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/ishostingenvironmentnameavailable/read", + "display": { + "description": "Get if Hosting Environment Name is available.", + "operation": "Check if Hosting Environment Name is available", + "provider": "Microsoft Web Apps", + "resource": "Hosting Environment Name" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/ishostnameavailable/read", + "display": { + "description": "Check if Hostname is Available.", + "operation": "Check if Hostname is Available", + "provider": "Microsoft Web Apps", + "resource": "Hostname" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/isusernameavailable/read", + "display": { + "description": "Check if Username is available.", + "operation": "Check if Username is available", + "provider": "Microsoft Web Apps", + "resource": "Username" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/locations/apioperations/read", + "display": { + "description": "Get Locations API Operations.", + "operation": "Get Locations API Operations", + "provider": "Microsoft Web Apps", + "resource": "Locations API Operations" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/locations/connectiongatewayinstallations/read", + "display": { + "description": "Get Locations Connection Gateway Installations.", + "operation": "Get Locations Connection Gateway Installations", + "provider": "Microsoft Web Apps", + "resource": "Locations Connection Gateway Installations" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/locations/functionappstacks/read", + "display": { + "description": "Get Locations Function App Stacks.", + "operation": "Get Locations Function App Stacks", + "provider": "Microsoft Web Apps", + "resource": "Locations Function App Stacks" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/locations/webappstacks/read", + "display": { + "description": "Get Locations Web App Stacks.", + "operation": "Get Locations Web App Stacks", + "provider": "Microsoft Web Apps", + "resource": "Locations Web App Stacks" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/locations/managedapis/read", + "display": { + "description": "Get Locations Managed APIs.", + "operation": "Get Locations Managed APIs", + "provider": "Microsoft Web Apps", + "resource": "Locations Managed APIs" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/operations/read", + "display": { + "description": "Get Operations.", + "operation": "Get Operations", + "provider": "Microsoft Web Apps", + "resource": "Operations" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/publishingusers/read", + "display": { + "description": "Get Publishing Users.", + "operation": "Get Publishing Users", + "provider": "Microsoft Web Apps", + "resource": "Publishing Users" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/publishingusers/write", + "display": { + "description": "Update Publishing Users.", + "operation": "Update Publishing Users", + "provider": "Microsoft Web Apps", + "resource": "Publishing Users" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/serverfarms/capabilities/read", + "display": { + "description": "Get App Service Plans Capabilities.", + "operation": "Get App Service Plans Capabilities", + "provider": "Microsoft Web Apps", + "resource": "App Service Plans Capabilities" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/serverfarms/firstpartyapps/settings/delete", + "display": { + "description": "Delete App Service Plans First Party Apps Settings.", + "operation": "Delete App Service Plans First Party Apps Settings", + "provider": "Microsoft Web Apps", + "resource": "App Service Plans First Party Apps Settings" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/serverfarms/firstpartyapps/settings/read", + "display": { + "description": "Get App Service Plans First Party Apps Settings.", + "operation": "Get App Service Plans First Party Apps Settings", + "provider": "Microsoft Web Apps", + "resource": "App Service Plans First Party Apps Settings" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/serverfarms/firstpartyapps/settings/write", + "display": { + "description": "Update App Service Plans First Party Apps Settings.", + "operation": "Update App Service Plans First Party Apps Settings", + "provider": "Microsoft Web Apps", + "resource": "App Service Plans First Party Apps Settings" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/serverfarms/hybridconnectionnamespaces/relays/sites/read", + "display": { + "description": "Get App Service Plans Hybrid Connection Namespaces Relays Web Apps.", + "operation": "Get App Service Plans Hybrid Connection Namespaces Relays Web Apps", + "provider": "Microsoft Web Apps", + "resource": "App Service Plans Hybrid Connection Namespaces Relays Web Apps" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/serverfarms/hybridconnectionplanlimits/read", + "display": { + "description": "Get App Service Plans Hybrid Connection Plan Limits.", + "operation": "Get App Service Plans Hybrid Connection Plan Limits", + "provider": "Microsoft Web Apps", + "resource": "App Service Plans Hybrid Connection Plan Limits" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/serverfarms/hybridconnectionrelays/read", + "display": { + "description": "Get App Service Plans Hybrid Connection Relays.", + "operation": "Get App Service Plans Hybrid Connection Relays", + "provider": "Microsoft Web Apps", + "resource": "App Service Plans Hybrid Connection Relays" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/serverfarms/metricdefinitions/read", + "display": { + "description": "Get App Service Plans Metric Definitions.", + "operation": "Get App Service Plans Metric Definitions", + "provider": "Microsoft Web Apps", + "resource": "App Service Plans Metric Definitions" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/serverfarms/metrics/read", + "display": { + "description": "Get App Service Plans Metrics.", + "operation": "Get App Service Plans Metrics", + "provider": "Microsoft Web Apps", + "resource": "App Service Plans Metrics" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/serverfarms/operationresults/read", + "display": { + "description": "Get App Service Plans Operation Results.", + "operation": "Get App Service Plans Operation Results", + "provider": "Microsoft Web Apps", + "resource": "App Service Plans Operation Results" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/serverfarms/sites/read", + "display": { + "description": "Get App Service Plans Web Apps.", + "operation": "Get App Service Plans Web Apps", + "provider": "Microsoft Web Apps", + "resource": "App Service Plans Web Apps" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/serverfarms/skus/read", + "display": { + "description": "Get App Service Plans SKUs.", + "operation": "Get App Service Plans SKUs", + "provider": "Microsoft Web Apps", + "resource": "App Service Plans SKUs" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/serverfarms/usages/read", + "display": { + "description": "Get App Service Plans Usages.", + "operation": "Get App Service Plans Usages", + "provider": "Microsoft Web Apps", + "resource": "App Service Plans Usages" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/serverfarms/virtualnetworkconnections/gateways/write", + "display": { + "description": "Update App Service Plans Virtual Network Connections Gateways.", + "operation": "Update App Service Plans Virtual Network Connections Gateways", + "provider": "Microsoft Web Apps", + "resource": "App Service Plans Virtual Network Connections Gateways" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/serverfarms/virtualnetworkconnections/read", + "display": { + "description": "Get App Service Plans Virtual Network Connections.", + "operation": "Get App Service Plans Virtual Network Connections", + "provider": "Microsoft Web Apps", + "resource": "App Service Plans Virtual Network Connections" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/serverfarms/virtualnetworkconnections/routes/delete", + "display": { + "description": "Delete App Service Plans Virtual Network Connections Routes.", + "operation": "Delete App Service Plans Virtual Network Connections Routes", + "provider": "Microsoft Web Apps", + "resource": "App Service Plans Virtual Network Connections Routes" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/serverfarms/virtualnetworkconnections/routes/read", + "display": { + "description": "Get App Service Plans Virtual Network Connections Routes.", + "operation": "Get App Service Plans Virtual Network Connections Routes", + "provider": "Microsoft Web Apps", + "resource": "App Service Plans Virtual Network Connections Routes" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/serverfarms/virtualnetworkconnections/routes/write", + "display": { + "description": "Update App Service Plans Virtual Network Connections Routes.", + "operation": "Update App Service Plans Virtual Network Connections Routes", + "provider": "Microsoft Web Apps", + "resource": "App Service Plans Virtual Network Connections Routes" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/serverfarms/workers/reboot/action", + "display": { + "description": "Reboot App Service Plans Workers.", + "operation": "Reboot App Service Plans Workers", + "provider": "Microsoft Web Apps", + "resource": "App Service Plans Workers" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/analyzecustomhostname/read", + "display": { + "description": "Analyze Custom Hostname.", + "operation": "Analyze Custom Hostname", + "provider": "Microsoft Web Apps", + "resource": "Custom Hostname" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/backup/read", + "display": { + "description": "Get Web Apps Backup.", + "operation": "Get Web Apps Backup", + "provider": "Microsoft Web Apps", + "resource": "Web Apps Backup" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/backup/write", + "display": { + "description": "Update Web Apps Backup.", + "operation": "Update Web Apps Backup", + "provider": "Microsoft Web Apps", + "resource": "Web Apps Backup" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/backups/list/action", + "display": { + "description": "List Web Apps Backups.", + "operation": "List Web Apps Backups", + "provider": "Microsoft Web Apps", + "resource": "Web Apps Backups" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/backups/restore/action", + "display": { + "description": "Restore Web Apps Backups.", + "operation": "Restore Web Apps Backups", + "provider": "Microsoft Web Apps", + "resource": "Web Apps Backups" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/config/delete", + "display": { + "description": "Delete Web Apps Config.", + "operation": "Delete Web Apps Config", + "provider": "Microsoft Web Apps", + "resource": "Web Apps Config" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/continuouswebjobs/delete", + "display": { + "description": "Delete Web Apps Continuous Web Jobs.", + "operation": "Delete Web Apps Continuous Web Jobs", + "provider": "Microsoft Web Apps", + "resource": "Web Apps Continuous Web Jobs" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/continuouswebjobs/read", + "display": { + "description": "Get Web Apps Continuous Web Jobs.", + "operation": "Get Web Apps Continuous Web Jobs", + "provider": "Microsoft Web Apps", + "resource": "Web Apps Continuous Web Jobs" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/continuouswebjobs/start/action", + "display": { + "description": "Start Web Apps Continuous Web Jobs.", + "operation": "Start Web Apps Continuous Web Jobs", + "provider": "Microsoft Web Apps", + "resource": "Web Apps Continuous Web Jobs" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/continuouswebjobs/stop/action", + "display": { + "description": "Stop Web Apps Continuous Web Jobs.", + "operation": "Stop Web Apps Continuous Web Jobs", + "provider": "Microsoft Web Apps", + "resource": "Web Apps Continuous Web Jobs" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/deployments/delete", + "display": { + "description": "Delete Web Apps Deployments.", + "operation": "Delete Web Apps Deployments", + "provider": "Microsoft Web Apps", + "resource": "Web Apps Deployments" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/deployments/log/read", + "display": { + "description": "Get Web Apps Deployments Log.", + "operation": "Get Web Apps Deployments Log", + "provider": "Microsoft Web Apps", + "resource": "Web Apps Deployments Log" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/deployments/read", + "display": { + "description": "Get Web Apps Deployments.", + "operation": "Get Web Apps Deployments", + "provider": "Microsoft Web Apps", + "resource": "Web Apps Deployments" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/deployments/write", + "display": { + "description": "Update Web Apps Deployments.", + "operation": "Update Web Apps Deployments", + "provider": "Microsoft Web Apps", + "resource": "Web Apps Deployments" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/diagnostics/frebanalysis/read", + "display": { + "description": "Get Web Apps Diagnostics FREB Analysis.", + "operation": "Get Web Apps Diagnostics FREB Analysis", + "provider": "Microsoft Web Apps", + "resource": "Web Apps Diagnostics FREB Analysis" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/slots/diagnostics/frebanalysis/read", + "display": { + "description": "Get Web Apps Slots Diagnostics FREB Analysis.", + "operation": "Get Web Apps Slots Diagnostics FREB Analysis", + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Diagnostics FREB Analysis" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/diagnostics/read", + "display": { + "description": "Get Web Apps Diagnostics Categories.", + "operation": "Get Web Apps Diagnostics Category", + "provider": "Microsoft Web Apps", + "resource": "Web Apps Diagnostics Category" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/diagnostics/runtimeavailability/read", + "display": { + "description": "Get Web Apps Diagnostics Runtime Availability.", + "operation": "Get Web Apps Diagnostics Runtime Availability", + "provider": "Microsoft Web Apps", + "resource": "Web Apps Diagnostics Runtime Availability" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/diagnostics/servicehealth/read", + "display": { + "description": "Get Web Apps Diagnostics Service Health.", + "operation": "Get Web Apps Diagnostics Service Health", + "provider": "Microsoft Web Apps", + "resource": "Web Apps Diagnostics Service Health" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/diagnostics/workeravailability/read", + "display": { + "description": "Get Web Apps Diagnostics Workeravailability.", + "operation": "Get Web Apps Diagnostics Workeravailability", + "provider": "Microsoft Web Apps", + "resource": "Web Apps Diagnostics Workeravailability" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/slots/diagnostics/workeravailability/read", + "display": { + "description": "Get Web Apps Slots Diagnostics Workeravailability.", + "operation": "Get Web Apps Slots Diagnostics Workeravailability", + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Diagnostics Workeravailability" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/diagnostics/workerprocessrecycle/read", + "display": { + "description": "Get Web Apps Diagnostics Worker Process Recycle.", + "operation": "Get Web Apps Diagnostics Worker Process Recycle", + "provider": "Microsoft Web Apps", + "resource": "Web Apps Diagnostics Worker Process Recycle" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/slots/diagnostics/workerprocessrecycle/read", + "display": { + "description": "Get Web Apps Slots Diagnostics Worker Process Recycle.", + "operation": "Get Web Apps Slots Diagnostics Worker Process Recycle", + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Diagnostics Worker Process Recycle" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/diagnostics/aspnetcore/read", + "display": { + "description": "Get Web Apps Diagnostics for ASP.NET Core app.", + "operation": "Get Web Apps Diagnostics ASP.NET Core", + "provider": "Microsoft Web Apps", + "resource": "Web Apps Diagnostics ASP.NET Core" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/slots/diagnostics/aspnetcore/read", + "display": { + "description": "Get Web Apps Slots Diagnostics for ASP.NET Core app.", + "operation": "Get Web Apps Slots Diagnostics ASP.NET Core", + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Diagnostics ASP.NET Core" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/domainownershipidentifiers/read", + "display": { + "description": "Get Web Apps Domain Ownership Identifiers.", + "operation": "Get Web Apps Domain Ownership Identifiers", + "provider": "Microsoft Web Apps", + "resource": "Web Apps Domain Ownership Identifiers" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/domainownershipidentifiers/write", + "display": { + "description": "Update Web Apps Domain Ownership Identifiers.", + "operation": "Update Web Apps Domain Ownership Identifiers", + "provider": "Microsoft Web Apps", + "resource": "Web Apps Domain Ownership Identifiers" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/functions/action", + "display": { + "description": "Functions Web Apps.", + "operation": "Functions Web Apps", + "provider": "Microsoft Web Apps", + "resource": "Web Apps" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/functions/delete", + "display": { + "description": "Delete Web Apps Functions.", + "operation": "Delete Web Apps Functions", + "provider": "Microsoft Web Apps", + "resource": "Web Apps Functions" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/functions/listsecrets/action", + "display": { + "description": "List Secrets Web Apps Functions.", + "operation": "List Secrets Web Apps Functions", + "provider": "Microsoft Web Apps", + "resource": "Web Apps Functions" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/functions/read", + "display": { + "description": "Get Web Apps Functions.", + "operation": "Get Web Apps Functions", + "provider": "Microsoft Web Apps", + "resource": "Web Apps Functions" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/functions/write", + "display": { + "description": "Update Web Apps Functions.", + "operation": "Update Web Apps Functions", + "provider": "Microsoft Web Apps", + "resource": "Web Apps Functions" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/hostnamebindings/delete", + "display": { + "description": "Delete Web Apps Hostname Bindings.", + "operation": "Delete Web Apps Hostname Bindings", + "provider": "Microsoft Web Apps", + "resource": "Web Apps Hostname Bindings" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/hostnamebindings/read", + "display": { + "description": "Get Web Apps Hostname Bindings.", + "operation": "Get Web Apps Hostname Bindings", + "provider": "Microsoft Web Apps", + "resource": "Web Apps Hostname Bindings" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/hostnamebindings/write", + "display": { + "description": "Update Web Apps Hostname Bindings.", + "operation": "Update Web Apps Hostname Bindings", + "provider": "Microsoft Web Apps", + "resource": "Web Apps Hostname Bindings" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/hybridconnection/delete", + "display": { + "description": "Delete Web Apps Hybrid Connection.", + "operation": "Delete Web Apps Hybrid Connection", + "provider": "Microsoft Web Apps", + "resource": "Web Apps Hybrid Connection" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/hybridconnection/read", + "display": { + "description": "Get Web Apps Hybrid Connection.", + "operation": "Get Web Apps Hybrid Connection", + "provider": "Microsoft Web Apps", + "resource": "Web Apps Hybrid Connection" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/hybridconnection/write", + "display": { + "description": "Update Web Apps Hybrid Connection.", + "operation": "Update Web Apps Hybrid Connection", + "provider": "Microsoft Web Apps", + "resource": "Web Apps Hybrid Connection" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/hybridconnectionrelays/read", + "display": { + "description": "Get Web Apps Hybrid Connection Relays.", + "operation": "Get Web Apps Hybrid Connection Relays", + "provider": "Microsoft Web Apps", + "resource": "Web Apps Hybrid Connection Relays" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/instances/deployments/read", + "display": { + "description": "Get Web Apps Instances Deployments.", + "operation": "Get Web Apps Instances Deployments", + "provider": "Microsoft Web Apps", + "resource": "Web Apps Instances Deployments" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/instances/processes/delete", + "display": { + "description": "Delete Web Apps Instances Processes.", + "operation": "Delete Web Apps Instances Processes", + "provider": "Microsoft Web Apps", + "resource": "Web Apps Instances Processes" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/instances/processes/read", + "display": { + "description": "Get Web Apps Instances Processes.", + "operation": "Get Web Apps Instances Processes", + "provider": "Microsoft Web Apps", + "resource": "Web Apps Instances Processes" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/instances/read", + "display": { + "description": "Get Web Apps Instances.", + "operation": "Get Web Apps Instances", + "provider": "Microsoft Web Apps", + "resource": "Web Apps Instances" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/listsyncfunctiontriggerstatus/action", + "display": { + "description": "List Sync Function Trigger Status Web Apps.", + "operation": "List Sync Function Trigger Status Web Apps", + "provider": "Microsoft Web Apps", + "resource": "Web Apps" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/metricdefinitions/read", + "display": { + "description": "Get Web Apps Metric Definitions.", + "operation": "Get Web Apps Metric Definitions", + "provider": "Microsoft Web Apps", + "resource": "Web Apps Metric Definitions" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/metrics/read", + "display": { + "description": "Get Web Apps Metrics.", + "operation": "Get Web Apps Metrics", + "provider": "Microsoft Web Apps", + "resource": "Web Apps Metrics" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/networktrace/action", + "display": { + "description": "Network Trace Web Apps.", + "operation": "Network Trace Web Apps", + "provider": "Microsoft Web Apps", + "resource": "Web Apps" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/newpassword/action", + "display": { + "description": "Newpassword Web Apps.", + "operation": "Newpassword Web Apps", + "provider": "Microsoft Web Apps", + "resource": "Web Apps" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/operationresults/read", + "display": { + "description": "Get Web Apps Operation Results.", + "operation": "Get Web Apps Operation Results", + "provider": "Microsoft Web Apps", + "resource": "Web Apps Operation Results" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/perfcounters/read", + "display": { + "description": "Get Web Apps Performance Counters.", + "operation": "Get Web Apps Performance Counters", + "provider": "Microsoft Web Apps", + "resource": "Web Apps Performance Counters" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/premieraddons/delete", + "display": { + "description": "Delete Web Apps Premier Addons.", + "operation": "Delete Web Apps Premier Addons", + "provider": "Microsoft Web Apps", + "resource": "Web Apps Premier Addons" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/premieraddons/read", + "display": { + "description": "Get Web Apps Premier Addons.", + "operation": "Get Web Apps Premier Addons", + "provider": "Microsoft Web Apps", + "resource": "Web Apps Premier Addons" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/premieraddons/write", + "display": { + "description": "Update Web Apps Premier Addons.", + "operation": "Update Web Apps Premier Addons", + "provider": "Microsoft Web Apps", + "resource": "Web Apps Premier Addons" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/publishxml/read", + "display": { + "description": "Get Web Apps Publishing XML.", + "operation": "Get Web Apps Publishing XML", + "provider": "Microsoft Web Apps", + "resource": "Web Apps Publishing XML" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/recommendationhistory/read", + "display": { + "description": "Get Web Apps Recommendation History.", + "operation": "Get Web Apps Recommendation History", + "provider": "Microsoft Web Apps", + "resource": "Web Apps Recommendation History" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/recommendations/disable/action", + "display": { + "description": "Disable Web Apps Recommendations.", + "operation": "Disable Web Apps Recommendations", + "provider": "Microsoft Web Apps", + "resource": "Web Apps Recommendations" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/restore/read", + "display": { + "description": "Get Web Apps Restore.", + "operation": "Get Web Apps Restore", + "provider": "Microsoft Web Apps", + "resource": "Web Apps Restore" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/slots/analyzecustomhostname/read", + "display": { + "description": "Get Web Apps Slots Analyze Custom Hostname.", + "operation": "Get Web Apps Slots Analyze Custom Hostname", + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Analyze Custom Hostname" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/slots/backup/write", + "display": { + "description": "Update Web Apps Slots Backup.", + "operation": "Update Web Apps Slots Backup", + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Backup" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/slots/backups/list/action", + "display": { + "description": "List Web Apps Slots Backups.", + "operation": "List Web Apps Slots Backups", + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Backups" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/slots/backups/restore/action", + "display": { + "description": "Restore Web Apps Slots Backups.", + "operation": "Restore Web Apps Slots Backups", + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Backups" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/slots/config/delete", + "display": { + "description": "Delete Web Apps Slots Config.", + "operation": "Delete Web Apps Slots Config", + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Config" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/slots/continuouswebjobs/delete", + "display": { + "description": "Delete Web Apps Slots Continuous Web Jobs.", + "operation": "Delete Web Apps Slots Continuous Web Jobs", + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Continuous Web Jobs" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/slots/continuouswebjobs/read", + "display": { + "description": "Get Web Apps Slots Continuous Web Jobs.", + "operation": "Get Web Apps Slots Continuous Web Jobs", + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Continuous Web Jobs" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/slots/continuouswebjobs/start/action", + "display": { + "description": "Start Web Apps Slots Continuous Web Jobs.", + "operation": "Start Web Apps Slots Continuous Web Jobs", + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Continuous Web Jobs" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/slots/continuouswebjobs/stop/action", + "display": { + "description": "Stop Web Apps Slots Continuous Web Jobs.", + "operation": "Stop Web Apps Slots Continuous Web Jobs", + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Continuous Web Jobs" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/slots/deployments/delete", + "display": { + "description": "Delete Web Apps Slots Deployments.", + "operation": "Delete Web Apps Slots Deployments", + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Deployments" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/slots/deployments/log/read", + "display": { + "description": "Get Web Apps Slots Deployments Log.", + "operation": "Get Web Apps Slots Deployments Log", + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Deployments Log" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/slots/deployments/read", + "display": { + "description": "Get Web Apps Slots Deployments.", + "operation": "Get Web Apps Slots Deployments", + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Deployments" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/slots/deployments/write", + "display": { + "description": "Update Web Apps Slots Deployments.", + "operation": "Update Web Apps Slots Deployments", + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Deployments" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/slots/hostnamebindings/delete", + "display": { + "description": "Delete Web Apps Slots Hostname Bindings.", + "operation": "Delete Web Apps Slots Hostname Bindings", + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Hostname Bindings" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/slots/hostnamebindings/read", + "display": { + "description": "Get Web Apps Slots Hostname Bindings.", + "operation": "Get Web Apps Slots Hostname Bindings", + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Hostname Bindings" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/slots/hostnamebindings/write", + "display": { + "description": "Update Web Apps Slots Hostname Bindings.", + "operation": "Update Web Apps Slots Hostname Bindings", + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Hostname Bindings" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/slots/hybridconnection/delete", + "display": { + "description": "Delete Web Apps Slots Hybrid Connection.", + "operation": "Delete Web Apps Slots Hybrid Connection", + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Hybrid Connection" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/slots/hybridconnection/read", + "display": { + "description": "Get Web Apps Slots Hybrid Connection.", + "operation": "Get Web Apps Slots Hybrid Connection", + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Hybrid Connection" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/slots/hybridconnection/write", + "display": { + "description": "Update Web Apps Slots Hybrid Connection.", + "operation": "Update Web Apps Slots Hybrid Connection", + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Hybrid Connection" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/slots/instances/deployments/read", + "display": { + "description": "Get Web Apps Slots Instances Deployments.", + "operation": "Get Web Apps Slots Instances Deployments", + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Instances Deployments" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/slots/instances/processes/read", + "display": { + "description": "Get Web Apps Slots Instances Processes.", + "operation": "Get Web Apps Slots Instances Processes", + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Instances Processes" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/slots/instances/read", + "display": { + "description": "Get Web Apps Slots Instances.", + "operation": "Get Web Apps Slots Instances", + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Instances" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/slots/metricdefinitions/read", + "display": { + "description": "Get Web Apps Slots Metric Definitions.", + "operation": "Get Web Apps Slots Metric Definitions", + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Metric Definitions" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/slots/metrics/read", + "display": { + "description": "Get Web Apps Slots Metrics.", + "operation": "Get Web Apps Slots Metrics", + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Metrics" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/slots/newpassword/action", + "display": { + "description": "Newpassword Web Apps Slots.", + "operation": "Newpassword Web Apps Slots", + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/slots/operationresults/read", + "display": { + "description": "Get Web Apps Slots Operation Results.", + "operation": "Get Web Apps Slots Operation Results", + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Operation Results" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/slots/phplogging/read", + "display": { + "description": "Get Web Apps Slots Phplogging.", + "operation": "Get Web Apps Slots Phplogging", + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Phplogging" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/slots/premieraddons/delete", + "display": { + "description": "Delete Web Apps Slots Premier Addons.", + "operation": "Delete Web Apps Slots Premier Addons", + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Premier Addons" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/slots/premieraddons/read", + "display": { + "description": "Get Web Apps Slots Premier Addons.", + "operation": "Get Web Apps Slots Premier Addons", + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Premier Addons" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/slots/premieraddons/write", + "display": { + "description": "Update Web Apps Slots Premier Addons.", + "operation": "Update Web Apps Slots Premier Addons", + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Premier Addons" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/slots/restore/read", + "display": { + "description": "Get Web Apps Slots Restore.", + "operation": "Get Web Apps Slots Restore", + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Restore" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/slots/sync/action", + "display": { + "description": "Sync Web Apps Slots.", + "operation": "Sync Web Apps Slots", + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/slots/triggeredwebjobs/delete", + "display": { + "description": "Delete Web Apps Slots Triggered WebJobs.", + "operation": "Delete Web Apps Slots Triggered WebJobs", + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Triggered WebJobs" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/slots/triggeredwebjobs/read", + "display": { + "description": "Get Web Apps Slots Triggered WebJobs.", + "operation": "Get Web Apps Slots Triggered WebJobs", + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Triggered WebJobs" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/slots/triggeredwebjobs/run/action", + "display": { + "description": "Run Web Apps Slots Triggered WebJobs.", + "operation": "Run Web Apps Slots Triggered WebJobs", + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Triggered WebJobs" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/slots/usages/read", + "display": { + "description": "Get Web Apps Slots Usages.", + "operation": "Get Web Apps Slots Usages", + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Usages" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/slots/virtualnetworkconnections/delete", + "display": { + "description": "Delete Web Apps Slots Virtual Network Connections.", + "operation": "Delete Web Apps Slots Virtual Network Connections", + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Virtual Network Connections" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/slots/virtualnetworkconnections/gateways/write", + "display": { + "description": "Update Web Apps Slots Virtual Network Connections Gateways.", + "operation": "Update Web Apps Slots Virtual Network Connections Gateways", + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Virtual Network Connections Gateways" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/slots/virtualnetworkconnections/read", + "display": { + "description": "Get Web Apps Slots Virtual Network Connections.", + "operation": "Get Web Apps Slots Virtual Network Connections", + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Virtual Network Connections" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/slots/virtualnetworkconnections/write", + "display": { + "description": "Update Web Apps Slots Virtual Network Connections.", + "operation": "Update Web Apps Slots Virtual Network Connections", + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Virtual Network Connections" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/slots/webjobs/read", + "display": { + "description": "Get Web Apps Slots WebJobs.", + "operation": "Get Web Apps Slots WebJobs", + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots WebJobs" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/snapshots/read", + "display": { + "description": "Get Web Apps Snapshots.", + "operation": "Get Web Apps Snapshots", + "provider": "Microsoft Web Apps", + "resource": "Web Apps Snapshots" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/sync/action", + "display": { + "description": "Sync Web Apps.", + "operation": "Sync Web Apps", + "provider": "Microsoft Web Apps", + "resource": "Web Apps" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/triggeredwebjobs/delete", + "display": { + "description": "Delete Web Apps Triggered WebJobs.", + "operation": "Delete Web Apps Triggered WebJobs", + "provider": "Microsoft Web Apps", + "resource": "Web Apps Triggered WebJobs" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/triggeredwebjobs/read", + "display": { + "description": "Get Web Apps Triggered WebJobs.", + "operation": "Get Web Apps Triggered WebJobs", + "provider": "Microsoft Web Apps", + "resource": "Web Apps Triggered WebJobs" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/triggeredwebjobs/run/action", + "display": { + "description": "Run Web Apps Triggered WebJobs.", + "operation": "Run Web Apps Triggered WebJobs", + "provider": "Microsoft Web Apps", + "resource": "Web Apps Triggered WebJobs" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/usages/read", + "display": { + "description": "Get Web Apps Usages.", + "operation": "Get Web Apps Usages", + "provider": "Microsoft Web Apps", + "resource": "Web Apps Usages" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/virtualnetworkconnections/delete", + "display": { + "description": "Delete Web Apps Virtual Network Connections.", + "operation": "Delete Web Apps Virtual Network Connections", + "provider": "Microsoft Web Apps", + "resource": "Web Apps Virtual Network Connections" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/virtualnetworkconnections/gateways/read", + "display": { + "description": "Get Web Apps Virtual Network Connections Gateways.", + "operation": "Get Web Apps Virtual Network Connections Gateways", + "provider": "Microsoft Web Apps", + "resource": "Web Apps Virtual Network Connections Gateways" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/virtualnetworkconnections/gateways/write", + "display": { + "description": "Update Web Apps Virtual Network Connections Gateways.", + "operation": "Update Web Apps Virtual Network Connections Gateways", + "provider": "Microsoft Web Apps", + "resource": "Web Apps Virtual Network Connections Gateways" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/virtualnetworkconnections/read", + "display": { + "description": "Get Web Apps Virtual Network Connections.", + "operation": "Get Web Apps Virtual Network Connections", + "provider": "Microsoft Web Apps", + "resource": "Web Apps Virtual Network Connections" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/virtualnetworkconnections/write", + "display": { + "description": "Update Web Apps Virtual Network Connections.", + "operation": "Update Web Apps Virtual Network Connections", + "provider": "Microsoft Web Apps", + "resource": "Web Apps Virtual Network Connections" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/webjobs/read", + "display": { + "description": "Get Web Apps WebJobs.", + "operation": "Get Web Apps WebJobs", + "provider": "Microsoft Web Apps", + "resource": "Web Apps WebJobs" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/skus/read", + "display": { + "description": "Get SKUs.", + "operation": "Get SKUs", + "provider": "Microsoft Web Apps", + "resource": "SKUs" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sourcecontrols/read", + "display": { + "description": "Get Source Controls.", + "operation": "Get Source Controls", + "provider": "Microsoft Web Apps", + "resource": "Source Controls" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sourcecontrols/write", + "display": { + "description": "Update Source Controls.", + "operation": "Update Source Controls", + "provider": "Microsoft Web Apps", + "resource": "Source Controls" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/unregister/action", + "display": { + "description": "Unregister Microsoft.Web resource provider for the subscription.", + "operation": "Unregister Microsoft.Web resource provider", + "provider": "Microsoft Web Apps", + "resource": "Microsoft.Web resource provider" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/validate/action", + "display": { + "description": "Validate .", + "operation": "Validate ", + "provider": "Microsoft Web Apps", + "resource": "" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/register/action", + "display": { + "description": "Register Microsoft.Web resource provider for the subscription.", + "operation": "Register Microsoft.Web resource provider", + "provider": "Microsoft Web Apps", + "resource": "Microsoft.Web resource provider" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/serverfarms/hybridconnectionnamespaces/relays/read", + "display": { + "description": "Get App Service Plans Hybrid Connection Namespaces Relays.", + "operation": "Get App Service Plans Hybrid Connection Namespaces Relays", + "provider": "Microsoft Web Apps", + "resource": "App Service Plans Hybrid Connection Namespaces Relays" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/backups/delete", + "display": { + "description": "Delete Web Apps Backups.", + "operation": "Delete Web Apps Backups", + "provider": "Microsoft Web Apps", + "resource": "Web Apps Backups" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/hybridconnectionnamespaces/relays/delete", + "display": { + "description": "Delete Web Apps Hybrid Connection Namespaces Relays.", + "operation": "Delete Web Apps Hybrid Connection Namespaces Relays", + "provider": "Microsoft Web Apps", + "resource": "Web Apps Hybrid Connection Namespaces Relays" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/hybridconnectionnamespaces/relays/listkeys/action", + "display": { + "description": "List Keys Web Apps Hybrid Connection Namespaces Relays.", + "operation": "List Keys Web Apps Hybrid Connection Namespaces Relays", + "provider": "Microsoft Web Apps", + "resource": "Web Apps Hybrid Connection Namespaces Relays" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/hybridconnectionnamespaces/relays/write", + "display": { + "description": "Update Web Apps Hybrid Connection Namespaces Relays.", + "operation": "Update Web Apps Hybrid Connection Namespaces Relays", + "provider": "Microsoft Web Apps", + "resource": "Web Apps Hybrid Connection Namespaces Relays" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/metricsdefinitions/read", + "display": { + "description": "Get Web Apps Metrics Definitions.", + "operation": "Get Web Apps Metrics Definitions", + "provider": "Microsoft Web Apps", + "resource": "Web Apps Metrics Definitions" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/migratemysql/action", + "display": { + "description": "Migrate MySql Web Apps.", + "operation": "Migrate MySql Web Apps", + "provider": "Microsoft Web Apps", + "resource": "Web Apps" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/migratemysql/read", + "display": { + "description": "Get Web Apps Migrate MySql.", + "operation": "Get Web Apps Migrate MySql", + "provider": "Microsoft Web Apps", + "resource": "Web Apps Migrate MySql" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/recover/action", + "display": { + "description": "Recover Web Apps.", + "operation": "Recover Web Apps", + "provider": "Microsoft Web Apps", + "resource": "Web Apps" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/siteextensions/delete", + "display": { + "description": "Delete Web Apps Site Extensions.", + "operation": "Delete Web Apps Site Extensions", + "provider": "Microsoft Web Apps", + "resource": "Web Apps Site Extensions" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/siteextensions/read", + "display": { + "description": "Get Web Apps Site Extensions.", + "operation": "Get Web Apps Site Extensions", + "provider": "Microsoft Web Apps", + "resource": "Web Apps Site Extensions" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/siteextensions/write", + "display": { + "description": "Update Web Apps Site Extensions.", + "operation": "Update Web Apps Site Extensions", + "provider": "Microsoft Web Apps", + "resource": "Web Apps Site Extensions" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/slots/backup/read", + "display": { + "description": "Get Web Apps Slots Backup.", + "operation": "Get Web Apps Slots Backup", + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Backup" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/slots/hybridconnectionrelays/read", + "display": { + "description": "Get Web Apps Slots Hybrid Connection Relays.", + "operation": "Get Web Apps Slots Hybrid Connection Relays", + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Hybrid Connection Relays" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/slots/siteextensions/delete", + "display": { + "description": "Delete Web Apps Slots Site Extensions.", + "operation": "Delete Web Apps Slots Site Extensions", + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Site Extensions" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/slots/siteextensions/read", + "display": { + "description": "Get Web Apps Slots Site Extensions.", + "operation": "Get Web Apps Slots Site Extensions", + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Site Extensions" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/slots/siteextensions/write", + "display": { + "description": "Update Web Apps Slots Site Extensions.", + "operation": "Update Web Apps Slots Site Extensions", + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Site Extensions" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/slots/snapshots/read", + "display": { + "description": "Get Web Apps Slots Snapshots.", + "operation": "Get Web Apps Slots Snapshots", + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Snapshots" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/syncfunctiontriggers/action", + "display": { + "description": "Sync Function Triggers for Web Apps.", + "operation": "Sync Function Triggers for Web Apps", + "provider": "Microsoft Web Apps", + "resource": "Web Apps" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/triggeredwebjobs/history/read", + "display": { + "description": "Get Web Apps Triggered WebJobs History.", + "operation": "Get Web Apps Triggered WebJobs History", + "provider": "Microsoft Web Apps", + "resource": "Web Apps Triggered WebJobs History" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/connectiongateways/liststatus/action", + "display": { + "description": "List Status Connection Gateways.", + "operation": "List Status Connection Gateways", + "provider": "Microsoft Web Apps", + "resource": "Connection Gateways" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/serverfarms/hybridconnectionnamespaces/relays/delete", + "display": { + "description": "Delete App Service Plans Hybrid Connection Namespaces Relays.", + "operation": "Delete App Service Plans Hybrid Connection Namespaces Relays", + "provider": "Microsoft Web Apps", + "resource": "App Service Plans Hybrid Connection Namespaces Relays" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/diagnostics/deployment/read", + "display": { + "description": "Get Web Apps Diagnostics Deployment.", + "operation": "Get Web Apps Diagnostics Deployment", + "provider": "Microsoft Web Apps", + "resource": "Web Apps Diagnostics Deployment" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/diagnostics/sitecpuanalysis/read", + "display": { + "description": "Get Web Apps Diagnostics Site CPU Analysis.", + "operation": "Get Web Apps Diagnostics Site CPU Analysis", + "provider": "Microsoft Web Apps", + "resource": "Web Apps Diagnostics Site CPU Analysis" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/diagnostics/sitelatency/read", + "display": { + "description": "Get Web Apps Diagnostics Site Latency.", + "operation": "Get Web Apps Diagnostics Site Latency", + "provider": "Microsoft Web Apps", + "resource": "Web Apps Diagnostics Site Latency" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/diagnostics/sitememoryanalysis/read", + "display": { + "description": "Get Web Apps Diagnostics Site Memory Analysis.", + "operation": "Get Web Apps Diagnostics Site Memory Analysis", + "provider": "Microsoft Web Apps", + "resource": "Web Apps Diagnostics Site Memory Analysis" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/diagnostics/threadcount/read", + "display": { + "description": "Get Web Apps Diagnostics Thread Count.", + "operation": "Get Web Apps Diagnostics Thread Count", + "provider": "Microsoft Web Apps", + "resource": "Web Apps Diagnostics Thread Count" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/slots/diagnostics/deployment/read", + "display": { + "description": "Get Web Apps Slots Diagnostics Deployment.", + "operation": "Get Web Apps Slots Diagnostics Deployment", + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Diagnostics Deployment" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/slots/diagnostics/sitecpuanalysis/read", + "display": { + "description": "Get Web Apps Slots Diagnostics Site CPU Analysis.", + "operation": "Get Web Apps Slots Diagnostics Site CPU Analysis", + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Diagnostics Site CPU Analysis" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/slots/diagnostics/sitelatency/read", + "display": { + "description": "Get Web Apps Slots Diagnostics Site Latency.", + "operation": "Get Web Apps Slots Diagnostics Site Latency", + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Diagnostics Site Latency" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/slots/diagnostics/sitememoryanalysis/read", + "display": { + "description": "Get Web Apps Slots Diagnostics Site Memory Analysis.", + "operation": "Get Web Apps Slots Diagnostics Site Memory Analysis", + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Diagnostics Site Memory Analysis" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/slots/diagnostics/threadcount/read", + "display": { + "description": "Get Web Apps Slots Diagnostics Thread Count.", + "operation": "Get Web Apps Slots Diagnostics Thread Count", + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Diagnostics Thread Count" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/functions/masterkey/read", + "display": { + "description": "Get Web Apps Functions Masterkey.", + "operation": "Get Web Apps Functions Masterkey", + "provider": "Microsoft Web Apps", + "resource": "Web Apps Functions Masterkey" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/hybridconnectionnamespaces/relays/read", + "display": { + "description": "Get Web Apps Hybrid Connection Namespaces Relays.", + "operation": "Get Web Apps Hybrid Connection Namespaces Relays", + "provider": "Microsoft Web Apps", + "resource": "Web Apps Hybrid Connection Namespaces Relays" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/instances/extensions/read", + "display": { + "description": "Get Web Apps Instances Extensions.", + "operation": "Get Web Apps Instances Extensions", + "provider": "Microsoft Web Apps", + "resource": "Web Apps Instances Extensions" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/operations/read", + "display": { + "description": "Get Web Apps Operations.", + "operation": "Get Web Apps Operations", + "provider": "Microsoft Web Apps", + "resource": "Web Apps Operations" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/resourcehealthmetadata/read", + "display": { + "description": "Get Web Apps Resource Health Metadata.", + "operation": "Get Web Apps Resource Health Metadata", + "provider": "Microsoft Web Apps", + "resource": "Web Apps Resource Health Metadata" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/slots/backups/delete", + "display": { + "description": "Delete Web Apps Slots Backups.", + "operation": "Delete Web Apps Slots Backups", + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Backups" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/slots/domainownershipidentifiers/read", + "display": { + "description": "Get Web Apps Slots Domain Ownership Identifiers.", + "operation": "Get Web Apps Slots Domain Ownership Identifiers", + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Domain Ownership Identifiers" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/slots/hybridconnectionnamespaces/relays/delete", + "display": { + "description": "Delete Web Apps Slots Hybrid Connection Namespaces Relays.", + "operation": "Delete Web Apps Slots Hybrid Connection Namespaces Relays", + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Hybrid Connection Namespaces Relays" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/slots/hybridconnectionnamespaces/relays/write", + "display": { + "description": "Update Web Apps Slots Hybrid Connection Namespaces Relays.", + "operation": "Update Web Apps Slots Hybrid Connection Namespaces Relays", + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Hybrid Connection Namespaces Relays" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/slots/operations/read", + "display": { + "description": "Get Web Apps Slots Operations.", + "operation": "Get Web Apps Slots Operations", + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Operations" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/slots/perfcounters/read", + "display": { + "description": "Get Web Apps Slots Performance Counters.", + "operation": "Get Web Apps Slots Performance Counters", + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Performance Counters" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/slots/resourcehealthmetadata/read", + "display": { + "description": "Get Web Apps Slots Resource Health Metadata.", + "operation": "Get Web Apps Slots Resource Health Metadata", + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Resource Health Metadata" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/apimanagementaccounts/apiacls/read", + "display": { + "description": "Get Api Management Accounts Apiacls.", + "operation": "Get Api Management Accounts Apiacls", + "provider": "Microsoft Web Apps", + "resource": "Api Management Accounts Apiacls" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/apimanagementaccounts/apis/connections/read", + "display": { + "description": "Get Api Management Accounts APIs Connections.", + "operation": "Get Api Management Accounts APIs Connections", + "provider": "Microsoft Web Apps", + "resource": "Api Management Accounts APIs Connections" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/apimanagementaccounts/apis/read", + "display": { + "description": "Get Api Management Accounts APIs.", + "operation": "Get Api Management Accounts APIs", + "provider": "Microsoft Web Apps", + "resource": "Api Management Accounts APIs" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/apimanagementaccounts/connectionacls/read", + "display": { + "description": "Get Api Management Accounts Connectionacls.", + "operation": "Get Api Management Accounts Connectionacls", + "provider": "Microsoft Web Apps", + "resource": "Api Management Accounts Connectionacls" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/apimanagementaccounts/apis/apiacls/delete", + "display": { + "description": "Delete Api Management Accounts APIs Apiacls.", + "operation": "Delete Api Management Accounts APIs Apiacls", + "provider": "Microsoft Web Apps", + "resource": "Api Management Accounts APIs Apiacls" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/apimanagementaccounts/apis/apiacls/read", + "display": { + "description": "Get Api Management Accounts APIs Apiacls.", + "operation": "Get Api Management Accounts APIs Apiacls", + "provider": "Microsoft Web Apps", + "resource": "Api Management Accounts APIs Apiacls" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/apimanagementaccounts/apis/apiacls/write", + "display": { + "description": "Update Api Management Accounts APIs Apiacls.", + "operation": "Update Api Management Accounts APIs Apiacls", + "provider": "Microsoft Web Apps", + "resource": "Api Management Accounts APIs Apiacls" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/apimanagementaccounts/apis/connectionacls/read", + "display": { + "description": "Get Api Management Accounts APIs Connectionacls.", + "operation": "Get Api Management Accounts APIs Connectionacls", + "provider": "Microsoft Web Apps", + "resource": "Api Management Accounts APIs Connectionacls" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/apimanagementaccounts/apis/connections/confirmconsentcode/action", + "display": { + "description": "Confirm Consent Code Api Management Accounts APIs Connections.", + "operation": "Confirm Consent Code Api Management Accounts APIs Connections", + "provider": "Microsoft Web Apps", + "resource": "Api Management Accounts APIs Connections" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/apimanagementaccounts/apis/connections/connectionacls/delete", + "display": { + "description": "Delete Api Management Accounts APIs Connections Connectionacls.", + "operation": "Delete Api Management Accounts APIs Connections Connectionacls", + "provider": "Microsoft Web Apps", + "resource": "Api Management Accounts APIs Connections Connectionacls" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/apimanagementaccounts/apis/connections/connectionacls/read", + "display": { + "description": "Get Api Management Accounts APIs Connections Connectionacls.", + "operation": "Get Api Management Accounts APIs Connections Connectionacls", + "provider": "Microsoft Web Apps", + "resource": "Api Management Accounts APIs Connections Connectionacls" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/apimanagementaccounts/apis/connections/connectionacls/write", + "display": { + "description": "Update Api Management Accounts APIs Connections Connectionacls.", + "operation": "Update Api Management Accounts APIs Connections Connectionacls", + "provider": "Microsoft Web Apps", + "resource": "Api Management Accounts APIs Connections Connectionacls" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/apimanagementaccounts/apis/connections/delete", + "display": { + "description": "Delete Api Management Accounts APIs Connections.", + "operation": "Delete Api Management Accounts APIs Connections", + "provider": "Microsoft Web Apps", + "resource": "Api Management Accounts APIs Connections" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/apimanagementaccounts/apis/connections/getconsentlinks/action", + "display": { + "description": "Get Consent Links for Api Management Accounts APIs Connections.", + "operation": "Get Consent Links for Api Management Accounts APIs Connections", + "provider": "Microsoft Web Apps", + "resource": "Api Management Accounts APIs Connections" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/apimanagementaccounts/apis/connections/write", + "display": { + "description": "Update Api Management Accounts APIs Connections.", + "operation": "Update Api Management Accounts APIs Connections", + "provider": "Microsoft Web Apps", + "resource": "Api Management Accounts APIs Connections" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/apimanagementaccounts/apis/delete", + "display": { + "description": "Delete Api Management Accounts APIs.", + "operation": "Delete Api Management Accounts APIs", + "provider": "Microsoft Web Apps", + "resource": "Api Management Accounts APIs" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/apimanagementaccounts/apis/localizeddefinitions/delete", + "display": { + "description": "Delete Api Management Accounts APIs Localized Definitions.", + "operation": "Delete Api Management Accounts APIs Localized Definitions", + "provider": "Microsoft Web Apps", + "resource": "Api Management Accounts APIs Localized Definitions" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/apimanagementaccounts/apis/localizeddefinitions/read", + "display": { + "description": "Get Api Management Accounts APIs Localized Definitions.", + "operation": "Get Api Management Accounts APIs Localized Definitions", + "provider": "Microsoft Web Apps", + "resource": "Api Management Accounts APIs Localized Definitions" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/apimanagementaccounts/apis/localizeddefinitions/write", + "display": { + "description": "Update Api Management Accounts APIs Localized Definitions.", + "operation": "Update Api Management Accounts APIs Localized Definitions", + "provider": "Microsoft Web Apps", + "resource": "Api Management Accounts APIs Localized Definitions" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/apimanagementaccounts/apis/write", + "display": { + "description": "Update Api Management Accounts APIs.", + "operation": "Update Api Management Accounts APIs", + "provider": "Microsoft Web Apps", + "resource": "Api Management Accounts APIs" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/apimanagementaccounts/apis/connections/listconnectionkeys/action", + "display": { + "description": "List Connection Keys Api Management Accounts APIs Connections.", + "operation": "List Connection Keys Api Management Accounts APIs Connections", + "provider": "Microsoft Web Apps", + "resource": "Api Management Accounts APIs Connections" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/apimanagementaccounts/apis/connections/listsecrets/action", + "display": { + "description": "List Secrets Api Management Accounts APIs Connections.", + "operation": "List Secrets Api Management Accounts APIs Connections", + "provider": "Microsoft Web Apps", + "resource": "Api Management Accounts APIs Connections" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/diagnostics/deployments/read", + "display": { + "description": "Get Web Apps Diagnostics Deployments.", + "operation": "Get Web Apps Diagnostics Deployments", + "provider": "Microsoft Web Apps", + "resource": "Web Apps Diagnostics Deployments" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/slots/diagnostics/deployments/read", + "display": { + "description": "Get Web Apps Slots Diagnostics Deployments.", + "operation": "Get Web Apps Slots Diagnostics Deployments", + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Diagnostics Deployments" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/diagnostics/loganalyzer/read", + "display": { + "description": "Get Web Apps Diagnostics Log Analyzer.", + "operation": "Get Web Apps Diagnostics Log Analyzer", + "provider": "Microsoft Web Apps", + "resource": "Web Apps Diagnostics Log Analyzer" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/slots/diagnostics/loganalyzer/read", + "display": { + "description": "Get Web Apps Slots Diagnostics Log Analyzer.", + "operation": "Get Web Apps Slots Diagnostics Log Analyzer", + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Diagnostics Log Analyzer" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/diagnostics/sitecrashes/read", + "display": { + "description": "Get Web Apps Diagnostics Site Crashes.", + "operation": "Get Web Apps Diagnostics Site Crashes", + "provider": "Microsoft Web Apps", + "resource": "Web Apps Diagnostics Site Crashes" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/slots/diagnostics/sitecrashes/read", + "display": { + "description": "Get Web Apps Slots Diagnostics Site Crashes.", + "operation": "Get Web Apps Slots Diagnostics Site Crashes", + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Diagnostics Site Crashes" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/diagnostics/siterestartsettingupdate/read", + "display": { + "description": "Get Web Apps Diagnostics Site Restart Setting Update.", + "operation": "Get Web Apps Diagnostics Site Restart Setting Update", + "provider": "Microsoft Web Apps", + "resource": "Web Apps Diagnostics Site Restart Setting Update" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/slots/diagnostics/siterestartsettingupdate/read", + "display": { + "description": "Get Web Apps Slots Diagnostics Site Restart Setting Update.", + "operation": "Get Web Apps Slots Diagnostics Site Restart Setting Update", + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Diagnostics Site Restart Setting Update" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/diagnostics/siterestartuserinitiated/read", + "display": { + "description": "Get Web Apps Diagnostics Site Restart User Initiated.", + "operation": "Get Web Apps Diagnostics Site Restart User Initiated", + "provider": "Microsoft Web Apps", + "resource": "Web Apps Diagnostics Site Restart User Initiated" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/slots/diagnostics/siterestartuserinitiated/read", + "display": { + "description": "Get Web Apps Slots Diagnostics Site Restart User Initiated.", + "operation": "Get Web Apps Slots Diagnostics Site Restart User Initiated", + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Diagnostics Site Restart User Initiated" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/diagnostics/siteswap/read", + "display": { + "description": "Get Web Apps Diagnostics Site Swap.", + "operation": "Get Web Apps Diagnostics Site Swap", + "provider": "Microsoft Web Apps", + "resource": "Web Apps Diagnostics Site Swap" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/slots/diagnostics/siteswap/read", + "display": { + "description": "Get Web Apps Slots Diagnostics Site Swap.", + "operation": "Get Web Apps Slots Diagnostics Site Swap", + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Diagnostics Site Swap" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/functions/token/read", + "display": { + "description": "Get Web Apps Functions Token.", + "operation": "Get Web Apps Functions Token", + "provider": "Microsoft Web Apps", + "resource": "Web Apps Functions Token" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/instances/deployments/delete", + "display": { + "description": "Delete Web Apps Instances Deployments.", + "operation": "Delete Web Apps Instances Deployments", + "provider": "Microsoft Web Apps", + "resource": "Web Apps Instances Deployments" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/processes/read", + "display": { + "description": "Get Web Apps Processes.", + "operation": "Get Web Apps Processes", + "provider": "Microsoft Web Apps", + "resource": "Web Apps Processes" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/publiccertificates/delete", + "display": { + "description": "Delete Web Apps Public Certificates.", + "operation": "Delete Web Apps Public Certificates", + "provider": "Microsoft Web Apps", + "resource": "Web Apps Public Certificates" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/publiccertificates/read", + "display": { + "description": "Get Web Apps Public Certificates.", + "operation": "Get Web Apps Public Certificates", + "provider": "Microsoft Web Apps", + "resource": "Web Apps Public Certificates" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/publiccertificates/write", + "display": { + "description": "Update Web Apps Public Certificates.", + "operation": "Update Web Apps Public Certificates", + "provider": "Microsoft Web Apps", + "resource": "Web Apps Public Certificates" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/slots/networktrace/action", + "display": { + "description": "Network Trace Web Apps Slots.", + "operation": "Network Trace Web Apps Slots", + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/diagnostics/autoheal/read", + "display": { + "description": "Get Web Apps Diagnostics Autoheal.", + "operation": "Get Web Apps Diagnostics Autoheal", + "provider": "Microsoft Web Apps", + "resource": "Web Apps Diagnostics Autoheal" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/slots/diagnostics/autoheal/read", + "display": { + "description": "Get Web Apps Slots Diagnostics Autoheal.", + "operation": "Get Web Apps Slots Diagnostics Autoheal", + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Diagnostics Autoheal" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/slots/diagnostics/read", + "display": { + "description": "Get Web Apps Slots Diagnostics.", + "operation": "Get Web Apps Slots Diagnostics", + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Diagnostics" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/slots/diagnostics/runtimeavailability/read", + "display": { + "description": "Get Web Apps Slots Diagnostics Runtime Availability.", + "operation": "Get Web Apps Slots Diagnostics Runtime Availability", + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Diagnostics Runtime Availability" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/slots/diagnostics/servicehealth/read", + "display": { + "description": "Get Web Apps Slots Diagnostics Service Health.", + "operation": "Get Web Apps Slots Diagnostics Service Health", + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Diagnostics Service Health" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/slots/diagnostics/sitelatency/read", + "display": { + "description": "Get Web Apps Slots Diagnostics Site Latency.", + "operation": "Get Web Apps Slots Diagnostics Site Latency", + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Diagnostics Site Latency" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/slots/migratemysql/read", + "display": { + "description": "Get Web Apps Slots Migrate MySql.", + "operation": "Get Web Apps Slots Migrate MySql", + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Migrate MySql" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/providers/Microsoft.Insights/diagnosticSettings/read", + "display": { + "description": "Gets the diagnostic setting for the resource", + "operation": "Read diagnostic setting", + "provider": "Microsoft Web Apps", + "resource": "Diagnostic setting for Web App" + }, + "origin": "system" + }, + { + "name": "microsoft.web/sites/providers/Microsoft.Insights/diagnosticSettings/write", + "display": { + "description": "Creates or updates the diagnostic setting for the resource", + "operation": "Write diagnostic setting", + "provider": "Microsoft Web Apps", + "resource": "Diagnostic setting for Web App" + }, + "origin": "system" + }, + { + "name": "microsoft.web/sites/slots/providers/Microsoft.Insights/diagnosticSettings/read", + "display": { + "description": "Gets the diagnostic setting for the resource", + "operation": "Read diagnostic setting", + "provider": "Microsoft Web Apps", + "resource": "Diagnostic setting for Web App slot" + }, + "origin": "system" + }, + { + "name": "microsoft.web/sites/slots/providers/Microsoft.Insights/diagnosticSettings/write", + "display": { + "description": "Creates or updates the diagnostic setting for the resource", + "operation": "Write diagnostic setting", + "provider": "Microsoft Web Apps", + "resource": "Diagnostic setting for Web App slot" + }, + "origin": "system" + }, + { + "name": "microsoft.web/serverfarms/providers/Microsoft.Insights/diagnosticSettings/read", + "display": { + "description": "Gets the diagnostic setting for the resource", + "operation": "Read diagnostic setting", + "provider": "Microsoft Web Apps", + "resource": "Diagnostic setting for App Service plan" + }, + "origin": "system" + }, + { + "name": "microsoft.web/serverfarms/providers/Microsoft.Insights/diagnosticSettings/write", + "display": { + "description": "Creates or updates the diagnostic setting for the resource", + "operation": "Write diagnostic setting", + "provider": "Microsoft Web Apps", + "resource": "Diagnostic setting for App Service plan" + }, + "origin": "system" + }, + { + "name": "microsoft.web/hostingenvironments/providers/Microsoft.Insights/diagnosticSettings/read", + "display": { + "description": "Gets the diagnostic setting for the resource", + "operation": "Read diagnostic setting", + "provider": "Microsoft Web Apps", + "resource": "Diagnostic setting for App Service Environment" + }, + "origin": "system" + }, + { + "name": "microsoft.web/hostingenvironments/providers/Microsoft.Insights/diagnosticSettings/write", + "display": { + "description": "Creates or updates the diagnostic setting for the resource", + "operation": "Write diagnostic setting", + "provider": "Microsoft Web Apps", + "resource": "Diagnostic setting for App Service Environment" + }, + "origin": "system" + }, + { + "name": "microsoft.web/billingmeters/read", + "display": { + "description": "Get list of billing meters.", + "operation": "Read billing meters", + "provider": "Microsoft Web Apps", + "resource": "Billing meters for Microsoft Web Apps" + }, + "origin": "system" + }, + { + "name": "microsoft.web/sites/slots/instances/processes/delete", + "display": { + "description": "Delete Web Apps Slots Instances Processes.", + "operation": "Delete Web Apps Slots Instances Processes", + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Instances Processes" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/restore/write", + "display": { + "description": "Restore Web Apps.", + "operation": "Restore Web Apps", + "provider": "Microsoft Web Apps", + "resource": "Web Apps" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/instances/extensions/log/read", + "display": { + "description": "Get Web Apps Instances Extensions Log.", + "operation": "Get Web Apps Instances Extensions Log", + "provider": "Microsoft Web Apps", + "resource": "Web Apps Instances Extensions Log" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/customapis/write", + "display": { + "description": "Update Custom APIs.", + "operation": "Update Custom APIs", + "provider": "Microsoft Web Apps", + "resource": "Custom APIs" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/customapis/read", + "display": { + "description": "Get Custom APIs.", + "operation": "Get Custom APIs", + "provider": "Microsoft Web Apps", + "resource": "Custom APIs" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/diagnostics/failedrequestsperuri/read", + "display": { + "description": "Get Web Apps Diagnostics Failed Requests Per Uri.", + "operation": "Get Web Apps Diagnostics Failed Requests Per Uri", + "provider": "Microsoft Web Apps", + "resource": "Web Apps Diagnostics Failed Requests Per Uri" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/slots/restore/write", + "display": { + "description": "Restore Web Apps Slots.", + "operation": "Restore Web Apps Slots", + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/diagnostics/detectors/read", + "display": { + "description": "Get Web Apps Diagnostics Detector.", + "operation": "Get Web Apps Diagnostics Detector", + "provider": "Microsoft Web Apps", + "resource": "Web Apps Diagnostics Detector" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/diagnostics/analyses/read", + "display": { + "description": "Get Web Apps Diagnostics Analysis.", + "operation": "Get Web Apps Diagnostics Analysis", + "provider": "Microsoft Web Apps", + "resource": "Web Apps Diagnostics Analysis" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/slots/diagnostics/analyses/read", + "display": { + "description": "Get Web Apps Slots Diagnostics Analysis.", + "operation": "Get Web Apps Slots Diagnostics Analysis", + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Diagnostics Analysis" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/slots/diagnostics/detectors/read", + "display": { + "description": "Get Web Apps Slots Diagnostics Detector.", + "operation": "Get Web Apps Slots Diagnostics Detector", + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Diagnostics Detector" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/diagnostics/analyses/execute/Action", + "display": { + "description": "Run Web Apps Diagnostics Analysis.", + "operation": "Run Web Apps Diagnostics Analysis", + "provider": "Microsoft Web Apps", + "resource": "Web Apps Diagnostics Analysis" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/diagnostics/detectors/execute/Action", + "display": { + "description": "Run Web Apps Diagnostics Detector.", + "operation": "Run Web Apps Diagnostics Detector", + "provider": "Microsoft Web Apps", + "resource": "Web Apps Diagnostics Detector" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/slots/diagnostics/analyses/execute/Action", + "display": { + "description": "Run Web Apps Slots Diagnostics Analysis.", + "operation": "Run Web Apps Slots Diagnostics Analysis", + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Diagnostics Analysis" + }, + "origin": "user,system" + }, + { + "name": "microsoft.web/sites/slots/diagnostics/detectors/execute/Action", + "display": { + "description": "Run Web Apps Slots Diagnostics Detector.", + "operation": "Run Web Apps Slots Diagnostics Detector", + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Diagnostics Detector" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.Web/serverfarms/providers/Microsoft.Insights/metricDefinitions/Read", + "display": { + "description": "Gets the available metrics for App Service Plan", + "operation": "Read App Service Plan metric definitions", + "provider": "Microsoft.Web", + "resource": "The metric definition of App Service Plan" + }, + "origin": "system", + "properties": { + "serviceSpecification": { + "metricSpecifications": [ + { + "name": "CpuPercentage", + "aggregationType": "Average", + "availabilities": [ + { + "blobDuration": "P2D", + "timeGrain": "PT1M" + }, + { + "blobDuration": "P30D", + "timeGrain": "PT1H" + }, + { + "blobDuration": "P90D", + "timeGrain": "P1D" + } + ], + "dimensions": [ + { + "name": "Instance", + "displayName": "Instance", + "internalName": "ServerName", + "toBeExportedForShoebox": true + } + ], + "displayDescription": "CPU Percentage", + "displayName": "CPU Percentage", + "enableRegionalMdmAccount": false, + "fillGapWithZero": true, + "isInternal": false, + "metricFilterPattern": "^(?!functionapp).*$", + "supportsInstanceLevelAggregation": false, + "unit": "Percent" + }, + { + "name": "MemoryPercentage", + "aggregationType": "Average", + "availabilities": [ + { + "blobDuration": "P2D", + "timeGrain": "PT1M" + }, + { + "blobDuration": "P30D", + "timeGrain": "PT1H" + }, + { + "blobDuration": "P90D", + "timeGrain": "P1D" + } + ], + "dimensions": [ + { + "name": "Instance", + "displayName": "Instance", + "internalName": "ServerName", + "toBeExportedForShoebox": true + } + ], + "displayDescription": "Memory Percentage", + "displayName": "Memory Percentage", + "enableRegionalMdmAccount": false, + "fillGapWithZero": true, + "isInternal": false, + "metricFilterPattern": "^(?!functionapp).*$", + "supportsInstanceLevelAggregation": false, + "unit": "Percent" + }, + { + "name": "DiskQueueLength", + "aggregationType": "Average", + "availabilities": [ + { + "blobDuration": "P2D", + "timeGrain": "PT1M" + }, + { + "blobDuration": "P30D", + "timeGrain": "PT1H" + }, + { + "blobDuration": "P90D", + "timeGrain": "P1D" + } + ], + "dimensions": [ + { + "name": "Instance", + "displayName": "Instance", + "internalName": "ServerName", + "toBeExportedForShoebox": true + } + ], + "displayDescription": "Disk Queue Length", + "displayName": "Disk Queue Length", + "enableRegionalMdmAccount": false, + "fillGapWithZero": true, + "isInternal": false, + "metricFilterPattern": "^(?!functionapp).*$", + "supportsInstanceLevelAggregation": false, + "unit": "Count" + }, + { + "name": "HttpQueueLength", + "aggregationType": "Average", + "availabilities": [ + { + "blobDuration": "P2D", + "timeGrain": "PT1M" + }, + { + "blobDuration": "P30D", + "timeGrain": "PT1H" + }, + { + "blobDuration": "P90D", + "timeGrain": "P1D" + } + ], + "dimensions": [ + { + "name": "Instance", + "displayName": "Instance", + "internalName": "ServerName", + "toBeExportedForShoebox": true + } + ], + "displayDescription": "Http Queue Length", + "displayName": "Http Queue Length", + "enableRegionalMdmAccount": false, + "fillGapWithZero": true, + "isInternal": false, + "metricFilterPattern": "^(?!functionapp).*$", + "supportsInstanceLevelAggregation": false, + "unit": "Count" + }, + { + "name": "BytesReceived", + "aggregationType": "Total", + "availabilities": [ + { + "blobDuration": "P2D", + "timeGrain": "PT1M" + }, + { + "blobDuration": "P30D", + "timeGrain": "PT1H" + }, + { + "blobDuration": "P90D", + "timeGrain": "P1D" + } + ], + "dimensions": [ + { + "name": "Instance", + "displayName": "Instance", + "internalName": "ServerName", + "toBeExportedForShoebox": true + } + ], + "displayDescription": "Data In", + "displayName": "Data In", + "enableRegionalMdmAccount": false, + "fillGapWithZero": true, + "isInternal": false, + "metricFilterPattern": "^(?!functionapp).*$", + "supportsInstanceLevelAggregation": false, + "unit": "Bytes" + }, + { + "name": "BytesSent", + "aggregationType": "Total", + "availabilities": [ + { + "blobDuration": "P2D", + "timeGrain": "PT1M" + }, + { + "blobDuration": "P30D", + "timeGrain": "PT1H" + }, + { + "blobDuration": "P90D", + "timeGrain": "P1D" + } + ], + "dimensions": [ + { + "name": "Instance", + "displayName": "Instance", + "internalName": "ServerName", + "toBeExportedForShoebox": true + } + ], + "displayDescription": "Data Out", + "displayName": "Data Out", + "enableRegionalMdmAccount": false, + "fillGapWithZero": true, + "isInternal": false, + "metricFilterPattern": "^(?!functionapp).*$", + "supportsInstanceLevelAggregation": false, + "unit": "Bytes" + } + ] + } + } + }, + { + "name": "Microsoft.Web/sites/providers/Microsoft.Insights/metricDefinitions/Read", + "display": { + "description": "Gets the available metrics for Web App", + "operation": "Read Web App metric definitions", + "provider": "Microsoft.Web", + "resource": "The metric definition of Web App" + }, + "origin": "system", + "properties": { + "serviceSpecification": { + "metricSpecifications": [ + { + "name": "CpuTime", + "aggregationType": "Total", + "availabilities": [ + { + "blobDuration": "P2D", + "timeGrain": "PT1M" + }, + { + "blobDuration": "P30D", + "timeGrain": "PT1H" + }, + { + "blobDuration": "P90D", + "timeGrain": "P1D" + } + ], + "dimensions": [ + { + "name": "Instance", + "displayName": "Instance", + "internalName": "ServerName", + "toBeExportedForShoebox": true + } + ], + "displayDescription": "CPU Time", + "displayName": "CPU Time", + "enableRegionalMdmAccount": false, + "fillGapWithZero": true, + "isInternal": false, + "metricFilterPattern": "^(?!functionapp).*$", + "supportsInstanceLevelAggregation": false, + "unit": "Seconds" + }, + { + "name": "Requests", + "aggregationType": "Total", + "availabilities": [ + { + "blobDuration": "P2D", + "timeGrain": "PT1M" + }, + { + "blobDuration": "P30D", + "timeGrain": "PT1H" + }, + { + "blobDuration": "P90D", + "timeGrain": "P1D" + } + ], + "dimensions": [ + { + "name": "Instance", + "displayName": "Instance", + "internalName": "ServerName", + "toBeExportedForShoebox": true + } + ], + "displayDescription": "Requests", + "displayName": "Requests", + "enableRegionalMdmAccount": false, + "fillGapWithZero": true, + "isInternal": false, + "metricFilterPattern": "^(?!functionapp).*$", + "supportsInstanceLevelAggregation": false, + "unit": "Count" + }, + { + "name": "BytesReceived", + "aggregationType": "Total", + "availabilities": [ + { + "blobDuration": "P2D", + "timeGrain": "PT1M" + }, + { + "blobDuration": "P30D", + "timeGrain": "PT1H" + }, + { + "blobDuration": "P90D", + "timeGrain": "P1D" + } + ], + "dimensions": [ + { + "name": "Instance", + "displayName": "Instance", + "internalName": "ServerName", + "toBeExportedForShoebox": true + } + ], + "displayDescription": "Data In", + "displayName": "Data In", + "enableRegionalMdmAccount": false, + "fillGapWithZero": true, + "isInternal": false, + "supportsInstanceLevelAggregation": false, + "unit": "Bytes" + }, + { + "name": "BytesSent", + "aggregationType": "Total", + "availabilities": [ + { + "blobDuration": "P2D", + "timeGrain": "PT1M" + }, + { + "blobDuration": "P30D", + "timeGrain": "PT1H" + }, + { + "blobDuration": "P90D", + "timeGrain": "P1D" + } + ], + "dimensions": [ + { + "name": "Instance", + "displayName": "Instance", + "internalName": "ServerName", + "toBeExportedForShoebox": true + } + ], + "displayDescription": "Data Out", + "displayName": "Data Out", + "enableRegionalMdmAccount": false, + "fillGapWithZero": true, + "isInternal": false, + "supportsInstanceLevelAggregation": false, + "unit": "Bytes" + }, + { + "name": "Http101", + "aggregationType": "Total", + "availabilities": [ + { + "blobDuration": "P2D", + "timeGrain": "PT1M" + }, + { + "blobDuration": "P30D", + "timeGrain": "PT1H" + }, + { + "blobDuration": "P90D", + "timeGrain": "P1D" + } + ], + "dimensions": [ + { + "name": "Instance", + "displayName": "Instance", + "internalName": "ServerName", + "toBeExportedForShoebox": true + } + ], + "displayDescription": "Http 101", + "displayName": "Http 101", + "enableRegionalMdmAccount": false, + "fillGapWithZero": true, + "isInternal": false, + "metricFilterPattern": "^(?!functionapp).*$", + "supportsInstanceLevelAggregation": false, + "unit": "Count" + }, + { + "name": "Http2xx", + "aggregationType": "Total", + "availabilities": [ + { + "blobDuration": "P2D", + "timeGrain": "PT1M" + }, + { + "blobDuration": "P30D", + "timeGrain": "PT1H" + }, + { + "blobDuration": "P90D", + "timeGrain": "P1D" + } + ], + "dimensions": [ + { + "name": "Instance", + "displayName": "Instance", + "internalName": "ServerName", + "toBeExportedForShoebox": true + } + ], + "displayDescription": "Http 2xx", + "displayName": "Http 2xx", + "enableRegionalMdmAccount": false, + "fillGapWithZero": true, + "isInternal": false, + "metricFilterPattern": "^(?!functionapp).*$", + "supportsInstanceLevelAggregation": false, + "unit": "Count" + }, + { + "name": "Http3xx", + "aggregationType": "Total", + "availabilities": [ + { + "blobDuration": "P2D", + "timeGrain": "PT1M" + }, + { + "blobDuration": "P30D", + "timeGrain": "PT1H" + }, + { + "blobDuration": "P90D", + "timeGrain": "P1D" + } + ], + "dimensions": [ + { + "name": "Instance", + "displayName": "Instance", + "internalName": "ServerName", + "toBeExportedForShoebox": true + } + ], + "displayDescription": "Http 3xx", + "displayName": "Http 3xx", + "enableRegionalMdmAccount": false, + "fillGapWithZero": true, + "isInternal": false, + "metricFilterPattern": "^(?!functionapp).*$", + "supportsInstanceLevelAggregation": false, + "unit": "Count" + }, + { + "name": "Http401", + "aggregationType": "Total", + "availabilities": [ + { + "blobDuration": "P2D", + "timeGrain": "PT1M" + }, + { + "blobDuration": "P30D", + "timeGrain": "PT1H" + }, + { + "blobDuration": "P90D", + "timeGrain": "P1D" + } + ], + "dimensions": [ + { + "name": "Instance", + "displayName": "Instance", + "internalName": "ServerName", + "toBeExportedForShoebox": true + } + ], + "displayDescription": "Http 401", + "displayName": "Http 401", + "enableRegionalMdmAccount": false, + "fillGapWithZero": true, + "isInternal": false, + "metricFilterPattern": "^(?!functionapp).*$", + "supportsInstanceLevelAggregation": false, + "unit": "Count" + }, + { + "name": "Http403", + "aggregationType": "Total", + "availabilities": [ + { + "blobDuration": "P2D", + "timeGrain": "PT1M" + }, + { + "blobDuration": "P30D", + "timeGrain": "PT1H" + }, + { + "blobDuration": "P90D", + "timeGrain": "P1D" + } + ], + "dimensions": [ + { + "name": "Instance", + "displayName": "Instance", + "internalName": "ServerName", + "toBeExportedForShoebox": true + } + ], + "displayDescription": "Http 403", + "displayName": "Http 403", + "enableRegionalMdmAccount": false, + "fillGapWithZero": true, + "isInternal": false, + "metricFilterPattern": "^(?!functionapp).*$", + "supportsInstanceLevelAggregation": false, + "unit": "Count" + }, + { + "name": "Http404", + "aggregationType": "Total", + "availabilities": [ + { + "blobDuration": "P2D", + "timeGrain": "PT1M" + }, + { + "blobDuration": "P30D", + "timeGrain": "PT1H" + }, + { + "blobDuration": "P90D", + "timeGrain": "P1D" + } + ], + "dimensions": [ + { + "name": "Instance", + "displayName": "Instance", + "internalName": "ServerName", + "toBeExportedForShoebox": true + } + ], + "displayDescription": "Http 404", + "displayName": "Http 404", + "enableRegionalMdmAccount": false, + "fillGapWithZero": true, + "isInternal": false, + "metricFilterPattern": "^(?!functionapp).*$", + "supportsInstanceLevelAggregation": false, + "unit": "Count" + }, + { + "name": "Http406", + "aggregationType": "Total", + "availabilities": [ + { + "blobDuration": "P2D", + "timeGrain": "PT1M" + }, + { + "blobDuration": "P30D", + "timeGrain": "PT1H" + }, + { + "blobDuration": "P90D", + "timeGrain": "P1D" + } + ], + "dimensions": [ + { + "name": "Instance", + "displayName": "Instance", + "internalName": "ServerName", + "toBeExportedForShoebox": true + } + ], + "displayDescription": "Http 406", + "displayName": "Http 406", + "enableRegionalMdmAccount": false, + "fillGapWithZero": true, + "isInternal": false, + "metricFilterPattern": "^(?!functionapp).*$", + "supportsInstanceLevelAggregation": false, + "unit": "Count" + }, + { + "name": "Http4xx", + "aggregationType": "Total", + "availabilities": [ + { + "blobDuration": "P2D", + "timeGrain": "PT1M" + }, + { + "blobDuration": "P30D", + "timeGrain": "PT1H" + }, + { + "blobDuration": "P90D", + "timeGrain": "P1D" + } + ], + "dimensions": [ + { + "name": "Instance", + "displayName": "Instance", + "internalName": "ServerName", + "toBeExportedForShoebox": true + } + ], + "displayDescription": "Http 4xx", + "displayName": "Http 4xx", + "enableRegionalMdmAccount": false, + "fillGapWithZero": true, + "isInternal": false, + "metricFilterPattern": "^(?!functionapp).*$", + "supportsInstanceLevelAggregation": false, + "unit": "Count" + }, + { + "name": "Http5xx", + "aggregationType": "Total", + "availabilities": [ + { + "blobDuration": "P2D", + "timeGrain": "PT1M" + }, + { + "blobDuration": "P30D", + "timeGrain": "PT1H" + }, + { + "blobDuration": "P90D", + "timeGrain": "P1D" + } + ], + "dimensions": [ + { + "name": "Instance", + "displayName": "Instance", + "internalName": "ServerName", + "toBeExportedForShoebox": true + } + ], + "displayDescription": "Http Server Errors", + "displayName": "Http Server Errors", + "enableRegionalMdmAccount": false, + "fillGapWithZero": true, + "isInternal": false, + "supportsInstanceLevelAggregation": false, + "unit": "Count" + }, + { + "name": "MemoryWorkingSet", + "aggregationType": "Average", + "availabilities": [ + { + "blobDuration": "P2D", + "timeGrain": "PT1M" + }, + { + "blobDuration": "P30D", + "timeGrain": "PT1H" + }, + { + "blobDuration": "P90D", + "timeGrain": "P1D" + } + ], + "dimensions": [ + { + "name": "Instance", + "displayName": "Instance", + "internalName": "ServerName", + "toBeExportedForShoebox": true + } + ], + "displayDescription": "Memory working set", + "displayName": "Memory working set", + "enableRegionalMdmAccount": false, + "fillGapWithZero": true, + "isInternal": false, + "supportsInstanceLevelAggregation": false, + "unit": "Bytes" + }, + { + "name": "AverageMemoryWorkingSet", + "aggregationType": "Average", + "availabilities": [ + { + "blobDuration": "P2D", + "timeGrain": "PT1M" + }, + { + "blobDuration": "P30D", + "timeGrain": "PT1H" + }, + { + "blobDuration": "P90D", + "timeGrain": "P1D" + } + ], + "dimensions": [ + { + "name": "Instance", + "displayName": "Instance", + "internalName": "ServerName", + "toBeExportedForShoebox": true + } + ], + "displayDescription": "Average memory working set", + "displayName": "Average memory working set", + "enableRegionalMdmAccount": false, + "fillGapWithZero": true, + "isInternal": false, + "supportsInstanceLevelAggregation": false, + "unit": "Bytes" + }, + { + "name": "AverageResponseTime", + "aggregationType": "Average", + "availabilities": [ + { + "blobDuration": "P2D", + "timeGrain": "PT1M" + }, + { + "blobDuration": "P30D", + "timeGrain": "PT1H" + }, + { + "blobDuration": "P90D", + "timeGrain": "P1D" + } + ], + "dimensions": [ + { + "name": "Instance", + "displayName": "Instance", + "internalName": "ServerName", + "toBeExportedForShoebox": true + } + ], + "displayDescription": "Average Response Time", + "displayName": "Average Response Time", + "enableRegionalMdmAccount": false, + "fillGapWithZero": true, + "isInternal": false, + "metricFilterPattern": "^(?!functionapp).*$", + "supportsInstanceLevelAggregation": false, + "unit": "Seconds" + }, + { + "name": "FunctionExecutionUnits", + "aggregationType": "Total", + "availabilities": [ + { + "blobDuration": "P2D", + "timeGrain": "PT1M" + }, + { + "blobDuration": "P30D", + "timeGrain": "PT1H" + }, + { + "blobDuration": "P90D", + "timeGrain": "P1D" + } + ], + "dimensions": [ + { + "name": "Instance", + "displayName": "Instance", + "internalName": "ServerName", + "toBeExportedForShoebox": true + } + ], + "displayDescription": "Function Execution Units", + "displayName": "Function Execution Units", + "enableRegionalMdmAccount": false, + "fillGapWithZero": true, + "isInternal": false, + "metricFilterPattern": "(?i:functionapp)", + "supportsInstanceLevelAggregation": false, + "unit": "Count" + }, + { + "name": "FunctionExecutionCount", + "aggregationType": "Total", + "availabilities": [ + { + "blobDuration": "P2D", + "timeGrain": "PT1M" + }, + { + "blobDuration": "P30D", + "timeGrain": "PT1H" + }, + { + "blobDuration": "P90D", + "timeGrain": "P1D" + } + ], + "dimensions": [ + { + "name": "Instance", + "displayName": "Instance", + "internalName": "ServerName", + "toBeExportedForShoebox": true + } + ], + "displayDescription": "Function Execution Count", + "displayName": "Function Execution Count", + "enableRegionalMdmAccount": false, + "fillGapWithZero": true, + "isInternal": false, + "metricFilterPattern": "(?i:functionapp)", + "supportsInstanceLevelAggregation": false, + "unit": "Count" + } + ] + } + } + }, + { + "name": "Microsoft.Web/sites/slots/providers/Microsoft.Insights/metricDefinitions/Read", + "display": { + "description": "Gets the available metrics for Web App Slot", + "operation": "Read Web App Slot metric definitions", + "provider": "Microsoft.Web", + "resource": "The metric definition of Web App Slot" + }, + "origin": "system", + "properties": { + "serviceSpecification": { + "metricSpecifications": [ + { + "name": "CpuTime", + "aggregationType": "Total", + "availabilities": [ + { + "blobDuration": "P2D", + "timeGrain": "PT1M" + }, + { + "blobDuration": "P30D", + "timeGrain": "PT1H" + }, + { + "blobDuration": "P90D", + "timeGrain": "P1D" + } + ], + "dimensions": [ + { + "name": "Instance", + "displayName": "Instance", + "internalName": "ServerName", + "toBeExportedForShoebox": true + } + ], + "displayDescription": "CPU Time", + "displayName": "CPU Time", + "enableRegionalMdmAccount": false, + "fillGapWithZero": true, + "isInternal": false, + "metricFilterPattern": "^(?!functionapp).*$", + "supportsInstanceLevelAggregation": false, + "unit": "Seconds" + }, + { + "name": "Requests", + "aggregationType": "Total", + "availabilities": [ + { + "blobDuration": "P2D", + "timeGrain": "PT1M" + }, + { + "blobDuration": "P30D", + "timeGrain": "PT1H" + }, + { + "blobDuration": "P90D", + "timeGrain": "P1D" + } + ], + "dimensions": [ + { + "name": "Instance", + "displayName": "Instance", + "internalName": "ServerName", + "toBeExportedForShoebox": true + } + ], + "displayDescription": "Requests", + "displayName": "Requests", + "enableRegionalMdmAccount": false, + "fillGapWithZero": true, + "isInternal": false, + "metricFilterPattern": "^(?!functionapp).*$", + "supportsInstanceLevelAggregation": false, + "unit": "Count" + }, + { + "name": "BytesReceived", + "aggregationType": "Total", + "availabilities": [ + { + "blobDuration": "P2D", + "timeGrain": "PT1M" + }, + { + "blobDuration": "P30D", + "timeGrain": "PT1H" + }, + { + "blobDuration": "P90D", + "timeGrain": "P1D" + } + ], + "dimensions": [ + { + "name": "Instance", + "displayName": "Instance", + "internalName": "ServerName", + "toBeExportedForShoebox": true + } + ], + "displayDescription": "Data In", + "displayName": "Data In", + "enableRegionalMdmAccount": false, + "fillGapWithZero": true, + "isInternal": false, + "supportsInstanceLevelAggregation": false, + "unit": "Bytes" + }, + { + "name": "BytesSent", + "aggregationType": "Total", + "availabilities": [ + { + "blobDuration": "P2D", + "timeGrain": "PT1M" + }, + { + "blobDuration": "P30D", + "timeGrain": "PT1H" + }, + { + "blobDuration": "P90D", + "timeGrain": "P1D" + } + ], + "dimensions": [ + { + "name": "Instance", + "displayName": "Instance", + "internalName": "ServerName", + "toBeExportedForShoebox": true + } + ], + "displayDescription": "Data Out", + "displayName": "Data Out", + "enableRegionalMdmAccount": false, + "fillGapWithZero": true, + "isInternal": false, + "supportsInstanceLevelAggregation": false, + "unit": "Bytes" + }, + { + "name": "Http101", + "aggregationType": "Total", + "availabilities": [ + { + "blobDuration": "P2D", + "timeGrain": "PT1M" + }, + { + "blobDuration": "P30D", + "timeGrain": "PT1H" + }, + { + "blobDuration": "P90D", + "timeGrain": "P1D" + } + ], + "dimensions": [ + { + "name": "Instance", + "displayName": "Instance", + "internalName": "ServerName", + "toBeExportedForShoebox": true + } + ], + "displayDescription": "Http 101", + "displayName": "Http 101", + "enableRegionalMdmAccount": false, + "fillGapWithZero": true, + "isInternal": false, + "metricFilterPattern": "^(?!functionapp).*$", + "supportsInstanceLevelAggregation": false, + "unit": "Count" + }, + { + "name": "Http2xx", + "aggregationType": "Total", + "availabilities": [ + { + "blobDuration": "P2D", + "timeGrain": "PT1M" + }, + { + "blobDuration": "P30D", + "timeGrain": "PT1H" + }, + { + "blobDuration": "P90D", + "timeGrain": "P1D" + } + ], + "dimensions": [ + { + "name": "Instance", + "displayName": "Instance", + "internalName": "ServerName", + "toBeExportedForShoebox": true + } + ], + "displayDescription": "Http 2xx", + "displayName": "Http 2xx", + "enableRegionalMdmAccount": false, + "fillGapWithZero": true, + "isInternal": false, + "metricFilterPattern": "^(?!functionapp).*$", + "supportsInstanceLevelAggregation": false, + "unit": "Count" + }, + { + "name": "Http3xx", + "aggregationType": "Total", + "availabilities": [ + { + "blobDuration": "P2D", + "timeGrain": "PT1M" + }, + { + "blobDuration": "P30D", + "timeGrain": "PT1H" + }, + { + "blobDuration": "P90D", + "timeGrain": "P1D" + } + ], + "dimensions": [ + { + "name": "Instance", + "displayName": "Instance", + "internalName": "ServerName", + "toBeExportedForShoebox": true + } + ], + "displayDescription": "Http 3xx", + "displayName": "Http 3xx", + "enableRegionalMdmAccount": false, + "fillGapWithZero": true, + "isInternal": false, + "metricFilterPattern": "^(?!functionapp).*$", + "supportsInstanceLevelAggregation": false, + "unit": "Count" + }, + { + "name": "Http401", + "aggregationType": "Total", + "availabilities": [ + { + "blobDuration": "P2D", + "timeGrain": "PT1M" + }, + { + "blobDuration": "P30D", + "timeGrain": "PT1H" + }, + { + "blobDuration": "P90D", + "timeGrain": "P1D" + } + ], + "dimensions": [ + { + "name": "Instance", + "displayName": "Instance", + "internalName": "ServerName", + "toBeExportedForShoebox": true + } + ], + "displayDescription": "Http 401", + "displayName": "Http 401", + "enableRegionalMdmAccount": false, + "fillGapWithZero": true, + "isInternal": false, + "metricFilterPattern": "^(?!functionapp).*$", + "supportsInstanceLevelAggregation": false, + "unit": "Count" + }, + { + "name": "Http403", + "aggregationType": "Total", + "availabilities": [ + { + "blobDuration": "P2D", + "timeGrain": "PT1M" + }, + { + "blobDuration": "P30D", + "timeGrain": "PT1H" + }, + { + "blobDuration": "P90D", + "timeGrain": "P1D" + } + ], + "dimensions": [ + { + "name": "Instance", + "displayName": "Instance", + "internalName": "ServerName", + "toBeExportedForShoebox": true + } + ], + "displayDescription": "Http 403", + "displayName": "Http 403", + "enableRegionalMdmAccount": false, + "fillGapWithZero": true, + "isInternal": false, + "metricFilterPattern": "^(?!functionapp).*$", + "supportsInstanceLevelAggregation": false, + "unit": "Count" + }, + { + "name": "Http404", + "aggregationType": "Total", + "availabilities": [ + { + "blobDuration": "P2D", + "timeGrain": "PT1M" + }, + { + "blobDuration": "P30D", + "timeGrain": "PT1H" + }, + { + "blobDuration": "P90D", + "timeGrain": "P1D" + } + ], + "dimensions": [ + { + "name": "Instance", + "displayName": "Instance", + "internalName": "ServerName", + "toBeExportedForShoebox": true + } + ], + "displayDescription": "Http 404", + "displayName": "Http 404", + "enableRegionalMdmAccount": false, + "fillGapWithZero": true, + "isInternal": false, + "metricFilterPattern": "^(?!functionapp).*$", + "supportsInstanceLevelAggregation": false, + "unit": "Count" + }, + { + "name": "Http406", + "aggregationType": "Total", + "availabilities": [ + { + "blobDuration": "P2D", + "timeGrain": "PT1M" + }, + { + "blobDuration": "P30D", + "timeGrain": "PT1H" + }, + { + "blobDuration": "P90D", + "timeGrain": "P1D" + } + ], + "dimensions": [ + { + "name": "Instance", + "displayName": "Instance", + "internalName": "ServerName", + "toBeExportedForShoebox": true + } + ], + "displayDescription": "Http 406", + "displayName": "Http 406", + "enableRegionalMdmAccount": false, + "fillGapWithZero": true, + "isInternal": false, + "metricFilterPattern": "^(?!functionapp).*$", + "supportsInstanceLevelAggregation": false, + "unit": "Count" + }, + { + "name": "Http4xx", + "aggregationType": "Total", + "availabilities": [ + { + "blobDuration": "P2D", + "timeGrain": "PT1M" + }, + { + "blobDuration": "P30D", + "timeGrain": "PT1H" + }, + { + "blobDuration": "P90D", + "timeGrain": "P1D" + } + ], + "dimensions": [ + { + "name": "Instance", + "displayName": "Instance", + "internalName": "ServerName", + "toBeExportedForShoebox": true + } + ], + "displayDescription": "Http 4xx", + "displayName": "Http 4xx", + "enableRegionalMdmAccount": false, + "fillGapWithZero": true, + "isInternal": false, + "metricFilterPattern": "^(?!functionapp).*$", + "supportsInstanceLevelAggregation": false, + "unit": "Count" + }, + { + "name": "Http5xx", + "aggregationType": "Total", + "availabilities": [ + { + "blobDuration": "P2D", + "timeGrain": "PT1M" + }, + { + "blobDuration": "P30D", + "timeGrain": "PT1H" + }, + { + "blobDuration": "P90D", + "timeGrain": "P1D" + } + ], + "dimensions": [ + { + "name": "Instance", + "displayName": "Instance", + "internalName": "ServerName", + "toBeExportedForShoebox": true + } + ], + "displayDescription": "Http Server Errors", + "displayName": "Http Server Errors", + "enableRegionalMdmAccount": false, + "fillGapWithZero": true, + "isInternal": false, + "supportsInstanceLevelAggregation": false, + "unit": "Count" + }, + { + "name": "MemoryWorkingSet", + "aggregationType": "Average", + "availabilities": [ + { + "blobDuration": "P2D", + "timeGrain": "PT1M" + }, + { + "blobDuration": "P30D", + "timeGrain": "PT1H" + }, + { + "blobDuration": "P90D", + "timeGrain": "P1D" + } + ], + "dimensions": [ + { + "name": "Instance", + "displayName": "Instance", + "internalName": "ServerName", + "toBeExportedForShoebox": true + } + ], + "displayDescription": "Memory working set", + "displayName": "Memory working set", + "enableRegionalMdmAccount": false, + "fillGapWithZero": true, + "isInternal": false, + "supportsInstanceLevelAggregation": false, + "unit": "Bytes" + }, + { + "name": "AverageMemoryWorkingSet", + "aggregationType": "Average", + "availabilities": [ + { + "blobDuration": "P2D", + "timeGrain": "PT1M" + }, + { + "blobDuration": "P30D", + "timeGrain": "PT1H" + }, + { + "blobDuration": "P90D", + "timeGrain": "P1D" + } + ], + "dimensions": [ + { + "name": "Instance", + "displayName": "Instance", + "internalName": "ServerName", + "toBeExportedForShoebox": true + } + ], + "displayDescription": "Average memory working set", + "displayName": "Average memory working set", + "enableRegionalMdmAccount": false, + "fillGapWithZero": true, + "isInternal": false, + "supportsInstanceLevelAggregation": false, + "unit": "Bytes" + }, + { + "name": "AverageResponseTime", + "aggregationType": "Average", + "availabilities": [ + { + "blobDuration": "P2D", + "timeGrain": "PT1M" + }, + { + "blobDuration": "P30D", + "timeGrain": "PT1H" + }, + { + "blobDuration": "P90D", + "timeGrain": "P1D" + } + ], + "dimensions": [ + { + "name": "Instance", + "displayName": "Instance", + "internalName": "ServerName", + "toBeExportedForShoebox": true + } + ], + "displayDescription": "Average Response Time", + "displayName": "Average Response Time", + "enableRegionalMdmAccount": false, + "fillGapWithZero": true, + "isInternal": false, + "metricFilterPattern": "^(?!functionapp).*$", + "supportsInstanceLevelAggregation": false, + "unit": "Seconds" + }, + { + "name": "FunctionExecutionUnits", + "aggregationType": "Total", + "availabilities": [ + { + "blobDuration": "P2D", + "timeGrain": "PT1M" + }, + { + "blobDuration": "P30D", + "timeGrain": "PT1H" + }, + { + "blobDuration": "P90D", + "timeGrain": "P1D" + } + ], + "dimensions": [ + { + "name": "Instance", + "displayName": "Instance", + "internalName": "ServerName", + "toBeExportedForShoebox": true + } + ], + "displayDescription": "Function Execution Units", + "displayName": "Function Execution Units", + "enableRegionalMdmAccount": false, + "fillGapWithZero": true, + "isInternal": false, + "metricFilterPattern": "(?i:functionapp)", + "supportsInstanceLevelAggregation": false, + "unit": "Count" + }, + { + "name": "FunctionExecutionCount", + "aggregationType": "Total", + "availabilities": [ + { + "blobDuration": "P2D", + "timeGrain": "PT1M" + }, + { + "blobDuration": "P30D", + "timeGrain": "PT1H" + }, + { + "blobDuration": "P90D", + "timeGrain": "P1D" + } + ], + "dimensions": [ + { + "name": "Instance", + "displayName": "Instance", + "internalName": "ServerName", + "toBeExportedForShoebox": true + } + ], + "displayDescription": "Function Execution Count", + "displayName": "Function Execution Count", + "enableRegionalMdmAccount": false, + "fillGapWithZero": true, + "isInternal": false, + "metricFilterPattern": "(?i:functionapp)", + "supportsInstanceLevelAggregation": false, + "unit": "Count" + } + ] + } + } + }, + { + "name": "Microsoft.Web/hostingEnvironments/multiRolePools/providers/Microsoft.Insights/metricDefinitions/Read", + "display": { + "description": "Gets the available metrics for App Service Environment MultiRole", + "operation": "Read App Service Environment MultiRole metric definitions", + "provider": "Microsoft.Web", + "resource": "The metric definition of App Service Environment MultiRole" + }, + "origin": "system", + "properties": { + "serviceSpecification": { + "metricSpecifications": [ + { + "name": "Requests", + "aggregationType": "Total", + "availabilities": [ + { + "blobDuration": "P2D", + "timeGrain": "PT1M" + }, + { + "blobDuration": "P30D", + "timeGrain": "PT1H" + }, + { + "blobDuration": "P90D", + "timeGrain": "P1D" + } + ], + "dimensions": [ + { + "name": "Instance", + "displayName": "Instance", + "internalName": "ServerName", + "toBeExportedForShoebox": true + } + ], + "displayDescription": "Requests", + "displayName": "Requests", + "enableRegionalMdmAccount": false, + "fillGapWithZero": true, + "isInternal": false, + "supportsInstanceLevelAggregation": false, + "unit": "Count" + }, + { + "name": "BytesReceived", + "aggregationType": "Total", + "availabilities": [ + { + "blobDuration": "P2D", + "timeGrain": "PT1M" + }, + { + "blobDuration": "P30D", + "timeGrain": "PT1H" + }, + { + "blobDuration": "P90D", + "timeGrain": "P1D" + } + ], + "dimensions": [ + { + "name": "Instance", + "displayName": "Instance", + "internalName": "ServerName", + "toBeExportedForShoebox": true + } + ], + "displayDescription": "Data In", + "displayName": "Data In", + "enableRegionalMdmAccount": false, + "fillGapWithZero": true, + "isInternal": false, + "supportsInstanceLevelAggregation": false, + "unit": "Bytes" + }, + { + "name": "BytesSent", + "aggregationType": "Total", + "availabilities": [ + { + "blobDuration": "P2D", + "timeGrain": "PT1M" + }, + { + "blobDuration": "P30D", + "timeGrain": "PT1H" + }, + { + "blobDuration": "P90D", + "timeGrain": "P1D" + } + ], + "dimensions": [ + { + "name": "Instance", + "displayName": "Instance", + "internalName": "ServerName", + "toBeExportedForShoebox": true + } + ], + "displayDescription": "Data Out", + "displayName": "Data Out", + "enableRegionalMdmAccount": false, + "fillGapWithZero": true, + "isInternal": false, + "supportsInstanceLevelAggregation": false, + "unit": "Bytes" + }, + { + "name": "Http101", + "aggregationType": "Total", + "availabilities": [ + { + "blobDuration": "P2D", + "timeGrain": "PT1M" + }, + { + "blobDuration": "P30D", + "timeGrain": "PT1H" + }, + { + "blobDuration": "P90D", + "timeGrain": "P1D" + } + ], + "dimensions": [ + { + "name": "Instance", + "displayName": "Instance", + "internalName": "ServerName", + "toBeExportedForShoebox": true + } + ], + "displayDescription": "Http 101", + "displayName": "Http 101", + "enableRegionalMdmAccount": false, + "fillGapWithZero": true, + "isInternal": false, + "supportsInstanceLevelAggregation": false, + "unit": "Count" + }, + { + "name": "Http2xx", + "aggregationType": "Total", + "availabilities": [ + { + "blobDuration": "P2D", + "timeGrain": "PT1M" + }, + { + "blobDuration": "P30D", + "timeGrain": "PT1H" + }, + { + "blobDuration": "P90D", + "timeGrain": "P1D" + } + ], + "dimensions": [ + { + "name": "Instance", + "displayName": "Instance", + "internalName": "ServerName", + "toBeExportedForShoebox": true + } + ], + "displayDescription": "Http 2xx", + "displayName": "Http 2xx", + "enableRegionalMdmAccount": false, + "fillGapWithZero": true, + "isInternal": false, + "supportsInstanceLevelAggregation": false, + "unit": "Count" + }, + { + "name": "Http3xx", + "aggregationType": "Total", + "availabilities": [ + { + "blobDuration": "P2D", + "timeGrain": "PT1M" + }, + { + "blobDuration": "P30D", + "timeGrain": "PT1H" + }, + { + "blobDuration": "P90D", + "timeGrain": "P1D" + } + ], + "dimensions": [ + { + "name": "Instance", + "displayName": "Instance", + "internalName": "ServerName", + "toBeExportedForShoebox": true + } + ], + "displayDescription": "Http 3xx", + "displayName": "Http 3xx", + "enableRegionalMdmAccount": false, + "fillGapWithZero": true, + "isInternal": false, + "supportsInstanceLevelAggregation": false, + "unit": "Count" + }, + { + "name": "Http401", + "aggregationType": "Total", + "availabilities": [ + { + "blobDuration": "P2D", + "timeGrain": "PT1M" + }, + { + "blobDuration": "P30D", + "timeGrain": "PT1H" + }, + { + "blobDuration": "P90D", + "timeGrain": "P1D" + } + ], + "dimensions": [ + { + "name": "Instance", + "displayName": "Instance", + "internalName": "ServerName", + "toBeExportedForShoebox": true + } + ], + "displayDescription": "Http 401", + "displayName": "Http 401", + "enableRegionalMdmAccount": false, + "fillGapWithZero": true, + "isInternal": false, + "supportsInstanceLevelAggregation": false, + "unit": "Count" + }, + { + "name": "Http403", + "aggregationType": "Total", + "availabilities": [ + { + "blobDuration": "P2D", + "timeGrain": "PT1M" + }, + { + "blobDuration": "P30D", + "timeGrain": "PT1H" + }, + { + "blobDuration": "P90D", + "timeGrain": "P1D" + } + ], + "dimensions": [ + { + "name": "Instance", + "displayName": "Instance", + "internalName": "ServerName", + "toBeExportedForShoebox": true + } + ], + "displayDescription": "Http 403", + "displayName": "Http 403", + "enableRegionalMdmAccount": false, + "fillGapWithZero": true, + "isInternal": false, + "supportsInstanceLevelAggregation": false, + "unit": "Count" + }, + { + "name": "Http404", + "aggregationType": "Total", + "availabilities": [ + { + "blobDuration": "P2D", + "timeGrain": "PT1M" + }, + { + "blobDuration": "P30D", + "timeGrain": "PT1H" + }, + { + "blobDuration": "P90D", + "timeGrain": "P1D" + } + ], + "dimensions": [ + { + "name": "Instance", + "displayName": "Instance", + "internalName": "ServerName", + "toBeExportedForShoebox": true + } + ], + "displayDescription": "Http 404", + "displayName": "Http 404", + "enableRegionalMdmAccount": false, + "fillGapWithZero": true, + "isInternal": false, + "supportsInstanceLevelAggregation": false, + "unit": "Count" + }, + { + "name": "Http406", + "aggregationType": "Total", + "availabilities": [ + { + "blobDuration": "P2D", + "timeGrain": "PT1M" + }, + { + "blobDuration": "P30D", + "timeGrain": "PT1H" + }, + { + "blobDuration": "P90D", + "timeGrain": "P1D" + } + ], + "dimensions": [ + { + "name": "Instance", + "displayName": "Instance", + "internalName": "ServerName", + "toBeExportedForShoebox": true + } + ], + "displayDescription": "Http 406", + "displayName": "Http 406", + "enableRegionalMdmAccount": false, + "fillGapWithZero": true, + "isInternal": false, + "supportsInstanceLevelAggregation": false, + "unit": "Count" + }, + { + "name": "Http4xx", + "aggregationType": "Total", + "availabilities": [ + { + "blobDuration": "P2D", + "timeGrain": "PT1M" + }, + { + "blobDuration": "P30D", + "timeGrain": "PT1H" + }, + { + "blobDuration": "P90D", + "timeGrain": "P1D" + } + ], + "dimensions": [ + { + "name": "Instance", + "displayName": "Instance", + "internalName": "ServerName", + "toBeExportedForShoebox": true + } + ], + "displayDescription": "Http 4xx", + "displayName": "Http 4xx", + "enableRegionalMdmAccount": false, + "fillGapWithZero": true, + "isInternal": false, + "supportsInstanceLevelAggregation": false, + "unit": "Count" + }, + { + "name": "Http5xx", + "aggregationType": "Total", + "availabilities": [ + { + "blobDuration": "P2D", + "timeGrain": "PT1M" + }, + { + "blobDuration": "P30D", + "timeGrain": "PT1H" + }, + { + "blobDuration": "P90D", + "timeGrain": "P1D" + } + ], + "dimensions": [ + { + "name": "Instance", + "displayName": "Instance", + "internalName": "ServerName", + "toBeExportedForShoebox": true + } + ], + "displayDescription": "Http Server Errors", + "displayName": "Http Server Errors", + "enableRegionalMdmAccount": false, + "fillGapWithZero": true, + "isInternal": false, + "supportsInstanceLevelAggregation": false, + "unit": "Count" + }, + { + "name": "AverageResponseTime", + "aggregationType": "Average", + "availabilities": [ + { + "blobDuration": "P2D", + "timeGrain": "PT1M" + }, + { + "blobDuration": "P30D", + "timeGrain": "PT1H" + }, + { + "blobDuration": "P90D", + "timeGrain": "P1D" + } + ], + "dimensions": [ + { + "name": "Instance", + "displayName": "Instance", + "internalName": "ServerName", + "toBeExportedForShoebox": true + } + ], + "displayDescription": "Average Response Time", + "displayName": "Average Response Time", + "enableRegionalMdmAccount": false, + "fillGapWithZero": true, + "isInternal": false, + "supportsInstanceLevelAggregation": false, + "unit": "Seconds" + }, + { + "name": "CpuPercentage", + "aggregationType": "Average", + "availabilities": [ + { + "blobDuration": "P2D", + "timeGrain": "PT1M" + }, + { + "blobDuration": "P30D", + "timeGrain": "PT1H" + }, + { + "blobDuration": "P90D", + "timeGrain": "P1D" + } + ], + "dimensions": [ + { + "name": "Instance", + "displayName": "Instance", + "internalName": "ServerName", + "toBeExportedForShoebox": true + } + ], + "displayDescription": "CPU Percentage", + "displayName": "CPU Percentage", + "enableRegionalMdmAccount": false, + "fillGapWithZero": true, + "isInternal": false, + "supportsInstanceLevelAggregation": false, + "unit": "Percent" + }, + { + "name": "MemoryPercentage", + "aggregationType": "Average", + "availabilities": [ + { + "blobDuration": "P2D", + "timeGrain": "PT1M" + }, + { + "blobDuration": "P30D", + "timeGrain": "PT1H" + }, + { + "blobDuration": "P90D", + "timeGrain": "P1D" + } + ], + "dimensions": [ + { + "name": "Instance", + "displayName": "Instance", + "internalName": "ServerName", + "toBeExportedForShoebox": true + } + ], + "displayDescription": "Memory Percentage", + "displayName": "Memory Percentage", + "enableRegionalMdmAccount": false, + "fillGapWithZero": true, + "isInternal": false, + "supportsInstanceLevelAggregation": false, + "unit": "Percent" + }, + { + "name": "DiskQueueLength", + "aggregationType": "Average", + "availabilities": [ + { + "blobDuration": "P2D", + "timeGrain": "PT1M" + }, + { + "blobDuration": "P30D", + "timeGrain": "PT1H" + }, + { + "blobDuration": "P90D", + "timeGrain": "P1D" + } + ], + "dimensions": [ + { + "name": "Instance", + "displayName": "Instance", + "internalName": "ServerName", + "toBeExportedForShoebox": true + } + ], + "displayDescription": "Disk Queue Length", + "displayName": "Disk Queue Length", + "enableRegionalMdmAccount": false, + "fillGapWithZero": true, + "isInternal": false, + "supportsInstanceLevelAggregation": false, + "unit": "Count" + }, + { + "name": "HttpQueueLength", + "aggregationType": "Average", + "availabilities": [ + { + "blobDuration": "P2D", + "timeGrain": "PT1M" + }, + { + "blobDuration": "P30D", + "timeGrain": "PT1H" + }, + { + "blobDuration": "P90D", + "timeGrain": "P1D" + } + ], + "dimensions": [ + { + "name": "Instance", + "displayName": "Instance", + "internalName": "ServerName", + "toBeExportedForShoebox": true + } + ], + "displayDescription": "Http Queue Length", + "displayName": "Http Queue Length", + "enableRegionalMdmAccount": false, + "fillGapWithZero": true, + "isInternal": false, + "supportsInstanceLevelAggregation": false, + "unit": "Count" + }, + { + "name": "ActiveRequests", + "aggregationType": "Total", + "availabilities": [ + { + "blobDuration": "P2D", + "timeGrain": "PT1M" + }, + { + "blobDuration": "P30D", + "timeGrain": "PT1H" + }, + { + "blobDuration": "P90D", + "timeGrain": "P1D" + } + ], + "dimensions": [ + { + "name": "Instance", + "displayName": "Instance", + "internalName": "ServerName", + "toBeExportedForShoebox": true + } + ], + "displayDescription": "Active Requests", + "displayName": "Active Requests", + "enableRegionalMdmAccount": false, + "fillGapWithZero": true, + "isInternal": false, + "supportsInstanceLevelAggregation": false, + "unit": "Count" + }, + { + "name": "TotalFrontEnds", + "aggregationType": "Average", + "availabilities": [ + { + "blobDuration": "P2D", + "timeGrain": "PT1M" + }, + { + "blobDuration": "P30D", + "timeGrain": "PT1H" + }, + { + "blobDuration": "P90D", + "timeGrain": "P1D" + } + ], + "displayDescription": "Total Front Ends", + "displayName": "Total Front Ends", + "enableRegionalMdmAccount": false, + "fillGapWithZero": true, + "isInternal": false, + "supportsInstanceLevelAggregation": false, + "unit": "Count" + }, + { + "name": "SmallAppServicePlanInstances", + "aggregationType": "Average", + "availabilities": [ + { + "blobDuration": "P2D", + "timeGrain": "PT1M" + }, + { + "blobDuration": "P30D", + "timeGrain": "PT1H" + }, + { + "blobDuration": "P90D", + "timeGrain": "P1D" + } + ], + "displayDescription": "Small App Service Plan Workers", + "displayName": "Small App Service Plan Workers", + "enableRegionalMdmAccount": false, + "fillGapWithZero": true, + "isInternal": false, + "supportsInstanceLevelAggregation": false, + "unit": "Count" + }, + { + "name": "MediumAppServicePlanInstances", + "aggregationType": "Average", + "availabilities": [ + { + "blobDuration": "P2D", + "timeGrain": "PT1M" + }, + { + "blobDuration": "P30D", + "timeGrain": "PT1H" + }, + { + "blobDuration": "P90D", + "timeGrain": "P1D" + } + ], + "displayDescription": "Medium App Service Plan Workers", + "displayName": "Medium App Service Plan Workers", + "enableRegionalMdmAccount": false, + "fillGapWithZero": true, + "isInternal": false, + "supportsInstanceLevelAggregation": false, + "unit": "Count" + }, + { + "name": "LargeAppServicePlanInstances", + "aggregationType": "Average", + "availabilities": [ + { + "blobDuration": "P2D", + "timeGrain": "PT1M" + }, + { + "blobDuration": "P30D", + "timeGrain": "PT1H" + }, + { + "blobDuration": "P90D", + "timeGrain": "P1D" + } + ], + "displayDescription": "Large App Service Plan Workers", + "displayName": "Large App Service Plan Workers", + "enableRegionalMdmAccount": false, + "fillGapWithZero": true, + "isInternal": false, + "supportsInstanceLevelAggregation": false, + "unit": "Count" + } + ] + } + } + }, + { + "name": "Microsoft.Web/hostingEnvironments/workerPools/providers/Microsoft.Insights/metricDefinitions/Read", + "display": { + "description": "Gets the available metrics for App Service Environment WorkerPool", + "operation": "Read App Service Environment WorkerPool metric definitions", + "provider": "Microsoft.Web", + "resource": "The metric definition of App Service Environment WorkerPool" + }, + "origin": "system", + "properties": { + "serviceSpecification": { + "metricSpecifications": [ + { + "name": "WorkersTotal", + "aggregationType": "Average", + "availabilities": [ + { + "blobDuration": "P2D", + "timeGrain": "PT1M" + }, + { + "blobDuration": "P30D", + "timeGrain": "PT1H" + }, + { + "blobDuration": "P90D", + "timeGrain": "P1D" + } + ], + "displayDescription": "Total Workers", + "displayName": "Total Workers", + "enableRegionalMdmAccount": false, + "fillGapWithZero": true, + "isInternal": false, + "supportsInstanceLevelAggregation": false, + "unit": "Count" + }, + { + "name": "WorkersAvailable", + "aggregationType": "Average", + "availabilities": [ + { + "blobDuration": "P2D", + "timeGrain": "PT1M" + }, + { + "blobDuration": "P30D", + "timeGrain": "PT1H" + }, + { + "blobDuration": "P90D", + "timeGrain": "P1D" + } + ], + "displayDescription": "Available Workers", + "displayName": "Available Workers", + "enableRegionalMdmAccount": false, + "fillGapWithZero": true, + "isInternal": false, + "supportsInstanceLevelAggregation": false, + "unit": "Count" + }, + { + "name": "WorkersUsed", + "aggregationType": "Average", + "availabilities": [ + { + "blobDuration": "P2D", + "timeGrain": "PT1M" + }, + { + "blobDuration": "P30D", + "timeGrain": "PT1H" + }, + { + "blobDuration": "P90D", + "timeGrain": "P1D" + } + ], + "displayDescription": "Used Workers", + "displayName": "Used Workers", + "enableRegionalMdmAccount": false, + "fillGapWithZero": true, + "isInternal": false, + "supportsInstanceLevelAggregation": false, + "unit": "Count" + } + ] + } + } + } + ] + }, + "headers": {} + } + }, + "operationId": "Provider_ListOperations", + "title": "List operations" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/ListPublishingCredentialsPolicies.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/ListPublishingCredentialsPolicies.json new file mode 100644 index 000000000000..4b5164b98d34 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/ListPublishingCredentialsPolicies.json @@ -0,0 +1,35 @@ +{ + "parameters": { + "name": "testsite", + "api-version": "2025-03-01", + "resourceGroupName": "testrg123", + "subscriptionId": "3fb8d758-2e2c-42e9-a528-a8acdfe87237" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "ftp", + "type": "Microsoft.Web/sites/basicPublishingCredentialsPolicies", + "id": "/subscriptions/3fb8d758-2e2c-42e9-a528-a8acdfe87237/resourceGroups/testrg123/providers/Microsoft.Web/sites/testsite/basicPublishingCredentialsPolicies/ftp", + "properties": { + "allow": true + } + }, + { + "name": "scm", + "type": "Microsoft.Web/sites/basicPublishingCredentialsPolicies", + "id": "/subscriptions/3fb8d758-2e2c-42e9-a528-a8acdfe87237/resourceGroups/testrg123/providers/Microsoft.Web/sites/testsite/basicPublishingCredentialsPolicies/scm", + "properties": { + "allow": true + } + } + ] + }, + "headers": {} + } + }, + "operationId": "WebApps_ListBasicPublishingCredentialsPolicies", + "title": "List Publishing Credentials Policies" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/ListPublishingCredentialsPoliciesSlot.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/ListPublishingCredentialsPoliciesSlot.json new file mode 100644 index 000000000000..f6b70a225edd --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/ListPublishingCredentialsPoliciesSlot.json @@ -0,0 +1,36 @@ +{ + "parameters": { + "name": "testsite", + "api-version": "2025-03-01", + "resourceGroupName": "testrg123", + "slot": "staging", + "subscriptionId": "3fb8d758-2e2c-42e9-a528-a8acdfe87237" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "ftp", + "type": "Microsoft.Web/sites/slots/basicPublishingCredentialsPolicies", + "id": "/subscriptions/3fb8d758-2e2c-42e9-a528-a8acdfe87237/resourceGroups/testrg123/providers/Microsoft.Web/sites/testsite/slots/staging/basicPublishingCredentialsPolicies/ftp", + "properties": { + "allow": true + } + }, + { + "name": "scm", + "type": "Microsoft.Web/sites/slots/basicPublishingCredentialsPolicies", + "id": "/subscriptions/3fb8d758-2e2c-42e9-a528-a8acdfe87237/resourceGroups/testrg123/providers/Microsoft.Web/sites/testsite/slots/staging/basicPublishingCredentialsPolicies/scm", + "properties": { + "allow": true + } + } + ] + }, + "headers": {} + } + }, + "operationId": "WebApps_ListBasicPublishingCredentialsPoliciesSlot", + "title": "List Publishing Credentials Policies" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/ListResourceHealthMetadataByResourceGroup.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/ListResourceHealthMetadataByResourceGroup.json new file mode 100644 index 000000000000..71c2618eccea --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/ListResourceHealthMetadataByResourceGroup.json @@ -0,0 +1,26 @@ +{ + "parameters": { + "api-version": "2025-03-01", + "resourceGroupName": "Default-Web-NorthCentralUS", + "subscriptionId": "4adb32ad-8327-4cbb-b775-b84b4465bb38" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "default", + "type": "Microsoft.Web/sites/resourceHealthMetadata", + "id": "/subscriptions/4adb32ad-8327-4cbb-b775-b84b4465bb38/resourceGroups/Default-Web-NorthCentralUS/providers/Microsoft.Web/sites/newsiteinnewASE-NCUS/resourceHealthMetadata/default", + "properties": { + "category": "Shared", + "signalAvailability": true + } + } + ] + } + } + }, + "operationId": "ResourceHealthMetadata_ListByResourceGroup", + "title": "List ResourceHealthMetadata for a resource group" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/ListResourceHealthMetadataBySite.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/ListResourceHealthMetadataBySite.json new file mode 100644 index 000000000000..4aef6a528104 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/ListResourceHealthMetadataBySite.json @@ -0,0 +1,28 @@ +{ + "parameters": { + "name": "newsiteinnewASE-NCUS", + "api-version": "2025-03-01", + "resourceGroupName": "Default-Web-NorthCentralUS", + "slot": "Production", + "subscriptionId": "4adb32ad-8327-4cbb-b775-b84b4465bb38" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "default", + "type": "Microsoft.Web/sites/resourceHealthMetadata", + "id": "/subscriptions/4adb32ad-8327-4cbb-b775-b84b4465bb38/resourceGroups/Default-Web-NorthCentralUS/providers/Microsoft.Web/sites/newsiteinnewASE-NCUS/resourceHealthMetadata/default", + "properties": { + "category": "Shared", + "signalAvailability": true + } + } + ] + } + } + }, + "operationId": "ResourceHealthMetadata_ListBySite", + "title": "List ResourceHealthMetadata for a site" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/ListResourceHealthMetadataBySite_Slot.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/ListResourceHealthMetadataBySite_Slot.json new file mode 100644 index 000000000000..d2787fdd89d4 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/ListResourceHealthMetadataBySite_Slot.json @@ -0,0 +1,28 @@ +{ + "parameters": { + "name": "newsiteinnewASE-NCUS", + "api-version": "2025-03-01", + "resourceGroupName": "Default-Web-NorthCentralUS", + "slot": "Production", + "subscriptionId": "4adb32ad-8327-4cbb-b775-b84b4465bb38" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "default", + "type": "Microsoft.Web/sites/resourceHealthMetadata", + "id": "/subscriptions/4adb32ad-8327-4cbb-b775-b84b4465bb38/resourceGroups/Default-Web-NorthCentralUS/providers/Microsoft.Web/sites/newsiteinnewASE-NCUS/resourceHealthMetadata/default", + "properties": { + "category": "Shared", + "signalAvailability": true + } + } + ] + } + } + }, + "operationId": "ResourceHealthMetadata_ListBySiteSlot", + "title": "List ResourceHealthMetadata for a site" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/ListResourceHealthMetadataBySubscription.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/ListResourceHealthMetadataBySubscription.json new file mode 100644 index 000000000000..ea033a4e9b26 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/ListResourceHealthMetadataBySubscription.json @@ -0,0 +1,25 @@ +{ + "parameters": { + "api-version": "2025-03-01", + "subscriptionId": "4adb32ad-8327-4cbb-b775-b84b4465bb38" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "default", + "type": "Microsoft.Web/sites/resourceHealthMetadata", + "id": "/subscriptions/4adb32ad-8327-4cbb-b775-b84b4465bb38/resourceGroups/Default-Web-NorthCentralUS/providers/Microsoft.Web/sites/newsiteinnewASE-NCUS/resourceHealthMetadata/default", + "properties": { + "category": "Shared", + "signalAvailability": true + } + } + ] + } + } + }, + "operationId": "ResourceHealthMetadata_List", + "title": "List ResourceHealthMetadata for a subscription" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/ListSiteBackupsSlot.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/ListSiteBackupsSlot.json new file mode 100644 index 000000000000..9665616ba693 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/ListSiteBackupsSlot.json @@ -0,0 +1,30 @@ +{ + "parameters": { + "name": "tests346", + "api-version": "2025-03-01", + "resourceGroupName": "testrg123", + "slot": "staging", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "tests346/staging", + "type": "Microsoft.Web/sites/slots", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/tests346/slot/staging", + "properties": { + "blobName": "blob1", + "status": "InProgress", + "storageAccountUrl": "https://blobstorage.windows.net" + } + } + ] + }, + "headers": {} + } + }, + "operationId": "WebApps_ListSiteBackupsSlot", + "title": "List backups" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/ListSiteCertificatesByResourceGroup.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/ListSiteCertificatesByResourceGroup.json new file mode 100644 index 000000000000..61aab0de7c11 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/ListSiteCertificatesByResourceGroup.json @@ -0,0 +1,53 @@ +{ + "parameters": { + "name": "testSiteName", + "api-version": "2025-03-01", + "resourceGroupName": "testrg123", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "testc6282", + "type": "Microsoft.Web/sites/certificates", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/testSiteName/certificates/testc6282", + "location": "East US", + "properties": { + "expirationDate": "2039-12-31T23:59:59+00:00", + "friendlyName": "", + "hostNames": [ + "ServerCert" + ], + "issueDate": "2015-11-12T23:40:25+00:00", + "issuer": "CACert", + "subjectName": "ServerCert", + "thumbprint": "FE703D7411A44163B6D32B3AD9B03E175886EBFE" + } + }, + { + "name": "testc4912", + "type": "Microsoft.Web/sites/certificates", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/testSiteName/certificates/testc4912", + "location": "West US", + "properties": { + "expirationDate": "2040-12-31T23:59:59+00:00", + "friendlyName": "", + "hostNames": [ + "ServerCert2" + ], + "issueDate": "2015-12-12T23:40:25+00:00", + "issuer": "CACert", + "subjectName": "ServerCert2", + "thumbprint": "FE703D7411A44163B6D32B3AD9B0490D5886EBFE" + } + } + ] + }, + "headers": {} + } + }, + "operationId": "SiteCertificates_List", + "title": "List Certificates by resource group" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/ListSiteCertificatesByResourceGroupSlot.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/ListSiteCertificatesByResourceGroupSlot.json new file mode 100644 index 000000000000..54000217b212 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/ListSiteCertificatesByResourceGroupSlot.json @@ -0,0 +1,54 @@ +{ + "parameters": { + "name": "testSiteName", + "api-version": "2025-03-01", + "resourceGroupName": "testrg123", + "slot": "staging", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "testc6282", + "type": "Microsoft.Web/sites/certificates", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/testSiteName/slots/staging/certificates/testc6282", + "location": "East US", + "properties": { + "expirationDate": "2039-12-31T23:59:59+00:00", + "friendlyName": "", + "hostNames": [ + "ServerCert" + ], + "issueDate": "2015-11-12T23:40:25+00:00", + "issuer": "CACert", + "subjectName": "ServerCert", + "thumbprint": "FE703D7411A44163B6D32B3AD9B03E175886EBFE" + } + }, + { + "name": "testc4912", + "type": "Microsoft.Web/sites/certificates", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/testSiteName/slots/staging/certificates/testc4912", + "location": "West US", + "properties": { + "expirationDate": "2040-12-31T23:59:59+00:00", + "friendlyName": "", + "hostNames": [ + "ServerCert2" + ], + "issueDate": "2015-12-12T23:40:25+00:00", + "issuer": "CACert", + "subjectName": "ServerCert2", + "thumbprint": "FE703D7411A44163B6D32B3AD9B0490D5886EBFE" + } + } + ] + }, + "headers": {} + } + }, + "operationId": "SiteCertificates_ListSlot", + "title": "List Certificates by resource group for a slot" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/ListSiteDeploymentStatus.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/ListSiteDeploymentStatus.json new file mode 100644 index 000000000000..22c1f1e62c4f --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/ListSiteDeploymentStatus.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "name": "testSite", + "api-version": "2025-03-01", + "resourceGroupName": "rg", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": { + "nextLink": null, + "value": [] + }, + "headers": {} + } + }, + "operationId": "WebApps_ListProductionSiteDeploymentStatuses", + "title": "List Deployment Status" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/ListSiteDeploymentStatusSlot.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/ListSiteDeploymentStatusSlot.json new file mode 100644 index 000000000000..dad6b6313056 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/ListSiteDeploymentStatusSlot.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "name": "testSite", + "api-version": "2025-03-01", + "resourceGroupName": "rg", + "slot": "stage", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": { + "nextLink": null, + "value": [] + }, + "headers": {} + } + }, + "operationId": "WebApps_ListSlotSiteDeploymentStatusesSlot", + "title": "List Deployment Status Slot" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/ListSlotBackups.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/ListSlotBackups.json new file mode 100644 index 000000000000..f7b08d4c22d7 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/ListSlotBackups.json @@ -0,0 +1,30 @@ +{ + "parameters": { + "name": "tests346", + "api-version": "2025-03-01", + "resourceGroupName": "testrg123", + "slot": "staging", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "tests346/staging", + "type": "Microsoft.Web/sites/slots", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/tests346/slot/staging", + "properties": { + "blobName": "blob1", + "status": "InProgress", + "storageAccountUrl": "https://blobstorage.windows.net" + } + } + ] + }, + "headers": {} + } + }, + "operationId": "WebApps_ListSiteBackups", + "title": "List backups" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/ListStaticSiteAppSettings.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/ListStaticSiteAppSettings.json new file mode 100644 index 000000000000..e5f9d5dd0260 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/ListStaticSiteAppSettings.json @@ -0,0 +1,21 @@ +{ + "parameters": { + "name": "testStaticSite0", + "api-version": "2025-03-01", + "resourceGroupName": "rg", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/staticSites/testStaticSite0/appSettings", + "properties": { + "setting0": "someVal" + } + }, + "headers": {} + } + }, + "operationId": "StaticSites_ListStaticSiteAppSettings", + "title": "Get app settings of a static site" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/ListStaticSiteBasicAuth.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/ListStaticSiteBasicAuth.json new file mode 100644 index 000000000000..32721e001a1a --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/ListStaticSiteBasicAuth.json @@ -0,0 +1,28 @@ +{ + "parameters": { + "name": "testStaticSite0", + "api-version": "2025-03-01", + "resourceGroupName": "rg", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "default", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/staticSites/testStaticSite0/basicAuth/default", + "properties": { + "applicableEnvironmentsMode": "AllEnvironments", + "environments": null, + "secretState": "Password", + "secretUrl": null + } + } + ] + } + } + }, + "operationId": "StaticSites_ListBasicAuth", + "title": "Lists the basic auth properties for a static site." +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/ListStaticSiteBuildAppSettings.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/ListStaticSiteBuildAppSettings.json new file mode 100644 index 000000000000..0d7fc299ea9c --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/ListStaticSiteBuildAppSettings.json @@ -0,0 +1,22 @@ +{ + "parameters": { + "name": "testStaticSite0", + "api-version": "2025-03-01", + "environmentName": "12", + "resourceGroupName": "rg", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/staticSites/testStaticSite0/builds/12/config/appSettings", + "properties": { + "setting0": "someVal" + } + }, + "headers": {} + } + }, + "operationId": "StaticSites_ListStaticSiteBuildAppSettings", + "title": "Get app settings of a static site build" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/ListStaticSiteBuildFunctionAppSettings.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/ListStaticSiteBuildFunctionAppSettings.json new file mode 100644 index 000000000000..fd0cce9629fe --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/ListStaticSiteBuildFunctionAppSettings.json @@ -0,0 +1,22 @@ +{ + "parameters": { + "name": "testStaticSite0", + "api-version": "2025-03-01", + "environmentName": "12", + "resourceGroupName": "rg", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/staticSites/testStaticSite0/builds/12/config/appSettings", + "properties": { + "setting0": "someVal" + } + }, + "headers": {} + } + }, + "operationId": "StaticSites_ListStaticSiteBuildFunctionAppSettings", + "title": "Get function app settings of a static site build" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/ListStaticSiteBuildFunctions.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/ListStaticSiteBuildFunctions.json new file mode 100644 index 000000000000..2641e85b001d --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/ListStaticSiteBuildFunctions.json @@ -0,0 +1,28 @@ +{ + "parameters": { + "name": "testStaticSite0", + "api-version": "2025-03-01", + "environmentName": "default", + "resourceGroupName": "rg", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": { + "nextLink": null, + "value": [ + { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/staticSites/testStaticSite0/builds/default/functions/GetList", + "properties": { + "functionName": "GetList", + "triggerType": "HttpTrigger" + } + } + ] + }, + "headers": {} + } + }, + "operationId": "StaticSites_ListStaticSiteBuildFunctions", + "title": "Gets the functions of a particular static site build" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/ListStaticSiteConfiguredRoles.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/ListStaticSiteConfiguredRoles.json new file mode 100644 index 000000000000..f40dbbc932c0 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/ListStaticSiteConfiguredRoles.json @@ -0,0 +1,22 @@ +{ + "parameters": { + "name": "testStaticSite0", + "api-version": "2025-03-01", + "resourceGroupName": "rg", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": { + "properties": [ + "authenticated", + "anonymous", + "customRole1" + ] + }, + "headers": {} + } + }, + "operationId": "StaticSites_ListStaticSiteConfiguredRoles", + "title": "Lists the configured roles for a static site" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/ListStaticSiteFunctionAppSettings.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/ListStaticSiteFunctionAppSettings.json new file mode 100644 index 000000000000..3511c9742200 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/ListStaticSiteFunctionAppSettings.json @@ -0,0 +1,21 @@ +{ + "parameters": { + "name": "testStaticSite0", + "api-version": "2025-03-01", + "resourceGroupName": "rg", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/staticSites/testStaticSite0/config/appsettings", + "properties": { + "setting0": "someVal" + } + }, + "headers": {} + } + }, + "operationId": "StaticSites_ListStaticSiteFunctionAppSettings", + "title": "Get function app settings of a static site" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/ListStaticSiteFunctions.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/ListStaticSiteFunctions.json new file mode 100644 index 000000000000..4d6956d48976 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/ListStaticSiteFunctions.json @@ -0,0 +1,27 @@ +{ + "parameters": { + "name": "testStaticSite0", + "api-version": "2025-03-01", + "resourceGroupName": "rg", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": { + "nextLink": null, + "value": [ + { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/staticSites/testStaticSite0/functions/GetList", + "properties": { + "functionName": "GetList", + "triggerType": "HttpTrigger" + } + } + ] + }, + "headers": {} + } + }, + "operationId": "StaticSites_ListStaticSiteFunctions", + "title": "Gets the functions of a static site" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/ListStaticSiteSecrets.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/ListStaticSiteSecrets.json new file mode 100644 index 000000000000..5d91a2457644 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/ListStaticSiteSecrets.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "name": "testStaticSite0", + "api-version": "2025-03-01", + "resourceGroupName": "rg", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": { + "properties": { + "dnsOwnershipKey": "ownershipKey123123" + } + }, + "headers": {} + } + }, + "operationId": "StaticSites_ListStaticSiteSecrets", + "title": "List secrets for a static site" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/ListStaticSiteUsers.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/ListStaticSiteUsers.json new file mode 100644 index 000000000000..2ed39e231316 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/ListStaticSiteUsers.json @@ -0,0 +1,30 @@ +{ + "parameters": { + "name": "testStaticSite0", + "api-version": "2025-03-01", + "authprovider": "all", + "resourceGroupName": "rg", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": { + "nextLink": null, + "value": [ + { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/staticSites/testStaticSite0/authproviders/all/users/1234", + "properties": { + "displayName": "username", + "provider": "aad", + "roles": "admin,anonymous,authenticated", + "userId": "1234" + } + } + ] + }, + "headers": {} + } + }, + "operationId": "StaticSites_ListStaticSiteUsers", + "title": "List users for a static site" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/ListWebAppBackups.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/ListWebAppBackups.json new file mode 100644 index 000000000000..ad597833edd8 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/ListWebAppBackups.json @@ -0,0 +1,52 @@ +{ + "parameters": { + "name": "sitef6141", + "api-version": "2025-03-01", + "resourceGroupName": "testrg123", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "sitef6141", + "type": "Microsoft.Web/sites", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/sitef6141/backups/12345", + "properties": { + "name": "sitef6141_2024-11-01", + "blobName": "sitef6141_2024-11-01", + "created": "2022-09-03T17:33:11.641Z", + "databases": [ + { + "name": "backenddb", + "connectionString": "DSN=data-source-name[;SERVER=value] [;PWD=value] [;UID=value] [;=]", + "connectionStringName": "backend", + "databaseType": "SqlAzure" + }, + { + "name": "statsdb", + "connectionString": "DSN=data-source-name[;SERVER=value] [;PWD=value] [;UID=value] [;=]", + "connectionStringName": "stats", + "databaseType": "SqlAzure" + } + ], + "finishedTimeStamp": "2022-09-05T17:33:11.641Z", + "id": 12345, + "lastRestoreTimeStamp": "2022-09-04T17:33:11.641Z", + "log": "Succeeded", + "scheduled": true, + "sizeInBytes": 56091883, + "status": "InProgress", + "storageAccountUrl": "DefaultEndpointsProtocol=https;AccountName=storagesample;AccountKey=", + "websiteSizeInBytes": 56091883 + } + } + ] + }, + "headers": {} + } + }, + "operationId": "WebApps_ListBackups", + "title": "List web app backups" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/ListWebAppConfigurations.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/ListWebAppConfigurations.json new file mode 100644 index 000000000000..92a46a5cc04a --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/ListWebAppConfigurations.json @@ -0,0 +1,76 @@ +{ + "parameters": { + "name": "sitef6141", + "api-version": "2025-03-01", + "resourceGroupName": "testrg123", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "web", + "type": "Microsoft.Web/sites/config", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/sitef6141/config/web", + "kind": "app", + "properties": { + "acrUseManagedIdentityCreds": false, + "alwaysOn": false, + "appCommandLine": "", + "autoHealEnabled": false, + "azureStorageAccounts": {}, + "defaultDocuments": [ + "Default.htm", + "Default.html", + "Default.asp", + "index.htm", + "index.html", + "iisstart.htm", + "default.aspx", + "index.php", + "hostingstart.html" + ], + "detailedErrorLoggingEnabled": false, + "ftpsState": "AllAllowed", + "functionAppScaleLimit": 0, + "functionsRuntimeScaleMonitoringEnabled": false, + "http20Enabled": false, + "httpLoggingEnabled": false, + "linuxFxVersion": "", + "loadBalancing": "LeastRequests", + "logsDirectorySizeLimit": 35, + "managedPipelineMode": "Integrated", + "minTlsVersion": "1.2", + "minimumElasticInstanceCount": 0, + "netFrameworkVersion": "v4.0", + "nodeVersion": "", + "numberOfWorkers": 1, + "phpVersion": "5.6", + "powerShellVersion": "", + "pythonVersion": "", + "remoteDebuggingEnabled": false, + "requestTracingEnabled": false, + "scmMinTlsVersion": "1.2", + "use32BitWorkerProcess": true, + "virtualApplications": [ + { + "physicalPath": "site\\wwwroot", + "preloadEnabled": false, + "virtualPath": "/" + } + ], + "vnetName": "", + "vnetPrivatePortsCount": 0, + "vnetRouteAllEnabled": false, + "webSocketsEnabled": false + } + } + ] + }, + "headers": {} + } + }, + "operationId": "WebApps_ListConfigurations", + "title": "List web app configurations" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/ListWebAppSlots.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/ListWebAppSlots.json new file mode 100644 index 000000000000..da7d901eda36 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/ListWebAppSlots.json @@ -0,0 +1,243 @@ +{ + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "testrg123", + "name": "sitef6141", + "api-version": "2025-03-01" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "value": [ + { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/sitef6141/slots/staging", + "name": "sitef6141/staging", + "type": "Microsoft.Web/sites/slots", + "kind": "app", + "location": "East US", + "properties": { + "state": "Running", + "hostNames": [ + "sitef6141-staging.azurewebsites.net" + ], + "repositorySiteName": "sitef6141", + "usageState": "Normal", + "enabled": true, + "enabledHostNames": [ + "sitef6141-staging.azurewebsites.net", + "sitef6141-staging.scm.azurewebsites.net" + ], + "availabilityState": "Normal", + "hostNameSslStates": [ + { + "name": "sitef6141-staging.azurewebsites.net", + "sslState": "Disabled", + "hostType": "Standard" + }, + { + "name": "sitef6141-staging.scm.azurewebsites.net", + "sslState": "Disabled", + "hostType": "Repository" + } + ], + "serverFarmId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/serverfarms/DefaultAsp", + "reserved": false, + "isXenon": false, + "hyperV": false, + "lastModifiedTimeUtc": "2020-03-04T17:33:11.641Z", + "outboundVnetRouting": { + "allTraffic": false, + "applicationTraffic": false, + "contentShareTraffic": false, + "imagePullTraffic": false, + "backupRestoreTraffic": false + }, + "siteConfig": { + "numberOfWorkers": 1, + "defaultDocuments": [ + "Default.htm", + "Default.html", + "Default.asp", + "index.htm", + "index.html", + "iisstart.htm", + "default.aspx", + "index.php", + "hostingstart.html" + ], + "netFrameworkVersion": "v4.0", + "phpVersion": "5.6", + "pythonVersion": "", + "nodeVersion": "", + "powerShellVersion": "", + "linuxFxVersion": "", + "requestTracingEnabled": false, + "remoteDebuggingEnabled": false, + "httpLoggingEnabled": false, + "acrUseManagedIdentityCreds": false, + "logsDirectorySizeLimit": 35, + "detailedErrorLoggingEnabled": false, + "use32BitWorkerProcess": true, + "webSocketsEnabled": false, + "alwaysOn": false, + "appCommandLine": "", + "managedPipelineMode": "Integrated", + "virtualApplications": [ + { + "virtualPath": "/", + "physicalPath": "site\\wwwroot", + "preloadEnabled": false + } + ], + "loadBalancing": "LeastRequests", + "autoHealEnabled": false, + "vnetName": "", + "vnetRouteAllEnabled": false, + "vnetPrivatePortsCount": 0, + "http20Enabled": false, + "minTlsVersion": "1.2", + "scmMinTlsVersion": "1.2", + "ftpsState": "AllAllowed", + "functionAppScaleLimit": 0, + "functionsRuntimeScaleMonitoringEnabled": false, + "minimumElasticInstanceCount": 0, + "azureStorageAccounts": {} + }, + "scmSiteAlsoStopped": false, + "clientAffinityEnabled": true, + "clientCertEnabled": false, + "clientCertMode": "Required", + "hostNamesDisabled": false, + "customDomainVerificationId": "7F3BB652450EF7AD0B6AA33064586E4A9CE823A46DF0B2EC6443A68086E84153", + "outboundIpAddresses": "70.37.102.201,20.225.43.144", + "possibleOutboundIpAddresses": "70.37.102.201,20.225.43.144,20.225.184.122,20.225.184.188", + "containerSize": 0, + "dailyMemoryTimeQuota": 0, + "resourceGroup": "testrg123", + "defaultHostName": "sitef6141-staging.azurewebsites.net", + "httpsOnly": false, + "redundancyMode": "None", + "storageAccountRequired": false, + "keyVaultReferenceIdentity": "SystemAssigned" + } + }, + { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/sitef6141/slots/qa", + "name": "sitef6141/qa", + "type": "Microsoft.Web/sites/slots", + "kind": "app", + "location": "East US", + "properties": { + "state": "Running", + "hostNames": [ + "sitef6141-qa.azurewebsites.net" + ], + "repositorySiteName": "sitef6141", + "usageState": "Normal", + "enabled": true, + "enabledHostNames": [ + "sitef6141-staging.azurewebsites.net", + "sitef6141-staging.scm.azurewebsites.net" + ], + "availabilityState": "Normal", + "hostNameSslStates": [ + { + "name": "sitef6141-qa.azurewebsites.net", + "sslState": "Disabled", + "hostType": "Standard" + }, + { + "name": "sitef6141-qa.scm.azurewebsites.net", + "sslState": "Disabled", + "hostType": "Repository" + } + ], + "serverFarmId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/serverfarms/DefaultAsp", + "reserved": false, + "isXenon": false, + "hyperV": false, + "lastModifiedTimeUtc": "2020-03-04T17:33:11.641Z", + "outboundVnetRouting": { + "allTraffic": false, + "applicationTraffic": false, + "contentShareTraffic": false, + "imagePullTraffic": false, + "backupRestoreTraffic": false + }, + "siteConfig": { + "numberOfWorkers": 1, + "defaultDocuments": [ + "Default.htm", + "Default.html", + "Default.asp", + "index.htm", + "index.html", + "iisstart.htm", + "default.aspx", + "index.php", + "hostingstart.html" + ], + "netFrameworkVersion": "v4.0", + "phpVersion": "5.6", + "pythonVersion": "", + "nodeVersion": "", + "powerShellVersion": "", + "linuxFxVersion": "", + "requestTracingEnabled": false, + "remoteDebuggingEnabled": false, + "httpLoggingEnabled": false, + "acrUseManagedIdentityCreds": false, + "logsDirectorySizeLimit": 35, + "detailedErrorLoggingEnabled": false, + "use32BitWorkerProcess": true, + "webSocketsEnabled": false, + "alwaysOn": false, + "appCommandLine": "", + "managedPipelineMode": "Integrated", + "virtualApplications": [ + { + "virtualPath": "/", + "physicalPath": "site\\wwwroot", + "preloadEnabled": false + } + ], + "loadBalancing": "LeastRequests", + "autoHealEnabled": false, + "vnetName": "", + "vnetRouteAllEnabled": false, + "vnetPrivatePortsCount": 0, + "http20Enabled": false, + "minTlsVersion": "1.2", + "scmMinTlsVersion": "1.2", + "ftpsState": "AllAllowed", + "functionAppScaleLimit": 0, + "functionsRuntimeScaleMonitoringEnabled": false, + "minimumElasticInstanceCount": 0, + "azureStorageAccounts": {} + }, + "scmSiteAlsoStopped": false, + "clientAffinityEnabled": true, + "clientCertEnabled": false, + "clientCertMode": "Required", + "hostNamesDisabled": false, + "customDomainVerificationId": "7F3BB652450EF7AD0B6AA33064586E4A9CE823A46DF0B2EC6443A68086E84153", + "outboundIpAddresses": "70.37.102.201,20.225.43.144", + "possibleOutboundIpAddresses": "70.37.102.201,20.225.43.144,20.225.184.122,20.225.184.188", + "containerSize": 0, + "dailyMemoryTimeQuota": 0, + "resourceGroup": "testrg123", + "defaultHostName": "sitef6141-qa.azurewebsites.net", + "httpsOnly": false, + "redundancyMode": "None", + "storageAccountRequired": false, + "keyVaultReferenceIdentity": "SystemAssigned" + } + } + ] + } + } + }, + "operationId": "WebApps_ListSlots", + "title": "List Web App Slots" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/ListWebApps.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/ListWebApps.json new file mode 100644 index 000000000000..ea027b169bc3 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/ListWebApps.json @@ -0,0 +1,251 @@ +{ + "parameters": { + "api-version": "2025-03-01", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "sitef6141", + "type": "Microsoft.Web/sites", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/sitef6141", + "kind": "app", + "location": "East US", + "properties": { + "availabilityState": "Normal", + "clientAffinityEnabled": true, + "clientCertEnabled": false, + "clientCertMode": "Required", + "containerSize": 0, + "customDomainVerificationId": "7F3BB652450EF7AD0B6AA33064586E4A9CE823A46DF0B2EC6443A68086E84153", + "dailyMemoryTimeQuota": 0, + "defaultHostName": "sitef6141.azurewebsites.net", + "enabled": true, + "enabledHostNames": [ + "sitef6141.azurewebsites.net", + "sitef6141.scm.azurewebsites.net" + ], + "hostNameSslStates": [ + { + "name": "sitef6141.azurewebsites.net", + "hostType": "Standard", + "sslState": "Disabled" + }, + { + "name": "sitef6141.scm.azurewebsites.net", + "hostType": "Repository", + "sslState": "Disabled" + } + ], + "hostNames": [ + "sitef6141.azurewebsites.net" + ], + "hostNamesDisabled": false, + "httpsOnly": false, + "hyperV": false, + "isXenon": false, + "keyVaultReferenceIdentity": "SystemAssigned", + "lastModifiedTimeUtc": "2020-03-04T17:33:11.641Z", + "outboundIpAddresses": "70.37.102.201,20.225.43.144", + "outboundVnetRouting": { + "allTraffic": false, + "applicationTraffic": false, + "backupRestoreTraffic": false, + "contentShareTraffic": false, + "imagePullTraffic": false + }, + "possibleOutboundIpAddresses": "70.37.102.201,20.225.43.144,20.225.184.122,20.225.184.188", + "redundancyMode": "None", + "repositorySiteName": "sitef6141", + "reserved": false, + "resourceConfig": { + "cpu": 1, + "memory": "2.0Gi" + }, + "resourceGroup": "testrg123", + "scmSiteAlsoStopped": false, + "serverFarmId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/serverfarms/DefaultAsp", + "siteConfig": { + "acrUseManagedIdentityCreds": false, + "alwaysOn": false, + "appCommandLine": "", + "autoHealEnabled": false, + "azureStorageAccounts": {}, + "defaultDocuments": [ + "Default.htm", + "Default.html", + "Default.asp", + "index.htm", + "index.html", + "iisstart.htm", + "default.aspx", + "index.php", + "hostingstart.html" + ], + "detailedErrorLoggingEnabled": false, + "ftpsState": "AllAllowed", + "functionAppScaleLimit": 0, + "functionsRuntimeScaleMonitoringEnabled": false, + "http20Enabled": false, + "httpLoggingEnabled": false, + "linuxFxVersion": "", + "loadBalancing": "LeastRequests", + "logsDirectorySizeLimit": 35, + "managedPipelineMode": "Integrated", + "minTlsVersion": "1.2", + "minimumElasticInstanceCount": 0, + "netFrameworkVersion": "v4.0", + "nodeVersion": "", + "numberOfWorkers": 1, + "phpVersion": "5.6", + "powerShellVersion": "", + "pythonVersion": "", + "remoteDebuggingEnabled": false, + "requestTracingEnabled": false, + "scmMinTlsVersion": "1.2", + "use32BitWorkerProcess": true, + "virtualApplications": [ + { + "physicalPath": "site\\wwwroot", + "preloadEnabled": false, + "virtualPath": "/" + } + ], + "vnetName": "", + "vnetPrivatePortsCount": 0, + "vnetRouteAllEnabled": false, + "webSocketsEnabled": false + }, + "state": "Running", + "storageAccountRequired": false, + "usageState": "Normal", + "workloadProfileName": "myd4wp" + } + }, + { + "name": "sitef7252", + "type": "Microsoft.Web/sites", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/sitef7252", + "kind": "app", + "location": "East US", + "properties": { + "availabilityState": "Normal", + "clientAffinityEnabled": true, + "clientCertEnabled": false, + "clientCertMode": "Required", + "containerSize": 0, + "customDomainVerificationId": "7F3BB652450EF7AD0B6AA33064586E4A9CE823A46DF0B2EC6443A68086E84153", + "dailyMemoryTimeQuota": 0, + "defaultHostName": "sitef7252.azurewebsites.net", + "enabled": true, + "enabledHostNames": [ + "sitef7252.azurewebsites.net", + "sitef7252.scm.azurewebsites.net" + ], + "hostNameSslStates": [ + { + "name": "sitef7252.azurewebsites.net", + "hostType": "Standard", + "sslState": "Disabled" + }, + { + "name": "sitef7252.scm.azurewebsites.net", + "hostType": "Repository", + "sslState": "Disabled" + } + ], + "hostNames": [ + "sitef7252.azurewebsites.net" + ], + "hostNamesDisabled": false, + "httpsOnly": false, + "hyperV": false, + "isXenon": false, + "keyVaultReferenceIdentity": "SystemAssigned", + "lastModifiedTimeUtc": "2020-03-04T17:33:11.641Z", + "outboundIpAddresses": "70.37.102.201,20.225.43.144", + "outboundVnetRouting": { + "allTraffic": false, + "applicationTraffic": false, + "backupRestoreTraffic": false, + "contentShareTraffic": false, + "imagePullTraffic": false + }, + "possibleOutboundIpAddresses": "70.37.102.201,20.225.43.144,20.225.184.122,20.225.184.188", + "redundancyMode": "None", + "repositorySiteName": "sitef7252", + "reserved": false, + "resourceConfig": { + "cpu": 1, + "memory": "2.0Gi" + }, + "resourceGroup": "testrg123", + "scmSiteAlsoStopped": false, + "serverFarmId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/serverfarms/DefaultAsp", + "siteConfig": { + "acrUseManagedIdentityCreds": false, + "alwaysOn": false, + "appCommandLine": "", + "autoHealEnabled": false, + "azureStorageAccounts": {}, + "defaultDocuments": [ + "Default.htm", + "Default.html", + "Default.asp", + "index.htm", + "index.html", + "iisstart.htm", + "default.aspx", + "index.php", + "hostingstart.html" + ], + "detailedErrorLoggingEnabled": false, + "ftpsState": "AllAllowed", + "functionAppScaleLimit": 0, + "functionsRuntimeScaleMonitoringEnabled": false, + "http20Enabled": false, + "httpLoggingEnabled": false, + "linuxFxVersion": "", + "loadBalancing": "LeastRequests", + "logsDirectorySizeLimit": 35, + "managedPipelineMode": "Integrated", + "minTlsVersion": "1.2", + "minimumElasticInstanceCount": 0, + "netFrameworkVersion": "v4.0", + "nodeVersion": "", + "numberOfWorkers": 1, + "phpVersion": "5.6", + "powerShellVersion": "", + "pythonVersion": "", + "remoteDebuggingEnabled": false, + "requestTracingEnabled": false, + "scmMinTlsVersion": "1.2", + "use32BitWorkerProcess": true, + "virtualApplications": [ + { + "physicalPath": "site\\wwwroot", + "preloadEnabled": false, + "virtualPath": "/" + } + ], + "vnetName": "", + "vnetPrivatePortsCount": 0, + "vnetRouteAllEnabled": false, + "webSocketsEnabled": false + }, + "state": "Running", + "storageAccountRequired": false, + "usageState": "Normal", + "workloadProfileName": "myd4wp" + } + } + ] + }, + "headers": {} + } + }, + "operationId": "WebApps_List", + "title": "List Web apps for subscription" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/ListWebAppsByResourceGroup.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/ListWebAppsByResourceGroup.json new file mode 100644 index 000000000000..504aff0d5a0e --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/ListWebAppsByResourceGroup.json @@ -0,0 +1,252 @@ +{ + "parameters": { + "api-version": "2025-03-01", + "resourceGroupName": "testrg123", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "sitef6141", + "type": "Microsoft.Web/sites", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/sitef6141", + "kind": "app", + "location": "East US", + "properties": { + "availabilityState": "Normal", + "clientAffinityEnabled": true, + "clientCertEnabled": false, + "clientCertMode": "Required", + "containerSize": 0, + "customDomainVerificationId": "7F3BB652450EF7AD0B6AA33064586E4A9CE823A46DF0B2EC6443A68086E84153", + "dailyMemoryTimeQuota": 0, + "defaultHostName": "sitef6141.azurewebsites.net", + "enabled": true, + "enabledHostNames": [ + "sitef6141.azurewebsites.net", + "sitef6141.scm.azurewebsites.net" + ], + "hostNameSslStates": [ + { + "name": "sitef6141.azurewebsites.net", + "hostType": "Standard", + "sslState": "Disabled" + }, + { + "name": "sitef6141.scm.azurewebsites.net", + "hostType": "Repository", + "sslState": "Disabled" + } + ], + "hostNames": [ + "sitef6141.azurewebsites.net" + ], + "hostNamesDisabled": false, + "httpsOnly": false, + "hyperV": false, + "isXenon": false, + "keyVaultReferenceIdentity": "SystemAssigned", + "lastModifiedTimeUtc": "2020-03-04T17:33:11.641Z", + "outboundIpAddresses": "70.37.102.201,20.225.43.144", + "outboundVnetRouting": { + "allTraffic": false, + "applicationTraffic": false, + "backupRestoreTraffic": false, + "contentShareTraffic": false, + "imagePullTraffic": false + }, + "possibleOutboundIpAddresses": "70.37.102.201,20.225.43.144,20.225.184.122,20.225.184.188", + "redundancyMode": "None", + "repositorySiteName": "sitef6141", + "reserved": false, + "resourceConfig": { + "cpu": 1, + "memory": "2.0Gi" + }, + "resourceGroup": "testrg123", + "scmSiteAlsoStopped": false, + "serverFarmId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/serverfarms/DefaultAsp", + "siteConfig": { + "acrUseManagedIdentityCreds": false, + "alwaysOn": false, + "appCommandLine": "", + "autoHealEnabled": false, + "azureStorageAccounts": {}, + "defaultDocuments": [ + "Default.htm", + "Default.html", + "Default.asp", + "index.htm", + "index.html", + "iisstart.htm", + "default.aspx", + "index.php", + "hostingstart.html" + ], + "detailedErrorLoggingEnabled": false, + "ftpsState": "AllAllowed", + "functionAppScaleLimit": 0, + "functionsRuntimeScaleMonitoringEnabled": false, + "http20Enabled": false, + "httpLoggingEnabled": false, + "linuxFxVersion": "", + "loadBalancing": "LeastRequests", + "logsDirectorySizeLimit": 35, + "managedPipelineMode": "Integrated", + "minTlsVersion": "1.2", + "minimumElasticInstanceCount": 0, + "netFrameworkVersion": "v4.0", + "nodeVersion": "", + "numberOfWorkers": 1, + "phpVersion": "5.6", + "powerShellVersion": "", + "pythonVersion": "", + "remoteDebuggingEnabled": false, + "requestTracingEnabled": false, + "scmMinTlsVersion": "1.2", + "use32BitWorkerProcess": true, + "virtualApplications": [ + { + "physicalPath": "site\\wwwroot", + "preloadEnabled": false, + "virtualPath": "/" + } + ], + "vnetName": "", + "vnetPrivatePortsCount": 0, + "vnetRouteAllEnabled": false, + "webSocketsEnabled": false + }, + "state": "Running", + "storageAccountRequired": false, + "usageState": "Normal", + "workloadProfileName": "myd4wp" + } + }, + { + "name": "sitef7252", + "type": "Microsoft.Web/sites", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/sitef7252", + "kind": "app", + "location": "East US", + "properties": { + "availabilityState": "Normal", + "clientAffinityEnabled": true, + "clientCertEnabled": false, + "clientCertMode": "Required", + "containerSize": 0, + "customDomainVerificationId": "7F3BB652450EF7AD0B6AA33064586E4A9CE823A46DF0B2EC6443A68086E84153", + "dailyMemoryTimeQuota": 0, + "defaultHostName": "sitef7252.azurewebsites.net", + "enabled": true, + "enabledHostNames": [ + "sitef7252.azurewebsites.net", + "sitef7252.scm.azurewebsites.net" + ], + "hostNameSslStates": [ + { + "name": "sitef7252.azurewebsites.net", + "hostType": "Standard", + "sslState": "Disabled" + }, + { + "name": "sitef7252.scm.azurewebsites.net", + "hostType": "Repository", + "sslState": "Disabled" + } + ], + "hostNames": [ + "sitef7252.azurewebsites.net" + ], + "hostNamesDisabled": false, + "httpsOnly": false, + "hyperV": false, + "isXenon": false, + "keyVaultReferenceIdentity": "SystemAssigned", + "lastModifiedTimeUtc": "2020-03-04T17:33:11.641Z", + "outboundIpAddresses": "70.37.102.201,20.225.43.144", + "outboundVnetRouting": { + "allTraffic": false, + "applicationTraffic": false, + "backupRestoreTraffic": false, + "contentShareTraffic": false, + "imagePullTraffic": false + }, + "possibleOutboundIpAddresses": "70.37.102.201,20.225.43.144,20.225.184.122,20.225.184.188", + "redundancyMode": "None", + "repositorySiteName": "sitef7252", + "reserved": false, + "resourceConfig": { + "cpu": 1, + "memory": "2.0Gi" + }, + "resourceGroup": "testrg123", + "scmSiteAlsoStopped": false, + "serverFarmId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/serverfarms/DefaultAsp", + "siteConfig": { + "acrUseManagedIdentityCreds": false, + "alwaysOn": false, + "appCommandLine": "", + "autoHealEnabled": false, + "azureStorageAccounts": {}, + "defaultDocuments": [ + "Default.htm", + "Default.html", + "Default.asp", + "index.htm", + "index.html", + "iisstart.htm", + "default.aspx", + "index.php", + "hostingstart.html" + ], + "detailedErrorLoggingEnabled": false, + "ftpsState": "AllAllowed", + "functionAppScaleLimit": 0, + "functionsRuntimeScaleMonitoringEnabled": false, + "http20Enabled": false, + "httpLoggingEnabled": false, + "linuxFxVersion": "", + "loadBalancing": "LeastRequests", + "logsDirectorySizeLimit": 35, + "managedPipelineMode": "Integrated", + "minTlsVersion": "1.2", + "minimumElasticInstanceCount": 0, + "netFrameworkVersion": "v4.0", + "nodeVersion": "", + "numberOfWorkers": 1, + "phpVersion": "5.6", + "powerShellVersion": "", + "pythonVersion": "", + "remoteDebuggingEnabled": false, + "requestTracingEnabled": false, + "scmMinTlsVersion": "1.2", + "use32BitWorkerProcess": true, + "virtualApplications": [ + { + "physicalPath": "site\\wwwroot", + "preloadEnabled": false, + "virtualPath": "/" + } + ], + "vnetName": "", + "vnetPrivatePortsCount": 0, + "vnetRouteAllEnabled": false, + "webSocketsEnabled": false + }, + "state": "Running", + "storageAccountRequired": false, + "usageState": "Normal", + "workloadProfileName": "myd4wp" + } + } + ] + }, + "headers": {} + } + }, + "operationId": "WebApps_ListByResourceGroup", + "title": "List Web Apps by Resource group" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/ListWorkflows.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/ListWorkflows.json new file mode 100644 index 000000000000..75096bca4342 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/ListWorkflows.json @@ -0,0 +1,51 @@ +{ + "parameters": { + "name": "testsite2", + "api-version": "2025-03-01", + "resourceGroupName": "testrg123", + "slot": "staging", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": { + "nextLink": null, + "value": [ + { + "name": "testsite2/a1", + "type": "Microsoft.Web/sites/workflows", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/testsite2/workflows/a1", + "kind": "Stateful", + "location": "USAAnywhere", + "properties": { + "flowState": "Enabled", + "health": { + "state": "Healthy" + } + } + }, + { + "name": "testsite2/stateful2", + "type": "Microsoft.Web/sites/workflows", + "id": "/subscriptions/testsub/resourceGroups/testrg/providers/Microsoft.Web/sites/testsite2/workflows/stateful2", + "kind": "Stateful", + "location": "USAAnywhere", + "properties": { + "flowState": "Enabled", + "health": { + "error": { + "code": "InvalidWorkflowJson", + "message": "Invalid character after parsing property name. Expected ':' but got: \". Path '', line 2, position 2." + }, + "state": "Unhealthy" + } + } + } + ] + }, + "headers": {} + } + }, + "operationId": "WebApps_ListWorkflows", + "title": "List the workflows" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/ListWorkflowsConfigurationConnections.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/ListWorkflowsConfigurationConnections.json new file mode 100644 index 000000000000..409513b6b9e7 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/ListWorkflowsConfigurationConnections.json @@ -0,0 +1,48 @@ +{ + "parameters": { + "name": "testsite2", + "api-version": "2025-03-01", + "configurationName": "connections", + "resourceGroupName": "testrg123", + "slot": "staging", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": { + "name": "testsite2/connections", + "type": "Microsoft.Web/sites/workflowsconfiguration", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/testsite2/workflowconfigurations/connections", + "location": "USAAnywhere", + "properties": { + "files": { + "connections.json": { + "managedApiConnections": { + "office365": { + "api": { + "id": "string" + }, + "authentication": { + "type": "Raw", + "parameter": "@appsetting('office365-connectionKey')", + "scheme": "Key" + }, + "connection": { + "id": "string" + }, + "connectionRuntimeUrl": "string" + } + } + } + }, + "health": { + "state": "Healthy" + } + } + }, + "headers": {} + } + }, + "operationId": "WebApps_ListWorkflowsConnections", + "title": "List the Instance Workflows Configuration Connections" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/ListWorkflowsConfigurationConnections_Slot.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/ListWorkflowsConfigurationConnections_Slot.json new file mode 100644 index 000000000000..7308946a8675 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/ListWorkflowsConfigurationConnections_Slot.json @@ -0,0 +1,48 @@ +{ + "parameters": { + "name": "testsite2", + "api-version": "2025-03-01", + "configurationName": "connections", + "resourceGroupName": "testrg123", + "slot": "staging", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": { + "name": "testsite2/connections", + "type": "Microsoft.Web/sites/workflowsconfiguration", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/testsite2/workflowconfigurations/connections", + "location": "USAAnywhere", + "properties": { + "files": { + "connections.json": { + "managedApiConnections": { + "office365": { + "api": { + "id": "string" + }, + "authentication": { + "type": "Raw", + "parameter": "@appsetting('office365-connectionKey')", + "scheme": "Key" + }, + "connection": { + "id": "string" + }, + "connectionRuntimeUrl": "string" + } + } + } + }, + "health": { + "state": "Healthy" + } + } + }, + "headers": {} + } + }, + "operationId": "WebApps_ListWorkflowsConnectionsSlot", + "title": "List the Instance Workflows Configuration Connections Slot" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/ListWorkflows_Slot.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/ListWorkflows_Slot.json new file mode 100644 index 000000000000..2998835b44c6 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/ListWorkflows_Slot.json @@ -0,0 +1,51 @@ +{ + "parameters": { + "name": "testsite2", + "api-version": "2025-03-01", + "resourceGroupName": "testrg123", + "slot": "staging", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": { + "nextLink": null, + "value": [ + { + "name": "testsite2/a1", + "type": "Microsoft.Web/sites/workflows", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/testsite2/workflows/a1", + "kind": "Stateful", + "location": "USAAnywhere", + "properties": { + "flowState": "Enabled", + "health": { + "state": "Healthy" + } + } + }, + { + "name": "testsite2/stateful2", + "type": "Microsoft.Web/sites/workflows", + "id": "/subscriptions/testsub/resourceGroups/testrg/providers/Microsoft.Web/sites/testsite2/workflows/stateful2", + "kind": "Stateful", + "location": "USAAnywhere", + "properties": { + "flowState": "Enabled", + "health": { + "error": { + "code": "InvalidWorkflowJson", + "message": "Invalid character after parsing property name. Expected ':' but got: \". Path '', line 2, position 2." + }, + "state": "Unhealthy" + } + } + } + ] + }, + "headers": {} + } + }, + "operationId": "WebApps_ListInstanceWorkflowsSlot", + "title": "List the workflows Slot" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/PatchAppServicePlan.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/PatchAppServicePlan.json new file mode 100644 index 000000000000..f87051470881 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/PatchAppServicePlan.json @@ -0,0 +1,74 @@ +{ + "parameters": { + "name": "testsf6141", + "api-version": "2025-03-01", + "appServicePlan": { + "kind": "app", + "properties": {} + }, + "resourceGroupName": "testrg123", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": { + "name": "testsf6141", + "type": "Microsoft.Web/serverfarms", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/serverfarms/testsf6141", + "kind": "app", + "location": "East US", + "properties": { + "geoRegion": "East US", + "maximumNumberOfWorkers": 20, + "numberOfSites": 4, + "provisioningState": "Succeeded", + "reserved": false, + "status": "Ready", + "targetWorkerCount": 0, + "targetWorkerSizeId": 0 + }, + "sku": { + "name": "P1", + "capacity": 1, + "family": "P", + "size": "P1", + "tier": "Premium" + } + }, + "headers": {} + }, + "202": { + "body": { + "name": "testsf6141", + "type": "Microsoft.Web/serverfarms", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/serverfarms/testsf6141", + "kind": "app", + "location": "East US", + "properties": { + "geoRegion": "East US", + "isSpot": false, + "maximumNumberOfWorkers": 20, + "numberOfSites": 4, + "provisioningState": "Succeeded", + "reserved": false, + "status": "Ready", + "targetWorkerCount": 0, + "targetWorkerSizeId": 0 + }, + "sku": { + "name": "P1", + "capacity": 1, + "family": "P", + "size": "P1", + "tier": "Premium" + } + }, + "headers": { + "azure-asyncoperation": "https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/serverfarms/testsf6141/operationresults/F0C6B8EC-0D53-432C-913B-1CD9E8CDE3A0", + "location": "https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/serverfarms/testsf6141/operationresults/F0C6B8EC-0D53-432C-913B-1CD9E8CDE3A0" + } + } + }, + "operationId": "AppServicePlans_Update", + "title": "Patch Service plan" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/PatchCertificate.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/PatchCertificate.json new file mode 100644 index 000000000000..bbad03f7f79c --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/PatchCertificate.json @@ -0,0 +1,38 @@ +{ + "parameters": { + "name": "testc6282", + "api-version": "2025-03-01", + "certificateEnvelope": { + "properties": { + "keyVaultId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.KeyVault/vaults/testKV" + } + }, + "resourceGroupName": "testrg123", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": { + "name": "testc6282", + "type": "Microsoft.Web/certificates", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/certificates/testc6282", + "location": "East US", + "properties": { + "expirationDate": "2039-12-31T23:59:59+00:00", + "friendlyName": "", + "hostNames": [ + "ServerCert" + ], + "issueDate": "2015-11-12T23:40:25+00:00", + "issuer": "CACert", + "keyVaultId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.KeyVault/vaults/testKV", + "subjectName": "ServerCert", + "thumbprint": "FE703D7411A44163B6D32B3AD9B03E175886EBFE" + } + }, + "headers": {} + } + }, + "operationId": "Certificates_Update", + "title": "Patch Certificate" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/PatchSiteCertificate.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/PatchSiteCertificate.json new file mode 100644 index 000000000000..5d2d93d9af7f --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/PatchSiteCertificate.json @@ -0,0 +1,39 @@ +{ + "parameters": { + "name": "testSiteName", + "api-version": "2025-03-01", + "certificateEnvelope": { + "properties": { + "keyVaultId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.KeyVault/vaults/testKV" + } + }, + "certificateName": "testc6282", + "resourceGroupName": "testrg123", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": { + "name": "testc6282", + "type": "Microsoft.Web/sites/certificates", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/testSiteName/certificates/testc6282", + "location": "East US", + "properties": { + "expirationDate": "2039-12-31T23:59:59+00:00", + "friendlyName": "", + "hostNames": [ + "ServerCert" + ], + "issueDate": "2015-11-12T23:40:25+00:00", + "issuer": "CACert", + "keyVaultId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.KeyVault/vaults/testKV", + "subjectName": "ServerCert", + "thumbprint": "FE703D7411A44163B6D32B3AD9B03E175886EBFE" + } + }, + "headers": {} + } + }, + "operationId": "SiteCertificates_Update", + "title": "Patch Certificate" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/PatchSiteCertificateSlot.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/PatchSiteCertificateSlot.json new file mode 100644 index 000000000000..aaac61373651 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/PatchSiteCertificateSlot.json @@ -0,0 +1,40 @@ +{ + "parameters": { + "name": "testSiteName", + "api-version": "2025-03-01", + "certificateEnvelope": { + "properties": { + "keyVaultId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.KeyVault/vaults/testKV" + } + }, + "certificateName": "testc6282", + "resourceGroupName": "testrg123", + "slot": "staging", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": { + "name": "testc6282", + "type": "Microsoft.Web/sites/certificates", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/testSiteName/slots/staging/certificates/testc6282", + "location": "East US", + "properties": { + "expirationDate": "2039-12-31T23:59:59+00:00", + "friendlyName": "", + "hostNames": [ + "ServerCert" + ], + "issueDate": "2015-11-12T23:40:25+00:00", + "issuer": "CACert", + "keyVaultId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.KeyVault/vaults/testKV", + "subjectName": "ServerCert", + "thumbprint": "FE703D7411A44163B6D32B3AD9B03E175886EBFE" + } + }, + "headers": {} + } + }, + "operationId": "SiteCertificates_UpdateSlot", + "title": "Patch Certificate for slot" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/PatchStaticSite.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/PatchStaticSite.json new file mode 100644 index 000000000000..8446385b4e78 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/PatchStaticSite.json @@ -0,0 +1,67 @@ +{ + "parameters": { + "name": "testStaticSite0", + "api-version": "2025-03-01", + "resourceGroupName": "rg", + "staticSiteEnvelope": { + "properties": {} + }, + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": { + "name": "testStaticSite0", + "type": "Microsoft.Web/staticSites", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/staticSites/testStaticSite0", + "location": "West US 2", + "properties": { + "allowConfigFileUpdates": true, + "branch": "demo", + "contentDistributionEndpoint": "", + "customDomains": [], + "defaultHostname": "happy-sea-15afae3e.azurestaticwebsites.net", + "keyVaultReferenceIdentity": "SystemAssigned", + "privateEndpointConnections": [], + "repositoryUrl": "https://github.com/username/RepoName", + "stagingEnvironmentPolicy": "Enabled", + "userProvidedFunctionApps": [] + }, + "sku": { + "name": "Basic", + "tier": "Basic" + } + }, + "headers": {} + }, + "202": { + "body": { + "name": "testStaticSite0", + "type": "Microsoft.Web/staticSites", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/staticSites/testStaticSite0", + "location": "West US 2", + "properties": { + "allowConfigFileUpdates": true, + "branch": "demo", + "contentDistributionEndpoint": "", + "customDomains": [], + "defaultHostname": "happy-sea-15afae3e.azurestaticwebsites.net", + "keyVaultReferenceIdentity": "SystemAssigned", + "privateEndpointConnections": [], + "repositoryUrl": "https://github.com/username/RepoName", + "stagingEnvironmentPolicy": "Enabled", + "userProvidedFunctionApps": [] + }, + "sku": { + "name": "Basic", + "tier": "Basic" + } + }, + "headers": { + "azure-asyncoperation": "https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/providers/Microsoft.Web/locations/westus2/operationResults/62e4d893-d233-4005-988e-a428d9f77076?api-version=2019-01-01" + } + } + }, + "operationId": "StaticSites_UpdateStaticSite", + "title": "Patch a static site" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/PatchStaticSiteBuildDatabaseConnection.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/PatchStaticSiteBuildDatabaseConnection.json new file mode 100644 index 000000000000..d72d20e653fd --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/PatchStaticSiteBuildDatabaseConnection.json @@ -0,0 +1,30 @@ +{ + "parameters": { + "name": "testStaticSite0", + "api-version": "2025-03-01", + "databaseConnectionName": "default", + "databaseConnectionRequestEnvelope": { + "properties": {} + }, + "environmentName": "default", + "resourceGroupName": "rg", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": { + "name": "default", + "type": "Microsoft.Web/staticSites/builds/databaseConnections", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/staticSites/testStaticSite0/builds/default/databaseConnections/default", + "properties": { + "connectionIdentity": "SystemAssigned", + "region": "West US 2", + "resourceId": "/subscription/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/databaseRG/providers/Microsoft.DocumentDB/databaseAccounts/exampleDatabaseName" + } + }, + "headers": {} + } + }, + "operationId": "StaticSites_UpdateBuildDatabaseConnection", + "title": "Patch a database connection for a static site build" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/PatchStaticSiteDatabaseConnection.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/PatchStaticSiteDatabaseConnection.json new file mode 100644 index 000000000000..d0400d400f59 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/PatchStaticSiteDatabaseConnection.json @@ -0,0 +1,29 @@ +{ + "parameters": { + "name": "testStaticSite0", + "api-version": "2025-03-01", + "databaseConnectionName": "default", + "databaseConnectionRequestEnvelope": { + "properties": {} + }, + "resourceGroupName": "rg", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": { + "name": "default", + "type": "Microsoft.Web/staticSites/databaseConnections", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/staticSites/testStaticSite0/databaseConnections/default", + "properties": { + "connectionIdentity": "SystemAssigned", + "region": "West US 2", + "resourceId": "/subscription/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/databaseRG/providers/Microsoft.DocumentDB/databaseAccounts/exampleDatabaseName" + } + }, + "headers": {} + } + }, + "operationId": "StaticSites_UpdateDatabaseConnection", + "title": "Patch a database connection for a static site" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/PostDeployWorkflowArtifacts.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/PostDeployWorkflowArtifacts.json new file mode 100644 index 000000000000..fb2a70949a06 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/PostDeployWorkflowArtifacts.json @@ -0,0 +1,59 @@ +{ + "parameters": { + "name": "testsite2", + "api-version": "2025-03-01", + "resourceGroupName": "testrg123", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "workflowArtifacts": { + "appSettings": { + "eventHub_connectionString": "Endpoint=sb://example.servicebus.windows.net/;SharedAccessKeyName=RootManageSharedAccessKey;SharedAccessKey=EXAMPLE1a2b3c4d5e6fEXAMPLE=" + }, + "files": { + "connections.json": { + "managedApiConnections": {}, + "serviceProviderConnections": { + "eventHub": { + "displayName": "example1", + "parameterValues": { + "connectionString": "@appsetting('eventHub_connectionString')" + }, + "serviceProvider": { + "id": "/serviceProviders/eventHub" + } + } + } + }, + "test1/workflow.json": { + "definition": { + "$schema": "https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#", + "actions": {}, + "contentVersion": "1.0.0.0", + "outputs": {}, + "triggers": { + "When_events_are_available_in_Event_hub": { + "type": "ServiceProvider", + "inputs": { + "parameters": { + "eventHubName": "test123" + }, + "serviceProviderConfiguration": { + "operationId": "receiveEvents", + "connectionName": "eventHub", + "serviceProviderId": "/serviceProviders/eventHub" + } + }, + "splitOn": "@triggerOutputs()?['body']" + } + } + }, + "kind": "Stateful" + } + } + } + }, + "responses": { + "200": {} + }, + "operationId": "WebApps_DeployWorkflowArtifacts", + "title": "Deploys workflow artifacts" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/PostDeployWorkflowArtifactsSlot.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/PostDeployWorkflowArtifactsSlot.json new file mode 100644 index 000000000000..17a9120b0b41 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/PostDeployWorkflowArtifactsSlot.json @@ -0,0 +1,60 @@ +{ + "parameters": { + "name": "testsite2", + "api-version": "2025-03-01", + "resourceGroupName": "testrg123", + "slot": "testsSlot", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "workflowArtifacts": { + "appSettings": { + "eventHub_connectionString": "Endpoint=sb://example.servicebus.windows.net/;SharedAccessKeyName=RootManageSharedAccessKey;SharedAccessKey=EXAMPLE1a2b3c4d5e6fEXAMPLE=" + }, + "files": { + "connections.json": { + "managedApiConnections": {}, + "serviceProviderConnections": { + "eventHub": { + "displayName": "example1", + "parameterValues": { + "connectionString": "@appsetting('eventHub_connectionString')" + }, + "serviceProvider": { + "id": "/serviceProviders/eventHub" + } + } + } + }, + "test1/workflow.json": { + "definition": { + "$schema": "https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#", + "actions": {}, + "contentVersion": "1.0.0.0", + "outputs": {}, + "triggers": { + "When_events_are_available_in_Event_hub": { + "type": "ServiceProvider", + "inputs": { + "parameters": { + "eventHubName": "test123" + }, + "serviceProviderConfiguration": { + "operationId": "receiveEvents", + "connectionName": "eventHub", + "serviceProviderId": "/serviceProviders/eventHub" + } + }, + "splitOn": "@triggerOutputs()?['body']" + } + } + }, + "kind": "Stateful" + } + } + } + }, + "responses": { + "200": {} + }, + "operationId": "WebApps_DeployWorkflowArtifactsSlot", + "title": "Deploys workflow artifacts slot" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/RegisterUserProvidedFunctionAppWithStaticSite.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/RegisterUserProvidedFunctionAppWithStaticSite.json new file mode 100644 index 000000000000..f7b59b1cc2f7 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/RegisterUserProvidedFunctionAppWithStaticSite.json @@ -0,0 +1,48 @@ +{ + "parameters": { + "name": "testStaticSite0", + "api-version": "2025-03-01", + "functionAppName": "testFunctionApp", + "isForced": "true", + "resourceGroupName": "rg", + "staticSiteUserProvidedFunctionEnvelope": { + "properties": { + "functionAppRegion": "West US 2", + "functionAppResourceId": "/subscription/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/functionRG/providers/Microsoft.Web/sites/testFunctionApp" + } + }, + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": { + "name": "testFunctionApp", + "type": "Microsoft.Web/staticSites/builds/userProvidedFunctionApps", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/staticSites/testStaticSite0/builds/default/userProvidedFunctionApps/testFunctionApp", + "properties": { + "createdOn": "2020-03-04T17:33:11.641Z", + "functionAppRegion": "West US 2", + "functionAppResourceId": "/subscription/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/functionRG/providers/Microsoft.Web/sites/testFunctionApp" + } + }, + "headers": {} + }, + "202": { + "body": { + "name": "testFunctionApp", + "type": "Microsoft.Web/staticSites/builds/userProvidedFunctionApps", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/staticSites/testStaticSite0/builds/default/userProvidedFunctionApps/testFunctionApp", + "properties": { + "createdOn": "2020-03-04T17:33:11.641Z", + "functionAppRegion": "West US 2", + "functionAppResourceId": "/subscription/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/functionRG/providers/Microsoft.Web/sites/testFunctionApp" + } + }, + "headers": { + "azure-asyncoperation": "https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/providers/Microsoft.Web/locations/westus2/operationResults/62e4d893-d233-4005-988e-a428d9f77076?api-version=2019-01-01" + } + } + }, + "operationId": "StaticSites_RegisterUserProvidedFunctionAppWithStaticSite", + "title": "Register a user provided function app with a static site" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/RegisterUserProvidedFunctionAppWithStaticSiteBuild.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/RegisterUserProvidedFunctionAppWithStaticSiteBuild.json new file mode 100644 index 000000000000..83742aeb671c --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/RegisterUserProvidedFunctionAppWithStaticSiteBuild.json @@ -0,0 +1,49 @@ +{ + "parameters": { + "name": "testStaticSite0", + "api-version": "2025-03-01", + "environmentName": "default", + "functionAppName": "testFunctionApp", + "isForced": "true", + "resourceGroupName": "rg", + "staticSiteUserProvidedFunctionEnvelope": { + "properties": { + "functionAppRegion": "West US 2", + "functionAppResourceId": "/subscription/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/functionRG/providers/Microsoft.Web/sites/testFunctionApp" + } + }, + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": { + "name": "testFunctionApp", + "type": "Microsoft.Web/staticSites/builds/userProvidedFunctionApps", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/staticSites/testStaticSite0/builds/default/userProvidedFunctionApps/testFunctionApp", + "properties": { + "createdOn": "2020-03-04T17:33:11.641Z", + "functionAppRegion": "West US 2", + "functionAppResourceId": "/subscription/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/functionRG/providers/Microsoft.Web/sites/testFunctionApp" + } + }, + "headers": {} + }, + "202": { + "body": { + "name": "testFunctionApp", + "type": "Microsoft.Web/staticSites/builds/userProvidedFunctionApps", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/staticSites/testStaticSite0/builds/default/userProvidedFunctionApps/testFunctionApp", + "properties": { + "createdOn": "2020-03-04T17:33:11.641Z", + "functionAppRegion": "West US 2", + "functionAppResourceId": "/subscription/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/functionRG/providers/Microsoft.Web/sites/testFunctionApp" + } + }, + "headers": { + "azure-asyncoperation": "https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/providers/Microsoft.Web/locations/westus2/operationResults/62e4d893-d233-4005-988e-a428d9f77076?api-version=2019-01-01" + } + } + }, + "operationId": "StaticSites_RegisterUserProvidedFunctionAppWithStaticSiteBuild", + "title": "Register a user provided function app with a static site build" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/ResetStaticSiteApiKey.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/ResetStaticSiteApiKey.json new file mode 100644 index 000000000000..f8c84d539d89 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/ResetStaticSiteApiKey.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "name": "testStaticSite0", + "api-version": "2025-03-01", + "resetPropertiesEnvelope": { + "properties": { + "repositoryToken": "repoToken123", + "shouldUpdateRepository": true + } + }, + "resourceGroupName": "rg", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": {} + }, + "operationId": "StaticSites_ResetStaticSiteApiKey", + "title": "Reset the api key for a static site" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/RestoreWebAppBackup.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/RestoreWebAppBackup.json new file mode 100644 index 000000000000..13ca1f0762f0 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/RestoreWebAppBackup.json @@ -0,0 +1,40 @@ +{ + "parameters": { + "name": "sitef6141", + "api-version": "2025-03-01", + "backupId": "123244", + "resourceGroupName": "testrg123", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "request": { + "properties": { + "databases": [ + { + "name": "backenddb", + "connectionString": "DSN=data-source-name[;SERVER=value] [;PWD=value] [;UID=value] [;=]", + "connectionStringName": "backend", + "databaseType": "SqlAzure" + }, + { + "name": "statsdb", + "connectionString": "DSN=data-source-name[;SERVER=value] [;PWD=value] [;UID=value] [;=]", + "connectionStringName": "stats", + "databaseType": "SqlAzure" + } + ], + "overwrite": true, + "siteName": "sitef6141", + "storageAccountUrl": "DefaultEndpointsProtocol=https;AccountName=storagesample;AccountKey=" + } + } + }, + "responses": { + "200": {}, + "202": { + "headers": { + "azure-asyncoperation": "https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/providers/Microsoft.Web/sites/sitef6141/operationResults/62e4d893-d233-4005-988e-a428d9f77076?api-version=2025-03-01" + } + } + }, + "operationId": "WebApps_Restore", + "title": "Restore web app from backup" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/StartWebSiteNetworkTraceOperation.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/StartWebSiteNetworkTraceOperation.json new file mode 100644 index 000000000000..b2bd4cd9a087 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/StartWebSiteNetworkTraceOperation.json @@ -0,0 +1,37 @@ +{ + "parameters": { + "name": "SampleApp", + "api-version": "2025-03-01", + "durationInSeconds": 60, + "resourceGroupName": "testrg123", + "slot": "Production", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": [ + { + "path": "D:\\home\\LogFiles\\networktrace\\10.0.0.1_2018_02_01T00_00_00.zip", + "message": "Trace file has been saved as D:\\home\\LogFiles\\networktrace\\10.0.0.1_2018_02_01T00_00_00.zip", + "status": "Succeeded" + } + ], + "headers": {} + }, + "202": { + "body": [ + { + "path": "D:\\home\\LogFiles\\networktrace\\10.0.0.1_2018_02_01T00_00_00.zip", + "message": "Trace file has been saved as D:\\home\\LogFiles\\networktrace\\10.0.0.1_2018_02_01T00_00_00.zip", + "status": "Succeeded" + } + ], + "headers": { + "azure-asyncoperation": "https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/SampleApp/operationresults/c291433b-53ad-4c49-8cae-0a293eae1c6d", + "location": "https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/SampleApp/operationresults/c291433b-53ad-4c49-8cae-0a293eae1c6d" + } + } + }, + "operationId": "WebApps_StartWebSiteNetworkTraceOperation", + "title": "Start a new network trace operation for a site" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/StartWebSiteNetworkTraceOperation_Slot.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/StartWebSiteNetworkTraceOperation_Slot.json new file mode 100644 index 000000000000..00ea19b8d44b --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/StartWebSiteNetworkTraceOperation_Slot.json @@ -0,0 +1,37 @@ +{ + "parameters": { + "name": "SampleApp", + "api-version": "2025-03-01", + "durationInSeconds": 60, + "resourceGroupName": "testrg123", + "slot": "Production", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": [ + { + "path": "D:\\home\\LogFiles\\networktrace\\10.0.0.1_2018_02_01T00_00_00.zip", + "message": "Trace file has been saved as D:\\home\\LogFiles\\networktrace\\10.0.0.1_2018_02_01T00_00_00.zip", + "status": "Succeeded" + } + ], + "headers": {} + }, + "202": { + "body": [ + { + "path": "D:\\home\\LogFiles\\networktrace\\10.0.0.1_2018_02_01T00_00_00.zip", + "message": "Trace file has been saved as D:\\home\\LogFiles\\networktrace\\10.0.0.1_2018_02_01T00_00_00.zip", + "status": "Succeeded" + } + ], + "headers": { + "azure-asyncoperation": "https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/SampleApp/operationresults/c291433b-53ad-4c49-8cae-0a293eae1c6d", + "location": "https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/SampleApp/operationresults/c291433b-53ad-4c49-8cae-0a293eae1c6d" + } + } + }, + "operationId": "WebApps_StartWebSiteNetworkTraceOperationSlot", + "title": "Start a new network trace operation for a site" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/StartWebSiteNetworkTraceOperation_StartNetworkTrace.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/StartWebSiteNetworkTraceOperation_StartNetworkTrace.json new file mode 100644 index 000000000000..32ad98ca1e51 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/StartWebSiteNetworkTraceOperation_StartNetworkTrace.json @@ -0,0 +1,37 @@ +{ + "parameters": { + "name": "SampleApp", + "api-version": "2025-03-01", + "durationInSeconds": 60, + "resourceGroupName": "testrg123", + "slot": "Production", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": [ + { + "path": "D:\\home\\LogFiles\\networktrace\\10.0.0.1_2018_02_01T00_00_00.zip", + "message": "Trace file has been saved as D:\\home\\LogFiles\\networktrace\\10.0.0.1_2018_02_01T00_00_00.zip", + "status": "Succeeded" + } + ], + "headers": {} + }, + "202": { + "body": [ + { + "path": "D:\\home\\LogFiles\\networktrace\\10.0.0.1_2018_02_01T00_00_00.zip", + "message": "Trace file has been saved as D:\\home\\LogFiles\\networktrace\\10.0.0.1_2018_02_01T00_00_00.zip", + "status": "Succeeded" + } + ], + "headers": { + "azure-asyncoperation": "https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/SampleApp/operationresults/c291433b-53ad-4c49-8cae-0a293eae1c6d", + "location": "https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/SampleApp/operationresults/c291433b-53ad-4c49-8cae-0a293eae1c6d" + } + } + }, + "operationId": "WebApps_StartNetworkTrace", + "title": "Start a new network trace operation for a site" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/StartWebSiteNetworkTraceOperation_StartNetworkTraceSlot.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/StartWebSiteNetworkTraceOperation_StartNetworkTraceSlot.json new file mode 100644 index 000000000000..697552c8c1b4 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/StartWebSiteNetworkTraceOperation_StartNetworkTraceSlot.json @@ -0,0 +1,37 @@ +{ + "parameters": { + "name": "SampleApp", + "api-version": "2025-03-01", + "durationInSeconds": 60, + "resourceGroupName": "testrg123", + "slot": "Production", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": [ + { + "path": "D:\\home\\LogFiles\\networktrace\\10.0.0.1_2018_02_01T00_00_00.zip", + "message": "Trace file has been saved as D:\\home\\LogFiles\\networktrace\\10.0.0.1_2018_02_01T00_00_00.zip", + "status": "Succeeded" + } + ], + "headers": {} + }, + "202": { + "body": [ + { + "path": "D:\\home\\LogFiles\\networktrace\\10.0.0.1_2018_02_01T00_00_00.zip", + "message": "Trace file has been saved as D:\\home\\LogFiles\\networktrace\\10.0.0.1_2018_02_01T00_00_00.zip", + "status": "Succeeded" + } + ], + "headers": { + "azure-asyncoperation": "https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/SampleApp/operationresults/c291433b-53ad-4c49-8cae-0a293eae1c6d", + "location": "https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/SampleApp/operationresults/c291433b-53ad-4c49-8cae-0a293eae1c6d" + } + } + }, + "operationId": "WebApps_StartNetworkTraceSlot", + "title": "Start a new network trace operation for a site" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/StaticSiteBuildZipDeploy.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/StaticSiteBuildZipDeploy.json new file mode 100644 index 000000000000..99cd304ccf38 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/StaticSiteBuildZipDeploy.json @@ -0,0 +1,28 @@ +{ + "parameters": { + "name": "testStaticSite0", + "api-version": "2025-03-01", + "environmentName": "12", + "resourceGroupName": "rg", + "staticSiteZipDeploymentEnvelope": { + "properties": { + "apiZipUrl": "https://[examplestorageaccount].com/happy-sea-15afae3e-master-81828877/api-zipdeploy.zip", + "appZipUrl": "https://[examplestorageaccount].com/happy-sea-15afae3e-master-81828877/app-zipdeploy.zip", + "deploymentTitle": "Update index.html", + "functionLanguage": "testFunctionLanguage", + "provider": "testProvider" + } + }, + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "azure-asyncoperation": "https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/providers/Microsoft.Web/locations/westus2/operationResults/62e4d893-d233-4005-988e-a428d9f77076?api-version=2019-01-01" + } + } + }, + "operationId": "StaticSites_CreateZipDeploymentForStaticSiteBuild", + "title": "Deploy a site from a zipped package to a particular static site build" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/StaticSiteZipDeploy.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/StaticSiteZipDeploy.json new file mode 100644 index 000000000000..852f0ec8a793 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/StaticSiteZipDeploy.json @@ -0,0 +1,27 @@ +{ + "parameters": { + "name": "testStaticSite0", + "api-version": "2025-03-01", + "resourceGroupName": "rg", + "staticSiteZipDeploymentEnvelope": { + "properties": { + "apiZipUrl": "https://[examplestorageaccount].com/happy-sea-15afae3e-master-81828877/api-zipdeploy.zip", + "appZipUrl": "https://[examplestorageaccount].com/happy-sea-15afae3e-master-81828877/app-zipdeploy.zip", + "deploymentTitle": "Update index.html", + "functionLanguage": "testFunctionLanguage", + "provider": "testProvider" + } + }, + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "azure-asyncoperation": "https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/providers/Microsoft.Web/locations/westus2/operationResults/62e4d893-d233-4005-988e-a428d9f77076?api-version=2019-01-01" + } + } + }, + "operationId": "StaticSites_CreateZipDeploymentForStaticSite", + "title": "Deploy a site from a zipped package" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/StopWebSiteNetworkTrace.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/StopWebSiteNetworkTrace.json new file mode 100644 index 000000000000..9749b7ea6af6 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/StopWebSiteNetworkTrace.json @@ -0,0 +1,15 @@ +{ + "parameters": { + "name": "SampleApp", + "api-version": "2025-03-01", + "resourceGroupName": "testrg123", + "slot": "Production", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": {}, + "204": {} + }, + "operationId": "WebApps_StopWebSiteNetworkTrace", + "title": "Stop a currently running network trace operation for a site" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/StopWebSiteNetworkTrace_Slot.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/StopWebSiteNetworkTrace_Slot.json new file mode 100644 index 000000000000..3ef773be4edc --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/StopWebSiteNetworkTrace_Slot.json @@ -0,0 +1,15 @@ +{ + "parameters": { + "name": "SampleApp", + "api-version": "2025-03-01", + "resourceGroupName": "testrg123", + "slot": "Production", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": {}, + "204": {} + }, + "operationId": "WebApps_StopWebSiteNetworkTraceSlot", + "title": "Stop a currently running network trace operation for a site" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/StopWebSiteNetworkTrace_StopNetworkTrace.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/StopWebSiteNetworkTrace_StopNetworkTrace.json new file mode 100644 index 000000000000..19e22d6f8490 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/StopWebSiteNetworkTrace_StopNetworkTrace.json @@ -0,0 +1,15 @@ +{ + "parameters": { + "name": "SampleApp", + "api-version": "2025-03-01", + "resourceGroupName": "testrg123", + "slot": "Production", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": {}, + "204": {} + }, + "operationId": "WebApps_StopNetworkTrace", + "title": "Stop a currently running network trace operation for a site" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/StopWebSiteNetworkTrace_StopNetworkTraceSlot.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/StopWebSiteNetworkTrace_StopNetworkTraceSlot.json new file mode 100644 index 000000000000..d1d81731a0ba --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/StopWebSiteNetworkTrace_StopNetworkTraceSlot.json @@ -0,0 +1,15 @@ +{ + "parameters": { + "name": "SampleApp", + "api-version": "2025-03-01", + "resourceGroupName": "testrg123", + "slot": "Production", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": {}, + "204": {} + }, + "operationId": "WebApps_StopNetworkTraceSlot", + "title": "Stop a currently running network trace operation for a site" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/UnlinkBackendFromStaticSite.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/UnlinkBackendFromStaticSite.json new file mode 100644 index 000000000000..1643640638e0 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/UnlinkBackendFromStaticSite.json @@ -0,0 +1,16 @@ +{ + "parameters": { + "name": "testStaticSite0", + "api-version": "2025-03-01", + "cleanUpAuth": true, + "linkedBackendName": "testBackend", + "resourceGroupName": "rg", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": {}, + "204": {} + }, + "operationId": "StaticSites_UnlinkBackend", + "title": "Unlink a backend from a static site." +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/UnlinkBackendFromStaticSiteBuild.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/UnlinkBackendFromStaticSiteBuild.json new file mode 100644 index 000000000000..e41e82b269ca --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/UnlinkBackendFromStaticSiteBuild.json @@ -0,0 +1,17 @@ +{ + "parameters": { + "name": "testStaticSite0", + "api-version": "2025-03-01", + "cleanUpAuth": true, + "environmentName": "12", + "linkedBackendName": "testBackend", + "resourceGroupName": "rg", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": {}, + "204": {} + }, + "operationId": "StaticSites_UnlinkBackendFromBuild", + "title": "Unlink a backend from a static site build." +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/UpdateAppSettings.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/UpdateAppSettings.json new file mode 100644 index 000000000000..3aa18bf46f33 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/UpdateAppSettings.json @@ -0,0 +1,31 @@ +{ + "parameters": { + "name": "sitef6141", + "api-version": "2025-03-01", + "appSettings": { + "properties": { + "Setting1": "Value1", + "Setting2": "Value2" + } + }, + "resourceGroupName": "testrg123", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": { + "name": "appsettings", + "type": "Microsoft.Web/sites/config", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/sitef6141/config/appsettings", + "kind": "app", + "properties": { + "Setting1": "Value1", + "Setting2": "Value2" + } + }, + "headers": {} + } + }, + "operationId": "WebApps_UpdateApplicationSettings", + "title": "Update App Settings" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/UpdateAseCustomDnsSuffixConfiguration.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/UpdateAseCustomDnsSuffixConfiguration.json new file mode 100644 index 000000000000..a6acc9d68053 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/UpdateAseCustomDnsSuffixConfiguration.json @@ -0,0 +1,34 @@ +{ + "parameters": { + "name": "test-ase", + "api-version": "2025-03-01", + "customDnsSuffixConfiguration": { + "properties": { + "certificateUrl": "https://test-kv.vault.azure.net/secrets/contosocert", + "dnsSuffix": "contoso.com", + "keyVaultReferenceIdentity": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourcegroups/test-rg/providers/microsoft.managedidentity/userassignedidentities/test-user-mi" + } + }, + "resourceGroupName": "test-rg", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": { + "name": "customDnsSuffix", + "type": "Microsoft.Web/hostingEnvironments/configurations/customdnssuffix", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-rg/providers/Microsoft.Web/hostingEnvironments/test-ase/configurations/customdnssuffix", + "properties": { + "certificateUrl": "https://test-kv.vault.azure.net/secrets/contosocert", + "dnsSuffix": "contoso.com", + "keyVaultReferenceIdentity": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourcegroups/test-rg/providers/microsoft.managedidentity/userassignedidentities/test-user-mi", + "provisioningDetails": null, + "provisioningState": "Succeeded" + } + }, + "headers": {} + } + }, + "operationId": "AppServiceEnvironments_UpdateAseCustomDnsSuffixConfiguration", + "title": "Update ASE custom DNS suffix configuration" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/UpdateAuthSettings.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/UpdateAuthSettings.json new file mode 100644 index 000000000000..786c5f3af2f4 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/UpdateAuthSettings.json @@ -0,0 +1,49 @@ +{ + "parameters": { + "name": "sitef6141", + "api-version": "2025-03-01", + "resourceGroupName": "testrg123", + "siteAuthSettings": { + "properties": { + "allowedExternalRedirectUrls": [ + "sitef6141.customdomain.net", + "sitef6141.customdomain.info" + ], + "clientId": "42d795a9-8abb-4d06-8534-39528af40f8e.apps.googleusercontent.com", + "defaultProvider": "Google", + "enabled": true, + "runtimeVersion": "~1", + "tokenRefreshExtensionHours": 120, + "tokenStoreEnabled": true, + "unauthenticatedClientAction": "RedirectToLoginPage" + } + }, + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": { + "name": "authsettings", + "type": "Microsoft.Web/sites/authsettings", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/sitef6141/config/authsettings", + "kind": "app", + "properties": { + "allowedExternalRedirectUrls": [ + "sitef6141.customdomain.net", + "sitef6141.customdomain.info" + ], + "clientId": "42d795a9-8abb-4d06-8534-39528af40f8e.apps.googleusercontent.com", + "defaultProvider": "Google", + "enabled": true, + "runtimeVersion": "~1", + "tokenRefreshExtensionHours": 120, + "tokenStoreEnabled": true, + "unauthenticatedClientAction": "RedirectToLoginPage" + } + }, + "headers": {} + } + }, + "operationId": "WebApps_UpdateAuthSettings", + "title": "Update Auth Settings" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/UpdateAuthSettingsV2.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/UpdateAuthSettingsV2.json new file mode 100644 index 000000000000..b480861f529b --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/UpdateAuthSettingsV2.json @@ -0,0 +1,157 @@ +{ + "parameters": { + "name": "sitef6141", + "api-version": "2025-03-01", + "resourceGroupName": "testrg123", + "siteAuthSettingsV2": { + "properties": { + "globalValidation": { + "excludedPaths": [ + "/nosecrets/Path" + ], + "requireAuthentication": true, + "unauthenticatedClientAction": "Return403" + }, + "httpSettings": { + "forwardProxy": { + "convention": "Standard", + "customHostHeaderName": "authHeader", + "customProtoHeaderName": "customProtoHeader" + }, + "requireHttps": true, + "routes": { + "apiPrefix": "/authv2/" + } + }, + "identityProviders": { + "google": { + "enabled": true, + "login": { + "scopes": [ + "admin" + ] + }, + "registration": { + "clientId": "42d795a9-8abb-4d06-8534-39528af40f8e.apps.googleusercontent.com", + "clientSecretSettingName": "ClientSecret" + }, + "validation": { + "allowedAudiences": [ + "https://example.com" + ] + } + } + }, + "login": { + "allowedExternalRedirectUrls": [ + "https://someurl.com" + ], + "cookieExpiration": { + "convention": "IdentityProviderDerived", + "timeToExpiration": "2022:09-01T00:00Z" + }, + "nonce": { + "validateNonce": true + }, + "preserveUrlFragmentsForLogins": true, + "routes": { + "logoutEndpoint": "https://app.com/logout" + }, + "tokenStore": { + "enabled": true, + "fileSystem": { + "directory": "/wwwroot/sites/example" + }, + "tokenRefreshExtensionHours": 96 + } + }, + "platform": { + "configFilePath": "/auth/config.json", + "enabled": true, + "runtimeVersion": "~1" + } + } + }, + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": { + "name": "authsettingsv2", + "type": "Microsoft.Web/sites/authsettingsv2", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/sitef6141/config/authsettingsv2", + "kind": "app", + "properties": { + "globalValidation": { + "excludedPaths": [ + "/nosecrets/Path" + ], + "requireAuthentication": true, + "unauthenticatedClientAction": "Return403" + }, + "httpSettings": { + "forwardProxy": { + "convention": "Standard", + "customHostHeaderName": "authHeader", + "customProtoHeaderName": "customProtoHeader" + }, + "requireHttps": true, + "routes": { + "apiPrefix": "/authv2/" + } + }, + "identityProviders": { + "google": { + "enabled": true, + "login": { + "scopes": [ + "admin" + ] + }, + "registration": { + "clientId": "42d795a9-8abb-4d06-8534-39528af40f8e.apps.googleusercontent.com", + "clientSecretSettingName": "ClientSecret" + }, + "validation": { + "allowedAudiences": [ + "https://example.com" + ] + } + } + }, + "login": { + "allowedExternalRedirectUrls": [ + "https://someurl.com" + ], + "cookieExpiration": { + "convention": "IdentityProviderDerived", + "timeToExpiration": "2022:09-01T00:00Z" + }, + "nonce": { + "validateNonce": true + }, + "preserveUrlFragmentsForLogins": true, + "routes": { + "logoutEndpoint": "https://app.com/logout" + }, + "tokenStore": { + "enabled": true, + "fileSystem": { + "directory": "/wwwroot/sites/example" + }, + "tokenRefreshExtensionHours": 96 + } + }, + "platform": { + "configFilePath": "/auth/config.json", + "enabled": true, + "runtimeVersion": "~1" + } + } + }, + "headers": {} + } + }, + "operationId": "WebApps_UpdateAuthSettingsV2", + "title": "Update Auth Settings V2" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/UpdateAzureStorageAccounts.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/UpdateAzureStorageAccounts.json new file mode 100644 index 000000000000..777be890a40c --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/UpdateAzureStorageAccounts.json @@ -0,0 +1,41 @@ +{ + "parameters": { + "name": "sitef6141", + "api-version": "2025-03-01", + "azureStorageAccounts": { + "properties": { + "account1": { + "type": "AzureFiles", + "accessKey": "26515^%@#*", + "accountName": "testsa", + "mountPath": "/mounts/a/files", + "shareName": "web" + } + } + }, + "resourceGroupName": "testrg123", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": { + "name": "web", + "type": "Microsoft.Web/sites/config", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/sitef6141/config/web", + "kind": "app", + "properties": { + "account1": { + "type": "AzureFiles", + "accountName": "testsa", + "mountPath": "/mounts/a/files", + "shareName": "web", + "state": "Ok" + } + } + }, + "headers": {} + } + }, + "operationId": "WebApps_UpdateAzureStorageAccounts", + "title": "Update Azure Storage Accounts" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/UpdateMachineKey.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/UpdateMachineKey.json new file mode 100644 index 000000000000..814c245529b8 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/UpdateMachineKey.json @@ -0,0 +1,16 @@ +{ + "parameters": { + "name": "contoso", + "api-version": "2025-03-01", + "resourceGroupName": "rg", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": {}, + "headers": {} + } + }, + "operationId": "WebApps_UpdateMachineKey", + "title": "Updates the machine key for a site" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/UpdatePublishingCredentialsPolicy.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/UpdatePublishingCredentialsPolicy.json new file mode 100644 index 000000000000..1ab0fc2007d8 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/UpdatePublishingCredentialsPolicy.json @@ -0,0 +1,26 @@ +{ + "parameters": { + "name": "testSite", + "api-version": "2025-03-01", + "csmPublishingAccessPoliciesEntity": { + "properties": { + "allow": true + } + }, + "resourceGroupName": "rg", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/sites/testSite/basicPublishingCredentialsPolicies/ftp", + "properties": { + "allow": true + } + }, + "headers": {} + } + }, + "operationId": "WebApps_UpdateScmAllowed", + "title": "Update SCM Allowed" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/UpdatePublishingCredentialsPolicySlot.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/UpdatePublishingCredentialsPolicySlot.json new file mode 100644 index 000000000000..aa470b86f3b8 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/UpdatePublishingCredentialsPolicySlot.json @@ -0,0 +1,27 @@ +{ + "parameters": { + "name": "testSite", + "api-version": "2025-03-01", + "csmPublishingAccessPoliciesEntity": { + "properties": { + "allow": true + } + }, + "resourceGroupName": "rg", + "slot": "stage", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/sites/testSite/slots/stage/basicPublishingCredentialsPolicies/ftp", + "properties": { + "allow": true + } + }, + "headers": {} + } + }, + "operationId": "WebApps_UpdateScmAllowedSlot", + "title": "Update SCM Allowed" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/UpdatePublishingCredentialsPolicySlot_UpdateFtpAllowedSlot.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/UpdatePublishingCredentialsPolicySlot_UpdateFtpAllowedSlot.json new file mode 100644 index 000000000000..468bf13d8186 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/UpdatePublishingCredentialsPolicySlot_UpdateFtpAllowedSlot.json @@ -0,0 +1,27 @@ +{ + "parameters": { + "name": "testSite", + "api-version": "2025-03-01", + "csmPublishingAccessPoliciesEntity": { + "properties": { + "allow": true + } + }, + "resourceGroupName": "rg", + "slot": "stage", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/sites/testSite/slots/stage/basicPublishingCredentialsPolicies/ftp", + "properties": { + "allow": true + } + }, + "headers": {} + } + }, + "operationId": "WebApps_UpdateFtpAllowedSlot", + "title": "Update FTP Allowed" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/UpdatePublishingCredentialsPolicy_UpdateFtpAllowed.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/UpdatePublishingCredentialsPolicy_UpdateFtpAllowed.json new file mode 100644 index 000000000000..9be1070cf8ea --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/UpdatePublishingCredentialsPolicy_UpdateFtpAllowed.json @@ -0,0 +1,27 @@ +{ + "parameters": { + "name": "testSite", + "api-version": "2025-03-01", + "csmPublishingAccessPoliciesEntity": { + "properties": { + "allow": true + } + }, + "resourceGroupName": "rg", + "slot": "stage", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/sites/testSite/slots/stage/basicPublishingCredentialsPolicies/ftp", + "properties": { + "allow": true + } + }, + "headers": {} + } + }, + "operationId": "WebApps_UpdateFtpAllowed", + "title": "Update FTP Allowed" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/UpdateSiteConfig.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/UpdateSiteConfig.json new file mode 100644 index 000000000000..7978f12afae1 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/UpdateSiteConfig.json @@ -0,0 +1,125 @@ +{ + "parameters": { + "name": "sitef6141", + "api-version": "2025-03-01", + "resourceGroupName": "testrg123", + "siteConfig": { + "properties": { + "acrUseManagedIdentityCreds": false, + "alwaysOn": false, + "appCommandLine": "", + "autoHealEnabled": false, + "azureStorageAccounts": {}, + "defaultDocuments": [ + "Default.htm", + "Default.html", + "Default.asp", + "index.htm", + "index.html", + "iisstart.htm", + "default.aspx", + "index.php", + "hostingstart.html" + ], + "detailedErrorLoggingEnabled": false, + "ftpsState": "AllAllowed", + "functionAppScaleLimit": 0, + "functionsRuntimeScaleMonitoringEnabled": false, + "http20Enabled": false, + "httpLoggingEnabled": false, + "linuxFxVersion": "", + "loadBalancing": "LeastRequests", + "logsDirectorySizeLimit": 35, + "managedPipelineMode": "Integrated", + "minTlsVersion": "1.2", + "minimumElasticInstanceCount": 0, + "netFrameworkVersion": "v4.0", + "nodeVersion": "", + "numberOfWorkers": 1, + "phpVersion": "5.6", + "powerShellVersion": "", + "pythonVersion": "", + "remoteDebuggingEnabled": false, + "requestTracingEnabled": false, + "scmMinTlsVersion": "1.2", + "use32BitWorkerProcess": true, + "virtualApplications": [ + { + "physicalPath": "site\\wwwroot", + "preloadEnabled": false, + "virtualPath": "/" + } + ], + "vnetName": "", + "vnetPrivatePortsCount": 0, + "vnetRouteAllEnabled": false, + "webSocketsEnabled": false + } + }, + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": { + "name": "web", + "type": "Microsoft.Web/sites/config", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/sitef6141/config/web", + "kind": "app", + "properties": { + "acrUseManagedIdentityCreds": false, + "alwaysOn": false, + "appCommandLine": "", + "autoHealEnabled": false, + "azureStorageAccounts": {}, + "defaultDocuments": [ + "Default.htm", + "Default.html", + "Default.asp", + "index.htm", + "index.html", + "iisstart.htm", + "default.aspx", + "index.php", + "hostingstart.html" + ], + "detailedErrorLoggingEnabled": false, + "ftpsState": "AllAllowed", + "functionAppScaleLimit": 0, + "functionsRuntimeScaleMonitoringEnabled": false, + "http20Enabled": false, + "httpLoggingEnabled": false, + "linuxFxVersion": "", + "loadBalancing": "LeastRequests", + "logsDirectorySizeLimit": 35, + "managedPipelineMode": "Integrated", + "minTlsVersion": "1.2", + "minimumElasticInstanceCount": 0, + "netFrameworkVersion": "v4.0", + "nodeVersion": "", + "numberOfWorkers": 1, + "phpVersion": "5.6", + "powerShellVersion": "", + "pythonVersion": "", + "remoteDebuggingEnabled": false, + "requestTracingEnabled": false, + "scmMinTlsVersion": "1.2", + "use32BitWorkerProcess": true, + "virtualApplications": [ + { + "physicalPath": "site\\wwwroot", + "preloadEnabled": false, + "virtualPath": "/" + } + ], + "vnetName": "", + "vnetPrivatePortsCount": 0, + "vnetRouteAllEnabled": false, + "webSocketsEnabled": false + } + }, + "headers": {} + } + }, + "operationId": "WebApps_CreateOrUpdateConfiguration", + "title": "Update Site Config" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/UpdateStaticSiteUser.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/UpdateStaticSiteUser.json new file mode 100644 index 000000000000..6e9cee401627 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/UpdateStaticSiteUser.json @@ -0,0 +1,30 @@ +{ + "parameters": { + "name": "testStaticSite0", + "api-version": "2025-03-01", + "authprovider": "aad", + "resourceGroupName": "rg", + "staticSiteUserEnvelope": { + "properties": { + "roles": "contributor" + } + }, + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "userid": "1234" + }, + "responses": { + "200": { + "body": { + "properties": { + "displayName": "username", + "provider": "aad", + "roles": "contributor,anonymous,authenticated", + "userId": "1234" + } + }, + "headers": {} + } + }, + "operationId": "StaticSites_UpdateStaticSiteUser", + "title": "Create or update a user for a static site" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/UpdateWebApp.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/UpdateWebApp.json new file mode 100644 index 000000000000..2ec5e74678c1 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/UpdateWebApp.json @@ -0,0 +1,259 @@ +{ + "parameters": { + "name": "sitef6141", + "api-version": "2025-03-01", + "resourceGroupName": "testrg123", + "siteEnvelope": { + "properties": { + "serverFarmId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/serverfarms/DefaultAsp" + } + }, + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": { + "name": "sitef6141", + "type": "Microsoft.Web/sites", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/sitef6141", + "kind": "app", + "location": "East US", + "properties": { + "availabilityState": "Normal", + "clientAffinityEnabled": true, + "clientCertEnabled": false, + "clientCertMode": "Required", + "containerSize": 0, + "customDomainVerificationId": "7F3BB652450EF7AD0B6AA33064586E4A9CE823A46DF0B2EC6443A68086E84153", + "dailyMemoryTimeQuota": 0, + "defaultHostName": "sitef6141.azurewebsites.net", + "enabled": true, + "enabledHostNames": [ + "sitef6141.azurewebsites.net", + "sitef6141.scm.azurewebsites.net" + ], + "hostNameSslStates": [ + { + "name": "sitef6141.azurewebsites.net", + "hostType": "Standard", + "sslState": "Disabled" + }, + { + "name": "sitef6141.scm.azurewebsites.net", + "hostType": "Repository", + "sslState": "Disabled" + } + ], + "hostNames": [ + "sitef6141.azurewebsites.net" + ], + "hostNamesDisabled": false, + "httpsOnly": false, + "hyperV": false, + "isXenon": false, + "keyVaultReferenceIdentity": "SystemAssigned", + "lastModifiedTimeUtc": "2020-03-04T17:33:11.641Z", + "outboundIpAddresses": "70.37.102.201,20.225.43.144", + "outboundVnetRouting": { + "allTraffic": false, + "applicationTraffic": false, + "backupRestoreTraffic": false, + "contentShareTraffic": false, + "imagePullTraffic": false + }, + "possibleOutboundIpAddresses": "70.37.102.201,20.225.43.144,20.225.184.122,20.225.184.188", + "redundancyMode": "None", + "repositorySiteName": "sitef6141", + "reserved": false, + "resourceConfig": { + "cpu": 1, + "memory": "2.0Gi" + }, + "resourceGroup": "testrg123", + "scmSiteAlsoStopped": false, + "serverFarmId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/serverfarms/DefaultAsp", + "siteConfig": { + "acrUseManagedIdentityCreds": false, + "alwaysOn": false, + "appCommandLine": "", + "autoHealEnabled": false, + "azureStorageAccounts": {}, + "defaultDocuments": [ + "Default.htm", + "Default.html", + "Default.asp", + "index.htm", + "index.html", + "iisstart.htm", + "default.aspx", + "index.php", + "hostingstart.html" + ], + "detailedErrorLoggingEnabled": false, + "ftpsState": "AllAllowed", + "functionAppScaleLimit": 0, + "functionsRuntimeScaleMonitoringEnabled": false, + "http20Enabled": false, + "httpLoggingEnabled": false, + "linuxFxVersion": "", + "loadBalancing": "LeastRequests", + "logsDirectorySizeLimit": 35, + "managedPipelineMode": "Integrated", + "minTlsVersion": "1.2", + "minimumElasticInstanceCount": 0, + "netFrameworkVersion": "v4.0", + "nodeVersion": "", + "numberOfWorkers": 1, + "phpVersion": "5.6", + "powerShellVersion": "", + "pythonVersion": "", + "remoteDebuggingEnabled": false, + "requestTracingEnabled": false, + "scmMinTlsVersion": "1.2", + "use32BitWorkerProcess": true, + "virtualApplications": [ + { + "physicalPath": "site\\wwwroot", + "preloadEnabled": false, + "virtualPath": "/" + } + ], + "vnetName": "", + "vnetPrivatePortsCount": 0, + "vnetRouteAllEnabled": false, + "webSocketsEnabled": false + }, + "state": "Running", + "storageAccountRequired": false, + "usageState": "Normal", + "workloadProfileName": "myd4wp" + } + }, + "headers": {} + }, + "202": { + "body": { + "name": "sitef6141", + "type": "Microsoft.Web/sites", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/sitef6141", + "kind": "app", + "location": "East US", + "properties": { + "availabilityState": "Normal", + "clientAffinityEnabled": true, + "clientCertEnabled": false, + "clientCertMode": "Required", + "containerSize": 0, + "customDomainVerificationId": "7F3BB652450EF7AD0B6AA33064586E4A9CE823A46DF0B2EC6443A68086E84153", + "dailyMemoryTimeQuota": 0, + "defaultHostName": "sitef6141.azurewebsites.net", + "enabled": true, + "enabledHostNames": [ + "sitef6141.azurewebsites.net", + "sitef6141.scm.azurewebsites.net" + ], + "hostNameSslStates": [ + { + "name": "sitef6141.azurewebsites.net", + "hostType": "Standard", + "sslState": "Disabled" + }, + { + "name": "sitef6141.scm.azurewebsites.net", + "hostType": "Repository", + "sslState": "Disabled" + } + ], + "hostNames": [ + "sitef6141.azurewebsites.net" + ], + "hostNamesDisabled": false, + "httpsOnly": false, + "hyperV": false, + "isXenon": false, + "keyVaultReferenceIdentity": "SystemAssigned", + "lastModifiedTimeUtc": "2020-03-04T17:33:11.641Z", + "outboundIpAddresses": "70.37.102.201,20.225.43.144", + "outboundVnetRouting": { + "allTraffic": false, + "applicationTraffic": false, + "backupRestoreTraffic": false, + "contentShareTraffic": false, + "imagePullTraffic": false + }, + "possibleOutboundIpAddresses": "70.37.102.201,20.225.43.144,20.225.184.122,20.225.184.188", + "redundancyMode": "None", + "repositorySiteName": "sitef6141", + "reserved": false, + "resourceConfig": { + "cpu": 1, + "memory": "2.0Gi" + }, + "resourceGroup": "testrg123", + "scmSiteAlsoStopped": false, + "serverFarmId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/serverfarms/DefaultAsp", + "siteConfig": { + "acrUseManagedIdentityCreds": false, + "alwaysOn": false, + "appCommandLine": "", + "autoHealEnabled": false, + "azureStorageAccounts": {}, + "defaultDocuments": [ + "Default.htm", + "Default.html", + "Default.asp", + "index.htm", + "index.html", + "iisstart.htm", + "default.aspx", + "index.php", + "hostingstart.html" + ], + "detailedErrorLoggingEnabled": false, + "ftpsState": "AllAllowed", + "functionAppScaleLimit": 0, + "functionsRuntimeScaleMonitoringEnabled": false, + "http20Enabled": false, + "httpLoggingEnabled": false, + "linuxFxVersion": "", + "loadBalancing": "LeastRequests", + "logsDirectorySizeLimit": 35, + "managedPipelineMode": "Integrated", + "minTlsVersion": "1.2", + "minimumElasticInstanceCount": 0, + "netFrameworkVersion": "v4.0", + "nodeVersion": "", + "numberOfWorkers": 1, + "phpVersion": "5.6", + "powerShellVersion": "", + "pythonVersion": "", + "remoteDebuggingEnabled": false, + "requestTracingEnabled": false, + "scmMinTlsVersion": "1.2", + "use32BitWorkerProcess": true, + "virtualApplications": [ + { + "physicalPath": "site\\wwwroot", + "preloadEnabled": false, + "virtualPath": "/" + } + ], + "vnetName": "", + "vnetPrivatePortsCount": 0, + "vnetRouteAllEnabled": false, + "webSocketsEnabled": false + }, + "state": "Running", + "storageAccountRequired": false, + "usageState": "Normal", + "workloadProfileName": "myd4wp" + } + }, + "headers": { + "azure-asyncoperation": "https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/providers/Microsoft.Web/sites/sitef6141/operationResults/62e4d893-d233-4005-988e-a428d9f77076?api-version=2025-03-01" + } + } + }, + "operationId": "WebApps_Update", + "title": "Update web app" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/UpdateWebAppSlot.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/UpdateWebAppSlot.json new file mode 100644 index 000000000000..c66fbed604dc --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/UpdateWebAppSlot.json @@ -0,0 +1,250 @@ +{ + "parameters": { + "name": "sitef6141", + "api-version": "2025-03-01", + "resourceGroupName": "testrg123", + "siteEnvelope": { + "properties": { + "serverFarmId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/serverfarms/DefaultAsp" + } + }, + "slot": "staging", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": { + "name": "sitef6141/staging", + "type": "Microsoft.Web/sites/slots", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/sitef6141/slots/staging", + "kind": "app", + "location": "East US", + "properties": { + "availabilityState": "Normal", + "clientAffinityEnabled": true, + "clientCertEnabled": false, + "clientCertMode": "Required", + "containerSize": 0, + "customDomainVerificationId": "7F3BB652450EF7AD0B6AA33064586E4A9CE823A46DF0B2EC6443A68086E84153", + "dailyMemoryTimeQuota": 0, + "defaultHostName": "sitef6141.azurewebsites.net", + "enabled": true, + "enabledHostNames": [ + "sitef6141-staging.azurewebsites.net", + "sitef6141-staging.scm.azurewebsites.net" + ], + "hostNameSslStates": [ + { + "name": "sitef6141-staging.azurewebsites.net", + "hostType": "Standard", + "sslState": "Disabled" + }, + { + "name": "sitef6141-staging.scm.azurewebsites.net", + "hostType": "Repository", + "sslState": "Disabled" + } + ], + "hostNames": [ + "sitef6141-staging.azurewebsites.net" + ], + "hostNamesDisabled": false, + "httpsOnly": false, + "hyperV": false, + "isXenon": false, + "keyVaultReferenceIdentity": "SystemAssigned", + "lastModifiedTimeUtc": "2020-03-04T17:33:11.641Z", + "outboundIpAddresses": "70.37.102.201,20.225.43.144", + "outboundVnetRouting": { + "allTraffic": false, + "applicationTraffic": false, + "backupRestoreTraffic": false, + "contentShareTraffic": false, + "imagePullTraffic": false + }, + "possibleOutboundIpAddresses": "70.37.102.201,20.225.43.144,20.225.184.122,20.225.184.188", + "redundancyMode": "None", + "repositorySiteName": "sitef6141", + "reserved": false, + "resourceGroup": "testrg123", + "scmSiteAlsoStopped": false, + "serverFarmId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/serverfarms/DefaultAsp", + "siteConfig": { + "acrUseManagedIdentityCreds": false, + "alwaysOn": false, + "appCommandLine": "", + "autoHealEnabled": false, + "azureStorageAccounts": {}, + "defaultDocuments": [ + "Default.htm", + "Default.html", + "Default.asp", + "index.htm", + "index.html", + "iisstart.htm", + "default.aspx", + "index.php", + "hostingstart.html" + ], + "detailedErrorLoggingEnabled": false, + "ftpsState": "AllAllowed", + "functionAppScaleLimit": 0, + "functionsRuntimeScaleMonitoringEnabled": false, + "http20Enabled": false, + "httpLoggingEnabled": false, + "linuxFxVersion": "", + "loadBalancing": "LeastRequests", + "logsDirectorySizeLimit": 35, + "managedPipelineMode": "Integrated", + "minTlsVersion": "1.2", + "minimumElasticInstanceCount": 0, + "netFrameworkVersion": "v4.0", + "nodeVersion": "", + "numberOfWorkers": 1, + "phpVersion": "5.6", + "powerShellVersion": "", + "pythonVersion": "", + "remoteDebuggingEnabled": false, + "requestTracingEnabled": false, + "scmMinTlsVersion": "1.2", + "use32BitWorkerProcess": true, + "virtualApplications": [ + { + "physicalPath": "site\\wwwroot", + "preloadEnabled": false, + "virtualPath": "/" + } + ], + "vnetName": "", + "vnetPrivatePortsCount": 0, + "vnetRouteAllEnabled": false, + "webSocketsEnabled": false + }, + "state": "Running", + "storageAccountRequired": false, + "usageState": "Normal" + } + }, + "headers": {} + }, + "202": { + "body": { + "name": "sitef6141/staging", + "type": "Microsoft.Web/sites/slots", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/sitef6141/slots/staging", + "kind": "app", + "location": "East US", + "properties": { + "availabilityState": "Normal", + "clientAffinityEnabled": true, + "clientCertEnabled": false, + "clientCertMode": "Required", + "containerSize": 0, + "customDomainVerificationId": "7F3BB652450EF7AD0B6AA33064586E4A9CE823A46DF0B2EC6443A68086E84153", + "dailyMemoryTimeQuota": 0, + "defaultHostName": "sitef6141-staging.azurewebsites.net", + "enabled": true, + "enabledHostNames": [ + "sitef6141-staging.azurewebsites.net", + "sitef6141-staging.scm.azurewebsites.net" + ], + "hostNameSslStates": [ + { + "name": "sitef6141-staging.azurewebsites.net", + "hostType": "Standard", + "sslState": "Disabled" + }, + { + "name": "sitef6141-staging.scm.azurewebsites.net", + "hostType": "Repository", + "sslState": "Disabled" + } + ], + "hostNames": [ + "sitef6141-staging.azurewebsites.net" + ], + "hostNamesDisabled": false, + "httpsOnly": false, + "hyperV": false, + "isXenon": false, + "keyVaultReferenceIdentity": "SystemAssigned", + "lastModifiedTimeUtc": "2020-03-04T17:33:11.641Z", + "outboundIpAddresses": "70.37.102.201,20.225.43.144", + "outboundVnetRouting": { + "allTraffic": false, + "applicationTraffic": false, + "backupRestoreTraffic": false, + "contentShareTraffic": false, + "imagePullTraffic": false + }, + "possibleOutboundIpAddresses": "70.37.102.201,20.225.43.144,20.225.184.122,20.225.184.188", + "redundancyMode": "None", + "repositorySiteName": "sitef6141", + "reserved": false, + "resourceGroup": "testrg123", + "scmSiteAlsoStopped": false, + "serverFarmId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/serverfarms/DefaultAsp", + "siteConfig": { + "acrUseManagedIdentityCreds": false, + "alwaysOn": false, + "appCommandLine": "", + "autoHealEnabled": false, + "azureStorageAccounts": {}, + "defaultDocuments": [ + "Default.htm", + "Default.html", + "Default.asp", + "index.htm", + "index.html", + "iisstart.htm", + "default.aspx", + "index.php", + "hostingstart.html" + ], + "detailedErrorLoggingEnabled": false, + "ftpsState": "AllAllowed", + "functionAppScaleLimit": 0, + "functionsRuntimeScaleMonitoringEnabled": false, + "http20Enabled": false, + "httpLoggingEnabled": false, + "linuxFxVersion": "", + "loadBalancing": "LeastRequests", + "logsDirectorySizeLimit": 35, + "managedPipelineMode": "Integrated", + "minTlsVersion": "1.2", + "minimumElasticInstanceCount": 0, + "netFrameworkVersion": "v4.0", + "nodeVersion": "", + "numberOfWorkers": 1, + "phpVersion": "5.6", + "powerShellVersion": "", + "pythonVersion": "", + "remoteDebuggingEnabled": false, + "requestTracingEnabled": false, + "scmMinTlsVersion": "1.2", + "use32BitWorkerProcess": true, + "virtualApplications": [ + { + "physicalPath": "site\\wwwroot", + "preloadEnabled": false, + "virtualPath": "/" + } + ], + "vnetName": "", + "vnetPrivatePortsCount": 0, + "vnetRouteAllEnabled": false, + "webSocketsEnabled": false + }, + "state": "Running", + "storageAccountRequired": false, + "usageState": "Normal" + } + }, + "headers": { + "azure-asyncoperation": "https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/providers/Microsoft.Web/sites/sitef6141/operationResults/62e4d893-d233-4005-988e-a428d9f77076?api-version=2025-03-01" + } + } + }, + "operationId": "WebApps_UpdateSlot", + "title": "Update Web App Slot" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/ValidateLinkedBackendForStaticSite.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/ValidateLinkedBackendForStaticSite.json new file mode 100644 index 000000000000..e00d8569c079 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/ValidateLinkedBackendForStaticSite.json @@ -0,0 +1,25 @@ +{ + "parameters": { + "name": "testStaticSite0", + "api-version": "2025-03-01", + "linkedBackendName": "testBackend", + "resourceGroupName": "rg", + "staticSiteLinkedBackendEnvelope": { + "properties": { + "backendResourceId": "/subscription/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/backendRg/providers/Microsoft.Web/sites/testBackend", + "region": "West US 2" + } + }, + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/staticSites/testStaticSite0/linkedBackends/testBackend/operationresults/operationId" + } + }, + "204": {} + }, + "operationId": "StaticSites_ValidateBackend", + "title": "Validate if backend can be linked to static site." +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/ValidateLinkedBackendForStaticSiteBuild.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/ValidateLinkedBackendForStaticSiteBuild.json new file mode 100644 index 000000000000..93462c43992d --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/ValidateLinkedBackendForStaticSiteBuild.json @@ -0,0 +1,26 @@ +{ + "parameters": { + "name": "testStaticSite0", + "api-version": "2025-03-01", + "environmentName": "default", + "linkedBackendName": "testBackend", + "resourceGroupName": "rg", + "staticSiteLinkedBackendEnvelope": { + "properties": { + "backendResourceId": "/subscription/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/backendRg/providers/Microsoft.Web/sites/testBackend", + "region": "West US 2" + } + }, + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/staticSites/testStaticSite0/builds/default/linkedBackends/testBackend/operationresults/operationId" + } + }, + "204": {} + }, + "operationId": "StaticSites_ValidateBackendForBuild", + "title": "Validate if backend can be linked to static site build." +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/ValidateStaticSiteCustomDomain.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/ValidateStaticSiteCustomDomain.json new file mode 100644 index 000000000000..4cb8498a5656 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/ValidateStaticSiteCustomDomain.json @@ -0,0 +1,22 @@ +{ + "parameters": { + "name": "testStaticSite0", + "api-version": "2025-03-01", + "domainName": "custom.domain.net", + "resourceGroupName": "rg", + "staticSiteCustomDomainRequestPropertiesEnvelope": { + "properties": {} + }, + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "azure-asyncoperation": "https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/providers/Microsoft.Web/locations/westus2/operationResults/62e4d893-d233-4005-988e-a428d9f77076?api-version=2019-01-01" + } + } + }, + "operationId": "StaticSites_ValidateCustomDomainCanBeAddedToStaticSite", + "title": "Validate a custom domain for a static site" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/VerifyHostingEnvironmentVnet.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/VerifyHostingEnvironmentVnet.json new file mode 100644 index 000000000000..100bc162bc56 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/VerifyHostingEnvironmentVnet.json @@ -0,0 +1,26 @@ +{ + "parameters": { + "api-version": "2025-03-01", + "parameters": { + "properties": { + "vnetName": "vNet123", + "vnetResourceGroup": "vNet123rg", + "vnetSubnetName": "vNet123SubNet" + } + }, + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/providers/Microsoft.Web/verifyHostingEnvironmentVnet", + "properties": { + "failed": false, + "failedTests": [] + } + } + } + }, + "operationId": "VerifyHostingEnvironmentVnet", + "title": "VerifyHostingEnvironmentVnet" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/WorkflowRunActionRepetitionsRequestHistories_Get.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/WorkflowRunActionRepetitionsRequestHistories_Get.json new file mode 100644 index 000000000000..a3132b04e434 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/WorkflowRunActionRepetitionsRequestHistories_Get.json @@ -0,0 +1,73 @@ +{ + "parameters": { + "name": "test-name", + "actionName": "HTTP_Webhook", + "api-version": "2025-03-01", + "repetitionName": "000001", + "requestHistoryName": "08586611142732800686", + "resourceGroupName": "test-resource-group", + "runName": "08586776228332053161046300351", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "workflowName": "test-workflow" + }, + "responses": { + "200": { + "body": { + "name": "08586611142732800686", + "type": "Microsoft.Web/sites/workflows/runs/actions/requestHistories", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Web/sites/test-name/workflows/test-workflow/runs/08586611142736787787412824395CU21/actions/HTTP_Webhook/requestHistories/08586611142732800686", + "location": "West US", + "properties": { + "endTime": "2018-10-25T18:36:52.1863033Z", + "response": { + "bodyLink": { + "contentHash": { + "algorithm": "md5", + "value": "2LOOAR8Eh2pd7AvRHXUhRg==" + }, + "contentSize": 137, + "contentVersion": "2LOOAR8Eh2pd7AvRHXUhRg==", + "uri": "https://tempuri.org" + }, + "headers": { + "Cache-Control": "private", + "Date": "Thu, 25 Oct 2018 18:36:51 GMT", + "Location": "http://www.bing.com/", + "Server": "Microsoft-IIS/10.0", + "X-AspNet-Version": "4.0.30319", + "X-Powered-By": "ASP.NET" + }, + "statusCode": 302 + }, + "startTime": "2018-10-25T18:36:51.9206732Z", + "request": { + "method": "GET", + "headers": { + "Accept-Language": "en-US", + "User-Agent": "azure-logic-apps/1.0,(workflow 80244732be3648f59d2084fd979cdd56; version 08586611142904036539)", + "x-ms-action-tracking-id": "ad27f634-6523-492f-924e-9a75e28619c8", + "x-ms-client-request-id": "ad484925-4148-4dd0-9488-07aed418b256", + "x-ms-client-tracking-id": "08586611142736787787412824395CU21", + "x-ms-correlation-id": "ad484925-4148-4dd0-9488-07aed418b256", + "x-ms-execution-location": "brazilsouth", + "x-ms-tracking-id": "ad484925-4148-4dd0-9488-07aed418b256", + "x-ms-workflow-id": "80244732be3648f59d2084fd979cdd56", + "x-ms-workflow-name": "test-workflow", + "x-ms-workflow-operation-name": "HTTP_Webhook", + "x-ms-workflow-resourcegroup-name": "test-resource-group", + "x-ms-workflow-run-id": "08586611142736787787412824395CU21", + "x-ms-workflow-run-tracking-id": "b4cd2e77-f949-4d8c-8753-791407aebde8", + "x-ms-workflow-subscription-capacity": "Large", + "x-ms-workflow-subscription-id": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "x-ms-workflow-system-id": "/locations/brazilsouth/scaleunits/prod-17/workflows/80244732be3648f59d2084fd979cdd56", + "x-ms-workflow-version": "08586611142904036539" + }, + "uri": "http://tempuri.org" + } + } + } + } + }, + "operationId": "WorkflowRunActionRepetitionsRequestHistories_Get", + "title": "Get a repetition request history" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/WorkflowRunActionRepetitionsRequestHistories_List.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/WorkflowRunActionRepetitionsRequestHistories_List.json new file mode 100644 index 000000000000..bb681c908e33 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/WorkflowRunActionRepetitionsRequestHistories_List.json @@ -0,0 +1,76 @@ +{ + "parameters": { + "name": "test-name", + "actionName": "HTTP_Webhook", + "api-version": "2025-03-01", + "repetitionName": "000001", + "resourceGroupName": "test-resource-group", + "runName": "08586776228332053161046300351", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "workflowName": "test-workflow" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "08586611142732800686", + "type": "Microsoft.Web/sites/workflows/runs/actions/requestHistories", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Web/sites/test-name/workflows/test-workflow/runs/08586611142736787787412824395CU21/actions/HTTP_Webhook/requestHistories/08586611142732800686", + "location": "West US", + "properties": { + "endTime": "2018-10-25T18:36:52.1863033Z", + "response": { + "bodyLink": { + "contentHash": { + "algorithm": "md5", + "value": "2LOOAR8Eh2pd7AvRHXUhRg==" + }, + "contentSize": 137, + "contentVersion": "2LOOAR8Eh2pd7AvRHXUhRg==", + "uri": "https://tempuri.org" + }, + "headers": { + "Cache-Control": "private", + "Date": "Thu, 25 Oct 2018 18:36:51 GMT", + "Location": "http://www.bing.com/", + "Server": "Microsoft-IIS/10.0", + "X-AspNet-Version": "4.0.30319", + "X-Powered-By": "ASP.NET" + }, + "statusCode": 302 + }, + "startTime": "2018-10-25T18:36:51.9206732Z", + "request": { + "method": "GET", + "headers": { + "Accept-Language": "en-US", + "User-Agent": "azure-logic-apps/1.0,(workflow 80244732be3648f59d2084fd979cdd56; version 08586611142904036539)", + "x-ms-action-tracking-id": "ad27f634-6523-492f-924e-9a75e28619c8", + "x-ms-client-request-id": "ad484925-4148-4dd0-9488-07aed418b256", + "x-ms-client-tracking-id": "08586611142736787787412824395CU21", + "x-ms-correlation-id": "ad484925-4148-4dd0-9488-07aed418b256", + "x-ms-execution-location": "brazilsouth", + "x-ms-tracking-id": "ad484925-4148-4dd0-9488-07aed418b256", + "x-ms-workflow-id": "80244732be3648f59d2084fd979cdd56", + "x-ms-workflow-name": "test-workflow", + "x-ms-workflow-operation-name": "HTTP_Webhook", + "x-ms-workflow-resourcegroup-name": "test-resource-group", + "x-ms-workflow-run-id": "08586611142736787787412824395CU21", + "x-ms-workflow-run-tracking-id": "b4cd2e77-f949-4d8c-8753-791407aebde8", + "x-ms-workflow-subscription-capacity": "Large", + "x-ms-workflow-subscription-id": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "x-ms-workflow-system-id": "/locations/brazilsouth/scaleunits/prod-17/workflows/80244732be3648f59d2084fd979cdd56", + "x-ms-workflow-version": "08586611142904036539" + }, + "uri": "http://tempuri.org" + } + } + } + ] + } + } + }, + "operationId": "WorkflowRunActionRepetitionsRequestHistories_List", + "title": "List repetition request history" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/WorkflowRunActionRepetitions_Get.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/WorkflowRunActionRepetitions_Get.json new file mode 100644 index 000000000000..282ddf41943e --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/WorkflowRunActionRepetitions_Get.json @@ -0,0 +1,59 @@ +{ + "parameters": { + "name": "test-name", + "actionName": "testAction", + "api-version": "2025-03-01", + "repetitionName": "000001", + "resourceGroupName": "testResourceGroup", + "runName": "08586776228332053161046300351", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "workflowName": "testFlow" + }, + "responses": { + "200": { + "body": { + "name": "000001", + "type": "Microsoft.Web/sites/workflows/runs/actions/repetitions", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testResourceGroup/providers/Microsoft.Web/sites/test-name/workflows/testFlow/runs/08586776228332053161046300351/actions/testAction/repetitions/000001", + "location": "West US", + "properties": { + "code": "OK", + "correlation": { + "actionTrackingId": "f84f23eb-b331-4772-9f39-cc307fa83bc3", + "clientTrackingId": "08586775357427610445444523191" + }, + "endTime": "2018-04-18T17:05:57.1015421Z", + "inputsLink": { + "contentHash": { + "algorithm": "md5", + "value": "OA3i83YHGYVch+N8BQJIRQ==" + }, + "contentSize": 6, + "contentVersion": "OA3i83YHGYVch+N8BQJIRQ==", + "uri": "https://test-site.azurewebsites.net:443/runtime/webhooks/workflow/scaleUnits/prod-00/workflows/2dfde2fce2584c49bea17ef0b04c95f4/runs/08586776228332053161046300351/actions/testAction/repetitions/000001/contents/ActionInputs?api-version=2016-10-01&se=2018-04-18T21%3A00%3A00.0000000Z&sp=%2Fruns%2F08586776228332053161046300351%2Factions%2FtestAction%2Frepetitions%2F000001%2Fcontents%2FActionInputs%2Fread&sv=1.0&sig=dLmnt50joimEMK4k9rR6njHQh94iSFJ9rrDxFbkEg5M" + }, + "outputsLink": { + "contentHash": { + "algorithm": "md5", + "value": "OA3i83YHGYVch+N8BQJIRQ==" + }, + "contentSize": 6, + "contentVersion": "OA3i83YHGYVch+N8BQJIRQ==", + "uri": "https://test-site.azurewebsites.net:443/runtime/webhooks/workflow/scaleUnits/prod-00/workflows/2dfde2fce2584c49bea17ef0b04c95f4/runs/08586776228332053161046300351/actions/testAction/repetitions/000001/contents/ActionOutputs?api-version=2016-10-01&se=2018-04-18T21%3A00%3A00.0000000Z&sp=%2Fruns%2F08586776228332053161046300351%2Factions%2FtestAction%2Frepetitions%2F000001%2Fcontents%2FActionOutputs%2Fread&sv=1.0&sig=B3-X5sqIAv1Lb31GOD34ZgIRUXGuiM2QllWiNwXFYAw" + }, + "repetitionIndexes": [ + { + "itemIndex": 1, + "scopeName": "For_each" + } + ], + "startTime": "2018-04-18T17:05:57.0929911Z", + "status": "Succeeded", + "trackingId": "f84f23eb-b331-4772-9f39-cc307fa83bc3" + } + } + } + }, + "operationId": "WorkflowRunActionRepetitions_Get", + "title": "Get a repetition" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/WorkflowRunActionRepetitions_List.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/WorkflowRunActionRepetitions_List.json new file mode 100644 index 000000000000..675d314b3bda --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/WorkflowRunActionRepetitions_List.json @@ -0,0 +1,103 @@ +{ + "parameters": { + "name": "test-name", + "actionName": "testAction", + "api-version": "2025-03-01", + "resourceGroupName": "testResourceGroup", + "runName": "08586776228332053161046300351", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "workflowName": "testFlow" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "000000", + "type": "Microsoft.Web/sites/workflows/runs/actions/repetitions", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testResourceGroup/providers/Microsoft.Web/sites/test-name/workflows/testFlow/runs/08586776228332053161046300351/actions/testAction/repetitions/000000", + "location": "West US", + "properties": { + "code": "OK", + "correlation": { + "actionTrackingId": "0d8152bb-e198-44a9-bde8-5138eea16dd4", + "clientTrackingId": "08586775357427610445444523191" + }, + "endTime": "2018-04-18T17:05:57.2264835Z", + "inputsLink": { + "contentHash": { + "algorithm": "md5", + "value": "8q1zMKS5ZyHBrPF+qF1xXw==" + }, + "contentSize": 8, + "contentVersion": "8q1zMKS5ZyHBrPF+qF1xXw==", + "uri": "https://test-site.azurewebsites.net:443/runtime/webhooks/workflow/scaleUnits/prod-00/workflows/2dfde2fce2584c49bea17ef0b04c95f4/runs/08586776228332053161046300351/actions/testAction/repetitions/000000/contents/ActionInputs?api-version=2016-10-01&se=2018-04-18T21%3A00%3A00.0000000Z&sp=%2Fruns%2F08586776228332053161046300351%2Factions%2FtestAction%2Frepetitions%2F000000%2Fcontents%2FActionInputs%2Fread&sv=1.0&sig=vw4BDdYp4Ap5RXdM7tY_wl9C38DeAHfnixLBEOpideA" + }, + "outputsLink": { + "contentHash": { + "algorithm": "md5", + "value": "8q1zMKS5ZyHBrPF+qF1xXw==" + }, + "contentSize": 8, + "contentVersion": "8q1zMKS5ZyHBrPF+qF1xXw==", + "uri": "https://test-site.azurewebsites.net:443/runtime/webhooks/workflow/scaleUnits/prod-00/workflows/2dfde2fce2584c49bea17ef0b04c95f4/runs/08586776228332053161046300351/actions/testAction/repetitions/000000/contents/ActionOutputs?api-version=2016-10-01&se=2018-04-18T21%3A00%3A00.0000000Z&sp=%2Fruns%2F08586776228332053161046300351%2Factions%2FtestAction%2Frepetitions%2F000000%2Fcontents%2FActionOutputs%2Fread&sv=1.0&sig=y8Wq7jbu85tmlMo_1zpRyqNJuoCaQCFQtZ3bgSovLY0" + }, + "repetitionIndexes": [ + { + "itemIndex": 0, + "scopeName": "For_each" + } + ], + "startTime": "2018-04-18T17:05:57.217991Z", + "status": "Succeeded", + "trackingId": "0d8152bb-e198-44a9-bde8-5138eea16dd4" + } + }, + { + "name": "000001", + "type": "Microsoft.Web/sites/workflows/runs/actions/repetitions", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testResourceGroup/providers/Microsoft.Web/sites/test-name/workflows/testFlow/runs/08586776228332053161046300351/actions/testAction/repetitions/000001", + "location": "West US", + "properties": { + "code": "OK", + "correlation": { + "actionTrackingId": "f84f23eb-b331-4772-9f39-cc307fa83bc3", + "clientTrackingId": "08586775357427610445444523191" + }, + "endTime": "2018-04-18T17:05:57.1015421Z", + "inputsLink": { + "contentHash": { + "algorithm": "md5", + "value": "OA3i83YHGYVch+N8BQJIRQ==" + }, + "contentSize": 6, + "contentVersion": "OA3i83YHGYVch+N8BQJIRQ==", + "uri": "https://test-site.azurewebsites.net:443/runtime/webhooks/workflow/scaleUnits/prod-00/workflows/2dfde2fce2584c49bea17ef0b04c95f4/runs/08586776228332053161046300351/actions/testAction/repetitions/000001/contents/ActionInputs?api-version=2016-10-01&se=2018-04-18T21%3A00%3A00.0000000Z&sp=%2Fruns%2F08586776228332053161046300351%2Factions%2FtestAction%2Frepetitions%2F000001%2Fcontents%2FActionInputs%2Fread&sv=1.0&sig=dLmnt50joimEMK4k9rR6njHQh94iSFJ9rrDxFbkEg5M" + }, + "outputsLink": { + "contentHash": { + "algorithm": "md5", + "value": "OA3i83YHGYVch+N8BQJIRQ==" + }, + "contentSize": 6, + "contentVersion": "OA3i83YHGYVch+N8BQJIRQ==", + "uri": "https://test-site.azurewebsites.net:443/runtime/webhooks/workflow/scaleUnits/prod-00/workflows/2dfde2fce2584c49bea17ef0b04c95f4/runs/08586776228332053161046300351/actions/testAction/repetitions/000001/contents/ActionOutputs?api-version=2016-10-01&se=2018-04-18T21%3A00%3A00.0000000Z&sp=%2Fruns%2F08586776228332053161046300351%2Factions%2FtestAction%2Frepetitions%2F000001%2Fcontents%2FActionOutputs%2Fread&sv=1.0&sig=B3-X5sqIAv1Lb31GOD34ZgIRUXGuiM2QllWiNwXFYAw" + }, + "repetitionIndexes": [ + { + "itemIndex": 1, + "scopeName": "For_each" + } + ], + "startTime": "2018-04-18T17:05:57.0929911Z", + "status": "Succeeded", + "trackingId": "f84f23eb-b331-4772-9f39-cc307fa83bc3" + } + } + ] + } + } + }, + "operationId": "WorkflowRunActionRepetitions_List", + "title": "List repetitions" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/WorkflowRunActionRepetitions_ListExpressionTraces.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/WorkflowRunActionRepetitions_ListExpressionTraces.json new file mode 100644 index 000000000000..8519aa2fad46 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/WorkflowRunActionRepetitions_ListExpressionTraces.json @@ -0,0 +1,27 @@ +{ + "parameters": { + "name": "test-name", + "actionName": "testAction", + "api-version": "2025-03-01", + "repetitionName": "000001", + "resourceGroupName": "testResourceGroup", + "runName": "08586776228332053161046300351", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "workflowName": "testFlow" + }, + "responses": { + "200": { + "body": { + "inputs": [ + { + "path": "", + "text": "items('For_each')?['OccuringLocation']?['Environment']", + "value": "PROD" + } + ] + } + } + }, + "operationId": "WorkflowRunActionRepetitions_ListExpressionTraces", + "title": "List expression traces for a repetition" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/WorkflowRunActionScopeRepetitions_Get.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/WorkflowRunActionScopeRepetitions_Get.json new file mode 100644 index 000000000000..eeed153212b9 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/WorkflowRunActionScopeRepetitions_Get.json @@ -0,0 +1,40 @@ +{ + "parameters": { + "name": "test-name", + "actionName": "for_each", + "api-version": "2025-03-01", + "repetitionName": "000000", + "resourceGroupName": "testResourceGroup", + "runName": "08586776228332053161046300351", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "workflowName": "testFlow" + }, + "responses": { + "200": { + "body": { + "name": "000000", + "type": "Microsoft.Web/sites/workflows/runs/actions/scopeRepetitions", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testResourceGroup/providers/Microsoft.Web/sites/test-name/workflows/testFlow/runs/08586776228332053161046300351/actions/for_each/scopeRepetitions/000000", + "location": "West US", + "properties": { + "code": "NotSpecified", + "correlation": { + "actionTrackingId": "5c0e7c24-4891-44e8-b631-8084c5531dd5", + "clientTrackingId": "08586775357427610445444523191" + }, + "endTime": "2018-04-18T17:05:57.6240967Z", + "repetitionIndexes": [ + { + "itemIndex": 0, + "scopeName": "For_each" + } + ], + "startTime": "2018-04-18T17:05:57.209588Z", + "status": "Succeeded" + } + } + } + }, + "operationId": "WorkflowRunActionScopeRepetitions_Get", + "title": "Get a scoped repetition" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/WorkflowRunActionScopeRepetitions_List.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/WorkflowRunActionScopeRepetitions_List.json new file mode 100644 index 000000000000..9117a2a0d474 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/WorkflowRunActionScopeRepetitions_List.json @@ -0,0 +1,65 @@ +{ + "parameters": { + "name": "test-name", + "actionName": "for_each", + "api-version": "2025-03-01", + "resourceGroupName": "testResourceGroup", + "runName": "08586776228332053161046300351", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "workflowName": "testFlow" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "000000", + "type": "Microsoft.Web/sites/workflows/runs/actions/scopeRepetitions", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testResourceGroup/providers/Microsoft.Web/sites/test-name/workflows/testFlow/runs/08586776228332053161046300351/actions/for_each/scopeRepetitions/000000", + "location": "West US", + "properties": { + "code": "NotSpecified", + "correlation": { + "actionTrackingId": "5c0e7c24-4891-44e8-b631-8084c5531dd5", + "clientTrackingId": "08586775357427610445444523191" + }, + "endTime": "2018-04-18T17:05:57.6240967Z", + "repetitionIndexes": [ + { + "itemIndex": 0, + "scopeName": "For_each" + } + ], + "startTime": "2018-04-18T17:05:57.209588Z", + "status": "Succeeded" + } + }, + { + "name": "000001", + "type": "Microsoft.Web/sites/workflows/runs/actions/scopeRepetitions", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testResourceGroup/providers/Microsoft.Web/sites/test-name/workflows/testFlow/runs/08586776228332053161046300351/actions/for_each/scopeRepetitions/000001", + "location": "West US", + "properties": { + "code": "NotSpecified", + "correlation": { + "actionTrackingId": "1682d0bd-7189-4478-b333-fe364a80bd69", + "clientTrackingId": "08586775357427610445444523191" + }, + "endTime": "2018-04-18T17:05:57.2272796Z", + "repetitionIndexes": [ + { + "itemIndex": 1, + "scopeName": "For_each" + } + ], + "startTime": "2018-04-18T17:05:57.0686808Z", + "status": "Succeeded" + } + } + ] + } + } + }, + "operationId": "WorkflowRunActionScopeRepetitions_List", + "title": "List the scoped repetitions" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/WorkflowRunActions_Get.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/WorkflowRunActions_Get.json new file mode 100644 index 000000000000..1e7acc0574d6 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/WorkflowRunActions_Get.json @@ -0,0 +1,40 @@ +{ + "parameters": { + "name": "test-name", + "actionName": "HTTP", + "api-version": "2025-03-01", + "resourceGroupName": "test-resource-group", + "runName": "08586676746934337772206998657CU22", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "workflowName": "test-workflow" + }, + "responses": { + "200": { + "body": { + "name": "HTTP", + "type": "Microsoft.Web/sites/workflows/runs/actions", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Web/sites/test-name/workflows/test-workflow/runs/08586676746934337772206998657CU22/actions/HTTP", + "properties": { + "code": "OK", + "correlation": { + "actionTrackingId": "56063357-45dd-4278-9be5-8220ce0cc9ca", + "clientTrackingId": "08586676746934337772206998657CU22" + }, + "endTime": "2018-08-10T20:16:32.5450625Z", + "inputsLink": { + "contentSize": 138, + "uri": "https://test-site.azurewebsites.net:443/runtime/webhooks/workflow/scaleUnits/prod-00/workflows/000012345678900000000056a41a/runs/00000aaaabbbbccccddddeeeeffff/actions/HTTP/contents/ActionInputs?api-version=2018-11-01&code=examplecode=2022-04-13T03%3A00%3A00.0000000Z&sp=%2Fruns%2F00000aaaabbbbccccddddeeeeffff%2Factions%2FHTTP%2Fcontents%2FActionInputs%2Fread&sv=1.0&sig=dJ6F00000aaaabbbbccccddddeeeeffff78co" + }, + "outputsLink": { + "contentSize": 15660, + "uri": "https://test-site.azurewebsites.net:443/runtime/webhooks/workflow/scaleUnits/prod-00/workflows/000012345678900000000056a41a/runs/00000aaaabbbbccccddddeeeeffff/actions/HTTP/contents/ActionOutputs?api-version=2018-11-01&code=examplecode=2022-04-13T03%3A00%3A00.0000000Z&sp=%2Fruns%2F00000aaaabbbbccccddddeeeeffff%2Factions%2FHTTP%2Fcontents%2FActionOutputs%2Fread&sv=1.0&sig=fIIgF00000aaaabbbbccccddddeeeeffffWRU0" + }, + "startTime": "2018-08-10T20:16:32.305236Z", + "status": "Succeeded" + } + } + } + }, + "operationId": "WorkflowRunActions_Get", + "title": "Get a workflow run action" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/WorkflowRunActions_List.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/WorkflowRunActions_List.json new file mode 100644 index 000000000000..4b8f4473e2c8 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/WorkflowRunActions_List.json @@ -0,0 +1,43 @@ +{ + "parameters": { + "name": "test-name", + "api-version": "2025-03-01", + "resourceGroupName": "test-resource-group", + "runName": "08586676746934337772206998657CU22", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "workflowName": "test-workflow" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "HTTP", + "type": "Microsoft.Web/sites/workflows/runs/actions", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Web/sites/test-name/workflows/test-workflow/runs/08586676746934337772206998657CU22/actions/HTTP", + "properties": { + "code": "OK", + "correlation": { + "actionTrackingId": "56063357-45dd-4278-9be5-8220ce0cc9ca", + "clientTrackingId": "08586676746934337772206998657CU22" + }, + "endTime": "2018-08-10T20:16:32.5450625Z", + "inputsLink": { + "contentSize": 138, + "uri": "https://test-site.azurewebsites.net:443/runtime/webhooks/workflow/scaleUnits/prod-00/workflows/000012345678900000000056a41a/runs/00000aaaabbbbccccddddeeeeffff/actions/HTTP/contents/ActionInputs?api-version=2018-11-01&code=examplecode=2022-04-13T03%3A00%3A00.0000000Z&sp=%2Fruns%2F00000aaaabbbbccccddddeeeeffff%2Factions%2FHTTP%2Fcontents%2FActionInputs%2Fread&sv=1.0&sig=dJ6F00000aaaabbbbccccddddeeeeffff78co" + }, + "outputsLink": { + "contentSize": 15660, + "uri": "https://test-site.azurewebsites.net:443/runtime/webhooks/workflow/scaleUnits/prod-00/workflows/000012345678900000000056a41a/runs/00000aaaabbbbccccddddeeeeffff/actions/HTTP/contents/ActionOutputs?api-version=2018-11-01&code=examplecode=2022-04-13T03%3A00%3A00.0000000Z&sp=%2Fruns%2F00000aaaabbbbccccddddeeeeffff%2Factions%2FHTTP%2Fcontents%2FActionOutputs%2Fread&sv=1.0&sig=fIIgF00000aaaabbbbccccddddeeeeffffWRU0" + }, + "startTime": "2018-08-10T20:16:32.305236Z", + "status": "Succeeded" + } + } + ] + } + } + }, + "operationId": "WorkflowRunActions_List", + "title": "List a workflow run actions" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/WorkflowRunActions_ListExpressionTraces.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/WorkflowRunActions_ListExpressionTraces.json new file mode 100644 index 000000000000..26595d7c7300 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/WorkflowRunActions_ListExpressionTraces.json @@ -0,0 +1,27 @@ +{ + "parameters": { + "name": "test-name", + "actionName": "testAction", + "api-version": "2025-03-01", + "repetitionName": "000001", + "resourceGroupName": "testResourceGroup", + "runName": "08586776228332053161046300351", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "workflowName": "testFlow" + }, + "responses": { + "200": { + "body": { + "inputs": [ + { + "path": "", + "text": "add(4, 4)", + "value": 8 + } + ] + } + } + }, + "operationId": "WorkflowRunActions_ListExpressionTraces", + "title": "List expression traces" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/WorkflowRuns_Cancel.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/WorkflowRuns_Cancel.json new file mode 100644 index 000000000000..56cb0c0676cf --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/WorkflowRuns_Cancel.json @@ -0,0 +1,15 @@ +{ + "parameters": { + "name": "test-name", + "api-version": "2025-03-01", + "resourceGroupName": "test-resource-group", + "runName": "08586676746934337772206998657CU22", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "workflowName": "test-workflow" + }, + "responses": { + "200": {} + }, + "operationId": "WorkflowRuns_Cancel", + "title": "Cancel a workflow run" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/WorkflowRuns_Get.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/WorkflowRuns_Get.json new file mode 100644 index 000000000000..951fc1e11141 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/WorkflowRuns_Get.json @@ -0,0 +1,47 @@ +{ + "parameters": { + "name": "test-name", + "api-version": "2025-03-01", + "resourceGroupName": "test-resource-group", + "runName": "08586676746934337772206998657CU22", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "workflowName": "test-workflow" + }, + "responses": { + "200": { + "body": { + "name": "08586676746934337772206998657CU22", + "type": "Microsoft.Web/workflows/runs", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Web/workflows/test-workflow/runs/08586676746934337772206998657CU22", + "properties": { + "correlation": { + "clientTrackingId": "08586676746934337772206998657CU22" + }, + "endTime": "2018-08-10T20:16:32.5779999Z", + "outputs": {}, + "startTime": "2018-08-10T20:16:32.044238Z", + "status": "Succeeded", + "trigger": { + "name": "Recurrence", + "code": "OK", + "correlation": { + "clientTrackingId": "08586676746934337772206998657CU22" + }, + "endTime": "2018-08-10T20:16:32.0387927Z", + "scheduledTime": "2018-08-10T20:16:31.6344174Z", + "startTime": "2018-08-10T20:16:32.0387927Z", + "status": "Succeeded" + }, + "waitEndTime": "2018-08-10T20:16:32.044238Z", + "workflow": { + "name": "08586676754160363885", + "type": "Microsoft.Web/workflows/versions", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Web/workflows/test-workflow/versions/08586676754160363885" + } + } + } + } + }, + "operationId": "WorkflowRuns_Get", + "title": "Get a run for a workflow" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/WorkflowRuns_List.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/WorkflowRuns_List.json new file mode 100644 index 000000000000..0304f121a663 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/WorkflowRuns_List.json @@ -0,0 +1,50 @@ +{ + "parameters": { + "name": "test-name", + "api-version": "2025-03-01", + "resourceGroupName": "test-resource-group", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "workflowName": "test-workflow" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "08586676746934337772206998657CU22", + "type": "Microsoft.Web/workflows/runs", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Web/workflows/test-workflow/runs/08586676746934337772206998657CU22", + "properties": { + "correlation": { + "clientTrackingId": "08586676746934337772206998657CU22" + }, + "endTime": "2018-08-10T20:16:32.5779999Z", + "outputs": {}, + "startTime": "2018-08-10T20:16:32.044238Z", + "status": "Succeeded", + "trigger": { + "name": "Recurrence", + "code": "OK", + "correlation": { + "clientTrackingId": "08586676746934337772206998657CU22" + }, + "endTime": "2018-08-10T20:16:32.0387927Z", + "scheduledTime": "2018-08-10T20:16:31.6344174Z", + "startTime": "2018-08-10T20:16:32.0387927Z", + "status": "Succeeded" + }, + "waitEndTime": "2018-08-10T20:16:32.044238Z", + "workflow": { + "name": "08586676754160363885", + "type": "Microsoft.Web/workflows/versions", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Web/workflows/test-workflow/versions/08586676754160363885" + } + } + } + ] + } + } + }, + "operationId": "WorkflowRuns_List", + "title": "List workflow runs" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/WorkflowTriggerHistories_Get.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/WorkflowTriggerHistories_Get.json new file mode 100644 index 000000000000..7883596b9037 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/WorkflowTriggerHistories_Get.json @@ -0,0 +1,38 @@ +{ + "parameters": { + "name": "test-name", + "api-version": "2025-03-01", + "historyName": "08586676746934337772206998657CU22", + "resourceGroupName": "testResourceGroup", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "triggerName": "testTriggerName", + "workflowName": "testWorkflowName" + }, + "responses": { + "200": { + "body": { + "name": "08586676746934337772206998657CU22", + "type": "Microsoft.Web/sites/workflows/triggers/histories", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testResourceGroup/providers/Microsoft.Web/sites/test-name/workflows/testWorkflowName/triggers/testTriggerName/histories/08586676746934337772206998657CU22", + "properties": { + "code": "OK", + "correlation": { + "clientTrackingId": "08586676746934337772206998657CU22" + }, + "endTime": "2018-08-10T20:16:32.2987996Z", + "fired": true, + "run": { + "name": "08586676746934337772206998657CU22", + "type": "Microsoft.Web/sites/workflows/runs", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testResourceGroup/providers/Microsoft.Web/sites/test-name/workflows/testWorkflowName/runs/08586676746934337772206998657CU22" + }, + "scheduledTime": "2018-08-10T20:16:31.6344174Z", + "startTime": "2018-08-10T20:16:32.0387927Z", + "status": "Succeeded" + } + } + } + }, + "operationId": "WorkflowTriggerHistories_Get", + "title": "Get a workflow trigger history" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/WorkflowTriggerHistories_List.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/WorkflowTriggerHistories_List.json new file mode 100644 index 000000000000..dbe2fd417dd6 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/WorkflowTriggerHistories_List.json @@ -0,0 +1,41 @@ +{ + "parameters": { + "name": "test-name", + "api-version": "2025-03-01", + "resourceGroupName": "testResourceGroup", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "triggerName": "testTriggerName", + "workflowName": "testWorkflowName" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "08586676746934337772206998657CU22", + "type": "Microsoft.Web/sites/workflows/triggers/histories", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testResourceGroup/providers/Microsoft.Web/sites/test-name/workflows/testWorkflowName/triggers/testTriggerName/histories/08586676746934337772206998657CU22", + "properties": { + "code": "OK", + "correlation": { + "clientTrackingId": "08586676746934337772206998657CU22" + }, + "endTime": "2018-08-10T20:16:32.2987996Z", + "fired": true, + "run": { + "name": "08586676746934337772206998657CU22", + "type": "Microsoft.Web/sites/workflows/runs", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testResourceGroup/providers/Microsoft.Web/sites/test-name/workflows/testWorkflowName/runs/08586676746934337772206998657CU22" + }, + "scheduledTime": "2018-08-10T20:16:31.6344174Z", + "startTime": "2018-08-10T20:16:32.0387927Z", + "status": "Succeeded" + } + } + ] + } + } + }, + "operationId": "WorkflowTriggerHistories_List", + "title": "List a workflow trigger history" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/WorkflowTriggerHistories_Resubmit.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/WorkflowTriggerHistories_Resubmit.json new file mode 100644 index 000000000000..7447e17e1a3b --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/WorkflowTriggerHistories_Resubmit.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "name": "test-name", + "api-version": "2025-03-01", + "historyName": "testHistoryName", + "resourceGroupName": "testResourceGroup", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "triggerName": "testTriggerName", + "workflowName": "testWorkflowName" + }, + "responses": { + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-rg/providers/Microsoft.Web//workflows/testWorkflowName/triggers/testTriggerName/histories/08586676746934337772206998657CU22?api-version=2025-03-01" + } + } + }, + "operationId": "WorkflowTriggerHistories_Resubmit", + "title": "Resubmit a workflow run based on the trigger history" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/WorkflowTriggers_Get.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/WorkflowTriggers_Get.json new file mode 100644 index 000000000000..9962f21a6f80 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/WorkflowTriggers_Get.json @@ -0,0 +1,32 @@ +{ + "parameters": { + "name": "test-name", + "api-version": "2025-03-01", + "resourceGroupName": "test-resource-group", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "triggerName": "manual", + "workflowName": "test-workflow" + }, + "responses": { + "200": { + "body": { + "name": "manual", + "type": "Microsoft.Web/sites/workflows/triggers", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Web/sites/test-name/workflows/test-workflow/triggers/manual", + "properties": { + "changedTime": "2018-08-10T18:47:49.5288666Z", + "createdTime": "2018-08-10T17:32:30.2496336Z", + "provisioningState": "Succeeded", + "state": "Enabled", + "workflow": { + "name": "08586676800160476478", + "type": "Microsoft.Web/sites/workflows/versions", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Web/sites/test-name/workflows/test-workflow/versions/08586676800160476478" + } + } + } + } + }, + "operationId": "WorkflowTriggers_Get", + "title": "Get a workflow trigger" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/WorkflowTriggers_GetSchemaJson.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/WorkflowTriggers_GetSchemaJson.json new file mode 100644 index 000000000000..0e681ef962fc --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/WorkflowTriggers_GetSchemaJson.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "name": "test-name", + "api-version": "2025-03-01", + "resourceGroupName": "testResourceGroup", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "triggerName": "testTrigger", + "workflowName": "testWorkflow" + }, + "responses": { + "200": { + "body": { + "content": "JsonContent", + "title": "JsonTitle" + } + } + }, + "operationId": "WorkflowTriggers_GetSchemaJson", + "title": "Get trigger schema" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/WorkflowTriggers_List.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/WorkflowTriggers_List.json new file mode 100644 index 000000000000..a8f1df3ca06f --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/WorkflowTriggers_List.json @@ -0,0 +1,35 @@ +{ + "parameters": { + "name": "test-name", + "api-version": "2025-03-01", + "resourceGroupName": "test-resource-group", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "workflowName": "test-workflow" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "manual", + "type": "Microsoft.Web/sites/workflows/triggers", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Web/sites/test-name/workflows/test-workflow/triggers/manual", + "properties": { + "changedTime": "2018-08-10T18:47:49.5288666Z", + "createdTime": "2018-08-10T17:32:30.2496336Z", + "provisioningState": "Succeeded", + "state": "Enabled", + "workflow": { + "name": "08586676800160476478", + "type": "Microsoft.Web/sites/workflows/versions", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Web/sites/test-name/workflows/test-workflow/versions/08586676800160476478" + } + } + } + ] + } + } + }, + "operationId": "WorkflowTriggers_List", + "title": "List workflow triggers" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/WorkflowTriggers_ListCallbackUrl.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/WorkflowTriggers_ListCallbackUrl.json new file mode 100644 index 000000000000..729acbf487ed --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/WorkflowTriggers_ListCallbackUrl.json @@ -0,0 +1,27 @@ +{ + "parameters": { + "name": "test-name", + "api-version": "2025-03-01", + "resourceGroupName": "test-resource-group", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "triggerName": "manual", + "workflowName": "test-workflow" + }, + "responses": { + "200": { + "body": { + "method": "POST", + "basePath": "https://test-site.azurewebsites.net:443/runtime/webhooks/workflow/scaleUnits/prod-00/workflows/fb9c8d79b15f41ce9b12861862f43546/versions/08587100027316071865/triggers/manualTrigger/paths/invoke", + "queries": { + "api-version": "2018-07-01-preview", + "sig": "IxEQ_ygZf6WNEQCbjV0Vs6p6Y4DyNEJVAa86U5B4xhk", + "sp": "/versions/08587100027316071865/triggers/manualTrigger/run", + "sv": "1.0" + }, + "value": "https://test-site.azurewebsites.net:443/runtime/webhooks/workflow/scaleUnits/prod-00/workflows/fb9c8d79b15f41ce9b12861862f43546/versions/08587100027316071865/triggers/manualTrigger/paths/invoke?api-version=2015-08-01-preview&sp=%2Fversions%2F08587100027316071865%2Ftriggers%2FmanualTrigger%2Frun&sv=1.0&sig=IxEQ_ygZf6WNEQCbjV0Vs6p6Y4DyNEJVAa86U5B4xhk" + } + } + }, + "operationId": "WorkflowTriggers_ListCallbackUrl", + "title": "Get the callback URL for a trigger" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/WorkflowTriggers_Run.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/WorkflowTriggers_Run.json new file mode 100644 index 000000000000..c2f3ececf4ec --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/WorkflowTriggers_Run.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "name": "test-name", + "api-version": "2025-03-01", + "resourceGroupName": "test-resource-group", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "triggerName": "recurrence", + "workflowName": "test-workflow" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-rg/providers/Microsoft.Web//workflows/testWorkflowName/triggers/testTriggerName/histories/08586676746934337772206998657CU22?api-version=2025-03-01" + } + } + }, + "operationId": "WorkflowTriggers_Run", + "title": "Run a workflow trigger" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/WorkflowVersions_Get.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/WorkflowVersions_Get.json new file mode 100644 index 000000000000..552ce1748509 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/WorkflowVersions_Get.json @@ -0,0 +1,45 @@ +{ + "parameters": { + "name": "test-name", + "api-version": "2025-03-01", + "resourceGroupName": "test-resource-group", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "versionId": "08586676824806722526", + "workflowName": "test-workflow" + }, + "responses": { + "200": { + "body": { + "name": "test-workflow", + "type": "Microsoft.Web/sites/workflows/versions", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Web/sites/test-name/workflows/test-workflow/versions/08586676824806722526", + "location": "West US", + "properties": { + "changedTime": "2018-08-09T22:54:54.3533634Z", + "createdTime": "2018-04-25T01:39:21.4365247Z", + "definition": { + "$schema": "https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#", + "actions": {}, + "contentVersion": "1.0.0.0", + "outputs": {}, + "parameters": {}, + "triggers": {} + }, + "endpointsConfiguration": { + "connector": { + "outgoingIpAddresses": [] + }, + "workflow": { + "accessEndpointIpAddresses": [], + "outgoingIpAddresses": [] + } + }, + "parameters": {}, + "version": "08586677515911718341" + } + } + } + }, + "operationId": "WorkflowVersions_Get", + "title": "Get a workflow version" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/WorkflowVersions_List.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/WorkflowVersions_List.json new file mode 100644 index 000000000000..688acecc6af5 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/WorkflowVersions_List.json @@ -0,0 +1,48 @@ +{ + "parameters": { + "name": "test-name", + "api-version": "2025-03-01", + "resourceGroupName": "test-resource-group", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "workflowName": "test-workflow" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "test-workflow", + "type": "Microsoft.Web/sites/workflows/versions", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Web/sites/test-name/workflows/test-workflow/versions/08586677515911718341", + "location": "West US", + "properties": { + "changedTime": "2018-08-09T22:54:54.3533634Z", + "createdTime": "2018-04-25T01:39:21.4365247Z", + "definition": { + "$schema": "https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#", + "actions": {}, + "contentVersion": "1.0.0.0", + "outputs": {}, + "parameters": {}, + "triggers": {} + }, + "endpointsConfiguration": { + "connector": { + "outgoingIpAddresses": [] + }, + "workflow": { + "accessEndpointIpAddresses": [], + "outgoingIpAddresses": [] + } + }, + "parameters": {}, + "version": "08586677515911718341" + } + } + ] + } + } + }, + "operationId": "WorkflowVersions_List", + "title": "List a workflows versions" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/Workflows_RegenerateAccessKey.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/Workflows_RegenerateAccessKey.json new file mode 100644 index 000000000000..65dd60d9bec1 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/Workflows_RegenerateAccessKey.json @@ -0,0 +1,17 @@ +{ + "parameters": { + "name": "test-name", + "api-version": "2025-03-01", + "keyType": { + "keyType": "Primary" + }, + "resourceGroupName": "testResourceGroup", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "workflowName": "testWorkflowName" + }, + "responses": { + "200": {} + }, + "operationId": "Workflows_RegenerateAccessKey", + "title": "Regenerate the callback URL access key for request triggers" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/Workflows_Validate.json b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/Workflows_Validate.json new file mode 100644 index 000000000000..684e8a3f951b --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/examples/2025-03-01/Workflows_Validate.json @@ -0,0 +1,28 @@ +{ + "parameters": { + "name": "test-name", + "api-version": "2025-03-01", + "location": "brazilsouth", + "resourceGroupName": "test-resource-group", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "validate": { + "properties": { + "definition": { + "$schema": "https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#", + "actions": {}, + "contentVersion": "1.0.0.0", + "outputs": {}, + "parameters": {}, + "triggers": {} + }, + "kind": "Stateful" + } + }, + "workflowName": "test-workflow" + }, + "responses": { + "200": {} + }, + "operationId": "Workflows_Validate", + "title": "Validate a workflow" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/main.tsp b/specification/web/resource-manager/Microsoft.Web/AppService/main.tsp new file mode 100644 index 000000000000..f498920eb367 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/main.tsp @@ -0,0 +1,114 @@ +/** + * PLEASE DO NOT REMOVE - USED FOR CONVERTER METRICS + * Generated by package: @autorest/openapi-to-typespec + * Parameters used: + * isFullCompatible: true + * guessResourceKey: false + * Version: 0.11.5 + * Date: 2025-08-05T08:47:43.934Z + */ +import "@typespec/rest"; +import "@typespec/versioning"; +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "./models.tsp"; +import "./back-compatible.tsp"; +import "./AppServiceEnvironmentResource.tsp"; +import "./AddressResponse.tsp"; +import "./CustomDnsSuffixConfiguration.tsp"; +import "./AseV3NetworkingConfiguration.tsp"; +import "./WorkerPoolResource.tsp"; +import "./RemotePrivateEndpointConnectionARMResource.tsp"; +import "./AppServicePlan.tsp"; +import "./HybridConnection.tsp"; +import "./HybridConnectionLimits.tsp"; +import "./VnetInfoResource.tsp"; +import "./VnetGateway.tsp"; +import "./VnetRoute.tsp"; +import "./Certificate.tsp"; +import "./DeletedSite.tsp"; +import "./DetectorResponse.tsp"; +import "./DiagnosticCategory.tsp"; +import "./AnalysisDefinition.tsp"; +import "./DetectorDefinitionResource.tsp"; +import "./KubeEnvironment.tsp"; +import "./RecommendationRule.tsp"; +import "./ResourceHealthMetadata.tsp"; +import "./User.tsp"; +import "./SourceControl.tsp"; +import "./StaticSiteARMResource.tsp"; +import "./StaticSiteBuildARMResource.tsp"; +import "./DatabaseConnection.tsp"; +import "./StaticSiteUserProvidedFunctionAppARMResource.tsp"; +import "./StaticSiteBasicAuthPropertiesARMResource.tsp"; +import "./StaticSiteCustomDomainOverviewARMResource.tsp"; +import "./StaticSiteLinkedBackendARMResource.tsp"; +import "./Site.tsp"; +import "./BackupItem.tsp"; +import "./CsmPublishingCredentialsPoliciesEntity.tsp"; +import "./SiteAuthSettingsV2.tsp"; +import "./ApiKVReference.tsp"; +import "./SiteLogsConfig.tsp"; +import "./SlotConfigNamesResource.tsp"; +import "./SiteConfigResource.tsp"; +import "./ContinuousWebJob.tsp"; +import "./CsmDeploymentStatus.tsp"; +import "./Deployment.tsp"; +import "./Identifier.tsp"; +import "./MSDeployStatus.tsp"; +import "./FunctionEnvelope.tsp"; +import "./HostNameBinding.tsp"; +import "./RelayServiceConnectionEntity.tsp"; +import "./WebSiteInstanceStatus.tsp"; +import "./ProcessInfo.tsp"; +import "./ProcessModuleInfo.tsp"; +import "./MigrateMySqlStatus.tsp"; +import "./SwiftVirtualNetwork.tsp"; +import "./NetworkFeatures.tsp"; +import "./PremierAddOn.tsp"; +import "./PrivateAccess.tsp"; +import "./PublicCertificate.tsp"; +import "./SiteContainer.tsp"; +import "./SiteExtensionInfo.tsp"; +import "./SiteSourceControl.tsp"; +import "./TriggeredWebJob.tsp"; +import "./TriggeredJobHistory.tsp"; +import "./WebJob.tsp"; +import "./WorkflowEnvelope.tsp"; +import "./WorkflowRun.tsp"; +import "./WorkflowRunAction.tsp"; +import "./WorkflowRunActionRepetitionDefinition.tsp"; +import "./RequestHistory.tsp"; +import "./WorkflowTrigger.tsp"; +import "./WorkflowTriggerHistory.tsp"; +import "./WorkflowVersion.tsp"; +import "./routes.tsp"; + +using TypeSpec.Rest; +using TypeSpec.Http; +using Azure.ResourceManager.Foundations; +using Azure.Core; +using Azure.ResourceManager; +using TypeSpec.Versioning; + +@armProviderNamespace +@service(#{ title: "WebApps API Client" }) +@versioned(Versions) +@armCommonTypesVersion(Azure.ResourceManager.CommonTypes.Versions.v5) +namespace Microsoft.Web; + +/** + * The available API versions. + */ +enum Versions { + /** + * The 2025-03-01 API version. + */ + v2025_03_01: "2025-03-01", +} + +interface Operations + extends Azure.ResourceManager.Legacy.Operations< + ArmResponse, + DefaultErrorResponse + > {} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/models.tsp b/specification/web/resource-manager/Microsoft.Web/AppService/models.tsp new file mode 100644 index 000000000000..1cf060dbf9c5 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/models.tsp @@ -0,0 +1,15927 @@ +import "@typespec/rest"; +import "@typespec/http"; +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; + +using TypeSpec.Rest; +using TypeSpec.Http; +using Azure.ResourceManager; +using Azure.ResourceManager.Foundations; +using Azure.Core; + +namespace Microsoft.Web; + +#suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@mediaTypeHint("application/json") +scalar stringApplicationJson extends string; + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@error +model ArmBadRequestResponse { + ...TypeSpec.Http.Response<400>; +} + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@error +model ArmNotFoundResponse { + ...TypeSpec.Http.Response<404>; +} + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@error +model ArmConflictResponse { + ...TypeSpec.Http.Response<409>; +} + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@error +model ArmTooManyRequestsResponse { + ...TypeSpec.Http.Response<429>; +} + +/** + * Specifies which endpoints to serve internally in the Virtual Network for the App Service Environment. + */ +union LoadBalancingMode { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + None: "None", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Web: "Web", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Publishing: "Publishing", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + `Web, Publishing`: "Web, Publishing", +} + +/** + * Upgrade Preference + */ +union UpgradePreference { + string, + + /** + * No preference on when this App Service Environment will be upgraded + */ + None: "None", + + /** + * This App Service Environment will be upgraded before others in the same region that have Upgrade Preference 'Late' + */ + Early: "Early", + + /** + * This App Service Environment will be upgraded after others in the same region that have Upgrade Preference 'Early' + */ + Late: "Late", + + /** + * ASEv3 only. Once an upgrade is available, this App Service Environment will wait 10 days for the upgrade to be manually initiated. After 10 days the upgrade will begin automatically + */ + Manual: "Manual", +} + +/** + * Whether an upgrade is available for this App Service Environment. + */ +union UpgradeAvailability { + string, + + /** + * No upgrade is currently available for this App Service Environment + */ + None: "None", + + /** + * An upgrade is ready to be manually initiated on this App Service Environment + */ + Ready: "Ready", +} + +/** + * SCM type. + */ +union ScmType { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + None: "None", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Dropbox: "Dropbox", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Tfs: "Tfs", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + LocalGit: "LocalGit", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + GitHub: "GitHub", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + CodePlexGit: "CodePlexGit", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + CodePlexHg: "CodePlexHg", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + BitbucketGit: "BitbucketGit", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + BitbucketHg: "BitbucketHg", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + ExternalGit: "ExternalGit", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + ExternalHg: "ExternalHg", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + OneDrive: "OneDrive", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + VSO: "VSO", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + VSTSRM: "VSTSRM", +} + +/** + * Defines what this IP filter will be used for. This is to support IP filtering on proxies. + */ +union IpFilterTag { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Default: "Default", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + XffProxy: "XffProxy", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + ServiceTag: "ServiceTag", +} + +/** + * Default action for main access restriction if no rules are matched. + */ +union DefaultAction { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Allow: "Allow", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Deny: "Deny", +} + +/** + * MinTlsVersion: configures the minimum version of TLS required for SSL requests + */ +union SupportedTlsVersions { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + `1.0`: "1.0", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + `1.1`: "1.1", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + `1.2`: "1.2", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + `1.3`: "1.3", +} + +/** + * The minimum strength TLS cipher suite allowed for an application + */ +union TlsCipherSuites { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + TLS_AES_256_GCM_SHA384: "TLS_AES_256_GCM_SHA384", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + TLS_AES_128_GCM_SHA256: "TLS_AES_128_GCM_SHA256", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384: "TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256: "TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256: "TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384: "TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256: "TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384: "TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256: "TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA: "TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA: "TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + TLS_RSA_WITH_AES_256_GCM_SHA384: "TLS_RSA_WITH_AES_256_GCM_SHA384", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + TLS_RSA_WITH_AES_128_GCM_SHA256: "TLS_RSA_WITH_AES_128_GCM_SHA256", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + TLS_RSA_WITH_AES_256_CBC_SHA256: "TLS_RSA_WITH_AES_256_CBC_SHA256", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + TLS_RSA_WITH_AES_128_CBC_SHA256: "TLS_RSA_WITH_AES_128_CBC_SHA256", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + TLS_RSA_WITH_AES_256_CBC_SHA: "TLS_RSA_WITH_AES_256_CBC_SHA", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + TLS_RSA_WITH_AES_128_CBC_SHA: "TLS_RSA_WITH_AES_128_CBC_SHA", +} + +/** + * State of FTP / FTPS service + */ +union FtpsState { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + AllAllowed: "AllAllowed", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + FtpsOnly: "FtpsOnly", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Disabled: "Disabled", +} + +/** + * Mounting protocol to use for the storage account. + */ +union AzureStorageProtocol { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Smb: "Smb", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Http: "Http", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Nfs: "Nfs", +} + +/** + * Property to select Azure Storage type. Available options: blobContainer. + */ +union FunctionsDeploymentStorageType { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + blobContainer: "blobContainer", +} + +/** + * Property to select authentication type to access the selected storage account. Available options: SystemAssignedIdentity, UserAssignedIdentity, StorageAccountConnectionString. + */ +union AuthenticationType { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + SystemAssignedIdentity: "SystemAssignedIdentity", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + UserAssignedIdentity: "UserAssignedIdentity", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + StorageAccountConnectionString: "StorageAccountConnectionString", +} + +/** + * Function app runtime name. Available options: dotnet-isolated, node, java, powershell, python, custom + */ +union RuntimeName { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + `dotnet-isolated`: "dotnet-isolated", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + node: "node", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + java: "java", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + powershell: "powershell", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + python: "python", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + custom: "custom", +} + +/** + * Sets the log level for the Dapr sidecar. Allowed values are debug, info, warn, error. Default is info. + */ +union DaprLogLevel { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + info: "info", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + debug: "debug", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + warn: "warn", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + error: "error", +} + +/** + * The type of route this is: + * DEFAULT - By default, every app has routes to the local address ranges specified by RFC1918 + * INHERITED - Routes inherited from the real Virtual Network routes + * STATIC - Static route set on the app only + * + * These values will be used for syncing an app's routes with those from a Virtual Network. + */ +union RouteType { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + DEFAULT: "DEFAULT", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + INHERITED: "INHERITED", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + STATIC: "STATIC", +} + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +union ProviderOsTypeSelected { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Windows: "Windows", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Linux: "Linux", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + WindowsFunctions: "WindowsFunctions", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + LinuxFunctions: "LinuxFunctions", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + All: "All", +} + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +union ProviderStackOsType { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Windows: "Windows", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Linux: "Linux", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + All: "All", +} + +/** + * Name of a resource type this recommendation applies, e.g. Subscription, ServerFarm, Site. + */ +union ResourceScopeType { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + ServerFarm: "ServerFarm", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Subscription: "Subscription", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + WebSite: "WebSite", +} + +/** + * Resource type used for verification. + */ +union CheckNameResourceTypes { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Site: "Site", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Slot: "Slot", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + HostingEnvironment: "HostingEnvironment", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + PublishingUser: "PublishingUser", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + `Microsoft.Web/sites`: "Microsoft.Web/sites", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + `Microsoft.Web/sites/slots`: "Microsoft.Web/sites/slots", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + `Microsoft.Web/hostingEnvironments`: "Microsoft.Web/hostingEnvironments", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + `Microsoft.Web/publishingUsers`: "Microsoft.Web/publishingUsers", +} + +/** + * 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. + */ +union InAvailabilityReasonType { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Invalid: "Invalid", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + AlreadyExists: "AlreadyExists", +} + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +union SkuName { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Free: "Free", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Shared: "Shared", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Basic: "Basic", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Standard: "Standard", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Premium: "Premium", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Dynamic: "Dynamic", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Isolated: "Isolated", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + IsolatedV2: "IsolatedV2", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + PremiumV2: "PremiumV2", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + PremiumV3: "PremiumV3", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + PremiumContainer: "PremiumContainer", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + ElasticPremium: "ElasticPremium", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + ElasticIsolated: "ElasticIsolated", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + FlexConsumption: "FlexConsumption", +} + +/** + * Resource type used for verification. + */ +union ValidateResourceTypes { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + ServerFarm: "ServerFarm", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Site: "Site", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + `Microsoft.Web/hostingEnvironments`: "Microsoft.Web/hostingEnvironments", +} + +/** + * State indicating the status of the enterprise grade CDN serving traffic to the static web app. + */ +union EnterpriseGradeCdnStatus { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Enabled: "Enabled", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Enabling: "Enabling", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Disabled: "Disabled", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Disabling: "Disabling", +} + +/** + * The status of the static site build. + */ +union BuildStatus { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + WaitingForDeployment: "WaitingForDeployment", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Uploading: "Uploading", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Deploying: "Deploying", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Ready: "Ready", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Failed: "Failed", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Deleting: "Deleting", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Detached: "Detached", +} + +/** + * The trigger type of the function + */ +union TriggerTypes { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + HttpTrigger: "HttpTrigger", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Unknown: "Unknown", +} + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +union BasicAuthName { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + default: "default", +} + +/** + * The status of the custom domain + */ +union CustomDomainStatus { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + RetrievingValidationToken: "RetrievingValidationToken", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Validating: "Validating", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Adding: "Adding", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Ready: "Ready", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Failed: "Failed", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Deleting: "Deleting", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Unhealthy: "Unhealthy", +} + +/** + * Database type (e.g. SqlAzure / MySql). + */ +union DatabaseType { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + SqlAzure: "SqlAzure", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + MySql: "MySql", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + LocalMySql: "LocalMySql", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + PostgreSql: "PostgreSql", +} + +/** + * Deployment build status. + */ +union DeploymentBuildStatus { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + TimedOut: "TimedOut", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + RuntimeFailed: "RuntimeFailed", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + BuildAborted: "BuildAborted", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + BuildFailed: "BuildFailed", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + BuildRequestReceived: "BuildRequestReceived", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + BuildPending: "BuildPending", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + BuildInProgress: "BuildInProgress", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + BuildSuccessful: "BuildSuccessful", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + PostBuildRestartRequired: "PostBuildRestartRequired", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + StartPolling: "StartPolling", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + StartPollingWithRestart: "StartPollingWithRestart", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + RuntimeStarting: "RuntimeStarting", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + RuntimeSuccessful: "RuntimeSuccessful", +} + +/** + * Name of the format. Valid values are: + * FileZilla3 + * WebDeploy -- default + * Ftp + */ +union PublishingProfileFormat { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + FileZilla3: "FileZilla3", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + WebDeploy: "WebDeploy", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Ftp: "Ftp", +} + +/** + * The workflow state. + */ +union WorkflowState { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + NotSpecified: "NotSpecified", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Completed: "Completed", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Enabled: "Enabled", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Disabled: "Disabled", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Deleted: "Deleted", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Suspended: "Suspended", +} + +/** + * The key type. + */ +union KeyType { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + NotSpecified: "NotSpecified", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Primary: "Primary", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Secondary: "Secondary", +} + +/** + * The workflow status. + */ +union WorkflowStatus { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + NotSpecified: "NotSpecified", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Paused: "Paused", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Running: "Running", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Waiting: "Waiting", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Succeeded: "Succeeded", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Skipped: "Skipped", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Suspended: "Suspended", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Cancelled: "Cancelled", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Failed: "Failed", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Faulted: "Faulted", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + TimedOut: "TimedOut", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Aborted: "Aborted", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Ignored: "Ignored", +} + +/** + * The parameter type. + */ +union ParameterType { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + NotSpecified: "NotSpecified", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + String: "String", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + SecureString: "SecureString", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Int: "Int", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Float: "Float", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Bool: "Bool", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Array: "Array", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Object: "Object", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + SecureObject: "SecureObject", +} + +/** + * The workflow trigger provisioning state. + */ +union WorkflowTriggerProvisioningState { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + NotSpecified: "NotSpecified", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Accepted: "Accepted", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Running: "Running", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Ready: "Ready", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Creating: "Creating", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Created: "Created", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Deleting: "Deleting", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Deleted: "Deleted", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Canceled: "Canceled", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Failed: "Failed", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Succeeded: "Succeeded", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Moving: "Moving", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Updating: "Updating", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Registering: "Registering", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Registered: "Registered", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Unregistering: "Unregistering", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Unregistered: "Unregistered", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Completed: "Completed", +} + +/** + * The recurrence frequency. + */ +union RecurrenceFrequency { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + NotSpecified: "NotSpecified", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Second: "Second", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Minute: "Minute", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Hour: "Hour", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Day: "Day", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Week: "Week", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Month: "Month", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Year: "Year", +} + +/** + * The workflow provisioning state. + */ +union WorkflowProvisioningState { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + NotSpecified: "NotSpecified", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Accepted: "Accepted", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Running: "Running", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Ready: "Ready", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Creating: "Creating", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Created: "Created", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Deleting: "Deleting", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Deleted: "Deleted", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Canceled: "Canceled", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Failed: "Failed", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Succeeded: "Succeeded", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Moving: "Moving", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Updating: "Updating", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Registering: "Registering", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Registered: "Registered", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Unregistering: "Unregistering", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Unregistered: "Unregistered", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Completed: "Completed", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Renewing: "Renewing", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Pending: "Pending", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Waiting: "Waiting", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + InProgress: "InProgress", +} + +/** + * Open authentication policy provider type. + */ +union OpenAuthenticationProviderType { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + AAD: "AAD", +} + +/** + * The sku name. + */ +union WorkflowSkuName { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + NotSpecified: "NotSpecified", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Free: "Free", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Shared: "Shared", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Basic: "Basic", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Standard: "Standard", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Premium: "Premium", +} + +/** + * The workflow kind. + */ +union Kind { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Stateful: "Stateful", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Stateless: "Stateless", +} + +/** + * Provisioning state of the App Service Plan. + */ +#suppress "@azure-tools/typespec-azure-core/no-enum" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +enum ProvisioningState { + Succeeded, + Failed, + Canceled, + InProgress, + Deleting, +} + +/** + * Current status of the App Service Environment. + */ +#suppress "@azure-tools/typespec-azure-core/no-enum" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +enum HostingEnvironmentStatus { + Preparing, + Ready, + Scaling, + Deleting, +} + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-enum" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +enum CustomDnsSuffixProvisioningState { + Succeeded, + Failed, + Degraded, + InProgress, +} + +/** + * Shared/dedicated workers. + */ +#suppress "@azure-tools/typespec-azure-core/no-enum" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +enum ComputeModeOptions { + Shared, + Dedicated, + Dynamic, +} + +/** + * Size of the machines. + */ +#suppress "@azure-tools/typespec-azure-core/no-enum" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +enum WorkerSizeOptions { + Small, + Medium, + Large, + D1, + D2, + D3, + SmallV3, + MediumV3, + LargeV3, + NestedSmall, + NestedSmallLinux, + Default, +} + +/** + * State indicating whether the app has exceeded its quota usage. Read-only. + */ +#suppress "@azure-tools/typespec-azure-core/no-enum" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +enum UsageState { + Normal, + Exceeded, +} + +/** + * Management information availability state for the app. + */ +#suppress "@azure-tools/typespec-azure-core/no-enum" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +enum SiteAvailabilityState { + Normal, + Limited, + DisasterRecoveryMode, +} + +/** + * SSL type + */ +#suppress "@azure-tools/typespec-azure-core/no-enum" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +enum SslState { + Disabled, + SniEnabled, + IpBasedEnabled, +} + +/** + * Indicates whether the hostname is a standard or repository hostname. + */ +#suppress "@azure-tools/typespec-azure-core/no-enum" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +enum HostType { + Standard, + Repository, +} + +/** + * Type of database. + */ +#suppress "@azure-tools/typespec-azure-core/no-enum" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +enum ConnectionStringType { + MySql, + SQLServer, + SQLAzure, + Custom, + NotificationHub, + ServiceBus, + EventHub, + ApiHub, + DocDb, + RedisCache, + PostgreSQL, +} + +/** + * Managed pipeline mode. + */ +#suppress "@azure-tools/typespec-azure-core/no-enum" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +enum ManagedPipelineMode { + Integrated, + Classic, +} + +/** + * Site load balancing. + */ +#suppress "@azure-tools/typespec-azure-core/no-enum" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +enum SiteLoadBalancing { + WeightedRoundRobin, + LeastRequests, + LeastResponseTime, + WeightedTotalTraffic, + RequestHash, + PerSiteRoundRobin, + LeastRequestsWithTieBreaker, +} + +/** + * Predefined action to be taken. + */ +#suppress "@azure-tools/typespec-azure-core/no-enum" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +enum AutoHealActionType { + Recycle, + LogEvent, + CustomAction, +} + +/** + * Type of storage. + */ +#suppress "@azure-tools/typespec-azure-core/no-enum" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +enum AzureStorageType { + AzureFiles, + AzureBlob, +} + +/** + * State of the storage account. + */ +#suppress "@azure-tools/typespec-azure-core/no-enum" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +enum AzureStorageState { + Ok, + InvalidCredentials, + InvalidShare, + NotValidated, +} + +/** + * 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. + */ +#suppress "@azure-tools/typespec-azure-core/no-enum" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +enum ClientCertMode { + Required, + Optional, + OptionalInteractiveUser, +} + +/** + * Specifies the IP mode of the app. + */ +#suppress "@azure-tools/typespec-azure-core/no-enum" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +enum IPMode { + IPv4, + IPv6, + IPv4AndIPv6, +} + +/** + * Site redundancy mode + */ +#suppress "@azure-tools/typespec-azure-core/no-enum" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +enum RedundancyMode { + None, + Manual, + Failover, + ActiveActive, + GeoRedundant, +} + +/** + * Specifies the scope of uniqueness for the default hostname during resource creation + */ +#suppress "@azure-tools/typespec-azure-core/no-enum" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +enum AutoGeneratedDomainNameLabelScope { + TenantReuse, + SubscriptionReuse, + ResourceGroupReuse, + NoReuse, +} + +/** + * Type of managed service identity. + */ +#suppress "@azure-tools/typespec-azure-core/no-enum" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +enum ManagedServiceIdentityType { + SystemAssigned, + UserAssigned, + `SystemAssigned, UserAssigned`, + None, +} + +/** + * The current status of the operation. + */ +#suppress "@azure-tools/typespec-azure-core/no-enum" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +enum OperationStatus { + InProgress, + Failed, + Succeeded, + TimedOut, + Created, +} + +/** + * App Service plan status. + */ +#suppress "@azure-tools/typespec-azure-core/no-enum" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +enum StatusOptions { + Ready, + Pending, + Creating, +} + +/** + * Status of the Key Vault secret. + */ +#suppress "@azure-tools/typespec-azure-core/no-enum" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +enum KeyVaultSecretStatus { + Initialized, + WaitingOnCertificateOrder, + Succeeded, + CertificateOrderFailed, + OperationNotPermittedOnKeyVault, + AzureServiceUnauthorizedToAccessKeyVault, + KeyVaultDoesNotExist, + KeyVaultSecretDoesNotExist, + UnknownError, + ExternalPrivateKey, + Unknown, +} + +/** + * Whether this detector is an Analysis Detector or not. + */ +#suppress "@azure-tools/typespec-azure-core/no-enum" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +enum DetectorType { + Detector, + Analysis, + CategoryOverview, +} + +/** + * Rendering Type + */ +#suppress "@azure-tools/typespec-azure-core/no-enum" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +enum 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, +} + +/** + * Level of the most severe insight generated by the detector. + */ +#suppress "@azure-tools/typespec-azure-core/no-enum" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +enum InsightStatus { + Critical, + Warning, + Info, + Success, + None, +} + +/** + * Represents the type of the Detector + */ +#suppress "@azure-tools/typespec-azure-core/no-enum" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +enum IssueType { + ServiceIncident, + AppDeployment, + AppCrash, + RuntimeIssueDetected, + AseDeployment, + UserIssue, + PlatformIssue, + Other, +} + +/** + * Type of Solution + */ +#suppress "@azure-tools/typespec-azure-core/no-enum" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +enum SolutionType { + QuickSolution, + DeepInvestigation, + BestPractices, +} + +/** + * Provisioning state of the Kubernetes Environment. + */ +#suppress "@azure-tools/typespec-azure-core/no-enum" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +enum KubeEnvironmentProvisioningState { + Succeeded, + Failed, + Canceled, + Waiting, + InitializationInProgress, + InfrastructureSetupInProgress, + InfrastructureSetupComplete, + ScheduledForDelete, + UpgradeRequested, + UpgradeFailed, +} + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-enum" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +enum StorageType { + LocalNode, + NetworkFileSystem, +} + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-enum" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +enum FrontEndServiceType { + NodePort, + LoadBalancer, +} + +/** + * Function App stack preferred OS. + */ +#suppress "@azure-tools/typespec-azure-core/no-enum" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +enum StackPreferredOs { + Windows, + Linux, +} + +/** + * Level indicating how critical this recommendation can impact. + */ +#suppress "@azure-tools/typespec-azure-core/no-enum" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +enum NotificationLevel { + Critical, + Warning, + Information, + NonUrgentSuggestion, +} + +/** + * List of channels that this recommendation can apply. + */ +#suppress "@azure-tools/typespec-azure-core/no-enum" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +enum Channels { + Notification, + Api, + Email, + Webhook, + All, +} + +/** + * App Service plans this offer is restricted to. + */ +#suppress "@azure-tools/typespec-azure-core/no-enum" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +enum AppServicePlanRestrictions { + None, + Free, + Shared, + Basic, + Standard, + Premium, +} + +/** + * State indicating whether staging environments are allowed or not allowed for a static web app. + */ +#suppress "@azure-tools/typespec-azure-core/no-enum" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +enum StagingEnvironmentPolicy { + Enabled, + Disabled, +} + +/** + * DNS verification test result. + */ +#suppress "@azure-tools/typespec-azure-core/no-enum" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +enum DnsVerificationTestResult { + Passed, + Failed, + Skipped, +} + +/** + * 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) + */ +#suppress "@azure-tools/typespec-azure-core/no-enum" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +enum FrequencyUnit { + Day, + Hour, +} + +/** + * Backup status. + */ +#suppress "@azure-tools/typespec-azure-core/no-enum" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +enum BackupItemStatus { + InProgress, + Failed, + Succeeded, + TimedOut, + Created, + Skipped, + PartiallySucceeded, + DeleteInProgress, + DeleteFailed, + Deleted, +} + +/** + * Operation type. + */ +#suppress "@azure-tools/typespec-azure-core/no-enum" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +enum BackupRestoreOperationType { + Default, + Clone, + Relocation, + Snapshot, + CloudFS, +} + +/** + * The action to take when an unauthenticated client attempts to access the app. + */ +#suppress "@azure-tools/typespec-azure-core/no-enum" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +enum UnauthenticatedClientAction { + RedirectToLoginPage, + AllowAnonymous, +} + +/** + * 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". + */ +#suppress "@azure-tools/typespec-azure-core/no-enum" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +enum BuiltInAuthenticationProvider { + AzureActiveDirectory, + Facebook, + Google, + MicrosoftAccount, + Twitter, + Github, +} + +/** + * The action to take when an unauthenticated client attempts to access the app. + */ +#suppress "@azure-tools/typespec-azure-core/no-enum" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +enum UnauthenticatedClientActionV2 { + RedirectToLoginPage, + AllowAnonymous, + Return401, + Return403, +} + +/** + * The convention used when determining the session cookie's expiration. + */ +#suppress "@azure-tools/typespec-azure-core/no-enum" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +enum CookieExpirationConvention { + FixedTime, + IdentityProviderDerived, +} + +/** + * The convention used to determine the url of the request made. + */ +#suppress "@azure-tools/typespec-azure-core/no-enum" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +enum ForwardProxyConvention { + NoProxy, + Standard, + Custom, +} + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-enum" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +enum ResolveStatus { + Initialized, + Resolved, + InvalidSyntax, + MSINotEnabled, + VaultNotFound, + SecretNotFound, + SecretVersionNotFound, + AccessToKeyVaultDenied, + OtherReasons, + FetchTimedOut, + UnauthorizedClient, +} + +/** + * Log level. + */ +#suppress "@azure-tools/typespec-azure-core/no-enum" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +enum LogLevel { + Off, + Verbose, + Information, + Warning, + Error, +} + +/** + * Job status. + */ +#suppress "@azure-tools/typespec-azure-core/no-enum" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +enum ContinuousWebJobStatus { + Initializing, + Starting, + Running, + PendingRestart, + Stopped, +} + +/** + * Job type. + */ +#suppress "@azure-tools/typespec-azure-core/no-enum" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +enum WebJobType { + Continuous, + Triggered, +} + +/** + * Provisioning state + */ +#suppress "@azure-tools/typespec-azure-core/no-enum" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +enum MSDeployProvisioningState { + accepted, + running, + succeeded, + failed, + canceled, +} + +/** + * Log entry type + */ +#suppress "@azure-tools/typespec-azure-core/no-enum" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +enum MSDeployLogEntryType { + Message, + Warning, + Error, +} + +/** + * Azure resource type. + */ +#suppress "@azure-tools/typespec-azure-core/no-enum" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +enum AzureResourceType { + Website, + TrafficManager, +} + +/** + * Custom DNS record type. + */ +#suppress "@azure-tools/typespec-azure-core/no-enum" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +enum CustomHostNameDnsRecordType { + CName, + A, +} + +/** + * Hostname type. + */ +#suppress "@azure-tools/typespec-azure-core/no-enum" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +enum HostNameType { + Verified, + Managed, +} + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-enum" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +enum SiteRuntimeState { + READY, + STOPPED, + UNKNOWN, +} + +/** + * Name of app. + */ +#suppress "@azure-tools/typespec-azure-core/no-enum" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +enum CloneAbilityResult { + Cloneable, + PartiallyCloneable, + NotCloneable, +} + +/** + * The type of migration operation to be done + */ +#suppress "@azure-tools/typespec-azure-core/no-enum" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +enum MySqlMigrationType { + LocalToRemote, + RemoteToLocal, +} + +/** + * Public Certificate Location + */ +#suppress "@azure-tools/typespec-azure-core/no-enum" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +enum PublicCertificateLocation { + CurrentUserMy, + LocalMachineMy, + Unknown, +} + +/** + * Auth Type + */ +#suppress "@azure-tools/typespec-azure-core/no-enum" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +enum AuthType { + Anonymous, + UserCredentials, + SystemIdentity, + UserAssigned, +} + +/** + * Site extension type. + */ +#suppress "@azure-tools/typespec-azure-core/no-enum" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +enum SiteExtensionType { + Gallery, + WebRoot, +} + +/** + * Job status. + */ +#suppress "@azure-tools/typespec-azure-core/no-enum" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +enum TriggeredWebJobStatus { + Success, + Failed, + Error, +} + +/** + * Gets or sets the workflow health state. + */ +#suppress "@azure-tools/typespec-azure-core/no-enum" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +enum WorkflowHealthState { + NotSpecified, + Healthy, + Unhealthy, + Unknown, +} + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-enum" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +enum DaysOfWeek { + Sunday, + Monday, + Tuesday, + Wednesday, + Thursday, + Friday, + Saturday, +} + +/** + * The day of the week. + */ +#suppress "@azure-tools/typespec-azure-core/no-enum" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +enum DayOfWeek { + Sunday, + Monday, + Tuesday, + Wednesday, + Thursday, + Friday, + Saturday, +} + +/** + * Collection of App Service Environments. + */ +model AppServiceEnvironmentCollection + is Azure.Core.Page; + +/** + * Description of an App Service Environment. + */ +model AppServiceEnvironment { + /** + * Provisioning state of the App Service Environment. + */ + @visibility(Lifecycle.Read) + provisioningState?: ProvisioningState; + + /** + * Current status of the App Service Environment. + */ + @visibility(Lifecycle.Read) + status?: HostingEnvironmentStatus; + + /** + * Description of the Virtual Network. + */ + virtualNetwork: VirtualNetworkProfile; + + /** + * Specifies which endpoints to serve internally in the Virtual Network for the App Service Environment. + */ + internalLoadBalancingMode?: LoadBalancingMode; + + /** + * Front-end VM size, e.g. "Medium", "Large". + */ + multiSize?: string; + + /** + * Number of front-end instances. + */ + @visibility(Lifecycle.Read) + multiRoleCount?: int32; + + /** + * Number of IP SSL addresses reserved for the App Service Environment. + */ + ipsslAddressCount?: int32; + + /** + * DNS suffix of the App Service Environment. + */ + dnsSuffix?: string; + + /** + * Maximum number of VMs in the App Service Environment. + */ + @visibility(Lifecycle.Read) + maximumNumberOfMachines?: int32; + + /** + * Scale factor for front-ends. + */ + frontEndScaleFactor?: int32; + + /** + * true if the App Service Environment is suspended; otherwise, false. The environment can be suspended, e.g. when the management endpoint is no longer available + * (most likely because NSG blocked the incoming traffic). + */ + @visibility(Lifecycle.Read) + suspended?: boolean; + + /** + * Custom settings for changing the behavior of the App Service Environment. + */ + @identifiers(#["name"]) + clusterSettings?: NameValuePair[]; + + /** + * User added ip ranges to whitelist on ASE db + */ + userWhitelistedIpRanges?: string[]; + + /** + * Flag that displays whether an ASE has linux workers or not + */ + @visibility(Lifecycle.Read) + hasLinuxWorkers?: boolean; + + /** + * Upgrade Preference + */ + upgradePreference?: UpgradePreference = UpgradePreference.None; + + /** + * Dedicated Host Count + */ + dedicatedHostCount?: int32; + + /** + * Whether or not this App Service Environment is zone-redundant. + */ + zoneRedundant?: boolean; + + /** + * Full view of the custom domain suffix configuration for ASEv3. + */ + customDnsSuffixConfiguration?: CustomDnsSuffixConfiguration; + + /** + * Full view of networking configuration for an ASE. + */ + networkingConfiguration?: AseV3NetworkingConfiguration; + + /** + * Whether an upgrade is available for this App Service Environment. + */ + @visibility(Lifecycle.Read) + upgradeAvailability?: UpgradeAvailability; +} + +/** + * Specification for using a Virtual Network. + */ +model VirtualNetworkProfile { + /** + * Resource id of the Virtual Network. + */ + id: string; + + /** + * Name of the Virtual Network (read-only). + */ + @visibility(Lifecycle.Read) + name?: string; + + /** + * Resource type of the Virtual Network (read-only). + */ + @visibility(Lifecycle.Read) + type?: string; + + /** + * Subnet within the Virtual Network. + */ + subnet?: string; +} + +/** + * Name value pair. + */ +model NameValuePair { + /** + * Pair name. + */ + name?: string; + + /** + * Pair value. + */ + value?: string; +} + +/** + * CustomDnsSuffixConfiguration resource specific properties + */ +model CustomDnsSuffixConfigurationProperties { + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @visibility(Lifecycle.Read) + provisioningState?: CustomDnsSuffixProvisioningState; + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @visibility(Lifecycle.Read) + provisioningDetails?: string; + + /** + * The default custom domain suffix to use for all sites deployed on the ASE. + */ + dnsSuffix?: string; + + /** + * The URL referencing the Azure Key Vault certificate secret that should be used as the default SSL/TLS certificate for sites with the custom domain suffix. + */ + certificateUrl?: string; + + /** + * The user-assigned identity to use for resolving the key vault certificate reference. If not specified, the system-assigned ASE identity will be used if available. + */ + keyVaultReferenceIdentity?: string; +} + +/** + * Azure proxy only resource. This resource is not tracked by Azure Resource Manager. + */ +model ProxyOnlyResource { + /** + * Resource Id. + */ + @visibility(Lifecycle.Read) + id?: string; + + /** + * Resource Name. + */ + @visibility(Lifecycle.Read) + name?: string; + + /** + * Kind of resource. + */ + kind?: string; + + /** + * Resource type. + */ + @visibility(Lifecycle.Read) + type?: string; +} + +/** + * AseV3NetworkingConfiguration resource specific properties + */ +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model AseV3NetworkingConfigurationProperties { + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @visibility(Lifecycle.Read) + windowsOutboundIpAddresses?: string[]; + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @visibility(Lifecycle.Read) + linuxOutboundIpAddresses?: string[]; + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @visibility(Lifecycle.Read) + externalInboundIpAddresses?: string[]; + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @visibility(Lifecycle.Read) + internalInboundIpAddresses?: string[]; + + /** + * Property to enable and disable new private endpoint connection creation on ASE + */ + allowNewPrivateEndpointConnections?: boolean; + + /** + * Property to enable and disable FTP on ASEV3 + */ + ftpEnabled?: boolean; + + /** + * Property to enable and disable Remote Debug on ASEV3 + */ + remoteDebugEnabled?: boolean; + + /** + * Customer provided Inbound IP Address. Only able to be set on Ase create. + */ + inboundIpAddressOverride?: string; +} + +/** + * App Service error response. + */ +@error +model DefaultErrorResponse { + /** + * Error model. + */ + @visibility(Lifecycle.Read) + error?: DefaultErrorResponseError; +} + +/** + * Error model. + */ +@error +model DefaultErrorResponseError { + /** + * Standardized string to programmatically identify the error. + */ + @visibility(Lifecycle.Read) + code?: string; + + /** + * Detailed error description and debugging information. + */ + @visibility(Lifecycle.Read) + message?: string; + + /** + * Detailed error description and debugging information. + */ + @visibility(Lifecycle.Read) + target?: string; + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @identifiers(#[]) + details?: DefaultErrorResponseErrorDetailsItem[]; + + /** + * More information to debug error. + */ + @visibility(Lifecycle.Read) + innererror?: string; +} + +/** + * Detailed errors. + */ +model DefaultErrorResponseErrorDetailsItem { + /** + * Standardized string to programmatically identify the error. + */ + @visibility(Lifecycle.Read) + code?: string; + + /** + * Detailed error description and debugging information. + */ + @visibility(Lifecycle.Read) + message?: string; + + /** + * Detailed error description and debugging information. + */ + @visibility(Lifecycle.Read) + target?: string; +} + +/** + * ARM resource for a app service environment. + */ +#suppress "@azure-tools/typespec-azure-resource-manager/patch-envelope" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model AppServiceEnvironmentPatchResource extends ProxyOnlyResource { + /** + * Core resource properties + */ + #suppress "@azure-tools/typespec-azure-core/no-private-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + properties?: AppServiceEnvironment; +} + +/** + * Collection of stamp capacities. + */ +@@Azure.ResourceManager.identifiers(StampCapacityCollection.value, #["name"]); +model StampCapacityCollection is Azure.Core.Page; + +/** + * Stamp capacity information. + */ +model StampCapacity { + /** + * Name of the stamp. + */ + name?: string; + + /** + * Available capacity (# of machines, bytes of storage etc...). + */ + availableCapacity?: int64; + + /** + * Total capacity (# of machines, bytes of storage etc...). + */ + totalCapacity?: int64; + + /** + * Name of the unit. + */ + unit?: string; + + /** + * Shared/dedicated workers. + */ + computeMode?: ComputeModeOptions; + + /** + * Size of the machines. + */ + workerSize?: WorkerSizeOptions; + + /** + * Size ID of machines: + * 0 - Small + * 1 - Medium + * 2 - Large + */ + workerSizeId?: int32; + + /** + * If true, it includes basic apps. + * Basic apps are not used for capacity allocation. + */ + excludeFromCapacityAllocation?: boolean; + + /** + * true if capacity is applicable for all apps; otherwise, false. + */ + isApplicableForAllComputeModes?: boolean; + + /** + * Shared or Dedicated. + */ + siteMode?: string; + + /** + * Is this a linux stamp capacity + */ + isLinux?: boolean; +} + +/** + * AddressResponse resource specific properties + */ +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model AddressResponseProperties { + /** + * Main public virtual IP. + */ + serviceIpAddress?: string; + + /** + * Virtual Network internal IP address of the App Service Environment if it is in internal load-balancing mode. + */ + internalIpAddress?: string; + + /** + * IP addresses appearing on outbound connections. + */ + outboundIpAddresses?: string[]; + + /** + * Additional virtual IPs. + */ + @identifiers(#["virtualIP"]) + vipMappings?: VirtualIPMapping[]; +} + +/** + * Virtual IP mapping. + */ +model VirtualIPMapping { + /** + * Virtual IP address. + */ + #suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + virtualIP?: string; + + /** + * Internal HTTP port. + */ + internalHttpPort?: int32; + + /** + * Internal HTTPS port. + */ + internalHttpsPort?: int32; + + /** + * Is virtual IP mapping in use. + */ + inUse?: boolean; + + /** + * name of the service that virtual IP is assigned to + */ + serviceName?: string; +} + +/** + * Collection of App Service apps. + */ +model WebAppCollection is Azure.Core.Page; + +/** + * Site resource specific properties + */ +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model SiteProperties { + /** + * Current state of the app. + */ + @visibility(Lifecycle.Read) + state?: string; + + /** + * Hostnames associated with the app. + */ + @visibility(Lifecycle.Read) + hostNames?: string[]; + + /** + * Name of the repository site. + */ + @visibility(Lifecycle.Read) + repositorySiteName?: string; + + /** + * State indicating whether the app has exceeded its quota usage. Read-only. + */ + @visibility(Lifecycle.Read) + usageState?: UsageState; + + /** + * true if the app is enabled; otherwise, false. Setting this value to false disables the app (takes the app offline). + */ + enabled?: boolean; + + /** + * Enabled hostnames for the app.Hostnames need to be assigned (see HostNames) AND enabled. Otherwise, + * the app is not served on those hostnames. + */ + @visibility(Lifecycle.Read) + enabledHostNames?: string[]; + + /** + * Management information availability state for the app. + */ + @visibility(Lifecycle.Read) + availabilityState?: SiteAvailabilityState; + + /** + * Hostname SSL states are used to manage the SSL bindings for app's hostnames. + */ + @identifiers(#["name"]) + hostNameSslStates?: HostNameSslState[]; + + /** + * Resource ID of the associated App Service plan, formatted as: "/subscriptions/{subscriptionID}/resourceGroups/{groupName}/providers/Microsoft.Web/serverfarms/{appServicePlanName}". + */ + serverFarmId?: string; + + /** + * true if reserved; otherwise, false. + */ + @visibility(Lifecycle.Read, Lifecycle.Create) + reserved?: boolean = false; + + /** + * Obsolete: Hyper-V sandbox. + */ + @visibility(Lifecycle.Read, Lifecycle.Create) + isXenon?: boolean = false; + + /** + * Hyper-V sandbox. + */ + @visibility(Lifecycle.Read, Lifecycle.Create) + hyperV?: boolean = false; + + /** + * Last time the app was modified, in UTC. Read-only. + */ + @visibility(Lifecycle.Read) + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + lastModifiedTimeUtc?: utcDateTime; + + /** + * Property to configure various DNS related settings for a site. + */ + dnsConfiguration?: SiteDnsConfig; + + /** + * Property to configure various outbound traffic routing options over virtual network for a site + */ + outboundVnetRouting?: OutboundVnetRouting; + + /** + * Configuration of an App Service app. This property is not returned in response to normal create and read requests since it may contain sensitive information. + */ + @visibility(Lifecycle.Create, Lifecycle.Update) + siteConfig?: SiteConfig; + + /** + * Configuration specific of the Azure Function app. + */ + functionAppConfig?: FunctionAppConfig; + + /** + * Dapr configuration of the app. + */ + daprConfig?: DaprConfig; + + /** + * Workload profile name for function app to execute on. + */ + workloadProfileName?: string; + + /** + * Function app resource requirements. + */ + resourceConfig?: ResourceConfig; + + /** + * Azure Traffic Manager hostnames associated with the app. Read-only. + */ + @visibility(Lifecycle.Read) + trafficManagerHostNames?: string[]; + + /** + * true to stop SCM (KUDU) site when the app is stopped; otherwise, false. The default is false. + */ + scmSiteAlsoStopped?: boolean = false; + + /** + * Specifies which deployment slot this app will swap into. Read-only. + */ + @visibility(Lifecycle.Read) + targetSwapSlot?: string; + + /** + * App Service Environment to use for the app. + */ + @visibility(Lifecycle.Read, Lifecycle.Create) + hostingEnvironmentProfile?: HostingEnvironmentProfile; + + /** + * 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. + */ + clientAffinityEnabled?: boolean = false; + + /** + * true to enable client affinity partitioning using CHIPS cookies, this will add the partitioned property to the affinity cookies; false to stop sending partitioned affinity cookies. Default is false. + */ + clientAffinityPartitioningEnabled?: boolean; + + /** + * true to override client affinity cookie domain with X-Forwarded-Host request header. false to use default domain. Default is false. + */ + clientAffinityProxyEnabled?: boolean; + + /** + * true to enable client certificate authentication (TLS mutual authentication); otherwise, false. Default is false. + */ + clientCertEnabled?: boolean; + + /** + * This composes with ClientCertEnabled setting. + * - ClientCertEnabled: false means ClientCert is ignored. + * - ClientCertEnabled: true and ClientCertMode: Required means ClientCert is required. + * - ClientCertEnabled: true and ClientCertMode: Optional means ClientCert is optional or accepted. + */ + clientCertMode?: ClientCertMode; + + /** + * client certificate authentication comma-separated exclusion paths + */ + clientCertExclusionPaths?: string; + + /** + * Specifies the IP mode of the app. + */ + ipMode?: IPMode; + + /** + * Whether to use end to end encryption between the FrontEnd and the Worker + */ + endToEndEncryptionEnabled?: boolean; + + /** + * Whether to enable ssh access. + */ + sshEnabled?: boolean; + + /** + * true to disable the public hostnames of the app; otherwise, false. + * If true, the app is only accessible via API management process. + */ + hostNamesDisabled?: boolean; + + /** + * Unique identifier that verifies the custom domains assigned to the app. Customer will add this id to a txt record for verification. + */ + customDomainVerificationId?: string; + + /** + * List of IP addresses that the app uses for outbound connections (e.g. database access). Includes VIPs from tenants that site can be hosted with current settings. Read-only. + */ + @visibility(Lifecycle.Read) + outboundIpAddresses?: 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. + */ + @visibility(Lifecycle.Read) + possibleOutboundIpAddresses?: string; + + /** + * Size of the function container. + */ + containerSize?: int32; + + /** + * Maximum allowed daily memory-time quota (applicable on dynamic apps only). + */ + dailyMemoryTimeQuota?: int32; + + /** + * App suspended till in case memory-time quota is exceeded. + */ + @visibility(Lifecycle.Read) + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + suspendedTill?: utcDateTime; + + /** + * Maximum number of workers. + * This only applies to Functions container. + */ + @visibility(Lifecycle.Read) + maxNumberOfWorkers?: int32; + + /** + * If specified during app creation, the app is cloned from a source app. + */ + @visibility(Lifecycle.Create) + cloningInfo?: CloningInfo; + + /** + * Name of the resource group the app belongs to. Read-only. + */ + @visibility(Lifecycle.Read) + resourceGroup?: string; + + /** + * true if the app is a default container; otherwise, false. + */ + @visibility(Lifecycle.Read) + isDefaultContainer?: boolean; + + /** + * Default hostname of the app. Read-only. + */ + @visibility(Lifecycle.Read) + defaultHostName?: string; + + /** + * Status of the last deployment slot swap operation. + */ + @visibility(Lifecycle.Read) + slotSwapStatus?: SlotSwapStatus; + + /** + * HttpsOnly: configures a web site to accept only https requests. Issues redirect for + * http requests + */ + httpsOnly?: boolean; + + /** + * Site redundancy mode + */ + redundancyMode?: RedundancyMode; + + /** + * Specifies an operation id if this site has a pending operation. + */ + #suppress "@azure-tools/typespec-azure-core/no-format" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @visibility(Lifecycle.Read) + @format("uuid") + inProgressOperationId?: string; + + /** + * Property to allow or block all public traffic. Allowed Values: 'Enabled', 'Disabled' or an empty string. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/secret-prop" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + publicNetworkAccess?: string; + + /** + * Checks if Customer provided storage account is required + */ + storageAccountRequired?: boolean; + + /** + * Identity to use for Key Vault Reference authentication. + */ + keyVaultReferenceIdentity?: string; + + /** + * Specifies the scope of uniqueness for the default hostname during resource creation + */ + autoGeneratedDomainNameLabelScope?: AutoGeneratedDomainNameLabelScope; + + /** + * 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} + */ + virtualNetworkSubnetId?: string; + + /** + * Azure Resource Manager ID of the customer's selected Managed Environment on which to host this app. This must be of the form /subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.App/managedEnvironments/{managedEnvironmentName} + */ + managedEnvironmentId?: string; + + /** + * Current SKU of application based on associated App Service Plan. Some valid SKU values are Free, Shared, Basic, Dynamic, FlexConsumption, Standard, Premium, PremiumV2, PremiumV3, Isolated, IsolatedV2 + */ + @visibility(Lifecycle.Read) + sku?: string; +} + +/** + * SSL-enabled hostname. + */ +model HostNameSslState { + /** + * Hostname. + */ + name?: string; + + /** + * SSL type. + */ + sslState?: SslState; + + /** + * Virtual IP address assigned to the hostname if IP based SSL is enabled. + */ + #suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + virtualIP?: string; + + /** + * SSL certificate thumbprint. + */ + thumbprint?: string; + + /** + * Set to true to update existing hostname. + */ + toUpdate?: boolean; + + /** + * Indicates whether the hostname is a standard or repository hostname. + */ + hostType?: HostType; +} + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model SiteDnsConfig { + /** + * List of custom DNS servers to be used by an app for lookups. Maximum 5 dns servers can be set. + */ + dnsServers?: string[]; + + /** + * Alternate DNS server to be used by apps. This property replicates the WEBSITE_DNS_ALT_SERVER app setting. + */ + dnsAltServer?: string; + + /** + * Timeout for a single dns lookup in seconds. Allowed range: 1-30. Default is 3. + */ + dnsRetryAttemptTimeout?: int32; + + /** + * Total number of retries for dns lookup. Allowed range: 1-5. Default is 3. + */ + dnsRetryAttemptCount?: int32; + + /** + * Custom time for DNS to be cached in seconds. Allowed range: 0-60. Default is 30 seconds. 0 means caching disabled. + */ + dnsMaxCacheTimeout?: int32; + + /** + * Indicates that sites using Virtual network custom DNS servers are still sorting the list of DNS servers. Read-Only. + */ + @visibility(Lifecycle.Read) + dnsLegacySortOrder?: boolean; +} + +/** + * Outbound traffic options over virtual network. + */ +model OutboundVnetRouting { + /** + * Enables all other routing options defined in OutboundVnetRouting if this setting is set to true. + */ + allTraffic?: boolean; + + /** + * This causes all outbound traffic to have Virtual Network Security Groups and User Defined Routes applied. Previously called VnetRouteAllEnabled. + */ + applicationTraffic?: boolean; + + /** + * Enables accessing content over virtual network. Previously called VnetContentShareEnabled + */ + contentShareTraffic?: boolean; + + /** + * Enables pulling image over Virtual Network. Previously called VnetImagePullEnabled. + */ + imagePullTraffic?: boolean; + + /** + * Enables Backup and Restore operations over virtual network. Previously called VnetBackupRestoreEnabled + */ + backupRestoreTraffic?: boolean; +} + +/** + * Configuration of an App Service app. + */ +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model SiteConfig { + /** + * Number of workers. + */ + numberOfWorkers?: int32; + + /** + * Default documents. + */ + defaultDocuments?: string[]; + + /** + * .NET Framework version. + */ + netFrameworkVersion?: string = "v4.6"; + + /** + * Version of PHP. + */ + phpVersion?: string; + + /** + * Version of Python. + */ + pythonVersion?: string; + + /** + * Version of Node.js. + */ + nodeVersion?: string; + + /** + * Version of PowerShell. + */ + powerShellVersion?: string; + + /** + * Linux App Framework and version + */ + linuxFxVersion?: string; + + /** + * Xenon App Framework and version + */ + windowsFxVersion?: string; + + /** + * true if request tracing is enabled; otherwise, false. + */ + requestTracingEnabled?: boolean; + + /** + * Request tracing expiration time. + */ + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + requestTracingExpirationTime?: utcDateTime; + + /** + * true if remote debugging is enabled; otherwise, false. + */ + remoteDebuggingEnabled?: boolean; + + /** + * Remote debugging version. + */ + remoteDebuggingVersion?: string; + + /** + * true if HTTP logging is enabled; otherwise, false. + */ + httpLoggingEnabled?: boolean; + + /** + * Flag to use Managed Identity Creds for ACR pull + */ + acrUseManagedIdentityCreds?: boolean; + + /** + * If using user managed identity, the user managed identity ClientId + */ + #suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + acrUserManagedIdentityID?: string; + + /** + * HTTP logs directory size limit. + */ + logsDirectorySizeLimit?: int32; + + /** + * true if detailed error logging is enabled; otherwise, false. + */ + detailedErrorLoggingEnabled?: boolean; + + /** + * Publishing user name. + */ + publishingUsername?: string; + + /** + * Application settings. This property is not returned in response to normal create and read requests since it may contain sensitive information. + */ + @visibility(Lifecycle.Create, Lifecycle.Update) + @identifiers(#["name"]) + appSettings?: NameValuePair[]; + + /** + * Application metadata. This property cannot be retrieved, since it may contain secrets. + */ + @visibility(Lifecycle.Create, Lifecycle.Update) + @identifiers(#["name"]) + metadata?: NameValuePair[]; + + /** + * Connection strings. This property is not returned in response to normal create and read requests since it may contain sensitive information. + */ + @visibility(Lifecycle.Create, Lifecycle.Update) + @identifiers(#["name"]) + connectionStrings?: ConnStringInfo[]; + + /** + * Site MachineKey. + */ + @visibility(Lifecycle.Read) + machineKey?: SiteMachineKey; + + /** + * Handler mappings. + */ + @identifiers(#["extension"]) + handlerMappings?: HandlerMapping[]; + + /** + * Document root. + */ + documentRoot?: string; + + /** + * SCM type. + */ + scmType?: ScmType; + + /** + * true to use 32-bit worker process; otherwise, false. + */ + use32BitWorkerProcess?: boolean; + + /** + * true if WebSocket is enabled; otherwise, false. + */ + webSocketsEnabled?: boolean; + + /** + * true if Always On is enabled; otherwise, false. + */ + alwaysOn?: boolean; + + /** + * Java version. + */ + javaVersion?: string; + + /** + * Java container. + */ + javaContainer?: string; + + /** + * Java container version. + */ + javaContainerVersion?: string; + + /** + * App command line to launch. + */ + appCommandLine?: string; + + /** + * Managed pipeline mode. + */ + managedPipelineMode?: ManagedPipelineMode; + + /** + * Virtual applications. + */ + @identifiers(#["virtualPath"]) + virtualApplications?: VirtualApplication[]; + + /** + * Site load balancing. + */ + loadBalancing?: SiteLoadBalancing; + + /** + * This is work around for polymorphic types. + */ + experiments?: Experiments; + + /** + * Site limits. + */ + limits?: SiteLimits; + + /** + * true if Auto Heal is enabled; otherwise, false. + */ + autoHealEnabled?: boolean; + + /** + * Auto Heal rules. + */ + autoHealRules?: AutoHealRules; + + /** + * Tracing options. + */ + tracingOptions?: string; + + /** + * Virtual Network name. + */ + @visibility(Lifecycle.Read, Lifecycle.Create) + vnetName?: string; + + /** + * Virtual Network Route All enabled. This causes all outbound traffic to have Virtual Network Security Groups and User Defined Routes applied. + */ + vnetRouteAllEnabled?: boolean; + + /** + * The number of private ports assigned to this app. These will be assigned dynamically on runtime. + */ + vnetPrivatePortsCount?: int32; + + /** + * Cross-Origin Resource Sharing (CORS) settings. + */ + cors?: CorsSettings; + + /** + * Push endpoint settings. + */ + push?: PushSettings; + + /** + * Information about the formal API definition for the app. + */ + apiDefinition?: ApiDefinitionInfo; + + /** + * Azure API management settings linked to the app. + */ + apiManagementConfig?: ApiManagementConfig; + + /** + * Auto-swap slot name. + */ + autoSwapSlotName?: string; + + /** + * true to enable local MySQL; otherwise, false. + */ + localMySqlEnabled?: boolean = false; + + /** + * Managed Service Identity Id + */ + managedServiceIdentityId?: int32; + + /** + * Explicit Managed Service Identity Id + */ + xManagedServiceIdentityId?: int32; + + /** + * Identity to use for Key Vault Reference authentication. + */ + keyVaultReferenceIdentity?: string; + + /** + * IP security restrictions for main. + */ + @identifiers(#["name"]) + ipSecurityRestrictions?: IpSecurityRestriction[]; + + /** + * Default action for main access restriction if no rules are matched. + */ + ipSecurityRestrictionsDefaultAction?: DefaultAction; + + /** + * IP security restrictions for scm. + */ + @identifiers(#["name"]) + scmIpSecurityRestrictions?: IpSecurityRestriction[]; + + /** + * Default action for scm access restriction if no rules are matched. + */ + scmIpSecurityRestrictionsDefaultAction?: DefaultAction; + + /** + * IP security restrictions for scm to use main. + */ + scmIpSecurityRestrictionsUseMain?: boolean; + + /** + * Http20Enabled: configures a web site to allow clients to connect over http2.0 + */ + http20Enabled?: boolean = true; + + /** + * Http20ProxyFlag: Configures a website to allow http2.0 to pass be proxied all the way to the app. 0 = disabled, 1 = pass through all http2 traffic, 2 = pass through gRPC only. + */ + http20ProxyFlag?: int32 = 0; + + /** + * MinTlsVersion: configures the minimum version of TLS required for SSL requests + */ + minTlsVersion?: SupportedTlsVersions; + + /** + * The minimum strength TLS cipher suite allowed for an application + */ + minTlsCipherSuite?: TlsCipherSuites; + + /** + * ScmMinTlsVersion: configures the minimum version of TLS required for SSL requests for SCM site + */ + scmMinTlsVersion?: SupportedTlsVersions; + + /** + * State of FTP / FTPS service + */ + ftpsState?: FtpsState; + + /** + * Number of preWarmed instances. + * This setting only applies to the Consumption and Elastic Plans + */ + @maxValue(10) + @minValue(0) + preWarmedInstanceCount?: int32; + + /** + * Maximum number of workers that a site can scale out to. + * This setting only applies to the Consumption and Elastic Premium Plans + */ + @minValue(0) + functionAppScaleLimit?: int32; + + /** + * Maximum number of workers that a site can scale out to. + * This setting only applies to apps in plans where ElasticScaleEnabled is true + */ + @minValue(0) + elasticWebAppScaleLimit?: int32; + + /** + * Health check path + */ + healthCheckPath?: string; + + /** + * 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. + */ + functionsRuntimeScaleMonitoringEnabled?: boolean; + + /** + * 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 + */ + websiteTimeZone?: string; + + /** + * Number of minimum instance count for a site + * This setting only applies to the Elastic Plans + */ + @maxValue(20) + @minValue(0) + minimumElasticInstanceCount?: int32; + + /** + * List of Azure Storage Accounts. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-no-record" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + azureStorageAccounts?: Record; + + /** + * Property to allow or block all public traffic. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/secret-prop" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + publicNetworkAccess?: string; +} + +/** + * Database connection string information. + */ +model ConnStringInfo { + /** + * Name of connection string. + */ + name?: string; + + /** + * Connection string value. + */ + connectionString?: string; + + /** + * Type of database. + */ + type?: ConnectionStringType; +} + +/** + * MachineKey of an app. + */ +model SiteMachineKey { + /** + * MachineKey validation. + */ + validation?: string; + + /** + * Validation key. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/secret-prop" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + validationKey?: string; + + /** + * Algorithm used for decryption. + */ + decryption?: string; + + /** + * Decryption key. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/secret-prop" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + decryptionKey?: string; +} + +/** + * The IIS handler mappings used to define which handler processes HTTP requests with certain extension. + * For example, it is used to configure php-cgi.exe process to handle all HTTP requests with *.php extension. + */ +model HandlerMapping { + /** + * Requests with this extension will be handled using the specified FastCGI application. + */ + extension?: string; + + /** + * The absolute path to the FastCGI application. + */ + scriptProcessor?: string; + + /** + * Command-line arguments to be passed to the script processor. + */ + arguments?: string; +} + +/** + * Virtual application in an app. + */ +model VirtualApplication { + /** + * Virtual path. + */ + virtualPath?: string; + + /** + * Physical path. + */ + physicalPath?: string; + + /** + * true if preloading is enabled; otherwise, false. + */ + preloadEnabled?: boolean; + + /** + * Virtual directories for virtual application. + */ + @identifiers(#["virtualPath"]) + virtualDirectories?: VirtualDirectory[]; +} + +/** + * Directory for virtual application. + */ +model VirtualDirectory { + /** + * Path to virtual application. + */ + virtualPath?: string; + + /** + * Physical path. + */ + physicalPath?: string; +} + +/** + * Routing rules in production experiments. + */ +model Experiments { + /** + * List of ramp-up rules. + */ + @identifiers(#["name"]) + rampUpRules?: RampUpRule[]; +} + +/** + * Routing rules for ramp up testing. This rule allows to redirect static traffic % to a slot or to gradually change routing % based on performance. + */ +model RampUpRule { + /** + * Hostname of a slot to which the traffic will be redirected if decided to. E.g. myapp-stage.azurewebsites.net. + */ + actionHostName?: string; + + /** + * Percentage of the traffic which will be redirected to ActionHostName. + */ + reroutePercentage?: float64; + + /** + * In auto ramp up scenario this is the step to add/remove from ReroutePercentage until it reaches \nMinReroutePercentage or + * MaxReroutePercentage. Site metrics are checked every N minutes specified in ChangeIntervalInMinutes.\nCustom decision algorithm + * can be provided in TiPCallback site extension which URL can be specified in ChangeDecisionCallbackUrl. + */ + changeStep?: float64; + + /** + * Specifies interval in minutes to reevaluate ReroutePercentage. + */ + changeIntervalInMinutes?: int32; + + /** + * Specifies lower boundary above which ReroutePercentage will stay. + */ + minReroutePercentage?: float64; + + /** + * Specifies upper boundary below which ReroutePercentage will stay. + */ + maxReroutePercentage?: float64; + + /** + * Custom decision algorithm can be provided in TiPCallback site extension which URL can be specified. + */ + changeDecisionCallbackUrl?: string; + + /** + * Name of the routing rule. The recommended name would be to point to the slot which will receive the traffic in the experiment. + */ + name?: string; +} + +/** + * Metric limits set on an app. + */ +model SiteLimits { + /** + * Maximum allowed CPU usage percentage. + */ + maxPercentageCpu?: float64; + + /** + * Maximum allowed memory usage in MB. + */ + maxMemoryInMb?: int64; + + /** + * Maximum allowed disk size usage in MB. + */ + maxDiskSizeInMb?: int64; +} + +/** + * Rules that can be defined for auto-heal. + */ +model AutoHealRules { + /** + * Conditions that describe when to execute the auto-heal actions. + */ + triggers?: AutoHealTriggers; + + /** + * Actions to be executed when a rule is triggered. + */ + actions?: AutoHealActions; +} + +/** + * Triggers for auto-heal. + */ +model AutoHealTriggers { + /** + * A rule based on total requests. + */ + requests?: RequestsBasedTrigger; + + /** + * A rule based on private bytes. + */ + #suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + privateBytesInKB?: int32; + + /** + * A rule based on status codes. + */ + @identifiers(#["path"]) + statusCodes?: StatusCodesBasedTrigger[]; + + /** + * A rule based on request execution time. + */ + slowRequests?: SlowRequestsBasedTrigger; + + /** + * A rule based on multiple Slow Requests Rule with path + */ + @identifiers(#["path"]) + slowRequestsWithPath?: SlowRequestsBasedTrigger[]; + + /** + * A rule based on status codes ranges. + */ + @identifiers(#["path"]) + statusCodesRange?: StatusCodesRangeBasedTrigger[]; +} + +/** + * Trigger based on total requests. + */ +model RequestsBasedTrigger { + /** + * Request Count. + */ + count?: int32; + + /** + * Time interval. + */ + timeInterval?: string; +} + +/** + * Trigger based on status code. + */ +model StatusCodesBasedTrigger { + /** + * HTTP status code. + */ + status?: int32; + + /** + * Request Sub Status. + */ + subStatus?: int32; + + /** + * Win32 error code. + */ + win32Status?: int32; + + /** + * Request Count. + */ + count?: int32; + + /** + * Time interval. + */ + timeInterval?: string; + + /** + * Request Path + */ + path?: string; +} + +/** + * Trigger based on request execution time. + */ +model SlowRequestsBasedTrigger { + /** + * Time taken. + */ + timeTaken?: string; + + /** + * Request Path. + */ + path?: string; + + /** + * Request Count. + */ + count?: int32; + + /** + * Time interval. + */ + timeInterval?: string; +} + +/** + * Trigger based on range of status codes. + */ +model StatusCodesRangeBasedTrigger { + /** + * HTTP status code. + */ + statusCodes?: string; + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + path?: string; + + /** + * Request Count. + */ + count?: int32; + + /** + * Time interval. + */ + timeInterval?: string; +} + +/** + * Actions which to take by the auto-heal module when a rule is triggered. + */ +model AutoHealActions { + /** + * Predefined action to be taken. + */ + actionType?: AutoHealActionType; + + /** + * Custom action to be taken. + */ + customAction?: AutoHealCustomAction; + + /** + * Minimum time the process must execute + * before taking the action + */ + minProcessExecutionTime?: string; +} + +/** + * Custom action to be executed + * when an auto heal rule is triggered. + */ +model AutoHealCustomAction { + /** + * Executable to be run. + */ + exe?: string; + + /** + * Parameters for the executable. + */ + parameters?: string; +} + +/** + * Cross-Origin Resource Sharing (CORS) settings for the app. + */ +model CorsSettings { + /** + * Gets or sets the list of origins that should be allowed to make cross-origin + * calls (for example: http://example.com:12345). Use "*" to allow all. + */ + allowedOrigins?: string[]; + + /** + * Gets or sets whether CORS requests with credentials are allowed. See + * https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS#Requests_with_credentials + * for more details. + */ + supportCredentials?: boolean; +} + +/** + * Push settings for the App. + */ +#suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model PushSettings extends ProxyOnlyResource { + /** + * PushSettings resource specific properties + */ + #suppress "@azure-tools/typespec-azure-core/no-private-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + properties?: PushSettingsProperties; +} + +/** + * PushSettings resource specific properties + */ +model PushSettingsProperties { + /** + * Gets or sets a flag indicating whether the Push endpoint is enabled. + */ + isPushEnabled: boolean; + + /** + * Gets or sets a JSON string containing a list of tags that are whitelisted for use by the push registration endpoint. + */ + tagWhitelistJson?: string; + + #suppress "@azure-tools/typespec-azure-resource-manager/secret-prop" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @doc(""" + Gets or sets a JSON string containing a list of tags that require user authentication to be used in the push registration endpoint. + Tags can consist of alphanumeric characters and the following: + '_', '@', '#', '.', ':', '-'. + Validation should be performed at the PushRequestHandler. + """) + tagsRequiringAuth?: string; + + /** + * Gets or sets a JSON string containing a list of dynamic tags that will be evaluated from user claims in the push registration endpoint. + */ + dynamicTagsJson?: string; +} + +/** + * Information about the formal API definition for the app. + */ +model ApiDefinitionInfo { + /** + * The URL of the API definition. + */ + url?: string; +} + +/** + * Azure API management (APIM) configuration linked to the app. + */ +model ApiManagementConfig { + /** + * APIM-Api Identifier. + */ + id?: string; +} + +/** + * IP security restriction on an app. + */ +model IpSecurityRestriction { + /** + * IP address the security restriction is valid for. + * It can be in form of pure ipv4 address (required SubnetMask property) or + * CIDR notation such as ipv4/mask (leading bit match). For CIDR, + * SubnetMask property must not be specified. + */ + ipAddress?: string; + + /** + * Subnet mask for the range of IP addresses the restriction is valid for. + */ + subnetMask?: string; + + /** + * Virtual network resource id + */ + vnetSubnetResourceId?: string; + + /** + * (internal) Vnet traffic tag + */ + vnetTrafficTag?: int32; + + /** + * (internal) Subnet traffic tag + */ + subnetTrafficTag?: int32; + + /** + * Allow or Deny access for this IP range. + */ + action?: string; + + /** + * Defines what this IP filter will be used for. This is to support IP filtering on proxies. + */ + tag?: IpFilterTag; + + /** + * Priority of IP restriction rule. + */ + priority?: int32; + + /** + * IP restriction rule name. + */ + name?: string; + + /** + * IP restriction rule description. + */ + description?: string; + + /** + * IP restriction rule headers. + * X-Forwarded-Host (https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Forwarded-Host#Examples). + * The matching logic is .. + * - If the property is null or empty (default), all hosts(or lack of) are allowed. + * - A value is compared using ordinal-ignore-case (excluding port number). + * - Subdomain wildcards are permitted but don't match the root domain. For example, *.contoso.com matches the subdomain foo.contoso.com + * but not the root domain contoso.com or multi-level foo.bar.contoso.com + * - Unicode host names are allowed but are converted to Punycode for matching. + * + * X-Forwarded-For (https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Forwarded-For#Examples). + * The matching logic is .. + * - If the property is null or empty (default), any forwarded-for chains (or lack of) are allowed. + * - If any address (excluding port number) in the chain (comma separated) matches the CIDR defined by the property. + * + * X-Azure-FDID and X-FD-HealthProbe. + * The matching logic is exact match. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-no-record" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + headers?: Record; +} + +/** + * Azure Files or Blob Storage access information value for dictionary storage. + */ +model AzureStorageInfoValue { + /** + * Type of storage. + */ + type?: AzureStorageType; + + /** + * Name of the storage account. + */ + accountName?: string; + + /** + * Name of the file share (container name, for Blob storage). + */ + shareName?: string; + + /** + * Access key for the storage account. + */ + @secret + accessKey?: string; + + /** + * Path to mount the storage within the site's runtime environment. + */ + mountPath?: string; + + /** + * State of the storage account. + */ + @visibility(Lifecycle.Read) + state?: AzureStorageState; + + /** + * Mounting protocol to use for the storage account. + */ + protocol?: AzureStorageProtocol; +} + +/** + * Function app configuration. + */ +model FunctionAppConfig { + /** + * Function app deployment configuration. + */ + deployment?: FunctionsDeployment; + + /** + * Function app runtime settings. + */ + runtime?: FunctionsRuntime; + + /** + * Function app scale and concurrency settings. + */ + scaleAndConcurrency?: FunctionsScaleAndConcurrency; +} + +/** + * Configuration section for the function app deployment. + */ +model FunctionsDeployment { + /** + * Storage for deployed package used by the function app. + */ + storage?: FunctionsDeploymentStorage; +} + +/** + * Storage for deployed package used by the function app. + */ +model FunctionsDeploymentStorage { + /** + * Property to select Azure Storage type. Available options: blobContainer. + */ + type?: FunctionsDeploymentStorageType; + + /** + * Property to set the URL for the selected Azure Storage type. Example: For blobContainer, the value could be https://.blob.core.windows.net/. + */ + value?: url; + + /** + * Authentication method to access the storage account for deployment. + */ + authentication?: FunctionsDeploymentStorageAuthentication; +} + +/** + * Authentication method to access the storage account for deployment. + */ +model FunctionsDeploymentStorageAuthentication { + /** + * Property to select authentication type to access the selected storage account. Available options: SystemAssignedIdentity, UserAssignedIdentity, StorageAccountConnectionString. + */ + type?: AuthenticationType; + + /** + * Use this property for UserAssignedIdentity. Set the resource ID of the identity. Do not set a value for this property when using other authentication type. + */ + userAssignedIdentityResourceId?: string; + + /** + * Use this property for StorageAccountConnectionString. Set the name of the app setting that has the storage account connection string. Do not set a value for this property when using other authentication type. + */ + storageAccountConnectionStringName?: string; +} + +/** + * Function app runtime name and version. + */ +model FunctionsRuntime { + /** + * Function app runtime name. Available options: dotnet-isolated, node, java, powershell, python, custom + */ + name?: RuntimeName; + + /** + * Function app runtime version. Example: 8 (for dotnet-isolated) + */ + #suppress "@azure-tools/typespec-azure-core/no-nullable" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + version?: string | null; +} + +/** + * Scale and concurrency settings for the function app. + */ +model FunctionsScaleAndConcurrency { + /** + * 'Always Ready' configuration for the function app. + */ + alwaysReady?: FunctionsAlwaysReadyConfig[]; + + /** + * The maximum number of instances for the function app. + */ + maximumInstanceCount?: int32; + + /** + * Set the amount of memory allocated to each instance of the function app in MB. CPU and network bandwidth are allocated proportionally. + */ + #suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + instanceMemoryMB?: int32; + + /** + * Scale and concurrency settings for the function app triggers. + */ + triggers?: FunctionsScaleAndConcurrencyTriggers; +} + +/** + * Sets the number of 'Always Ready' instances for a function group or a specific function. + */ +model FunctionsAlwaysReadyConfig { + /** + * Either a function group or a function name is required. For additional information see https://aka.ms/flexconsumption/alwaysready. + */ + name?: string; + + /** + * Sets the number of 'Always Ready' instances for a given function group or a specific function. For additional information see https://aka.ms/flexconsumption/alwaysready. + */ + instanceCount?: int32; +} + +/** + * Scale and concurrency settings for the function app triggers. + */ +model FunctionsScaleAndConcurrencyTriggers { + /** + * Scale and concurrency settings for the HTTP trigger. + */ + http?: FunctionsScaleAndConcurrencyTriggersHttp; +} + +/** + * Scale and concurrency settings for the HTTP trigger. + */ +model FunctionsScaleAndConcurrencyTriggersHttp { + /** + * The maximum number of concurrent HTTP trigger invocations per instance. + */ + perInstanceConcurrency?: int32; +} + +/** + * App Dapr configuration. + */ +model DaprConfig { + /** + * Boolean indicating if the Dapr side car is enabled + */ + enabled?: boolean = false; + + /** + * Dapr application identifier + */ + appId?: string; + + /** + * Tells Dapr which port your application is listening on + */ + appPort?: int32; + + /** + * Dapr max size of http header read buffer in KB to handle when sending multi-KB headers. Default is 65KB. + */ + httpReadBufferSize?: int32; + + /** + * Increasing max size of request body http servers parameter in MB to handle uploading of big files. Default is 4 MB. + */ + httpMaxRequestSize?: int32; + + /** + * Sets the log level for the Dapr sidecar. Allowed values are debug, info, warn, error. Default is info. + */ + logLevel?: DaprLogLevel; + + /** + * Enables API logging for the Dapr sidecar + */ + enableApiLogging?: boolean; +} + +/** + * Function app resource requirements. + */ +model ResourceConfig { + /** + * Required CPU in cores, e.g. 0.5 + */ + cpu?: float64; + + /** + * Required memory, e.g. "1Gi" + */ + memory?: string; +} + +/** + * Specification for an App Service Environment to use for this resource. + */ +model HostingEnvironmentProfile { + /** + * Resource ID of the App Service Environment. + */ + id?: string; + + /** + * Name of the App Service Environment. + */ + @visibility(Lifecycle.Read) + name?: string; + + /** + * Resource type of the App Service Environment. + */ + @visibility(Lifecycle.Read) + type?: string; +} + +/** + * Information needed for cloning operation. + */ +model CloningInfo { + /** + * Correlation ID of cloning operation. This ID ties multiple cloning operations + * together to use the same snapshot. + */ + #suppress "@azure-tools/typespec-azure-core/no-format" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @format("uuid") + correlationId?: string; + + /** + * true to overwrite destination app; otherwise, false. + */ + overwrite?: boolean; + + /** + * true to clone custom hostnames from source app; otherwise, false. + */ + cloneCustomHostNames?: boolean; + + /** + * true to clone source control from source app; otherwise, false. + */ + cloneSourceControl?: boolean; + + /** + * ARM resource ID of the source app. App resource ID is of the form + * /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. + */ + sourceWebAppId: string; + + /** + * Location of source app ex: West US or North Europe + */ + sourceWebAppLocation?: string; + + /** + * App Service Environment. + */ + hostingEnvironment?: string; + + /** + * Application setting overrides for cloned app. If specified, these settings override the settings cloned + * from source app. Otherwise, application settings from source app are retained. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-no-record" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + appSettingsOverrides?: Record; + + /** + * true to configure load balancing for source and destination app. + */ + configureLoadBalancing?: boolean; + + /** + * ARM resource ID of the Traffic Manager profile to use, if it exists. Traffic Manager resource ID is of the form + * /subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficManagerProfiles/{profileName}. + */ + trafficManagerProfileId?: string; + + /** + * Name of Traffic Manager profile to create. This is only needed if Traffic Manager profile does not already exist. + */ + trafficManagerProfileName?: string; +} + +/** + * The status of the last successful slot swap operation. + */ +model SlotSwapStatus { + /** + * The time the last successful slot swap completed. + */ + @visibility(Lifecycle.Read) + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + timestampUtc?: utcDateTime; + + /** + * The source slot of the last swap operation. + */ + @visibility(Lifecycle.Read) + sourceSlotName?: string; + + /** + * The destination slot of the last swap operation. + */ + @visibility(Lifecycle.Read) + destinationSlotName?: string; +} + +/** + * Managed service identity. + */ +model ManagedServiceIdentity { + /** + * Type of managed service identity. + */ + type?: ManagedServiceIdentityType; + + /** + * Tenant of managed service identity. + */ + @visibility(Lifecycle.Read) + tenantId?: string; + + /** + * Principal Id of managed service identity. + */ + @visibility(Lifecycle.Read) + principalId?: string; + + /** + * The list of user assigned identities associated with the resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName} + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-no-record" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + userAssignedIdentities?: Record; +} + +/** + * User Assigned identity. + */ +model UserAssignedIdentity { + /** + * Principal Id of user assigned identity + */ + @visibility(Lifecycle.Read) + principalId?: string; + + /** + * Client Id of user assigned identity + */ + @visibility(Lifecycle.Read) + clientId?: string; +} + +/** + * Extended Location. + */ +model ExtendedLocation { + /** + * Name of extended location. + */ + name?: string; + + /** + * Type of extended location. + */ + @visibility(Lifecycle.Read) + type?: string; +} + +/** + * Diagnostics for an App Service Environment. + */ +model HostingEnvironmentDiagnostics { + /** + * Name/identifier of the diagnostics. + */ + name?: string; + + /** + * Diagnostics output. + */ + diagnosticsOutput?: string; +} + +/** + * Collection of Inbound Environment Endpoints + */ +model InboundEnvironmentEndpointCollection + is Azure.Core.Page; + +/** + * The IP Addresses and Ports that require inbound network access to and within the subnet of the App Service Environment. + */ +model InboundEnvironmentEndpoint { + /** + * Short text describing the purpose of the network traffic. + */ + description?: string; + + /** + * The IP addresses that network traffic will originate from in cidr notation. + */ + endpoints?: string[]; + + /** + * The ports that network traffic will arrive to the App Service Environment at. + */ + ports?: string[]; +} + +/** + * Collection of worker pools. + */ +model WorkerPoolCollection is Azure.Core.Page; + +/** + * Worker pool of an App Service Environment. + */ +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model WorkerPool { + /** + * Worker size ID for referencing this worker pool. + */ + workerSizeId?: int32; + + /** + * Shared or dedicated app hosting. + */ + computeMode?: ComputeModeOptions; + + /** + * VM size of the worker pool instances. + */ + workerSize?: string; + + /** + * Number of instances in the worker pool. + */ + workerCount?: int32; + + /** + * Names of all instances in the worker pool (read only). + */ + @visibility(Lifecycle.Read) + instanceNames?: string[]; +} + +/** + * Description of a SKU for a scalable resource. + */ +model SkuDescription { + /** + * Name of the resource SKU. + */ + name?: string; + + /** + * Service tier of the resource SKU. + */ + tier?: string; + + /** + * Size specifier of the resource SKU. + */ + size?: string; + + /** + * Family code of the resource SKU. + */ + family?: string; + + /** + * Current number of instances assigned to the resource. + */ + capacity?: int32; + + /** + * Min, max, and default scale values of the SKU. + */ + skuCapacity?: SkuCapacity; + + /** + * Locations of the SKU. + */ + locations?: string[]; + + /** + * Capabilities of the SKU, e.g., is traffic manager enabled? + */ + @identifiers(#["name"]) + capabilities?: Capability[]; +} + +/** + * Description of the App Service plan scale options. + */ +model SkuCapacity { + /** + * Minimum number of workers for this App Service plan SKU. + */ + minimum?: int32; + + /** + * Maximum number of workers for this App Service plan SKU. + */ + maximum?: int32; + + /** + * Maximum number of Elastic workers for this App Service plan SKU. + */ + elasticMaximum?: int32; + + /** + * Default number of workers for this App Service plan SKU. + */ + default?: int32; + + /** + * Available scale configurations for an App Service plan. + */ + scaleType?: string; +} + +/** + * Describes the capabilities/features allowed for a specific SKU. + */ +model Capability { + /** + * Name of the SKU capability. + */ + name?: string; + + /** + * Value of the SKU capability. + */ + value?: string; + + /** + * Reason of the SKU capability. + */ + reason?: string; +} + +/** + * Collection of metric definitions. + */ +model ResourceMetricDefinitionCollection + is Azure.Core.Page; + +/** + * Metadata for the metrics. + */ +#suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model ResourceMetricDefinition extends ProxyOnlyResource { + /** + * ResourceMetricDefinition resource specific properties + */ + #suppress "@azure-tools/typespec-azure-core/no-private-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + properties?: ResourceMetricDefinitionProperties; +} + +/** + * ResourceMetricDefinition resource specific properties + */ +model ResourceMetricDefinitionProperties { + /** + * Unit of the metric. + */ + @visibility(Lifecycle.Read) + unit?: string; + + /** + * Primary aggregation type. + */ + @visibility(Lifecycle.Read) + primaryAggregationType?: string; + + /** + * List of time grains supported for the metric together with retention period. + */ + @visibility(Lifecycle.Read) + @identifiers(#[]) + metricAvailabilities?: ResourceMetricAvailability[]; + + /** + * Resource URI. + */ + @visibility(Lifecycle.Read) + resourceUri?: string; + + /** + * Resource metric definition properties. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-no-record" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @visibility(Lifecycle.Read) + properties?: Record; +} + +/** + * Metrics availability and retention. + */ +model ResourceMetricAvailability { + /** + * Time grain . + */ + @visibility(Lifecycle.Read) + timeGrain?: string; + + /** + * Retention period for the current time grain. + */ + @visibility(Lifecycle.Read) + retention?: string; +} + +/** + * Collection of SKU information. + */ +@@Azure.ResourceManager.identifiers(SkuInfoCollection.value, + #["/sku/name", "resourceType"] +); +model SkuInfoCollection is Azure.Core.Page; + +/** + * SKU discovery information. + */ +model SkuInfo { + /** + * Resource type that this SKU applies to. + */ + resourceType?: string; + + /** + * Name and tier of the SKU. + */ + sku?: SkuDescription; + + /** + * Min, max, and default scale values of the SKU. + */ + capacity?: SkuCapacity; +} + +/** + * Collection of usages. + */ +model UsageCollection is Azure.Core.Page; + +/** + * Usage of the quota resource. + */ +#suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model Usage extends ProxyOnlyResource { + /** + * Usage resource specific properties + */ + #suppress "@azure-tools/typespec-azure-core/no-private-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + properties?: UsageProperties; +} + +/** + * Usage resource specific properties + */ +model UsageProperties { + /** + * Friendly name shown in the UI. + */ + @visibility(Lifecycle.Read) + displayName?: string; + + /** + * Name of the quota resource. + */ + @visibility(Lifecycle.Read) + resourceName?: string; + + /** + * Units of measurement for the quota resource. + */ + @visibility(Lifecycle.Read) + unit?: string; + + /** + * The current value of the resource counter. + */ + @visibility(Lifecycle.Read) + currentValue?: int64; + + /** + * The resource limit. + */ + @visibility(Lifecycle.Read) + limit?: int64; + + /** + * Next reset time for the resource counter. + */ + @visibility(Lifecycle.Read) + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + nextResetTime?: utcDateTime; + + /** + * Compute mode used for this usage. + */ + @visibility(Lifecycle.Read) + computeMode?: ComputeModeOptions; + + /** + * Site mode used for this usage. + */ + @visibility(Lifecycle.Read) + siteMode?: string; +} + +/** + * An operation on a resource. + */ +model Operation { + /** + * Operation ID. + */ + id?: string; + + /** + * Operation name. + */ + name?: string; + + /** + * The current status of the operation. + */ + status?: OperationStatus; + + /** + * Any errors associate with the operation. + */ + @identifiers(#[]) + errors?: ErrorEntity[]; + + /** + * Time when operation has started. + */ + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + createdTime?: utcDateTime; + + /** + * Time when operation has been updated. + */ + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + modifiedTime?: utcDateTime; + + /** + * Time when operation will expire. + */ + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + expirationTime?: utcDateTime; + + /** + * Applicable only for stamp operation ids. + */ + #suppress "@azure-tools/typespec-azure-core/no-format" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @format("uuid") + geoMasterOperationId?: string; +} + +/** + * Body of the error response returned from the API. + */ +model ErrorEntity { + /** + * Type of error. + */ + extendedCode?: string; + + /** + * Message template. + */ + messageTemplate?: string; + + /** + * Parameters for the template. + */ + parameters?: string[]; + + /** + * Inner errors. + */ + @identifiers(#[]) + innerErrors?: ErrorEntity[]; + + /** + * Error Details. + */ + @identifiers(#[]) + details?: ErrorEntity[]; + + /** + * The error target. + */ + target?: string; + + /** + * Basic error code. + */ + code?: string; + + /** + * Any details of the error. + */ + message?: string; +} + +/** + * Collection of Outbound Environment Endpoints + */ +@@Azure.ResourceManager.identifiers(OutboundEnvironmentEndpointCollection.value, + #["category"] +); +model OutboundEnvironmentEndpointCollection + is Azure.Core.Page; + +/** + * Endpoints accessed for a common purpose that the App Service Environment requires outbound network access to. + */ +model OutboundEnvironmentEndpoint { + /** + * The type of service accessed by the App Service Environment, e.g., Azure Storage, Azure SQL Database, and Azure Active Directory. + */ + category?: string; + + /** + * The endpoints that the App Service Environment reaches the service at. + */ + @identifiers(#["domainName"]) + endpoints?: EndpointDependency[]; +} + +/** + * A domain name that a service is reached at, including details of the current connection status. + */ +model EndpointDependency { + /** + * The domain name of the dependency. + */ + domainName?: string; + + /** + * The IP Addresses and Ports used when connecting to DomainName. + */ + @identifiers(#["ipAddress", "port"]) + endpointDetails?: EndpointDetail[]; +} + +/** + * Current TCP connectivity information from the App Service Environment to a single endpoint. + */ +model EndpointDetail { + /** + * An IP Address that Domain Name currently resolves to. + */ + ipAddress?: string; + + /** + * The port an endpoint is connected to. + */ + port?: int32; + + /** + * The time in milliseconds it takes for a TCP connection to be created from the App Service Environment to this IpAddress at this Port. + */ + latency?: float64; + + /** + * Whether it is possible to create a TCP connection from the App Service Environment to this IpAddress at this Port. + */ + isAccessible?: boolean; +} + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model PrivateEndpointConnectionCollection + is Azure.Core.Page; + +/** + * RemotePrivateEndpointConnectionARMResource resource specific properties + */ +#suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model RemotePrivateEndpointConnectionARMResourceProperties { + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @visibility(Lifecycle.Read) + provisioningState?: string; + + /** + * PrivateEndpoint of a remote private endpoint connection + */ + privateEndpoint?: ArmIdWrapper; + + /** + * The state of a private link connection + */ + privateLinkServiceConnectionState?: PrivateLinkConnectionState; + + /** + * Private IPAddresses mapped to the remote private endpoint + */ + ipAddresses?: string[]; +} + +/** + * A wrapper for an ARM resource id + */ +model ArmIdWrapper { + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @visibility(Lifecycle.Read) + id?: string; +} + +/** + * The state of a private link connection + */ +model PrivateLinkConnectionState { + /** + * Status of a private link connection + */ + status?: string; + + /** + * Description of a private link connection + */ + description?: string; + + /** + * ActionsRequired for a private link connection + */ + actionsRequired?: string; +} + +/** + * Wrapper for a collection of private link resources + */ +model PrivateLinkResourcesWrapper { + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + value: PrivateLinkResource[]; +} + +/** + * A private link resource + */ +model PrivateLinkResource { + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + id: string; + + /** + * Name of a private link resource + */ + name: string; + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + type: string; + + /** + * Properties of a private link resource + */ + properties: PrivateLinkResourceProperties; +} + +/** + * Properties of a private link resource + */ +model PrivateLinkResourceProperties { + /** + * GroupId of a private link resource + */ + @visibility(Lifecycle.Read) + groupId?: string; + + /** + * RequiredMembers of a private link resource + */ + @visibility(Lifecycle.Read) + requiredMembers?: string[]; + + /** + * RequiredZoneNames of a private link resource + */ + @visibility(Lifecycle.Read) + requiredZoneNames?: string[]; +} + +/** + * Collection of App Service plans. + */ +model AppServicePlanCollection is Azure.Core.Page; + +/** + * AppServicePlan resource specific properties + */ +model AppServicePlanProperties { + /** + * Target worker tier assigned to the App Service plan. + */ + workerTierName?: string; + + /** + * App Service plan status. + */ + @visibility(Lifecycle.Read) + status?: StatusOptions; + + /** + * App Service plan subscription. + */ + @visibility(Lifecycle.Read) + subscription?: string; + + /** + * Specification for the App Service Environment to use for the App Service plan. + */ + @visibility(Lifecycle.Read, Lifecycle.Create) + hostingEnvironmentProfile?: HostingEnvironmentProfile; + + /** + * Maximum number of instances that can be assigned to this App Service plan. + */ + @visibility(Lifecycle.Read) + maximumNumberOfWorkers?: int32; + + /** + * The number of instances that are assigned to this App Service plan. + */ + @visibility(Lifecycle.Read) + numberOfWorkers?: int32; + + /** + * Geographical location for the App Service plan. + */ + @visibility(Lifecycle.Read) + geoRegion?: string; + + /** + * If true, apps assigned to this App Service plan can be scaled independently. + * If false, apps assigned to this App Service plan will scale to all instances of the plan. + */ + perSiteScaling?: boolean; + + /** + * ServerFarm supports ElasticScale. Apps in this plan will scale as if the ServerFarm was ElasticPremium sku + */ + elasticScaleEnabled?: boolean; + + /** + * Maximum number of total workers allowed for this ElasticScaleEnabled App Service Plan + */ + maximumElasticWorkerCount?: int32; + + /** + * Number of apps assigned to this App Service plan. + */ + @visibility(Lifecycle.Read) + numberOfSites?: int32; + + /** + * If true, this App Service Plan owns spot instances. + */ + isSpot?: boolean; + + /** + * The time when the server farm expires. Valid only if it is a spot server farm. + */ + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + spotExpirationTime?: utcDateTime; + + /** + * The time when the server farm free offer expires. + */ + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + freeOfferExpirationTime?: utcDateTime; + + /** + * Resource group of the App Service plan. + */ + @visibility(Lifecycle.Read) + resourceGroup?: string; + + /** + * If Linux app service plan true, false otherwise. + */ + @visibility(Lifecycle.Read, Lifecycle.Create) + reserved?: boolean; + + /** + * Obsolete: If Hyper-V container app service plan true, false otherwise. + */ + @visibility(Lifecycle.Read, Lifecycle.Create) + isXenon?: boolean; + + /** + * If Hyper-V container app service plan true, false otherwise. + */ + @visibility(Lifecycle.Read, Lifecycle.Create) + hyperV?: boolean; + + /** + * Scaling worker count. + */ + targetWorkerCount?: int32; + + /** + * Scaling worker size ID. + */ + targetWorkerSizeId?: int32; + + /** + * Provisioning state of the App Service Plan. + */ + @visibility(Lifecycle.Read) + provisioningState?: ProvisioningState; + + /** + * Specification for the Kubernetes Environment to use for the App Service plan. + */ + kubeEnvironmentProfile?: KubeEnvironmentProfile; + + /** + * If true, this App Service Plan will perform availability zone balancing. + * If false, this App Service Plan will not perform availability zone balancing. + */ + zoneRedundant?: boolean; + + /** + * If true, this App Service Plan will attempt to scale asynchronously if there are insufficient workers to scale synchronously. + * If false, this App Service Plan will only attempt sync scaling. + */ + asyncScalingEnabled?: boolean; + + /** + * Identity to use by platform for various features and integrations using managed identity. + */ + planDefaultIdentity?: DefaultIdentity; + + /** + * Whether this server farm is in custom mode. + */ + isCustomMode?: boolean; + + /** + * Registry adapters associated with this App Service plan. + */ + @identifiers(#[]) + registryAdapters?: RegistryAdapter[]; + + /** + * Install scripts associated with this App Service plan. + */ + installScripts?: InstallScript[]; + + /** + * All network settings for the server farm. + */ + network?: ServerFarmNetworkSettings; + + /** + * Storage mounts associated with this App Service plan. + */ + storageMounts?: StorageMount[]; + + /** + * If true, RDP access is enabled for this App Service plan. Only applicable for IsCustomMode ASPs. + * If false, RDP access is disabled. + */ + rdpEnabled?: boolean; +} + +/** + * Specification for a Kubernetes Environment to use for this resource. + */ +model KubeEnvironmentProfile { + /** + * Resource ID of the Kubernetes Environment. + */ + id?: string; + + /** + * Name of the Kubernetes Environment. + */ + @visibility(Lifecycle.Read) + name?: string; + + /** + * Resource type of the Kubernetes Environment. + */ + @visibility(Lifecycle.Read) + type?: string; +} + +/** + * Collection of CSM usage quotas. + */ +@@Azure.ResourceManager.identifiers(CsmUsageQuotaCollection.value, #["name"]); +model CsmUsageQuotaCollection is Azure.Core.Page; + +/** + * Usage of the quota resource. + */ +model CsmUsageQuota { + /** + * Units of measurement for the quota resource. + */ + unit?: string; + + /** + * Next reset time for the resource counter. + */ + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + nextResetTime?: utcDateTime; + + /** + * The current value of the resource counter. + */ + currentValue?: int64; + + /** + * The resource limit. + */ + limit?: int64; + + /** + * Quota name. + */ + name?: LocalizableString; +} + +/** + * Localizable string object containing the name and a localized value. + */ +model LocalizableString { + /** + * Non-localized name. + */ + value?: string; + + /** + * Localized name. + */ + localizedValue?: string; +} + +/** + * ARM resource for a app service plan. + */ +#suppress "@azure-tools/typespec-azure-resource-manager/patch-envelope" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model AppServicePlanPatchResource extends ProxyOnlyResource { + /** + * AppServicePlanPatchResource resource specific properties + */ + #suppress "@azure-tools/typespec-azure-core/no-private-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + properties?: AppServicePlanPatchResourceProperties; + + /** + * Managed service identity. + */ + identity?: ManagedServiceIdentity; +} + +/** + * AppServicePlanPatchResource resource specific properties + */ +model AppServicePlanPatchResourceProperties { + /** + * Target worker tier assigned to the App Service plan. + */ + workerTierName?: string; + + /** + * App Service plan status. + */ + @visibility(Lifecycle.Read) + status?: StatusOptions; + + /** + * App Service plan subscription. + */ + @visibility(Lifecycle.Read) + subscription?: string; + + /** + * Specification for the App Service Environment to use for the App Service plan. + */ + @visibility(Lifecycle.Read, Lifecycle.Create) + hostingEnvironmentProfile?: HostingEnvironmentProfile; + + /** + * Maximum number of instances that can be assigned to this App Service plan. + */ + @visibility(Lifecycle.Read) + maximumNumberOfWorkers?: int32; + + /** + * The number of instances that are assigned to this App Service plan. + */ + @visibility(Lifecycle.Read) + numberOfWorkers?: int32; + + /** + * Geographical location for the App Service plan. + */ + @visibility(Lifecycle.Read) + geoRegion?: string; + + /** + * If true, apps assigned to this App Service plan can be scaled independently. + * If false, apps assigned to this App Service plan will scale to all instances of the plan. + */ + perSiteScaling?: boolean = false; + + /** + * ServerFarm supports ElasticScale. Apps in this plan will scale as if the ServerFarm was ElasticPremium sku + */ + elasticScaleEnabled?: boolean; + + /** + * Maximum number of total workers allowed for this ElasticScaleEnabled App Service Plan + */ + maximumElasticWorkerCount?: int32; + + /** + * Number of apps assigned to this App Service plan. + */ + @visibility(Lifecycle.Read) + numberOfSites?: int32; + + /** + * If true, this App Service Plan owns spot instances. + */ + isSpot?: boolean; + + /** + * The time when the server farm expires. Valid only if it is a spot server farm. + */ + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + spotExpirationTime?: utcDateTime; + + /** + * The time when the server farm free offer expires. + */ + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + freeOfferExpirationTime?: utcDateTime; + + /** + * Resource group of the App Service plan. + */ + @visibility(Lifecycle.Read) + resourceGroup?: string; + + /** + * If Linux app service plan true, false otherwise. + */ + @visibility(Lifecycle.Read, Lifecycle.Create) + reserved?: boolean = false; + + /** + * Obsolete: If Hyper-V container app service plan true, false otherwise. + */ + @visibility(Lifecycle.Read, Lifecycle.Create) + isXenon?: boolean = false; + + /** + * If Hyper-V container app service plan true, false otherwise. + */ + @visibility(Lifecycle.Read, Lifecycle.Create) + hyperV?: boolean = false; + + /** + * Scaling worker count. + */ + targetWorkerCount?: int32; + + /** + * Scaling worker size ID. + */ + targetWorkerSizeId?: int32; + + /** + * Provisioning state of the App Service Plan. + */ + @visibility(Lifecycle.Read) + provisioningState?: ProvisioningState; + + /** + * Specification for the Kubernetes Environment to use for the App Service plan. + */ + kubeEnvironmentProfile?: KubeEnvironmentProfile; + + /** + * If true, this App Service Plan will perform availability zone balancing. + * If false, this App Service Plan will not perform availability zone balancing. + */ + zoneRedundant?: boolean = false; +} + +/** + * HybridConnection resource specific properties + */ +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model HybridConnectionProperties { + /** + * The name of the Service Bus namespace. + */ + @visibility(Lifecycle.Read, Lifecycle.Create) + serviceBusNamespace?: string; + + /** + * The name of the Service Bus relay. + */ + @visibility(Lifecycle.Read, Lifecycle.Create) + relayName?: string; + + /** + * The ARM URI to the Service Bus relay. + */ + relayArmUri?: string; + + /** + * The hostname of the endpoint. + */ + hostname?: string; + + /** + * The port of the endpoint. + */ + port?: int32; + + /** + * The name of the Service Bus key which has Send permissions. This is used to authenticate to Service Bus. + */ + sendKeyName?: string; + + /** + * The value of the Service Bus key. This is used to authenticate to Service Bus. In ARM this key will not be returned + * normally, use the POST /listKeys API instead. + */ + sendKeyValue?: string; + + /** + * The suffix for the service bus endpoint. By default this is .servicebus.windows.net + */ + serviceBusSuffix?: string; +} + +/** + * Hybrid Connection key contract. This has the send key name and value for a Hybrid Connection. + */ +#suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model HybridConnectionKey extends ProxyOnlyResource { + /** + * HybridConnectionKey resource specific properties + */ + #suppress "@azure-tools/typespec-azure-core/no-private-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + properties?: HybridConnectionKeyProperties; +} + +/** + * HybridConnectionKey resource specific properties + */ +model HybridConnectionKeyProperties { + /** + * The name of the send key. + */ + @visibility(Lifecycle.Read) + sendKeyName?: string; + + /** + * The value of the send key. + */ + @visibility(Lifecycle.Read) + sendKeyValue?: string; +} + +/** + * Collection of resources. + */ +model ResourceCollection { + /** Collection of resources. */ + @TypeSpec.pageItems + value: string[]; + + /** Link to next page of resources. */ + @TypeSpec.nextLink + nextLink?: string; +} + +/** + * HybridConnectionLimits resource specific properties + */ +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model HybridConnectionLimitsProperties { + /** + * The current number of Hybrid Connections. + */ + @visibility(Lifecycle.Read) + current?: int32; + + /** + * The maximum number of Hybrid Connections allowed. + */ + @visibility(Lifecycle.Read) + maximum?: int32; +} + +/** + * Collection of hostname bindings. + */ +model HybridConnectionCollection is Azure.Core.Page; + +/** + * Virtual Network information contract. + */ +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model VnetInfo { + /** + * The Virtual Network's resource ID. + */ + vnetResourceId?: string; + + /** + * The client certificate thumbprint. + */ + @visibility(Lifecycle.Read) + certThumbprint?: string; + + /** + * A certificate file (.cer) blob containing the public key of the private key used to authenticate a \nPoint-To-Site VPN connection. + */ + certBlob?: string; + + /** + * The routes that this Virtual Network connection uses. + */ + @visibility(Lifecycle.Read) + routes?: VnetRoute[]; + + /** + * true if a resync is required; otherwise, false. + */ + @visibility(Lifecycle.Read) + resyncRequired?: boolean; + + /** + * DNS servers to be used by this Virtual Network. This should be a comma-separated list of IP addresses. + */ + dnsServers?: string; + + /** + * Flag that is used to denote if this is VNET injection + */ + isSwift?: boolean; +} + +/** + * VnetRoute resource specific properties + */ +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model VnetRouteProperties { + /** + * The starting address for this route. This may also include a CIDR notation, in which case the end address must not be specified. + */ + startAddress?: string; + + /** + * The ending address for this route. If the start address is specified in CIDR notation, this must be omitted. + */ + endAddress?: string; + + /** + * The type of route this is: + * DEFAULT - By default, every app has routes to the local address ranges specified by RFC1918 + * INHERITED - Routes inherited from the real Virtual Network routes + * STATIC - Static route set on the app only + * + * These values will be used for syncing an app's routes with those from a Virtual Network. + */ + routeType?: RouteType; +} + +/** + * VnetGateway resource specific properties + */ +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model VnetGatewayProperties { + /** + * The Virtual Network name. + */ + @visibility(Lifecycle.Read, Lifecycle.Create) + vnetName?: string; + + /** + * The URI where the VPN package can be downloaded. + */ + @visibility(Lifecycle.Create, Lifecycle.Update) + vpnPackageUri: string; +} + +/** + * Collection of certificates. + */ +model CertificateCollection is Azure.Core.Page; + +/** + * Certificate resource specific properties + */ +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model CertificateProperties { + /** + * Certificate password. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/secret-prop" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + password?: string; + + /** + * Friendly name of the certificate. + */ + @visibility(Lifecycle.Read) + friendlyName?: string; + + /** + * Subject name of the certificate. + */ + @visibility(Lifecycle.Read) + subjectName?: string; + + /** + * Host names the certificate applies to. + */ + hostNames?: string[]; + + /** + * Pfx blob. + */ + pfxBlob?: bytes; + + /** + * App name. + */ + @visibility(Lifecycle.Read) + siteName?: string; + + /** + * Self link. + */ + @visibility(Lifecycle.Read) + selfLink?: string; + + /** + * Certificate issuer. + */ + @visibility(Lifecycle.Read) + issuer?: string; + + /** + * Certificate issue Date. + */ + @visibility(Lifecycle.Read) + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + issueDate?: utcDateTime; + + /** + * Certificate expiration date. + */ + @visibility(Lifecycle.Read) + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + expirationDate?: utcDateTime; + + /** + * Certificate thumbprint. + */ + @visibility(Lifecycle.Read) + thumbprint?: string; + + /** + * Is the certificate valid?. + */ + @visibility(Lifecycle.Read) + valid?: boolean; + + /** + * Raw bytes of .cer file + */ + @visibility(Lifecycle.Read) + cerBlob?: bytes; + + /** + * Public key hash. + */ + @visibility(Lifecycle.Read) + publicKeyHash?: string; + + /** + * Specification for the App Service Environment to use for the certificate. + */ + @visibility(Lifecycle.Read) + hostingEnvironmentProfile?: HostingEnvironmentProfile; + + /** + * Azure Key Vault Csm resource Id. + */ + keyVaultId?: Azure.Core.armResourceIdentifier<[ + { + type: "Microsoft.KeyVault/vaults"; + } + ]>; + + /** + * Azure Key Vault secret name. + */ + keyVaultSecretName?: string; + + /** + * Status of the Key Vault secret. + */ + @visibility(Lifecycle.Read) + keyVaultSecretStatus?: KeyVaultSecretStatus; + + /** + * Resource ID of the associated App Service plan. + */ + serverFarmId?: Azure.Core.armResourceIdentifier<[ + { + type: "Microsoft.Web/serverfarms"; + } + ]>; + + /** + * CNAME of the certificate to be issued via free certificate + */ + canonicalName?: string; + + /** + * Method of domain validation for free cert + */ + domainValidationMethod?: string; +} + +/** + * ARM resource for a certificate. + */ +#suppress "@azure-tools/typespec-azure-resource-manager/patch-envelope" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model CertificatePatchResource extends ProxyOnlyResource { + /** + * CertificatePatchResource resource specific properties + */ + #suppress "@azure-tools/typespec-azure-core/no-private-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + properties?: CertificatePatchResourceProperties; +} + +/** + * CertificatePatchResource resource specific properties + */ +model CertificatePatchResourceProperties { + /** + * Certificate password. + */ + @visibility(Lifecycle.Read) + password?: string; + + /** + * Friendly name of the certificate. + */ + @visibility(Lifecycle.Read) + friendlyName?: string; + + /** + * Subject name of the certificate. + */ + @visibility(Lifecycle.Read) + subjectName?: string; + + /** + * Host names the certificate applies to. + */ + hostNames?: string[]; + + /** + * Pfx blob. + */ + pfxBlob?: bytes; + + /** + * App name. + */ + @visibility(Lifecycle.Read) + siteName?: string; + + /** + * Self link. + */ + @visibility(Lifecycle.Read) + selfLink?: string; + + /** + * Certificate issuer. + */ + @visibility(Lifecycle.Read) + issuer?: string; + + /** + * Certificate issue Date. + */ + @visibility(Lifecycle.Read) + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + issueDate?: utcDateTime; + + /** + * Certificate expiration date. + */ + @visibility(Lifecycle.Read) + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + expirationDate?: utcDateTime; + + /** + * Certificate thumbprint. + */ + @visibility(Lifecycle.Read) + thumbprint?: string; + + /** + * Is the certificate valid?. + */ + @visibility(Lifecycle.Read) + valid?: boolean; + + /** + * Raw bytes of .cer file + */ + @visibility(Lifecycle.Read) + cerBlob?: bytes; + + /** + * Public key hash. + */ + @visibility(Lifecycle.Read) + publicKeyHash?: string; + + /** + * Specification for the App Service Environment to use for the certificate. + */ + @visibility(Lifecycle.Read) + hostingEnvironmentProfile?: HostingEnvironmentProfile; + + /** + * Key Vault Csm resource Id. + */ + keyVaultId?: string; + + /** + * Key Vault secret name. + */ + keyVaultSecretName?: string; + + /** + * Status of the Key Vault secret. + */ + @visibility(Lifecycle.Read) + keyVaultSecretStatus?: KeyVaultSecretStatus; + + /** + * Resource ID of the associated App Service plan, formatted as: "/subscriptions/{subscriptionID}/resourceGroups/{groupName}/providers/Microsoft.Web/serverfarms/{appServicePlanName}". + */ + serverFarmId?: string; + + /** + * CNAME of the certificate to be issued via free certificate + */ + canonicalName?: string; + + /** + * Method of domain validation for free cert + */ + domainValidationMethod?: string; +} + +/** + * Collection of deleted apps. + */ +model DeletedWebAppCollection is Azure.Core.Page; + +/** + * DeletedSite resource specific properties + */ +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model DeletedSiteProperties { + /** + * Numeric id for the deleted site + */ + @visibility(Lifecycle.Read) + deletedSiteId?: int32; + + /** + * Time in UTC when the app was deleted. + */ + @visibility(Lifecycle.Read) + deletedTimestamp?: string; + + /** + * Subscription containing the deleted site + */ + @visibility(Lifecycle.Read) + subscription?: string; + + /** + * ResourceGroup that contained the deleted site + */ + @visibility(Lifecycle.Read) + resourceGroup?: string; + + /** + * Name of the deleted site + */ + @visibility(Lifecycle.Read) + deletedSiteName?: string; + + /** + * Slot of the deleted site + */ + @visibility(Lifecycle.Read) + slot?: string; + + /** + * Kind of site that was deleted + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-duplicate-property" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @visibility(Lifecycle.Read) + kind?: string; + + /** + * Geo Region of the deleted site + */ + @visibility(Lifecycle.Read) + geoRegionName?: string; +} + +/** + * Collection of detector responses + */ +model DetectorResponseCollection is Azure.Core.Page; + +/** + * DetectorResponse resource specific properties + */ +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model DetectorResponseProperties { + /** + * metadata for the detector + */ + metadata?: DetectorInfo; + + /** + * Data Set + */ + @identifiers(#[]) + dataset?: DiagnosticData[]; + + /** + * Indicates status of the most severe insight. + */ + status?: Status; + + /** + * Additional configuration for different data providers to be used by the UI + */ + @identifiers(#["providerName"]) + dataProvidersMetadata?: DataProviderMetadata[]; + + /** + * Suggested utterances where the detector can be applicable. + */ + suggestedUtterances?: QueryUtterancesResults; +} + +/** + * Definition of Detector + */ +model DetectorInfo { + /** + * Id of detector + */ + @visibility(Lifecycle.Read) + id?: string; + + /** + * Name of detector + */ + @visibility(Lifecycle.Read) + name?: string; + + /** + * Short description of the detector and its purpose. + */ + @visibility(Lifecycle.Read) + description?: string; + + /** + * Author of the detector. + */ + @visibility(Lifecycle.Read) + author?: string; + + /** + * Problem category. This serves for organizing group for detectors. + */ + @visibility(Lifecycle.Read) + category?: string; + + /** + * List of Support Topics for which this detector is enabled. + */ + @visibility(Lifecycle.Read) + supportTopicList?: SupportTopic[]; + + /** + * Analysis Types for which this detector should apply to. + */ + @visibility(Lifecycle.Read) + analysisType?: string[]; + + /** + * Whether this detector is an Analysis Detector or not. + */ + @visibility(Lifecycle.Read) + type?: DetectorType; + + /** + * Defines score of a detector to power ML based matching. + */ + @visibility(Lifecycle.Read) + score?: float32; +} + +/** + * Defines a unique Support Topic + */ +model SupportTopic { + /** + * Support Topic Id + */ + @visibility(Lifecycle.Read) + id?: string; + + /** + * Unique resource Id + */ + @visibility(Lifecycle.Read) + pesId?: string; +} + +/** + * Set of data with rendering instructions + */ +model DiagnosticData { + /** + * Data in table form + */ + table?: DataTableResponseObject; + + /** + * Properties that describe how the table should be rendered + */ + renderingProperties?: Rendering; +} + +/** + * Data Table which defines columns and raw row values + */ +model DataTableResponseObject { + /** + * Name of the table + */ + tableName?: string; + + /** + * List of columns with data types + */ + @identifiers(#["columnName"]) + columns?: DataTableResponseColumn[]; + + /** + * Raw row values + */ + @identifiers(#[]) + rows?: string[][]; +} + +/** + * Column definition + */ +model DataTableResponseColumn { + /** + * Name of the column + */ + columnName?: string; + + /** + * Data type which looks like 'String' or 'Int32'. + */ + dataType?: string; + + /** + * Column Type + */ + columnType?: string; +} + +/** + * Instructions for rendering the data + */ +model Rendering { + /** + * Rendering Type + */ + type?: RenderingType; + + /** + * Title of data + */ + title?: string; + + /** + * Description of the data that will help it be interpreted + */ + description?: string; +} + +/** + * Identify the status of the most severe insight generated by the detector. + */ +model Status { + /** + * Descriptive message. + */ + message?: string; + + /** + * Level of the most severe insight generated by the detector. + */ + statusId?: InsightStatus; +} + +/** + * Additional configuration for a data providers + */ +model DataProviderMetadata { + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + providerName?: string; + + /** + * Settings for the data provider + */ + @visibility(Lifecycle.Read) + @identifiers(#["key"]) + propertyBag?: KeyValuePairStringObject[]; +} + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model KeyValuePairStringObject { + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @visibility(Lifecycle.Read) + key?: string; + + /** + * Any object + */ + #suppress "@azure-tools/typespec-azure-core/no-unknown" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @visibility(Lifecycle.Read) + value?: unknown; +} + +/** + * Suggested utterances where the detector can be applicable + */ +model QueryUtterancesResults { + /** + * Search Query. + */ + query?: string; + + /** + * Array of utterance results for search query. + */ + @identifiers(#[]) + results?: QueryUtterancesResult[]; +} + +/** + * Result for utterances query. + */ +model QueryUtterancesResult { + /** + * A sample utterance. + */ + sampleUtterance?: SampleUtterance; + + /** + * Score of a sample utterance. + */ + score?: float32; +} + +/** + * Sample utterance. + */ +model SampleUtterance { + /** + * Text attribute of sample utterance. + */ + text?: string; + + /** + * Links attribute of sample utterance. + */ + links?: string[]; + + /** + * Question id of sample utterance (for stackoverflow questions titles). + */ + qid?: string; +} + +/** + * Collection of Diagnostic Categories + */ +model DiagnosticCategoryCollection is Azure.Core.Page; + +/** + * DiagnosticCategory resource specific properties + */ +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model DiagnosticCategoryProperties { + /** + * Description of the diagnostic category + */ + @visibility(Lifecycle.Read) + description?: string; +} + +/** + * Collection of Diagnostic Analyses + */ +model DiagnosticAnalysisCollection is Azure.Core.Page; + +/** + * AnalysisDefinition resource specific properties + */ +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model AnalysisDefinitionProperties { + /** + * Description of the Analysis + */ + @visibility(Lifecycle.Read) + description?: string; +} + +/** + * Class representing a diagnostic analysis done on an application + */ +#suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model DiagnosticAnalysis extends ProxyOnlyResource { + /** + * DiagnosticAnalysis resource specific properties + */ + #suppress "@azure-tools/typespec-azure-core/no-private-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + properties?: DiagnosticAnalysisProperties; +} + +/** + * DiagnosticAnalysis resource specific properties + */ +model DiagnosticAnalysisProperties { + /** + * Start time of the period + */ + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + startTime?: utcDateTime; + + /** + * End time of the period + */ + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + endTime?: utcDateTime; + + /** + * List of time periods. + */ + @identifiers(#[]) + abnormalTimePeriods?: AbnormalTimePeriod[]; + + /** + * Data by each detector + */ + @identifiers(#["source"]) + payload?: AnalysisData[]; + + /** + * Data by each detector for detectors that did not corelate + */ + @identifiers(#["displayName"]) + nonCorrelatedDetectors?: DetectorDefinition[]; +} + +/** + * Class representing Abnormal Time Period identified in diagnosis + */ +model AbnormalTimePeriod { + /** + * Start time of the downtime + */ + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + startTime?: utcDateTime; + + /** + * End time of the downtime + */ + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + endTime?: utcDateTime; + + /** + * List of Possible Cause of downtime + */ + @identifiers(#[]) + events?: DetectorAbnormalTimePeriod[]; + + /** + * List of proposed solutions + */ + solutions?: Solution[]; +} + +/** + * Class representing Abnormal Time Period detected. + */ +model DetectorAbnormalTimePeriod { + /** + * Start time of the correlated event + */ + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + startTime?: utcDateTime; + + /** + * End time of the correlated event + */ + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + endTime?: utcDateTime; + + /** + * Message describing the event + */ + message?: string; + + /** + * Represents the name of the Detector + */ + source?: string; + + /** + * Represents the rank of the Detector + */ + priority?: float64; + + /** + * Downtime metadata + */ + #suppress "@azure-tools/typespec-azure-resource-manager/missing-x-ms-identifiers" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @identifiers(#["name"]) + metaData?: NameValuePair[][]; + + /** + * Represents the type of the Detector + */ + type?: IssueType; + + /** + * List of proposed solutions + */ + solutions?: Solution[]; +} + +/** + * Class Representing Solution for problems detected. + */ +model Solution { + /** + * Solution Id. + */ + id?: float64; + + /** + * Display Name of the solution + */ + displayName?: string; + + /** + * Order of the solution. + */ + order?: float64; + + /** + * Description of the solution + */ + description?: string; + + /** + * Type of Solution + */ + type?: SolutionType; + + /** + * Solution Data. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/missing-x-ms-identifiers" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @identifiers(#["name"]) + data?: NameValuePair[][]; + + /** + * Solution Metadata. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/missing-x-ms-identifiers" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @identifiers(#["name"]) + metadata?: NameValuePair[][]; +} + +/** + * Class Representing Detector Evidence used for analysis + */ +model AnalysisData { + /** + * Name of the Detector + */ + source?: string; + + /** + * Detector Definition + */ + detectorDefinition?: DetectorDefinition; + + /** + * Source Metrics + */ + @identifiers(#["name"]) + metrics?: DiagnosticMetricSet[]; + + /** + * Additional Source Data + */ + #suppress "@azure-tools/typespec-azure-resource-manager/missing-x-ms-identifiers" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @identifiers(#["name"]) + data?: NameValuePair[][]; + + /** + * Detector Meta Data + */ + detectorMetaData?: ResponseMetaData; +} + +/** + * Class representing detector definition + */ +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model DetectorDefinition { + /** + * Display name of the detector + */ + @visibility(Lifecycle.Read) + displayName?: string; + + /** + * Description of the detector + */ + @visibility(Lifecycle.Read) + description?: string; + + /** + * Detector Rank + */ + @visibility(Lifecycle.Read) + rank?: float64; + + /** + * Flag representing whether detector is enabled or not. + */ + @visibility(Lifecycle.Read) + isEnabled?: boolean; +} + +/** + * Class representing Diagnostic Metric information + */ +model DiagnosticMetricSet { + /** + * Name of the metric + */ + name?: string; + + /** + * Metric's unit + */ + unit?: string; + + /** + * Start time of the period + */ + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + startTime?: utcDateTime; + + /** + * End time of the period + */ + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + endTime?: utcDateTime; + + /** + * Presented time grain. Supported grains at the moment are PT1M, PT1H, P1D + */ + timeGrain?: string; + + /** + * Collection of metric values for the selected period based on the {Microsoft.Web.Hosting.Administration.DiagnosticMetricSet.TimeGrain} + */ + @identifiers(#[]) + values?: DiagnosticMetricSample[]; +} + +/** + * Class representing Diagnostic Metric + */ +model DiagnosticMetricSample { + /** + * Time at which metric is measured + */ + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + timestamp?: utcDateTime; + + /** + * 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 + */ + roleInstance?: string; + + /** + * Total value of the metric. If multiple measurements are made this will have sum of all. + */ + total?: float64; + + /** + * Maximum of the metric sampled during the time period + */ + maximum?: float64; + + /** + * Minimum of the metric sampled during the time period + */ + minimum?: float64; + + /** + * Whether the values are aggregates across all workers or not + */ + isAggregated?: boolean; +} + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model ResponseMetaData { + /** + * Source of the Data + */ + dataSource?: DataSource; +} + +/** + * Class representing data source used by the detectors + */ +model DataSource { + /** + * Instructions if any for the data source + */ + instructions?: string[]; + + /** + * Datasource Uri Links + */ + @identifiers(#["name"]) + dataSourceUri?: NameValuePair[]; +} + +/** + * Collection of Diagnostic Detectors + */ +model DiagnosticDetectorCollection + is Azure.Core.Page; + +/** + * Class representing Response from Diagnostic Detectors + */ +#suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model DiagnosticDetectorResponse extends ProxyOnlyResource { + /** + * DiagnosticDetectorResponse resource specific properties + */ + #suppress "@azure-tools/typespec-azure-core/no-private-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + properties?: DiagnosticDetectorResponseProperties; +} + +/** + * DiagnosticDetectorResponse resource specific properties + */ +model DiagnosticDetectorResponseProperties { + /** + * Start time of the period + */ + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + startTime?: utcDateTime; + + /** + * End time of the period + */ + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + endTime?: utcDateTime; + + /** + * Flag representing Issue was detected. + */ + issueDetected?: boolean; + + /** + * Detector's definition + */ + detectorDefinition?: DetectorDefinition; + + /** + * Metrics provided by the detector + */ + @identifiers(#["name"]) + metrics?: DiagnosticMetricSet[]; + + /** + * List of Correlated events found by the detector + */ + @identifiers(#[]) + abnormalTimePeriods?: DetectorAbnormalTimePeriod[]; + + /** + * Additional Data that detector wants to send. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/missing-x-ms-identifiers" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @identifiers(#["name"]) + data?: NameValuePair[][]; + + /** + * Meta Data + */ + responseMetaData?: ResponseMetaData; +} + +/** + * A snapshot of an app. + */ +#suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model Snapshot extends ProxyOnlyResource { + /** + * Snapshot resource specific properties + */ + #suppress "@azure-tools/typespec-azure-core/no-private-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + properties?: SnapshotProperties; +} + +/** + * Snapshot resource specific properties + */ +model SnapshotProperties { + /** + * The time the snapshot was taken. + */ + @visibility(Lifecycle.Read) + time?: string; +} + +/** + * Collection of Kubernetes Environments + */ +model KubeEnvironmentCollection is Azure.Core.Page; + +/** + * KubeEnvironment resource specific properties + */ +model KubeEnvironmentProperties { + /** + * Provisioning state of the Kubernetes Environment. + */ + @visibility(Lifecycle.Read) + provisioningState?: KubeEnvironmentProvisioningState; + + /** + * Any errors that occurred during deployment or deployment validation + */ + @visibility(Lifecycle.Read) + deploymentErrors?: string; + + /** + * Only visible within Vnet/Subnet + */ + @visibility(Lifecycle.Read, Lifecycle.Create) + internalLoadBalancerEnabled?: boolean; + + /** + * Default Domain Name for the cluster + */ + @visibility(Lifecycle.Read) + defaultDomain?: string; + + /** + * Static IP of the KubeEnvironment + */ + @visibility(Lifecycle.Read, Lifecycle.Create) + staticIp?: string; + + /** + * Type of Kubernetes Environment. Only supported for Container App Environments with value as Managed + */ + @visibility(Lifecycle.Read, Lifecycle.Create) + environmentType?: 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; + + /** + * Cluster configuration for Container Apps Environments to configure Dapr Instrumentation Key and VNET Configuration + */ + containerAppsConfiguration?: ContainerAppsConfiguration; + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + #suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @visibility(Lifecycle.Read, Lifecycle.Create) + aksResourceID?: string; +} + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model ArcConfiguration { + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @visibility(Lifecycle.Read, Lifecycle.Create) + artifactsStorageType?: StorageType; + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @visibility(Lifecycle.Read, Lifecycle.Create) + artifactStorageClassName?: string; + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @visibility(Lifecycle.Read, Lifecycle.Create) + artifactStorageMountPath?: string; + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @visibility(Lifecycle.Read, Lifecycle.Create) + artifactStorageNodeName?: string; + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @visibility(Lifecycle.Read, Lifecycle.Create) + artifactStorageAccessMode?: string; + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + frontEndServiceConfiguration?: FrontEndConfiguration; + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @secret + @visibility(Lifecycle.Create, Lifecycle.Update) + kubeConfig?: string; +} + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model FrontEndConfiguration { + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + kind?: FrontEndServiceType; +} + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model AppLogsConfiguration { + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + destination?: string; + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + logAnalyticsConfiguration?: LogAnalyticsConfiguration; +} + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model LogAnalyticsConfiguration { + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + customerId?: string; + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @visibility(Lifecycle.Create, Lifecycle.Update) + @secret + sharedKey?: string; +} + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model ContainerAppsConfiguration { + /** + * Azure Monitor instrumentation key used by Dapr to export Service to Service communication telemetry + */ + #suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + #suppress "@azure-tools/typespec-azure-resource-manager/secret-prop" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @visibility(Lifecycle.Read, Lifecycle.Create) + daprAIInstrumentationKey?: string; + + /** + * IP range in CIDR notation that can be reserved for environment infrastructure IP addresses. It must not overlap with any other Subnet IP ranges. + */ + @visibility(Lifecycle.Read, Lifecycle.Create) + platformReservedCidr?: string; + + /** + * An IP address from the IP range defined by platformReservedCidr that will be reserved for the internal DNS server + */ + #suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @visibility(Lifecycle.Read, Lifecycle.Create) + platformReservedDnsIP?: string; + + /** + * 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. + */ + @visibility(Lifecycle.Read, Lifecycle.Create) + controlPlaneSubnetResourceId?: string; + + /** + * 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. + */ + @visibility(Lifecycle.Read, Lifecycle.Create) + appSubnetResourceId?: string; + + /** + * 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. + */ + @visibility(Lifecycle.Read, Lifecycle.Create) + dockerBridgeCidr?: string; +} + +/** + * ARM resource for a KubeEnvironment when patching + */ +#suppress "@azure-tools/typespec-azure-resource-manager/patch-envelope" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model KubeEnvironmentPatchResource extends ProxyOnlyResource { + /** + * KubeEnvironmentPatchResource resource specific properties + */ + #suppress "@azure-tools/typespec-azure-core/no-private-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + properties?: KubeEnvironmentPatchResourceProperties; +} + +/** + * KubeEnvironmentPatchResource resource specific properties + */ +model KubeEnvironmentPatchResourceProperties { + /** + * Provisioning state of the Kubernetes Environment. + */ + @visibility(Lifecycle.Read) + provisioningState?: KubeEnvironmentProvisioningState; + + /** + * Any errors that occurred during deployment or deployment validation + */ + @visibility(Lifecycle.Read) + deploymentErrors?: string; + + /** + * Only visible within Vnet/Subnet + */ + @visibility(Lifecycle.Read, Lifecycle.Create) + internalLoadBalancerEnabled?: boolean; + + /** + * Default Domain Name for the cluster + */ + @visibility(Lifecycle.Read) + defaultDomain?: string; + + /** + * Static IP of the KubeEnvironment + */ + @visibility(Lifecycle.Read, Lifecycle.Create) + 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; + + /** + * Cluster configuration for Container Apps Environments to configure Dapr Instrumentation Key and VNET Configuration + */ + containerAppsConfiguration?: ContainerAppsConfiguration; + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + #suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @visibility(Lifecycle.Read, Lifecycle.Create) + aksResourceID?: string; +} + +/** + * Collection of Application Stacks + */ +model ApplicationStackCollection is Azure.Core.Page; + +/** + * ARM resource for a ApplicationStack. + */ +#suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model ApplicationStackResource extends ProxyOnlyResource { + /** + * Core resource properties + */ + #suppress "@azure-tools/typespec-azure-core/no-private-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + properties?: ApplicationStack; +} + +/** + * Application stack. + */ +model ApplicationStack { + /** + * Application stack name. + */ + name?: string; + + /** + * Application stack display name. + */ + display?: string; + + /** + * Application stack dependency. + */ + dependency?: string; + + /** + * List of major versions available. + */ + @identifiers(#["runtimeVersion"]) + majorVersions?: StackMajorVersion[]; + + /** + * List of frameworks associated with application stack. + */ + @identifiers(#["name"]) + frameworks?: ApplicationStack[]; + + /** + * true if this is the stack is deprecated; otherwise, false. + */ + @identifiers(#["name"]) + isDeprecated?: ApplicationStack[]; +} + +/** + * Application stack major version. + */ +model StackMajorVersion { + /** + * Application stack major version (display only). + */ + displayVersion?: string; + + /** + * Application stack major version (runtime only). + */ + runtimeVersion?: string; + + /** + * true if this is the default major version; otherwise, false. + */ + isDefault?: boolean; + + /** + * Minor versions associated with the major version. + */ + @identifiers(#["runtimeVersion"]) + minorVersions?: StackMinorVersion[]; + + /** + * true if this supports Application Insights; otherwise, false. + */ + applicationInsights?: boolean; + + /** + * true if this stack is in Preview, otherwise false. + */ + isPreview?: boolean; + + /** + * true if this stack has been deprecated, otherwise false. + */ + isDeprecated?: boolean; + + /** + * true if this stack should be hidden for new customers on portal, otherwise false. + */ + isHidden?: boolean; + + /** + * + * + * + * Example: All the function apps need AppSetting: "FUNCTIONS_WORKER_RUNTIME" to be set stack name + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-no-record" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + appSettingsDictionary?: Record; + + /** + * + * + * + * Example: All Linux Function Apps, need Use32BitWorkerProcess to be set to 0 + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-no-record" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + siteConfigPropertiesDictionary?: Record; +} + +/** + * Application stack minor version. + */ +model StackMinorVersion { + /** + * Application stack minor version (display only). + */ + displayVersion?: string; + + /** + * Application stack minor version (runtime only). + */ + runtimeVersion?: string; + + /** + * true if this is the default minor version; otherwise, false. + */ + isDefault?: boolean; + + /** + * true if this supports Remote Debugging, otherwise false. + */ + isRemoteDebuggingEnabled?: boolean; +} + +/** + * Collection of Function app Stacks + */ +model FunctionAppStackCollection is Azure.Core.Page; + +/** + * Function App Stack. + */ +#suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model FunctionAppStack extends ProxyOnlyResource { + /** + * Function App stack location. + */ + @visibility(Lifecycle.Read) + location?: string; + + /** + * FunctionAppStack resource specific properties + */ + #suppress "@azure-tools/typespec-azure-core/no-private-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + properties?: FunctionAppStackProperties; +} + +/** + * FunctionAppStack resource specific properties + */ +model FunctionAppStackProperties { + /** + * Function App stack (display only). + */ + @visibility(Lifecycle.Read) + displayText?: string; + + /** + * Function App stack name. + */ + @visibility(Lifecycle.Read) + value?: string; + + /** + * List of major versions available. + */ + @visibility(Lifecycle.Read) + @identifiers(#["value"]) + majorVersions?: FunctionAppMajorVersion[]; + + /** + * Function App stack preferred OS. + */ + @visibility(Lifecycle.Read) + preferredOs?: StackPreferredOs; +} + +/** + * Function App stack major version. + */ +model FunctionAppMajorVersion { + /** + * Function App stack major version (display only). + */ + @visibility(Lifecycle.Read) + displayText?: string; + + /** + * Function App stack major version name. + */ + @visibility(Lifecycle.Read) + value?: string; + + /** + * Minor versions associated with the major version. + */ + @visibility(Lifecycle.Read) + @identifiers(#["value"]) + minorVersions?: FunctionAppMinorVersion[]; +} + +/** + * Function App stack minor version. + */ +model FunctionAppMinorVersion { + /** + * Function App stack (display only). + */ + @visibility(Lifecycle.Read) + displayText?: string; + + /** + * Function App stack name. + */ + @visibility(Lifecycle.Read) + value?: string; + + /** + * Settings associated with the minor version. + */ + @visibility(Lifecycle.Read) + stackSettings?: FunctionAppRuntimes; +} + +/** + * Function App stack runtimes. + */ +model FunctionAppRuntimes { + /** + * Linux-specific settings associated with the minor version. + */ + @visibility(Lifecycle.Read) + linuxRuntimeSettings?: FunctionAppRuntimeSettings; + + /** + * Windows-specific settings associated with the minor version. + */ + @visibility(Lifecycle.Read) + windowsRuntimeSettings?: FunctionAppRuntimeSettings; +} + +/** + * Function App runtime settings. + */ +model FunctionAppRuntimeSettings { + /** + * Function App stack minor version (runtime only). + */ + @visibility(Lifecycle.Read) + runtimeVersion?: string; + + /** + * true if remote debugging is supported for the stack; otherwise, false. + */ + @visibility(Lifecycle.Read) + remoteDebuggingSupported?: boolean; + + /** + * Application Insights settings associated with the minor version. + */ + @visibility(Lifecycle.Read) + appInsightsSettings?: AppInsightsWebAppStackSettings; + + /** + * GitHub Actions settings associated with the minor version. + */ + @visibility(Lifecycle.Read) + gitHubActionSettings?: GitHubActionWebAppStackSettings; + + /** + * Application settings associated with the minor version. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-no-record" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @visibility(Lifecycle.Read) + appSettingsDictionary?: Record; + + /** + * Configuration settings associated with the minor version. + */ + @visibility(Lifecycle.Read) + siteConfigPropertiesDictionary?: SiteConfigPropertiesDictionary; + + /** + * List of supported Functions extension versions. + */ + @visibility(Lifecycle.Read) + supportedFunctionsExtensionVersions?: string[]; + + /** + * true if the stack is in preview; otherwise, false. + */ + @visibility(Lifecycle.Read) + isPreview?: boolean; + + /** + * true if the stack is deprecated; otherwise, false. + */ + @visibility(Lifecycle.Read) + isDeprecated?: boolean; + + /** + * true if the stack should be hidden; otherwise, false. + */ + @visibility(Lifecycle.Read) + isHidden?: boolean; + + /** + * End-of-life date for the minor version. + */ + @visibility(Lifecycle.Read) + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + endOfLifeDate?: utcDateTime; + + /** + * true if the stack version is auto-updated; otherwise, false. + */ + @visibility(Lifecycle.Read) + isAutoUpdate?: boolean; + + /** + * true if the minor version is early-access; otherwise, false. + */ + @visibility(Lifecycle.Read) + isEarlyAccess?: boolean; + + /** + * true if the minor version the default; otherwise, false. + */ + @visibility(Lifecycle.Read) + isDefault?: boolean; +} + +/** + * App Insights Web App stack settings. + */ +model AppInsightsWebAppStackSettings { + /** + * true if remote Application Insights is supported for the stack; otherwise, false. + */ + @visibility(Lifecycle.Read) + isSupported?: boolean; + + /** + * true if Application Insights is disabled by default for the stack; otherwise, false. + */ + @visibility(Lifecycle.Read) + isDefaultOff?: boolean; +} + +/** + * GitHub Actions Web App stack settings. + */ +model GitHubActionWebAppStackSettings { + /** + * true if GitHub Actions is supported for the stack; otherwise, false. + */ + @visibility(Lifecycle.Read) + isSupported?: boolean; + + /** + * The minor version that is supported for GitHub Actions. + */ + @visibility(Lifecycle.Read) + supportedVersion?: string; +} + +/** + * Site config properties dictionary. + */ +model SiteConfigPropertiesDictionary { + /** + * true if use32BitWorkerProcess should be set to true for the stack; otherwise, false. + */ + @visibility(Lifecycle.Read) + use32BitWorkerProcess?: boolean; + + /** + * LinuxFxVersion configuration setting. + */ + @visibility(Lifecycle.Read) + linuxFxVersion?: string; + + /** + * JavaVersion configuration setting. + */ + @visibility(Lifecycle.Read) + javaVersion?: string; + + /** + * PowerShellVersion configuration setting. + */ + @visibility(Lifecycle.Read) + powerShellVersion?: string; +} + +/** + * Collection of Web app Stacks + */ +model WebAppStackCollection is Azure.Core.Page; + +/** + * Web App stack. + */ +#suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model WebAppStack extends ProxyOnlyResource { + /** + * Web App stack location. + */ + @visibility(Lifecycle.Read) + location?: string; + + /** + * WebAppStack resource specific properties + */ + #suppress "@azure-tools/typespec-azure-core/no-private-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + properties?: WebAppStackProperties; +} + +/** + * WebAppStack resource specific properties + */ +model WebAppStackProperties { + /** + * Web App stack (display only). + */ + @visibility(Lifecycle.Read) + displayText?: string; + + /** + * Web App stack name. + */ + @visibility(Lifecycle.Read) + value?: string; + + /** + * List of major versions available. + */ + @visibility(Lifecycle.Read) + @identifiers(#["value"]) + majorVersions?: WebAppMajorVersion[]; + + /** + * Web App stack preferred OS. + */ + @visibility(Lifecycle.Read) + preferredOs?: StackPreferredOs; +} + +/** + * Web App stack major version. + */ +model WebAppMajorVersion { + /** + * Web App stack major version (display only). + */ + @visibility(Lifecycle.Read) + displayText?: string; + + /** + * Web App stack major version name. + */ + @visibility(Lifecycle.Read) + value?: string; + + /** + * Minor versions associated with the major version. + */ + @visibility(Lifecycle.Read) + @identifiers(#["value"]) + minorVersions?: WebAppMinorVersion[]; +} + +/** + * Web App stack minor version. + */ +model WebAppMinorVersion { + /** + * Web App stack minor version (display only). + */ + @visibility(Lifecycle.Read) + displayText?: string; + + /** + * Web App stack major version name. + */ + @visibility(Lifecycle.Read) + value?: string; + + /** + * Settings associated with the minor version. + */ + @visibility(Lifecycle.Read) + stackSettings?: WebAppRuntimes; +} + +/** + * Web App stack runtimes. + */ +model WebAppRuntimes { + /** + * Linux-specific settings associated with the minor version. + */ + @visibility(Lifecycle.Read) + linuxRuntimeSettings?: WebAppRuntimeSettings; + + /** + * Windows-specific settings associated with the minor version. + */ + @visibility(Lifecycle.Read) + windowsRuntimeSettings?: WebAppRuntimeSettings; + + /** + * Linux-specific settings associated with the Java container minor version. + */ + @visibility(Lifecycle.Read) + linuxContainerSettings?: LinuxJavaContainerSettings; + + /** + * Windows-specific settings associated with the Java container minor version. + */ + @visibility(Lifecycle.Read) + windowsContainerSettings?: WindowsJavaContainerSettings; +} + +/** + * Web App runtime settings. + */ +model WebAppRuntimeSettings { + /** + * Web App stack minor version (runtime only). + */ + @visibility(Lifecycle.Read) + runtimeVersion?: string; + + /** + * true if remote debugging is supported for the stack; otherwise, false. + */ + @visibility(Lifecycle.Read) + remoteDebuggingSupported?: boolean; + + /** + * Application Insights settings associated with the minor version. + */ + @visibility(Lifecycle.Read) + appInsightsSettings?: AppInsightsWebAppStackSettings; + + /** + * GitHub Actions settings associated with the minor version. + */ + @visibility(Lifecycle.Read) + gitHubActionSettings?: GitHubActionWebAppStackSettings; + + /** + * true if the stack is in preview; otherwise, false. + */ + @visibility(Lifecycle.Read) + isPreview?: boolean; + + /** + * true if the stack is deprecated; otherwise, false. + */ + @visibility(Lifecycle.Read) + isDeprecated?: boolean; + + /** + * true if the stack should be hidden; otherwise, false. + */ + @visibility(Lifecycle.Read) + isHidden?: boolean; + + /** + * End-of-life date for the minor version. + */ + @visibility(Lifecycle.Read) + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + endOfLifeDate?: utcDateTime; + + /** + * true if the stack version is auto-updated; otherwise, false. + */ + @visibility(Lifecycle.Read) + isAutoUpdate?: boolean; + + /** + * true if the minor version is early-access; otherwise, false. + */ + @visibility(Lifecycle.Read) + isEarlyAccess?: boolean; +} + +/** + * Linux Java Container settings. + */ +model LinuxJavaContainerSettings { + /** + * Java 11 version (runtime only). + */ + @visibility(Lifecycle.Read) + java11Runtime?: string; + + /** + * Java 8 version (runtime only). + */ + @visibility(Lifecycle.Read) + java8Runtime?: string; + + /** + * true if the stack is in preview; otherwise, false. + */ + @visibility(Lifecycle.Read) + isPreview?: boolean; + + /** + * true if the stack is deprecated; otherwise, false. + */ + @visibility(Lifecycle.Read) + isDeprecated?: boolean; + + /** + * true if the stack should be hidden; otherwise, false. + */ + @visibility(Lifecycle.Read) + isHidden?: boolean; + + /** + * End-of-life date for the minor version. + */ + @visibility(Lifecycle.Read) + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + endOfLifeDate?: utcDateTime; + + /** + * true if the stack version is auto-updated; otherwise, false. + */ + @visibility(Lifecycle.Read) + isAutoUpdate?: boolean; + + /** + * true if the minor version is early-access; otherwise, false. + */ + @visibility(Lifecycle.Read) + isEarlyAccess?: boolean; +} + +/** + * Windows Java Container settings. + */ +model WindowsJavaContainerSettings { + /** + * Java container (runtime only). + */ + @visibility(Lifecycle.Read) + javaContainer?: string; + + /** + * Java container version (runtime only). + */ + @visibility(Lifecycle.Read) + javaContainerVersion?: string; + + /** + * true if the stack is in preview; otherwise, false. + */ + @visibility(Lifecycle.Read) + isPreview?: boolean; + + /** + * true if the stack is deprecated; otherwise, false. + */ + @visibility(Lifecycle.Read) + isDeprecated?: boolean; + + /** + * true if the stack should be hidden; otherwise, false. + */ + @visibility(Lifecycle.Read) + isHidden?: boolean; + + /** + * End-of-life date for the minor version. + */ + @visibility(Lifecycle.Read) + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + endOfLifeDate?: utcDateTime; + + /** + * true if the stack version is auto-updated; otherwise, false. + */ + @visibility(Lifecycle.Read) + isAutoUpdate?: boolean; + + /** + * true if the minor version is early-access; otherwise, false. + */ + @visibility(Lifecycle.Read) + isEarlyAccess?: boolean; +} + +/** + * Collection of Azure resource manager operation metadata. + */ +model CsmOperationCollection { + /** + * Collection of resources. + */ + @pageItems + @identifiers(#["name"]) + value: CsmOperationDescription[]; + + /** + * Link to next page of resources. + */ + @doc("Link to next page of resources.") + @visibility(Lifecycle.Read) + @nextLink + nextLink?: string; +} + +/** + * Description of an operation available for Microsoft.Web resource provider. + */ +model CsmOperationDescription { + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + name?: string; + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + isDataAction?: boolean; + + /** + * Meta data about operation used for display in portal. + */ + display?: CsmOperationDisplay; + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + origin?: string; + + /** + * Properties available for a Microsoft.Web resource provider operation. + */ + properties?: CsmOperationDescriptionProperties; +} + +/** + * Meta data about operation used for display in portal. + */ +model CsmOperationDisplay { + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + provider?: string; + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + resource?: string; + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + operation?: string; + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + description?: string; +} + +/** + * Properties available for a Microsoft.Web resource provider operation. + */ +model CsmOperationDescriptionProperties { + /** + * Resource metrics service provided by Microsoft.Insights resource provider. + */ + serviceSpecification?: ServiceSpecification; +} + +/** + * Resource metrics service provided by Microsoft.Insights resource provider. + */ +model ServiceSpecification { + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @identifiers(#["name"]) + metricSpecifications?: MetricSpecification[]; + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @identifiers(#["name"]) + logSpecifications?: LogSpecification[]; +} + +/** + * Definition of a single resource metric. + */ +model MetricSpecification { + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + name?: string; + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + displayName?: string; + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + displayDescription?: string; + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + unit?: string; + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + aggregationType?: string; + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + supportsInstanceLevelAggregation?: boolean; + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + enableRegionalMdmAccount?: boolean; + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + sourceMdmAccount?: string; + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + sourceMdmNamespace?: string; + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + metricFilterPattern?: string; + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + fillGapWithZero?: boolean; + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + isInternal?: boolean; + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @identifiers(#["name"]) + dimensions?: Dimension[]; + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + category?: string; + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @identifiers(#[]) + availabilities?: MetricAvailability[]; + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + supportedTimeGrainTypes?: string[]; + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + supportedAggregationTypes?: string[]; +} + +/** + * Dimension of a resource metric. For e.g. instance specific HTTP requests for a web app, + * where instance name is dimension of the metric HTTP request + */ +model Dimension { + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + name?: string; + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + displayName?: string; + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + internalName?: string; + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + toBeExportedForShoebox?: boolean; +} + +/** + * Retention policy of a resource metric. + */ +model MetricAvailability { + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + timeGrain?: string; + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + blobDuration?: string; +} + +/** + * Log Definition of a single resource metric. + */ +model LogSpecification { + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + name?: string; + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + displayName?: string; + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + blobDuration?: string; + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + logFilterPattern?: string; +} + +/** + * Collection of recommendations. + */ +model RecommendationCollection is Azure.Core.Page; + +/** + * Represents a recommendation result generated by the recommendation engine. + */ +#suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model Recommendation extends ProxyOnlyResource { + /** + * Recommendation resource specific properties + */ + #suppress "@azure-tools/typespec-azure-core/no-private-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + properties?: RecommendationProperties; +} + +/** + * Recommendation resource specific properties + */ +model RecommendationProperties { + /** + * Timestamp when this instance was created. + */ + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + creationTime?: utcDateTime; + + /** + * A GUID value that each recommendation object is associated with. + */ + #suppress "@azure-tools/typespec-azure-core/no-format" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @format("uuid") + recommendationId?: string; + + /** + * Full ARM resource ID string that this recommendation object is associated with. + */ + resourceId?: string; + + /** + * Name of a resource type this recommendation applies, e.g. Subscription, ServerFarm, Site. + */ + resourceScope?: ResourceScopeType; + + /** + * Unique name of the rule. + */ + ruleName?: string; + + /** + * UI friendly name of the rule (may not be unique). + */ + displayName?: string; + + /** + * Recommendation text. + */ + message?: string; + + /** + * Level indicating how critical this recommendation can impact. + */ + level?: NotificationLevel; + + /** + * List of channels that this recommendation can apply. + */ + channels?: Channels; + + /** + * The list of category tags that this recommendation belongs to. + */ + @visibility(Lifecycle.Read) + categoryTags?: string[]; + + /** + * Name of action recommended by this object. + */ + actionName?: string; + + /** + * True if this recommendation is still valid (i.e. "actionable"). False if it is invalid. + */ + enabled?: int32; + + /** + * The list of states of this recommendation. If it's null then it should be considered "Active". + */ + states?: string[]; + + /** + * The beginning time in UTC of a range that the recommendation refers to. + */ + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + startTime?: utcDateTime; + + /** + * The end time in UTC of a range that the recommendation refers to. + */ + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + endTime?: utcDateTime; + + /** + * When to notify this recommendation next in UTC. Null means that this will never be notified anymore. + */ + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + nextNotificationTime?: utcDateTime; + + /** + * Date and time in UTC when this notification expires. + */ + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + notificationExpirationTime?: utcDateTime; + + /** + * Last timestamp in UTC this instance was actually notified. Null means that this recommendation hasn't been notified yet. + */ + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + notifiedTime?: utcDateTime; + + /** + * A metric value measured by the rule. + */ + score?: float64; + + /** + * True if this is associated with a dynamically added rule + */ + isDynamic?: boolean; + + /** + * Extension name of the portal if exists. + */ + extensionName?: string; + + /** + * Deep link to a blade on the portal. + */ + bladeName?: string; + + /** + * Forward link to an external document associated with the rule. + */ + forwardLink?: string; +} + +/** + * RecommendationRule resource specific properties + */ +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model RecommendationRuleProperties { + /** + * Unique name of the rule. + */ + recommendationName?: string; + + /** + * UI friendly name of the rule. + */ + displayName?: string; + + /** + * Localized name of the rule (Good for UI). + */ + message?: string; + + /** + * Recommendation ID of an associated recommendation object tied to the rule, if exists. + * If such an object doesn't exist, it is set to null. + */ + #suppress "@azure-tools/typespec-azure-core/no-format" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @format("uuid") + recommendationId?: string; + + /** + * Localized detailed description of the rule. + */ + description?: string; + + /** + * Name of action that is recommended by this rule in string. + */ + actionName?: string; + + /** + * Level of impact indicating how critical this rule is. + */ + level?: NotificationLevel; + + /** + * List of available channels that this rule applies. + */ + channels?: Channels; + + /** + * The list of category tags that this recommendation rule belongs to. + */ + @visibility(Lifecycle.Read) + categoryTags?: string[]; + + /** + * True if this is associated with a dynamically added rule + */ + isDynamic?: boolean; + + /** + * Extension name of the portal if exists. Applicable to dynamic rule only. + */ + extensionName?: string; + + /** + * Deep link to a blade on the portal. Applicable to dynamic rule only. + */ + bladeName?: string; + + /** + * Forward link to an external document associated with the rule. Applicable to dynamic rule only. + */ + forwardLink?: string; +} + +/** + * Collection of resource health metadata. + */ +model ResourceHealthMetadataCollection + is Azure.Core.Page; + +/** + * ResourceHealthMetadata resource specific properties + */ +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model ResourceHealthMetadataProperties { + /** + * The category that the resource matches in the RHC Policy File + */ + category?: string; + + /** + * Is there a health signal for the resource + */ + signalAvailability?: boolean; +} + +/** + * User resource specific properties + */ +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model UserProperties { + /** + * Username used for publishing. + */ + publishingUserName: string; + + /** + * Password used for publishing. + */ + @secret + publishingPassword?: string; + + /** + * Password hash used for publishing. + */ + @secret + publishingPasswordHash?: string; + + /** + * Password hash salt used for publishing. + */ + @secret + publishingPasswordHashSalt?: string; + + /** + * Url of SCM site. + */ + scmUri?: string; +} + +/** + * Collection of source controls. + */ +model SourceControlCollection is Azure.Core.Page; + +/** + * SourceControl resource specific properties + */ +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model SourceControlProperties { + /** + * OAuth access token. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/secret-prop" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + token?: string; + + /** + * OAuth access token secret. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/secret-prop" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + tokenSecret?: string; + + /** + * OAuth refresh token. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/secret-prop" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + refreshToken?: string; + + /** + * OAuth token expiration. + */ + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + expirationTime?: utcDateTime; +} + +/** + * Collection of Billing Meters + */ +model BillingMeterCollection is Azure.Core.Page; + +/** + * App Service billing entity that contains information about meter which the Azure billing system utilizes to charge users for services. + */ +#suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model BillingMeter extends ProxyOnlyResource { + /** + * BillingMeter resource specific properties + */ + #suppress "@azure-tools/typespec-azure-core/no-private-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + properties?: BillingMeterProperties; +} + +/** + * BillingMeter resource specific properties + */ +model BillingMeterProperties { + /** + * Meter GUID onboarded in Commerce + */ + meterId?: string; + + /** + * Azure Location of billable resource + */ + billingLocation?: string; + + /** + * Short Name from App Service Azure pricing Page + */ + shortName?: string; + + /** + * Friendly name of the meter + */ + friendlyName?: string; + + /** + * App Service ResourceType meter used for + */ + resourceType?: string; + + /** + * App Service OS type meter used for + */ + osType?: string; + + /** + * Meter Multiplier + */ + multiplier?: float64; +} + +/** + * Resource name availability request content. + */ +model ResourceNameAvailabilityRequest { + /** + * Resource name to verify. + */ + name: string; + + /** + * Resource type used for verification. + */ + type: CheckNameResourceTypes; + + /** + * Is fully qualified domain name. + */ + isFqdn?: boolean; + + /** + * Azure Resource Manager ID of the customer's selected Container Apps Environment on which to host the Function app. This must be of the form /subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.App/managedEnvironments/{managedEnvironmentName} + */ + environmentId?: string; +} + +/** + * Information regarding availability of a resource name. + */ +model ResourceNameAvailability { + /** + * true indicates name is valid and available. false indicates the name is invalid, unavailable, or both. + */ + nameAvailable?: boolean; + + /** + * 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. + */ + reason?: InAvailabilityReasonType; + + /** + * 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. + */ + message?: string; +} + +/** + * Collection of custom hostname sites + */ +model CustomHostnameSitesCollection is Azure.Core.Page; + +/** + * A hostname and its assigned sites + */ +#suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model CustomHostnameSites extends ProxyOnlyResource { + /** + * CustomHostnameSites resource specific properties + */ + #suppress "@azure-tools/typespec-azure-core/no-private-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + properties?: CustomHostnameSitesProperties; +} + +/** + * CustomHostnameSites resource specific properties + */ +model CustomHostnameSitesProperties { + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + customHostname?: string; + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + region?: string; + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + siteResourceIds?: Identifier[]; +} + +/** + * Identifier resource specific properties + */ +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-duplicate-property" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model IdentifierProperties { + /** + * String representation of the identity. + */ + id?: string; +} + +/** + * List of available locations (regions or App Service Environments) for + * deployment of App Service resources. + */ +model DeploymentLocations { + /** + * Available regions. + */ + locations?: GeoRegion[]; + + /** + * Available App Service Environments with full descriptions of the environments. + */ + @identifiers(#[]) + hostingEnvironments?: AppServiceEnvironment[]; + + /** + * Available App Service Environments with basic information. + */ + @identifiers(#["name"]) + hostingEnvironmentDeploymentInfos?: HostingEnvironmentDeploymentInfo[]; +} + +/** + * Geographical region. + */ +#suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model GeoRegion extends ProxyOnlyResource { + /** + * GeoRegion resource specific properties + */ + #suppress "@azure-tools/typespec-azure-core/no-private-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + properties?: GeoRegionProperties; +} + +/** + * GeoRegion resource specific properties + */ +model GeoRegionProperties { + /** + * Region description. + */ + @visibility(Lifecycle.Read) + description?: string; + + /** + * Display name for region. + */ + @visibility(Lifecycle.Read) + displayName?: string; + + /** + * Display name for region. + */ + @visibility(Lifecycle.Read) + orgDomain?: string; +} + +/** + * Information needed to create resources on an App Service Environment. + */ +model HostingEnvironmentDeploymentInfo { + /** + * Name of the App Service Environment. + */ + name?: string; + + /** + * Location of the App Service Environment. + */ + location?: string; +} + +/** + * Collection of ASE regions. + */ +model AseRegionCollection is Azure.Core.Page; + +/** + * ASE region. + */ +#suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model AseRegion extends ProxyOnlyResource { + /** + * ASE region resource specific properties + */ + #suppress "@azure-tools/typespec-azure-core/no-private-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + properties?: AseRegionProperties; +} + +/** + * ASE region resource specific properties + */ +model AseRegionProperties { + /** + * Display name for region. + */ + @visibility(Lifecycle.Read) + displayName?: string; + + /** + * Is region standard. + */ + @visibility(Lifecycle.Read) + standard?: boolean; + + /** + * Dedicated host enabled. + */ + @visibility(Lifecycle.Read) + dedicatedHost?: boolean; + + /** + * Zone redundant deployment enabled. + */ + @visibility(Lifecycle.Read) + zoneRedundant?: boolean; + + /** + * Available Skus in region. + */ + availableSku?: string[]; + + /** + * Available OSs in region. + */ + #suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + availableOS?: string[]; +} + +/** + * Collection of geographical regions. + */ +model GeoRegionCollection is Azure.Core.Page; + +/** + * Identifies an object. + */ +model NameIdentifier { + /** + * Name of the object. + */ + name?: string; +} + +/** + * Collection of identifiers. + */ +model IdentifierCollection is Azure.Core.Page; + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model DnlResourceNameAvailabilityRequest { + /** + * Resource group name + */ + resourceGroupName?: string; + + /** + * Indicates the endpoint name reuse scope.The default value is TenantReuse. + * Supported values are TenantReuse, SubscriptionReuse, ResourceGroupReuse, NoReuse + */ + autoGeneratedDomainNameLabelScope?: string; + + /** + * Resource name to verify. + */ + name: string; + + /** + * Resource type used for verification. + */ + type: CheckNameResourceTypes; +} + +/** + * Information regarding availability of a resource name for DNL apps with regionalized default hostnames. + */ +model DnlResourceNameAvailability { + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + hostName?: string; + + /** + * true indicates name is valid and available. false indicates the name is invalid, unavailable, or both. + */ + nameAvailable?: boolean; + + /** + * 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. + */ + reason?: InAvailabilityReasonType; + + /** + * 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. + */ + message?: string; +} + +/** + * Collection of premier add-on offers. + */ +model PremierAddOnOfferCollection is Azure.Core.Page; + +/** + * Premier add-on offer. + */ +#suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model PremierAddOnOffer extends ProxyOnlyResource { + /** + * PremierAddOnOffer resource specific properties + */ + #suppress "@azure-tools/typespec-azure-core/no-private-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + properties?: PremierAddOnOfferProperties; +} + +/** + * PremierAddOnOffer resource specific properties + */ +model PremierAddOnOfferProperties { + /** + * Premier add on SKU. + */ + sku?: string; + + /** + * Premier add on offer Product. + */ + product?: string; + + /** + * Premier add on offer Vendor. + */ + vendor?: string; + + /** + * true if promotion code is required; otherwise, false. + */ + promoCodeRequired?: boolean; + + /** + * Premier add on offer Quota. + */ + quota?: int32; + + /** + * App Service plans this offer is restricted to. + */ + webHostingPlanRestrictions?: AppServicePlanRestrictions; + + /** + * Privacy policy URL. + */ + privacyPolicyUrl?: string; + + /** + * Legal terms URL. + */ + legalTermsUrl?: string; + + /** + * Marketplace publisher. + */ + marketplacePublisher?: string; + + /** + * Marketplace offer. + */ + marketplaceOffer?: string; +} + +/** + * Collection of SKU information. + */ +model SkuInfos { + /** + * Resource type that this SKU applies to. + */ + resourceType?: string; + + /** + * List of SKUs the subscription is able to use. + */ + @identifiers(#["name"]) + skus?: GlobalCsmSkuDescription[]; +} + +/** + * A Global SKU Description. + */ +model GlobalCsmSkuDescription { + /** + * Name of the resource SKU. + */ + name?: string; + + /** + * Service Tier of the resource SKU. + */ + tier?: string; + + /** + * Size specifier of the resource SKU. + */ + size?: string; + + /** + * Family code of the resource SKU. + */ + family?: string; + + /** + * Min, max, and default scale values of the SKU. + */ + capacity?: SkuCapacity; + + /** + * Locations of the SKU. + */ + locations?: string[]; + + /** + * Capabilities of the SKU, e.g., is traffic manager enabled? + */ + @identifiers(#["name"]) + capabilities?: Capability[]; +} + +/** + * The required set of inputs to validate a VNET + */ +#suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model VnetParameters extends ProxyOnlyResource { + /** + * VnetParameters resource specific properties + */ + #suppress "@azure-tools/typespec-azure-core/no-private-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + properties?: VnetParametersProperties; +} + +/** + * VnetParameters resource specific properties + */ +model VnetParametersProperties { + /** + * The Resource Group of the VNET to be validated + */ + vnetResourceGroup?: string; + + /** + * The name of the VNET to be validated + */ + vnetName?: string; + + /** + * The subnet name to be validated + */ + vnetSubnetName?: string; + + /** + * The ARM Resource ID of the subnet to validate + */ + subnetResourceId?: string; +} + +/** + * A class that describes the reason for a validation failure. + */ +#suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model VnetValidationFailureDetails extends ProxyOnlyResource { + /** + * VnetValidationFailureDetails resource specific properties + */ + #suppress "@azure-tools/typespec-azure-core/no-private-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + properties?: VnetValidationFailureDetailsProperties; +} + +/** + * VnetValidationFailureDetails resource specific properties + */ +model VnetValidationFailureDetailsProperties { + /** + * Text describing the validation outcome. + */ + message?: string; + + /** + * A flag describing whether or not validation failed. + */ + failed?: boolean; + + /** + * A list of tests that failed in the validation. + */ + failedTests?: VnetValidationTestFailure[]; + + /** + * A list of warnings generated during validation. + */ + warnings?: VnetValidationTestFailure[]; +} + +/** + * A class that describes a test that failed during NSG and UDR validation. + */ +#suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model VnetValidationTestFailure extends ProxyOnlyResource { + /** + * VnetValidationTestFailure resource specific properties + */ + #suppress "@azure-tools/typespec-azure-core/no-private-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + properties?: VnetValidationTestFailureProperties; +} + +/** + * VnetValidationTestFailure resource specific properties + */ +model VnetValidationTestFailureProperties { + /** + * The name of the test that failed. + */ + testName?: string; + + /** + * The details of what caused the failure, e.g. the blocking rule name, etc. + */ + details?: string; +} + +/** + * Object with a list of the resources that need to be moved and the resource group they should be moved to. + */ +model CsmMoveResourceEnvelope { + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @maxLength(90) + @minLength(1) + @pattern(" ^[-\\w\\._\\(\\)]+[^\\.]$") + targetResourceGroup?: string; + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + resources?: string[]; +} + +/** + * Resource validation request content. + */ +model ValidateRequest { + /** + * Resource name to verify. + */ + name: string; + + /** + * Resource type used for verification. + */ + type: ValidateResourceTypes; + + /** + * Expected location of the resource. + */ + location: string; + + /** + * Properties of the resource to validate. + */ + #suppress "@azure-tools/typespec-azure-core/no-private-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + properties: ValidateProperties; +} + +/** + * App properties used for validation. + */ +model ValidateProperties { + /** + * ARM resource ID of an App Service plan that would host the app. + */ + serverFarmId?: string; + + /** + * Name of the target SKU for the App Service plan. + */ + skuName?: string; + + /** + * true if App Service plan is for Linux workers; otherwise, false. + */ + needLinuxWorkers?: boolean; + + /** + * true if App Service plan is for Spot instances; otherwise, false. + */ + isSpot?: boolean; + + /** + * Target capacity of the App Service plan (number of VMs). + */ + @minValue(1) + capacity?: int32; + + /** + * Name of App Service Environment where app or App Service plan should be created. + */ + hostingEnvironment?: string; + + /** + * true if App Service plan is running as a windows container + */ + isXenon?: boolean; + + /** + * Base URL of the container registry + */ + containerRegistryBaseUrl?: string; + + /** + * Username for to access the container registry + */ + containerRegistryUsername?: string; + + /** + * Password for to access the container registry + */ + containerRegistryPassword?: string; + + /** + * Repository name (image name) + */ + containerImageRepository?: string; + + /** + * Image tag + */ + containerImageTag?: string; + + /** + * Platform (windows or linux) + */ + containerImagePlatform?: string; + + /** + * App Service Environment Properties + */ + appServiceEnvironment?: AppServiceEnvironment; +} + +/** + * Describes the result of resource validation. + */ +model ValidateResponse { + /** + * Result of validation. + */ + status?: string; + + /** + * Error details for the case when validation fails. + */ + error?: ValidateResponseError; +} + +/** + * Error details for when validation fails. + */ +model ValidateResponseError { + /** + * Validation error code. + */ + code?: string; + + /** + * Validation error message. + */ + message?: string; +} + +/** + * Request entity for previewing the Static Site workflow + */ +#suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model StaticSitesWorkflowPreviewRequest extends ProxyOnlyResource { + /** + * StaticSitesWorkflowPreviewRequest resource specific properties + */ + #suppress "@azure-tools/typespec-azure-core/no-private-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + properties?: StaticSitesWorkflowPreviewRequestProperties; +} + +/** + * StaticSitesWorkflowPreviewRequest resource specific properties + */ +model StaticSitesWorkflowPreviewRequestProperties { + /** + * 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; +} + +/** + * Build properties for the static site. + */ +model StaticSiteBuildProperties { + /** + * The path to the app code within the repository. + */ + appLocation?: string; + + /** + * The path to the api code within the repository. + */ + apiLocation?: string; + + /** + * Deprecated: The path of the app artifacts after building (deprecated in favor of OutputLocation) + */ + appArtifactLocation?: string; + + /** + * The output path of the app after building. + */ + outputLocation?: string; + + /** + * A custom command to run during deployment of the static content application. + */ + appBuildCommand?: string; + + /** + * A custom command to run during deployment of the Azure Functions API application. + */ + apiBuildCommand?: string; + + /** + * Skip Github Action workflow generation. + */ + skipGithubActionWorkflowGeneration?: boolean; + + /** + * Github Action secret name override. + */ + githubActionSecretNameOverride?: string; +} + +/** + * Preview for the Static Site Workflow to be generated + */ +#suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model StaticSitesWorkflowPreview extends ProxyOnlyResource { + /** + * StaticSitesWorkflowPreview resource specific properties + */ + #suppress "@azure-tools/typespec-azure-core/no-private-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + properties?: StaticSitesWorkflowPreviewProperties; +} + +/** + * StaticSitesWorkflowPreview resource specific properties + */ +model StaticSitesWorkflowPreviewProperties { + /** + * The path for the workflow file to be generated + */ + @visibility(Lifecycle.Read) + path?: string; + + /** + * The contents for the workflow file to be generated + */ + @visibility(Lifecycle.Read) + contents?: string; +} + +/** + * Collection of static sites. + */ +model StaticSiteCollection is Azure.Core.Page; + +/** + * A static site. + */ +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model StaticSite { + /** + * The default autogenerated hostname for the static site. + */ + @visibility(Lifecycle.Read) + defaultHostname?: string; + + /** + * URL for the repository of the static site. + */ + repositoryUrl?: string; + + /** + * The target branch in the repository. + */ + branch?: string; + + /** + * The custom domains associated with this static site. + */ + @visibility(Lifecycle.Read) + customDomains?: string[]; + + /** + * A user's github repository token. This is used to setup the Github Actions workflow file and API secrets. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/secret-prop" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + repositoryToken?: string; + + /** + * Build properties to configure on the repository. + */ + buildProperties?: StaticSiteBuildProperties; + + /** + * Private endpoint connections + */ + @visibility(Lifecycle.Read) + privateEndpointConnections?: ResponseMessageEnvelopeRemotePrivateEndpointConnection[]; + + /** + * State indicating whether staging environments are allowed or not allowed for a static web app. + */ + stagingEnvironmentPolicy?: StagingEnvironmentPolicy; + + /** + * false if config file is locked for this static web app; otherwise, true. + */ + allowConfigFileUpdates?: boolean; + + /** + * Template options for generating a new repository. + */ + templateProperties?: StaticSiteTemplateOptions; + + /** + * The content distribution endpoint for the static site. + */ + @visibility(Lifecycle.Read) + contentDistributionEndpoint?: string; + + /** + * Identity to use for Key Vault Reference authentication. + */ + @visibility(Lifecycle.Read) + keyVaultReferenceIdentity?: string; + + /** + * User provided function apps registered with the static site + */ + @visibility(Lifecycle.Read) + userProvidedFunctionApps?: StaticSiteUserProvidedFunctionApp[]; + + /** + * Backends linked to the static side + */ + @visibility(Lifecycle.Read) + @identifiers(#[]) + linkedBackends?: StaticSiteLinkedBackend[]; + + /** + * The provider that submitted the last deployment to the primary environment of the static site. + */ + provider?: string; + + /** + * State indicating the status of the enterprise grade CDN serving traffic to the static web app. + */ + enterpriseGradeCdnStatus?: EnterpriseGradeCdnStatus; + + /** + * State indicating whether public traffic are allowed or not for a static web app. Allowed Values: 'Enabled', 'Disabled' or an empty string. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/secret-prop" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + publicNetworkAccess?: string; + + /** + * Database connections for the static site + */ + @visibility(Lifecycle.Read) + @identifiers(#["name"]) + databaseConnections?: DatabaseConnectionOverview[]; +} + +/** + * Message envelope that contains the common Azure resource manager properties and the resource provider specific content. + */ +model ResponseMessageEnvelopeRemotePrivateEndpointConnection { + /** + * 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} + */ + id?: string; + + /** + * Name of resource. + */ + name?: string; + + /** + * Type of resource e.g "Microsoft.Web/sites". + */ + type?: string; + + /** + * Geographical region resource belongs to e.g. SouthCentralUS, SouthEastAsia. + */ + location?: string; + + /** + * Tags associated with resource. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-no-record" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + tags?: Record; + + /** + * Azure resource manager plan. + */ + plan?: ArmPlan; + + /** + * Resource specific properties. + */ + properties?: RemotePrivateEndpointConnection; + + /** + * SKU description of the resource. + */ + sku?: SkuDescription; + + /** + * Azure-AsyncOperation Status info. + */ + status?: string; + + /** + * Azure-AsyncOperation Error info. + */ + error?: ErrorEntity; + + /** + * MSI resource + */ + identity?: ManagedServiceIdentity; + + /** + * Logical Availability Zones the service is hosted in + */ + zones?: string[]; +} + +/** + * The plan object in Azure Resource Manager, represents a marketplace plan. + */ +model ArmPlan { + /** + * The name. + */ + name?: string; + + /** + * The publisher. + */ + publisher?: string; + + /** + * The product. + */ + product?: string; + + /** + * The promotion code. + */ + promotionCode?: string; + + /** + * Version of product. + */ + version?: string; +} + +/** + * A remote private endpoint connection + */ +#suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model RemotePrivateEndpointConnection extends ProxyOnlyResource { + /** + * RemotePrivateEndpointConnection resource specific properties + */ + #suppress "@azure-tools/typespec-azure-core/no-private-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + properties?: RemotePrivateEndpointConnectionProperties; +} + +/** + * RemotePrivateEndpointConnection resource specific properties + */ +model RemotePrivateEndpointConnectionProperties { + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @visibility(Lifecycle.Read) + provisioningState?: string; + + /** + * PrivateEndpoint of a remote private endpoint connection + */ + privateEndpoint?: ArmIdWrapper; + + /** + * The state of a private link connection + */ + privateLinkServiceConnectionState?: PrivateLinkConnectionState; + + /** + * Private IPAddresses mapped to the remote private endpoint + */ + ipAddresses?: string[]; +} + +/** + * Template Options for the static site. + */ +model StaticSiteTemplateOptions { + /** + * URL of the template repository. The newly generated repository will be based on this one. + */ + templateRepositoryUrl?: string; + + /** + * Owner of the newly generated repository. + */ + owner?: string; + + /** + * Name of the newly generated repository. + */ + repositoryName?: string; + + /** + * Description of the newly generated repository. + */ + description?: string; + + /** + * Whether or not the newly generated repository is a private repository. Defaults to false (i.e. public). + */ + isPrivate?: boolean; +} + +/** + * A static site user provided function. + */ +#suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model StaticSiteUserProvidedFunctionApp extends ProxyOnlyResource { + /** + * StaticSiteUserProvidedFunctionApp resource specific properties + */ + #suppress "@azure-tools/typespec-azure-core/no-private-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + properties?: StaticSiteUserProvidedFunctionAppProperties; +} + +/** + * StaticSiteUserProvidedFunctionApp resource specific properties + */ +model StaticSiteUserProvidedFunctionAppProperties { + /** + * The resource id of the function app registered with the static site + */ + functionAppResourceId?: string; + + /** + * The region of the function app registered with the static site + */ + functionAppRegion?: string; + + /** + * The date and time on which the function app was registered with the static site. + */ + @visibility(Lifecycle.Read) + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + createdOn?: utcDateTime; +} + +/** + * Static Site Linked Backend ARM resource. + */ +model StaticSiteLinkedBackend { + /** + * The resource id of the backend linked to the static site + */ + backendResourceId?: string; + + /** + * The region of the backend linked to the static site + */ + region?: string; + + /** + * The date and time on which the backend was linked to the static site. + */ + @visibility(Lifecycle.Read) + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + createdOn?: utcDateTime; + + /** + * The provisioning state of the linking process. + */ + @visibility(Lifecycle.Read) + provisioningState?: string; +} + +/** + * Static Site Database Connection overview. + */ +model DatabaseConnectionOverview { + /** + * The resource id of the database. + */ + @visibility(Lifecycle.Read) + resourceId?: string; + + /** + * If present, the identity is used in conjunction with connection string to connect to the database. Use of the system-assigned managed identity is indicated with the string 'SystemAssigned', while use of a user-assigned managed identity is indicated with the resource id of the managed identity resource. + */ + @visibility(Lifecycle.Read) + connectionIdentity?: string; + + /** + * The region of the database resource. + */ + @visibility(Lifecycle.Read) + region?: string; + + /** + * A list of configuration files associated with this database connection. + */ + @visibility(Lifecycle.Read) + @identifiers(#["fileName"]) + configurationFiles?: StaticSiteDatabaseConnectionConfigurationFileOverview[]; + + /** + * If present, the name of this database connection resource. + */ + @visibility(Lifecycle.Read) + name?: string; +} + +/** + * A database connection configuration file + */ +model StaticSiteDatabaseConnectionConfigurationFileOverview { + /** + * The name of the configuration file. + */ + @visibility(Lifecycle.Read) + fileName?: string; + + /** + * The Base64 encoding of the file contents. + */ + @visibility(Lifecycle.Read) + contents?: string; + + /** + * The type of configuration file. + */ + @visibility(Lifecycle.Read) + type?: string; +} + +/** + * ARM resource for a static site when patching + */ +#suppress "@azure-tools/typespec-azure-resource-manager/patch-envelope" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model StaticSitePatchResource extends ProxyOnlyResource { + /** + * Core resource properties + */ + #suppress "@azure-tools/typespec-azure-core/no-private-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + properties?: StaticSite; +} + +/** + * Collection of static site custom users. + */ +model StaticSiteUserCollection is Azure.Core.Page; + +/** + * Static Site User ARM resource. + */ +#suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model StaticSiteUserARMResource extends ProxyOnlyResource { + /** + * StaticSiteUserARMResource resource specific properties + */ + #suppress "@azure-tools/typespec-azure-core/no-private-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + properties?: StaticSiteUserARMResourceProperties; +} + +/** + * StaticSiteUserARMResource resource specific properties + */ +#suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model StaticSiteUserARMResourceProperties { + /** + * The identity provider for the static site user. + */ + @visibility(Lifecycle.Read) + provider?: string; + + /** + * The user id for the static site user. + */ + @visibility(Lifecycle.Read) + userId?: string; + + /** + * The display name for the static site user. + */ + @visibility(Lifecycle.Read) + displayName?: string; + + /** + * The roles for the static site user, in free-form string format + */ + roles?: string; +} + +/** + * Collection of static site builds. + */ +model StaticSiteBuildCollection is Azure.Core.Page; + +/** + * StaticSiteBuildARMResource resource specific properties + */ +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model StaticSiteBuildARMResourceProperties { + /** + * An identifier for the static site build. + */ + @visibility(Lifecycle.Read) + buildId?: string; + + /** + * The source branch. + */ + @visibility(Lifecycle.Read) + sourceBranch?: string; + + /** + * The title of a pull request that a static site build is related to. + */ + @visibility(Lifecycle.Read) + pullRequestTitle?: string; + + /** + * The hostname for a static site build. + */ + @visibility(Lifecycle.Read) + hostname?: string; + + /** + * When this build was created. + */ + @visibility(Lifecycle.Read) + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + createdTimeUtc?: utcDateTime; + + /** + * When this build was updated. + */ + @visibility(Lifecycle.Read) + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + lastUpdatedOn?: utcDateTime; + + /** + * The status of the static site build. + */ + @visibility(Lifecycle.Read) + status?: BuildStatus; + + /** + * User provided function apps registered with the static site build + */ + @visibility(Lifecycle.Read) + userProvidedFunctionApps?: StaticSiteUserProvidedFunctionApp[]; + + /** + * Backends linked to the static side build + */ + @visibility(Lifecycle.Read) + @identifiers(#[]) + linkedBackends?: StaticSiteLinkedBackend[]; + + /** + * Database connections for the static site build + */ + @visibility(Lifecycle.Read) + @identifiers(#["name"]) + databaseConnections?: DatabaseConnectionOverview[]; +} + +/** + * String dictionary resource. + */ +#suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model StringDictionary extends ProxyOnlyResource { + /** + * Settings. + */ + #suppress "@azure-tools/typespec-azure-core/no-private-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + #suppress "@azure-tools/typespec-azure-resource-manager/arm-no-record" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + properties?: Record; +} + +/** + * Collection of static site database connections. + */ +model DatabaseConnectionCollection is Azure.Core.Page; + +/** + * DatabaseConnection resource specific properties + */ +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model DatabaseConnectionProperties { + /** + * The resource id of the database. + */ + resourceId: string; + + /** + * If present, the identity is used in conjunction with connection string to connect to the database. Use of the system-assigned managed identity is indicated with the string 'SystemAssigned', while use of a user-assigned managed identity is indicated with the resource id of the managed identity resource. + */ + connectionIdentity?: string; + + /** + * The connection string to use to connect to the database. + */ + connectionString?: string; + + /** + * The region of the database resource. + */ + region: string; + + /** + * A list of configuration files associated with this database connection. + */ + @visibility(Lifecycle.Read) + @identifiers(#["fileName"]) + configurationFiles?: StaticSiteDatabaseConnectionConfigurationFileOverview[]; +} + +/** + * Static Site Database Connection Request Properties resource when patching + */ +model DatabaseConnectionPatchRequest { + /** + * DatabaseConnectionPatchRequest resource specific properties + */ + #suppress "@azure-tools/typespec-azure-core/no-private-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + properties?: DatabaseConnectionPatchRequestProperties; +} + +/** + * DatabaseConnectionPatchRequest resource specific properties + */ +model DatabaseConnectionPatchRequestProperties { + /** + * The resource id of the database. + */ + resourceId?: string; + + /** + * If present, the identity is used in conjunction with connection string to connect to the database. Use of the system-assigned managed identity is indicated with the string 'SystemAssigned', while use of a user-assigned managed identity is indicated with the resource id of the managed identity resource. + */ + connectionIdentity?: string; + + /** + * The connection string to use to connect to the database. + */ + connectionString?: string; + + /** + * The region of the database resource. + */ + region?: string; +} + +/** + * Collection of static site functions. + */ +model StaticSiteFunctionOverviewCollection + is Azure.Core.Page; + +/** + * Static Site Function Overview ARM resource. + */ +#suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model StaticSiteFunctionOverviewARMResource extends ProxyOnlyResource { + /** + * StaticSiteFunctionOverviewARMResource resource specific properties + */ + #suppress "@azure-tools/typespec-azure-core/no-private-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + properties?: StaticSiteFunctionOverviewARMResourceProperties; +} + +/** + * StaticSiteFunctionOverviewARMResource resource specific properties + */ +#suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model StaticSiteFunctionOverviewARMResourceProperties { + /** + * The name for the function + */ + @visibility(Lifecycle.Read) + functionName?: string; + + /** + * The trigger type of the function + */ + @visibility(Lifecycle.Read) + triggerType?: TriggerTypes; +} + +/** + * Collection of static site user provided function apps. + */ +model StaticSiteUserProvidedFunctionAppsCollection + is Azure.Core.Page; + +/** + * StaticSiteUserProvidedFunctionAppARMResource resource specific properties + */ +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model StaticSiteUserProvidedFunctionAppARMResourceProperties { + /** + * The resource id of the function app registered with the static site + */ + functionAppResourceId?: string; + + /** + * The region of the function app registered with the static site + */ + functionAppRegion?: string; + + /** + * The date and time on which the function app was registered with the static site. + */ + @visibility(Lifecycle.Read) + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + createdOn?: utcDateTime; +} + +/** + * Static site zip deployment ARM resource. + */ +#suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model StaticSiteZipDeploymentARMResource extends ProxyOnlyResource { + /** + * Core resource properties + */ + #suppress "@azure-tools/typespec-azure-core/no-private-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + properties?: StaticSiteZipDeployment; +} + +/** + * A static site zip deployment. + */ +model StaticSiteZipDeployment { + /** + * URL for the zipped app content + */ + appZipUrl?: string; + + /** + * URL for the zipped api content + */ + apiZipUrl?: string; + + /** + * A title to label the deployment + */ + deploymentTitle?: string; + + /** + * The provider submitting this deployment + */ + provider?: string; + + /** + * The language of the api content, if it exists + */ + functionLanguage?: string; +} + +/** + * Collection of static site basic auth. + */ +model StaticSiteBasicAuthPropertiesCollection + is Azure.Core.Page; + +/** + * StaticSiteBasicAuthPropertiesARMResource resource specific properties + */ +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model StaticSiteBasicAuthPropertiesARMResourceProperties { + /** + * The password for basic auth. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/secret-prop" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + password?: string; + + /** + * Url to the secret in Key Vault. + */ + secretUrl?: string; + + /** + * State indicating if basic auth is enabled and for what environments it is active. + */ + applicableEnvironmentsMode: string; + + /** + * The list of enabled environments for Basic Auth if ApplicableEnvironmentsMode is set to SpecifiedEnvironments. + */ + environments?: string[]; + + /** + * State indicating if basic auth has a secret and what type it is. + */ + @visibility(Lifecycle.Read) + secretState?: string; +} + +/** + * Static sites user roles invitation resource. + */ +#suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model StaticSiteUserInvitationRequestResource extends ProxyOnlyResource { + /** + * StaticSiteUserInvitationRequestResource resource specific properties + */ + #suppress "@azure-tools/typespec-azure-core/no-private-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + properties?: StaticSiteUserInvitationRequestResourceProperties; +} + +/** + * StaticSiteUserInvitationRequestResource resource specific properties + */ +model StaticSiteUserInvitationRequestResourceProperties { + /** + * The domain name for the static site custom domain. + */ + domain?: string; + + /** + * The identity provider for the static site user. + */ + provider?: string; + + /** + * The user id for the static site user. + */ + userDetails?: string; + + /** + * The roles for the static site user, in free-form string format + */ + roles?: string; + + /** + * The number of hours the sas token stays valid + */ + numHoursToExpiration?: int32; +} + +/** + * Static sites user roles invitation link resource. + */ +#suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model StaticSiteUserInvitationResponseResource extends ProxyOnlyResource { + /** + * StaticSiteUserInvitationResponseResource resource specific properties + */ + #suppress "@azure-tools/typespec-azure-core/no-private-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + properties?: StaticSiteUserInvitationResponseResourceProperties; +} + +/** + * StaticSiteUserInvitationResponseResource resource specific properties + */ +model StaticSiteUserInvitationResponseResourceProperties { + /** + * The expiration time of the invitation + */ + @visibility(Lifecycle.Read) + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + expiresOn?: utcDateTime; + + /** + * The url for the invitation link + */ + @visibility(Lifecycle.Read) + invitationUrl?: string; +} + +/** + * Collection of static site custom domains. + */ +model StaticSiteCustomDomainOverviewCollection + is Azure.Core.Page; + +/** + * StaticSiteCustomDomainOverviewARMResource resource specific properties + */ +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model StaticSiteCustomDomainOverviewARMResourceProperties { + /** + * The domain name for the static site custom domain. + */ + @visibility(Lifecycle.Read) + domainName?: string; + + /** + * The date and time on which the custom domain was created for the static site. + */ + @visibility(Lifecycle.Read) + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + createdOn?: utcDateTime; + + /** + * The status of the custom domain + */ + @visibility(Lifecycle.Read) + status?: CustomDomainStatus; + + /** + * The TXT record validation token + */ + #suppress "@azure-tools/typespec-azure-resource-manager/secret-prop" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @visibility(Lifecycle.Read) + validationToken?: string; + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @visibility(Lifecycle.Read) + errorMessage?: string; +} + +/** + * Static Site Custom Domain Request Properties ARM resource. + */ +#suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model StaticSiteCustomDomainRequestPropertiesARMResource + extends ProxyOnlyResource { + /** + * StaticSiteCustomDomainRequestPropertiesARMResource resource specific properties + */ + #suppress "@azure-tools/typespec-azure-core/no-private-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + properties?: StaticSiteCustomDomainRequestPropertiesARMResourceProperties; +} + +/** + * StaticSiteCustomDomainRequestPropertiesARMResource resource specific properties + */ +#suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model StaticSiteCustomDomainRequestPropertiesARMResourceProperties { + /** + * Validation method for adding a custom domain + */ + validationMethod?: string = "cname-delegation"; +} + +/** + * String list resource. + */ +#suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model StringList extends ProxyOnlyResource { + /** + * List of string resources. + */ + properties?: string[]; +} + +/** + * Static Site Reset Properties ARM resource. + */ +#suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model StaticSiteResetPropertiesARMResource extends ProxyOnlyResource { + /** + * StaticSiteResetPropertiesARMResource resource specific properties + */ + #suppress "@azure-tools/typespec-azure-core/no-private-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + properties?: StaticSiteResetPropertiesARMResourceProperties; +} + +/** + * StaticSiteResetPropertiesARMResource resource specific properties + */ +#suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model StaticSiteResetPropertiesARMResourceProperties { + /** + * The token which proves admin privileges to the repository. + */ + repositoryToken?: string; + + /** + * Determines whether the repository should be updated with the new properties. + */ + shouldUpdateRepository?: boolean; +} + +/** + * StaticSiteLinkedBackendARMResource resource specific properties + */ +#suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model StaticSiteLinkedBackendARMResourceProperties { + /** + * The resource id of the backend linked to the static site + */ + backendResourceId?: string; + + /** + * The region of the backend linked to the static site + */ + region?: string; + + /** + * The date and time on which the backend was linked to the static site. + */ + @visibility(Lifecycle.Read) + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + createdOn?: utcDateTime; + + /** + * The provisioning state of the linking process. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @visibility(Lifecycle.Read) + provisioningState?: string; +} + +/** + * Collection of static site linked backends. + */ +model StaticSiteLinkedBackendsCollection + is Azure.Core.Page; + +/** + * ARM resource for a site. + */ +#suppress "@azure-tools/typespec-azure-resource-manager/patch-envelope" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model SitePatchResource extends ProxyOnlyResource { + /** + * SitePatchResource resource specific properties + */ + #suppress "@azure-tools/typespec-azure-core/no-private-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + properties?: SitePatchResourceProperties; + + /** + * Managed service identity. + */ + identity?: ManagedServiceIdentity; +} + +/** + * SitePatchResource resource specific properties + */ +model SitePatchResourceProperties { + /** + * Current state of the app. + */ + @visibility(Lifecycle.Read) + state?: string; + + /** + * Hostnames associated with the app. + */ + @visibility(Lifecycle.Read) + hostNames?: string[]; + + /** + * Name of the repository site. + */ + @visibility(Lifecycle.Read) + repositorySiteName?: string; + + /** + * State indicating whether the app has exceeded its quota usage. Read-only. + */ + @visibility(Lifecycle.Read) + usageState?: UsageState; + + /** + * true if the app is enabled; otherwise, false. Setting this value to false disables the app (takes the app offline). + */ + enabled?: boolean; + + /** + * Enabled hostnames for the app.Hostnames need to be assigned (see HostNames) AND enabled. Otherwise, + * the app is not served on those hostnames. + */ + @visibility(Lifecycle.Read) + enabledHostNames?: string[]; + + /** + * Management information availability state for the app. + */ + @visibility(Lifecycle.Read) + availabilityState?: SiteAvailabilityState; + + /** + * Hostname SSL states are used to manage the SSL bindings for app's hostnames. + */ + @identifiers(#["name"]) + hostNameSslStates?: HostNameSslState[]; + + /** + * Resource ID of the associated App Service plan, formatted as: "/subscriptions/{subscriptionID}/resourceGroups/{groupName}/providers/Microsoft.Web/serverfarms/{appServicePlanName}". + */ + serverFarmId?: string; + + /** + * true if reserved; otherwise, false. + */ + @visibility(Lifecycle.Read, Lifecycle.Create) + reserved?: boolean = false; + + /** + * Obsolete: Hyper-V sandbox. + */ + @visibility(Lifecycle.Read, Lifecycle.Create) + isXenon?: boolean = false; + + /** + * Hyper-V sandbox. + */ + @visibility(Lifecycle.Read, Lifecycle.Create) + hyperV?: boolean = false; + + /** + * Last time the app was modified, in UTC. Read-only. + */ + @visibility(Lifecycle.Read) + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + lastModifiedTimeUtc?: utcDateTime; + + /** + * Property to configure various DNS related settings for a site. + */ + dnsConfiguration?: SiteDnsConfig; + + /** + * Configuration of the app. + */ + siteConfig?: SiteConfig; + + /** + * Azure Traffic Manager hostnames associated with the app. Read-only. + */ + @visibility(Lifecycle.Read) + trafficManagerHostNames?: string[]; + + /** + * true to stop SCM (KUDU) site when the app is stopped; otherwise, false. The default is false. + */ + scmSiteAlsoStopped?: boolean = false; + + /** + * Specifies which deployment slot this app will swap into. Read-only. + */ + @visibility(Lifecycle.Read) + targetSwapSlot?: string; + + /** + * App Service Environment to use for the app. + */ + @visibility(Lifecycle.Read, Lifecycle.Create) + hostingEnvironmentProfile?: HostingEnvironmentProfile; + + /** + * 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. + */ + clientAffinityEnabled?: boolean; + + /** + * true to override client affinity cookie domain with X-Forwarded-Host request header. false to use default domain. Default is false. + */ + clientAffinityProxyEnabled?: boolean; + + /** + * true to enable client certificate authentication (TLS mutual authentication); otherwise, false. Default is false. + */ + clientCertEnabled?: boolean; + + /** + * This composes with ClientCertEnabled setting. + * - ClientCertEnabled: false means ClientCert is ignored. + * - ClientCertEnabled: true and ClientCertMode: Required means ClientCert is required. + * - ClientCertEnabled: true and ClientCertMode: Optional means ClientCert is optional or accepted. + */ + clientCertMode?: ClientCertMode; + + /** + * client certificate authentication comma-separated exclusion paths + */ + clientCertExclusionPaths?: string; + + /** + * true to disable the public hostnames of the app; otherwise, false.\n If true, the app is only accessible via API management process. + */ + hostNamesDisabled?: boolean; + + /** + * Unique identifier that verifies the custom domains assigned to the app. Customer will add this id to a txt record for verification. + */ + customDomainVerificationId?: string; + + /** + * List of IP addresses that the app uses for outbound connections (e.g. database access). Includes VIPs from tenants that site can be hosted with current settings. Read-only. + */ + @visibility(Lifecycle.Read) + outboundIpAddresses?: 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. + */ + @visibility(Lifecycle.Read) + possibleOutboundIpAddresses?: string; + + /** + * Size of the function container. + */ + containerSize?: int32; + + /** + * Maximum allowed daily memory-time quota (applicable on dynamic apps only). + */ + dailyMemoryTimeQuota?: int32; + + /** + * App suspended till in case memory-time quota is exceeded. + */ + @visibility(Lifecycle.Read) + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + suspendedTill?: utcDateTime; + + /** + * Maximum number of workers. + * This only applies to Functions container. + */ + @visibility(Lifecycle.Read) + maxNumberOfWorkers?: int32; + + /** + * If specified during app creation, the app is cloned from a source app. + */ + @visibility(Lifecycle.Create) + cloningInfo?: CloningInfo; + + /** + * Name of the resource group the app belongs to. Read-only. + */ + @visibility(Lifecycle.Read) + resourceGroup?: string; + + /** + * true if the app is a default container; otherwise, false. + */ + @visibility(Lifecycle.Read) + isDefaultContainer?: boolean; + + /** + * Default hostname of the app. Read-only. + */ + @visibility(Lifecycle.Read) + defaultHostName?: string; + + /** + * Status of the last deployment slot swap operation. + */ + @visibility(Lifecycle.Read) + slotSwapStatus?: SlotSwapStatus; + + /** + * HttpsOnly: configures a web site to accept only https requests. Issues redirect for + * http requests + */ + httpsOnly?: boolean; + + /** + * Site redundancy mode + */ + redundancyMode?: RedundancyMode; + + /** + * Specifies an operation id if this site has a pending operation. + */ + #suppress "@azure-tools/typespec-azure-core/no-format" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @visibility(Lifecycle.Read) + @format("uuid") + inProgressOperationId?: string; + + /** + * Property to allow or block all public traffic. Allowed Values: 'Enabled', 'Disabled' or an empty string. + */ + publicNetworkAccess?: string; + + /** + * Checks if Customer provided storage account is required + */ + storageAccountRequired?: boolean; + + /** + * Identity to use for Key Vault Reference authentication. + */ + keyVaultReferenceIdentity?: string; + + /** + * 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} + */ + virtualNetworkSubnetId?: string; +} + +/** + * Custom domain analysis. + */ +#suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model CustomHostnameAnalysisResult extends ProxyOnlyResource { + /** + * CustomHostnameAnalysisResult resource specific properties + */ + #suppress "@azure-tools/typespec-azure-core/no-private-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + properties?: CustomHostnameAnalysisResultProperties; +} + +/** + * CustomHostnameAnalysisResult resource specific properties + */ +model CustomHostnameAnalysisResultProperties { + /** + * true if hostname is already verified; otherwise, false. + */ + @visibility(Lifecycle.Read) + isHostnameAlreadyVerified?: boolean; + + /** + * DNS verification test result. + */ + @visibility(Lifecycle.Read) + customDomainVerificationTest?: DnsVerificationTestResult; + + /** + * Raw failure information if DNS verification fails. + */ + @visibility(Lifecycle.Read) + customDomainVerificationFailureInfo?: ErrorEntity; + + /** + * true if there is a conflict on a scale unit; otherwise, false. + */ + @visibility(Lifecycle.Read) + hasConflictOnScaleUnit?: boolean; + + /** + * true if there is a conflict across subscriptions; otherwise, false. + */ + @visibility(Lifecycle.Read) + hasConflictAcrossSubscription?: boolean; + + /** + * Name of the conflicting app on scale unit if it's within the same subscription. + */ + @visibility(Lifecycle.Read) + 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. + */ + aRecords?: string[]; + + /** + * Alternate CName records controller can see for this hostname. + */ + #suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + alternateCNameRecords?: string[]; + + /** + * Alternate TXT records controller can see for this hostname. + */ + alternateTxtRecords?: string[]; +} + +/** + * Deployment slot parameters. + */ +model CsmSlotEntity { + /** + * Destination deployment slot during swap operation. + */ + targetSlot: string; + + /** + * true to preserve Virtual Network to the slot during swap; otherwise, false. + */ + preserveVnet: boolean; +} + +/** + * Description of a backup which will be performed. + */ +#suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model BackupRequest extends ProxyOnlyResource { + /** + * BackupRequest resource specific properties + */ + #suppress "@azure-tools/typespec-azure-core/no-private-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + properties?: BackupRequestProperties; +} + +/** + * BackupRequest resource specific properties + */ +model BackupRequestProperties { + /** + * Name of the backup. + */ + backupName?: string; + + /** + * True if the backup schedule is enabled (must be included in that case), false if the backup schedule should be disabled. + */ + enabled?: boolean; + + /** + * SAS URL to the container. + */ + storageAccountUrl: string; + + /** + * Schedule for the backup if it is executed periodically. + */ + backupSchedule?: BackupSchedule; + + /** + * Databases included in the backup. + */ + @identifiers(#["name"]) + databases?: DatabaseBackupSetting[]; +} + +/** + * Description of a backup schedule. Describes how often should be the backup performed and what should be the retention policy. + */ +model BackupSchedule { + /** + * 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) + */ + frequencyInterval: int32 = 7; + + /** + * 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) + */ + frequencyUnit: FrequencyUnit = FrequencyUnit.Day; + + /** + * True if the retention policy should always keep at least one backup in the storage account, regardless how old it is; false otherwise. + */ + keepAtLeastOneBackup: boolean = true; + + /** + * After how many days backups should be deleted. + */ + retentionPeriodInDays: int32 = 30; + + /** + * When the schedule should start working. + */ + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + startTime?: utcDateTime; + + /** + * Last time when this schedule was triggered. + */ + @visibility(Lifecycle.Read) + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + lastExecutionTime?: utcDateTime; +} + +/** + * Database backup settings. + */ +model DatabaseBackupSetting { + /** + * Database type (e.g. SqlAzure / MySql). + */ + databaseType: DatabaseType; + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + name?: string; + + /** + * Contains a connection string name that is linked to the SiteConfig.ConnectionStrings. + * This is used during restore with overwrite connection strings options. + */ + connectionStringName?: 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. + */ + connectionString?: string; +} + +/** + * BackupItem resource specific properties + */ +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model BackupItemProperties { + /** + * Id of the backup. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-duplicate-property" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @visibility(Lifecycle.Read) + id?: int32; + + /** + * SAS URL for the storage account container which contains this backup. + */ + @visibility(Lifecycle.Read) + storageAccountUrl?: string; + + /** + * Name of the blob which contains data for this backup. + */ + @visibility(Lifecycle.Read) + blobName?: string; + + /** + * Name of this backup. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-duplicate-property" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @visibility(Lifecycle.Read) + name?: string; + + /** + * Backup status. + */ + @visibility(Lifecycle.Read) + status?: BackupItemStatus; + + /** + * Size of the backup in bytes. + */ + @visibility(Lifecycle.Read) + sizeInBytes?: int64; + + /** + * Timestamp of the backup creation. + */ + @visibility(Lifecycle.Read) + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + created?: utcDateTime; + + /** + * Details regarding this backup. Might contain an error message. + */ + @visibility(Lifecycle.Read) + log?: string; + + /** + * List of databases included in the backup. + */ + @visibility(Lifecycle.Read) + @identifiers(#["name"]) + databases?: DatabaseBackupSetting[]; + + /** + * True if this backup has been created due to a schedule being triggered. + */ + @visibility(Lifecycle.Read) + scheduled?: boolean; + + /** + * Timestamp of a last restore operation which used this backup. + */ + @visibility(Lifecycle.Read) + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + lastRestoreTimeStamp?: utcDateTime; + + /** + * Timestamp when this backup finished. + */ + @visibility(Lifecycle.Read) + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + finishedTimeStamp?: utcDateTime; + + /** + * Unique correlation identifier. Please use this along with the timestamp while communicating with Azure support. + */ + @visibility(Lifecycle.Read) + correlationId?: string; + + /** + * Size of the original web app which has been backed up. + */ + @visibility(Lifecycle.Read) + websiteSizeInBytes?: int64; +} + +/** + * Collection of backup items. + */ +model BackupItemCollection is Azure.Core.Page; + +/** + * Description of a restore request. + */ +#suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model RestoreRequest extends ProxyOnlyResource { + /** + * RestoreRequest resource specific properties + */ + #suppress "@azure-tools/typespec-azure-core/no-private-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + properties?: RestoreRequestProperties; +} + +/** + * RestoreRequest resource specific properties + */ +model RestoreRequestProperties { + /** + * SAS URL to the container. + */ + storageAccountUrl: string; + + /** + * Name of a blob which contains the backup. + */ + blobName?: string; + + /** + * true if the restore operation can overwrite target app; otherwise, false. true is needed if trying to restore over an existing app. + */ + overwrite: boolean; + + /** + * Name of an app. + */ + siteName?: string; + + /** + * Collection of databases which should be restored. This list has to match the list of databases included in the backup. + */ + @identifiers(#["name"]) + databases?: DatabaseBackupSetting[]; + + /** + * Changes a logic when restoring an app with custom domains. true to remove custom domains automatically. If false, custom domains are added to \nthe app's object when it is being restored, but that might fail due to conflicts during the operation. + */ + ignoreConflictingHostNames?: boolean = false; + + /** + * Ignore the databases and only restore the site content + */ + ignoreDatabases?: boolean = false; + + /** + * Specify app service plan that will own restored site. + */ + appServicePlan?: string; + + /** + * Operation type. + */ + operationType?: BackupRestoreOperationType = BackupRestoreOperationType.Default; + + /** + * true if SiteConfig.ConnectionStrings should be set in new app; otherwise, false. + */ + adjustConnectionStrings?: boolean; + + /** + * App Service Environment name, if needed (only when restoring an app to an App Service Environment). + */ + hostingEnvironment?: string; +} + +/** + * Publishing Credentials Policies entity collection ARM resource. + */ +model PublishingCredentialsPoliciesCollection + is Azure.Core.Page; + +/** + * CsmPublishingCredentialsPoliciesEntity resource specific properties + */ +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model CsmPublishingCredentialsPoliciesEntityProperties { + /** + * true to allow access to a publishing method; otherwise, false. + */ + allow: boolean; +} + +/** + * Collection of site configurations. + */ +model SiteConfigResourceCollection is Azure.Core.Page; + +/** + * Configuration settings for the Azure App Service Authentication / Authorization feature. + */ +#suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model SiteAuthSettings extends ProxyOnlyResource { + /** + * SiteAuthSettings resource specific properties + */ + #suppress "@azure-tools/typespec-azure-core/no-private-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + properties?: SiteAuthSettingsProperties; +} + +/** + * SiteAuthSettings resource specific properties + */ +model SiteAuthSettingsProperties { + /** + * true if the Authentication / Authorization feature is enabled for the current app; otherwise, false. + */ + enabled?: boolean; + + /** + * 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. + */ + runtimeVersion?: string; + + /** + * The action to take when an unauthenticated client attempts to access the app. + */ + unauthenticatedClientAction?: UnauthenticatedClientAction; + + /** + * true to durably store platform-specific security tokens that are obtained during login flows; otherwise, false. + * The default is false. + */ + tokenStoreEnabled?: boolean; + + /** + * 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". + */ + 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. + */ + tokenRefreshExtensionHours?: float64; + + /** + * 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 + */ + clientId?: 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 + */ + #suppress "@azure-tools/typespec-azure-resource-manager/secret-prop" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + clientSecret?: string; + + /** + * The app setting name that contains the client secret of the relying party application. + */ + clientSecretSettingName?: string; + + /** + * An alternative to the client secret, that is the thumbprint of a certificate used for signing purposes. This property acts as + * a replacement for the Client Secret. It is also optional. + */ + clientSecretCertificateThumbprint?: 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 + */ + issuer?: string; + + /** + * Gets a value indicating whether the issuer should be a valid HTTPS url and be validated as such. + */ + validateIssuer?: boolean; + + /** + * Allowed audience values to consider when validating JSON Web Tokens issued by + * Azure Active Directory. Note that the ClientID value is always considered an + * allowed audience, regardless of this setting. + */ + allowedAudiences?: string[]; + + /** + * Login parameters to send to the OpenID Connect authorization endpoint when + * a user logs in. Each parameter must be in the form "key=value". + */ + additionalLoginParams?: string[]; + + /** + * Gets a JSON string containing the Azure AD Acl settings. + */ + aadClaimsAuthorization?: string; + + /** + * The OpenID Connect Client ID for the Google web application. + * This setting is required for enabling Google Sign-In. + * Google Sign-In documentation: https://developers.google.com/identity/sign-in/web/ + */ + googleClientId?: string; + + /** + * 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/ + */ + #suppress "@azure-tools/typespec-azure-resource-manager/secret-prop" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + googleClientSecret?: string; + + /** + * The app setting name that contains the client secret associated with + * the Google web application. + */ + googleClientSecretSettingName?: string; + + /** + * The OAuth 2.0 scopes that will be requested as part of Google Sign-In authentication. + * This setting is optional. If not specified, "openid", "profile", and "email" are used as default scopes. + * Google Sign-In documentation: https://developers.google.com/identity/sign-in/web/ + */ + #suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + googleOAuthScopes?: string[]; + + /** + * 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 + */ + facebookAppId?: 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 + */ + #suppress "@azure-tools/typespec-azure-resource-manager/secret-prop" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + facebookAppSecret?: string; + + /** + * The app setting name that contains the app secret used for Facebook Login. + */ + facebookAppSecretSettingName?: string; + + /** + * The OAuth 2.0 scopes that will be requested as part of Facebook Login authentication. + * This setting is optional. + * Facebook Login documentation: https://developers.facebook.com/docs/facebook-login + */ + #suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + facebookOAuthScopes?: string[]; + + /** + * The Client Id of the GitHub app used for login. + * This setting is required for enabling Github login + */ + gitHubClientId?: string; + + /** + * The Client Secret of the GitHub app used for Github Login. + * This setting is required for enabling Github login. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/secret-prop" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + gitHubClientSecret?: string; + + /** + * The app setting name that contains the client secret of the Github + * app used for GitHub Login. + */ + gitHubClientSecretSettingName?: string; + + /** + * The OAuth 2.0 scopes that will be requested as part of GitHub Login authentication. + * This setting is optional + */ + #suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + gitHubOAuthScopes?: string[]; + + /** + * The OAuth 1.0a consumer key of the Twitter application used for sign-in. + * This setting is required for enabling Twitter Sign-In. + * Twitter Sign-In documentation: https://dev.twitter.com/web/sign-in + */ + #suppress "@azure-tools/typespec-azure-resource-manager/secret-prop" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + twitterConsumerKey?: 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 + */ + #suppress "@azure-tools/typespec-azure-resource-manager/secret-prop" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + twitterConsumerSecret?: string; + + /** + * The app setting name that contains the OAuth 1.0a consumer secret of the Twitter + * application used for sign-in. + */ + twitterConsumerSecretSettingName?: string; + + /** + * The OAuth 2.0 client ID that was created for the app used for authentication. + * This setting is required for enabling Microsoft Account authentication. + * Microsoft Account OAuth documentation: https://dev.onedrive.com/auth/msa_oauth.htm + */ + microsoftAccountClientId?: string; + + /** + * 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 + */ + #suppress "@azure-tools/typespec-azure-resource-manager/secret-prop" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + microsoftAccountClientSecret?: string; + + /** + * The app setting name containing the OAuth 2.0 client secret that was created for the + * app used for authentication. + */ + microsoftAccountClientSecretSettingName?: string; + + /** + * The OAuth 2.0 scopes that will be requested as part of Microsoft Account authentication. + * This setting is optional. If not specified, "wl.basic" is used as the default scope. + * Microsoft Account Scopes and permissions documentation: https://msdn.microsoft.com/en-us/library/dn631845.aspx + */ + #suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + microsoftAccountOAuthScopes?: string[]; + + /** + * "true" if the auth config settings should be read from a file, + * "false" otherwise + */ + isAuthFromFile?: string; + + /** + * The path of the config file containing auth settings. + * If the path is relative, base will the site's root directory. + */ + authFilePath?: string; + + /** + * 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. + */ + configVersion?: string; +} + +/** + * SiteAuthSettingsV2 resource specific properties + */ +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model SiteAuthSettingsV2Properties { + /** + * The configuration settings of the platform of App Service Authentication/Authorization. + */ + platform?: AuthPlatform; + + /** + * The configuration settings that determines the validation flow of users using App Service Authentication/Authorization. + */ + globalValidation?: GlobalValidation; + + /** + * The configuration settings of each of the identity providers used to configure App Service Authentication/Authorization. + */ + identityProviders?: IdentityProviders; + + /** + * The configuration settings of the login flow of users using App Service Authentication/Authorization. + */ + login?: Login; + + /** + * The configuration settings of the HTTP requests for authentication and authorization requests made against App Service Authentication/Authorization. + */ + httpSettings?: HttpSettings; +} + +/** + * The configuration settings of the platform of App Service Authentication/Authorization. + */ +model AuthPlatform { + /** + * true if the Authentication / Authorization feature is enabled for the current app; otherwise, false. + */ + enabled?: boolean; + + /** + * 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. + */ + 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 that determines the validation flow of users using App Service Authentication/Authorization. + */ +model GlobalValidation { + /** + * true if the authentication flow is required any request is made; otherwise, false. + */ + requireAuthentication?: boolean; + + /** + * The action to take when an unauthenticated client attempts to access the app. + */ + 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[]; +} + +/** + * The configuration settings of each of the identity providers used to configure App Service Authentication/Authorization. + */ +model IdentityProviders { + /** + * The configuration settings of the Azure Active directory provider. + */ + azureActiveDirectory?: AzureActiveDirectory; + + /** + * 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 legacy Microsoft Account provider. + */ + legacyMicrosoftAccount?: LegacyMicrosoftAccount; + + /** + * The configuration settings of the Twitter provider. + */ + twitter?: Twitter; + + /** + * The configuration settings of the Apple provider. + */ + apple?: Apple; + + /** + * The configuration settings of the Azure Static Web Apps provider. + */ + azureStaticWebApps?: AzureStaticWebApps; + + /** + * 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. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-no-record" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + customOpenIdConnectProviders?: Record; +} + +/** + * The configuration settings of the Azure Active directory provider. + */ +model AzureActiveDirectory { + /** + * false if the Azure Active Directory provider should not be enabled despite the set registration; otherwise, true. + */ + enabled?: boolean; + + /** + * The configuration settings of the Azure Active Directory app registration. + */ + registration?: AzureActiveDirectoryRegistration; + + /** + * The configuration settings of the Azure Active Directory login flow. + */ + login?: AzureActiveDirectoryLogin; + + /** + * The configuration settings of the Azure Active Directory token validation flow. + */ + validation?: AzureActiveDirectoryValidation; + + /** + * 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. + */ + isAutoProvisioned?: boolean; +} + +/** + * The configuration settings of the Azure Active Directory app registration. + */ +model AzureActiveDirectoryRegistration { + /** + * 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 + */ + openIdIssuer?: 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 + */ + clientId?: string; + + /** + * The app setting name that contains the client secret of the relying party application. + */ + clientSecretSettingName?: string; + + /** + * An alternative to the client secret, that is the thumbprint of a certificate used for signing purposes. This property acts as + * a replacement for the Client Secret. It is also optional. + */ + clientSecretCertificateThumbprint?: string; + + /** + * 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. + */ + 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 Azure Active Directory login flow. + */ +model AzureActiveDirectoryLogin { + /** + * Login parameters to send to the OpenID Connect authorization endpoint when + * a user logs in. Each parameter must be in the form "key=value". + */ + loginParameters?: string[]; + + /** + * true if the www-authenticate provider should be omitted from the request; otherwise, false. + */ + #suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + disableWWWAuthenticate?: boolean; +} + +/** + * The configuration settings of the Azure Active Directory token validation flow. + */ +model AzureActiveDirectoryValidation { + /** + * The configuration settings of the checks that should be made while validating the JWT Claims. + */ + jwtClaimChecks?: JwtClaimChecks; + + /** + * The list of audiences that can make successful authentication/authorization requests. + */ + allowedAudiences?: string[]; + + /** + * The configuration settings of the default authorization policy. + */ + defaultAuthorizationPolicy?: DefaultAuthorizationPolicy; +} + +/** + * The configuration settings of the checks that should be made while validating the JWT Claims. + */ +model JwtClaimChecks { + /** + * The list of the allowed groups. + */ + allowedGroups?: string[]; + + /** + * The list of the allowed client applications. + */ + allowedClientApplications?: string[]; +} + +/** + * The configuration settings of the Azure Active Directory default authorization policy. + */ +model DefaultAuthorizationPolicy { + /** + * The configuration settings of the Azure Active Directory allowed principals. + */ + allowedPrincipals?: AllowedPrincipals; + + /** + * The configuration settings of the Azure Active Directory allowed applications. + */ + allowedApplications?: string[]; +} + +/** + * The configuration settings of the Azure Active Directory allowed principals. + */ +model AllowedPrincipals { + /** + * The list of the allowed groups. + */ + groups?: string[]; + + /** + * The list of the allowed identities. + */ + identities?: string[]; +} + +/** + * The configuration settings of the Facebook provider. + */ +model Facebook { + /** + * false if the Facebook 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. + */ + graphApiVersion?: string; + + /** + * The configuration settings of the login flow. + */ + login?: LoginScopes; +} + +/** + * The configuration settings of the app registration for providers that have app ids and app secrets + */ +model AppRegistration { + /** + * The App ID of the app used for login. + */ + appId?: string; + + /** + * The app setting name that contains the app secret. + */ + appSecretSettingName?: string; +} + +/** + * The configuration settings of the login flow, including the scopes that should be requested. + */ +model LoginScopes { + /** + * A list of the scopes that should be requested while authenticating. + */ + scopes?: string[]; +} + +/** + * The configuration settings of the GitHub provider. + */ +model GitHub { + /** + * false if the GitHub provider should not be enabled despite the set registration; otherwise, true. + */ + enabled?: boolean; + + /** + * The configuration settings of the app registration for the GitHub provider. + */ + registration?: ClientRegistration; + + /** + * The configuration settings of the login flow. + */ + login?: LoginScopes; +} + +/** + * The configuration settings of the app registration for providers that have client ids and client secrets + */ +model ClientRegistration { + /** + * The Client ID of the app used for login. + */ + clientId?: string; + + /** + * The app setting name that contains the client secret. + */ + clientSecretSettingName?: string; +} + +/** + * The configuration settings of the Google provider. + */ +model Google { + /** + * 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; +} + +/** + * The configuration settings of the Allowed Audiences validation flow. + */ +model AllowedAudiencesValidation { + /** + * The configuration settings of the allowed list of audiences from which to validate the JWT token. + */ + allowedAudiences?: string[]; +} + +/** + * The configuration settings of the legacy Microsoft Account provider. + */ +model LegacyMicrosoftAccount { + /** + * false if the legacy Microsoft Account provider should not be enabled despite the set registration; otherwise, true. + */ + enabled?: boolean; + + /** + * The configuration settings of the app registration for the legacy Microsoft Account provider. + */ + registration?: ClientRegistration; + + /** + * The configuration settings of the login flow. + */ + login?: LoginScopes; + + /** + * The configuration settings of the legacy Microsoft Account provider token validation flow. + */ + validation?: AllowedAudiencesValidation; +} + +/** + * The configuration settings of the Twitter provider. + */ +model Twitter { + /** + * false if the Twitter provider should not be enabled despite the set registration; otherwise, true. + */ + enabled?: boolean; + + /** + * The configuration settings of the app registration for the Twitter provider. + */ + registration?: TwitterRegistration; +} + +/** + * The configuration settings of the app registration for the Twitter provider. + */ +model TwitterRegistration { + /** + * 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 + */ + #suppress "@azure-tools/typespec-azure-resource-manager/secret-prop" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + consumerKey?: string; + + /** + * The app setting name that contains the OAuth 1.0a consumer secret of the Twitter + * application used for sign-in. + */ + consumerSecretSettingName?: string; +} + +/** + * The configuration settings of the Apple provider. + */ +model Apple { + /** + * false if the Apple provider should not be enabled despite the set registration; otherwise, true. + */ + enabled?: boolean; + + /** + * The configuration settings of the Apple registration. + */ + registration?: AppleRegistration; + + /** + * The configuration settings of the login flow. + */ + login?: LoginScopes; +} + +/** + * The configuration settings of the registration for the Apple provider + */ +model AppleRegistration { + /** + * The Client ID of the app used for login. + */ + clientId?: string; + + /** + * The app setting name that contains the client secret. + */ + clientSecretSettingName?: string; +} + +/** + * The configuration settings of the Azure Static Web Apps provider. + */ +model AzureStaticWebApps { + /** + * 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 Azure Static Web Apps registration. + */ + registration?: AzureStaticWebAppsRegistration; +} + +/** + * The configuration settings of the registration for the Azure Static Web Apps provider + */ +model AzureStaticWebAppsRegistration { + /** + * The Client ID of the app used for login. + */ + clientId?: string; +} + +/** + * The configuration settings of the custom Open ID Connect provider. + */ +model CustomOpenIdConnectProvider { + /** + * false if the custom Open ID provider provider should not be enabled; otherwise, true. + */ + enabled?: boolean; + + /** + * The configuration settings of the app registration for the custom Open ID Connect provider. + */ + registration?: OpenIdConnectRegistration; + + /** + * The configuration settings of the login flow of the custom Open ID Connect provider. + */ + login?: OpenIdConnectLogin; +} + +/** + * The configuration settings of the app registration for the custom Open ID Connect provider. + */ +model OpenIdConnectRegistration { + /** + * The client id of the custom Open ID Connect provider. + */ + clientId?: string; + + /** + * The authentication credentials of the custom Open ID Connect provider. + */ + clientCredential?: OpenIdConnectClientCredential; + + /** + * The configuration settings of the endpoints used for the custom Open ID Connect provider. + */ + openIdConnectConfiguration?: OpenIdConnectConfig; +} + +/** + * The authentication client credentials of the custom Open ID Connect provider. + */ +model OpenIdConnectClientCredential { + /** + * The method that should be used to authenticate the user. + */ + method?: "ClientSecretPost"; + + /** + * The app setting that contains the client secret for the custom Open ID Connect provider. + */ + clientSecretSettingName?: string; +} + +/** + * The configuration settings of the endpoints used for the custom Open ID Connect provider. + */ +model OpenIdConnectConfig { + /** + * The endpoint to be used to make an authorization request. + */ + 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 login flow of the custom Open ID Connect provider. + */ +model OpenIdConnectLogin { + /** + * The name of the claim that contains the users name. + */ + nameClaimType?: string; + + /** + * A list of the scopes that should be requested while authenticating. + */ + scopes?: string[]; +} + +/** + * The configuration settings of the login flow of users using App Service Authentication/Authorization. + */ +model Login { + /** + * The routes that specify the endpoints used for login and logout requests. + */ + routes?: LoginRoutes; + + /** + * The configuration settings of the token store. + */ + tokenStore?: TokenStore; + + /** + * true if the fragments from the request are preserved after the login request is made; otherwise, false. + */ + preserveUrlFragmentsForLogins?: boolean; + + /** + * 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 configuration settings of the session cookie's expiration. + */ + cookieExpiration?: CookieExpiration; + + /** + * The configuration settings of the nonce used in the login flow. + */ + nonce?: Nonce; +} + +/** + * The routes that specify the endpoints used for login and logout requests. + */ +model LoginRoutes { + /** + * The endpoint at which a logout request should be made. + */ + logoutEndpoint?: string; +} + +/** + * The configuration settings of the token store. + */ +model TokenStore { + /** + * true to durably store platform-specific security tokens that are obtained during login flows; otherwise, false. + * The default is false. + */ + enabled?: boolean; + + /** + * 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. + */ + tokenRefreshExtensionHours?: float64; + + /** + * The configuration settings of the storage of the tokens if a file system is used. + */ + fileSystem?: FileSystemTokenStore; + + /** + * The configuration settings of the storage of the tokens if blob storage is used. + */ + azureBlobStorage?: BlobStorageTokenStore; +} + +/** + * The configuration settings of the storage of the tokens if a file system is used. + */ +model FileSystemTokenStore { + /** + * The directory in which the tokens will be stored. + */ + directory?: string; +} + +/** + * The configuration settings of the storage of the tokens if blob storage is used. + */ +model BlobStorageTokenStore { + /** + * The name of the app setting containing the SAS URL of the blob storage containing the tokens. + */ + sasUrlSettingName?: string; +} + +/** + * The configuration settings of the session cookie's expiration. + */ +model CookieExpiration { + /** + * The convention used when determining the session cookie's expiration. + */ + convention?: CookieExpirationConvention; + + /** + * The time after the request is made when the session cookie should expire. + */ + timeToExpiration?: string; +} + +/** + * The configuration settings of the nonce used in the login flow. + */ +model Nonce { + /** + * false if the nonce should not be validated while completing the login flow; otherwise, true. + */ + validateNonce?: boolean; + + /** + * The time after the request is made when the nonce should expire. + */ + nonceExpirationInterval?: string; +} + +/** + * The configuration settings of the HTTP requests for authentication and authorization requests made against App Service Authentication/Authorization. + */ +model HttpSettings { + /** + * false if the authentication/authorization responses not having the HTTPS scheme are permissible; otherwise, true. + */ + requireHttps?: boolean; + + /** + * The configuration settings of the paths HTTP requests. + */ + routes?: HttpSettingsRoutes; + + /** + * The configuration settings of a forward proxy used to make the requests. + */ + forwardProxy?: ForwardProxy; +} + +/** + * The configuration settings of the paths HTTP requests. + */ +model HttpSettingsRoutes { + /** + * The prefix that should precede all the authentication/authorization paths. + */ + apiPrefix?: string; +} + +/** + * The configuration settings of a forward proxy used to make the requests. + */ +model ForwardProxy { + /** + * The convention used to determine the url of the request made. + */ + convention?: ForwardProxyConvention; + + /** + * The name of the header containing the host of the request. + */ + customHostHeaderName?: string; + + /** + * The name of the header containing the scheme of the request. + */ + customProtoHeaderName?: string; +} + +/** + * AzureStorageInfo dictionary resource. + */ +#suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model AzureStoragePropertyDictionaryResource extends ProxyOnlyResource { + /** + * Azure storage accounts. + */ + #suppress "@azure-tools/typespec-azure-core/no-private-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + #suppress "@azure-tools/typespec-azure-resource-manager/arm-no-record" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + properties?: Record; +} + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model ApiKVReferenceCollection is Azure.Core.Page; + +/** + * ApiKVReference resource specific properties + */ +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model ApiKVReferenceProperties { + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + reference?: string; + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + status?: ResolveStatus; + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + vaultName?: string; + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + secretName?: string; + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + secretVersion?: string; + + /** + * Managed service identity. + */ + identityType?: ManagedServiceIdentity; + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + details?: string; + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + source?: "KeyVault"; + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + activeVersion?: string; +} + +/** + * String dictionary resource. + */ +#suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model ConnectionStringDictionary extends ProxyOnlyResource { + /** + * Connection strings. + */ + #suppress "@azure-tools/typespec-azure-core/no-private-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + #suppress "@azure-tools/typespec-azure-resource-manager/arm-no-record" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + properties?: Record; +} + +/** + * Database connection string value to type pair. + */ +model ConnStringValueTypePair { + /** + * Value of pair. + */ + value: string; + + /** + * Type of database. + */ + type: ConnectionStringType; +} + +/** + * SiteLogsConfig resource specific properties + */ +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model SiteLogsConfigProperties { + /** + * Application logs configuration. + */ + applicationLogs?: ApplicationLogsConfig; + + /** + * HTTP logs configuration. + */ + httpLogs?: HttpLogsConfig; + + /** + * Failed requests tracing configuration. + */ + failedRequestsTracing?: EnabledConfig; + + /** + * Detailed error messages configuration. + */ + detailedErrorMessages?: EnabledConfig; +} + +/** + * Application logs configuration. + */ +model ApplicationLogsConfig { + /** + * Application logs to file system configuration. + */ + fileSystem?: FileSystemApplicationLogsConfig; + + /** + * Application logs to azure table storage configuration. + */ + azureTableStorage?: AzureTableStorageApplicationLogsConfig; + + /** + * Application logs to blob storage configuration. + */ + azureBlobStorage?: AzureBlobStorageApplicationLogsConfig; +} + +/** + * Application logs to file system configuration. + */ +model FileSystemApplicationLogsConfig { + /** + * Log level. + */ + level?: LogLevel = LogLevel.Off; +} + +/** + * Application logs to Azure table storage configuration. + */ +model AzureTableStorageApplicationLogsConfig { + /** + * Log level. + */ + level?: LogLevel; + + /** + * SAS URL to an Azure table with add/query/delete permissions. + */ + sasUrl: string; +} + +/** + * Application logs azure blob storage configuration. + */ +model AzureBlobStorageApplicationLogsConfig { + /** + * Log level. + */ + level?: LogLevel; + + /** + * SAS url to a azure blob container with read/write/list/delete permissions. + */ + sasUrl?: string; + + /** + * Retention in days. + * Remove blobs older than X days. + * 0 or lower means no retention. + */ + retentionInDays?: int32; +} + +/** + * Http logs configuration. + */ +model HttpLogsConfig { + /** + * Http logs to file system configuration. + */ + fileSystem?: FileSystemHttpLogsConfig; + + /** + * Http logs to azure blob storage configuration. + */ + azureBlobStorage?: AzureBlobStorageHttpLogsConfig; +} + +/** + * Http logs to file system configuration. + */ +model 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. + */ + @maxValue(100) + @minValue(25) + retentionInMb?: int32; + + /** + * Retention in days. + * Remove files older than X days. + * 0 or lower means no retention. + */ + retentionInDays?: int32; + + /** + * True if configuration is enabled, false if it is disabled and null if configuration is not set. + */ + enabled?: boolean; +} + +/** + * Http logs to azure blob storage configuration. + */ +model AzureBlobStorageHttpLogsConfig { + /** + * SAS url to a azure blob container with read/write/list/delete permissions. + */ + sasUrl?: string; + + /** + * Retention in days. + * Remove blobs older than X days. + * 0 or lower means no retention. + */ + retentionInDays?: int32; + + /** + * True if configuration is enabled, false if it is disabled and null if configuration is not set. + */ + enabled?: boolean; +} + +/** + * Enabled configuration. + */ +model EnabledConfig { + /** + * True if configuration is enabled, false if it is disabled and null if configuration is not set. + */ + enabled?: boolean; +} + +/** + * Names for connection strings, application settings, and external Azure storage account configuration + * identifiers to be marked as sticky to the deployment slot and not moved during a swap operation. + * This is valid for all deployment slots in an app. + */ +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model SlotConfigNames { + /** + * List of connection string names. + */ + connectionStringNames?: string[]; + + /** + * List of application settings names. + */ + appSettingNames?: string[]; + + /** + * List of external Azure storage account identifiers. + */ + azureStorageConfigNames?: string[]; +} + +/** + * Collection of metadata for the app configuration snapshots that can be restored. + */ +model SiteConfigurationSnapshotInfoCollection + is Azure.Core.Page; + +/** + * A snapshot of a web app configuration. + */ +#suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model SiteConfigurationSnapshotInfo extends ProxyOnlyResource { + /** + * SiteConfigurationSnapshotInfo resource specific properties + */ + #suppress "@azure-tools/typespec-azure-core/no-private-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + properties?: SiteConfigurationSnapshotInfoProperties; +} + +/** + * SiteConfigurationSnapshotInfo resource specific properties + */ +model SiteConfigurationSnapshotInfoProperties { + /** + * The time the snapshot was taken. + */ + @visibility(Lifecycle.Read) + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + time?: utcDateTime; + + /** + * The id of the snapshot + */ + @visibility(Lifecycle.Read) + snapshotId?: int32; +} + +/** + * Collection of Kudu continuous web job information elements. + */ +model ContinuousWebJobCollection is Azure.Core.Page; + +/** + * ContinuousWebJob resource specific properties + */ +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model ContinuousWebJobProperties { + /** + * Job status. + */ + status?: ContinuousWebJobStatus; + + /** + * Detailed status. + */ + #suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + detailed_status?: string; + + /** + * Log URL. + */ + #suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + log_url?: string; + + /** + * Run command. + */ + #suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + run_command?: string; + + /** + * Job URL. + */ + url?: string; + + /** + * Extra Info URL. + */ + #suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + extra_info_url?: string; + + /** + * Job type. + */ + #suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + web_job_type?: WebJobType; + + /** + * Error information. + */ + error?: string; + + /** + * Using SDK? + */ + #suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + using_sdk?: boolean; + + /** + * Job settings. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-no-record" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + settings?: Record; +} + +/** + * Deployment status collection ARM resource. + */ +model CsmDeploymentStatusCollection is Azure.Core.Page; + +/** + * CsmDeploymentStatus resource specific properties + */ +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model CsmDeploymentStatusProperties { + /** + * Deployment operation id. + */ + deploymentId?: string; + + /** + * Deployment build status. + */ + status?: DeploymentBuildStatus; + + /** + * Number of site instances currently being provisioned. + */ + numberOfInstancesInProgress?: int32; + + /** + * Number of site instances provisioned successfully. + */ + numberOfInstancesSuccessful?: int32; + + /** + * Number of site instances failed to provision. + */ + numberOfInstancesFailed?: int32; + + /** + * List of URLs pointing to logs for instances which failed to provision. + */ + failedInstancesLogs?: string[]; + + /** + * List of errors. + */ + @identifiers(#[]) + errors?: ErrorEntity[]; +} + +/** + * Collection of app deployments. + */ +model DeploymentCollection is Azure.Core.Page; + +/** + * Deployment resource specific properties + */ +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model DeploymentProperties { + /** + * Deployment status. + */ + status?: int32; + + /** + * Details about deployment status. + */ + message?: string; + + /** + * Who authored the deployment. + */ + author?: string; + + /** + * Who performed the deployment. + */ + deployer?: string; + + /** + * Author email. + */ + #suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + author_email?: string; + + /** + * Start time. + */ + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + #suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + start_time?: utcDateTime; + + /** + * End time. + */ + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + #suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + end_time?: utcDateTime; + + /** + * True if deployment is currently active, false if completed and null if not started. + */ + active?: boolean; + + /** + * Details on deployment. + */ + details?: string; +} + +/** + * MSDeployStatus resource specific properties + */ +#suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model MSDeployStatusProperties { + /** + * Username of deployer + */ + @visibility(Lifecycle.Read) + deployer?: string; + + /** + * Provisioning state + */ + @visibility(Lifecycle.Read) + provisioningState?: MSDeployProvisioningState; + + /** + * Start time of deploy operation + */ + @visibility(Lifecycle.Read) + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + startTime?: utcDateTime; + + /** + * End time of deploy operation + */ + @visibility(Lifecycle.Read) + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + endTime?: utcDateTime; + + /** + * Whether the deployment operation has completed + */ + @visibility(Lifecycle.Read) + complete?: boolean; +} + +/** + * MSDeploy ARM PUT information + */ +#suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model MSDeploy extends ProxyOnlyResource { + /** Core resource properties */ + properties?: MSDeployCore; +} + +/** + * MSDeploy ARM PUT core information + */ +#suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model MSDeployCore { + /** + * Package URI + */ + packageUri?: string; + + /** + * SQL Connection String + */ + connectionString?: string; + + /** + * Database Type + */ + dbType?: string; + + /** + * URI of MSDeploy Parameters file. Must not be set if SetParameters is used. + */ + setParametersXmlFileUri?: string; + + /** + * MSDeploy Parameters. Must not be set if SetParametersXmlFileUri is used. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-no-record" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + setParameters?: Record; + + /** + * 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. + */ + skipAppData?: boolean; + + /** + * Sets the AppOffline rule while the MSDeploy operation executes. + * Setting is false by default. + */ + appOffline?: boolean; +} + +/** + * MSDeploy log + */ +#suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model MSDeployLog extends ProxyOnlyResource { + /** + * MSDeployLog resource specific properties + */ + #suppress "@azure-tools/typespec-azure-core/no-private-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + properties?: MSDeployLogProperties; +} + +/** + * MSDeployLog resource specific properties + */ +#suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model MSDeployLogProperties { + /** + * List of log entry messages + */ + @visibility(Lifecycle.Read) + @identifiers(#[]) + entries?: MSDeployLogEntry[]; +} + +/** + * MSDeploy log entry + */ +#suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model MSDeployLogEntry { + /** + * Timestamp of log entry + */ + @visibility(Lifecycle.Read) + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + time?: utcDateTime; + + /** + * Log entry type + */ + @visibility(Lifecycle.Read) + type?: MSDeployLogEntryType; + + /** + * Log entry message + */ + @visibility(Lifecycle.Read) + message?: string; +} + +/** + * Collection of Kudu function information elements. + */ +model FunctionEnvelopeCollection is Azure.Core.Page; + +/** + * FunctionEnvelope resource specific properties + */ +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model FunctionEnvelopeProperties { + /** + * Function App ID. + */ + #suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + function_app_id?: string; + + /** + * Script root path URI. + */ + #suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + script_root_path_href?: string; + + /** + * Script URI. + */ + #suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + script_href?: string; + + /** + * Config URI. + */ + #suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + config_href?: string; + + /** + * Test data URI. + */ + #suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + test_data_href?: string; + + /** + * Secrets file URI. + */ + #suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + secrets_file_href?: string; + + /** + * Function URI. + */ + href?: string; + + /** + * Config information. + */ + #suppress "@azure-tools/typespec-azure-core/no-unknown" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + config?: unknown; + + /** + * File list. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-no-record" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + files?: Record; + + /** + * Test data used when testing via the Azure Portal. + */ + #suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + test_data?: string; + + /** + * The invocation URL + */ + #suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + invoke_url_template?: string; + + /** + * The function language + */ + language?: string; + + /** + * Gets or sets a value indicating whether the function is disabled + */ + isDisabled?: boolean; +} + +/** + * Function key info. + */ +model KeyInfo { + /** + * Key name + */ + name?: string; + + /** + * Key value + */ + value?: string; +} + +/** + * Function secrets. + */ +model FunctionSecrets { + /** + * Secret key. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/secret-prop" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + key?: string; + + /** + * Trigger URL. + */ + #suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + trigger_url?: string; +} + +/** + * Functions host level keys. + */ +model HostKeys { + /** + * Secret key. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/secret-prop" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + masterKey?: string; + + /** + * Host level function keys. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-no-record" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + functionKeys?: Record; + + /** + * System keys. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-no-record" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + systemKeys?: Record; +} + +/** + * Collection of hostname bindings. + */ +model HostNameBindingCollection is Azure.Core.Page; + +/** + * HostNameBinding resource specific properties + */ +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model HostNameBindingProperties { + /** + * App Service app name. + */ + @visibility(Lifecycle.Read, Lifecycle.Create) + siteName?: string; + + /** + * Fully qualified ARM domain resource URI. + */ + @visibility(Lifecycle.Read, Lifecycle.Create) + domainId?: string; + + /** + * Azure resource name. + */ + @visibility(Lifecycle.Read, Lifecycle.Create) + azureResourceName?: string; + + /** + * Azure resource type. + */ + @visibility(Lifecycle.Read, Lifecycle.Create) + azureResourceType?: AzureResourceType; + + /** + * Custom DNS record type. + */ + @visibility(Lifecycle.Read, Lifecycle.Create) + customHostNameDnsRecordType?: CustomHostNameDnsRecordType; + + /** + * Hostname type. + */ + @visibility(Lifecycle.Read, Lifecycle.Create) + hostNameType?: HostNameType; + + /** + * SSL type + */ + @visibility(Lifecycle.Read, Lifecycle.Create) + sslState?: SslState; + + /** + * SSL certificate thumbprint + */ + @visibility(Lifecycle.Read, Lifecycle.Create) + thumbprint?: string; + + /** + * Virtual IP address assigned to the hostname if IP based SSL is enabled. + */ + #suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @visibility(Lifecycle.Read) + virtualIP?: string; +} + +/** + * RelayServiceConnectionEntity resource specific properties + */ +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model RelayServiceConnectionEntityProperties { + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + entityName?: string; + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + entityConnectionString?: string; + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + resourceType?: string; + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + resourceConnectionString?: string; + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + hostname?: string; + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + port?: int32; + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + biztalkUri?: string; +} + +/** + * Collection of app instances. + */ +model WebAppInstanceStatusCollection is Azure.Core.Page; + +/** + * WebSiteInstanceStatus resource specific properties + */ +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model WebSiteInstanceStatusProperties { + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + 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; + + /** + * Dictionary of + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-no-record" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + containers?: Record; + + /** + * The physical zone that the instance is in + */ + physicalZone?: string; +} + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model ContainerInfo { + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + currentTimeStamp?: utcDateTime; + + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + previousTimeStamp?: utcDateTime; + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + currentCpuStats?: ContainerCpuStatistics; + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + previousCpuStats?: ContainerCpuStatistics; + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + memoryStats?: ContainerMemoryStatistics; + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + name?: string; + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + id?: string; + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + eth0?: ContainerNetworkInterfaceStatistics; +} + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model ContainerCpuStatistics { + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + cpuUsage?: ContainerCpuUsage; + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + systemCpuUsage?: int64; + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + onlineCpuCount?: int32; + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + throttlingData?: ContainerThrottlingData; +} + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model ContainerCpuUsage { + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + totalUsage?: int64; + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + perCpuUsage?: int64[]; + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + kernelModeUsage?: int64; + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + userModeUsage?: int64; +} + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model ContainerThrottlingData { + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + periods?: int32; + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + throttledPeriods?: int32; + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + throttledTime?: int32; +} + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model ContainerMemoryStatistics { + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + usage?: int64; + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + maxUsage?: int64; + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + limit?: int64; +} + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model ContainerNetworkInterfaceStatistics { + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + rxBytes?: int64; + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + rxPackets?: int64; + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + rxErrors?: int64; + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + rxDropped?: int64; + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + txBytes?: int64; + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + txPackets?: int64; + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + txErrors?: int64; + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + txDropped?: int64; +} + +/** + * Collection of Kudu process information elements. + */ +model ProcessInfoCollection is Azure.Core.Page; + +/** + * ProcessInfo resource specific properties + */ +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model ProcessInfoProperties { + /** + * ARM Identifier for deployment. + */ + @visibility(Lifecycle.Read) + identifier?: int32; + + /** + * Deployment name. + */ + #suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + deployment_name?: string; + + /** + * HRef URI. + */ + href?: string; + + /** + * Minidump URI. + */ + minidump?: string; + + /** + * Is profile running? + */ + #suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + is_profile_running?: boolean; + + /** + * Is the IIS Profile running? + */ + #suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + is_iis_profile_running?: boolean; + + /** + * IIS Profile timeout (seconds). + */ + #suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + iis_profile_timeout_in_seconds?: float64; + + /** + * Parent process. + */ + parent?: string; + + /** + * Child process list. + */ + children?: string[]; + + /** + * Thread list. + */ + threads?: ProcessThreadInfo[]; + + /** + * List of open files. + */ + #suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + open_file_handles?: string[]; + + /** + * List of modules. + */ + modules?: ProcessModuleInfo[]; + + /** + * File name of this process. + */ + #suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + file_name?: string; + + /** + * Command line. + */ + #suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + command_line?: string; + + /** + * User name. + */ + #suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + user_name?: string; + + /** + * Handle count. + */ + #suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + handle_count?: int32; + + /** + * Module count. + */ + #suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + module_count?: int32; + + /** + * Thread count. + */ + #suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + thread_count?: int32; + + /** + * Start time. + */ + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + #suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + start_time?: utcDateTime; + + /** + * Total CPU time. + */ + #suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + total_cpu_time?: string; + + /** + * User CPU time. + */ + #suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + user_cpu_time?: string; + + /** + * Privileged CPU time. + */ + #suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + privileged_cpu_time?: string; + + /** + * Working set. + */ + #suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + working_set?: int64; + + /** + * Peak working set. + */ + #suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + peak_working_set?: int64; + + /** + * Private memory size. + */ + #suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + private_memory?: int64; + + /** + * Virtual memory size. + */ + #suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + virtual_memory?: int64; + + /** + * Peak virtual memory usage. + */ + #suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + peak_virtual_memory?: int64; + + /** + * Paged system memory. + */ + #suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + paged_system_memory?: int64; + + /** + * Non-paged system memory. + */ + #suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + non_paged_system_memory?: int64; + + /** + * Paged memory. + */ + #suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + paged_memory?: int64; + + /** + * Peak paged memory. + */ + #suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + peak_paged_memory?: int64; + + /** + * Time stamp. + */ + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + #suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + time_stamp?: utcDateTime; + + /** + * List of environment variables. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-no-record" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + #suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + environment_variables?: Record; + + /** + * Is this the SCM site? + */ + #suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + is_scm_site?: boolean; + + /** + * Is this a Web Job? + */ + #suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + is_webjob?: boolean; + + /** + * Description of process. + */ + description?: string; +} + +/** + * Process Thread Information. + */ +#suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model ProcessThreadInfo extends ProxyOnlyResource { + /** + * ProcessThreadInfo resource specific properties + */ + #suppress "@azure-tools/typespec-azure-core/no-private-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + properties?: ProcessThreadInfoProperties; +} + +/** + * ProcessThreadInfo resource specific properties + */ +model ProcessThreadInfoProperties { + /** + * Site extension ID. + */ + @visibility(Lifecycle.Read) + identifier?: int32; + + /** + * HRef URI. + */ + href?: string; + + /** + * Process URI. + */ + process?: string; + + /** + * Start address. + */ + #suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + start_address?: string; + + /** + * Current thread priority. + */ + #suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + current_priority?: int32; + + /** + * Thread priority level. + */ + #suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + priority_level?: string; + + /** + * Base priority. + */ + #suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + base_priority?: int32; + + /** + * Start time. + */ + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + #suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + start_time?: utcDateTime; + + /** + * Total processor time. + */ + #suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + total_processor_time?: string; + + /** + * User processor time. + */ + #suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + user_processor_time?: string; + + /** + * Thread state. + */ + state?: string; + + /** + * Wait reason. + */ + #suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + wait_reason?: string; +} + +/** + * ProcessModuleInfo resource specific properties + */ +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model ProcessModuleInfoProperties { + /** + * Base address. Used as module identifier in ARM resource URI. + */ + #suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + base_address?: string; + + /** + * File name. + */ + #suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + file_name?: string; + + /** + * HRef URI. + */ + href?: string; + + /** + * File path. + */ + #suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + file_path?: string; + + /** + * Module memory size. + */ + #suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + module_memory_size?: int32; + + /** + * File version. + */ + #suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + file_version?: string; + + /** + * File description. + */ + #suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + file_description?: string; + + /** + * Product name. + */ + product?: string; + + /** + * Product version. + */ + #suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + product_version?: string; + + /** + * Is debug? + */ + #suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + is_debug?: boolean; + + /** + * Module language (locale). + */ + language?: string; +} + +/** + * Collection of Kudu thread information elements. + */ +model ProcessModuleInfoCollection is Azure.Core.Page; + +/** + * Collection of Kudu thread information elements. + */ +model ProcessThreadInfoCollection is Azure.Core.Page; + +/** + * Represents whether or not an app is cloneable. + */ +model SiteCloneability { + /** + * Name of app. + */ + result?: CloneAbilityResult; + + /** + * List of features enabled on app that prevent cloning. + */ + @identifiers(#["name"]) + blockingFeatures?: SiteCloneabilityCriterion[]; + + /** + * 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. + */ + @identifiers(#["name"]) + unsupportedFeatures?: SiteCloneabilityCriterion[]; + + /** + * List of blocking application characteristics. + */ + @identifiers(#["name"]) + blockingCharacteristics?: SiteCloneabilityCriterion[]; +} + +/** + * An app cloneability criterion. + */ +model SiteCloneabilityCriterion { + /** + * Name of criterion. + */ + name?: string; + + /** + * Description of criterion. + */ + description?: string; +} + +/** + * Options for app content migration. + */ +#suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model StorageMigrationOptions extends ProxyOnlyResource { + /** + * StorageMigrationOptions resource specific properties + */ + #suppress "@azure-tools/typespec-azure-core/no-private-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + properties?: StorageMigrationOptionsProperties; +} + +/** + * StorageMigrationOptions resource specific properties + */ +model StorageMigrationOptionsProperties { + /** + * AzureFiles connection string. + */ + @visibility(Lifecycle.Create) + azurefilesConnectionString: string; + + /** + * AzureFiles share. + */ + @visibility(Lifecycle.Create) + azurefilesShare: string; + + /** + * trueif the app should be switched over; otherwise, false. + */ + @visibility(Lifecycle.Create) + switchSiteAfterMigration?: boolean = false; + + /** + * true if the app should be read only during copy operation; otherwise, false. + */ + @visibility(Lifecycle.Create) + blockWriteAccessToSite?: boolean = false; +} + +/** + * Response for a migration of app content request. + */ +#suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model StorageMigrationResponse extends ProxyOnlyResource { + /** + * StorageMigrationResponse resource specific properties + */ + #suppress "@azure-tools/typespec-azure-core/no-private-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + properties?: StorageMigrationResponseProperties; +} + +/** + * StorageMigrationResponse resource specific properties + */ +model StorageMigrationResponseProperties { + /** + * When server starts the migration process, it will return an operation ID identifying that particular migration operation. + */ + @visibility(Lifecycle.Read) + operationId?: string; +} + +/** + * MySQL migration request. + */ +#suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model MigrateMySqlRequest extends ProxyOnlyResource { + /** + * MigrateMySqlRequest resource specific properties + */ + #suppress "@azure-tools/typespec-azure-core/no-private-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + properties?: MigrateMySqlRequestProperties; +} + +/** + * MigrateMySqlRequest resource specific properties + */ +model MigrateMySqlRequestProperties { + /** + * Connection string to the remote MySQL database. + */ + connectionString: string; + + /** + * The type of migration operation to be done + */ + migrationType: MySqlMigrationType; +} + +/** + * MigrateMySqlStatus resource specific properties + */ +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model MigrateMySqlStatusProperties { + /** + * Status of the migration task. + */ + @visibility(Lifecycle.Read) + migrationOperationStatus?: OperationStatus; + + /** + * Operation ID for the migration task. + */ + @visibility(Lifecycle.Read) + operationId?: string; + + /** + * True if the web app has in app MySql enabled + */ + @visibility(Lifecycle.Read) + localMySqlEnabled?: boolean; +} + +/** + * SwiftVirtualNetwork resource specific properties + */ +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model SwiftVirtualNetworkProperties { + /** + * 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; + + /** + * A flag that specifies if the scale unit this Web App is on supports Swift integration. + */ + swiftSupported?: boolean; +} + +/** + * NetworkFeatures resource specific properties + */ +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model NetworkFeaturesProperties { + /** + * The Virtual Network name. + */ + @visibility(Lifecycle.Read) + virtualNetworkName?: string; + + /** + * The Virtual Network summary view. + */ + @visibility(Lifecycle.Read) + virtualNetworkConnection?: VnetInfo; + + /** + * The Hybrid Connections summary view. + */ + @visibility(Lifecycle.Read) + hybridConnections?: RelayServiceConnectionEntity[]; + + /** + * The Hybrid Connection V2 (Service Bus) view. + */ + @visibility(Lifecycle.Read) + hybridConnectionsV2?: HybridConnection[]; +} + +/** + * Network trace + */ +model NetworkTrace { + /** + * Local file path for the captured network trace file. + */ + path?: string; + + /** + * Current status of the network trace operation, same as Operation.Status (InProgress/Succeeded/Failed). + */ + status?: string; + + /** + * Detailed message of a network trace operation, e.g. error message in case of failure. + */ + message?: string; +} + +/** + * Collection of performance monitor counters. + */ +model PerfMonCounterCollection is Azure.Core.Page; + +/** + * Performance monitor API response. + */ +model PerfMonResponse { + /** + * The response code. + */ + code?: string; + + /** + * The message. + */ + message?: string; + + /** + * The performance monitor counters. + */ + data?: PerfMonSet; +} + +/** + * Metric information. + */ +model PerfMonSet { + /** + * Unique key name of the counter. + */ + name?: string; + + /** + * Start time of the period. + */ + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + startTime?: utcDateTime; + + /** + * End time of the period. + */ + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + endTime?: utcDateTime; + + /** + * Presented time grain. + */ + timeGrain?: string; + + /** + * Collection of workers that are active during this time. + */ + @identifiers(#[]) + values?: PerfMonSample[]; +} + +/** + * Performance monitor sample in a set. + */ +model PerfMonSample { + /** + * Point in time for which counter was measured. + */ + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + time?: utcDateTime; + + /** + * Name of the server on which the measurement is made. + */ + instanceName?: string; + + /** + * Value of counter at a certain time. + */ + value?: float64; +} + +/** + * Used for getting PHP error logging flag. + */ +#suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model SitePhpErrorLogFlag extends ProxyOnlyResource { + /** + * SitePhpErrorLogFlag resource specific properties + */ + #suppress "@azure-tools/typespec-azure-core/no-private-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + properties?: SitePhpErrorLogFlagProperties; +} + +/** + * SitePhpErrorLogFlag resource specific properties + */ +model SitePhpErrorLogFlagProperties { + /** + * Local log_errors setting. + */ + localLogErrors?: string; + + /** + * Master log_errors setting. + */ + masterLogErrors?: string; + + /** + * Local log_errors_max_len setting. + */ + localLogErrorsMaxLength?: string; + + /** + * Master log_errors_max_len setting. + */ + masterLogErrorsMaxLength?: string; +} + +/** + * PremierAddOn resource specific properties + */ +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model PremierAddOnProperties { + /** + * Premier add on SKU. + */ + sku?: string; + + /** + * Premier add on Product. + */ + product?: string; + + /** + * Premier add on Vendor. + */ + vendor?: string; + + /** + * Premier add on Marketplace publisher. + */ + marketplacePublisher?: string; + + /** + * Premier add on Marketplace offer. + */ + marketplaceOffer?: string; +} + +/** + * ARM resource for a PremierAddOn. + */ +#suppress "@azure-tools/typespec-azure-resource-manager/patch-envelope" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model PremierAddOnPatchResource extends ProxyOnlyResource { + /** + * PremierAddOnPatchResource resource specific properties + */ + #suppress "@azure-tools/typespec-azure-core/no-private-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + properties?: PremierAddOnPatchResourceProperties; +} + +/** + * PremierAddOnPatchResource resource specific properties + */ +model PremierAddOnPatchResourceProperties { + /** + * Premier add on SKU. + */ + sku?: string; + + /** + * Premier add on Product. + */ + product?: string; + + /** + * Premier add on Vendor. + */ + vendor?: string; + + /** + * Premier add on Marketplace publisher. + */ + marketplacePublisher?: string; + + /** + * Premier add on Marketplace offer. + */ + marketplaceOffer?: string; +} + +/** + * PrivateAccess resource specific properties + */ +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model PrivateAccessProperties { + /** + * Whether private access is enabled or not. + */ + enabled?: boolean; + + /** + * The Virtual Networks (and subnets) allowed to access the site privately. + */ + @identifiers(#["key"]) + virtualNetworks?: PrivateAccessVirtualNetwork[]; +} + +/** + * Description of a Virtual Network that is useable for private site access. + */ +model PrivateAccessVirtualNetwork { + /** + * The name of the Virtual Network. + */ + name?: string; + + /** + * The key (ID) of the Virtual Network. + */ + key?: int32; + + /** + * The ARM uri of the Virtual Network + */ + resourceId?: 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. + */ + @identifiers(#["key"]) + subnets?: PrivateAccessSubnet[]; +} + +/** + * Description of a Virtual Network subnet that is useable for private site access. + */ +model PrivateAccessSubnet { + /** + * The name of the subnet. + */ + name?: string; + + /** + * The key (ID) of the subnet. + */ + key?: int32; +} + +/** + * Collection of public certificates + */ +model PublicCertificateCollection is Azure.Core.Page; + +/** + * PublicCertificate resource specific properties + */ +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model PublicCertificateProperties { + /** + * Public Certificate byte array + */ + blob?: bytes; + + /** + * Public Certificate Location + */ + publicCertificateLocation?: PublicCertificateLocation; + + /** + * Certificate Thumbprint + */ + @visibility(Lifecycle.Read) + thumbprint?: string; +} + +/** + * Publishing options for requested profile. + */ +model CsmPublishingProfileOptions { + /** + * Name of the format. Valid values are: + * FileZilla3 + * WebDeploy -- default + * Ftp + */ + format?: PublishingProfileFormat; + + /** + * Include the DisasterRecover endpoint if true + */ + includeDisasterRecoveryEndpoints?: boolean; +} + +/** + * Details about restoring a deleted app. + */ +#suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model DeletedAppRestoreRequest extends ProxyOnlyResource { + /** + * DeletedAppRestoreRequest resource specific properties + */ + #suppress "@azure-tools/typespec-azure-core/no-private-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + properties?: DeletedAppRestoreRequestProperties; +} + +/** + * DeletedAppRestoreRequest resource specific properties + */ +model DeletedAppRestoreRequestProperties { + /** + * ARM resource ID of the deleted app. Example: + * /subscriptions/{subId}/providers/Microsoft.Web/deletedSites/{deletedSiteId} + */ + deletedSiteId?: string; + + /** + * If true, deleted site configuration, in addition to content, will be restored. + */ + recoverConfiguration?: boolean; + + /** + * 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. + */ + snapshotTime?: string; + + /** + * If true, the snapshot is retrieved from DRSecondary endpoint. + */ + #suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + useDRSecondary?: boolean; +} + +/** + * Details about app recovery operation. + */ +#suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model SnapshotRestoreRequest extends ProxyOnlyResource { + /** + * SnapshotRestoreRequest resource specific properties + */ + #suppress "@azure-tools/typespec-azure-core/no-private-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + properties?: SnapshotRestoreRequestProperties; +} + +/** + * SnapshotRestoreRequest resource specific properties + */ +model SnapshotRestoreRequestProperties { + /** + * Point in time in which the app restore should be done, formatted as a DateTime string. + */ + snapshotTime?: string; + + /** + * Optional. Specifies the web app that snapshot contents will be retrieved from. + * If empty, the targeted web app will be used as the source. + */ + recoverySource?: SnapshotRecoverySource; + + /** + * If true the restore operation can overwrite source app; otherwise, false. + */ + overwrite: boolean; + + /** + * If true, site configuration, in addition to content, will be reverted. + */ + recoverConfiguration?: 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. + */ + ignoreConflictingHostNames?: boolean; + + /** + * If true, the snapshot is retrieved from DRSecondary endpoint. + */ + #suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + useDRSecondary?: boolean; +} + +/** + * Specifies the web app that snapshot contents will be retrieved from. + */ +model SnapshotRecoverySource { + /** + * Geographical location of the source web app, e.g. SouthEastAsia, SouthCentralUS + */ + location?: string; + + /** + * 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. + */ + id?: string; +} + +/** + * Collection of site containers + */ +model SiteContainerCollection is Azure.Core.Page; + +/** + * SiteContainer resource specific properties + */ +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model SiteContainerProperties { + /** + * Image Name + */ + image: string; + + /** + * Target Port + */ + targetPort?: string; + + /** + * true if the container is the main site container; false otherwise. + */ + isMain: boolean; + + /** + * StartUp Command + */ + startUpCommand?: string; + + /** + * Auth Type + */ + authType?: AuthType; + + /** + * User Name + */ + userName?: string; + + /** + * Password Secret + */ + #suppress "@azure-tools/typespec-azure-resource-manager/secret-prop" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + passwordSecret?: string; + + /** + * UserManagedIdentity ClientId + */ + userManagedIdentityClientId?: string; + + /** + * Created Time + */ + @visibility(Lifecycle.Read) + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + createdTime?: utcDateTime; + + /** + * Last Modified Time + */ + @visibility(Lifecycle.Read) + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + lastModifiedTime?: utcDateTime; + + /** + * List of volume mounts + */ + @identifiers(#[]) + volumeMounts?: VolumeMount[]; + + /** + * true if all AppSettings and ConnectionStrings have to be passed to the container as environment variables; false otherwise. + */ + inheritAppSettingsAndConnectionStrings?: boolean; + + /** + * List of environment variables + */ + environmentVariables?: EnvironmentVariable[]; +} + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model VolumeMount { + /** + * Sub path in the volume where volume is mounted from. + */ + volumeSubPath: string; + + /** + * Target path on the container where volume is mounted on + */ + containerMountPath: string; + + /** + * Config Data to be mounted on the volume + */ + data?: string; + + /** + * Boolean to specify if the mount is read only on the container + */ + readOnly?: boolean; +} + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model EnvironmentVariable { + /** + * Environment variable name + */ + name: string; + + /** + * The value of this environment variable must be the name of an AppSetting. The actual value of the environment variable in container will be retrieved from the specified AppSetting at runtime. If the AppSetting is not found, the value will be set to an empty string in the container at runtime. + */ + value: string; +} + +/** + * Collection of Kudu site extension information elements. + */ +model SiteExtensionInfoCollection is Azure.Core.Page; + +/** + * SiteExtensionInfo resource specific properties + */ +model SiteExtensionInfoProperties { + /** + * Site extension ID. + */ + #suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + extension_id?: string; + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + title?: string; + + /** + * Site extension type. + */ + #suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + extension_type?: SiteExtensionType; + + /** + * Summary description. + */ + summary?: string; + + /** + * Detailed description. + */ + description?: string; + + /** + * Version information. + */ + version?: string; + + /** + * Extension URL. + */ + #suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + extension_url?: string; + + /** + * Project URL. + */ + #suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + project_url?: string; + + /** + * Icon URL. + */ + #suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + icon_url?: string; + + /** + * License URL. + */ + #suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + license_url?: string; + + /** + * Feed URL. + */ + #suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + feed_url?: string; + + /** + * List of authors. + */ + authors?: string[]; + + /** + * Installer command line parameters. + */ + #suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + installer_command_line_params?: string; + + /** + * Published timestamp. + */ + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + #suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + published_date_time?: utcDateTime; + + /** + * Count of downloads. + */ + #suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + download_count?: int32; + + /** + * true if the local version is the latest version; false otherwise. + */ + #suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + local_is_latest_version?: boolean; + + /** + * Local path. + */ + #suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + local_path?: string; + + /** + * Installed timestamp. + */ + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + #suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + installed_date_time?: utcDateTime; + + /** + * Provisioning state. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + provisioningState?: string; + + /** + * Site Extension comment. + */ + comment?: string; +} + +/** + * Collection of slot differences. + */ +model SlotDifferenceCollection is Azure.Core.Page; + +/** + * A setting difference between two deployment slots of an app. + */ +#suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model SlotDifference extends ProxyOnlyResource { + /** + * SlotDifference resource specific properties + */ + #suppress "@azure-tools/typespec-azure-core/no-private-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + properties?: SlotDifferenceProperties; +} + +/** + * SlotDifference resource specific properties + */ +model SlotDifferenceProperties { + /** + * Level of the difference: Information, Warning or Error. + */ + @visibility(Lifecycle.Read) + level?: string; + + /** + * The type of the setting: General, AppSetting or ConnectionString. + */ + @visibility(Lifecycle.Read) + settingType?: string; + + /** + * Rule that describes how to process the setting difference during a slot swap. + */ + @visibility(Lifecycle.Read) + diffRule?: string; + + /** + * Name of the setting. + */ + @visibility(Lifecycle.Read) + settingName?: string; + + /** + * Value of the setting in the current slot. + */ + @visibility(Lifecycle.Read) + valueInCurrentSlot?: string; + + /** + * Value of the setting in the target slot. + */ + @visibility(Lifecycle.Read) + valueInTargetSlot?: string; + + /** + * Description of the setting difference. + */ + @visibility(Lifecycle.Read) + description?: string; +} + +/** + * Collection of snapshots which can be used to revert an app to a previous time. + */ +model SnapshotCollection is Azure.Core.Page; + +/** + * SiteSourceControl resource specific properties + */ +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model SiteSourceControlProperties { + /** + * Repository or source control URL. + */ + @visibility(Lifecycle.Read, Lifecycle.Create) + repoUrl?: string; + + /** + * Name of branch to use for deployment. + */ + @visibility(Lifecycle.Read, Lifecycle.Create) + branch?: string; + + /** + * true to limit to manual integration; false to enable continuous integration (which configures webhooks into online repos like GitHub). + */ + @visibility(Lifecycle.Read, Lifecycle.Create) + isManualIntegration?: boolean; + + /** + * true if this is deployed via GitHub action. + */ + @visibility(Lifecycle.Read, Lifecycle.Create) + isGitHubAction?: boolean; + + /** + * true to enable deployment rollback; otherwise, false. + */ + @visibility(Lifecycle.Read, Lifecycle.Create) + deploymentRollbackEnabled?: boolean; + + /** + * true for a Mercurial repository; false for a Git repository. + */ + @visibility(Lifecycle.Read, Lifecycle.Create) + isMercurial?: boolean; + + /** + * If GitHub Action is selected, than the associated configuration. + */ + gitHubActionConfiguration?: GitHubActionConfiguration; +} + +/** + * The GitHub action configuration. + */ +model GitHubActionConfiguration { + /** + * GitHub Action code configuration. + */ + codeConfiguration?: GitHubActionCodeConfiguration; + + /** + * GitHub Action container configuration. + */ + containerConfiguration?: GitHubActionContainerConfiguration; + + /** + * This will help determine the workflow configuration to select. + */ + isLinux?: boolean; + + /** + * Workflow option to determine whether the workflow file should be generated and written to the repository. + */ + generateWorkflowFile?: boolean; +} + +/** + * The GitHub action code configuration. + */ +model GitHubActionCodeConfiguration { + /** + * Runtime stack is used to determine the workflow file content for code base apps. + */ + runtimeStack?: string; + + /** + * Runtime version is used to determine what build version to set in the workflow file. + */ + runtimeVersion?: string; +} + +/** + * The GitHub action container configuration. + */ +model GitHubActionContainerConfiguration { + /** + * The server URL for the container registry where the build will be hosted. + */ + serverUrl?: string; + + /** + * The image name for the build. + */ + imageName?: string; + + /** + * The username used to upload the image to the container registry. + */ + username?: string; + + /** + * The password used to upload the image to the container registry. + */ + @secret + password?: string; +} + +/** + * Collection of Kudu continuous web job information elements. + */ +model TriggeredWebJobCollection is Azure.Core.Page; + +/** + * TriggeredWebJob resource specific properties + */ +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model TriggeredWebJobProperties { + /** + * Latest job run information. + */ + #suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + latest_run?: TriggeredJobRun; + + /** + * History URL. + */ + #suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + history_url?: string; + + /** + * Scheduler Logs URL. + */ + #suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + scheduler_logs_url?: string; + + /** + * Run command. + */ + #suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + run_command?: string; + + /** + * Job URL. + */ + url?: string; + + /** + * Extra Info URL. + */ + #suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + extra_info_url?: string; + + /** + * Job type. + */ + #suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + web_job_type?: WebJobType; + + /** + * Error information. + */ + error?: string; + + /** + * Using SDK? + */ + #suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + using_sdk?: boolean; + + /** + * Property to allow or block all public traffic. Allowed Values: 'Enabled', 'Disabled' or an empty string. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/secret-prop" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + publicNetworkAccess?: string; + + /** + * Checks if Customer provided storage account is required + */ + storageAccountRequired?: boolean; + + /** + * Job settings. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-no-record" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + settings?: Record; +} + +/** + * Triggered Web Job Run Information. + */ +model TriggeredJobRun { + /** + * Job ID. + */ + #suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + web_job_id?: string; + + /** + * Job name. + */ + #suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + web_job_name?: string; + + /** + * Job status. + */ + status?: TriggeredWebJobStatus; + + /** + * Start time. + */ + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + #suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + start_time?: utcDateTime; + + /** + * End time. + */ + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + #suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + end_time?: utcDateTime; + + /** + * Job duration. + */ + duration?: string; + + /** + * Output URL. + */ + #suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + output_url?: string; + + /** + * Error URL. + */ + #suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + error_url?: string; + + /** + * Job URL. + */ + url?: string; + + /** + * Job name. + */ + #suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + job_name?: string; + + /** + * Job trigger. + */ + trigger?: string; +} + +/** + * Collection of Kudu continuous web job information elements. + */ +model TriggeredJobHistoryCollection is Azure.Core.Page; + +/** + * TriggeredJobHistory resource specific properties + */ +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model TriggeredJobHistoryProperties { + /** + * List of triggered web job runs. + */ + @identifiers(#["web_job_id"]) + runs?: TriggeredJobRun[]; +} + +/** + * Collection of Kudu web job information elements. + */ +model WebJobCollection is Azure.Core.Page; + +/** + * WebJob resource specific properties + */ +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model WebJobProperties { + /** + * Run command. + */ + #suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + run_command?: string; + + /** + * Job URL. + */ + url?: string; + + /** + * Extra Info URL. + */ + #suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + extra_info_url?: string; + + /** + * Job type. + */ + #suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + web_job_type?: WebJobType; + + /** + * Error information. + */ + error?: string; + + /** + * Using SDK? + */ + #suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + using_sdk?: boolean; + + /** + * Job settings. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-no-record" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + settings?: Record; +} + +/** + * The workflow filter. + */ +model WorkflowArtifacts { + /** + * Application settings of the workflow. + */ + #suppress "@azure-tools/typespec-azure-core/no-unknown" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + appSettings?: unknown; + + /** + * Files of the app. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-no-record" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + files?: Record; + + /** + * Files of the app to delete. + */ + filesToDelete?: string[]; +} + +/** + * Collection of Kudu workflow information elements. + */ +model WorkflowEnvelopeCollection is Azure.Core.Page; + +/** + * Additional workflow properties. + */ +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model WorkflowEnvelopeProperties { + /** + * Gets or sets the files. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-no-record" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + files?: Record; + + /** + * Gets or sets the state of the workflow. + */ + flowState?: WorkflowState; + + /** + * Gets or sets workflow health. + */ + health?: WorkflowHealth; +} + +/** + * Represents the workflow health. + */ +model WorkflowHealth { + /** + * Gets or sets the workflow health state. + */ + state: WorkflowHealthState; + + /** + * Gets or sets the workflow error. + */ + error?: ErrorEntity; +} + +/** + * The access key regenerate action content. + */ +model RegenerateActionParameter { + /** + * The key type. + */ + keyType?: KeyType; +} + +/** + * Error response indicates Logic service is not able to process the incoming request. The error property contains the error details. + */ +@error +model ErrorResponse { + /** + * The error properties. + */ + error?: ErrorProperties; +} + +/** + * Error properties indicate why the Logic service was not able to process the incoming request. The reason is provided in the error message. + */ +model ErrorProperties { + /** + * Error code. + */ + code?: string; + + /** + * Error message indicating why the operation failed. + */ + message?: string; +} + +/** + * The workflow run properties. + */ +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model WorkflowRunProperties { + /** + * Gets the wait end time. + */ + @visibility(Lifecycle.Read) + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + waitEndTime?: utcDateTime; + + /** + * Gets the start time. + */ + @visibility(Lifecycle.Read) + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + startTime?: utcDateTime; + + /** + * Gets the end time. + */ + @visibility(Lifecycle.Read) + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + endTime?: utcDateTime; + + /** + * Gets the status. + */ + @visibility(Lifecycle.Read) + status?: WorkflowStatus; + + /** + * Gets the code. + */ + @visibility(Lifecycle.Read) + code?: string; + + /** + * Gets the error. + */ + #suppress "@azure-tools/typespec-azure-core/no-unknown" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @visibility(Lifecycle.Read) + error?: unknown; + + /** + * Gets the correlation id. + */ + @visibility(Lifecycle.Read) + correlationId?: string; + + /** + * The run correlation. + */ + correlation?: Correlation; + + /** + * Gets the reference to workflow version. + */ + @visibility(Lifecycle.Read) + workflow?: ResourceReference; + + /** + * Gets the fired trigger. + */ + @visibility(Lifecycle.Read) + trigger?: WorkflowRunTrigger; + + /** + * Gets the outputs. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-no-record" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @visibility(Lifecycle.Read) + outputs?: Record; + + /** + * Gets the response of the flow run. + */ + @visibility(Lifecycle.Read) + response?: WorkflowRunTrigger; +} + +/** + * The correlation property. + */ +model Correlation { + /** + * The client tracking id. + */ + clientTrackingId?: string; +} + +/** + * The resource reference. + */ +model ResourceReference { + /** + * The resource id. + */ + id?: string; + + /** + * Gets the resource name. + */ + @visibility(Lifecycle.Read) + name?: string; + + /** + * Gets the resource type. + */ + @visibility(Lifecycle.Read) + type?: string; +} + +/** + * The workflow run trigger. + */ +model WorkflowRunTrigger { + /** + * Gets the name. + */ + @visibility(Lifecycle.Read) + name?: string; + + /** + * Gets the inputs. + */ + #suppress "@azure-tools/typespec-azure-core/no-unknown" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + #suppress "@azure-tools/typespec-azure-core/no-unknown" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @visibility(Lifecycle.Read) + inputs?: unknown; + + /** + * Gets the link to inputs. + */ + @visibility(Lifecycle.Read) + inputsLink?: ContentLink; + + /** + * Gets the outputs. + */ + #suppress "@azure-tools/typespec-azure-core/no-unknown" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @visibility(Lifecycle.Read) + outputs?: unknown; + + /** + * Gets the link to outputs. + */ + @visibility(Lifecycle.Read) + outputsLink?: ContentLink; + + /** + * Gets the scheduled time. + */ + @visibility(Lifecycle.Read) + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + scheduledTime?: utcDateTime; + + /** + * Gets the start time. + */ + @visibility(Lifecycle.Read) + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + startTime?: utcDateTime; + + /** + * Gets the end time. + */ + @visibility(Lifecycle.Read) + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + endTime?: utcDateTime; + + /** + * Gets the tracking id. + */ + @visibility(Lifecycle.Read) + trackingId?: string; + + /** + * The run correlation. + */ + correlation?: Correlation; + + /** + * Gets the code. + */ + @visibility(Lifecycle.Read) + code?: string; + + /** + * Gets the status. + */ + @visibility(Lifecycle.Read) + status?: WorkflowStatus; + + /** + * Gets the error. + */ + #suppress "@azure-tools/typespec-azure-core/no-unknown" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @visibility(Lifecycle.Read) + error?: unknown; + + /** + * Gets the tracked properties. + */ + #suppress "@azure-tools/typespec-azure-core/no-unknown" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @visibility(Lifecycle.Read) + trackedProperties?: unknown; +} + +/** + * The content link. + */ +model ContentLink { + /** + * The content link URI. + */ + uri?: string; + + /** + * The content version. + */ + @visibility(Lifecycle.Read) + contentVersion?: string; + + /** + * The content size. + */ + @visibility(Lifecycle.Read) + contentSize?: int64; + + /** + * The content hash. + */ + @visibility(Lifecycle.Read) + contentHash?: ContentHash; + + /** + * The metadata. + */ + #suppress "@azure-tools/typespec-azure-core/no-unknown" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @visibility(Lifecycle.Read) + metadata?: unknown; +} + +/** + * The content hash. + */ +model ContentHash { + /** + * The algorithm of the content hash. + */ + algorithm?: string; + + /** + * The value of the content hash. + */ + value?: string; +} + +/** + * The workflow output parameter. + */ +#suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model WorkflowOutputParameter extends WorkflowParameter { + /** + * Gets the error. + */ + #suppress "@azure-tools/typespec-azure-core/no-unknown" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @visibility(Lifecycle.Read) + error?: unknown; +} + +/** + * The workflow parameters. + */ +model WorkflowParameter { + /** + * The type. + */ + type?: ParameterType; + + /** + * The value. + */ + #suppress "@azure-tools/typespec-azure-core/no-unknown" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + value?: unknown; + + /** + * The metadata. + */ + #suppress "@azure-tools/typespec-azure-core/no-unknown" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + metadata?: unknown; + + /** + * The description. + */ + description?: string; +} + +/** + * The sub resource type. + */ +model SubResource { + /** + * The resource id. + */ + @visibility(Lifecycle.Read) + id?: string; +} + +/** + * The workflow run action properties. + */ +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model WorkflowRunActionProperties { + /** + * Gets the start time. + */ + @visibility(Lifecycle.Read) + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + startTime?: utcDateTime; + + /** + * Gets the end time. + */ + @visibility(Lifecycle.Read) + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + endTime?: utcDateTime; + + /** + * Gets the status. + */ + @visibility(Lifecycle.Read) + status?: WorkflowStatus; + + /** + * Gets the code. + */ + @visibility(Lifecycle.Read) + code?: string; + + /** + * Gets the error. + */ + #suppress "@azure-tools/typespec-azure-core/no-unknown" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @visibility(Lifecycle.Read) + error?: unknown; + + /** + * Gets the tracking id. + */ + @visibility(Lifecycle.Read) + trackingId?: string; + + /** + * The correlation properties. + */ + correlation?: RunActionCorrelation; + + /** + * Gets the link to inputs. + */ + @visibility(Lifecycle.Read) + inputsLink?: ContentLink; + + /** + * Gets the link to outputs. + */ + @visibility(Lifecycle.Read) + outputsLink?: ContentLink; + + /** + * Gets the tracked properties. + */ + #suppress "@azure-tools/typespec-azure-core/no-unknown" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @visibility(Lifecycle.Read) + trackedProperties?: unknown; + + /** + * Gets the retry histories. + */ + @identifiers(#[]) + retryHistory?: RetryHistory[]; +} + +/** + * The workflow run action correlation properties. + */ +#suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model RunActionCorrelation extends RunCorrelation { + /** + * The action tracking identifier. + */ + actionTrackingId?: string; +} + +/** + * The correlation properties. + */ +model RunCorrelation { + /** + * The client tracking identifier. + */ + clientTrackingId?: string; + + /** + * The client keywords. + */ + clientKeywords?: string[]; +} + +/** + * The retry history. + */ +model RetryHistory { + /** + * Gets the start time. + */ + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + startTime?: utcDateTime; + + /** + * Gets the end time. + */ + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + endTime?: utcDateTime; + + /** + * Gets the status code. + */ + code?: string; + + /** + * Gets the client request Id. + */ + clientRequestId?: string; + + /** + * Gets the service request Id. + */ + serviceRequestId?: string; + + /** + * Gets the error response. + */ + error?: ErrorResponse; +} + +/** + * The expression traces. + */ +model ExpressionTraces { + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + #suppress "@azure-tools/typespec-azure-core/no-unknown" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + value?: unknown; + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @pageItems + @identifiers(#["path"]) + inputs?: ExpressionRoot[]; + + /** + * The link used to get the next page of recommendations. + */ + @nextLink + nextLink?: string; +} + +/** + * The expression root. + */ +#suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model ExpressionRoot extends Expression { + /** + * The path. + */ + path?: string; +} + +/** + * The expression. + */ +model Expression { + /** + * The text. + */ + text?: string; + + /** + * Anything + */ + #suppress "@azure-tools/typespec-azure-core/no-unknown" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + value?: unknown; + + /** + * The sub expressions. + */ + @identifiers(#[]) + subexpressions?: Expression[]; + + /** + * The azure resource error info. + */ + error?: AzureResourceErrorInfo; +} + +/** + * The azure resource error info. + */ +#suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model AzureResourceErrorInfo extends ErrorInfo { + /** + * The error message. + */ + message: string; + + /** + * The error details. + */ + @identifiers(#["code"]) + details?: AzureResourceErrorInfo[]; +} + +/** + * The error info. + */ +model ErrorInfo { + /** + * The error code. + */ + code: string; +} + +/** + * A collection of workflow run action repetitions. + */ +model WorkflowRunActionRepetitionDefinitionCollection + is Azure.Core.Page; + +/** + * The workflow run action repetition properties definition. + */ +#suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model WorkflowRunActionRepetitionProperties extends OperationResult { + /** + * The repetition indexes. + */ + @identifiers(#["itemIndex"]) + repetitionIndexes?: RepetitionIndex[]; +} + +/** + * The workflow run action repetition index. + */ +model RepetitionIndex { + /** + * The scope. + */ + scopeName?: string; + + /** + * The index. + */ + itemIndex: int32; +} + +/** + * The operation result definition. + */ +#suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model OperationResult extends OperationResultProperties { + /** + * Gets the tracking id. + */ + @visibility(Lifecycle.Read) + trackingId?: string; + + /** + * Gets the inputs. + */ + #suppress "@azure-tools/typespec-azure-core/no-unknown" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @visibility(Lifecycle.Read) + inputs?: unknown; + + /** + * Gets the link to inputs. + */ + @visibility(Lifecycle.Read) + inputsLink?: ContentLink; + + /** + * Gets the outputs. + */ + #suppress "@azure-tools/typespec-azure-core/no-unknown" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @visibility(Lifecycle.Read) + outputs?: unknown; + + /** + * Gets the link to outputs. + */ + @visibility(Lifecycle.Read) + outputsLink?: ContentLink; + + /** + * Gets the tracked properties. + */ + #suppress "@azure-tools/typespec-azure-core/no-unknown" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @visibility(Lifecycle.Read) + trackedProperties?: unknown; + + /** + * Gets the retry histories. + */ + @identifiers(#[]) + retryHistory?: RetryHistory[]; + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + iterationCount?: int32; +} + +/** + * The run operation result properties. + */ +model OperationResultProperties { + /** + * The start time of the workflow scope repetition. + */ + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + startTime?: utcDateTime; + + /** + * The end time of the workflow scope repetition. + */ + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + endTime?: utcDateTime; + + /** + * The correlation properties. + */ + correlation?: RunActionCorrelation; + + /** + * The status of the workflow scope repetition. + */ + status?: WorkflowStatus; + + /** + * The workflow scope repetition code. + */ + code?: string; + + /** + * Anything + */ + #suppress "@azure-tools/typespec-azure-core/no-unknown" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + error?: unknown; +} + +/** + * The base resource type. + */ +model WorkflowResource { + /** + * The resource id. + */ + @visibility(Lifecycle.Read) + id?: string; + + /** + * Gets the resource name. + */ + @visibility(Lifecycle.Read) + name?: string; + + /** + * Gets the resource type. + */ + @visibility(Lifecycle.Read) + type?: string; + + /** + * The resource location. + */ + location?: string; + + /** + * The resource tags. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-no-record" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + tags?: Record; +} + +/** + * The request history. + */ +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model RequestHistoryProperties { + /** + * The time the request started. + */ + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + startTime?: utcDateTime; + + /** + * The time the request ended. + */ + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + endTime?: utcDateTime; + + /** + * The request. + */ + request?: Request; + + /** + * The response. + */ + response?: Response; +} + +/** + * A request. + */ +model Request { + /** + * A list of all the headers attached to the request. + */ + #suppress "@azure-tools/typespec-azure-core/no-unknown" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + headers?: unknown; + + /** + * The destination for the request. + */ + uri?: string; + + /** + * The HTTP method used for the request. + */ + method?: string; +} + +/** + * A response. + */ +model Response { + /** + * A list of all the headers attached to the response. + */ + #suppress "@azure-tools/typespec-azure-core/no-unknown" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + headers?: unknown; + + /** + * The status code of the response. + */ + statusCode?: int32; + + /** + * Details on the location of the body content. + */ + bodyLink?: ContentLink; +} + +/** + * The workflow trigger properties. + */ +model WorkflowTriggerProperties { + /** + * Gets the provisioning state. + */ + @visibility(Lifecycle.Read) + provisioningState?: WorkflowTriggerProvisioningState; + + /** + * Gets the created time. + */ + @visibility(Lifecycle.Read) + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + createdTime?: utcDateTime; + + /** + * Gets the changed time. + */ + @visibility(Lifecycle.Read) + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + changedTime?: utcDateTime; + + /** + * Gets the state. + */ + @visibility(Lifecycle.Read) + state?: WorkflowState; + + /** + * Gets the status. + */ + @visibility(Lifecycle.Read) + status?: WorkflowStatus; + + /** + * Gets the last execution time. + */ + @visibility(Lifecycle.Read) + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + lastExecutionTime?: utcDateTime; + + /** + * Gets the next execution time. + */ + @visibility(Lifecycle.Read) + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + nextExecutionTime?: utcDateTime; + + /** + * Gets the workflow trigger recurrence. + */ + @visibility(Lifecycle.Read) + recurrence?: WorkflowTriggerRecurrence; + + /** + * Gets the reference to workflow. + */ + @visibility(Lifecycle.Read) + workflow?: ResourceReference; +} + +/** + * The workflow trigger recurrence. + */ +model WorkflowTriggerRecurrence { + /** + * The frequency. + */ + frequency?: RecurrenceFrequency; + + /** + * The interval. + */ + interval?: int32; + + /** + * The start time. + */ + startTime?: string; + + /** + * The end time. + */ + endTime?: string; + + /** + * The time zone. + */ + timeZone?: string; + + /** + * The recurrence schedule. + */ + schedule?: RecurrenceSchedule; +} + +/** + * The recurrence schedule. + */ +model RecurrenceSchedule { + /** + * The minutes. + */ + minutes?: int32[]; + + /** + * The hours. + */ + hours?: int32[]; + + /** + * The days of the week. + */ + weekDays?: DaysOfWeek[]; + + /** + * The month days. + */ + monthDays?: int32[]; + + /** + * The monthly occurrences. + */ + @identifiers(#[]) + monthlyOccurrences?: RecurrenceScheduleOccurrence[]; +} + +/** + * The recurrence schedule occurrence. + */ +model RecurrenceScheduleOccurrence { + /** + * The day of the week. + */ + day?: DayOfWeek; + + /** + * The occurrence. + */ + occurrence?: int32; +} + +/** + * The workflow trigger history properties. + */ +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model WorkflowTriggerHistoryProperties { + /** + * Gets the start time. + */ + @visibility(Lifecycle.Read) + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + startTime?: utcDateTime; + + /** + * Gets the end time. + */ + @visibility(Lifecycle.Read) + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + endTime?: utcDateTime; + + /** + * The scheduled time. + */ + @visibility(Lifecycle.Read) + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + scheduledTime?: utcDateTime; + + /** + * Gets the status. + */ + @visibility(Lifecycle.Read) + status?: WorkflowStatus; + + /** + * Gets the code. + */ + @visibility(Lifecycle.Read) + code?: string; + + /** + * Gets the error. + */ + #suppress "@azure-tools/typespec-azure-core/no-unknown" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @visibility(Lifecycle.Read) + error?: unknown; + + /** + * Gets the tracking id. + */ + @visibility(Lifecycle.Read) + trackingId?: string; + + /** + * The run correlation. + */ + correlation?: Correlation; + + /** + * Gets the link to input parameters. + */ + @visibility(Lifecycle.Read) + inputsLink?: ContentLink; + + /** + * Gets the link to output parameters. + */ + @visibility(Lifecycle.Read) + outputsLink?: ContentLink; + + /** + * The value indicating whether trigger was fired. + */ + @visibility(Lifecycle.Read) + fired?: boolean; + + /** + * Gets the reference to workflow run. + */ + @visibility(Lifecycle.Read) + run?: ResourceReference; +} + +/** + * The workflow trigger callback URL. + */ +model WorkflowTriggerCallbackUrl { + /** + * Gets the workflow trigger callback URL. + */ + @visibility(Lifecycle.Read) + value?: string; + + /** + * Gets the workflow trigger callback URL HTTP method. + */ + @visibility(Lifecycle.Read) + method?: string; + + /** + * Gets the workflow trigger callback URL base path. + */ + @visibility(Lifecycle.Read) + basePath?: string; + + /** + * Gets the workflow trigger callback URL relative path. + */ + @visibility(Lifecycle.Read) + relativePath?: string; + + /** + * Gets the workflow trigger callback URL relative path parameters. + */ + relativePathParameters?: string[]; + + /** + * Gets the workflow trigger callback URL query parameters. + */ + queries?: WorkflowTriggerListCallbackUrlQueries; +} + +/** + * Gets the workflow trigger callback URL query parameters. + */ +model WorkflowTriggerListCallbackUrlQueries { + /** + * The api version. + */ + #suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + `api-version`?: string; + + /** + * The SAS permissions. + */ + sp?: string; + + /** + * The SAS version. + */ + sv?: string; + + /** + * The SAS signature. + */ + sig?: string; + + /** + * The SAS timestamp. + */ + se?: string; +} + +/** + * The JSON schema. + */ +model JsonSchema { + /** + * The JSON title. + */ + title?: string; + + /** + * The JSON content. + */ + content?: string; +} + +/** + * The workflow type. + */ +#suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model Workflow extends WorkflowResource { + /** + * The workflow properties. + */ + #suppress "@azure-tools/typespec-azure-core/no-private-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + properties?: WorkflowProperties; + + /** + * Managed service identity. + */ + identity?: ManagedServiceIdentity; +} + +/** + * The workflow properties. + */ +model WorkflowProperties { + /** + * Gets the provisioning state. + */ + @visibility(Lifecycle.Read) + provisioningState?: WorkflowProvisioningState; + + /** + * Gets the created time. + */ + @visibility(Lifecycle.Read) + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + createdTime?: utcDateTime; + + /** + * Gets the changed time. + */ + @visibility(Lifecycle.Read) + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + changedTime?: utcDateTime; + + /** + * The state. + */ + state?: WorkflowState; + + /** + * Gets the version. + */ + @visibility(Lifecycle.Read) + version?: string; + + /** + * Gets the access endpoint. + */ + @visibility(Lifecycle.Read) + accessEndpoint?: string; + + /** + * The endpoints configuration. + */ + endpointsConfiguration?: FlowEndpointsConfiguration; + + /** + * The access control configuration. + */ + accessControl?: FlowAccessControlConfiguration; + + /** + * The sku. + */ + @visibility(Lifecycle.Read) + sku?: WorkflowSku; + + /** + * The integration account. + */ + integrationAccount?: ResourceReference; + + /** + * The integration service environment. + */ + integrationServiceEnvironment?: ResourceReference; + + /** + * The definition. + */ + #suppress "@azure-tools/typespec-azure-core/no-unknown" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + definition?: unknown; + + /** + * The parameters. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-no-record" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + parameters?: Record; + + /** + * The workflow kind. + */ + kind?: Kind; +} + +/** + * The endpoints configuration. + */ +model FlowEndpointsConfiguration { + /** + * The workflow endpoints. + */ + workflow?: FlowEndpoints; + + /** + * The connector endpoints. + */ + connector?: FlowEndpoints; +} + +/** + * The flow endpoints configuration. + */ +model FlowEndpoints { + /** + * The outgoing ip address. + */ + @identifiers(#["address"]) + outgoingIpAddresses?: IpAddress[]; + + /** + * The access endpoint ip address. + */ + @identifiers(#["address"]) + accessEndpointIpAddresses?: IpAddress[]; +} + +/** + * The ip address. + */ +model IpAddress { + /** + * The address. + */ + address?: string; +} + +/** + * The access control configuration. + */ +model FlowAccessControlConfiguration { + /** + * The access control configuration for invoking workflow triggers. + */ + triggers?: FlowAccessControlConfigurationPolicy; + + /** + * The access control configuration for accessing workflow run contents. + */ + contents?: FlowAccessControlConfigurationPolicy; + + /** + * The access control configuration for workflow actions. + */ + actions?: FlowAccessControlConfigurationPolicy; + + /** + * The access control configuration for workflow management. + */ + workflowManagement?: FlowAccessControlConfigurationPolicy; +} + +/** + * The access control configuration policy. + */ +model FlowAccessControlConfigurationPolicy { + /** + * The allowed caller IP address ranges. + */ + @identifiers(#[]) + allowedCallerIpAddresses?: IpAddressRange[]; + + /** + * The authentication policies for workflow. + */ + openAuthenticationPolicies?: OpenAuthenticationAccessPolicies; +} + +/** + * The ip address range. + */ +model IpAddressRange { + /** + * The IP address range. + */ + addressRange?: string; +} + +/** + * AuthenticationPolicy of type Open. + */ +model OpenAuthenticationAccessPolicies { + /** + * Open authentication policies. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-no-record" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + policies?: Record; +} + +/** + * Open authentication access policy defined by user. + */ +model OpenAuthenticationAccessPolicy { + /** + * Type of provider for OAuth. + */ + type?: OpenAuthenticationProviderType; + + /** + * The access policy claims. + */ + @identifiers(#["name"]) + claims?: OpenAuthenticationPolicyClaim[]; +} + +/** + * Open authentication policy claim. + */ +model OpenAuthenticationPolicyClaim { + /** + * The name of the claim. + */ + name?: string; + + /** + * The value of the claim. + */ + value?: string; +} + +/** + * The sku type. + */ +model WorkflowSku { + /** + * The name. + */ + name: WorkflowSkuName; + + /** + * The reference to plan. + */ + plan?: ResourceReference; +} + +/** + * The workflow version properties. + */ +model WorkflowVersionProperties { + /** + * The provisioning state. + */ + @visibility(Lifecycle.Read) + provisioningState?: WorkflowProvisioningState; + + /** + * Gets the created time. + */ + @visibility(Lifecycle.Read) + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + createdTime?: utcDateTime; + + /** + * Gets the changed time. + */ + @visibility(Lifecycle.Read) + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + changedTime?: utcDateTime; + + /** + * The state. + */ + state?: WorkflowState; + + /** + * Gets the version. + */ + @visibility(Lifecycle.Read) + version?: string; + + /** + * Gets the access endpoint. + */ + @visibility(Lifecycle.Read) + accessEndpoint?: string; + + /** + * The endpoints configuration. + */ + endpointsConfiguration?: FlowEndpointsConfiguration; + + /** + * The access control configuration. + */ + accessControl?: FlowAccessControlConfiguration; + + /** + * The sku. + */ + @visibility(Lifecycle.Read) + sku?: WorkflowSku; + + /** + * The integration account. + */ + integrationAccount?: ResourceReference; + + /** + * The definition. + */ + #suppress "@azure-tools/typespec-azure-core/no-unknown" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + definition?: unknown; + + /** + * The parameters. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-no-record" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + parameters?: Record; +} + +/** + * Describes valid TLS cipher suites. + */ +model CipherSuites { + /** + * List of TLS Cipher Suites that are supported by App Service. + */ + suites?: string[]; +} + +/** + * Container App container definition. + */ +model Container { + /** + * Container image tag. + */ + image?: string; + + /** + * Custom container name. + */ + name?: string; + + /** + * Container start command. + */ + command?: string[]; + + /** + * Container start command arguments. + */ + args?: string[]; + + /** + * Container environment variables. + */ + @identifiers(#["name"]) + env?: EnvironmentVar[]; + + /** + * Container resource requirements. + */ + resources?: ContainerResources; +} + +/** + * Container App container environment variable. + */ +model EnvironmentVar { + /** + * Environment variable name. + */ + name?: string; + + /** + * Non-secret environment variable value. + */ + value?: string; + + /** + * Name of the Container App secret from which to pull the environment variable value. + */ + secretRef?: string; +} + +/** + * Container App container resource requirements. + */ +model ContainerResources { + /** + * Required CPU in cores, e.g. 0.5 + */ + cpu?: float64; + + /** + * Required memory, e.g. "250Mb" + */ + memory?: string; +} + +/** + * Container App container Custom scaling rule. + */ +model CustomScaleRule { + /** + * Type of the custom scale rule + * eg: azure-servicebus, redis etc. + */ + type?: string; + + /** + * Metadata properties to describe custom scale rule. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-no-record" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + metadata?: Record; + + /** + * Authentication secrets for the custom scale rule. + */ + @identifiers(#["triggerParameter"]) + auth?: ScaleRuleAuth[]; +} + +/** + * Auth Secrets for Container App Scale Rule + */ +model ScaleRuleAuth { + /** + * Name of the Container App secret from which to pull the auth params. + */ + secretRef?: string; + + /** + * Trigger Parameter that uses the secret + */ + triggerParameter?: string; +} + +/** + * Container App Dapr configuration. + */ +model Dapr { + /** + * Boolean indicating if the Dapr side car is enabled + */ + enabled?: boolean; + + /** + * Dapr application identifier + */ + appId?: string; + + /** + * Port on which the Dapr side car + */ + appPort?: int32; + + /** + * Collection of Dapr components + */ + @identifiers(#["name"]) + components?: DaprComponent[]; +} + +/** + * Dapr component configuration + */ +model DaprComponent { + /** + * Component name + */ + name?: string; + + /** + * Component type + */ + type?: string; + + /** + * Component version + */ + version?: string; + + /** + * Component metadata + */ + @identifiers(#["name"]) + metadata?: DaprMetadata[]; +} + +/** + * Container App Dapr component metadata. + */ +model DaprMetadata { + /** + * Metadata property name. + */ + name?: string; + + /** + * Metadata property value. + */ + value?: string; + + /** + * Name of the Container App secret from which to pull the metadata property value. + */ + secretRef?: string; +} + +/** + * Container App container Custom scaling rule. + */ +model HttpScaleRule { + /** + * Metadata properties to describe http scale rule. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-no-record" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + metadata?: Record; + + /** + * Authentication secrets for the custom scale rule. + */ + @identifiers(#["triggerParameter"]) + auth?: ScaleRuleAuth[]; +} + +/** + * A request to approve or reject a private endpoint connection + */ +model PrivateLinkConnectionApprovalRequest { + /** + * The state of a private link connection + */ + privateLinkServiceConnectionState?: PrivateLinkConnectionState; +} + +/** + * Private Endpoint Connection Approval ARM resource. + */ +#suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model PrivateLinkConnectionApprovalRequestResource extends ProxyOnlyResource { + /** + * Core resource properties + */ + #suppress "@azure-tools/typespec-azure-core/no-private-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + properties?: PrivateLinkConnectionApprovalRequest; +} + +/** + * Container App container Azure Queue based scaling rule. + */ +model QueueScaleRule { + /** + * Queue name. + */ + queueName?: string; + + /** + * Queue length. + */ + queueLength?: int32; + + /** + * Authentication secrets for the queue scale rule. + */ + @identifiers(#["triggerParameter"]) + auth?: ScaleRuleAuth[]; +} + +/** + * Container App scaling configurations. + */ +model Scale { + /** + * Optional. Minimum number of container replicas. + */ + minReplicas?: int32; + + /** + * Optional. Maximum number of container replicas. Defaults to 10 if not set. + */ + maxReplicas?: int32; + + /** + * Scaling rules. + */ + @identifiers(#["name"]) + rules?: ScaleRule[]; +} + +/** + * Container App container scaling rule. + */ +model ScaleRule { + /** + * Scale Rule Name + */ + name?: string; + + /** + * Azure Queue based scaling. + */ + azureQueue?: QueueScaleRule; + + /** + * Custom scale rule. + */ + custom?: CustomScaleRule; + + /** + * HTTP requests based scaling. + */ + http?: HttpScaleRule; +} + +/** + * 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 + */ +model Template { + /** + * User friendly suffix that is appended to the revision name + */ + revisionSuffix?: string; + + /** + * List of container definitions for the Container App. + */ + @identifiers(#["name"]) + containers?: Container[]; + + /** + * Scaling properties for the Container App. + */ + scale?: Scale; + + /** + * Dapr configuration for the Container App. + */ + dapr?: Dapr; +} + +/** + * Github access token for Appservice CLI github integration. + */ +model AppserviceGithubToken { + /** + * Github access token for Appservice CLI github integration + */ + accessToken?: string; + + /** + * Scope of the github access token + */ + scope?: string; + + /** + * token type + */ + tokenType?: string; + + /** + * True if valid github token received, False otherwise + */ + gotToken?: boolean; + + /** + * Error message if unable to get token + */ + errorMessage?: string; +} + +/** + * Appservice Github token request content. + */ +model AppserviceGithubTokenRequest { + /** + * Code string to exchange for Github Access token + */ + code: string; + + /** + * State string used for verification. + */ + state: string; +} + +/** + * A custom error page for a specific status returned by a web app. + */ +model ErrorPage { + /** + * The status code for which the error page will be used + */ + statusCode?: int32; + + /** + * The content of the error page. There is a 10kb limit imposed on custom error page content. + */ + content?: string; + + /** + * The content type of the error page. For example, 'text/html' + */ + contentType?: string; + + /** + * If true, the error page will be shown for all requests with a matching status code, regardless of whether they failed on the App Service FrontEnd load balancer or on the app itself. + */ + alwaysUse?: boolean; +} + +/** + * The workflow filter. + */ +model WorkflowFilter { + /** + * The state of workflows. + */ + state?: WorkflowState; +} + +/** + * The list of workflows. + */ +model WorkflowListResult { + /** + * The list of workflows. + */ + value?: Workflow[]; + + /** + * The URL to get the next set of results. + */ + nextLink?: string; +} + +/** + * The workflow run action filter. + */ +model WorkflowRunActionFilter { + /** + * The status of workflow run action. + */ + status?: WorkflowStatus; +} + +/** + * The workflow run filter. + */ +model WorkflowRunFilter { + /** + * The status of workflow run. + */ + status?: WorkflowStatus; +} + +/** + * The workflow trigger filter. + */ +model WorkflowTriggerFilter { + /** + * The state of workflow trigger. + */ + state?: WorkflowState; +} + +/** + * The workflow trigger history filter. + */ +model WorkflowTriggerHistoryFilter { + /** + * The status of workflow trigger history. + */ + status?: WorkflowStatus; +} + +/** + * Type of the registry adapter. + */ +union RegistryAdapterType { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Binary: "Binary", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + String: "String", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Expand_String: "Expand_String", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Multi_String: "Multi_String", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + DWord: "DWord", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + QWord: "QWord", +} + +/** + * Type of the install script. + */ +union InstallScriptType { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + RemoteAzureBlob: "RemoteAzureBlob", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + PlatformStorage: "PlatformStorage", +} + +/** + * Type of the storage mount. + */ +union StorageMountType { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + AzureFiles: "AzureFiles", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + LocalStorage: "LocalStorage", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + FileShare: "FileShare", +} + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model DefaultIdentity { + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + identityType?: ManagedServiceIdentityType; + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + userAssignedIdentityResourceId?: string; +} + +/** + * Represents instance details for an app service plan. + */ +#suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model ServerFarmInstanceDetails { + /** + * The server farm name. + */ + serverFarmName?: string; + + /** + * The list of server farm instances. + */ + @identifiers(#[]) + instances?: ServerFarmInstance[]; + + /** + * The total number of instances. + */ + instanceCount?: int32; +} + +/** + * Represents details of a single instance in a server farm. + */ +model ServerFarmInstance { + /** + * The instance name. + */ + @maxLength(64) + @minLength(1) + @pattern("^[a-zA-Z0-9]+$") + instanceName?: string; + + /** + * The instance IP address. + */ + ipAddress?: string; + + /** + * The instance status. + */ + status?: string; +} + +/** + * Server Farm RDP connection details. + */ +model ServerFarmRdpDetails { + /** + * The RDP password for the server farm. + */ + @secret + rdpPassword?: string; + + /** + * The RDP password expiry date. + */ + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + #suppress "@azure-tools/typespec-azure-resource-manager/secret-prop" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + rdpPasswordExpiry?: utcDateTime; +} + +/** + * Server farm registry adapter configuration. + */ +model RegistryAdapter { + /** + * Registry key for the adapter. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/secret-prop" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + registryKey?: string; + + /** + * Type of the registry adapter. + */ + type?: RegistryAdapterType; + + /** + * Key vault reference to the value that will be placed in the registry location + */ + keyVaultSecretReference?: KeyVaultReferenceWithStatus; +} +/** + * Object to hold key vault reference and the resolution status + */ +model KeyVaultReferenceWithStatus { + /** + * Key vault secret URI. + */ + secretUri?: string; + + /** + * Reference status of the key vault secret. + */ + referenceStatus?: string; +} +/** + * Server farm install script configuration. + */ +model InstallScript { + /** + * Name of the install script. + */ + name?: string; + + /** + * Source of the install script. + */ + source?: InstallScriptSource; +} +/** + * Object to hold install script reference. + */ +model InstallScriptSource { + /** + * Install script source URI where the install script file will be fetched from. + */ + sourceUri?: string; + + /** + * Type of the install script. + */ + type?: InstallScriptType; +} +/** + * Network settings for an app service plan. + */ +model ServerFarmNetworkSettings { + /** + * 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} + */ + virtualNetworkSubnetId?: string; +} +/** + * Server farm storage mount configuration. + */ +model StorageMount { + /** + * Name of the storage mount. + */ + name?: string; + + /** + * Type of the storage mount. + */ + type?: StorageMountType; + + /** + * Source of the fileshare/storage. + */ + source?: string; + + /** + * Path on worker where storage will be mounted. + */ + destinationPath?: string; + + /** + * KV reference to the credentials to connect to the share. + */ + credentialsKeyVaultReference?: KeyVaultReferenceWithStatus; +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/readme.md b/specification/web/resource-manager/Microsoft.Web/AppService/readme.md index e65dfa3cf7ad..557e614cebf3 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/readme.md +++ b/specification/web/resource-manager/Microsoft.Web/AppService/readme.md @@ -93,21 +93,7 @@ These settings apply only when `--tag=package-2025-03` is specified on the comma ```yaml $(tag) == 'package-2025-03' input-file: - - stable/2025-03-01/AppServiceEnvironments.json - - stable/2025-03-01/AppServicePlans.json - - stable/2025-03-01/Certificates.json - - stable/2025-03-01/CommonDefinitions.json - - stable/2025-03-01/DeletedWebApps.json - - stable/2025-03-01/Diagnostics.json - - stable/2025-03-01/Global.json - - stable/2025-03-01/KubeEnvironments.json - - stable/2025-03-01/Provider.json - - stable/2025-03-01/Recommendations.json - - stable/2025-03-01/ResourceHealthMetadata.json - - stable/2025-03-01/ResourceProvider.json - - stable/2025-03-01/SiteCertificates.json - - stable/2025-03-01/StaticSites.json - - stable/2025-03-01/WebApps.json + - stable/2025-03-01/openapi.json ``` ### Tag: package-2024-11 diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/routes.tsp b/specification/web/resource-manager/Microsoft.Web/AppService/routes.tsp new file mode 100644 index 000000000000..5000cf651e75 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/routes.tsp @@ -0,0 +1,563 @@ +// FIXME: Operations in this file are not detected as a resource operation, please confirm the conversion result manually + +import "@azure-tools/typespec-azure-core"; +import "@typespec/rest"; +import "./models.tsp"; +import "@azure-tools/typespec-azure-resource-manager"; +import "@typespec/openapi"; + +using TypeSpec.Rest; +using TypeSpec.Http; +using Azure.ResourceManager; +using TypeSpec.OpenAPI; + +namespace Microsoft.Web; + +/** + * Description for Validate whether a resource can be moved. + */ +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@summary("Validate whether a resource can be moved.") +@summary("Validate whether a resource can be moved.") +@route("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/validateMoveResources") +@post +op validateMove( + ...ApiVersionParameter, + ...ResourceGroupParameter, + ...SubscriptionIdParameter, + + /** + * Object that represents the resource to move. + */ + @bodyRoot + moveResourceEnvelope: CsmMoveResourceEnvelope, +): DefaultErrorResponse | NoContentResponse; +/** + * Description for Validate if a resource can be created. + */ +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@summary("Validate if a resource can be created.") +@summary("Validate if a resource can be created.") +@route("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/validate") +@post +op validate( + ...ApiVersionParameter, + ...ResourceGroupParameter, + ...SubscriptionIdParameter, + + /** + * Request with the resources to validate. + */ + @bodyRoot + validateRequest: ValidateRequest, +): ArmResponse | DefaultErrorResponse; + +/** + * Description for Gets list of available geo regions plus ministamps + */ +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@summary("Gets list of available geo regions plus ministamps") +@autoRoute +@get +@action("deploymentLocations") +op getSubscriptionDeploymentLocations is ArmProviderActionSync< + Response = DeploymentLocations, + Scope = SubscriptionActionScope, + Parameters = {}, + Error = DefaultErrorResponse +>; + +/** + * Description for get a list of available ASE regions and its supported Skus. + */ +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@summary("Get a list of available ASE regions and its supported Skus.") +@autoRoute +@get +@action("aseRegions") +@list +op listAseRegions is ArmProviderActionSync< + Response = AseRegionCollection, + Scope = SubscriptionActionScope, + Parameters = {}, + Error = DefaultErrorResponse +>; + +/** + * Description for Gets a list of meters for a given location. + */ +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-interface-requires-decorator" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@summary("Gets a list of meters for a given location.") +@autoRoute +@get +@action("billingMeters") +@list +op listBillingMeters is ArmProviderActionSync< + Response = BillingMeterCollection, + Scope = SubscriptionActionScope, + Parameters = { + /** + * Azure Location of billable resource + */ + @query("billingLocation") + billingLocation?: string; + + /** + * App Service OS type meters used for + */ + @query("osType") + osType?: string; + }, + Error = DefaultErrorResponse +>; + +/** + * Description for Check if a resource name is available. + */ +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@summary("Check if a resource name is available.") +@autoRoute +@action("checknameavailability") +op checkNameAvailability is ArmProviderActionSync< + Request = ResourceNameAvailabilityRequest, + Response = ResourceNameAvailability, + Scope = SubscriptionActionScope, + Parameters = {}, + Error = DefaultErrorResponse +>; + +/** + * Get custom hostnames under this subscription + */ +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@summary("Get custom hostnames under this subscription") +@autoRoute +@get +@action("customhostnameSites") +@list +op listCustomHostNameSites is ArmProviderActionSync< + Response = CustomHostnameSitesCollection, + Scope = SubscriptionActionScope, + Parameters = { + /** + * Specific hostname + */ + @query("hostname") + hostname?: string; + }, + Error = DefaultErrorResponse +>; + +/** + * Description for Get a list of available geographical regions. + */ +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@summary("Get a list of available geographical regions.") +@autoRoute +@get +@action("geoRegions") +@list +op listGeoRegions is ArmProviderActionSync< + Response = GeoRegionCollection, + Scope = SubscriptionActionScope, + Parameters = { + /** + * Name of SKU used to filter the regions. + */ + @query("sku") + sku?: SkuName; + + /** + * Specify true if you want to filter to only regions that support Linux workers. + */ + @query("linuxWorkersEnabled") + linuxWorkersEnabled?: boolean; + + /** + * Specify true if you want to filter to only regions that support Xenon workers. + */ + @query("xenonWorkersEnabled") + xenonWorkersEnabled?: boolean; + + /** + * Specify true if you want to filter to only regions that support Linux Consumption Workers. + */ + @query("linuxDynamicWorkersEnabled") + linuxDynamicWorkersEnabled?: boolean; + + /** + * Specify true if you want to filter to only regions that support App Service Plans with IsCustomMode set to true. + */ + @query("customModeWorkersEnabled") + customModeWorkersEnabled?: boolean; + }, + Error = DefaultErrorResponse +>; + +/** + * Description for List all apps that are assigned to a hostname. + */ +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@summary("List all apps that are assigned to a hostname.") +@autoRoute +@action("listSitesAssignedToHostName") +@list +op listSiteIdentifiersAssignedToHostName is ArmProviderActionSync< + Request = NameIdentifier, + Response = IdentifierCollection, + Scope = SubscriptionActionScope, + Parameters = {}, + Error = DefaultErrorResponse +>; + +/** + * Check if a resource name is available for DNL sites. + */ +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@summary("Check if a resource name is available for DNL sites.") +@autoRoute +@action("checknameavailability") +op regionalCheckNameAvailability is ArmProviderActionSync< + Request = DnlResourceNameAvailabilityRequest, + Response = DnlResourceNameAvailability, + Scope = SubscriptionActionScope, + Parameters = LocationParameter, + Error = DefaultErrorResponse +>; + +/** + * Description for List all premier add-on offers. + */ +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@summary("List all premier add-on offers.") +@autoRoute +@get +@action("premieraddonoffers") +@list +op listPremierAddOnOffers is ArmProviderActionSync< + Response = PremierAddOnOfferCollection, + Scope = SubscriptionActionScope, + Parameters = {}, + Error = DefaultErrorResponse +>; + +/** + * Description for List all SKUs. + */ +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@summary("List all SKUs.") +@autoRoute +@get +@action("skus") +op listSkus is ArmProviderActionSync< + Response = SkuInfos, + Scope = SubscriptionActionScope, + Parameters = {}, + Error = DefaultErrorResponse +>; + +/** + * Description for Verifies if this VNET is compatible with an App Service Environment by analyzing the Network Security Group rules. + */ +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@summary("Verifies if this VNET is compatible with an App Service Environment by analyzing the Network Security Group rules.") +@autoRoute +op verifyHostingEnvironmentVnet is ArmProviderActionSync< + Request = VnetParameters, + Response = VnetValidationFailureDetails, + Scope = SubscriptionActionScope, + Parameters = {}, + Error = DefaultErrorResponse +>; + +/** + * Description for Move resources between resource groups. + */ +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@summary("Move resources between resource groups.") +@route("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/moveResources") +@post +op move( + ...ApiVersionParameter, + ...ResourceGroupParameter, + ...SubscriptionIdParameter, + + /** + * Object that represents the resource to move. + */ + @bodyRoot + moveResourceEnvelope: CsmMoveResourceEnvelope, +): NoContentResponse | DefaultErrorResponse; + +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-interface-requires-decorator" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +interface GlobalOperationGroup { + /** + * Description for Gets an operation in a subscription and given region + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @summary("Gets an operation in a subscription and given region") + @route("/subscriptions/{subscriptionId}/providers/Microsoft.Web/locations/{location}/operations/{operationId}") + @get + getSubscriptionOperationWithAsyncResponse( + ...ApiVersionParameter, + ...LocationResourceParameter, + + /** + * Operation Id + */ + @path + operationId: string, + + ...SubscriptionIdParameter, + ): NoContentResponse | DefaultErrorResponse; +} + +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-interface-requires-decorator" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +interface ProviderOperationGroup { + /** + * Description for Get available application frameworks and their versions + */ + @summary("Get available application frameworks and their versions") + @autoRoute + @get + @action("availableStacks") + @list + getAvailableStacks is ArmProviderActionSync< + Response = ApplicationStackCollection, + Parameters = { + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @query("osTypeSelected") + osTypeSelected?: ProviderOsTypeSelected; + }, + Error = DefaultErrorResponse + >; + /** + * Description for Get available Function app frameworks and their versions + */ + @summary("Get available Function app frameworks and their versions") + @autoRoute + @get + @action("functionAppStacks") + @list + getFunctionAppStacks is ArmProviderActionSync< + Response = FunctionAppStackCollection, + Parameters = { + /** + * Stack OS Type + */ + @query("stackOsType") + stackOsType?: ProviderStackOsType; + }, + Error = DefaultErrorResponse + >; + /** + * Description for Get available Function app frameworks and their versions for location + */ + @summary("Get available Function app frameworks and their versions for location") + @autoRoute + @get + @action("functionAppStacks") + @list + getFunctionAppStacksForLocation is ArmProviderActionSync< + Response = FunctionAppStackCollection, + Parameters = { + ...LocationParameter; + + /** + * Stack OS Type + */ + @query("stackOsType") + stackOsType?: ProviderStackOsType; + }, + Error = DefaultErrorResponse + >; + /** + * Description for Get available Web app frameworks and their versions for location + */ + @summary("Get available Web app frameworks and their versions for location") + @autoRoute + @get + @action("webAppStacks") + @list + getWebAppStacksForLocation is ArmProviderActionSync< + Response = WebAppStackCollection, + Parameters = { + ...LocationParameter; + + /** + * Stack OS Type + */ + @query("stackOsType") + stackOsType?: ProviderStackOsType; + }, + Error = DefaultErrorResponse + >; + /** + * Description for Get available Web app frameworks and their versions + */ + @summary("Get available Web app frameworks and their versions") + @autoRoute + @get + @action("webAppStacks") + @list + getWebAppStacks is ArmProviderActionSync< + Response = WebAppStackCollection, + Parameters = { + /** + * Stack OS Type + */ + @query("stackOsType") + stackOsType?: ProviderStackOsType; + }, + Error = DefaultErrorResponse + >; + /** + * Description for Get available application frameworks and their versions + */ + @summary("Get available application frameworks and their versions") + @autoRoute + @get + @action("availableStacks") + @list + getAvailableStacksOnPrem is ArmProviderActionSync< + Response = ApplicationStackCollection, + Scope = SubscriptionActionScope, + Parameters = { + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @query("osTypeSelected") + osTypeSelected?: ProviderOsTypeSelected; + }, + Error = DefaultErrorResponse + >; +} + +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-interface-requires-decorator" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +interface RecommendationsOperationGroup { + /** + * Description for List all recommendations for a subscription. + */ + @summary("List all recommendations for a subscription.") + @autoRoute + @get + @action("recommendations") + @list + list is ArmProviderActionSync< + Response = RecommendationCollection, + Scope = SubscriptionActionScope, + Parameters = { + /** + * Specify true to return only the most critical recommendations. The default is false, which returns all recommendations. + */ + @query("featured") + 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] + */ + @query("$filter") + $filter?: string; + }, + Error = DefaultErrorResponse + >; + /** + * Description for Reset all recommendation opt-out settings for a subscription. + */ + @summary("Reset all recommendation opt-out settings for a subscription.") + @autoRoute + @action("recommendations/reset") + resetAllFilters is ArmProviderActionSync< + Scope = SubscriptionActionScope, + Parameters = {}, + Error = DefaultErrorResponse + >; + /** + * Description for Disables the specified rule so it will not apply to a subscription in the future. + */ + @summary("Disables the specified rule so it will not apply to a subscription in the future.") + @autoRoute + @action("disable") + disableRecommendationForSubscription is ArmProviderActionSync< + Response = { + @body body: void; + }, + Scope = Extension.Subscription, + Parameters = { + /** + * Rule name + */ + @path + @segment("recommendations") + name: string; + }, + Error = DefaultErrorResponse + >; +} + +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-interface-requires-decorator" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +interface ResourceHealthMetadataNonResourceOperationGroup { + /** + * Description for List all ResourceHealthMetadata for all sites in the subscription. + */ + @summary("List all ResourceHealthMetadata for all sites in the subscription.") + @autoRoute + @get + @action("resourceHealthMetadata") + @list + list is ArmProviderActionSync< + Response = ResourceHealthMetadataCollection, + Scope = SubscriptionActionScope, + Parameters = {}, + Error = DefaultErrorResponse + >; + /** + * Description for List all ResourceHealthMetadata for all sites in the resource group in the subscription. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @summary("List all ResourceHealthMetadata for all sites in the resource group in the subscription.") + @route("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/resourceHealthMetadata") + @get + @list + listByResourceGroup( + ...ApiVersionParameter, + ...ResourceGroupParameter, + ...SubscriptionIdParameter, + ): ArmResponse | DefaultErrorResponse; +} + +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-interface-requires-decorator" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +interface GetUsagesInLocationOperationGroup { + /** + * List usages in cores for all skus used by a subscription in a given location, for a specific quota type. + */ + #suppress "@azure-tools/typespec-azure-core/no-openapi" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @summary("Lists subscription core usages for all skus used in a location, for a given type of quota.") + @operationId("GetUsagesInLocation_list") + @autoRoute + @get + @action("usages") + @list + list is ArmProviderActionSync< + Response = CsmUsageQuotaCollection, + Scope = SubscriptionActionScope, + Parameters = LocationParameter, + Error = DefaultErrorResponse + >; +} + +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-interface-requires-decorator" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +interface StaticSitesOperationGroup { + /** + * Description for Generates a preview workflow file for the static site + */ + @summary("Generates a preview workflow file for the static site") + @autoRoute + @action("previewStaticSiteWorkflowFile") + previewWorkflow is ArmProviderActionSync< + Request = StaticSitesWorkflowPreviewRequest, + Response = StaticSitesWorkflowPreview, + Scope = SubscriptionActionScope, + Parameters = LocationParameter, + Error = DefaultErrorResponse + >; +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/AppServiceEnvironments.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/AppServiceEnvironments.json deleted file mode 100644 index 4dc36c250c1b..000000000000 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/AppServiceEnvironments.json +++ /dev/null @@ -1,3324 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "version": "2025-03-01", - "title": "AppServiceEnvironments API Client" - }, - "host": "management.azure.com", - "schemes": [ - "https" - ], - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "paths": { - "/subscriptions/{subscriptionId}/providers/Microsoft.Web/hostingEnvironments": { - "get": { - "tags": [ - "AppServiceEnvironments" - ], - "summary": "Get all App Service Environments for a subscription.", - "description": "Description for Get all App Service Environments for a subscription.", - "operationId": "AppServiceEnvironments_List", - "parameters": [ - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/AppServiceEnvironmentCollection" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "Get all App Service Environments for a subscription.": { - "$ref": "./examples/AppServiceEnvironments_List.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments": { - "get": { - "tags": [ - "AppServiceEnvironments" - ], - "summary": "Get all App Service Environments in a resource group.", - "description": "Description for Get all App Service Environments in a resource group.", - "operationId": "AppServiceEnvironments_ListByResourceGroup", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/AppServiceEnvironmentCollection" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "Get all App Service Environments in a resource group.": { - "$ref": "./examples/AppServiceEnvironments_ListByResourceGroup.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}": { - "get": { - "tags": [ - "AppServiceEnvironments" - ], - "summary": "Get the properties of an App Service Environment.", - "description": "Description for Get the properties of an App Service Environment.", - "operationId": "AppServiceEnvironments_Get", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the App Service Environment.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/AppServiceEnvironmentResource" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "Get the properties of an App Service Environment.": { - "$ref": "./examples/AppServiceEnvironments_Get.json" - } - } - }, - "put": { - "tags": [ - "AppServiceEnvironments" - ], - "summary": "Create or update an App Service Environment.", - "description": "Description for Create or update an App Service Environment.", - "operationId": "AppServiceEnvironments_CreateOrUpdate", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the App Service Environment.", - "required": true, - "type": "string" - }, - { - "name": "hostingEnvironmentEnvelope", - "in": "body", - "description": "Configuration details of the App Service Environment.", - "required": true, - "schema": { - "$ref": "#/definitions/AppServiceEnvironmentResource" - } - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/AppServiceEnvironmentResource" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/AppServiceEnvironmentResource" - } - }, - "202": { - "description": "Operation is in progress.", - "schema": { - "$ref": "#/definitions/AppServiceEnvironmentResource" - }, - "headers": { - "location": { - "description": "Location header for asynchronous response.", - "type": "string" - } - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "Create or update an App Service Environment.": { - "$ref": "./examples/AppServiceEnvironments_CreateOrUpdate.json" - } - }, - "x-ms-long-running-operation": true - }, - "delete": { - "tags": [ - "AppServiceEnvironments" - ], - "summary": "Delete an App Service Environment.", - "description": "Description for Delete an App Service Environment.", - "operationId": "AppServiceEnvironments_Delete", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the App Service Environment.", - "required": true, - "type": "string" - }, - { - "name": "forceDelete", - "in": "query", - "description": "Specify true to force the deletion even if the App Service Environment contains resources. The default is false.", - "type": "boolean" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "202": { - "description": "Operation is in progress." - }, - "204": { - "description": "App Service Environment does not exist" - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "Delete an App Service Environment.": { - "$ref": "./examples/AppServiceEnvironments_Delete.json" - } - }, - "x-ms-long-running-operation": true - }, - "patch": { - "tags": [ - "AppServiceEnvironments" - ], - "summary": "Create or update an App Service Environment.", - "description": "Description for Create or update an App Service Environment.", - "operationId": "AppServiceEnvironments_Update", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the App Service Environment.", - "required": true, - "type": "string" - }, - { - "name": "hostingEnvironmentEnvelope", - "in": "body", - "description": "Configuration details of the App Service Environment.", - "required": true, - "schema": { - "$ref": "#/definitions/AppServiceEnvironmentPatchResource" - } - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/AppServiceEnvironmentResource" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/AppServiceEnvironmentResource" - } - }, - "202": { - "description": "Operation is in progress.", - "schema": { - "$ref": "#/definitions/AppServiceEnvironmentResource" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "Create or update an App Service Environment.": { - "$ref": "./examples/AppServiceEnvironments_Update.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/capacities/compute": { - "get": { - "tags": [ - "AppServiceEnvironments" - ], - "summary": "Get the used, available, and total worker capacity an App Service Environment.", - "description": "Description for Get the used, available, and total worker capacity an App Service Environment.", - "operationId": "AppServiceEnvironments_ListCapacities", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the App Service Environment.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/StampCapacityCollection" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "Get the used, available, and total worker capacity an App Service Environment.": { - "$ref": "./examples/AppServiceEnvironments_ListCapacities.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/capacities/virtualip": { - "get": { - "tags": [ - "AppServiceEnvironments" - ], - "summary": "Get IP addresses assigned to an App Service Environment.", - "description": "Description for Get IP addresses assigned to an App Service Environment.", - "operationId": "AppServiceEnvironments_GetVipInfo", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the App Service Environment.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/AddressResponse" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "Get IP addresses assigned to an App Service Environment.": { - "$ref": "./examples/AppServiceEnvironments_GetVipInfo.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/changeVirtualNetwork": { - "post": { - "tags": [ - "AppServiceEnvironments" - ], - "summary": "Move an App Service Environment to a different VNET.", - "description": "Description for Move an App Service Environment to a different VNET.", - "operationId": "AppServiceEnvironments_ChangeVnet", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the App Service Environment.", - "required": true, - "type": "string" - }, - { - "name": "vnetInfo", - "in": "body", - "description": "Details for the new virtual network.", - "required": true, - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/VirtualNetworkProfile" - } - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/WebAppCollection" - } - }, - "202": { - "description": "Operation is in progress.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/WebAppCollection" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "Move an App Service Environment to a different VNET.": { - "$ref": "./examples/AppServiceEnvironments_ChangeVnet.json" - } - }, - "x-ms-long-running-operation": true, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/configurations/customdnssuffix": { - "get": { - "tags": [ - "AppServiceEnvironments" - ], - "summary": "Get Custom Dns Suffix configuration of an App Service Environment", - "operationId": "AppServiceEnvironments_GetAseCustomDnsSuffixConfiguration", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the App Service Environment.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/CustomDnsSuffixConfiguration" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "Get ASE custom DNS suffix configuration": { - "$ref": "./examples/GetAseCustomDnsSuffixConfiguration.json" - } - } - }, - "put": { - "tags": [ - "AppServiceEnvironments" - ], - "summary": "Update Custom Dns Suffix configuration of an App Service Environment", - "operationId": "AppServiceEnvironments_UpdateAseCustomDnsSuffixConfiguration", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the App Service Environment.", - "required": true, - "type": "string" - }, - { - "name": "customDnsSuffixConfiguration", - "in": "body", - "required": true, - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/CustomDnsSuffixConfiguration" - } - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/CustomDnsSuffixConfiguration" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "Update ASE custom DNS suffix configuration": { - "$ref": "./examples/UpdateAseCustomDnsSuffixConfiguration.json" - } - } - }, - "delete": { - "tags": [ - "AppServiceEnvironments" - ], - "summary": "Delete Custom Dns Suffix configuration of an App Service Environment", - "operationId": "AppServiceEnvironments_DeleteAseCustomDnsSuffixConfiguration", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the App Service Environment.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK.", - "schema": { - "type": "object" - } - }, - "204": { - "description": "No content.", - "schema": { - "type": "object" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "Delete ASE custom DNS suffix configuration": { - "$ref": "./examples/DeleteAseCustomDnsSuffixConfiguration.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/configurations/networking": { - "get": { - "tags": [ - "AppServiceEnvironments" - ], - "summary": "Get networking configuration of an App Service Environment", - "description": "Description for Get networking configuration of an App Service Environment", - "operationId": "AppServiceEnvironments_GetAseV3NetworkingConfiguration", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the App Service Environment.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/AseV3NetworkingConfiguration" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "Get networking configuration of an App Service Environment.": { - "$ref": "./examples/AppServiceEnvironments_GetAseV3NetworkingConfiguration.json" - } - } - }, - "put": { - "tags": [ - "AppServiceEnvironments" - ], - "summary": "Update networking configuration of an App Service Environment", - "description": "Description for Update networking configuration of an App Service Environment", - "operationId": "AppServiceEnvironments_UpdateAseNetworkingConfiguration", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the App Service Environment.", - "required": true, - "type": "string" - }, - { - "name": "aseNetworkingConfiguration", - "in": "body", - "required": true, - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/AseV3NetworkingConfiguration" - } - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/AseV3NetworkingConfiguration" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "Update networking configuration of an App Service Environment.": { - "$ref": "./examples/AppServiceEnvironments_UpdateAseNetworkingConfiguration.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/diagnostics": { - "get": { - "tags": [ - "AppServiceEnvironments" - ], - "summary": "Get diagnostic information for an App Service Environment.", - "description": "Description for Get diagnostic information for an App Service Environment.", - "operationId": "AppServiceEnvironments_ListDiagnostics", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the App Service Environment.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "array", - "items": { - "$ref": "#/definitions/HostingEnvironmentDiagnostics" - } - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "Get diagnostic information for an App Service Environment.": { - "$ref": "./examples/AppServiceEnvironments_ListDiagnostics.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/diagnostics/{diagnosticsName}": { - "get": { - "tags": [ - "AppServiceEnvironments" - ], - "summary": "Get a diagnostics item for an App Service Environment.", - "description": "Description for Get a diagnostics item for an App Service Environment.", - "operationId": "AppServiceEnvironments_GetDiagnosticsItem", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the App Service Environment.", - "required": true, - "type": "string" - }, - { - "name": "diagnosticsName", - "in": "path", - "description": "Name of the diagnostics item.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/HostingEnvironmentDiagnostics" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "Get a diagnostics item for an App Service Environment.": { - "$ref": "./examples/AppServiceEnvironments_GetDiagnosticsItem.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/inboundNetworkDependenciesEndpoints": { - "get": { - "tags": [ - "AppServiceEnvironments" - ], - "summary": "Get the network endpoints of all inbound dependencies of an App Service Environment.", - "description": "Description for Get the network endpoints of all inbound dependencies of an App Service Environment.", - "operationId": "AppServiceEnvironments_GetInboundNetworkDependenciesEndpoints", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the App Service Environment.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/InboundEnvironmentEndpointCollection" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "Get the network endpoints of all inbound dependencies of an App Service Environment.": { - "$ref": "./examples/GetInboundNetworkDependenciesEndpoints.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/multiRolePools": { - "get": { - "tags": [ - "AppServiceEnvironments" - ], - "summary": "Get all multi-role pools.", - "description": "Description for Get all multi-role pools.", - "operationId": "AppServiceEnvironments_ListMultiRolePools", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the App Service Environment.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/WorkerPoolCollection" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "Get all multi-role pools.": { - "$ref": "./examples/AppServiceEnvironments_ListMultiRolePools.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/multiRolePools/default": { - "get": { - "tags": [ - "AppServiceEnvironments" - ], - "summary": "Get properties of a multi-role pool.", - "description": "Description for Get properties of a multi-role pool.", - "operationId": "AppServiceEnvironments_GetMultiRolePool", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the App Service Environment.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/WorkerPoolResource" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "Get properties of a multi-role pool.": { - "$ref": "./examples/AppServiceEnvironments_GetMultiRolePool.json" - } - } - }, - "put": { - "tags": [ - "AppServiceEnvironments" - ], - "summary": "Create or update a multi-role pool.", - "description": "Description for Create or update a multi-role pool.", - "operationId": "AppServiceEnvironments_CreateOrUpdateMultiRolePool", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the App Service Environment.", - "required": true, - "type": "string" - }, - { - "name": "multiRolePoolEnvelope", - "in": "body", - "description": "Properties of the multi-role pool.", - "required": true, - "schema": { - "$ref": "#/definitions/WorkerPoolResource" - } - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK.", - "schema": { - "$ref": "#/definitions/WorkerPoolResource" - } - }, - "202": { - "description": "Operation is in progress.", - "schema": { - "$ref": "#/definitions/WorkerPoolResource" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "Create or update a multi-role pool.": { - "$ref": "./examples/AppServiceEnvironments_CreateOrUpdateMultiRolePool.json" - } - }, - "x-ms-long-running-operation": true - }, - "patch": { - "tags": [ - "AppServiceEnvironments" - ], - "summary": "Create or update a multi-role pool.", - "description": "Description for Create or update a multi-role pool.", - "operationId": "AppServiceEnvironments_UpdateMultiRolePool", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the App Service Environment.", - "required": true, - "type": "string" - }, - { - "name": "multiRolePoolEnvelope", - "in": "body", - "description": "Properties of the multi-role pool.", - "required": true, - "schema": { - "$ref": "#/definitions/WorkerPoolResource" - } - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK.", - "schema": { - "$ref": "#/definitions/WorkerPoolResource" - } - }, - "202": { - "description": "Operation is in progress.", - "schema": { - "$ref": "#/definitions/WorkerPoolResource" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "Create or update a multi-role pool.": { - "$ref": "./examples/AppServiceEnvironments_CreateOrUpdateMultiRolePool.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/multiRolePools/default/instances/{instance}/metricdefinitions": { - "get": { - "tags": [ - "AppServiceEnvironments" - ], - "summary": "Get metric definitions for a specific instance of a multi-role pool of an App Service Environment.", - "description": "Description for Get metric definitions for a specific instance of a multi-role pool of an App Service Environment.", - "operationId": "AppServiceEnvironments_ListMultiRolePoolInstanceMetricDefinitions", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the App Service Environment.", - "required": true, - "type": "string" - }, - { - "name": "instance", - "in": "path", - "description": "Name of the instance in the multi-role pool.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/ResourceMetricDefinitionCollection" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "Get metric definitions for a specific instance of a multi-role pool of an App Service Environment.": { - "$ref": "./examples/AppServiceEnvironments_ListMultiRolePoolInstanceMetricDefinitions.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/multiRolePools/default/metricdefinitions": { - "get": { - "tags": [ - "AppServiceEnvironments" - ], - "summary": "Get metric definitions for a multi-role pool of an App Service Environment.", - "description": "Description for Get metric definitions for a multi-role pool of an App Service Environment.", - "operationId": "AppServiceEnvironments_ListMultiRoleMetricDefinitions", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the App Service Environment.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/ResourceMetricDefinitionCollection" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "Get metric definitions for a multi-role pool of an App Service Environment.": { - "$ref": "./examples/AppServiceEnvironments_ListMultiRoleMetricDefinitions.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/multiRolePools/default/skus": { - "get": { - "tags": [ - "AppServiceEnvironments" - ], - "summary": "Get available SKUs for scaling a multi-role pool.", - "description": "Description for Get available SKUs for scaling a multi-role pool.", - "operationId": "AppServiceEnvironments_ListMultiRolePoolSkus", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the App Service Environment.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/SkuInfoCollection" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "Get available SKUs for scaling a multi-role pool.": { - "$ref": "./examples/AppServiceEnvironments_ListMultiRolePoolSkus.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/testUpgradeAvailableNotification": { - "post": { - "tags": [ - "AppServiceEnvironments" - ], - "summary": "Send a test notification that an upgrade is available for this App Service Environment.", - "operationId": "AppServiceEnvironments_TestUpgradeAvailableNotification", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the App Service Environment.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK" - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "Send a test notification that an upgrade is available for this App Service Environment": { - "$ref": "./examples/AppServiceEnvironments_TestUpgradeAvailableNotification.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/upgrade": { - "post": { - "tags": [ - "AppServiceEnvironments" - ], - "summary": "Initiate an upgrade of an App Service Environment if one is available.", - "description": "Description for Initiate an upgrade of an App Service Environment if one is available.", - "operationId": "AppServiceEnvironments_Upgrade", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the App Service Environment.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "202": { - "description": "Operation is in progress." - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "Initiate an upgrade on an App Service Environment": { - "$ref": "./examples/AppServiceEnvironments_Upgrade.json" - } - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/multiRolePools/default/usages": { - "get": { - "tags": [ - "AppServiceEnvironments" - ], - "summary": "Get usage metrics for a multi-role pool of an App Service Environment.", - "description": "Description for Get usage metrics for a multi-role pool of an App Service Environment.", - "operationId": "AppServiceEnvironments_ListMultiRoleUsages", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the App Service Environment.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/UsageCollection" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "Get usage metrics for a multi-role pool of an App Service Environment.": { - "$ref": "./examples/AppServiceEnvironments_ListMultiRoleUsages.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/operations": { - "get": { - "tags": [ - "AppServiceEnvironments" - ], - "summary": "List all currently running operations on the App Service Environment.", - "description": "Description for List all currently running operations on the App Service Environment.", - "operationId": "AppServiceEnvironments_ListOperations", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the App Service Environment.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "array", - "items": { - "$ref": "./CommonDefinitions.json#/definitions/Operation" - } - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "List all currently running operations on the App Service Environment.": { - "$ref": "./examples/AppServiceEnvironments_ListOperations.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/outboundNetworkDependenciesEndpoints": { - "get": { - "tags": [ - "AppServiceEnvironments" - ], - "summary": "Get the network endpoints of all outbound dependencies of an App Service Environment.", - "description": "Description for Get the network endpoints of all outbound dependencies of an App Service Environment.", - "operationId": "AppServiceEnvironments_GetOutboundNetworkDependenciesEndpoints", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the App Service Environment.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/OutboundEnvironmentEndpointCollection" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "Get the network endpoints of all outbound dependencies of an App Service Environment.": { - "$ref": "./examples/GetOutboundNetworkDependenciesEndpoints.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/privateEndpointConnections": { - "get": { - "tags": [ - "AppServiceEnvironments" - ], - "summary": "Gets the list of private endpoints associated with a hosting environment", - "description": "Description for Gets the list of private endpoints associated with a hosting environment", - "operationId": "AppServiceEnvironments_GetPrivateEndpointConnectionList", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the App Service Environment.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/PrivateEndpointConnectionCollection" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "Gets the list of private endpoints associated with a hosting environment.": { - "$ref": "./examples/AppServiceEnvironments_GetPrivateEndpointConnectionList.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/privateEndpointConnections/{privateEndpointConnectionName}": { - "get": { - "tags": [ - "AppServiceEnvironments" - ], - "summary": "Gets a private endpoint connection", - "description": "Description for Gets a private endpoint connection", - "operationId": "AppServiceEnvironments_GetPrivateEndpointConnection", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the App Service Environment.", - "required": true, - "type": "string" - }, - { - "name": "privateEndpointConnectionName", - "in": "path", - "description": "Name of the private endpoint connection.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/RemotePrivateEndpointConnectionARMResource" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "Gets a private endpoint connection.": { - "$ref": "./examples/AppServiceEnvironments_GetPrivateEndpointConnection.json" - } - } - }, - "put": { - "tags": [ - "AppServiceEnvironments" - ], - "summary": "Approves or rejects a private endpoint connection", - "description": "Description for Approves or rejects a private endpoint connection", - "operationId": "AppServiceEnvironments_ApproveOrRejectPrivateEndpointConnection", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the App Service Environment.", - "required": true, - "type": "string" - }, - { - "name": "privateEndpointConnectionName", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "privateEndpointWrapper", - "in": "body", - "required": true, - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/RemotePrivateEndpointConnectionARMResource" - } - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/RemotePrivateEndpointConnectionARMResource" - } - }, - "202": { - "description": "Asynchronous operation in progress.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/RemotePrivateEndpointConnectionARMResource" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "Approves or rejects a private endpoint connection.": { - "$ref": "./examples/AppServiceEnvironments_ApproveOrRejectPrivateEndpointConnection.json" - } - }, - "x-ms-long-running-operation": true - }, - "delete": { - "tags": [ - "AppServiceEnvironments" - ], - "summary": "Deletes a private endpoint connection", - "description": "Description for Deletes a private endpoint connection", - "operationId": "AppServiceEnvironments_DeletePrivateEndpointConnection", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the App Service Environment.", - "required": true, - "type": "string" - }, - { - "name": "privateEndpointConnectionName", - "in": "path", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK.", - "schema": { - "type": "object" - } - }, - "202": { - "description": "Asynchronous operation in progress.", - "schema": { - "type": "object" - } - }, - "204": { - "description": "No content.", - "schema": { - "type": "object" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "Deletes a private endpoint connection.": { - "$ref": "./examples/AppServiceEnvironments_DeletePrivateEndpointConnection.json" - } - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/privateLinkResources": { - "get": { - "tags": [ - "AppServiceEnvironments" - ], - "summary": "Gets the private link resources", - "description": "Description for Gets the private link resources", - "operationId": "AppServiceEnvironments_GetPrivateLinkResources", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the App Service Environment.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/PrivateLinkResourcesWrapper" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "Gets the private link resources.": { - "$ref": "./examples/AppServiceEnvironments_GetPrivateLinkResources.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/reboot": { - "post": { - "tags": [ - "AppServiceEnvironments" - ], - "summary": "Reboot all machines in an App Service Environment.", - "description": "Description for Reboot all machines in an App Service Environment.", - "operationId": "AppServiceEnvironments_Reboot", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the App Service Environment.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "202": { - "description": "Asynchronous operation in progress." - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "Reboot all machines in an App Service Environment.": { - "$ref": "./examples/AppServiceEnvironments_Reboot.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/resume": { - "post": { - "tags": [ - "AppServiceEnvironments" - ], - "summary": "Resume an App Service Environment.", - "description": "Description for Resume an App Service Environment.", - "operationId": "AppServiceEnvironments_Resume", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the App Service Environment.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/WebAppCollection" - } - }, - "202": { - "description": "Operation is in progress.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/WebAppCollection" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "Resume an App Service Environment.": { - "$ref": "./examples/AppServiceEnvironments_Resume.json" - } - }, - "x-ms-long-running-operation": true, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/serverfarms": { - "get": { - "tags": [ - "AppServiceEnvironments" - ], - "summary": "Get all App Service plans in an App Service Environment.", - "description": "Description for Get all App Service plans in an App Service Environment.", - "operationId": "AppServiceEnvironments_ListAppServicePlans", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the App Service Environment.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/AppServicePlanCollection" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "Get all App Service plans in an App Service Environment.": { - "$ref": "./examples/AppServiceEnvironments_ListAppServicePlans.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/sites": { - "get": { - "tags": [ - "AppServiceEnvironments" - ], - "summary": "Get all apps in an App Service Environment.", - "description": "Description for Get all apps in an App Service Environment.", - "operationId": "AppServiceEnvironments_ListWebApps", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the App Service Environment.", - "required": true, - "type": "string" - }, - { - "name": "propertiesToInclude", - "in": "query", - "description": "Comma separated list of app properties to include.", - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/WebAppCollection" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "Get all apps in an App Service Environment.": { - "$ref": "./examples/AppServiceEnvironments_ListWebApps.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/suspend": { - "post": { - "tags": [ - "AppServiceEnvironments" - ], - "summary": "Suspend an App Service Environment.", - "description": "Description for Suspend an App Service Environment.", - "operationId": "AppServiceEnvironments_Suspend", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the App Service Environment.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/WebAppCollection" - } - }, - "202": { - "description": "Operation is in progress.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/WebAppCollection" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "Suspend an App Service Environment.": { - "$ref": "./examples/AppServiceEnvironments_Suspend.json" - } - }, - "x-ms-long-running-operation": true, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/usages": { - "get": { - "tags": [ - "AppServiceEnvironments" - ], - "summary": "Get global usage metrics of an App Service Environment.", - "description": "Description for Get global usage metrics of an App Service Environment.", - "operationId": "AppServiceEnvironments_ListUsages", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the App Service Environment.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - }, - { - "name": "$filter", - "in": "query", - "description": "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]'.", - "type": "string", - "x-ms-skip-url-encoding": true - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/CsmUsageQuotaCollection" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "Get global usage metrics of an App Service Environment.": { - "$ref": "./examples/AppServiceEnvironments_ListUsages.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/workerPools": { - "get": { - "tags": [ - "AppServiceEnvironments" - ], - "summary": "Get all worker pools of an App Service Environment.", - "description": "Description for Get all worker pools of an App Service Environment.", - "operationId": "AppServiceEnvironments_ListWorkerPools", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the App Service Environment.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/WorkerPoolCollection" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "Get all worker pools of an App Service Environment.": { - "$ref": "./examples/AppServiceEnvironments_ListWorkerPools.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/workerPools/{workerPoolName}": { - "get": { - "tags": [ - "AppServiceEnvironments" - ], - "summary": "Get properties of a worker pool.", - "description": "Description for Get properties of a worker pool.", - "operationId": "AppServiceEnvironments_GetWorkerPool", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the App Service Environment.", - "required": true, - "type": "string" - }, - { - "name": "workerPoolName", - "in": "path", - "description": "Name of the worker pool.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/WorkerPoolResource" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "Get properties of a worker pool.": { - "$ref": "./examples/AppServiceEnvironments_GetWorkerPool.json" - } - } - }, - "put": { - "tags": [ - "AppServiceEnvironments" - ], - "summary": "Create or update a worker pool.", - "description": "Description for Create or update a worker pool.", - "operationId": "AppServiceEnvironments_CreateOrUpdateWorkerPool", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the App Service Environment.", - "required": true, - "type": "string" - }, - { - "name": "workerPoolName", - "in": "path", - "description": "Name of the worker pool.", - "required": true, - "type": "string" - }, - { - "name": "workerPoolEnvelope", - "in": "body", - "description": "Properties of the worker pool.", - "required": true, - "schema": { - "$ref": "#/definitions/WorkerPoolResource" - } - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK.", - "schema": { - "$ref": "#/definitions/WorkerPoolResource" - } - }, - "202": { - "description": "Operation is in progress.", - "schema": { - "$ref": "#/definitions/WorkerPoolResource" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "Get properties of a worker pool.": { - "$ref": "./examples/AppServiceEnvironments_CreateOrUpdateWorkerPool.json" - } - }, - "x-ms-long-running-operation": true - }, - "patch": { - "tags": [ - "AppServiceEnvironments" - ], - "summary": "Create or update a worker pool.", - "description": "Description for Create or update a worker pool.", - "operationId": "AppServiceEnvironments_UpdateWorkerPool", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the App Service Environment.", - "required": true, - "type": "string" - }, - { - "name": "workerPoolName", - "in": "path", - "description": "Name of the worker pool.", - "required": true, - "type": "string" - }, - { - "name": "workerPoolEnvelope", - "in": "body", - "description": "Properties of the worker pool.", - "required": true, - "schema": { - "$ref": "#/definitions/WorkerPoolResource" - } - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK.", - "schema": { - "$ref": "#/definitions/WorkerPoolResource" - } - }, - "202": { - "description": "Operation is in progress.", - "schema": { - "$ref": "#/definitions/WorkerPoolResource" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "Get properties of a worker pool.": { - "$ref": "./examples/AppServiceEnvironments_CreateOrUpdateWorkerPool.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/workerPools/{workerPoolName}/instances/{instance}/metricdefinitions": { - "get": { - "tags": [ - "AppServiceEnvironments" - ], - "summary": "Get metric definitions for a specific instance of a worker pool of an App Service Environment.", - "description": "Description for Get metric definitions for a specific instance of a worker pool of an App Service Environment.", - "operationId": "AppServiceEnvironments_ListWorkerPoolInstanceMetricDefinitions", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the App Service Environment.", - "required": true, - "type": "string" - }, - { - "name": "workerPoolName", - "in": "path", - "description": "Name of the worker pool.", - "required": true, - "type": "string" - }, - { - "name": "instance", - "in": "path", - "description": "Name of the instance in the worker pool.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/ResourceMetricDefinitionCollection" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "Get metric definitions for a specific instance of a worker pool of an App Service Environment.": { - "$ref": "./examples/AppServiceEnvironments_ListWorkerPoolInstanceMetricDefinitions.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/workerPools/{workerPoolName}/metricdefinitions": { - "get": { - "tags": [ - "AppServiceEnvironments" - ], - "summary": "Get metric definitions for a worker pool of an App Service Environment.", - "description": "Description for Get metric definitions for a worker pool of an App Service Environment.", - "operationId": "AppServiceEnvironments_ListWebWorkerMetricDefinitions", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the App Service Environment.", - "required": true, - "type": "string" - }, - { - "name": "workerPoolName", - "in": "path", - "description": "Name of the worker pool.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/ResourceMetricDefinitionCollection" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "Get metric definitions for a worker pool of an App Service Environment.": { - "$ref": "./examples/AppServiceEnvironments_ListWebWorkerMetricDefinitions.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/workerPools/{workerPoolName}/skus": { - "get": { - "tags": [ - "AppServiceEnvironments" - ], - "summary": "Get available SKUs for scaling a worker pool.", - "description": "Description for Get available SKUs for scaling a worker pool.", - "operationId": "AppServiceEnvironments_ListWorkerPoolSkus", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the App Service Environment.", - "required": true, - "type": "string" - }, - { - "name": "workerPoolName", - "in": "path", - "description": "Name of the worker pool.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/SkuInfoCollection" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "Get available SKUs for scaling a worker pool.": { - "$ref": "./examples/AppServiceEnvironments_ListWorkerPoolSkus.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/workerPools/{workerPoolName}/usages": { - "get": { - "tags": [ - "AppServiceEnvironments" - ], - "summary": "Get usage metrics for a worker pool of an App Service Environment.", - "description": "Description for Get usage metrics for a worker pool of an App Service Environment.", - "operationId": "AppServiceEnvironments_ListWebWorkerUsages", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the App Service Environment.", - "required": true, - "type": "string" - }, - { - "name": "workerPoolName", - "in": "path", - "description": "Name of the worker pool.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/UsageCollection" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "Get usage metrics for a worker pool of an App Service Environment.": { - "$ref": "./examples/AppServiceEnvironments_ListWebWorkerUsages.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - } - }, - "definitions": { - "AddressResponse": { - "description": "Describes main public IP address and any extra virtual IPs.", - "type": "object", - "allOf": [ - { - "$ref": "./CommonDefinitions.json#/definitions/ProxyOnlyResource" - } - ], - "properties": { - "properties": { - "description": "AddressResponse resource specific properties", - "type": "object", - "properties": { - "serviceIpAddress": { - "description": "Main public virtual IP.", - "type": "string" - }, - "internalIpAddress": { - "description": "Virtual Network internal IP address of the App Service Environment if it is in internal load-balancing mode.", - "type": "string" - }, - "outboundIpAddresses": { - "description": "IP addresses appearing on outbound connections.", - "type": "array", - "items": { - "type": "string" - } - }, - "vipMappings": { - "description": "Additional virtual IPs.", - "type": "array", - "items": { - "$ref": "#/definitions/VirtualIPMapping" - }, - "x-ms-identifiers": [ - "virtualIP" - ] - } - }, - "x-ms-client-flatten": true - } - } - }, - "AppServiceEnvironmentCollection": { - "description": "Collection of App Service Environments.", - "required": [ - "value" - ], - "type": "object", - "properties": { - "value": { - "description": "Collection of resources.", - "type": "array", - "items": { - "$ref": "#/definitions/AppServiceEnvironmentResource" - } - }, - "nextLink": { - "description": "Link to next page of resources.", - "type": "string", - "readOnly": true - } - } - }, - "AppServiceEnvironmentPatchResource": { - "description": "ARM resource for a app service environment.", - "type": "object", - "allOf": [ - { - "$ref": "./CommonDefinitions.json#/definitions/ProxyOnlyResource" - } - ], - "properties": { - "properties": { - "$ref": "./CommonDefinitions.json#/definitions/AppServiceEnvironment", - "description": "Core resource properties", - "type": "object", - "x-ms-client-flatten": true - } - } - }, - "AppServiceEnvironmentResource": { - "description": "App Service Environment ARM resource.", - "type": "object", - "allOf": [ - { - "$ref": "./CommonDefinitions.json#/definitions/Resource" - } - ], - "properties": { - "properties": { - "$ref": "./CommonDefinitions.json#/definitions/AppServiceEnvironment", - "description": "Core resource properties", - "type": "object", - "x-ms-client-flatten": true - } - } - }, - "EndpointDependency": { - "description": "A domain name that a service is reached at, including details of the current connection status.", - "type": "object", - "properties": { - "domainName": { - "description": "The domain name of the dependency.", - "type": "string" - }, - "endpointDetails": { - "description": "The IP Addresses and Ports used when connecting to DomainName.", - "type": "array", - "items": { - "$ref": "#/definitions/EndpointDetail" - }, - "x-ms-identifiers": [ - "ipAddress", - "port" - ] - } - } - }, - "EndpointDetail": { - "description": "Current TCP connectivity information from the App Service Environment to a single endpoint.", - "type": "object", - "properties": { - "ipAddress": { - "description": "An IP Address that Domain Name currently resolves to.", - "type": "string" - }, - "port": { - "format": "int32", - "description": "The port an endpoint is connected to.", - "type": "integer" - }, - "latency": { - "format": "double", - "description": "The time in milliseconds it takes for a TCP connection to be created from the App Service Environment to this IpAddress at this Port.", - "type": "number" - }, - "isAccessible": { - "description": "Whether it is possible to create a TCP connection from the App Service Environment to this IpAddress at this Port.", - "type": "boolean" - } - } - }, - "HostingEnvironmentDiagnostics": { - "description": "Diagnostics for an App Service Environment.", - "type": "object", - "properties": { - "name": { - "description": "Name/identifier of the diagnostics.", - "type": "string" - }, - "diagnosticsOutput": { - "description": "Diagnostics output.", - "type": "string" - } - } - }, - "InboundEnvironmentEndpoint": { - "description": "The IP Addresses and Ports that require inbound network access to and within the subnet of the App Service Environment.", - "type": "object", - "properties": { - "description": { - "description": "Short text describing the purpose of the network traffic.", - "type": "string" - }, - "endpoints": { - "description": "The IP addresses that network traffic will originate from in cidr notation.", - "type": "array", - "items": { - "type": "string" - } - }, - "ports": { - "description": "The ports that network traffic will arrive to the App Service Environment at.", - "type": "array", - "items": { - "type": "string" - } - } - } - }, - "InboundEnvironmentEndpointCollection": { - "description": "Collection of Inbound Environment Endpoints", - "required": [ - "value" - ], - "type": "object", - "properties": { - "value": { - "description": "Collection of resources.", - "type": "array", - "items": { - "$ref": "#/definitions/InboundEnvironmentEndpoint" - }, - "x-ms-identifiers": [] - }, - "nextLink": { - "description": "Link to next page of resources.", - "type": "string", - "readOnly": true - } - } - }, - "OutboundEnvironmentEndpoint": { - "description": "Endpoints accessed for a common purpose that the App Service Environment requires outbound network access to.", - "type": "object", - "properties": { - "category": { - "description": "The type of service accessed by the App Service Environment, e.g., Azure Storage, Azure SQL Database, and Azure Active Directory.", - "type": "string" - }, - "endpoints": { - "description": "The endpoints that the App Service Environment reaches the service at.", - "type": "array", - "items": { - "$ref": "#/definitions/EndpointDependency" - }, - "x-ms-identifiers": [ - "domainName" - ] - } - } - }, - "OutboundEnvironmentEndpointCollection": { - "description": "Collection of Outbound Environment Endpoints", - "required": [ - "value" - ], - "type": "object", - "properties": { - "value": { - "description": "Collection of resources.", - "type": "array", - "items": { - "$ref": "#/definitions/OutboundEnvironmentEndpoint" - }, - "x-ms-identifiers": [ - "category" - ] - }, - "nextLink": { - "description": "Link to next page of resources.", - "type": "string", - "readOnly": true - } - } - }, - "ResourceMetricAvailability": { - "description": "Metrics availability and retention.", - "type": "object", - "properties": { - "timeGrain": { - "description": "Time grain .", - "type": "string", - "readOnly": true - }, - "retention": { - "description": "Retention period for the current time grain.", - "type": "string", - "readOnly": true - } - } - }, - "ResourceMetricDefinition": { - "description": "Metadata for the metrics.", - "type": "object", - "allOf": [ - { - "$ref": "./CommonDefinitions.json#/definitions/ProxyOnlyResource" - } - ], - "properties": { - "properties": { - "description": "ResourceMetricDefinition resource specific properties", - "type": "object", - "properties": { - "unit": { - "description": "Unit of the metric.", - "type": "string", - "readOnly": true - }, - "primaryAggregationType": { - "description": "Primary aggregation type.", - "type": "string", - "readOnly": true - }, - "metricAvailabilities": { - "description": "List of time grains supported for the metric together with retention period.", - "type": "array", - "items": { - "$ref": "#/definitions/ResourceMetricAvailability" - }, - "readOnly": true, - "x-ms-identifiers": [] - }, - "resourceUri": { - "description": "Resource URI.", - "type": "string", - "readOnly": true - }, - "properties": { - "description": "Resource metric definition properties.", - "type": "object", - "additionalProperties": { - "type": "string" - }, - "readOnly": true - } - }, - "x-ms-client-flatten": true - } - } - }, - "ResourceMetricDefinitionCollection": { - "description": "Collection of metric definitions.", - "required": [ - "value" - ], - "type": "object", - "properties": { - "value": { - "description": "Collection of resources.", - "type": "array", - "items": { - "$ref": "#/definitions/ResourceMetricDefinition" - } - }, - "nextLink": { - "description": "Link to next page of resources.", - "type": "string", - "readOnly": true - } - } - }, - "SkuInfo": { - "description": "SKU discovery information.", - "type": "object", - "properties": { - "resourceType": { - "description": "Resource type that this SKU applies to.", - "type": "string" - }, - "sku": { - "$ref": "./CommonDefinitions.json#/definitions/SkuDescription", - "description": "Name and tier of the SKU." - }, - "capacity": { - "$ref": "./CommonDefinitions.json#/definitions/SkuCapacity", - "description": "Min, max, and default scale values of the SKU." - } - } - }, - "SkuInfoCollection": { - "description": "Collection of SKU information.", - "required": [ - "value" - ], - "type": "object", - "properties": { - "value": { - "description": "Collection of resources.", - "type": "array", - "items": { - "$ref": "#/definitions/SkuInfo" - }, - "x-ms-identifiers": [ - "/sku/name", - "resourceType" - ] - }, - "nextLink": { - "description": "Link to next page of resources.", - "type": "string", - "readOnly": true - } - } - }, - "StampCapacity": { - "description": "Stamp capacity information.", - "type": "object", - "properties": { - "name": { - "description": "Name of the stamp.", - "type": "string" - }, - "availableCapacity": { - "format": "int64", - "description": "Available capacity (# of machines, bytes of storage etc...).", - "type": "integer" - }, - "totalCapacity": { - "format": "int64", - "description": "Total capacity (# of machines, bytes of storage etc...).", - "type": "integer" - }, - "unit": { - "description": "Name of the unit.", - "type": "string" - }, - "computeMode": { - "description": "Shared/dedicated workers.", - "enum": [ - "Shared", - "Dedicated", - "Dynamic" - ], - "type": "string", - "x-ms-enum": { - "name": "ComputeModeOptions", - "modelAsString": false - } - }, - "workerSize": { - "description": "Size of the machines.", - "enum": [ - "Small", - "Medium", - "Large", - "D1", - "D2", - "D3", - "SmallV3", - "MediumV3", - "LargeV3", - "NestedSmall", - "NestedSmallLinux", - "Default" - ], - "type": "string", - "x-ms-enum": { - "name": "WorkerSizeOptions", - "modelAsString": false - } - }, - "workerSizeId": { - "format": "int32", - "description": "Size ID of machines: \n0 - Small\n1 - Medium\n2 - Large", - "type": "integer" - }, - "excludeFromCapacityAllocation": { - "description": "If true, it includes basic apps.\nBasic apps are not used for capacity allocation.", - "type": "boolean" - }, - "isApplicableForAllComputeModes": { - "description": "true if capacity is applicable for all apps; otherwise, false.", - "type": "boolean" - }, - "siteMode": { - "description": "Shared or Dedicated.", - "type": "string" - }, - "isLinux": { - "description": "Is this a linux stamp capacity", - "type": "boolean" - } - } - }, - "StampCapacityCollection": { - "description": "Collection of stamp capacities.", - "required": [ - "value" - ], - "type": "object", - "properties": { - "value": { - "description": "Collection of resources.", - "type": "array", - "items": { - "$ref": "#/definitions/StampCapacity" - }, - "x-ms-identifiers": [ - "name" - ] - }, - "nextLink": { - "description": "Link to next page of resources.", - "type": "string", - "readOnly": true - } - } - }, - "Usage": { - "description": "Usage of the quota resource.", - "type": "object", - "allOf": [ - { - "$ref": "./CommonDefinitions.json#/definitions/ProxyOnlyResource" - } - ], - "properties": { - "properties": { - "description": "Usage resource specific properties", - "type": "object", - "properties": { - "displayName": { - "description": "Friendly name shown in the UI.", - "type": "string", - "readOnly": true - }, - "resourceName": { - "description": "Name of the quota resource.", - "type": "string", - "readOnly": true - }, - "unit": { - "description": "Units of measurement for the quota resource.", - "type": "string", - "readOnly": true - }, - "currentValue": { - "format": "int64", - "description": "The current value of the resource counter.", - "type": "integer", - "readOnly": true - }, - "limit": { - "format": "int64", - "description": "The resource limit.", - "type": "integer", - "readOnly": true - }, - "nextResetTime": { - "format": "date-time", - "description": "Next reset time for the resource counter.", - "type": "string", - "readOnly": true - }, - "computeMode": { - "description": "Compute mode used for this usage.", - "enum": [ - "Shared", - "Dedicated", - "Dynamic" - ], - "type": "string", - "readOnly": true, - "x-ms-enum": { - "name": "ComputeModeOptions", - "modelAsString": false - } - }, - "siteMode": { - "description": "Site mode used for this usage.", - "type": "string", - "readOnly": true - } - }, - "x-ms-client-flatten": true - } - } - }, - "UsageCollection": { - "description": "Collection of usages.", - "required": [ - "value" - ], - "type": "object", - "properties": { - "value": { - "description": "Collection of resources.", - "type": "array", - "items": { - "$ref": "#/definitions/Usage" - } - }, - "nextLink": { - "description": "Link to next page of resources.", - "type": "string", - "readOnly": true - } - } - }, - "VirtualIPMapping": { - "description": "Virtual IP mapping.", - "type": "object", - "properties": { - "virtualIP": { - "description": "Virtual IP address.", - "type": "string" - }, - "internalHttpPort": { - "format": "int32", - "description": "Internal HTTP port.", - "type": "integer" - }, - "internalHttpsPort": { - "format": "int32", - "description": "Internal HTTPS port.", - "type": "integer" - }, - "inUse": { - "description": "Is virtual IP mapping in use.", - "type": "boolean" - }, - "serviceName": { - "description": "name of the service that virtual IP is assigned to", - "type": "string" - } - } - }, - "WorkerPool": { - "description": "Worker pool of an App Service Environment.", - "type": "object", - "properties": { - "workerSizeId": { - "format": "int32", - "description": "Worker size ID for referencing this worker pool.", - "type": "integer" - }, - "computeMode": { - "description": "Shared or dedicated app hosting.", - "enum": [ - "Shared", - "Dedicated", - "Dynamic" - ], - "type": "string", - "x-ms-enum": { - "name": "ComputeModeOptions", - "modelAsString": false - } - }, - "workerSize": { - "description": "VM size of the worker pool instances.", - "type": "string" - }, - "workerCount": { - "format": "int32", - "description": "Number of instances in the worker pool.", - "type": "integer" - }, - "instanceNames": { - "description": "Names of all instances in the worker pool (read only).", - "type": "array", - "items": { - "type": "string" - }, - "readOnly": true - } - } - }, - "WorkerPoolCollection": { - "description": "Collection of worker pools.", - "required": [ - "value" - ], - "type": "object", - "properties": { - "value": { - "description": "Collection of resources.", - "type": "array", - "items": { - "$ref": "#/definitions/WorkerPoolResource" - } - }, - "nextLink": { - "description": "Link to next page of resources.", - "type": "string", - "readOnly": true - } - } - }, - "WorkerPoolResource": { - "description": "Worker pool of an App Service Environment ARM resource.", - "type": "object", - "allOf": [ - { - "$ref": "./CommonDefinitions.json#/definitions/ProxyOnlyResource" - } - ], - "properties": { - "properties": { - "$ref": "#/definitions/WorkerPool", - "description": "Core resource properties", - "x-ms-client-flatten": true - }, - "sku": { - "$ref": "./CommonDefinitions.json#/definitions/SkuDescription" - } - } - } - }, - "parameters": { - "subscriptionIdParameter": { - "name": "subscriptionId", - "in": "path", - "description": "Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000).", - "required": true, - "type": "string", - "x-ms-parameter-location": "client" - }, - "resourceGroupNameParameter": { - "name": "resourceGroupName", - "in": "path", - "description": "Name of the resource group to which the resource belongs.", - "required": true, - "type": "string", - "maxLength": 90, - "minLength": 1, - "pattern": "^[-\\w\\._\\(\\)]+[^\\.]$", - "x-ms-parameter-location": "method" - }, - "apiVersionParameter": { - "name": "api-version", - "in": "query", - "description": "API Version", - "required": true, - "type": "string", - "x-ms-parameter-location": "client" - } - }, - "securityDefinitions": { - "azure_auth": { - "type": "oauth2", - "description": "Azure Active Directory OAuth2 Flow", - "flow": "implicit", - "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", - "scopes": { - "user_impersonation": "impersonate your user account" - } - } - }, - "security": [ - { - "azure_auth": [ - "user_impersonation" - ] - } - ] -} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/AppServicePlans.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/AppServicePlans.json deleted file mode 100644 index 58e5060ae8a7..000000000000 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/AppServicePlans.json +++ /dev/null @@ -1,1972 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "version": "2025-03-01", - "title": "AppServicePlans API Client" - }, - "host": "management.azure.com", - "schemes": [ - "https" - ], - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "paths": { - "/subscriptions/{subscriptionId}/providers/Microsoft.Web/serverfarms": { - "get": { - "tags": [ - "AppServicePlans" - ], - "summary": "Get all App Service plans for a subscription.", - "description": "Description for Get all App Service plans for a subscription.", - "operationId": "AppServicePlans_List", - "parameters": [ - { - "name": "detailed", - "in": "query", - "description": "Specify true to return all App Service plan properties. The default is false, which returns a subset of the properties.\n Retrieval of all properties may increase the API latency.", - "type": "boolean" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/AppServicePlanCollection" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "List App Service plans": { - "$ref": "./examples/ListAppServicePlans.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms": { - "get": { - "tags": [ - "AppServicePlans" - ], - "summary": "Get all App Service plans in a resource group.", - "description": "Description for Get all App Service plans in a resource group.", - "operationId": "AppServicePlans_ListByResourceGroup", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/AppServicePlanCollection" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "List App Service plans by resource group": { - "$ref": "./examples/ListAppServicePlansByResourceGroup.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}": { - "get": { - "tags": [ - "AppServicePlans" - ], - "summary": "Get an App Service plan.", - "description": "Description for Get an App Service plan.", - "operationId": "AppServicePlans_Get", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the App Service plan.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/AppServicePlan" - } - }, - "404": { - "description": "Not found.", - "x-ms-error-response": true - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "Get App Service plan": { - "$ref": "./examples/GetAppServicePlan.json" - } - } - }, - "put": { - "tags": [ - "AppServicePlans" - ], - "summary": "Creates or updates an App Service Plan.", - "description": "Description for Creates or updates an App Service Plan.", - "operationId": "AppServicePlans_CreateOrUpdate", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the App Service plan.", - "required": true, - "type": "string" - }, - { - "name": "appServicePlan", - "in": "body", - "description": "Details of the App Service plan.", - "required": true, - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/AppServicePlan" - } - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/AppServicePlan" - } - }, - "202": { - "description": "Operation is in progress.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/AppServicePlan" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "Create Or Update App Service plan": { - "$ref": "./examples/CreateOrUpdateAppServicePlan.json" - } - }, - "x-ms-long-running-operation": true - }, - "delete": { - "tags": [ - "AppServicePlans" - ], - "summary": "Delete an App Service plan.", - "description": "Description for Delete an App Service plan.", - "operationId": "AppServicePlans_Delete", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the App Service plan.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK." - }, - "204": { - "description": "OK." - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "Delete App Service plan": { - "$ref": "./examples/DeleteAppServicePlan.json" - } - } - }, - "patch": { - "tags": [ - "AppServicePlans" - ], - "summary": "Creates or updates an App Service Plan.", - "description": "Description for Creates or updates an App Service Plan.", - "operationId": "AppServicePlans_Update", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the App Service plan.", - "required": true, - "type": "string" - }, - { - "name": "appServicePlan", - "in": "body", - "description": "Details of the App Service plan.", - "required": true, - "schema": { - "$ref": "#/definitions/AppServicePlanPatchResource" - } - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/AppServicePlan" - } - }, - "202": { - "description": "Operation is in progress.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/AppServicePlan" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "Patch Service plan": { - "$ref": "./examples/PatchAppServicePlan.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/capabilities": { - "get": { - "tags": [ - "AppServicePlans" - ], - "summary": "List all capabilities of an App Service plan.", - "description": "Description for List all capabilities of an App Service plan.", - "operationId": "AppServicePlans_ListCapabilities", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the App Service plan.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "array", - "items": { - "$ref": "./CommonDefinitions.json#/definitions/Capability" - } - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/getrdppassword": { - "post": { - "tags": [ - "AppServicePlans" - ], - "summary": "Get the RDP password for an IsCustomMode ServerFarm.", - "description": "Description for Get the RDP password for an IsCustomMode ServerFarm.", - "operationId": "AppServicePlans_GetServerFarmRdpPassword", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the App Service plan.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK.", - "schema": { - "$ref": "#/definitions/ServerFarmRdpDetails" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/hybridConnectionNamespaces/{namespaceName}/relays/{relayName}": { - "get": { - "tags": [ - "AppServicePlans" - ], - "summary": "Retrieve a Hybrid Connection in use in an App Service plan.", - "description": "Description for Retrieve a Hybrid Connection in use in an App Service plan.", - "operationId": "AppServicePlans_GetHybridConnection", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the App Service plan.", - "required": true, - "type": "string" - }, - { - "name": "namespaceName", - "in": "path", - "description": "Name of the Service Bus namespace.", - "required": true, - "type": "string" - }, - { - "name": "relayName", - "in": "path", - "description": "Name of the Service Bus relay.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/HybridConnection" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - }, - "delete": { - "tags": [ - "AppServicePlans" - ], - "summary": "Delete a Hybrid Connection in use in an App Service plan.", - "description": "Description for Delete a Hybrid Connection in use in an App Service plan.", - "operationId": "AppServicePlans_DeleteHybridConnection", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the App Service plan.", - "required": true, - "type": "string" - }, - { - "name": "namespaceName", - "in": "path", - "description": "Name of the Service Bus namespace.", - "required": true, - "type": "string" - }, - { - "name": "relayName", - "in": "path", - "description": "Name of the Service Bus relay.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Successfully deleted hybrid connection" - }, - "204": { - "description": "Hybrid connection does not exist" - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/hybridConnectionNamespaces/{namespaceName}/relays/{relayName}/listKeys": { - "post": { - "tags": [ - "AppServicePlans" - ], - "summary": "Get the send key name and value of a Hybrid Connection.", - "description": "Description for Get the send key name and value of a Hybrid Connection.", - "operationId": "AppServicePlans_ListHybridConnectionKeys", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the App Service plan.", - "required": true, - "type": "string" - }, - { - "name": "namespaceName", - "in": "path", - "description": "The name of the Service Bus namespace.", - "required": true, - "type": "string" - }, - { - "name": "relayName", - "in": "path", - "description": "The name of the Service Bus relay.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/HybridConnectionKey" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/hybridConnectionNamespaces/{namespaceName}/relays/{relayName}/sites": { - "get": { - "tags": [ - "AppServicePlans" - ], - "summary": "Get all apps that use a Hybrid Connection in an App Service Plan.", - "description": "Description for Get all apps that use a Hybrid Connection in an App Service Plan.", - "operationId": "AppServicePlans_ListWebAppsByHybridConnection", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the App Service plan.", - "required": true, - "type": "string" - }, - { - "name": "namespaceName", - "in": "path", - "description": "Name of the Hybrid Connection namespace.", - "required": true, - "type": "string" - }, - { - "name": "relayName", - "in": "path", - "description": "Name of the Hybrid Connection relay.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/ResourceCollection" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/hybridConnectionPlanLimits/limit": { - "get": { - "tags": [ - "AppServicePlans" - ], - "summary": "Get the maximum number of Hybrid Connections allowed in an App Service plan.", - "description": "Description for Get the maximum number of Hybrid Connections allowed in an App Service plan.", - "operationId": "AppServicePlans_GetHybridConnectionPlanLimit", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the App Service plan.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/HybridConnectionLimits" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/hybridConnectionRelays": { - "get": { - "tags": [ - "AppServicePlans" - ], - "summary": "Retrieve all Hybrid Connections in use in an App Service plan.", - "description": "Description for Retrieve all Hybrid Connections in use in an App Service plan.", - "operationId": "AppServicePlans_ListHybridConnections", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the App Service plan.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/HybridConnectionCollection" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/listinstances": { - "post": { - "tags": [ - "AppServicePlans" - ], - "summary": "Get the instance details for an app service plan.", - "description": "Description for Get the instance details for an app service plan.", - "operationId": "AppServicePlans_GetServerFarmInstanceDetails", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the App Service plan.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK.", - "schema": { - "$ref": "#/definitions/ServerFarmInstanceDetails" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/restartSites": { - "post": { - "tags": [ - "AppServicePlans" - ], - "summary": "Restart all apps in an App Service plan.", - "description": "Description for Restart all apps in an App Service plan.", - "operationId": "AppServicePlans_RestartWebApps", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the App Service plan.", - "required": true, - "type": "string" - }, - { - "name": "softRestart", - "in": "query", - "description": "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", - "type": "boolean" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "204": { - "description": "No Content" - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/sites": { - "get": { - "tags": [ - "AppServicePlans" - ], - "summary": "Get all apps associated with an App Service plan.", - "description": "Description for Get all apps associated with an App Service plan.", - "operationId": "AppServicePlans_ListWebApps", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the App Service plan.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - }, - { - "name": "$skipToken", - "in": "query", - "description": "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", - "type": "string" - }, - { - "name": "$filter", - "in": "query", - "description": "Supported filter: $filter=state eq running. Returns only web apps that are currently running", - "type": "string", - "x-ms-skip-url-encoding": true - }, - { - "name": "$top", - "in": "query", - "description": "List page size. If specified, results are paged.", - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/WebAppCollection" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/skus": { - "get": { - "tags": [ - "AppServicePlans" - ], - "summary": "Gets all selectable SKUs for a given App Service Plan", - "description": "Description for Gets all selectable SKUs for a given App Service Plan", - "operationId": "AppServicePlans_GetServerFarmSkus", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of App Service Plan", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "object" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/usages": { - "get": { - "tags": [ - "AppServicePlans" - ], - "summary": "Gets server farm usage information", - "description": "Description for Gets server farm usage information", - "operationId": "AppServicePlans_ListUsages", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of App Service Plan", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - }, - { - "name": "$filter", - "in": "query", - "description": "Return only usages/metrics specified in the filter. Filter conforms to odata syntax. Example: $filter=(name.value eq 'Metric1' or name.value eq 'Metric2').", - "type": "string", - "x-ms-skip-url-encoding": true - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/CsmUsageQuotaCollection" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/virtualNetworkConnections": { - "get": { - "tags": [ - "AppServicePlans" - ], - "summary": "Get all Virtual Networks associated with an App Service plan.", - "description": "Description for Get all Virtual Networks associated with an App Service plan.", - "operationId": "AppServicePlans_ListVnets", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the App Service plan.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "array", - "items": { - "$ref": "./CommonDefinitions.json#/definitions/VnetInfoResource" - } - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/virtualNetworkConnections/{vnetName}": { - "get": { - "tags": [ - "AppServicePlans" - ], - "summary": "Get a Virtual Network associated with an App Service plan.", - "description": "Description for Get a Virtual Network associated with an App Service plan.", - "operationId": "AppServicePlans_GetVnetFromServerFarm", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the App Service plan.", - "required": true, - "type": "string" - }, - { - "name": "vnetName", - "in": "path", - "description": "Name of the Virtual Network.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/VnetInfoResource" - } - }, - "404": { - "description": "Virtual network could not be found.", - "x-ms-error-response": true - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/virtualNetworkConnections/{vnetName}/gateways/{gatewayName}": { - "get": { - "tags": [ - "AppServicePlans" - ], - "summary": "Get a Virtual Network gateway.", - "description": "Description for Get a Virtual Network gateway.", - "operationId": "AppServicePlans_GetVnetGateway", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the App Service plan.", - "required": true, - "type": "string" - }, - { - "name": "vnetName", - "in": "path", - "description": "Name of the Virtual Network.", - "required": true, - "type": "string" - }, - { - "name": "gatewayName", - "in": "path", - "description": "Name of the gateway. Only the 'primary' gateway is supported.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/VnetGateway" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - }, - "put": { - "tags": [ - "AppServicePlans" - ], - "summary": "Update a Virtual Network gateway.", - "description": "Description for Update a Virtual Network gateway.", - "operationId": "AppServicePlans_UpdateVnetGateway", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the App Service plan.", - "required": true, - "type": "string" - }, - { - "name": "vnetName", - "in": "path", - "description": "Name of the Virtual Network.", - "required": true, - "type": "string" - }, - { - "name": "gatewayName", - "in": "path", - "description": "Name of the gateway. Only the 'primary' gateway is supported.", - "required": true, - "type": "string" - }, - { - "name": "connectionEnvelope", - "in": "body", - "description": "Definition of the gateway.", - "required": true, - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/VnetGateway" - } - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/VnetGateway" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/virtualNetworkConnections/{vnetName}/routes": { - "get": { - "tags": [ - "AppServicePlans" - ], - "summary": "Get all routes that are associated with a Virtual Network in an App Service plan.", - "description": "Description for Get all routes that are associated with a Virtual Network in an App Service plan.", - "operationId": "AppServicePlans_ListRoutesForVnet", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the App Service plan.", - "required": true, - "type": "string" - }, - { - "name": "vnetName", - "in": "path", - "description": "Name of the Virtual Network.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "array", - "items": { - "$ref": "./CommonDefinitions.json#/definitions/VnetRoute" - } - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/virtualNetworkConnections/{vnetName}/routes/{routeName}": { - "get": { - "tags": [ - "AppServicePlans" - ], - "summary": "Get a Virtual Network route in an App Service plan.", - "description": "Description for Get a Virtual Network route in an App Service plan.", - "operationId": "AppServicePlans_GetRouteForVnet", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the App Service plan.", - "required": true, - "type": "string" - }, - { - "name": "vnetName", - "in": "path", - "description": "Name of the Virtual Network.", - "required": true, - "type": "string" - }, - { - "name": "routeName", - "in": "path", - "description": "Name of the Virtual Network route.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK.", - "schema": { - "type": "array", - "items": { - "$ref": "./CommonDefinitions.json#/definitions/VnetRoute" - } - } - }, - "404": { - "description": "Specified route does not exist.", - "x-ms-error-response": true - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - }, - "put": { - "tags": [ - "AppServicePlans" - ], - "summary": "Create or update a Virtual Network route in an App Service plan.", - "description": "Description for Create or update a Virtual Network route in an App Service plan.", - "operationId": "AppServicePlans_CreateOrUpdateVnetRoute", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the App Service plan.", - "required": true, - "type": "string" - }, - { - "name": "vnetName", - "in": "path", - "description": "Name of the Virtual Network.", - "required": true, - "type": "string" - }, - { - "name": "routeName", - "in": "path", - "description": "Name of the Virtual Network route.", - "required": true, - "type": "string" - }, - { - "name": "route", - "in": "body", - "description": "Definition of the Virtual Network route.", - "required": true, - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/VnetRoute" - } - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/VnetRoute" - } - }, - "400": { - "description": "Invalid request. Ensure that required parameters are given, and that addresses and address spaces are valid.", - "x-ms-error-response": true - }, - "404": { - "description": "Route not found.", - "x-ms-error-response": true - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - }, - "delete": { - "tags": [ - "AppServicePlans" - ], - "summary": "Delete a Virtual Network route in an App Service plan.", - "description": "Description for Delete a Virtual Network route in an App Service plan.", - "operationId": "AppServicePlans_DeleteVnetRoute", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the App Service plan.", - "required": true, - "type": "string" - }, - { - "name": "vnetName", - "in": "path", - "description": "Name of the Virtual Network.", - "required": true, - "type": "string" - }, - { - "name": "routeName", - "in": "path", - "description": "Name of the Virtual Network route.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Successfully deleted Virtual Network route." - }, - "404": { - "description": "Specified Virtual Network route does not exist.", - "x-ms-error-response": true - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - }, - "patch": { - "tags": [ - "AppServicePlans" - ], - "summary": "Create or update a Virtual Network route in an App Service plan.", - "description": "Description for Create or update a Virtual Network route in an App Service plan.", - "operationId": "AppServicePlans_UpdateVnetRoute", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the App Service plan.", - "required": true, - "type": "string" - }, - { - "name": "vnetName", - "in": "path", - "description": "Name of the Virtual Network.", - "required": true, - "type": "string" - }, - { - "name": "routeName", - "in": "path", - "description": "Name of the Virtual Network route.", - "required": true, - "type": "string" - }, - { - "name": "route", - "in": "body", - "description": "Definition of the Virtual Network route.", - "required": true, - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/VnetRoute" - } - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/VnetRoute" - } - }, - "400": { - "description": "Invalid request. Ensure that required parameters are given, and that addresses and address spaces are valid.", - "x-ms-error-response": true - }, - "404": { - "description": "Route not found.", - "x-ms-error-response": true - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/workers/{workerName}/reboot": { - "post": { - "tags": [ - "AppServicePlans" - ], - "summary": "Reboot a worker machine in an App Service plan.", - "description": "Description for Reboot a worker machine in an App Service plan.", - "operationId": "AppServicePlans_RebootWorker", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the App Service plan.", - "required": true, - "type": "string" - }, - { - "name": "workerName", - "in": "path", - "description": "Name of worker machine, which typically starts with RD.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "204": { - "description": "No Content" - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/workers/{workerName}/recycleinstance": { - "post": { - "tags": [ - "AppServicePlans" - ], - "summary": "Recycles a managed instance worker machine.", - "description": "Description for Recycles a managed instance worker machine.", - "operationId": "AppServicePlans_RecycleManagedInstanceWorker", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the App Service plan.", - "required": true, - "type": "string" - }, - { - "name": "workerName", - "in": "path", - "description": "Name of worker machine.", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z0-9]+$" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/Operation" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - } - } - }, - "definitions": { - "AppServicePlanPatchResource": { - "description": "ARM resource for a app service plan.", - "type": "object", - "allOf": [ - { - "$ref": "./CommonDefinitions.json#/definitions/ProxyOnlyResource" - } - ], - "properties": { - "properties": { - "description": "AppServicePlanPatchResource resource specific properties", - "type": "object", - "properties": { - "workerTierName": { - "description": "Target worker tier assigned to the App Service plan.", - "type": "string" - }, - "status": { - "description": "App Service plan status.", - "enum": [ - "Ready", - "Pending", - "Creating" - ], - "type": "string", - "readOnly": true, - "x-ms-enum": { - "name": "StatusOptions", - "modelAsString": false - } - }, - "subscription": { - "description": "App Service plan subscription.", - "type": "string", - "readOnly": true - }, - "hostingEnvironmentProfile": { - "$ref": "./CommonDefinitions.json#/definitions/HostingEnvironmentProfile", - "description": "Specification for the App Service Environment to use for the App Service plan.", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "maximumNumberOfWorkers": { - "format": "int32", - "description": "Maximum number of instances that can be assigned to this App Service plan.", - "type": "integer", - "readOnly": true - }, - "numberOfWorkers": { - "format": "int32", - "description": "The number of instances that are assigned to this App Service plan.", - "type": "integer", - "readOnly": true - }, - "geoRegion": { - "description": "Geographical location for the App Service plan.", - "type": "string", - "readOnly": true - }, - "perSiteScaling": { - "description": "If true, apps assigned to this App Service plan can be scaled independently.\nIf false, apps assigned to this App Service plan will scale to all instances of the plan.", - "default": false, - "type": "boolean" - }, - "elasticScaleEnabled": { - "description": "ServerFarm supports ElasticScale. Apps in this plan will scale as if the ServerFarm was ElasticPremium sku", - "type": "boolean" - }, - "maximumElasticWorkerCount": { - "format": "int32", - "description": "Maximum number of total workers allowed for this ElasticScaleEnabled App Service Plan", - "type": "integer" - }, - "numberOfSites": { - "format": "int32", - "description": "Number of apps assigned to this App Service plan.", - "type": "integer", - "readOnly": true - }, - "isSpot": { - "description": "If true, this App Service Plan owns spot instances.", - "type": "boolean" - }, - "spotExpirationTime": { - "format": "date-time", - "description": "The time when the server farm expires. Valid only if it is a spot server farm.", - "type": "string" - }, - "freeOfferExpirationTime": { - "format": "date-time", - "description": "The time when the server farm free offer expires.", - "type": "string" - }, - "resourceGroup": { - "description": "Resource group of the App Service plan.", - "type": "string", - "readOnly": true - }, - "reserved": { - "description": "If Linux app service plan true, false otherwise.", - "default": false, - "type": "boolean", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "isXenon": { - "description": "Obsolete: If Hyper-V container app service plan true, false otherwise.", - "default": false, - "type": "boolean", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "hyperV": { - "description": "If Hyper-V container app service plan true, false otherwise.", - "default": false, - "type": "boolean", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "targetWorkerCount": { - "format": "int32", - "description": "Scaling worker count.", - "type": "integer" - }, - "targetWorkerSizeId": { - "format": "int32", - "description": "Scaling worker size ID.", - "type": "integer" - }, - "provisioningState": { - "description": "Provisioning state of the App Service Plan.", - "enum": [ - "Succeeded", - "Failed", - "Canceled", - "InProgress", - "Deleting" - ], - "type": "string", - "readOnly": true, - "x-ms-enum": { - "name": "ProvisioningState", - "modelAsString": false - } - }, - "kubeEnvironmentProfile": { - "$ref": "./CommonDefinitions.json#/definitions/KubeEnvironmentProfile", - "description": "Specification for the Kubernetes Environment to use for the App Service plan." - }, - "zoneRedundant": { - "description": "If true, this App Service Plan will perform availability zone balancing.\nIf false, this App Service Plan will not perform availability zone balancing.", - "default": false, - "type": "boolean" - } - }, - "x-ms-client-flatten": true - }, - "identity": { - "$ref": "./CommonDefinitions.json#/definitions/ManagedServiceIdentity" - } - } - }, - "HybridConnectionCollection": { - "description": "Collection of hostname bindings.", - "required": [ - "value" - ], - "type": "object", - "properties": { - "value": { - "description": "Collection of resources.", - "type": "array", - "items": { - "$ref": "./CommonDefinitions.json#/definitions/HybridConnection" - } - }, - "nextLink": { - "description": "Link to next page of resources.", - "type": "string", - "readOnly": true - } - } - }, - "HybridConnectionKey": { - "description": "Hybrid Connection key contract. This has the send key name and value for a Hybrid Connection.", - "type": "object", - "allOf": [ - { - "$ref": "./CommonDefinitions.json#/definitions/ProxyOnlyResource" - } - ], - "properties": { - "properties": { - "description": "HybridConnectionKey resource specific properties", - "type": "object", - "properties": { - "sendKeyName": { - "description": "The name of the send key.", - "type": "string", - "readOnly": true - }, - "sendKeyValue": { - "description": "The value of the send key.", - "type": "string", - "readOnly": true - } - }, - "x-ms-client-flatten": true - } - } - }, - "HybridConnectionLimits": { - "description": "Hybrid Connection limits contract. This is used to return the plan limits of Hybrid Connections.", - "type": "object", - "allOf": [ - { - "$ref": "./CommonDefinitions.json#/definitions/ProxyOnlyResource" - } - ], - "properties": { - "properties": { - "description": "HybridConnectionLimits resource specific properties", - "type": "object", - "properties": { - "current": { - "format": "int32", - "description": "The current number of Hybrid Connections.", - "type": "integer", - "readOnly": true - }, - "maximum": { - "format": "int32", - "description": "The maximum number of Hybrid Connections allowed.", - "type": "integer", - "readOnly": true - } - }, - "x-ms-client-flatten": true - } - } - }, - "ResourceCollection": { - "description": "Collection of resources.", - "required": [ - "value" - ], - "type": "object", - "properties": { - "value": { - "description": "Collection of resources.", - "type": "array", - "items": { - "type": "string" - } - }, - "nextLink": { - "description": "Link to next page of resources.", - "type": "string", - "readOnly": true - } - } - }, - "ServerFarmInstance": { - "description": "Represents details of a single instance in a server farm.", - "type": "object", - "properties": { - "instanceName": { - "description": "The instance name.", - "type": "string", - "pattern": "^[a-zA-Z0-9]+$", - "minLength": 1, - "maxLength": 64 - }, - "ipAddress": { - "description": "The instance IP address.", - "type": "string" - }, - "status": { - "description": "The instance status.", - "type": "string" - } - } - }, - "ServerFarmInstanceDetails": { - "description": "Represents instance details for an app service plan.", - "type": "object", - "properties": { - "serverFarmName": { - "description": "The server farm name.", - "type": "string" - }, - "instances": { - "description": "The list of server farm instances.", - "type": "array", - "items": { - "$ref": "#/definitions/ServerFarmInstance" - } - }, - "instanceCount": { - "format": "int32", - "description": "The total number of instances.", - "type": "integer" - } - } - }, - "ServerFarmRdpDetails": { - "description": "Server Farm RDP connection details.", - "type": "object", - "properties": { - "rdpPassword": { - "description": "The RDP password for the server farm.", - "type": "string", - "x-ms-secret": true - }, - "rdpPasswordExpiry": { - "format": "date-time", - "description": "The RDP password expiry date.", - "type": "string" - } - } - } - }, - "parameters": { - "subscriptionIdParameter": { - "name": "subscriptionId", - "in": "path", - "description": "Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000).", - "required": true, - "type": "string", - "x-ms-parameter-location": "client" - }, - "resourceGroupNameParameter": { - "name": "resourceGroupName", - "in": "path", - "description": "Name of the resource group to which the resource belongs.", - "required": true, - "type": "string", - "maxLength": 90, - "minLength": 1, - "pattern": "^[-\\w\\._\\(\\)]+[^\\.]$", - "x-ms-parameter-location": "method" - }, - "apiVersionParameter": { - "name": "api-version", - "in": "query", - "description": "API Version", - "required": true, - "type": "string", - "x-ms-parameter-location": "client" - } - }, - "securityDefinitions": { - "azure_auth": { - "type": "oauth2", - "description": "Azure Active Directory OAuth2 Flow", - "flow": "implicit", - "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", - "scopes": { - "user_impersonation": "impersonate your user account" - } - } - }, - "security": [ - { - "azure_auth": [ - "user_impersonation" - ] - } - ] -} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/Certificates.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/Certificates.json deleted file mode 100644 index 9808f9d54d8c..000000000000 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/Certificates.json +++ /dev/null @@ -1,357 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "version": "2025-03-01", - "title": "Certificates API Client" - }, - "host": "management.azure.com", - "schemes": [ - "https" - ], - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "paths": { - "/subscriptions/{subscriptionId}/providers/Microsoft.Web/certificates": { - "get": { - "tags": [ - "Certificates" - ], - "summary": "Get all certificates for a subscription.", - "description": "Description for Get all certificates for a subscription.", - "operationId": "Certificates_List", - "parameters": [ - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - }, - { - "name": "$filter", - "in": "query", - "description": "Return only information specified in the filter (using OData syntax). For example: $filter=KeyVaultId eq 'KeyVaultId'", - "type": "string", - "x-ms-skip-url-encoding": true - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/CertificateCollection" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "List Certificates for subscription": { - "$ref": "./examples/ListCertificates.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/certificates": { - "get": { - "tags": [ - "Certificates" - ], - "summary": "Get all certificates in a resource group.", - "description": "Description for Get all certificates in a resource group.", - "operationId": "Certificates_ListByResourceGroup", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/CertificateCollection" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "List Certificates by resource group": { - "$ref": "./examples/ListCertificatesByResourceGroup.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/certificates/{name}": { - "get": { - "tags": [ - "Certificates" - ], - "summary": "Get a certificate.", - "description": "Description for Get a certificate.", - "operationId": "Certificates_Get", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the certificate.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/Certificate" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "Get Certificate": { - "$ref": "./examples/GetCertificate.json" - } - } - }, - "put": { - "tags": [ - "Certificates" - ], - "summary": "Create or update a certificate.", - "description": "Description for Create or update a certificate.", - "operationId": "Certificates_CreateOrUpdate", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the certificate.", - "required": true, - "type": "string" - }, - { - "name": "certificateEnvelope", - "in": "body", - "description": "Details of certificate, if it exists already.", - "required": true, - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/Certificate" - } - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/Certificate" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "Create Or Update Certificate": { - "$ref": "./examples/CreateOrUpdateCertificate.json" - } - } - }, - "delete": { - "tags": [ - "Certificates" - ], - "summary": "Delete a certificate.", - "description": "Description for Delete a certificate.", - "operationId": "Certificates_Delete", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the certificate.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Successfully deleted certificate." - }, - "204": { - "description": "Certificate does not exist." - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "Delete Certificate": { - "$ref": "./examples/DeleteCertificate.json" - } - } - }, - "patch": { - "tags": [ - "Certificates" - ], - "summary": "Create or update a certificate.", - "description": "Description for Create or update a certificate.", - "operationId": "Certificates_Update", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the certificate.", - "required": true, - "type": "string" - }, - { - "name": "certificateEnvelope", - "in": "body", - "description": "Details of certificate, if it exists already.", - "required": true, - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/CertificatePatchResource" - } - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/Certificate" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "Patch Certificate": { - "$ref": "./examples/PatchCertificate.json" - } - } - } - } - }, - "definitions": {}, - "parameters": { - "subscriptionIdParameter": { - "name": "subscriptionId", - "in": "path", - "description": "Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000).", - "required": true, - "type": "string", - "x-ms-parameter-location": "client" - }, - "resourceGroupNameParameter": { - "name": "resourceGroupName", - "in": "path", - "description": "Name of the resource group to which the resource belongs.", - "required": true, - "type": "string", - "maxLength": 90, - "minLength": 1, - "pattern": "^[-\\w\\._\\(\\)]+[^\\.]$", - "x-ms-parameter-location": "method" - }, - "apiVersionParameter": { - "name": "api-version", - "in": "query", - "description": "API Version", - "required": true, - "type": "string", - "x-ms-parameter-location": "client" - } - }, - "securityDefinitions": { - "azure_auth": { - "type": "oauth2", - "description": "Azure Active Directory OAuth2 Flow", - "flow": "implicit", - "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", - "scopes": { - "user_impersonation": "impersonate your user account" - } - } - }, - "security": [ - { - "azure_auth": [ - "user_impersonation" - ] - } - ] -} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/CommonDefinitions.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/CommonDefinitions.json deleted file mode 100644 index 95abe382a502..000000000000 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/CommonDefinitions.json +++ /dev/null @@ -1,5103 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "version": "2025-03-01", - "title": "Common Definitions" - }, - "host": "management.azure.com", - "schemes": [ - "https" - ], - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "paths": {}, - "definitions": { - "ApiDefinitionInfo": { - "description": "Information about the formal API definition for the app.", - "type": "object", - "properties": { - "url": { - "description": "The URL of the API definition.", - "type": "string" - } - } - }, - "ApiManagementConfig": { - "description": "Azure API management (APIM) configuration linked to the app.", - "type": "object", - "properties": { - "id": { - "description": "APIM-Api Identifier.", - "type": "string" - } - } - }, - "AppServiceEnvironment": { - "description": "Description of an App Service Environment.", - "required": [ - "virtualNetwork" - ], - "type": "object", - "properties": { - "provisioningState": { - "description": "Provisioning state of the App Service Environment.", - "enum": [ - "Succeeded", - "Failed", - "Canceled", - "InProgress", - "Deleting" - ], - "type": "string", - "readOnly": true, - "x-ms-enum": { - "name": "ProvisioningState", - "modelAsString": false - } - }, - "status": { - "description": "Current status of the App Service Environment.", - "enum": [ - "Preparing", - "Ready", - "Scaling", - "Deleting" - ], - "type": "string", - "readOnly": true, - "x-ms-enum": { - "name": "HostingEnvironmentStatus", - "modelAsString": false - } - }, - "virtualNetwork": { - "$ref": "#/definitions/VirtualNetworkProfile", - "description": "Description of the Virtual Network." - }, - "internalLoadBalancingMode": { - "description": "Specifies which endpoints to serve internally in the Virtual Network for the App Service Environment.", - "enum": [ - "None", - "Web", - "Publishing", - "Web, Publishing" - ], - "type": "string", - "x-ms-enum": { - "name": "LoadBalancingMode", - "modelAsString": true - } - }, - "multiSize": { - "description": "Front-end VM size, e.g. \"Medium\", \"Large\".", - "type": "string" - }, - "multiRoleCount": { - "format": "int32", - "description": "Number of front-end instances.", - "type": "integer", - "readOnly": true - }, - "ipsslAddressCount": { - "format": "int32", - "description": "Number of IP SSL addresses reserved for the App Service Environment.", - "type": "integer" - }, - "dnsSuffix": { - "description": "DNS suffix of the App Service Environment.", - "type": "string" - }, - "maximumNumberOfMachines": { - "format": "int32", - "description": "Maximum number of VMs in the App Service Environment.", - "type": "integer", - "readOnly": true - }, - "frontEndScaleFactor": { - "format": "int32", - "description": "Scale factor for front-ends.", - "type": "integer" - }, - "suspended": { - "description": "true if the App Service Environment is suspended; otherwise, false. The environment can be suspended, e.g. when the management endpoint is no longer available\n (most likely because NSG blocked the incoming traffic).", - "type": "boolean", - "readOnly": true - }, - "clusterSettings": { - "description": "Custom settings for changing the behavior of the App Service Environment.", - "type": "array", - "items": { - "$ref": "#/definitions/NameValuePair" - }, - "x-ms-identifiers": [ - "name" - ] - }, - "userWhitelistedIpRanges": { - "description": "User added ip ranges to whitelist on ASE db", - "type": "array", - "items": { - "type": "string" - } - }, - "hasLinuxWorkers": { - "description": "Flag that displays whether an ASE has linux workers or not", - "type": "boolean", - "readOnly": true - }, - "upgradePreference": { - "description": "Upgrade Preference", - "default": "None", - "enum": [ - "None", - "Early", - "Late", - "Manual" - ], - "type": "string", - "x-ms-enum": { - "name": "UpgradePreference", - "modelAsString": true, - "values": [ - { - "value": "None", - "description": "No preference on when this App Service Environment will be upgraded" - }, - { - "value": "Early", - "description": "This App Service Environment will be upgraded before others in the same region that have Upgrade Preference 'Late'" - }, - { - "value": "Late", - "description": "This App Service Environment will be upgraded after others in the same region that have Upgrade Preference 'Early'" - }, - { - "value": "Manual", - "description": "ASEv3 only. Once an upgrade is available, this App Service Environment will wait 10 days for the upgrade to be manually initiated. After 10 days the upgrade will begin automatically" - } - ] - } - }, - "dedicatedHostCount": { - "format": "int32", - "description": "Dedicated Host Count", - "type": "integer" - }, - "zoneRedundant": { - "description": "Whether or not this App Service Environment is zone-redundant.", - "type": "boolean" - }, - "customDnsSuffixConfiguration": { - "$ref": "#/definitions/CustomDnsSuffixConfiguration" - }, - "networkingConfiguration": { - "$ref": "#/definitions/AseV3NetworkingConfiguration" - }, - "upgradeAvailability": { - "description": "Whether an upgrade is available for this App Service Environment.", - "enum": [ - "None", - "Ready" - ], - "type": "string", - "readOnly": true, - "x-ms-enum": { - "name": "UpgradeAvailability", - "modelAsString": true, - "values": [ - { - "value": "None", - "description": "No upgrade is currently available for this App Service Environment" - }, - { - "value": "Ready", - "description": "An upgrade is ready to be manually initiated on this App Service Environment" - } - ] - } - } - } - }, - "AppServicePlan": { - "description": "App Service plan.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/Resource" - } - ], - "properties": { - "properties": { - "description": "AppServicePlan resource specific properties", - "type": "object", - "properties": { - "workerTierName": { - "description": "Target worker tier assigned to the App Service plan.", - "type": "string" - }, - "status": { - "description": "App Service plan status.", - "enum": [ - "Ready", - "Pending", - "Creating" - ], - "type": "string", - "readOnly": true, - "x-ms-enum": { - "name": "StatusOptions", - "modelAsString": false - } - }, - "subscription": { - "description": "App Service plan subscription.", - "type": "string", - "readOnly": true - }, - "hostingEnvironmentProfile": { - "$ref": "#/definitions/HostingEnvironmentProfile", - "description": "Specification for the App Service Environment to use for the App Service plan.", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "maximumNumberOfWorkers": { - "format": "int32", - "description": "Maximum number of instances that can be assigned to this App Service plan.", - "type": "integer", - "readOnly": true - }, - "numberOfWorkers": { - "format": "int32", - "description": "The number of instances that are assigned to this App Service plan.", - "type": "integer", - "readOnly": true - }, - "geoRegion": { - "description": "Geographical location for the App Service plan.", - "type": "string", - "readOnly": true - }, - "perSiteScaling": { - "description": "If true, apps assigned to this App Service plan can be scaled independently.\nIf false, apps assigned to this App Service plan will scale to all instances of the plan.", - "default": false, - "type": "boolean" - }, - "elasticScaleEnabled": { - "description": "ServerFarm supports ElasticScale. Apps in this plan will scale as if the ServerFarm was ElasticPremium sku", - "type": "boolean" - }, - "maximumElasticWorkerCount": { - "format": "int32", - "description": "Maximum number of total workers allowed for this ElasticScaleEnabled App Service Plan", - "type": "integer" - }, - "numberOfSites": { - "format": "int32", - "description": "Number of apps assigned to this App Service plan.", - "type": "integer", - "readOnly": true - }, - "isSpot": { - "description": "If true, this App Service Plan owns spot instances.", - "type": "boolean" - }, - "spotExpirationTime": { - "format": "date-time", - "description": "The time when the server farm expires. Valid only if it is a spot server farm.", - "type": "string" - }, - "freeOfferExpirationTime": { - "format": "date-time", - "description": "The time when the server farm free offer expires.", - "type": "string" - }, - "resourceGroup": { - "description": "Resource group of the App Service plan.", - "type": "string", - "readOnly": true - }, - "reserved": { - "description": "If Linux app service plan true, false otherwise.", - "default": false, - "type": "boolean", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "isXenon": { - "description": "Obsolete: If Hyper-V container app service plan true, false otherwise.", - "default": false, - "type": "boolean", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "hyperV": { - "description": "If Hyper-V container app service plan true, false otherwise.", - "default": false, - "type": "boolean", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "targetWorkerCount": { - "format": "int32", - "description": "Scaling worker count.", - "type": "integer" - }, - "targetWorkerSizeId": { - "format": "int32", - "description": "Scaling worker size ID.", - "type": "integer" - }, - "provisioningState": { - "description": "Provisioning state of the App Service Plan.", - "enum": [ - "Succeeded", - "Failed", - "Canceled", - "InProgress", - "Deleting" - ], - "type": "string", - "readOnly": true, - "x-ms-enum": { - "name": "ProvisioningState", - "modelAsString": false - } - }, - "kubeEnvironmentProfile": { - "$ref": "#/definitions/KubeEnvironmentProfile", - "description": "Specification for the Kubernetes Environment to use for the App Service plan." - }, - "zoneRedundant": { - "description": "If true, this App Service Plan will perform availability zone balancing.\nIf false, this App Service Plan will not perform availability zone balancing.", - "default": false, - "type": "boolean" - }, - "asyncScalingEnabled": { - "description": "If true, this App Service Plan will attempt to scale asynchronously if there are insufficient workers to scale synchronously.\nIf false, this App Service Plan will only attempt sync scaling.", - "type": "boolean" - }, - "planDefaultIdentity": { - "$ref": "#/definitions/DefaultIdentity", - "description": "Identity to use by platform for various features and integrations using managed identity." - }, - "isCustomMode": { - "description": "Whether this server farm is in custom mode.", - "type": "boolean" - }, - "registryAdapters": { - "description": "Registry adapters associated with this App Service plan.", - "type": "array", - "items": { - "$ref": "#/definitions/RegistryAdapter" - } - }, - "installScripts": { - "description": "Install scripts associated with this App Service plan.", - "type": "array", - "items": { - "$ref": "#/definitions/InstallScript" - } - }, - "network": { - "description": "All network settings for the server farm.", - "$ref": "#/definitions/ServerFarmNetworkSettings" - }, - "storageMounts": { - "description": "Storage mounts associated with this App Service plan.", - "type": "array", - "items": { - "$ref": "#/definitions/StorageMount" - } - }, - "rdpEnabled": { - "description": "If true, RDP access is enabled for this App Service plan. Only applicable for IsCustomMode ASPs.\nIf false, RDP access is disabled.", - "type": "boolean" - } - }, - "x-ms-client-flatten": true - }, - "sku": { - "$ref": "#/definitions/SkuDescription" - }, - "identity": { - "$ref": "#/definitions/ManagedServiceIdentity" - }, - "extendedLocation": { - "$ref": "#/definitions/ExtendedLocation" - } - } - }, - "AppServicePlanCollection": { - "description": "Collection of App Service plans.", - "required": [ - "value" - ], - "type": "object", - "properties": { - "value": { - "description": "Collection of resources.", - "type": "array", - "items": { - "$ref": "#/definitions/AppServicePlan" - } - }, - "nextLink": { - "description": "Link to next page of resources.", - "type": "string", - "readOnly": true - } - } - }, - "ArmIdWrapper": { - "description": "A wrapper for an ARM resource id", - "type": "object", - "properties": { - "id": { - "type": "string", - "readOnly": true - } - } - }, - "AseV3NetworkingConfiguration": { - "description": "Full view of networking configuration for an ASE.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/ProxyOnlyResource" - } - ], - "properties": { - "properties": { - "description": "AseV3NetworkingConfiguration resource specific properties", - "type": "object", - "properties": { - "windowsOutboundIpAddresses": { - "type": "array", - "items": { - "type": "string" - }, - "readOnly": true - }, - "linuxOutboundIpAddresses": { - "type": "array", - "items": { - "type": "string" - }, - "readOnly": true - }, - "externalInboundIpAddresses": { - "type": "array", - "items": { - "type": "string" - }, - "readOnly": true - }, - "internalInboundIpAddresses": { - "type": "array", - "items": { - "type": "string" - }, - "readOnly": true - }, - "allowNewPrivateEndpointConnections": { - "description": "Property to enable and disable new private endpoint connection creation on ASE", - "type": "boolean" - }, - "ftpEnabled": { - "description": "Property to enable and disable FTP on ASEV3", - "type": "boolean" - }, - "remoteDebugEnabled": { - "description": "Property to enable and disable Remote Debug on ASEV3", - "type": "boolean" - }, - "inboundIpAddressOverride": { - "description": "Customer provided Inbound IP Address. Only able to be set on Ase create.", - "type": "string" - } - }, - "x-ms-client-flatten": true - } - } - }, - "AutoHealActions": { - "description": "Actions which to take by the auto-heal module when a rule is triggered.", - "type": "object", - "properties": { - "actionType": { - "description": "Predefined action to be taken.", - "enum": [ - "Recycle", - "LogEvent", - "CustomAction" - ], - "type": "string", - "x-ms-enum": { - "name": "AutoHealActionType", - "modelAsString": false - } - }, - "customAction": { - "$ref": "#/definitions/AutoHealCustomAction", - "description": "Custom action to be taken." - }, - "minProcessExecutionTime": { - "description": "Minimum time the process must execute\nbefore taking the action", - "type": "string" - } - } - }, - "AutoHealCustomAction": { - "description": "Custom action to be executed\nwhen an auto heal rule is triggered.", - "type": "object", - "properties": { - "exe": { - "description": "Executable to be run.", - "type": "string" - }, - "parameters": { - "description": "Parameters for the executable.", - "type": "string" - } - } - }, - "AutoHealRules": { - "description": "Rules that can be defined for auto-heal.", - "type": "object", - "properties": { - "triggers": { - "$ref": "#/definitions/AutoHealTriggers", - "description": "Conditions that describe when to execute the auto-heal actions." - }, - "actions": { - "$ref": "#/definitions/AutoHealActions", - "description": "Actions to be executed when a rule is triggered." - } - } - }, - "AutoHealTriggers": { - "description": "Triggers for auto-heal.", - "type": "object", - "properties": { - "requests": { - "$ref": "#/definitions/RequestsBasedTrigger", - "description": "A rule based on total requests." - }, - "privateBytesInKB": { - "format": "int32", - "description": "A rule based on private bytes.", - "type": "integer" - }, - "statusCodes": { - "description": "A rule based on status codes.", - "type": "array", - "items": { - "$ref": "#/definitions/StatusCodesBasedTrigger" - }, - "x-ms-identifiers": [ - "path" - ] - }, - "slowRequests": { - "$ref": "#/definitions/SlowRequestsBasedTrigger", - "description": "A rule based on request execution time." - }, - "slowRequestsWithPath": { - "description": "A rule based on multiple Slow Requests Rule with path", - "type": "array", - "items": { - "$ref": "#/definitions/SlowRequestsBasedTrigger" - }, - "x-ms-identifiers": [ - "path" - ] - }, - "statusCodesRange": { - "description": "A rule based on status codes ranges.", - "type": "array", - "items": { - "$ref": "#/definitions/StatusCodesRangeBasedTrigger" - }, - "x-ms-identifiers": [ - "path" - ] - } - } - }, - "AzureStorageInfoValue": { - "description": "Azure Files or Blob Storage access information value for dictionary storage.", - "type": "object", - "properties": { - "type": { - "description": "Type of storage.", - "enum": [ - "AzureFiles", - "AzureBlob" - ], - "type": "string", - "x-ms-enum": { - "name": "AzureStorageType", - "modelAsString": false - } - }, - "accountName": { - "description": "Name of the storage account.", - "type": "string" - }, - "shareName": { - "description": "Name of the file share (container name, for Blob storage).", - "type": "string" - }, - "accessKey": { - "description": "Access key for the storage account.", - "type": "string", - "x-ms-secret": true - }, - "mountPath": { - "description": "Path to mount the storage within the site's runtime environment.", - "type": "string" - }, - "state": { - "description": "State of the storage account.", - "enum": [ - "Ok", - "InvalidCredentials", - "InvalidShare", - "NotValidated" - ], - "type": "string", - "readOnly": true, - "x-ms-enum": { - "name": "AzureStorageState", - "modelAsString": false - } - }, - "protocol": { - "description": "Mounting protocol to use for the storage account.", - "enum": [ - "Smb", - "Http", - "Nfs" - ], - "type": "string", - "x-ms-enum": { - "name": "AzureStorageProtocol", - "modelAsString": true - } - } - } - }, - "Capability": { - "description": "Describes the capabilities/features allowed for a specific SKU.", - "type": "object", - "properties": { - "name": { - "description": "Name of the SKU capability.", - "type": "string" - }, - "value": { - "description": "Value of the SKU capability.", - "type": "string" - }, - "reason": { - "description": "Reason of the SKU capability.", - "type": "string" - } - } - }, - "Certificate": { - "description": "SSL certificate for an app.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/Resource" - } - ], - "properties": { - "properties": { - "description": "Certificate resource specific properties", - "type": "object", - "properties": { - "password": { - "description": "Certificate password.", - "type": "string", - "x-ms-secret": true - }, - "friendlyName": { - "description": "Friendly name of the certificate.", - "type": "string", - "readOnly": true - }, - "subjectName": { - "description": "Subject name of the certificate.", - "type": "string", - "readOnly": true - }, - "hostNames": { - "description": "Host names the certificate applies to.", - "type": "array", - "items": { - "type": "string" - } - }, - "pfxBlob": { - "format": "byte", - "description": "Pfx blob.", - "type": "string" - }, - "siteName": { - "description": "App name.", - "type": "string", - "readOnly": true - }, - "selfLink": { - "description": "Self link.", - "type": "string", - "readOnly": true - }, - "issuer": { - "description": "Certificate issuer.", - "type": "string", - "readOnly": true - }, - "issueDate": { - "format": "date-time", - "description": "Certificate issue Date.", - "type": "string", - "readOnly": true - }, - "expirationDate": { - "format": "date-time", - "description": "Certificate expiration date.", - "type": "string", - "readOnly": true - }, - "thumbprint": { - "description": "Certificate thumbprint.", - "type": "string", - "readOnly": true - }, - "valid": { - "description": "Is the certificate valid?.", - "type": "boolean", - "readOnly": true - }, - "cerBlob": { - "format": "byte", - "description": "Raw bytes of .cer file", - "type": "string", - "readOnly": true - }, - "publicKeyHash": { - "description": "Public key hash.", - "type": "string", - "readOnly": true - }, - "hostingEnvironmentProfile": { - "$ref": "#/definitions/HostingEnvironmentProfile", - "description": "Specification for the App Service Environment to use for the certificate.", - "readOnly": true - }, - "keyVaultId": { - "description": "Azure Key Vault Csm resource Id.", - "type": "string", - "format": "arm-id", - "x-ms-arm-id-details": { - "allowedResources": [ - { - "type": "Microsoft.KeyVault/vaults" - } - ] - } - }, - "keyVaultSecretName": { - "description": "Azure Key Vault secret name.", - "type": "string" - }, - "keyVaultSecretStatus": { - "description": "Status of the Key Vault secret.", - "enum": [ - "Initialized", - "WaitingOnCertificateOrder", - "Succeeded", - "CertificateOrderFailed", - "OperationNotPermittedOnKeyVault", - "AzureServiceUnauthorizedToAccessKeyVault", - "KeyVaultDoesNotExist", - "KeyVaultSecretDoesNotExist", - "UnknownError", - "ExternalPrivateKey", - "Unknown" - ], - "type": "string", - "readOnly": true, - "x-ms-enum": { - "name": "KeyVaultSecretStatus", - "modelAsString": false - } - }, - "serverFarmId": { - "description": "Resource ID of the associated App Service plan.", - "type": "string", - "format": "arm-id", - "x-ms-arm-id-details": { - "allowedResources": [ - { - "type": "Microsoft.Web/serverfarms" - } - ] - } - }, - "canonicalName": { - "description": "CNAME of the certificate to be issued via free certificate", - "type": "string" - }, - "domainValidationMethod": { - "description": "Method of domain validation for free cert", - "type": "string" - } - }, - "x-ms-client-flatten": true - } - } - }, - "CertificateCollection": { - "description": "Collection of certificates.", - "required": [ - "value" - ], - "type": "object", - "properties": { - "value": { - "description": "Collection of resources.", - "type": "array", - "items": { - "$ref": "#/definitions/Certificate" - } - }, - "nextLink": { - "description": "Link to next page of resources.", - "type": "string", - "readOnly": true - } - } - }, - "CertificatePatchResource": { - "description": "ARM resource for a certificate.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/ProxyOnlyResource" - } - ], - "properties": { - "properties": { - "description": "CertificatePatchResource resource specific properties", - "type": "object", - "properties": { - "password": { - "description": "Certificate password.", - "type": "string", - "x-ms-mutability": [ - "read" - ] - }, - "friendlyName": { - "description": "Friendly name of the certificate.", - "type": "string", - "readOnly": true - }, - "subjectName": { - "description": "Subject name of the certificate.", - "type": "string", - "readOnly": true - }, - "hostNames": { - "description": "Host names the certificate applies to.", - "type": "array", - "items": { - "type": "string" - } - }, - "pfxBlob": { - "format": "byte", - "description": "Pfx blob.", - "type": "string" - }, - "siteName": { - "description": "App name.", - "type": "string", - "readOnly": true - }, - "selfLink": { - "description": "Self link.", - "type": "string", - "readOnly": true - }, - "issuer": { - "description": "Certificate issuer.", - "type": "string", - "readOnly": true - }, - "issueDate": { - "format": "date-time", - "description": "Certificate issue Date.", - "type": "string", - "readOnly": true - }, - "expirationDate": { - "format": "date-time", - "description": "Certificate expiration date.", - "type": "string", - "readOnly": true - }, - "thumbprint": { - "description": "Certificate thumbprint.", - "type": "string", - "readOnly": true - }, - "valid": { - "description": "Is the certificate valid?.", - "type": "boolean", - "readOnly": true - }, - "cerBlob": { - "format": "byte", - "description": "Raw bytes of .cer file", - "type": "string", - "readOnly": true - }, - "publicKeyHash": { - "description": "Public key hash.", - "type": "string", - "readOnly": true - }, - "hostingEnvironmentProfile": { - "$ref": "#/definitions/HostingEnvironmentProfile", - "description": "Specification for the App Service Environment to use for the certificate.", - "readOnly": true - }, - "keyVaultId": { - "description": "Key Vault Csm resource Id.", - "type": "string" - }, - "keyVaultSecretName": { - "description": "Key Vault secret name.", - "type": "string" - }, - "keyVaultSecretStatus": { - "description": "Status of the Key Vault secret.", - "enum": [ - "Initialized", - "WaitingOnCertificateOrder", - "Succeeded", - "CertificateOrderFailed", - "OperationNotPermittedOnKeyVault", - "AzureServiceUnauthorizedToAccessKeyVault", - "KeyVaultDoesNotExist", - "KeyVaultSecretDoesNotExist", - "UnknownError", - "ExternalPrivateKey", - "Unknown" - ], - "type": "string", - "readOnly": true, - "x-ms-enum": { - "name": "KeyVaultSecretStatus", - "modelAsString": false - } - }, - "serverFarmId": { - "description": "Resource ID of the associated App Service plan, formatted as: \"/subscriptions/{subscriptionID}/resourceGroups/{groupName}/providers/Microsoft.Web/serverfarms/{appServicePlanName}\".", - "type": "string" - }, - "canonicalName": { - "description": "CNAME of the certificate to be issued via free certificate", - "type": "string" - }, - "domainValidationMethod": { - "description": "Method of domain validation for free cert", - "type": "string" - } - }, - "x-ms-client-flatten": true - } - } - }, - "CipherSuites": { - "description": "Describes valid TLS cipher suites.", - "type": "object", - "properties": { - "suites": { - "description": "List of TLS Cipher Suites that are supported by App Service.", - "type": "array", - "items": { - "type": "string" - } - } - } - }, - "CloningInfo": { - "description": "Information needed for cloning operation.", - "required": [ - "sourceWebAppId" - ], - "type": "object", - "properties": { - "correlationId": { - "format": "uuid", - "description": "Correlation ID of cloning operation. This ID ties multiple cloning operations\ntogether to use the same snapshot.", - "type": "string", - "example": "00000000-0000-0000-0000-000000000000" - }, - "overwrite": { - "description": "true to overwrite destination app; otherwise, false.", - "type": "boolean" - }, - "cloneCustomHostNames": { - "description": "true to clone custom hostnames from source app; otherwise, false.", - "type": "boolean" - }, - "cloneSourceControl": { - "description": "true to clone source control from source app; otherwise, false.", - "type": "boolean" - }, - "sourceWebAppId": { - "description": "ARM resource ID of the source app. App resource ID is of the form \n/subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName} for production slots and \n/subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/slots/{slotName} for other slots.", - "type": "string" - }, - "sourceWebAppLocation": { - "description": "Location of source app ex: West US or North Europe", - "type": "string" - }, - "hostingEnvironment": { - "description": "App Service Environment.", - "type": "string" - }, - "appSettingsOverrides": { - "description": "Application setting overrides for cloned app. If specified, these settings override the settings cloned \nfrom source app. Otherwise, application settings from source app are retained.", - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - "configureLoadBalancing": { - "description": "true to configure load balancing for source and destination app.", - "type": "boolean" - }, - "trafficManagerProfileId": { - "description": "ARM resource ID of the Traffic Manager profile to use, if it exists. Traffic Manager resource ID is of the form \n/subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficManagerProfiles/{profileName}.", - "type": "string" - }, - "trafficManagerProfileName": { - "description": "Name of Traffic Manager profile to create. This is only needed if Traffic Manager profile does not already exist.", - "type": "string" - } - } - }, - "ConnStringInfo": { - "description": "Database connection string information.", - "type": "object", - "properties": { - "name": { - "description": "Name of connection string.", - "type": "string" - }, - "connectionString": { - "description": "Connection string value.", - "type": "string" - }, - "type": { - "description": "Type of database.", - "enum": [ - "MySql", - "SQLServer", - "SQLAzure", - "Custom", - "NotificationHub", - "ServiceBus", - "EventHub", - "ApiHub", - "DocDb", - "RedisCache", - "PostgreSQL" - ], - "type": "string", - "x-ms-enum": { - "name": "ConnectionStringType", - "modelAsString": false - } - } - } - }, - "Container": { - "description": "Container App container definition.", - "type": "object", - "properties": { - "image": { - "description": "Container image tag.", - "type": "string" - }, - "name": { - "description": "Custom container name.", - "type": "string" - }, - "command": { - "description": "Container start command.", - "type": "array", - "items": { - "type": "string" - } - }, - "args": { - "description": "Container start command arguments.", - "type": "array", - "items": { - "type": "string" - } - }, - "env": { - "description": "Container environment variables.", - "type": "array", - "items": { - "$ref": "#/definitions/EnvironmentVar" - }, - "x-ms-identifiers": [ - "name" - ] - }, - "resources": { - "$ref": "#/definitions/ContainerResources", - "description": "Container resource requirements." - } - } - }, - "ContainerResources": { - "description": "Container App container resource requirements.", - "type": "object", - "properties": { - "cpu": { - "format": "double", - "description": "Required CPU in cores, e.g. 0.5", - "type": "number" - }, - "memory": { - "description": "Required memory, e.g. \"250Mb\"", - "type": "string" - } - } - }, - "CorsSettings": { - "description": "Cross-Origin Resource Sharing (CORS) settings for the app.", - "type": "object", - "properties": { - "allowedOrigins": { - "description": "Gets or sets the list of origins that should be allowed to make cross-origin\ncalls (for example: http://example.com:12345). Use \"*\" to allow all.", - "type": "array", - "items": { - "type": "string" - } - }, - "supportCredentials": { - "description": "Gets or sets whether CORS requests with credentials are allowed. See \nhttps://developer.mozilla.org/en-US/docs/Web/HTTP/CORS#Requests_with_credentials\nfor more details.", - "type": "boolean" - } - } - }, - "CsmOperationCollection": { - "description": "Collection of Azure resource manager operation metadata.", - "required": [ - "value" - ], - "type": "object", - "properties": { - "value": { - "description": "Collection of resources.", - "type": "array", - "items": { - "$ref": "#/definitions/CsmOperationDescription" - }, - "x-ms-identifiers": [ - "name" - ] - }, - "nextLink": { - "description": "Link to next page of resources.", - "type": "string", - "readOnly": true - } - } - }, - "CsmOperationDescription": { - "description": "Description of an operation available for Microsoft.Web resource provider.", - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "isDataAction": { - "type": "boolean" - }, - "display": { - "$ref": "#/definitions/CsmOperationDisplay" - }, - "origin": { - "type": "string" - }, - "properties": { - "$ref": "#/definitions/CsmOperationDescriptionProperties" - } - } - }, - "CsmOperationDescriptionProperties": { - "description": "Properties available for a Microsoft.Web resource provider operation.", - "type": "object", - "properties": { - "serviceSpecification": { - "$ref": "#/definitions/ServiceSpecification" - } - } - }, - "CsmOperationDisplay": { - "description": "Meta data about operation used for display in portal.", - "type": "object", - "properties": { - "provider": { - "type": "string" - }, - "resource": { - "type": "string" - }, - "operation": { - "type": "string" - }, - "description": { - "type": "string" - } - } - }, - "CsmUsageQuota": { - "description": "Usage of the quota resource.", - "type": "object", - "properties": { - "unit": { - "description": "Units of measurement for the quota resource.", - "type": "string" - }, - "nextResetTime": { - "format": "date-time", - "description": "Next reset time for the resource counter.", - "type": "string" - }, - "currentValue": { - "format": "int64", - "description": "The current value of the resource counter.", - "type": "integer" - }, - "limit": { - "format": "int64", - "description": "The resource limit.", - "type": "integer" - }, - "name": { - "$ref": "#/definitions/LocalizableString", - "description": "Quota name." - } - } - }, - "CsmUsageQuotaCollection": { - "description": "Collection of CSM usage quotas.", - "required": [ - "value" - ], - "type": "object", - "properties": { - "value": { - "description": "Collection of resources.", - "type": "array", - "items": { - "$ref": "#/definitions/CsmUsageQuota" - }, - "x-ms-identifiers": [ - "name" - ] - }, - "nextLink": { - "description": "Link to next page of resources.", - "type": "string", - "readOnly": true - } - } - }, - "CustomDnsSuffixConfiguration": { - "description": "Full view of the custom domain suffix configuration for ASEv3.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/ProxyOnlyResource" - } - ], - "properties": { - "properties": { - "description": "CustomDnsSuffixConfiguration resource specific properties", - "type": "object", - "properties": { - "provisioningState": { - "enum": [ - "Succeeded", - "Failed", - "Degraded", - "InProgress" - ], - "type": "string", - "readOnly": true, - "x-ms-enum": { - "name": "CustomDnsSuffixProvisioningState", - "modelAsString": false - } - }, - "provisioningDetails": { - "type": "string", - "readOnly": true - }, - "dnsSuffix": { - "description": "The default custom domain suffix to use for all sites deployed on the ASE.", - "type": "string" - }, - "certificateUrl": { - "description": "The URL referencing the Azure Key Vault certificate secret that should be used as the default SSL/TLS certificate for sites with the custom domain suffix.", - "type": "string" - }, - "keyVaultReferenceIdentity": { - "description": "The user-assigned identity to use for resolving the key vault certificate reference. If not specified, the system-assigned ASE identity will be used if available.", - "type": "string" - } - }, - "x-ms-client-flatten": true - } - } - }, - "CustomScaleRule": { - "description": "Container App container Custom scaling rule.", - "type": "object", - "properties": { - "type": { - "description": "Type of the custom scale rule\neg: azure-servicebus, redis etc.", - "type": "string" - }, - "metadata": { - "description": "Metadata properties to describe custom scale rule.", - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - "auth": { - "description": "Authentication secrets for the custom scale rule.", - "type": "array", - "items": { - "$ref": "#/definitions/ScaleRuleAuth" - }, - "x-ms-identifiers": [ - "triggerParameter" - ] - } - } - }, - "Dapr": { - "description": "Container App Dapr configuration.", - "type": "object", - "properties": { - "enabled": { - "description": "Boolean indicating if the Dapr side car is enabled", - "type": "boolean" - }, - "appId": { - "description": "Dapr application identifier", - "type": "string" - }, - "appPort": { - "format": "int32", - "description": "Port on which the Dapr side car", - "type": "integer" - }, - "components": { - "description": "Collection of Dapr components", - "type": "array", - "items": { - "$ref": "#/definitions/DaprComponent" - }, - "x-ms-identifiers": [ - "name" - ] - } - } - }, - "DaprComponent": { - "description": "Dapr component configuration", - "type": "object", - "properties": { - "name": { - "description": "Component name", - "type": "string" - }, - "type": { - "description": "Component type", - "type": "string" - }, - "version": { - "description": "Component version", - "type": "string" - }, - "metadata": { - "description": "Component metadata", - "type": "array", - "items": { - "$ref": "#/definitions/DaprMetadata" - }, - "x-ms-identifiers": [ - "name" - ] - } - } - }, - "DaprMetadata": { - "description": "Container App Dapr component metadata.", - "type": "object", - "properties": { - "name": { - "description": "Metadata property name.", - "type": "string" - }, - "value": { - "description": "Metadata property value.", - "type": "string" - }, - "secretRef": { - "description": "Name of the Container App secret from which to pull the metadata property value.", - "type": "string" - } - } - }, - "DataProviderMetadata": { - "description": "Additional configuration for a data providers", - "type": "object", - "properties": { - "providerName": { - "type": "string" - }, - "propertyBag": { - "description": "Settings for the data provider", - "type": "array", - "items": { - "$ref": "#/definitions/KeyValuePair[String,Object]" - }, - "readOnly": true, - "x-ms-identifiers": [ - "key" - ] - } - } - }, - "DataTableResponseColumn": { - "description": "Column definition", - "type": "object", - "properties": { - "columnName": { - "description": "Name of the column", - "type": "string" - }, - "dataType": { - "description": "Data type which looks like 'String' or 'Int32'.", - "type": "string" - }, - "columnType": { - "description": "Column Type", - "type": "string" - } - } - }, - "DataTableResponseObject": { - "description": "Data Table which defines columns and raw row values", - "type": "object", - "properties": { - "tableName": { - "description": "Name of the table", - "type": "string" - }, - "columns": { - "description": "List of columns with data types", - "type": "array", - "items": { - "$ref": "#/definitions/DataTableResponseColumn" - }, - "x-ms-identifiers": [ - "columnName" - ] - }, - "rows": { - "description": "Raw row values", - "type": "array", - "items": { - "type": "array", - "items": { - "type": "string" - } - } - } - } - }, - "DefaultErrorResponse": { - "description": "App Service error response.", - "type": "object", - "properties": { - "error": { - "description": "Error model.", - "type": "object", - "properties": { - "code": { - "description": "Standardized string to programmatically identify the error.", - "type": "string", - "readOnly": true - }, - "message": { - "description": "Detailed error description and debugging information.", - "type": "string", - "readOnly": true - }, - "target": { - "description": "Detailed error description and debugging information.", - "type": "string", - "readOnly": true - }, - "details": { - "type": "array", - "items": { - "description": "Detailed errors.", - "type": "object", - "properties": { - "code": { - "description": "Standardized string to programmatically identify the error.", - "type": "string", - "readOnly": true - }, - "message": { - "description": "Detailed error description and debugging information.", - "type": "string", - "readOnly": true - }, - "target": { - "description": "Detailed error description and debugging information.", - "type": "string", - "readOnly": true - } - }, - "readOnly": true - }, - "x-ms-identifiers": [] - }, - "innererror": { - "description": "More information to debug error.", - "type": "string", - "readOnly": true - } - }, - "readOnly": true - } - } - }, - "DefaultIdentity": { - "type": "object", - "properties": { - "identityType": { - "enum": [ - "None", - "SystemAssigned", - "UserAssigned" - ], - "type": "string", - "x-ms-enum": { - "name": "ManagedServiceIdentityType", - "modelAsString": false - } - }, - "userAssignedIdentityResourceId": { - "type": "string" - } - } - }, - "DeletedSite": { - "description": "A deleted app.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/ProxyOnlyResource" - } - ], - "properties": { - "properties": { - "description": "DeletedSite resource specific properties", - "type": "object", - "properties": { - "deletedSiteId": { - "format": "int32", - "description": "Numeric id for the deleted site", - "type": "integer", - "readOnly": true - }, - "deletedTimestamp": { - "description": "Time in UTC when the app was deleted.", - "type": "string", - "readOnly": true - }, - "subscription": { - "description": "Subscription containing the deleted site", - "type": "string", - "readOnly": true - }, - "resourceGroup": { - "description": "ResourceGroup that contained the deleted site", - "type": "string", - "readOnly": true - }, - "deletedSiteName": { - "description": "Name of the deleted site", - "type": "string", - "readOnly": true - }, - "slot": { - "description": "Slot of the deleted site", - "type": "string", - "readOnly": true - }, - "kind": { - "description": "Kind of site that was deleted", - "type": "string", - "readOnly": true - }, - "geoRegionName": { - "description": "Geo Region of the deleted site", - "type": "string", - "readOnly": true - } - }, - "x-ms-client-flatten": true - } - } - }, - "DetectorInfo": { - "description": "Definition of Detector", - "type": "object", - "properties": { - "id": { - "description": "Id of detector", - "type": "string", - "readOnly": true - }, - "name": { - "description": "Name of detector", - "type": "string", - "readOnly": true - }, - "description": { - "description": "Short description of the detector and its purpose.", - "type": "string", - "readOnly": true - }, - "author": { - "description": "Author of the detector.", - "type": "string", - "readOnly": true - }, - "category": { - "description": "Problem category. This serves for organizing group for detectors.", - "type": "string", - "readOnly": true - }, - "supportTopicList": { - "description": "List of Support Topics for which this detector is enabled.", - "type": "array", - "items": { - "$ref": "#/definitions/SupportTopic" - }, - "readOnly": true - }, - "analysisType": { - "description": "Analysis Types for which this detector should apply to.", - "type": "array", - "items": { - "type": "string" - }, - "readOnly": true - }, - "type": { - "description": "Whether this detector is an Analysis Detector or not.", - "enum": [ - "Detector", - "Analysis", - "CategoryOverview" - ], - "type": "string", - "readOnly": true, - "x-ms-enum": { - "name": "DetectorType", - "modelAsString": false - } - }, - "score": { - "format": "float", - "description": "Defines score of a detector to power ML based matching.", - "type": "number", - "readOnly": true - } - } - }, - "DetectorResponse": { - "description": "Class representing Response from Detector", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/ProxyOnlyResource" - } - ], - "properties": { - "properties": { - "description": "DetectorResponse resource specific properties", - "type": "object", - "properties": { - "metadata": { - "$ref": "#/definitions/DetectorInfo", - "description": "metadata for the detector" - }, - "dataset": { - "description": "Data Set", - "type": "array", - "items": { - "$ref": "#/definitions/DiagnosticData" - }, - "x-ms-identifiers": [] - }, - "status": { - "$ref": "#/definitions/Status", - "description": "Indicates status of the most severe insight." - }, - "dataProvidersMetadata": { - "description": "Additional configuration for different data providers to be used by the UI", - "type": "array", - "items": { - "$ref": "#/definitions/DataProviderMetadata" - }, - "x-ms-identifiers": [ - "providerName" - ] - }, - "suggestedUtterances": { - "$ref": "#/definitions/QueryUtterancesResults", - "description": "Suggested utterances where the detector can be applicable." - } - }, - "x-ms-client-flatten": true - } - } - }, - "DetectorResponseCollection": { - "description": "Collection of detector responses", - "required": [ - "value" - ], - "type": "object", - "properties": { - "value": { - "description": "Collection of resources.", - "type": "array", - "items": { - "$ref": "#/definitions/DetectorResponse" - } - }, - "nextLink": { - "description": "Link to next page of resources.", - "type": "string", - "readOnly": true - } - } - }, - "DiagnosticData": { - "description": "Set of data with rendering instructions", - "type": "object", - "properties": { - "table": { - "$ref": "#/definitions/DataTableResponseObject", - "description": "Data in table form" - }, - "renderingProperties": { - "$ref": "#/definitions/Rendering", - "description": "Properties that describe how the table should be rendered" - } - } - }, - "Dimension": { - "description": "Dimension of a resource metric. For e.g. instance specific HTTP requests for a web app, \nwhere instance name is dimension of the metric HTTP request", - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "displayName": { - "type": "string" - }, - "internalName": { - "type": "string" - }, - "toBeExportedForShoebox": { - "type": "boolean" - } - } - }, - "EnvironmentVar": { - "description": "Container App container environment variable.", - "type": "object", - "properties": { - "name": { - "description": "Environment variable name.", - "type": "string" - }, - "value": { - "description": "Non-secret environment variable value.", - "type": "string" - }, - "secretRef": { - "description": "Name of the Container App secret from which to pull the environment variable value.", - "type": "string" - } - } - }, - "ErrorEntity": { - "description": "Body of the error response returned from the API.", - "type": "object", - "properties": { - "extendedCode": { - "description": "Type of error.", - "type": "string" - }, - "messageTemplate": { - "description": "Message template.", - "type": "string" - }, - "parameters": { - "description": "Parameters for the template.", - "type": "array", - "items": { - "type": "string" - } - }, - "innerErrors": { - "description": "Inner errors.", - "type": "array", - "items": { - "$ref": "#/definitions/ErrorEntity" - }, - "x-ms-identifiers": [] - }, - "details": { - "description": "Error Details.", - "type": "array", - "items": { - "$ref": "#/definitions/ErrorEntity" - }, - "x-ms-identifiers": [] - }, - "target": { - "description": "The error target.", - "type": "string" - }, - "code": { - "description": "Basic error code.", - "type": "string" - }, - "message": { - "description": "Any details of the error.", - "type": "string" - } - } - }, - "Experiments": { - "description": "Routing rules in production experiments.", - "type": "object", - "properties": { - "rampUpRules": { - "description": "List of ramp-up rules.", - "type": "array", - "items": { - "$ref": "#/definitions/RampUpRule" - }, - "x-ms-identifiers": [ - "name" - ] - } - } - }, - "ExtendedLocation": { - "description": "Extended Location.", - "type": "object", - "properties": { - "name": { - "description": "Name of extended location.", - "type": "string" - }, - "type": { - "description": "Type of extended location.", - "type": "string", - "readOnly": true - } - } - }, - "HandlerMapping": { - "description": "The IIS handler mappings used to define which handler processes HTTP requests with certain extension. \nFor example, it is used to configure php-cgi.exe process to handle all HTTP requests with *.php extension.", - "type": "object", - "properties": { - "extension": { - "description": "Requests with this extension will be handled using the specified FastCGI application.", - "type": "string" - }, - "scriptProcessor": { - "description": "The absolute path to the FastCGI application.", - "type": "string" - }, - "arguments": { - "description": "Command-line arguments to be passed to the script processor.", - "type": "string" - } - } - }, - "HostNameBinding": { - "description": "A hostname binding object.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/ProxyOnlyResource" - } - ], - "properties": { - "properties": { - "description": "HostNameBinding resource specific properties", - "type": "object", - "properties": { - "siteName": { - "description": "App Service app name.", - "type": "string", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "domainId": { - "description": "Fully qualified ARM domain resource URI.", - "type": "string", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "azureResourceName": { - "description": "Azure resource name.", - "type": "string", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "azureResourceType": { - "description": "Azure resource type.", - "enum": [ - "Website", - "TrafficManager" - ], - "type": "string", - "x-ms-enum": { - "name": "AzureResourceType", - "modelAsString": false - }, - "x-ms-mutability": [ - "create", - "read" - ] - }, - "customHostNameDnsRecordType": { - "description": "Custom DNS record type.", - "enum": [ - "CName", - "A" - ], - "type": "string", - "x-ms-enum": { - "name": "CustomHostNameDnsRecordType", - "modelAsString": false - }, - "x-ms-mutability": [ - "create", - "read" - ] - }, - "hostNameType": { - "description": "Hostname type.", - "enum": [ - "Verified", - "Managed" - ], - "type": "string", - "x-ms-enum": { - "name": "HostNameType", - "modelAsString": false - }, - "x-ms-mutability": [ - "create", - "read" - ] - }, - "sslState": { - "description": "SSL type", - "enum": [ - "Disabled", - "SniEnabled", - "IpBasedEnabled" - ], - "type": "string", - "x-ms-enum": { - "name": "SslState", - "modelAsString": false - }, - "x-ms-mutability": [ - "create", - "read" - ] - }, - "thumbprint": { - "description": "SSL certificate thumbprint", - "type": "string", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "virtualIP": { - "description": "Virtual IP address assigned to the hostname if IP based SSL is enabled.", - "type": "string", - "readOnly": true - } - }, - "x-ms-client-flatten": true - } - } - }, - "HostNameBindingCollection": { - "description": "Collection of hostname bindings.", - "required": [ - "value" - ], - "type": "object", - "properties": { - "value": { - "description": "Collection of resources.", - "type": "array", - "items": { - "$ref": "#/definitions/HostNameBinding" - } - }, - "nextLink": { - "description": "Link to next page of resources.", - "type": "string", - "readOnly": true - } - } - }, - "HostNameSslState": { - "description": "SSL-enabled hostname.", - "type": "object", - "properties": { - "name": { - "description": "Hostname.", - "type": "string" - }, - "sslState": { - "description": "SSL type.", - "enum": [ - "Disabled", - "SniEnabled", - "IpBasedEnabled" - ], - "type": "string", - "x-ms-enum": { - "name": "SslState", - "modelAsString": false - } - }, - "virtualIP": { - "description": "Virtual IP address assigned to the hostname if IP based SSL is enabled.", - "type": "string" - }, - "thumbprint": { - "description": "SSL certificate thumbprint.", - "type": "string" - }, - "toUpdate": { - "description": "Set to true to update existing hostname.", - "type": "boolean" - }, - "hostType": { - "description": "Indicates whether the hostname is a standard or repository hostname.", - "enum": [ - "Standard", - "Repository" - ], - "type": "string", - "x-ms-enum": { - "name": "HostType", - "modelAsString": false - } - } - } - }, - "HostingEnvironmentProfile": { - "description": "Specification for an App Service Environment to use for this resource.", - "type": "object", - "properties": { - "id": { - "description": "Resource ID of the App Service Environment.", - "type": "string" - }, - "name": { - "description": "Name of the App Service Environment.", - "type": "string", - "readOnly": true - }, - "type": { - "description": "Resource type of the App Service Environment.", - "type": "string", - "readOnly": true - } - } - }, - "HttpScaleRule": { - "description": "Container App container Custom scaling rule.", - "type": "object", - "properties": { - "metadata": { - "description": "Metadata properties to describe http scale rule.", - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - "auth": { - "description": "Authentication secrets for the custom scale rule.", - "type": "array", - "items": { - "$ref": "#/definitions/ScaleRuleAuth" - }, - "x-ms-identifiers": [ - "triggerParameter" - ] - } - } - }, - "HybridConnection": { - "description": "Hybrid Connection contract. This is used to configure a Hybrid Connection.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/ProxyOnlyResource" - } - ], - "properties": { - "properties": { - "description": "HybridConnection resource specific properties", - "type": "object", - "properties": { - "serviceBusNamespace": { - "description": "The name of the Service Bus namespace.", - "type": "string", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "relayName": { - "description": "The name of the Service Bus relay.", - "type": "string", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "relayArmUri": { - "description": "The ARM URI to the Service Bus relay.", - "type": "string" - }, - "hostname": { - "description": "The hostname of the endpoint.", - "type": "string" - }, - "port": { - "format": "int32", - "description": "The port of the endpoint.", - "type": "integer" - }, - "sendKeyName": { - "description": "The name of the Service Bus key which has Send permissions. This is used to authenticate to Service Bus.", - "type": "string" - }, - "sendKeyValue": { - "description": "The value of the Service Bus key. This is used to authenticate to Service Bus. In ARM this key will not be returned\nnormally, use the POST /listKeys API instead.", - "type": "string" - }, - "serviceBusSuffix": { - "description": "The suffix for the service bus endpoint. By default this is .servicebus.windows.net", - "type": "string" - } - }, - "x-ms-client-flatten": true - } - } - }, - "Identifier": { - "description": "A domain specific resource identifier.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/ProxyOnlyResource" - } - ], - "properties": { - "properties": { - "description": "Identifier resource specific properties", - "type": "object", - "properties": { - "id": { - "description": "String representation of the identity.", - "type": "string", - "x-ms-client-name": "value" - } - }, - "x-ms-client-flatten": true - } - } - }, - "IdentifierCollection": { - "description": "Collection of identifiers.", - "required": [ - "value" - ], - "type": "object", - "properties": { - "value": { - "description": "Collection of resources.", - "type": "array", - "items": { - "$ref": "#/definitions/Identifier" - } - }, - "nextLink": { - "description": "Link to next page of resources.", - "type": "string", - "readOnly": true - } - } - }, - "InstallScript": { - "description": "Server farm install script configuration.", - "type": "object", - "properties": { - "name": { - "description": "Name of the install script.", - "type": "string" - }, - "source": { - "$ref": "#/definitions/InstallScriptSource", - "description": "Source of the install script." - } - } - }, - "InstallScriptSource": { - "description": "Object to hold install script reference.", - "type": "object", - "properties": { - "sourceUri": { - "description": "Install script source URI where the install script file will be fetched from.", - "type": "string" - }, - "type": { - "description": "Type of the install script.", - "enum": [ - "RemoteAzureBlob", - "PlatformStorage" - ], - "type": "string", - "x-ms-enum": { - "name": "InstallScriptType", - "modelAsString": true - } - } - } - }, - "IpSecurityRestriction": { - "description": "IP security restriction on an app.", - "type": "object", - "properties": { - "ipAddress": { - "description": "IP address the security restriction is valid for.\nIt can be in form of pure ipv4 address (required SubnetMask property) or\nCIDR notation such as ipv4/mask (leading bit match). For CIDR,\nSubnetMask property must not be specified.", - "type": "string" - }, - "subnetMask": { - "description": "Subnet mask for the range of IP addresses the restriction is valid for.", - "type": "string" - }, - "vnetSubnetResourceId": { - "description": "Virtual network resource id", - "type": "string" - }, - "vnetTrafficTag": { - "format": "int32", - "description": "(internal) Vnet traffic tag", - "type": "integer" - }, - "subnetTrafficTag": { - "format": "int32", - "description": "(internal) Subnet traffic tag", - "type": "integer" - }, - "action": { - "description": "Allow or Deny access for this IP range.", - "type": "string" - }, - "tag": { - "description": "Defines what this IP filter will be used for. This is to support IP filtering on proxies.", - "enum": [ - "Default", - "XffProxy", - "ServiceTag" - ], - "type": "string", - "x-ms-enum": { - "name": "IpFilterTag", - "modelAsString": true - } - }, - "priority": { - "format": "int32", - "description": "Priority of IP restriction rule.", - "type": "integer" - }, - "name": { - "description": "IP restriction rule name.", - "type": "string" - }, - "description": { - "description": "IP restriction rule description.", - "type": "string" - }, - "headers": { - "description": "IP restriction rule headers.\nX-Forwarded-Host (https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Forwarded-Host#Examples). \nThe matching logic is ..\n- If the property is null or empty (default), all hosts(or lack of) are allowed.\n- A value is compared using ordinal-ignore-case (excluding port number).\n- Subdomain wildcards are permitted but don't match the root domain. For example, *.contoso.com matches the subdomain foo.contoso.com\n but not the root domain contoso.com or multi-level foo.bar.contoso.com\n- Unicode host names are allowed but are converted to Punycode for matching.\n\nX-Forwarded-For (https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Forwarded-For#Examples).\nThe matching logic is ..\n- If the property is null or empty (default), any forwarded-for chains (or lack of) are allowed.\n- If any address (excluding port number) in the chain (comma separated) matches the CIDR defined by the property.\n\nX-Azure-FDID and X-FD-HealthProbe.\nThe matching logic is exact match.", - "type": "object", - "additionalProperties": { - "type": "array", - "items": { - "type": "string" - } - } - } - } - }, - "KeyValuePair[String,Object]": { - "type": "object", - "properties": { - "key": { - "type": "string", - "readOnly": true - }, - "value": { - "type": "object", - "readOnly": true - } - } - }, - "KeyVaultReferenceWithStatus": { - "description": "Object to hold key vault reference and the resolution status", - "type": "object", - "properties": { - "secretUri": { - "description": "Key vault secret URI.", - "type": "string" - }, - "referenceStatus": { - "description": "Reference status of the key vault secret.", - "type": "string" - } - } - }, - "KubeEnvironmentProfile": { - "description": "Specification for a Kubernetes Environment to use for this resource.", - "type": "object", - "properties": { - "id": { - "description": "Resource ID of the Kubernetes Environment.", - "type": "string" - }, - "name": { - "description": "Name of the Kubernetes Environment.", - "type": "string", - "readOnly": true - }, - "type": { - "description": "Resource type of the Kubernetes Environment.", - "type": "string", - "readOnly": true - } - } - }, - "LocalizableString": { - "description": "Localizable string object containing the name and a localized value.", - "type": "object", - "properties": { - "value": { - "description": "Non-localized name.", - "type": "string" - }, - "localizedValue": { - "description": "Localized name.", - "type": "string" - } - } - }, - "LogSpecification": { - "description": "Log Definition of a single resource metric.", - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "displayName": { - "type": "string" - }, - "blobDuration": { - "type": "string" - }, - "logFilterPattern": { - "type": "string" - } - } - }, - "ManagedServiceIdentity": { - "description": "Managed service identity.", - "type": "object", - "properties": { - "type": { - "description": "Type of managed service identity.", - "enum": [ - "SystemAssigned", - "UserAssigned", - "SystemAssigned, UserAssigned", - "None" - ], - "type": "string", - "x-ms-enum": { - "name": "ManagedServiceIdentityType", - "modelAsString": false - } - }, - "tenantId": { - "description": "Tenant of managed service identity.", - "type": "string", - "readOnly": true - }, - "principalId": { - "description": "Principal Id of managed service identity.", - "type": "string", - "readOnly": true - }, - "userAssignedIdentities": { - "description": "The list of user assigned identities associated with the resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}", - "type": "object", - "additionalProperties": { - "$ref": "#/definitions/userAssignedIdentity" - } - } - } - }, - "MetricAvailability": { - "description": "Retention policy of a resource metric.", - "type": "object", - "properties": { - "timeGrain": { - "type": "string" - }, - "blobDuration": { - "type": "string" - } - } - }, - "MetricSpecification": { - "description": "Definition of a single resource metric.", - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "displayName": { - "type": "string" - }, - "displayDescription": { - "type": "string" - }, - "unit": { - "type": "string" - }, - "aggregationType": { - "type": "string" - }, - "supportsInstanceLevelAggregation": { - "type": "boolean" - }, - "enableRegionalMdmAccount": { - "type": "boolean" - }, - "sourceMdmAccount": { - "type": "string" - }, - "sourceMdmNamespace": { - "type": "string" - }, - "metricFilterPattern": { - "type": "string" - }, - "fillGapWithZero": { - "type": "boolean" - }, - "isInternal": { - "type": "boolean" - }, - "dimensions": { - "type": "array", - "items": { - "$ref": "#/definitions/Dimension" - }, - "x-ms-identifiers": [ - "name" - ] - }, - "category": { - "type": "string" - }, - "availabilities": { - "type": "array", - "items": { - "$ref": "#/definitions/MetricAvailability" - }, - "x-ms-identifiers": [] - }, - "supportedTimeGrainTypes": { - "type": "array", - "items": { - "type": "string" - } - }, - "supportedAggregationTypes": { - "type": "array", - "items": { - "type": "string" - } - } - } - }, - "NameIdentifier": { - "description": "Identifies an object.", - "type": "object", - "properties": { - "name": { - "description": "Name of the object.", - "type": "string" - } - } - }, - "NameValuePair": { - "description": "Name value pair.", - "type": "object", - "properties": { - "name": { - "description": "Pair name.", - "type": "string" - }, - "value": { - "description": "Pair value.", - "type": "string" - } - } - }, - "Operation": { - "description": "An operation on a resource.", - "type": "object", - "properties": { - "id": { - "description": "Operation ID.", - "type": "string" - }, - "name": { - "description": "Operation name.", - "type": "string" - }, - "status": { - "description": "The current status of the operation.", - "enum": [ - "InProgress", - "Failed", - "Succeeded", - "TimedOut", - "Created" - ], - "type": "string", - "x-ms-enum": { - "name": "OperationStatus", - "modelAsString": false - } - }, - "errors": { - "description": "Any errors associate with the operation.", - "type": "array", - "items": { - "$ref": "#/definitions/ErrorEntity" - }, - "x-ms-identifiers": [] - }, - "createdTime": { - "format": "date-time", - "description": "Time when operation has started.", - "type": "string" - }, - "modifiedTime": { - "format": "date-time", - "description": "Time when operation has been updated.", - "type": "string" - }, - "expirationTime": { - "format": "date-time", - "description": "Time when operation will expire.", - "type": "string" - }, - "geoMasterOperationId": { - "format": "uuid", - "description": "Applicable only for stamp operation ids.", - "type": "string", - "example": "00000000-0000-0000-0000-000000000000" - } - } - }, - "PrivateEndpointConnectionCollection": { - "required": [ - "value" - ], - "type": "object", - "properties": { - "value": { - "description": "Collection of resources.", - "type": "array", - "items": { - "$ref": "#/definitions/RemotePrivateEndpointConnectionARMResource" - } - }, - "nextLink": { - "description": "Link to next page of resources.", - "type": "string", - "readOnly": true - } - } - }, - "PrivateLinkConnectionApprovalRequest": { - "description": "A request to approve or reject a private endpoint connection", - "type": "object", - "properties": { - "privateLinkServiceConnectionState": { - "$ref": "#/definitions/PrivateLinkConnectionState" - } - } - }, - "PrivateLinkConnectionApprovalRequestResource": { - "description": "Private Endpoint Connection Approval ARM resource.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/ProxyOnlyResource" - } - ], - "properties": { - "properties": { - "$ref": "#/definitions/PrivateLinkConnectionApprovalRequest", - "description": "Core resource properties", - "type": "object", - "x-ms-client-flatten": true - } - } - }, - "PrivateLinkConnectionState": { - "description": "The state of a private link connection", - "type": "object", - "properties": { - "status": { - "description": "Status of a private link connection", - "type": "string" - }, - "description": { - "description": "Description of a private link connection", - "type": "string" - }, - "actionsRequired": { - "description": "ActionsRequired for a private link connection", - "type": "string" - } - } - }, - "PrivateLinkResource": { - "description": "A private link resource", - "required": [ - "id", - "name", - "type", - "properties" - ], - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "name": { - "description": "Name of a private link resource", - "type": "string" - }, - "type": { - "type": "string" - }, - "properties": { - "$ref": "#/definitions/PrivateLinkResourceProperties", - "description": "Properties of a private link resource" - } - } - }, - "PrivateLinkResourceProperties": { - "description": "Properties of a private link resource", - "type": "object", - "properties": { - "groupId": { - "description": "GroupId of a private link resource", - "type": "string", - "readOnly": true - }, - "requiredMembers": { - "description": "RequiredMembers of a private link resource", - "type": "array", - "items": { - "type": "string" - }, - "readOnly": true - }, - "requiredZoneNames": { - "description": "RequiredZoneNames of a private link resource", - "type": "array", - "items": { - "type": "string" - }, - "readOnly": true - } - } - }, - "PrivateLinkResourcesWrapper": { - "description": "Wrapper for a collection of private link resources", - "required": [ - "value" - ], - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/PrivateLinkResource" - } - } - } - }, - "ProxyOnlyResource": { - "description": "Azure proxy only resource. This resource is not tracked by Azure Resource Manager.", - "type": "object", - "properties": { - "id": { - "description": "Resource Id.", - "type": "string", - "readOnly": true - }, - "name": { - "description": "Resource Name.", - "type": "string", - "readOnly": true - }, - "kind": { - "description": "Kind of resource.", - "type": "string" - }, - "type": { - "description": "Resource type.", - "type": "string", - "readOnly": true - } - }, - "x-ms-azure-resource": true - }, - "PushSettings": { - "description": "Push settings for the App.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/ProxyOnlyResource" - } - ], - "properties": { - "properties": { - "description": "PushSettings resource specific properties", - "required": [ - "isPushEnabled" - ], - "type": "object", - "properties": { - "isPushEnabled": { - "description": "Gets or sets a flag indicating whether the Push endpoint is enabled.", - "type": "boolean" - }, - "tagWhitelistJson": { - "description": "Gets or sets a JSON string containing a list of tags that are whitelisted for use by the push registration endpoint.", - "type": "string" - }, - "tagsRequiringAuth": { - "description": "Gets or sets a JSON string containing a list of tags that require user authentication to be used in the push registration endpoint.\nTags can consist of alphanumeric characters and the following:\n'_', '@', '#', '.', ':', '-'. \nValidation should be performed at the PushRequestHandler.", - "type": "string" - }, - "dynamicTagsJson": { - "description": "Gets or sets a JSON string containing a list of dynamic tags that will be evaluated from user claims in the push registration endpoint.", - "type": "string" - } - }, - "x-ms-client-flatten": true - } - } - }, - "QueryUtterancesResult": { - "description": "Result for utterances query.", - "type": "object", - "properties": { - "sampleUtterance": { - "$ref": "#/definitions/SampleUtterance", - "description": "A sample utterance." - }, - "score": { - "format": "float", - "description": "Score of a sample utterance.", - "type": "number" - } - } - }, - "QueryUtterancesResults": { - "description": "Suggested utterances where the detector can be applicable", - "type": "object", - "properties": { - "query": { - "description": "Search Query.", - "type": "string" - }, - "results": { - "description": "Array of utterance results for search query.", - "type": "array", - "items": { - "$ref": "#/definitions/QueryUtterancesResult" - }, - "x-ms-identifiers": [] - } - } - }, - "QueueScaleRule": { - "description": "Container App container Azure Queue based scaling rule.", - "type": "object", - "properties": { - "queueName": { - "description": "Queue name.", - "type": "string" - }, - "queueLength": { - "format": "int32", - "description": "Queue length.", - "type": "integer" - }, - "auth": { - "description": "Authentication secrets for the queue scale rule.", - "type": "array", - "items": { - "$ref": "#/definitions/ScaleRuleAuth" - }, - "x-ms-identifiers": [ - "triggerParameter" - ] - } - } - }, - "RampUpRule": { - "description": "Routing rules for ramp up testing. This rule allows to redirect static traffic % to a slot or to gradually change routing % based on performance.", - "type": "object", - "properties": { - "actionHostName": { - "description": "Hostname of a slot to which the traffic will be redirected if decided to. E.g. myapp-stage.azurewebsites.net.", - "type": "string" - }, - "reroutePercentage": { - "format": "double", - "description": "Percentage of the traffic which will be redirected to ActionHostName.", - "type": "number" - }, - "changeStep": { - "format": "double", - "description": "In auto ramp up scenario this is the step to add/remove from ReroutePercentage until it reaches \\nMinReroutePercentage or \nMaxReroutePercentage. Site metrics are checked every N minutes specified in ChangeIntervalInMinutes.\\nCustom decision algorithm \ncan be provided in TiPCallback site extension which URL can be specified in ChangeDecisionCallbackUrl.", - "type": "number" - }, - "changeIntervalInMinutes": { - "format": "int32", - "description": "Specifies interval in minutes to reevaluate ReroutePercentage.", - "type": "integer" - }, - "minReroutePercentage": { - "format": "double", - "description": "Specifies lower boundary above which ReroutePercentage will stay.", - "type": "number" - }, - "maxReroutePercentage": { - "format": "double", - "description": "Specifies upper boundary below which ReroutePercentage will stay.", - "type": "number" - }, - "changeDecisionCallbackUrl": { - "description": "Custom decision algorithm can be provided in TiPCallback site extension which URL can be specified.", - "type": "string" - }, - "name": { - "description": "Name of the routing rule. The recommended name would be to point to the slot which will receive the traffic in the experiment.", - "type": "string" - } - } - }, - "RegistryAdapter": { - "description": "Server farm registry adapter configuration.", - "type": "object", - "properties": { - "registryKey": { - "description": "Registry key for the adapter.", - "type": "string" - }, - "type": { - "description": "Type of the registry adapter.", - "enum": [ - "Binary", - "String", - "Expand_String", - "Multi_String", - "DWord", - "QWord" - ], - "type": "string", - "x-ms-enum": { - "name": "RegistryAdapterType", - "modelAsString": true - } - }, - "keyVaultSecretReference": { - "$ref": "#/definitions/KeyVaultReferenceWithStatus", - "description": "Key vault reference to the value that will be placed in the registry location" - } - } - }, - "RemotePrivateEndpointConnectionARMResource": { - "description": "Remote Private Endpoint Connection ARM resource.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/ProxyOnlyResource" - } - ], - "properties": { - "properties": { - "description": "RemotePrivateEndpointConnectionARMResource resource specific properties", - "type": "object", - "properties": { - "provisioningState": { - "type": "string", - "readOnly": true - }, - "privateEndpoint": { - "$ref": "#/definitions/ArmIdWrapper", - "description": "PrivateEndpoint of a remote private endpoint connection" - }, - "privateLinkServiceConnectionState": { - "$ref": "#/definitions/PrivateLinkConnectionState" - }, - "ipAddresses": { - "description": "Private IPAddresses mapped to the remote private endpoint", - "type": "array", - "items": { - "type": "string" - } - } - }, - "x-ms-client-flatten": true - } - } - }, - "Rendering": { - "description": "Instructions for rendering the data", - "type": "object", - "properties": { - "type": { - "description": "Rendering Type", - "enum": [ - "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" - ], - "type": "string", - "x-ms-enum": { - "name": "RenderingType", - "modelAsString": false - } - }, - "title": { - "description": "Title of data", - "type": "string" - }, - "description": { - "description": "Description of the data that will help it be interpreted", - "type": "string" - } - } - }, - "RequestsBasedTrigger": { - "description": "Trigger based on total requests.", - "type": "object", - "properties": { - "count": { - "format": "int32", - "description": "Request Count.", - "type": "integer" - }, - "timeInterval": { - "description": "Time interval.", - "type": "string" - } - } - }, - "Resource": { - "description": "Azure resource. This resource is tracked in Azure Resource Manager", - "required": [ - "location" - ], - "type": "object", - "properties": { - "id": { - "description": "Resource Id.", - "type": "string", - "readOnly": true - }, - "name": { - "description": "Resource Name.", - "type": "string", - "readOnly": true - }, - "kind": { - "description": "Kind of resource. If the resource is an app, you can refer to https://github.com/Azure/app-service-linux-docs/blob/master/Things_You_Should_Know/kind_property.md#app-service-resource-kind-reference for details supported values for kind.", - "type": "string" - }, - "location": { - "description": "Resource Location.", - "type": "string" - }, - "type": { - "description": "Resource type.", - "type": "string", - "readOnly": true - }, - "tags": { - "description": "Resource tags.", - "type": "object", - "additionalProperties": { - "type": "string" - } - } - }, - "x-ms-azure-resource": true - }, - "SampleUtterance": { - "description": "Sample utterance.", - "type": "object", - "properties": { - "text": { - "description": "Text attribute of sample utterance.", - "type": "string" - }, - "links": { - "description": "Links attribute of sample utterance.", - "type": "array", - "items": { - "type": "string" - } - }, - "qid": { - "description": "Question id of sample utterance (for stackoverflow questions titles).", - "type": "string" - } - } - }, - "Scale": { - "description": "Container App scaling configurations.", - "type": "object", - "properties": { - "minReplicas": { - "format": "int32", - "description": "Optional. Minimum number of container replicas.", - "type": "integer" - }, - "maxReplicas": { - "format": "int32", - "description": "Optional. Maximum number of container replicas. Defaults to 10 if not set.", - "type": "integer" - }, - "rules": { - "description": "Scaling rules.", - "type": "array", - "items": { - "$ref": "#/definitions/ScaleRule" - }, - "x-ms-identifiers": [ - "name" - ] - } - } - }, - "ScaleRule": { - "description": "Container App container scaling rule.", - "type": "object", - "properties": { - "name": { - "description": "Scale Rule Name", - "type": "string" - }, - "azureQueue": { - "$ref": "#/definitions/QueueScaleRule", - "description": "Azure Queue based scaling." - }, - "custom": { - "$ref": "#/definitions/CustomScaleRule", - "description": "Custom scale rule." - }, - "http": { - "$ref": "#/definitions/HttpScaleRule", - "description": "HTTP requests based scaling." - } - } - }, - "ScaleRuleAuth": { - "description": "Auth Secrets for Container App Scale Rule", - "type": "object", - "properties": { - "secretRef": { - "description": "Name of the Container App secret from which to pull the auth params.", - "type": "string" - }, - "triggerParameter": { - "description": "Trigger Parameter that uses the secret", - "type": "string" - } - } - }, - "ServiceSpecification": { - "description": "Resource metrics service provided by Microsoft.Insights resource provider.", - "type": "object", - "properties": { - "metricSpecifications": { - "type": "array", - "items": { - "$ref": "#/definitions/MetricSpecification" - }, - "x-ms-identifiers": [ - "name" - ] - }, - "logSpecifications": { - "type": "array", - "items": { - "$ref": "#/definitions/LogSpecification" - }, - "x-ms-identifiers": [ - "name" - ] - } - } - }, - "Site": { - "description": "A web app, a mobile app backend, or an API app.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/Resource" - } - ], - "properties": { - "properties": { - "description": "Site resource specific properties", - "type": "object", - "properties": { - "state": { - "description": "Current state of the app.", - "type": "string", - "readOnly": true - }, - "hostNames": { - "description": "Hostnames associated with the app.", - "type": "array", - "items": { - "type": "string" - }, - "readOnly": true - }, - "repositorySiteName": { - "description": "Name of the repository site.", - "type": "string", - "readOnly": true - }, - "usageState": { - "description": "State indicating whether the app has exceeded its quota usage. Read-only.", - "enum": [ - "Normal", - "Exceeded" - ], - "type": "string", - "readOnly": true, - "x-ms-enum": { - "name": "UsageState", - "modelAsString": false - } - }, - "enabled": { - "description": "true if the app is enabled; otherwise, false. Setting this value to false disables the app (takes the app offline).", - "type": "boolean" - }, - "enabledHostNames": { - "description": "Enabled hostnames for the app.Hostnames need to be assigned (see HostNames) AND enabled. Otherwise,\nthe app is not served on those hostnames.", - "type": "array", - "items": { - "type": "string" - }, - "readOnly": true - }, - "availabilityState": { - "description": "Management information availability state for the app.", - "enum": [ - "Normal", - "Limited", - "DisasterRecoveryMode" - ], - "type": "string", - "readOnly": true, - "x-ms-enum": { - "name": "SiteAvailabilityState", - "modelAsString": false - } - }, - "hostNameSslStates": { - "description": "Hostname SSL states are used to manage the SSL bindings for app's hostnames.", - "type": "array", - "items": { - "$ref": "#/definitions/HostNameSslState" - }, - "x-ms-identifiers": [ - "name" - ] - }, - "serverFarmId": { - "description": "Resource ID of the associated App Service plan, formatted as: \"/subscriptions/{subscriptionID}/resourceGroups/{groupName}/providers/Microsoft.Web/serverfarms/{appServicePlanName}\".", - "type": "string" - }, - "reserved": { - "description": "true if reserved; otherwise, false.", - "default": false, - "type": "boolean", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "isXenon": { - "description": "Obsolete: Hyper-V sandbox.", - "default": false, - "type": "boolean", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "hyperV": { - "description": "Hyper-V sandbox.", - "default": false, - "type": "boolean", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "lastModifiedTimeUtc": { - "format": "date-time", - "description": "Last time the app was modified, in UTC. Read-only.", - "type": "string", - "readOnly": true - }, - "dnsConfiguration": { - "$ref": "#/definitions/SiteDnsConfig", - "description": "Property to configure various DNS related settings for a site." - }, - "outboundVnetRouting": { - "$ref": "#/definitions/OutboundVnetRouting", - "description": "Property to configure various outbound traffic routing options over virtual network for a site" - }, - "siteConfig": { - "$ref": "#/definitions/SiteConfig", - "description": "Configuration of an App Service app. This property is not returned in response to normal create and read requests since it may contain sensitive information.", - "x-ms-mutability": [ - "create", - "update" - ] - }, - "functionAppConfig": { - "$ref": "#/definitions/FunctionAppConfig", - "description": "Configuration specific of the Azure Function app." - }, - "daprConfig": { - "$ref": "#/definitions/DaprConfig", - "description": "Dapr configuration of the app." - }, - "workloadProfileName": { - "description": "Workload profile name for function app to execute on.", - "type": "string" - }, - "resourceConfig": { - "$ref": "#/definitions/ResourceConfig", - "description": "Function app resource requirements." - }, - "trafficManagerHostNames": { - "description": "Azure Traffic Manager hostnames associated with the app. Read-only.", - "type": "array", - "items": { - "type": "string" - }, - "readOnly": true - }, - "scmSiteAlsoStopped": { - "description": "true to stop SCM (KUDU) site when the app is stopped; otherwise, false. The default is false.", - "default": false, - "type": "boolean" - }, - "targetSwapSlot": { - "description": "Specifies which deployment slot this app will swap into. Read-only.", - "type": "string", - "readOnly": true - }, - "hostingEnvironmentProfile": { - "$ref": "#/definitions/HostingEnvironmentProfile", - "description": "App Service Environment to use for the app.", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "clientAffinityEnabled": { - "description": "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.", - "type": "boolean" - }, - "clientAffinityPartitioningEnabled": { - "description": "true to enable client affinity partitioning using CHIPS cookies, this will add the partitioned property to the affinity cookies; false to stop sending partitioned affinity cookies. Default is false.", - "type": "boolean" - }, - "clientAffinityProxyEnabled": { - "description": "true to override client affinity cookie domain with X-Forwarded-Host request header. false to use default domain. Default is false.", - "type": "boolean" - }, - "clientCertEnabled": { - "description": "true to enable client certificate authentication (TLS mutual authentication); otherwise, false. Default is false.", - "type": "boolean" - }, - "clientCertMode": { - "description": "This composes with ClientCertEnabled setting.\n- ClientCertEnabled: false means ClientCert is ignored.\n- ClientCertEnabled: true and ClientCertMode: Required means ClientCert is required.\n- ClientCertEnabled: true and ClientCertMode: Optional means ClientCert is optional or accepted.", - "enum": [ - "Required", - "Optional", - "OptionalInteractiveUser" - ], - "type": "string", - "x-ms-enum": { - "name": "ClientCertMode", - "modelAsString": false - } - }, - "clientCertExclusionPaths": { - "description": "client certificate authentication comma-separated exclusion paths", - "type": "string" - }, - "ipMode": { - "description": "Specifies the IP mode of the app.", - "enum": [ - "IPv4", - "IPv6", - "IPv4AndIPv6" - ], - "type": "string", - "x-ms-enum": { - "name": "IPMode", - "modelAsString": false - } - }, - "endToEndEncryptionEnabled": { - "description": "Whether to use end to end encryption between the FrontEnd and the Worker", - "type": "boolean" - }, - "sshEnabled": { - "description": "Whether to enable ssh access.", - "type": "boolean" - }, - "hostNamesDisabled": { - "description": "true to disable the public hostnames of the app; otherwise, false.\n If true, the app is only accessible via API management process.", - "type": "boolean" - }, - "customDomainVerificationId": { - "description": "Unique identifier that verifies the custom domains assigned to the app. Customer will add this id to a txt record for verification.", - "type": "string" - }, - "outboundIpAddresses": { - "description": "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.", - "type": "string", - "readOnly": true - }, - "possibleOutboundIpAddresses": { - "description": "List of IP addresses that the app uses for outbound connections (e.g. database access). Includes VIPs from all tenants except dataComponent. Read-only.", - "type": "string", - "readOnly": true - }, - "containerSize": { - "format": "int32", - "description": "Size of the function container.", - "type": "integer" - }, - "dailyMemoryTimeQuota": { - "format": "int32", - "description": "Maximum allowed daily memory-time quota (applicable on dynamic apps only).", - "type": "integer" - }, - "suspendedTill": { - "format": "date-time", - "description": "App suspended till in case memory-time quota is exceeded.", - "type": "string", - "readOnly": true - }, - "maxNumberOfWorkers": { - "format": "int32", - "description": "Maximum number of workers.\nThis only applies to Functions container.", - "type": "integer", - "readOnly": true - }, - "cloningInfo": { - "$ref": "#/definitions/CloningInfo", - "description": "If specified during app creation, the app is cloned from a source app.", - "x-ms-mutability": [ - "create" - ] - }, - "resourceGroup": { - "description": "Name of the resource group the app belongs to. Read-only.", - "type": "string", - "readOnly": true - }, - "isDefaultContainer": { - "description": "true if the app is a default container; otherwise, false.", - "type": "boolean", - "readOnly": true - }, - "defaultHostName": { - "description": "Default hostname of the app. Read-only.", - "type": "string", - "readOnly": true - }, - "slotSwapStatus": { - "$ref": "#/definitions/SlotSwapStatus", - "description": "Status of the last deployment slot swap operation.", - "readOnly": true - }, - "httpsOnly": { - "description": "HttpsOnly: configures a web site to accept only https requests. Issues redirect for\nhttp requests", - "type": "boolean" - }, - "redundancyMode": { - "description": "Site redundancy mode", - "enum": [ - "None", - "Manual", - "Failover", - "ActiveActive", - "GeoRedundant" - ], - "type": "string", - "x-ms-enum": { - "name": "RedundancyMode", - "modelAsString": false - } - }, - "inProgressOperationId": { - "format": "uuid", - "description": "Specifies an operation id if this site has a pending operation.", - "type": "string", - "readOnly": true, - "example": "00000000-0000-0000-0000-000000000000" - }, - "publicNetworkAccess": { - "description": "Property to allow or block all public traffic. Allowed Values: 'Enabled', 'Disabled' or an empty string.", - "type": "string" - }, - "storageAccountRequired": { - "description": "Checks if Customer provided storage account is required", - "type": "boolean" - }, - "keyVaultReferenceIdentity": { - "description": "Identity to use for Key Vault Reference authentication.", - "type": "string" - }, - "autoGeneratedDomainNameLabelScope": { - "description": "Specifies the scope of uniqueness for the default hostname during resource creation", - "enum": [ - "TenantReuse", - "SubscriptionReuse", - "ResourceGroupReuse", - "NoReuse" - ], - "type": "string", - "x-ms-enum": { - "name": "autoGeneratedDomainNameLabelScope", - "modelAsString": false - } - }, - "virtualNetworkSubnetId": { - "description": "Azure Resource Manager ID of the Virtual network and subnet to be joined by Regional VNET Integration.\nThis must be of the form /subscriptions/{subscriptionName}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{vnetName}/subnets/{subnetName}", - "type": "string" - }, - "managedEnvironmentId": { - "description": "Azure Resource Manager ID of the customer's selected Managed Environment on which to host this app. This must be of the form /subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.App/managedEnvironments/{managedEnvironmentName}", - "type": "string" - }, - "sku": { - "description": "Current SKU of application based on associated App Service Plan. Some valid SKU values are Free, Shared, Basic, Dynamic, FlexConsumption, Standard, Premium, PremiumV2, PremiumV3, Isolated, IsolatedV2", - "type": "string", - "readOnly": true - } - }, - "x-ms-client-flatten": true - }, - "identity": { - "$ref": "#/definitions/ManagedServiceIdentity" - }, - "extendedLocation": { - "$ref": "#/definitions/ExtendedLocation" - } - } - }, - "SiteConfig": { - "description": "Configuration of an App Service app.", - "type": "object", - "properties": { - "numberOfWorkers": { - "format": "int32", - "description": "Number of workers.", - "type": "integer" - }, - "defaultDocuments": { - "description": "Default documents.", - "type": "array", - "items": { - "type": "string" - } - }, - "netFrameworkVersion": { - "description": ".NET Framework version.", - "default": "v4.6", - "type": "string" - }, - "phpVersion": { - "description": "Version of PHP.", - "type": "string" - }, - "pythonVersion": { - "description": "Version of Python.", - "type": "string" - }, - "nodeVersion": { - "description": "Version of Node.js.", - "type": "string" - }, - "powerShellVersion": { - "description": "Version of PowerShell.", - "type": "string" - }, - "linuxFxVersion": { - "description": "Linux App Framework and version", - "type": "string" - }, - "windowsFxVersion": { - "description": "Xenon App Framework and version", - "type": "string" - }, - "requestTracingEnabled": { - "description": "true if request tracing is enabled; otherwise, false.", - "type": "boolean" - }, - "requestTracingExpirationTime": { - "format": "date-time", - "description": "Request tracing expiration time.", - "type": "string" - }, - "remoteDebuggingEnabled": { - "description": "true if remote debugging is enabled; otherwise, false.", - "type": "boolean" - }, - "remoteDebuggingVersion": { - "description": "Remote debugging version.", - "type": "string" - }, - "httpLoggingEnabled": { - "description": "true if HTTP logging is enabled; otherwise, false.", - "type": "boolean" - }, - "acrUseManagedIdentityCreds": { - "description": "Flag to use Managed Identity Creds for ACR pull", - "type": "boolean" - }, - "acrUserManagedIdentityID": { - "description": "If using user managed identity, the user managed identity ClientId", - "type": "string" - }, - "logsDirectorySizeLimit": { - "format": "int32", - "description": "HTTP logs directory size limit.", - "type": "integer" - }, - "detailedErrorLoggingEnabled": { - "description": "true if detailed error logging is enabled; otherwise, false.", - "type": "boolean" - }, - "publishingUsername": { - "description": "Publishing user name.", - "type": "string" - }, - "appSettings": { - "description": "Application settings. This property is not returned in response to normal create and read requests since it may contain sensitive information.", - "type": "array", - "items": { - "$ref": "#/definitions/NameValuePair" - }, - "x-ms-identifiers": [ - "name" - ], - "x-ms-mutability": [ - "create", - "update" - ] - }, - "metadata": { - "description": "Application metadata. This property cannot be retrieved, since it may contain secrets.", - "type": "array", - "items": { - "$ref": "#/definitions/NameValuePair" - }, - "x-ms-identifiers": [ - "name" - ], - "x-ms-mutability": [ - "create", - "update" - ] - }, - "connectionStrings": { - "description": "Connection strings. This property is not returned in response to normal create and read requests since it may contain sensitive information.", - "type": "array", - "items": { - "$ref": "#/definitions/ConnStringInfo" - }, - "x-ms-identifiers": [ - "name" - ], - "x-ms-mutability": [ - "create", - "update" - ] - }, - "machineKey": { - "$ref": "#/definitions/SiteMachineKey", - "description": "Site MachineKey.", - "readOnly": true - }, - "handlerMappings": { - "description": "Handler mappings.", - "type": "array", - "items": { - "$ref": "#/definitions/HandlerMapping" - }, - "x-ms-identifiers": [ - "extension" - ] - }, - "documentRoot": { - "description": "Document root.", - "type": "string" - }, - "scmType": { - "description": "SCM type.", - "enum": [ - "None", - "Dropbox", - "Tfs", - "LocalGit", - "GitHub", - "CodePlexGit", - "CodePlexHg", - "BitbucketGit", - "BitbucketHg", - "ExternalGit", - "ExternalHg", - "OneDrive", - "VSO", - "VSTSRM" - ], - "type": "string", - "x-ms-enum": { - "name": "ScmType", - "modelAsString": true - } - }, - "use32BitWorkerProcess": { - "description": "true to use 32-bit worker process; otherwise, false.", - "type": "boolean" - }, - "webSocketsEnabled": { - "description": "true if WebSocket is enabled; otherwise, false.", - "type": "boolean" - }, - "alwaysOn": { - "description": "true if Always On is enabled; otherwise, false.", - "type": "boolean" - }, - "javaVersion": { - "description": "Java version.", - "type": "string" - }, - "javaContainer": { - "description": "Java container.", - "type": "string" - }, - "javaContainerVersion": { - "description": "Java container version.", - "type": "string" - }, - "appCommandLine": { - "description": "App command line to launch.", - "type": "string" - }, - "managedPipelineMode": { - "description": "Managed pipeline mode.", - "enum": [ - "Integrated", - "Classic" - ], - "type": "string", - "x-ms-enum": { - "name": "ManagedPipelineMode", - "modelAsString": false - } - }, - "virtualApplications": { - "description": "Virtual applications.", - "type": "array", - "items": { - "$ref": "#/definitions/VirtualApplication" - }, - "x-ms-identifiers": [ - "virtualPath" - ] - }, - "loadBalancing": { - "description": "Site load balancing.", - "enum": [ - "WeightedRoundRobin", - "LeastRequests", - "LeastResponseTime", - "WeightedTotalTraffic", - "RequestHash", - "PerSiteRoundRobin", - "LeastRequestsWithTieBreaker" - ], - "type": "string", - "x-ms-enum": { - "name": "SiteLoadBalancing", - "modelAsString": false - } - }, - "experiments": { - "$ref": "#/definitions/Experiments", - "description": "This is work around for polymorphic types." - }, - "limits": { - "$ref": "#/definitions/SiteLimits", - "description": "Site limits." - }, - "autoHealEnabled": { - "description": "true if Auto Heal is enabled; otherwise, false.", - "type": "boolean" - }, - "autoHealRules": { - "$ref": "#/definitions/AutoHealRules", - "description": "Auto Heal rules." - }, - "tracingOptions": { - "description": "Tracing options.", - "type": "string" - }, - "vnetName": { - "description": "Virtual Network name.", - "type": "string", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "vnetRouteAllEnabled": { - "description": "Virtual Network Route All enabled. This causes all outbound traffic to have Virtual Network Security Groups and User Defined Routes applied.", - "type": "boolean" - }, - "vnetPrivatePortsCount": { - "format": "int32", - "description": "The number of private ports assigned to this app. These will be assigned dynamically on runtime.", - "type": "integer" - }, - "cors": { - "$ref": "#/definitions/CorsSettings", - "description": "Cross-Origin Resource Sharing (CORS) settings." - }, - "push": { - "$ref": "#/definitions/PushSettings", - "description": "Push endpoint settings." - }, - "apiDefinition": { - "$ref": "#/definitions/ApiDefinitionInfo", - "description": "Information about the formal API definition for the app." - }, - "apiManagementConfig": { - "$ref": "#/definitions/ApiManagementConfig", - "description": "Azure API management settings linked to the app." - }, - "autoSwapSlotName": { - "description": "Auto-swap slot name.", - "type": "string" - }, - "localMySqlEnabled": { - "description": "true to enable local MySQL; otherwise, false.", - "default": false, - "type": "boolean" - }, - "managedServiceIdentityId": { - "format": "int32", - "description": "Managed Service Identity Id", - "type": "integer" - }, - "xManagedServiceIdentityId": { - "format": "int32", - "description": "Explicit Managed Service Identity Id", - "type": "integer" - }, - "keyVaultReferenceIdentity": { - "description": "Identity to use for Key Vault Reference authentication.", - "type": "string" - }, - "ipSecurityRestrictions": { - "description": "IP security restrictions for main.", - "type": "array", - "items": { - "$ref": "#/definitions/IpSecurityRestriction" - }, - "x-ms-identifiers": [ - "name" - ] - }, - "ipSecurityRestrictionsDefaultAction": { - "description": "Default action for main access restriction if no rules are matched.", - "enum": [ - "Allow", - "Deny" - ], - "type": "string", - "x-ms-enum": { - "name": "DefaultAction", - "modelAsString": true - } - }, - "scmIpSecurityRestrictions": { - "description": "IP security restrictions for scm.", - "type": "array", - "items": { - "$ref": "#/definitions/IpSecurityRestriction" - }, - "x-ms-identifiers": [ - "name" - ] - }, - "scmIpSecurityRestrictionsDefaultAction": { - "description": "Default action for scm access restriction if no rules are matched.", - "enum": [ - "Allow", - "Deny" - ], - "type": "string", - "x-ms-enum": { - "name": "DefaultAction", - "modelAsString": true - } - }, - "scmIpSecurityRestrictionsUseMain": { - "description": "IP security restrictions for scm to use main.", - "type": "boolean" - }, - "http20Enabled": { - "description": "Http20Enabled: configures a web site to allow clients to connect over http2.0", - "default": true, - "type": "boolean" - }, - "http20ProxyFlag": { - "description": "Http20ProxyFlag: Configures a website to allow http2.0 to pass be proxied all the way to the app. 0 = disabled, 1 = pass through all http2 traffic, 2 = pass through gRPC only.", - "default": 0, - "type": "integer", - "format": "int32" - }, - "minTlsVersion": { - "description": "MinTlsVersion: configures the minimum version of TLS required for SSL requests", - "enum": [ - "1.0", - "1.1", - "1.2", - "1.3" - ], - "type": "string", - "x-ms-enum": { - "name": "SupportedTlsVersions", - "modelAsString": true - } - }, - "minTlsCipherSuite": { - "description": "The minimum strength TLS cipher suite allowed for an application", - "enum": [ - "TLS_AES_256_GCM_SHA384", - "TLS_AES_128_GCM_SHA256", - "TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384", - "TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256", - "TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256", - "TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384", - "TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256", - "TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384", - "TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256", - "TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA", - "TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA", - "TLS_RSA_WITH_AES_256_GCM_SHA384", - "TLS_RSA_WITH_AES_128_GCM_SHA256", - "TLS_RSA_WITH_AES_256_CBC_SHA256", - "TLS_RSA_WITH_AES_128_CBC_SHA256", - "TLS_RSA_WITH_AES_256_CBC_SHA", - "TLS_RSA_WITH_AES_128_CBC_SHA" - ], - "type": "string", - "x-ms-enum": { - "name": "TlsCipherSuites", - "modelAsString": true - } - }, - "scmMinTlsVersion": { - "description": "ScmMinTlsVersion: configures the minimum version of TLS required for SSL requests for SCM site", - "enum": [ - "1.0", - "1.1", - "1.2", - "1.3" - ], - "type": "string", - "x-ms-enum": { - "name": "SupportedTlsVersions", - "modelAsString": true - } - }, - "ftpsState": { - "description": "State of FTP / FTPS service", - "enum": [ - "AllAllowed", - "FtpsOnly", - "Disabled" - ], - "type": "string", - "x-ms-enum": { - "name": "FtpsState", - "modelAsString": true - } - }, - "preWarmedInstanceCount": { - "format": "int32", - "description": "Number of preWarmed instances.\nThis setting only applies to the Consumption and Elastic Plans", - "maximum": 10, - "minimum": 0, - "type": "integer" - }, - "functionAppScaleLimit": { - "format": "int32", - "description": "Maximum number of workers that a site can scale out to.\nThis setting only applies to the Consumption and Elastic Premium Plans", - "minimum": 0, - "type": "integer" - }, - "elasticWebAppScaleLimit": { - "format": "int32", - "description": "Maximum number of workers that a site can scale out to.\nThis setting only applies to apps in plans where ElasticScaleEnabled is true", - "minimum": 0, - "type": "integer" - }, - "healthCheckPath": { - "description": "Health check path", - "type": "string" - }, - "functionsRuntimeScaleMonitoringEnabled": { - "description": "Gets or sets a value indicating whether functions runtime scale monitoring is enabled. When enabled,\nthe ScaleController will not monitor event sources directly, but will instead call to the\nruntime to get scale status.", - "type": "boolean" - }, - "websiteTimeZone": { - "description": "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", - "type": "string" - }, - "minimumElasticInstanceCount": { - "format": "int32", - "description": "Number of minimum instance count for a site\nThis setting only applies to the Elastic Plans", - "maximum": 20, - "minimum": 0, - "type": "integer" - }, - "azureStorageAccounts": { - "description": "List of Azure Storage Accounts.", - "type": "object", - "additionalProperties": { - "$ref": "#/definitions/AzureStorageInfoValue" - } - }, - "publicNetworkAccess": { - "description": "Property to allow or block all public traffic.", - "type": "string" - } - } - }, - "FunctionsDeployment": { - "description": "Configuration section for the function app deployment.", - "type": "object", - "properties": { - "storage": { - "description": "Storage for deployed package used by the function app.", - "type": "object", - "properties": { - "type": { - "description": "Property to select Azure Storage type. Available options: blobContainer.", - "type": "string", - "enum": [ - "blobContainer" - ], - "x-ms-enum": { - "name": "FunctionsDeploymentStorageType", - "modelAsString": true - } - }, - "value": { - "description": "Property to set the URL for the selected Azure Storage type. Example: For blobContainer, the value could be https://.blob.core.windows.net/.", - "type": "string", - "format": "uri" - }, - "authentication": { - "description": "Authentication method to access the storage account for deployment.", - "type": "object", - "properties": { - "type": { - "description": "Property to select authentication type to access the selected storage account. Available options: SystemAssignedIdentity, UserAssignedIdentity, StorageAccountConnectionString.", - "type": "string", - "enum": [ - "SystemAssignedIdentity", - "UserAssignedIdentity", - "StorageAccountConnectionString" - ], - "x-ms-enum": { - "name": "AuthenticationType", - "modelAsString": true - } - }, - "userAssignedIdentityResourceId": { - "description": "Use this property for UserAssignedIdentity. Set the resource ID of the identity. Do not set a value for this property when using other authentication type.", - "type": "string" - }, - "storageAccountConnectionStringName": { - "description": "Use this property for StorageAccountConnectionString. Set the name of the app setting that has the storage account connection string. Do not set a value for this property when using other authentication type.", - "type": "string" - } - } - } - } - } - } - }, - "FunctionsAlwaysReadyConfig": { - "description": "Sets the number of 'Always Ready' instances for a function group or a specific function.", - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Either a function group or a function name is required. For additional information see https://aka.ms/flexconsumption/alwaysready." - }, - "instanceCount": { - "type": "integer", - "format": "int32", - "description": "Sets the number of 'Always Ready' instances for a given function group or a specific function. For additional information see https://aka.ms/flexconsumption/alwaysready." - } - } - }, - "FunctionsScaleAndConcurrency": { - "description": "Scale and concurrency settings for the function app.", - "type": "object", - "properties": { - "alwaysReady": { - "description": "'Always Ready' configuration for the function app.", - "type": "array", - "items": { - "$ref": "#/definitions/FunctionsAlwaysReadyConfig" - } - }, - "maximumInstanceCount": { - "description": "The maximum number of instances for the function app.", - "type": "integer", - "format": "int32" - }, - "instanceMemoryMB": { - "description": "Set the amount of memory allocated to each instance of the function app in MB. CPU and network bandwidth are allocated proportionally.", - "type": "integer", - "format": "int32" - }, - "triggers": { - "type": "object", - "description": "Scale and concurrency settings for the function app triggers.", - "properties": { - "http": { - "type": "object", - "description": "Scale and concurrency settings for the HTTP trigger.", - "properties": { - "perInstanceConcurrency": { - "type": "integer", - "format": "int32", - "description": "The maximum number of concurrent HTTP trigger invocations per instance." - } - } - } - } - } - } - }, - "FunctionsRuntime": { - "description": "Function app runtime name and version.", - "type": "object", - "properties": { - "name": { - "description": "Function app runtime name. Available options: dotnet-isolated, node, java, powershell, python, custom", - "type": "string", - "enum": [ - "dotnet-isolated", - "node", - "java", - "powershell", - "python", - "custom" - ], - "x-ms-enum": { - "name": "RuntimeName", - "modelAsString": true - } - }, - "version": { - "description": "Function app runtime version. Example: 8 (for dotnet-isolated)", - "type": "string", - "x-nullable": true - } - } - }, - "FunctionAppConfig": { - "description": "Function app configuration.", - "type": "object", - "properties": { - "deployment": { - "$ref": "#/definitions/FunctionsDeployment", - "description": "Function app deployment configuration." - }, - "runtime": { - "$ref": "#/definitions/FunctionsRuntime", - "description": "Function app runtime settings." - }, - "scaleAndConcurrency": { - "$ref": "#/definitions/FunctionsScaleAndConcurrency", - "description": "Function app scale and concurrency settings." - } - } - }, - "DaprConfig": { - "description": "App Dapr configuration.", - "type": "object", - "properties": { - "enabled": { - "description": "Boolean indicating if the Dapr side car is enabled", - "type": "boolean", - "default": false - }, - "appId": { - "description": "Dapr application identifier", - "type": "string" - }, - "appPort": { - "format": "int32", - "description": "Tells Dapr which port your application is listening on", - "type": "integer" - }, - "httpReadBufferSize": { - "type": "integer", - "description": "Dapr max size of http header read buffer in KB to handle when sending multi-KB headers. Default is 65KB.", - "format": "int32" - }, - "httpMaxRequestSize": { - "type": "integer", - "description": "Increasing max size of request body http servers parameter in MB to handle uploading of big files. Default is 4 MB.", - "format": "int32" - }, - "logLevel": { - "description": "Sets the log level for the Dapr sidecar. Allowed values are debug, info, warn, error. Default is info.", - "enum": [ - "info", - "debug", - "warn", - "error" - ], - "type": "string", - "x-ms-enum": { - "name": "daprLogLevel", - "modelAsString": true - } - }, - "enableApiLogging": { - "description": "Enables API logging for the Dapr sidecar", - "type": "boolean" - } - } - }, - "ResourceConfig": { - "description": "Function app resource requirements.", - "type": "object", - "properties": { - "cpu": { - "format": "double", - "description": "Required CPU in cores, e.g. 0.5", - "type": "number" - }, - "memory": { - "description": "Required memory, e.g. \"1Gi\"", - "type": "string" - } - } - }, - "SiteDnsConfig": { - "type": "object", - "properties": { - "dnsServers": { - "description": "List of custom DNS servers to be used by an app for lookups. Maximum 5 dns servers can be set.", - "type": "array", - "items": { - "type": "string" - } - }, - "dnsAltServer": { - "description": "Alternate DNS server to be used by apps. This property replicates the WEBSITE_DNS_ALT_SERVER app setting.", - "type": "string" - }, - "dnsRetryAttemptTimeout": { - "format": "int32", - "description": "Timeout for a single dns lookup in seconds. Allowed range: 1-30. Default is 3.", - "type": "integer" - }, - "dnsRetryAttemptCount": { - "format": "int32", - "description": "Total number of retries for dns lookup. Allowed range: 1-5. Default is 3.", - "type": "integer" - }, - "dnsMaxCacheTimeout": { - "format": "int32", - "description": "Custom time for DNS to be cached in seconds. Allowed range: 0-60. Default is 30 seconds. 0 means caching disabled.", - "type": "integer" - }, - "dnsLegacySortOrder": { - "description": "Indicates that sites using Virtual network custom DNS servers are still sorting the list of DNS servers. Read-Only.", - "type": "boolean", - "readOnly": true - } - } - }, - "OutboundVnetRouting": { - "description": "Outbound traffic options over virtual network.", - "type": "object", - "properties": { - "allTraffic": { - "description": "Enables all other routing options defined in OutboundVnetRouting if this setting is set to true.", - "type": "boolean" - }, - "applicationTraffic": { - "description": "This causes all outbound traffic to have Virtual Network Security Groups and User Defined Routes applied. Previously called VnetRouteAllEnabled.", - "type": "boolean" - }, - "contentShareTraffic": { - "description": "Enables accessing content over virtual network. Previously called VnetContentShareEnabled", - "type": "boolean" - }, - "imagePullTraffic": { - "description": "Enables pulling image over Virtual Network. Previously called VnetImagePullEnabled.", - "type": "boolean" - }, - "backupRestoreTraffic": { - "description": "Enables Backup and Restore operations over virtual network. Previously called VnetBackupRestoreEnabled", - "type": "boolean" - } - } - }, - "ServerFarmNetworkSettings": { - "description": "Network settings for an app service plan.", - "type": "object", - "properties": { - "virtualNetworkSubnetId": { - "description": "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}", - "type": "string" - } - } - }, - "SiteLimits": { - "description": "Metric limits set on an app.", - "type": "object", - "properties": { - "maxPercentageCpu": { - "format": "double", - "description": "Maximum allowed CPU usage percentage.", - "type": "number" - }, - "maxMemoryInMb": { - "format": "int64", - "description": "Maximum allowed memory usage in MB.", - "type": "integer" - }, - "maxDiskSizeInMb": { - "format": "int64", - "description": "Maximum allowed disk size usage in MB.", - "type": "integer" - } - } - }, - "SiteMachineKey": { - "description": "MachineKey of an app.", - "type": "object", - "properties": { - "validation": { - "description": "MachineKey validation.", - "type": "string" - }, - "validationKey": { - "description": "Validation key.", - "type": "string" - }, - "decryption": { - "description": "Algorithm used for decryption.", - "type": "string" - }, - "decryptionKey": { - "description": "Decryption key.", - "type": "string" - } - } - }, - "SkuCapacity": { - "description": "Description of the App Service plan scale options.", - "type": "object", - "properties": { - "minimum": { - "format": "int32", - "description": "Minimum number of workers for this App Service plan SKU.", - "type": "integer" - }, - "maximum": { - "format": "int32", - "description": "Maximum number of workers for this App Service plan SKU.", - "type": "integer" - }, - "elasticMaximum": { - "format": "int32", - "description": "Maximum number of Elastic workers for this App Service plan SKU.", - "type": "integer" - }, - "default": { - "format": "int32", - "description": "Default number of workers for this App Service plan SKU.", - "type": "integer" - }, - "scaleType": { - "description": "Available scale configurations for an App Service plan.", - "type": "string" - } - } - }, - "SkuDescription": { - "description": "Description of a SKU for a scalable resource.", - "type": "object", - "properties": { - "name": { - "description": "Name of the resource SKU.", - "type": "string" - }, - "tier": { - "description": "Service tier of the resource SKU.", - "type": "string" - }, - "size": { - "description": "Size specifier of the resource SKU.", - "type": "string" - }, - "family": { - "description": "Family code of the resource SKU.", - "type": "string" - }, - "capacity": { - "format": "int32", - "description": "Current number of instances assigned to the resource.", - "type": "integer" - }, - "skuCapacity": { - "$ref": "#/definitions/SkuCapacity", - "description": "Min, max, and default scale values of the SKU." - }, - "locations": { - "description": "Locations of the SKU.", - "type": "array", - "items": { - "type": "string" - } - }, - "capabilities": { - "description": "Capabilities of the SKU, e.g., is traffic manager enabled?", - "type": "array", - "items": { - "$ref": "#/definitions/Capability" - }, - "x-ms-identifiers": [ - "name" - ] - } - } - }, - "SlotSwapStatus": { - "description": "The status of the last successful slot swap operation.", - "type": "object", - "properties": { - "timestampUtc": { - "format": "date-time", - "description": "The time the last successful slot swap completed.", - "type": "string", - "readOnly": true - }, - "sourceSlotName": { - "description": "The source slot of the last swap operation.", - "type": "string", - "readOnly": true - }, - "destinationSlotName": { - "description": "The destination slot of the last swap operation.", - "type": "string", - "readOnly": true - } - } - }, - "SlowRequestsBasedTrigger": { - "description": "Trigger based on request execution time.", - "type": "object", - "properties": { - "timeTaken": { - "description": "Time taken.", - "type": "string" - }, - "path": { - "description": "Request Path.", - "type": "string" - }, - "count": { - "format": "int32", - "description": "Request Count.", - "type": "integer" - }, - "timeInterval": { - "description": "Time interval.", - "type": "string" - } - } - }, - "Snapshot": { - "description": "A snapshot of an app.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/ProxyOnlyResource" - } - ], - "properties": { - "properties": { - "description": "Snapshot resource specific properties", - "type": "object", - "properties": { - "time": { - "description": "The time the snapshot was taken.", - "type": "string", - "readOnly": true - } - }, - "x-ms-client-flatten": true - } - } - }, - "Status": { - "description": "Identify the status of the most severe insight generated by the detector.", - "type": "object", - "properties": { - "message": { - "description": "Descriptive message.", - "type": "string" - }, - "statusId": { - "description": "Level of the most severe insight generated by the detector.", - "enum": [ - "Critical", - "Warning", - "Info", - "Success", - "None" - ], - "type": "string", - "x-ms-enum": { - "name": "InsightStatus", - "modelAsString": false - } - } - } - }, - "StatusCodesBasedTrigger": { - "description": "Trigger based on status code.", - "type": "object", - "properties": { - "status": { - "format": "int32", - "description": "HTTP status code.", - "type": "integer" - }, - "subStatus": { - "format": "int32", - "description": "Request Sub Status.", - "type": "integer" - }, - "win32Status": { - "format": "int32", - "description": "Win32 error code.", - "type": "integer" - }, - "count": { - "format": "int32", - "description": "Request Count.", - "type": "integer" - }, - "timeInterval": { - "description": "Time interval.", - "type": "string" - }, - "path": { - "description": "Request Path", - "type": "string" - } - } - }, - "StatusCodesRangeBasedTrigger": { - "description": "Trigger based on range of status codes.", - "type": "object", - "properties": { - "statusCodes": { - "description": "HTTP status code.", - "type": "string" - }, - "path": { - "type": "string" - }, - "count": { - "format": "int32", - "description": "Request Count.", - "type": "integer" - }, - "timeInterval": { - "description": "Time interval.", - "type": "string" - } - } - }, - "StorageMount": { - "description": "Server farm storage mount configuration.", - "type": "object", - "properties": { - "name": { - "description": "Name of the storage mount.", - "type": "string" - }, - "type": { - "description": "Type of the storage mount.", - "enum": [ - "AzureFiles", - "LocalStorage", - "FileShare" - ], - "type": "string", - "x-ms-enum": { - "name": "StorageMountType", - "modelAsString": true - } - }, - "source": { - "description": "Source of the fileshare/storage.", - "type": "string" - }, - "destinationPath": { - "description": "Path on worker where storage will be mounted.", - "type": "string" - }, - "credentialsKeyVaultReference": { - "$ref": "#/definitions/KeyVaultReferenceWithStatus", - "description": "KV reference to the credentials to connect to the share." - } - } - }, - "StringDictionary": { - "description": "String dictionary resource.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/ProxyOnlyResource" - } - ], - "properties": { - "properties": { - "description": "Settings.", - "type": "object", - "additionalProperties": { - "type": "string" - }, - "x-ms-client-flatten": true - } - } - }, - "SupportTopic": { - "description": "Defines a unique Support Topic", - "type": "object", - "properties": { - "id": { - "description": "Support Topic Id", - "type": "string", - "readOnly": true - }, - "pesId": { - "description": "Unique resource Id", - "type": "string", - "readOnly": true - } - } - }, - "Template": { - "description": "Container App versioned application definition.\nDefines the desired state of an immutable revision.\nAny changes to this section Will result in a new revision being created", - "type": "object", - "properties": { - "revisionSuffix": { - "description": "User friendly suffix that is appended to the revision name", - "type": "string" - }, - "containers": { - "description": "List of container definitions for the Container App.", - "type": "array", - "items": { - "$ref": "#/definitions/Container" - }, - "x-ms-identifiers": [ - "name" - ] - }, - "scale": { - "$ref": "#/definitions/Scale", - "description": "Scaling properties for the Container App." - }, - "dapr": { - "$ref": "#/definitions/Dapr", - "description": "Dapr configuration for the Container App." - } - } - }, - "User": { - "description": "User credentials used for publishing activity.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/ProxyOnlyResource" - } - ], - "properties": { - "properties": { - "description": "User resource specific properties", - "required": [ - "publishingUserName" - ], - "type": "object", - "properties": { - "publishingUserName": { - "description": "Username used for publishing.", - "type": "string" - }, - "publishingPassword": { - "format": "password", - "description": "Password used for publishing.", - "type": "string" - }, - "publishingPasswordHash": { - "format": "password", - "description": "Password hash used for publishing.", - "type": "string" - }, - "publishingPasswordHashSalt": { - "format": "password", - "description": "Password hash salt used for publishing.", - "type": "string" - }, - "scmUri": { - "description": "Url of SCM site.", - "type": "string" - } - }, - "x-ms-client-flatten": true - } - } - }, - "VirtualApplication": { - "description": "Virtual application in an app.", - "type": "object", - "properties": { - "virtualPath": { - "description": "Virtual path.", - "type": "string" - }, - "physicalPath": { - "description": "Physical path.", - "type": "string" - }, - "preloadEnabled": { - "description": "true if preloading is enabled; otherwise, false.", - "type": "boolean" - }, - "virtualDirectories": { - "description": "Virtual directories for virtual application.", - "type": "array", - "items": { - "$ref": "#/definitions/VirtualDirectory" - }, - "x-ms-identifiers": [ - "virtualPath" - ] - } - } - }, - "VirtualDirectory": { - "description": "Directory for virtual application.", - "type": "object", - "properties": { - "virtualPath": { - "description": "Path to virtual application.", - "type": "string" - }, - "physicalPath": { - "description": "Physical path.", - "type": "string" - } - } - }, - "VirtualNetworkProfile": { - "description": "Specification for using a Virtual Network.", - "required": [ - "id" - ], - "type": "object", - "properties": { - "id": { - "description": "Resource id of the Virtual Network.", - "type": "string" - }, - "name": { - "description": "Name of the Virtual Network (read-only).", - "type": "string", - "readOnly": true - }, - "type": { - "description": "Resource type of the Virtual Network (read-only).", - "type": "string", - "readOnly": true - }, - "subnet": { - "description": "Subnet within the Virtual Network.", - "type": "string" - } - } - }, - "VnetGateway": { - "description": "The Virtual Network gateway contract. This is used to give the Virtual Network gateway access to the VPN package.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/ProxyOnlyResource" - } - ], - "properties": { - "properties": { - "description": "VnetGateway resource specific properties", - "required": [ - "vpnPackageUri" - ], - "type": "object", - "properties": { - "vnetName": { - "description": "The Virtual Network name.", - "type": "string", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "vpnPackageUri": { - "description": "The URI where the VPN package can be downloaded.", - "type": "string", - "x-ms-mutability": [ - "create", - "update" - ] - } - }, - "x-ms-client-flatten": true - } - } - }, - "VnetInfo": { - "description": "Virtual Network information contract.", - "type": "object", - "properties": { - "vnetResourceId": { - "description": "The Virtual Network's resource ID.", - "type": "string" - }, - "certThumbprint": { - "description": "The client certificate thumbprint.", - "type": "string", - "readOnly": true - }, - "certBlob": { - "description": "A certificate file (.cer) blob containing the public key of the private key used to authenticate a \nPoint-To-Site VPN connection.", - "type": "string" - }, - "routes": { - "description": "The routes that this Virtual Network connection uses.", - "type": "array", - "items": { - "$ref": "#/definitions/VnetRoute" - }, - "readOnly": true - }, - "resyncRequired": { - "description": "true if a resync is required; otherwise, false.", - "type": "boolean", - "readOnly": true - }, - "dnsServers": { - "description": "DNS servers to be used by this Virtual Network. This should be a comma-separated list of IP addresses.", - "type": "string" - }, - "isSwift": { - "description": "Flag that is used to denote if this is VNET injection", - "type": "boolean" - } - } - }, - "VnetInfoResource": { - "description": "Virtual Network information ARM resource.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/ProxyOnlyResource" - } - ], - "properties": { - "properties": { - "$ref": "#/definitions/VnetInfo", - "description": "Core resource properties", - "type": "object", - "x-ms-client-flatten": true - } - } - }, - "VnetRoute": { - "description": "Virtual Network route contract used to pass routing information for a Virtual Network.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/ProxyOnlyResource" - } - ], - "properties": { - "properties": { - "description": "VnetRoute resource specific properties", - "type": "object", - "properties": { - "startAddress": { - "description": "The starting address for this route. This may also include a CIDR notation, in which case the end address must not be specified.", - "type": "string" - }, - "endAddress": { - "description": "The ending address for this route. If the start address is specified in CIDR notation, this must be omitted.", - "type": "string" - }, - "routeType": { - "description": "The type of route this is:\nDEFAULT - By default, every app has routes to the local address ranges specified by RFC1918\nINHERITED - Routes inherited from the real Virtual Network routes\nSTATIC - Static route set on the app only\n\nThese values will be used for syncing an app's routes with those from a Virtual Network.", - "enum": [ - "DEFAULT", - "INHERITED", - "STATIC" - ], - "type": "string", - "x-ms-enum": { - "name": "RouteType", - "modelAsString": true - } - } - }, - "x-ms-client-flatten": true - } - } - }, - "WebAppCollection": { - "description": "Collection of App Service apps.", - "required": [ - "value" - ], - "type": "object", - "properties": { - "value": { - "description": "Collection of resources.", - "type": "array", - "items": { - "$ref": "#/definitions/Site" - } - }, - "nextLink": { - "description": "Link to next page of resources.", - "type": "string", - "readOnly": true - } - } - }, - "userAssignedIdentity": { - "description": "User Assigned identity.", - "type": "object", - "properties": { - "principalId": { - "description": "Principal Id of user assigned identity", - "type": "string", - "readOnly": true - }, - "clientId": { - "description": "Client Id of user assigned identity", - "type": "string", - "readOnly": true - } - } - } - }, - "securityDefinitions": { - "azure_auth": { - "type": "oauth2", - "description": "Azure Active Directory OAuth2 Flow", - "flow": "implicit", - "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", - "scopes": { - "user_impersonation": "impersonate your user account" - } - } - }, - "security": [ - { - "azure_auth": [ - "user_impersonation" - ] - } - ] -} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/DeletedWebApps.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/DeletedWebApps.json deleted file mode 100644 index c8d9b8a3f071..000000000000 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/DeletedWebApps.json +++ /dev/null @@ -1,209 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "version": "2025-03-01", - "title": "DeletedWebApps API Client" - }, - "host": "management.azure.com", - "schemes": [ - "https" - ], - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "paths": { - "/subscriptions/{subscriptionId}/providers/Microsoft.Web/deletedSites": { - "get": { - "tags": [ - "DeletedWebApps" - ], - "summary": "Get all deleted apps for a subscription.", - "description": "Description for Get all deleted apps for a subscription.", - "operationId": "DeletedWebApps_List", - "parameters": [ - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/DeletedWebAppCollection" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Web/locations/{location}/deletedSites": { - "get": { - "tags": [ - "DeletedWebApps" - ], - "summary": "Get all deleted apps for a subscription at location", - "description": "Description for Get all deleted apps for a subscription at location", - "operationId": "DeletedWebApps_ListByLocation", - "parameters": [ - { - "name": "location", - "in": "path", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/DeletedWebAppCollection" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "List Deleted Web App by Location": { - "$ref": "./examples/ListDeletedWebAppsByLocation.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Web/locations/{location}/deletedSites/{deletedSiteId}": { - "get": { - "tags": [ - "DeletedWebApps" - ], - "summary": "Get deleted app for a subscription at location.", - "description": "Description for Get deleted app for a subscription at location.", - "operationId": "DeletedWebApps_GetDeletedWebAppByLocation", - "parameters": [ - { - "name": "location", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "deletedSiteId", - "in": "path", - "description": "The numeric ID of the deleted app, e.g. 12345", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DeletedSite" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "Get Deleted Web App by Location": { - "$ref": "./examples/GetDeletedWebAppByLocation.json" - } - } - } - } - }, - "definitions": { - "DeletedWebAppCollection": { - "description": "Collection of deleted apps.", - "required": [ - "value" - ], - "type": "object", - "properties": { - "value": { - "description": "Collection of resources.", - "type": "array", - "items": { - "$ref": "./CommonDefinitions.json#/definitions/DeletedSite" - } - }, - "nextLink": { - "description": "Link to next page of resources.", - "type": "string", - "readOnly": true - } - } - } - }, - "parameters": { - "subscriptionIdParameter": { - "name": "subscriptionId", - "in": "path", - "description": "Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000).", - "required": true, - "type": "string", - "x-ms-parameter-location": "client" - }, - "apiVersionParameter": { - "name": "api-version", - "in": "query", - "description": "API Version", - "required": true, - "type": "string", - "x-ms-parameter-location": "client" - } - }, - "securityDefinitions": { - "azure_auth": { - "type": "oauth2", - "description": "Azure Active Directory OAuth2 Flow", - "flow": "implicit", - "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", - "scopes": { - "user_impersonation": "impersonate your user account" - } - } - }, - "security": [ - { - "azure_auth": [ - "user_impersonation" - ] - } - ] -} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/Diagnostics.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/Diagnostics.json deleted file mode 100644 index a509ef8d2fed..000000000000 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/Diagnostics.json +++ /dev/null @@ -1,2165 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "version": "2025-03-01", - "title": "Diagnostics API Client" - }, - "host": "management.azure.com", - "schemes": [ - "https" - ], - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "paths": { - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/detectors": { - "get": { - "tags": [ - "Diagnostics" - ], - "summary": "List Hosting Environment Detector Responses", - "description": "Description for List Hosting Environment Detector Responses", - "operationId": "Diagnostics_ListHostingEnvironmentDetectorResponses", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Site Name", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DetectorResponseCollection" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "Get App Service Environment Detector Responses": { - "$ref": "./examples/Diagnostics_ListHostingEnvironmentDetectorResponses.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/detectors/{detectorName}": { - "get": { - "tags": [ - "Diagnostics" - ], - "summary": "Get Hosting Environment Detector Response", - "description": "Description for Get Hosting Environment Detector Response", - "operationId": "Diagnostics_GetHostingEnvironmentDetectorResponse", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "App Service Environment Name", - "required": true, - "type": "string" - }, - { - "name": "detectorName", - "in": "path", - "description": "Detector Resource Name", - "required": true, - "type": "string" - }, - { - "name": "startTime", - "in": "query", - "description": "Start Time", - "type": "string", - "format": "date-time" - }, - { - "name": "endTime", - "in": "query", - "description": "End Time", - "type": "string", - "format": "date-time" - }, - { - "name": "timeGrain", - "in": "query", - "description": "Time Grain", - "type": "string", - "pattern": "PT[1-9][0-9]+[SMH]" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DetectorResponse" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "Get App Service Environment Detector Responses": { - "$ref": "./examples/Diagnostics_GetHostingEnvironmentDetectorResponse.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/detectors": { - "get": { - "tags": [ - "Diagnostics" - ], - "summary": "List Site Detector Responses", - "description": "Description for List Site Detector Responses", - "operationId": "Diagnostics_ListSiteDetectorResponses", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "siteName", - "in": "path", - "description": "Site Name", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DetectorResponseCollection" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "Get App Detector Responses": { - "$ref": "./examples/Diagnostics_ListSiteDetectorResponses.json" - }, - "Get App Slot Detector Responses": { - "$ref": "./examples/Diagnostics_ListSiteDetectorResponsesSlot.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/detectors/{detectorName}": { - "get": { - "tags": [ - "Diagnostics" - ], - "summary": "Get site detector response", - "description": "Description for Get site detector response", - "operationId": "Diagnostics_GetSiteDetectorResponse", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "siteName", - "in": "path", - "description": "Site Name", - "required": true, - "type": "string" - }, - { - "name": "detectorName", - "in": "path", - "description": "Detector Resource Name", - "required": true, - "type": "string" - }, - { - "name": "startTime", - "in": "query", - "description": "Start Time", - "type": "string", - "format": "date-time" - }, - { - "name": "endTime", - "in": "query", - "description": "End Time", - "type": "string", - "format": "date-time" - }, - { - "name": "timeGrain", - "in": "query", - "description": "Time Grain", - "type": "string", - "pattern": "PT[1-9][0-9]+[SMH]" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DetectorResponse" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "Get App Detector Response": { - "$ref": "./examples/Diagnostics_GetSiteDetectorResponse.json" - }, - "Get App Slot Detector Response": { - "$ref": "./examples/Diagnostics_GetSiteDetectorResponseSlot.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/diagnostics": { - "get": { - "tags": [ - "Diagnostics" - ], - "summary": "Get Diagnostics Categories", - "description": "Description for Get Diagnostics Categories", - "operationId": "Diagnostics_ListSiteDiagnosticCategories", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "siteName", - "in": "path", - "description": "Site Name", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/DiagnosticCategoryCollection" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "List App Diagnostic Categories": { - "$ref": "./examples/Diagnostics_ListSiteDiagnosticCategories.json" - }, - "List App Slot Diagnostic Categories": { - "$ref": "./examples/Diagnostics_ListSiteDiagnosticCategoriesSlot.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/diagnostics/{diagnosticCategory}": { - "get": { - "tags": [ - "Diagnostics" - ], - "summary": "Get Diagnostics Category", - "description": "Description for Get Diagnostics Category", - "operationId": "Diagnostics_GetSiteDiagnosticCategory", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "siteName", - "in": "path", - "description": "Site Name", - "required": true, - "type": "string" - }, - { - "name": "diagnosticCategory", - "in": "path", - "description": "Diagnostic Category", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/DiagnosticCategory" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "Get App Diagnostic Category": { - "$ref": "./examples/Diagnostics_GetSiteDiagnosticCategory.json" - }, - "Get App Slot Diagnostic Category": { - "$ref": "./examples/Diagnostics_GetSiteDiagnosticCategorySlot.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/diagnostics/{diagnosticCategory}/analyses": { - "get": { - "tags": [ - "Diagnostics" - ], - "summary": "Get Site Analyses", - "description": "Description for Get Site Analyses", - "operationId": "Diagnostics_ListSiteAnalyses", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "siteName", - "in": "path", - "description": "Site Name", - "required": true, - "type": "string" - }, - { - "name": "diagnosticCategory", - "in": "path", - "description": "Diagnostic Category", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/DiagnosticAnalysisCollection" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "List App Analyses": { - "$ref": "./examples/Diagnostics_ListSiteAnalyses.json" - }, - "List App Slot Analyses": { - "$ref": "./examples/Diagnostics_ListSiteAnalysesSlot.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/diagnostics/{diagnosticCategory}/analyses/{analysisName}": { - "get": { - "tags": [ - "Diagnostics" - ], - "summary": "Get Site Analysis", - "description": "Description for Get Site Analysis", - "operationId": "Diagnostics_GetSiteAnalysis", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "siteName", - "in": "path", - "description": "Site Name", - "required": true, - "type": "string" - }, - { - "name": "diagnosticCategory", - "in": "path", - "description": "Diagnostic Category", - "required": true, - "type": "string" - }, - { - "name": "analysisName", - "in": "path", - "description": "Analysis Name", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/AnalysisDefinition" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "Get App Analysis": { - "$ref": "./examples/Diagnostics_GetSiteAnalysis.json" - }, - "Get App Slot Analysis": { - "$ref": "./examples/Diagnostics_GetSiteAnalysisSlot.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/diagnostics/{diagnosticCategory}/analyses/{analysisName}/execute": { - "post": { - "tags": [ - "Diagnostics" - ], - "summary": "Execute Analysis", - "description": "Description for Execute Analysis", - "operationId": "Diagnostics_ExecuteSiteAnalysis", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "siteName", - "in": "path", - "description": "Site Name", - "required": true, - "type": "string" - }, - { - "name": "diagnosticCategory", - "in": "path", - "description": "Category Name", - "required": true, - "type": "string" - }, - { - "name": "analysisName", - "in": "path", - "description": "Analysis Resource Name", - "required": true, - "type": "string" - }, - { - "name": "startTime", - "in": "query", - "description": "Start Time", - "type": "string", - "format": "date-time" - }, - { - "name": "endTime", - "in": "query", - "description": "End Time", - "type": "string", - "format": "date-time" - }, - { - "name": "timeGrain", - "in": "query", - "description": "Time Grain", - "type": "string", - "pattern": "PT[1-9][0-9]+[SMH]" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/DiagnosticAnalysis" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "Execute site slot analysis": { - "$ref": "./examples/Diagnostics_ExecuteSiteAnalysisSlot.json" - }, - "Execute site analysis": { - "$ref": "./examples/Diagnostics_ExecuteSiteAnalysis.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/diagnostics/{diagnosticCategory}/detectors": { - "get": { - "tags": [ - "Diagnostics" - ], - "summary": "Get Detectors", - "description": "Description for Get Detectors", - "operationId": "Diagnostics_ListSiteDetectors", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "siteName", - "in": "path", - "description": "Site Name", - "required": true, - "type": "string" - }, - { - "name": "diagnosticCategory", - "in": "path", - "description": "Diagnostic Category", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/DiagnosticDetectorCollection" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "List App Detectors": { - "$ref": "./examples/Diagnostics_ListSiteDetectors.json" - }, - "List App Slot Detectors": { - "$ref": "./examples/Diagnostics_ListSiteDetectorsSlot.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/diagnostics/{diagnosticCategory}/detectors/{detectorName}": { - "get": { - "tags": [ - "Diagnostics" - ], - "summary": "Get Detector", - "description": "Description for Get Detector", - "operationId": "Diagnostics_GetSiteDetector", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "siteName", - "in": "path", - "description": "Site Name", - "required": true, - "type": "string" - }, - { - "name": "diagnosticCategory", - "in": "path", - "description": "Diagnostic Category", - "required": true, - "type": "string" - }, - { - "name": "detectorName", - "in": "path", - "description": "Detector Name", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/DetectorDefinitionResource" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "Get App Detector": { - "$ref": "./examples/Diagnostics_GetSiteDetector.json" - }, - "Get App Slot Detector": { - "$ref": "./examples/Diagnostics_GetSiteDetectorSlot.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/diagnostics/{diagnosticCategory}/detectors/{detectorName}/execute": { - "post": { - "tags": [ - "Diagnostics" - ], - "summary": "Execute Detector", - "description": "Description for Execute Detector", - "operationId": "Diagnostics_ExecuteSiteDetector", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "siteName", - "in": "path", - "description": "Site Name", - "required": true, - "type": "string" - }, - { - "name": "detectorName", - "in": "path", - "description": "Detector Resource Name", - "required": true, - "type": "string" - }, - { - "name": "diagnosticCategory", - "in": "path", - "description": "Category Name", - "required": true, - "type": "string" - }, - { - "name": "startTime", - "in": "query", - "description": "Start Time", - "type": "string", - "format": "date-time" - }, - { - "name": "endTime", - "in": "query", - "description": "End Time", - "type": "string", - "format": "date-time" - }, - { - "name": "timeGrain", - "in": "query", - "description": "Time Grain", - "type": "string", - "pattern": "PT[1-9][0-9]+[SMH]" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/DiagnosticDetectorResponse" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "Execute site detector": { - "$ref": "./examples/Diagnostics_ExecuteSiteDetector.json" - }, - "Execute site slot detector": { - "$ref": "./examples/Diagnostics_ExecuteSiteDetectorSlot.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/slots/{slot}/detectors": { - "get": { - "tags": [ - "Diagnostics" - ], - "summary": "List Site Detector Responses", - "description": "Description for List Site Detector Responses", - "operationId": "Diagnostics_ListSiteDetectorResponsesSlot", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "siteName", - "in": "path", - "description": "Site Name", - "required": true, - "type": "string" - }, - { - "name": "slot", - "in": "path", - "description": "Slot Name", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DetectorResponseCollection" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "Get App Detector Responses": { - "$ref": "./examples/Diagnostics_ListSiteDetectorResponses.json" - }, - "Get App Slot Detector Responses": { - "$ref": "./examples/Diagnostics_ListSiteDetectorResponsesSlot.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/slots/{slot}/detectors/{detectorName}": { - "get": { - "tags": [ - "Diagnostics" - ], - "summary": "Get site detector response", - "description": "Description for Get site detector response", - "operationId": "Diagnostics_GetSiteDetectorResponseSlot", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "siteName", - "in": "path", - "description": "Site Name", - "required": true, - "type": "string" - }, - { - "name": "detectorName", - "in": "path", - "description": "Detector Resource Name", - "required": true, - "type": "string" - }, - { - "name": "slot", - "in": "path", - "description": "Slot Name", - "required": true, - "type": "string" - }, - { - "name": "startTime", - "in": "query", - "description": "Start Time", - "type": "string", - "format": "date-time" - }, - { - "name": "endTime", - "in": "query", - "description": "End Time", - "type": "string", - "format": "date-time" - }, - { - "name": "timeGrain", - "in": "query", - "description": "Time Grain", - "type": "string", - "pattern": "PT[1-9][0-9]+[SMH]" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DetectorResponse" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "Get App Detector Response": { - "$ref": "./examples/Diagnostics_GetSiteDetectorResponse.json" - }, - "Get App Slot Detector Response": { - "$ref": "./examples/Diagnostics_GetSiteDetectorResponseSlot.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/slots/{slot}/diagnostics": { - "get": { - "tags": [ - "Diagnostics" - ], - "summary": "Get Diagnostics Categories", - "description": "Description for Get Diagnostics Categories", - "operationId": "Diagnostics_ListSiteDiagnosticCategoriesSlot", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "siteName", - "in": "path", - "description": "Site Name", - "required": true, - "type": "string" - }, - { - "name": "slot", - "in": "path", - "description": "Slot Name", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/DiagnosticCategoryCollection" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "List App Diagnostic Categories": { - "$ref": "./examples/Diagnostics_ListSiteDiagnosticCategories.json" - }, - "List App Slot Diagnostic Categories": { - "$ref": "./examples/Diagnostics_ListSiteDiagnosticCategoriesSlot.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/slots/{slot}/diagnostics/{diagnosticCategory}": { - "get": { - "tags": [ - "Diagnostics" - ], - "summary": "Get Diagnostics Category", - "description": "Description for Get Diagnostics Category", - "operationId": "Diagnostics_GetSiteDiagnosticCategorySlot", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "siteName", - "in": "path", - "description": "Site Name", - "required": true, - "type": "string" - }, - { - "name": "diagnosticCategory", - "in": "path", - "description": "Diagnostic Category", - "required": true, - "type": "string" - }, - { - "name": "slot", - "in": "path", - "description": "Slot Name", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/DiagnosticCategory" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "Get App Diagnostic Category": { - "$ref": "./examples/Diagnostics_GetSiteDiagnosticCategory.json" - }, - "Get App Slot Diagnostic Category": { - "$ref": "./examples/Diagnostics_GetSiteDiagnosticCategorySlot.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/slots/{slot}/diagnostics/{diagnosticCategory}/analyses": { - "get": { - "tags": [ - "Diagnostics" - ], - "summary": "Get Site Analyses", - "description": "Description for Get Site Analyses", - "operationId": "Diagnostics_ListSiteAnalysesSlot", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "siteName", - "in": "path", - "description": "Site Name", - "required": true, - "type": "string" - }, - { - "name": "diagnosticCategory", - "in": "path", - "description": "Diagnostic Category", - "required": true, - "type": "string" - }, - { - "name": "slot", - "in": "path", - "description": "Slot Name", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/DiagnosticAnalysisCollection" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "List App Analyses": { - "$ref": "./examples/Diagnostics_ListSiteAnalyses.json" - }, - "List App Slot Analyses": { - "$ref": "./examples/Diagnostics_ListSiteAnalysesSlot.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/slots/{slot}/diagnostics/{diagnosticCategory}/analyses/{analysisName}": { - "get": { - "tags": [ - "Diagnostics" - ], - "summary": "Get Site Analysis", - "description": "Description for Get Site Analysis", - "operationId": "Diagnostics_GetSiteAnalysisSlot", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "siteName", - "in": "path", - "description": "Site Name", - "required": true, - "type": "string" - }, - { - "name": "diagnosticCategory", - "in": "path", - "description": "Diagnostic Category", - "required": true, - "type": "string" - }, - { - "name": "analysisName", - "in": "path", - "description": "Analysis Name", - "required": true, - "type": "string" - }, - { - "name": "slot", - "in": "path", - "description": "Slot - optional", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/AnalysisDefinition" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "Get App Analysis": { - "$ref": "./examples/Diagnostics_GetSiteAnalysis.json" - }, - "Get App Slot Analysis": { - "$ref": "./examples/Diagnostics_GetSiteAnalysisSlot.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/slots/{slot}/diagnostics/{diagnosticCategory}/analyses/{analysisName}/execute": { - "post": { - "tags": [ - "Diagnostics" - ], - "summary": "Execute Analysis", - "description": "Description for Execute Analysis", - "operationId": "Diagnostics_ExecuteSiteAnalysisSlot", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "siteName", - "in": "path", - "description": "Site Name", - "required": true, - "type": "string" - }, - { - "name": "diagnosticCategory", - "in": "path", - "description": "Category Name", - "required": true, - "type": "string" - }, - { - "name": "analysisName", - "in": "path", - "description": "Analysis Resource Name", - "required": true, - "type": "string" - }, - { - "name": "slot", - "in": "path", - "description": "Slot Name", - "required": true, - "type": "string" - }, - { - "name": "startTime", - "in": "query", - "description": "Start Time", - "type": "string", - "format": "date-time" - }, - { - "name": "endTime", - "in": "query", - "description": "End Time", - "type": "string", - "format": "date-time" - }, - { - "name": "timeGrain", - "in": "query", - "description": "Time Grain", - "type": "string", - "pattern": "PT[1-9][0-9]+[SMH]" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/DiagnosticAnalysis" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "Execute site slot analysis": { - "$ref": "./examples/Diagnostics_ExecuteSiteAnalysisSlot.json" - }, - "Execute site analysis": { - "$ref": "./examples/Diagnostics_ExecuteSiteAnalysis.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/slots/{slot}/diagnostics/{diagnosticCategory}/detectors": { - "get": { - "tags": [ - "Diagnostics" - ], - "summary": "Get Detectors", - "description": "Description for Get Detectors", - "operationId": "Diagnostics_ListSiteDetectorsSlot", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "siteName", - "in": "path", - "description": "Site Name", - "required": true, - "type": "string" - }, - { - "name": "diagnosticCategory", - "in": "path", - "description": "Diagnostic Category", - "required": true, - "type": "string" - }, - { - "name": "slot", - "in": "path", - "description": "Slot Name", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/DiagnosticDetectorCollection" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "List App Detectors": { - "$ref": "./examples/Diagnostics_ListSiteDetectors.json" - }, - "List App Slot Detectors": { - "$ref": "./examples/Diagnostics_ListSiteDetectorsSlot.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/slots/{slot}/diagnostics/{diagnosticCategory}/detectors/{detectorName}": { - "get": { - "tags": [ - "Diagnostics" - ], - "summary": "Get Detector", - "description": "Description for Get Detector", - "operationId": "Diagnostics_GetSiteDetectorSlot", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "siteName", - "in": "path", - "description": "Site Name", - "required": true, - "type": "string" - }, - { - "name": "diagnosticCategory", - "in": "path", - "description": "Diagnostic Category", - "required": true, - "type": "string" - }, - { - "name": "detectorName", - "in": "path", - "description": "Detector Name", - "required": true, - "type": "string" - }, - { - "name": "slot", - "in": "path", - "description": "Slot Name", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/DetectorDefinitionResource" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "Get App Detector": { - "$ref": "./examples/Diagnostics_GetSiteDetector.json" - }, - "Get App Slot Detector": { - "$ref": "./examples/Diagnostics_GetSiteDetectorSlot.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/slots/{slot}/diagnostics/{diagnosticCategory}/detectors/{detectorName}/execute": { - "post": { - "tags": [ - "Diagnostics" - ], - "summary": "Execute Detector", - "description": "Description for Execute Detector", - "operationId": "Diagnostics_ExecuteSiteDetectorSlot", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "siteName", - "in": "path", - "description": "Site Name", - "required": true, - "type": "string" - }, - { - "name": "detectorName", - "in": "path", - "description": "Detector Resource Name", - "required": true, - "type": "string" - }, - { - "name": "diagnosticCategory", - "in": "path", - "description": "Category Name", - "required": true, - "type": "string" - }, - { - "name": "slot", - "in": "path", - "description": "Slot Name", - "required": true, - "type": "string" - }, - { - "name": "startTime", - "in": "query", - "description": "Start Time", - "type": "string", - "format": "date-time" - }, - { - "name": "endTime", - "in": "query", - "description": "End Time", - "type": "string", - "format": "date-time" - }, - { - "name": "timeGrain", - "in": "query", - "description": "Time Grain", - "type": "string", - "pattern": "PT[1-9][0-9]+[SMH]" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/DiagnosticDetectorResponse" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "Execute site detector": { - "$ref": "./examples/Diagnostics_ExecuteSiteDetector.json" - }, - "Execute site slot detector": { - "$ref": "./examples/Diagnostics_ExecuteSiteDetectorSlot.json" - } - } - } - } - }, - "definitions": { - "AbnormalTimePeriod": { - "description": "Class representing Abnormal Time Period identified in diagnosis", - "type": "object", - "properties": { - "startTime": { - "format": "date-time", - "description": "Start time of the downtime", - "type": "string" - }, - "endTime": { - "format": "date-time", - "description": "End time of the downtime", - "type": "string" - }, - "events": { - "description": "List of Possible Cause of downtime", - "type": "array", - "items": { - "$ref": "#/definitions/DetectorAbnormalTimePeriod" - }, - "x-ms-identifiers": [] - }, - "solutions": { - "description": "List of proposed solutions", - "type": "array", - "items": { - "$ref": "#/definitions/Solution" - } - } - } - }, - "AnalysisData": { - "description": "Class Representing Detector Evidence used for analysis", - "type": "object", - "properties": { - "source": { - "description": "Name of the Detector", - "type": "string" - }, - "detectorDefinition": { - "$ref": "#/definitions/DetectorDefinition", - "description": "Detector Definition" - }, - "metrics": { - "description": "Source Metrics", - "type": "array", - "items": { - "$ref": "#/definitions/DiagnosticMetricSet" - }, - "x-ms-identifiers": [ - "name" - ] - }, - "data": { - "description": "Additional Source Data", - "type": "array", - "items": { - "type": "array", - "items": { - "$ref": "./CommonDefinitions.json#/definitions/NameValuePair" - }, - "x-ms-identifiers": [ - "name" - ] - } - }, - "detectorMetaData": { - "$ref": "#/definitions/ResponseMetaData", - "description": "Detector Meta Data" - } - } - }, - "AnalysisDefinition": { - "description": "Definition of Analysis", - "type": "object", - "allOf": [ - { - "$ref": "./CommonDefinitions.json#/definitions/ProxyOnlyResource" - } - ], - "properties": { - "properties": { - "description": "AnalysisDefinition resource specific properties", - "type": "object", - "properties": { - "description": { - "description": "Description of the Analysis", - "type": "string", - "readOnly": true - } - }, - "x-ms-client-flatten": true - } - } - }, - "DataSource": { - "description": "Class representing data source used by the detectors", - "type": "object", - "properties": { - "instructions": { - "description": "Instructions if any for the data source", - "type": "array", - "items": { - "type": "string" - } - }, - "dataSourceUri": { - "description": "Datasource Uri Links", - "type": "array", - "items": { - "$ref": "./CommonDefinitions.json#/definitions/NameValuePair" - }, - "x-ms-identifiers": [ - "name" - ] - } - } - }, - "DetectorAbnormalTimePeriod": { - "description": "Class representing Abnormal Time Period detected.", - "type": "object", - "properties": { - "startTime": { - "format": "date-time", - "description": "Start time of the correlated event", - "type": "string" - }, - "endTime": { - "format": "date-time", - "description": "End time of the correlated event", - "type": "string" - }, - "message": { - "description": "Message describing the event", - "type": "string" - }, - "source": { - "description": "Represents the name of the Detector", - "type": "string" - }, - "priority": { - "format": "double", - "description": "Represents the rank of the Detector", - "type": "number" - }, - "metaData": { - "description": "Downtime metadata", - "type": "array", - "items": { - "type": "array", - "items": { - "$ref": "./CommonDefinitions.json#/definitions/NameValuePair" - }, - "x-ms-identifiers": [ - "name" - ] - } - }, - "type": { - "description": "Represents the type of the Detector", - "enum": [ - "ServiceIncident", - "AppDeployment", - "AppCrash", - "RuntimeIssueDetected", - "AseDeployment", - "UserIssue", - "PlatformIssue", - "Other" - ], - "type": "string", - "x-ms-enum": { - "name": "IssueType", - "modelAsString": false - } - }, - "solutions": { - "description": "List of proposed solutions", - "type": "array", - "items": { - "$ref": "#/definitions/Solution" - } - } - } - }, - "DetectorDefinition": { - "description": "Class representing detector definition", - "type": "object", - "properties": { - "displayName": { - "description": "Display name of the detector", - "type": "string", - "readOnly": true - }, - "description": { - "description": "Description of the detector", - "type": "string", - "readOnly": true - }, - "rank": { - "format": "double", - "description": "Detector Rank", - "type": "number", - "readOnly": true - }, - "isEnabled": { - "description": "Flag representing whether detector is enabled or not.", - "type": "boolean", - "readOnly": true - } - } - }, - "DetectorDefinitionResource": { - "description": "ARM resource for a detector definition", - "type": "object", - "allOf": [ - { - "$ref": "./CommonDefinitions.json#/definitions/ProxyOnlyResource" - } - ], - "properties": { - "properties": { - "$ref": "#/definitions/DetectorDefinition", - "description": "Core resource properties", - "type": "object", - "x-ms-client-flatten": true - } - } - }, - "DiagnosticAnalysis": { - "description": "Class representing a diagnostic analysis done on an application", - "type": "object", - "allOf": [ - { - "$ref": "./CommonDefinitions.json#/definitions/ProxyOnlyResource" - } - ], - "properties": { - "properties": { - "description": "DiagnosticAnalysis resource specific properties", - "type": "object", - "properties": { - "startTime": { - "format": "date-time", - "description": "Start time of the period", - "type": "string" - }, - "endTime": { - "format": "date-time", - "description": "End time of the period", - "type": "string" - }, - "abnormalTimePeriods": { - "description": "List of time periods.", - "type": "array", - "items": { - "$ref": "#/definitions/AbnormalTimePeriod" - }, - "x-ms-identifiers": [] - }, - "payload": { - "description": "Data by each detector", - "type": "array", - "items": { - "$ref": "#/definitions/AnalysisData" - }, - "x-ms-identifiers": [ - "source" - ] - }, - "nonCorrelatedDetectors": { - "description": "Data by each detector for detectors that did not corelate", - "type": "array", - "items": { - "$ref": "#/definitions/DetectorDefinition" - }, - "x-ms-identifiers": [ - "displayName" - ] - } - }, - "x-ms-client-flatten": true - } - } - }, - "DiagnosticAnalysisCollection": { - "description": "Collection of Diagnostic Analyses", - "required": [ - "value" - ], - "type": "object", - "properties": { - "value": { - "description": "Collection of resources.", - "type": "array", - "items": { - "$ref": "#/definitions/AnalysisDefinition" - } - }, - "nextLink": { - "description": "Link to next page of resources.", - "type": "string", - "readOnly": true - } - } - }, - "DiagnosticCategory": { - "description": "Class representing detector definition", - "type": "object", - "allOf": [ - { - "$ref": "./CommonDefinitions.json#/definitions/ProxyOnlyResource" - } - ], - "properties": { - "properties": { - "description": "DiagnosticCategory resource specific properties", - "type": "object", - "properties": { - "description": { - "description": "Description of the diagnostic category", - "type": "string", - "readOnly": true - } - }, - "x-ms-client-flatten": true - } - } - }, - "DiagnosticCategoryCollection": { - "description": "Collection of Diagnostic Categories", - "required": [ - "value" - ], - "type": "object", - "properties": { - "value": { - "description": "Collection of resources.", - "type": "array", - "items": { - "$ref": "#/definitions/DiagnosticCategory" - } - }, - "nextLink": { - "description": "Link to next page of resources.", - "type": "string", - "readOnly": true - } - } - }, - "DiagnosticDetectorCollection": { - "description": "Collection of Diagnostic Detectors", - "required": [ - "value" - ], - "type": "object", - "properties": { - "value": { - "description": "Collection of resources.", - "type": "array", - "items": { - "$ref": "#/definitions/DetectorDefinitionResource" - } - }, - "nextLink": { - "description": "Link to next page of resources.", - "type": "string", - "readOnly": true - } - } - }, - "DiagnosticDetectorResponse": { - "description": "Class representing Response from Diagnostic Detectors", - "type": "object", - "allOf": [ - { - "$ref": "./CommonDefinitions.json#/definitions/ProxyOnlyResource" - } - ], - "properties": { - "properties": { - "description": "DiagnosticDetectorResponse resource specific properties", - "type": "object", - "properties": { - "startTime": { - "format": "date-time", - "description": "Start time of the period", - "type": "string" - }, - "endTime": { - "format": "date-time", - "description": "End time of the period", - "type": "string" - }, - "issueDetected": { - "description": "Flag representing Issue was detected.", - "type": "boolean" - }, - "detectorDefinition": { - "$ref": "#/definitions/DetectorDefinition", - "description": "Detector's definition" - }, - "metrics": { - "description": "Metrics provided by the detector", - "type": "array", - "items": { - "$ref": "#/definitions/DiagnosticMetricSet" - }, - "x-ms-identifiers": [ - "name" - ] - }, - "abnormalTimePeriods": { - "description": "List of Correlated events found by the detector", - "type": "array", - "items": { - "$ref": "#/definitions/DetectorAbnormalTimePeriod" - }, - "x-ms-identifiers": [] - }, - "data": { - "description": "Additional Data that detector wants to send.", - "type": "array", - "items": { - "type": "array", - "items": { - "$ref": "./CommonDefinitions.json#/definitions/NameValuePair" - }, - "x-ms-identifiers": [ - "name" - ] - } - }, - "responseMetaData": { - "$ref": "#/definitions/ResponseMetaData", - "description": "Meta Data" - } - }, - "x-ms-client-flatten": true - } - } - }, - "DiagnosticMetricSample": { - "description": "Class representing Diagnostic Metric", - "type": "object", - "properties": { - "timestamp": { - "format": "date-time", - "description": "Time at which metric is measured", - "type": "string" - }, - "roleInstance": { - "description": "Role Instance. Null if this counter is not per instance \nThis is returned and should be whichever instance name we desire to be returned\ni.e. CPU and Memory return RDWORKERNAME (LargeDed..._IN_0) \nwhere RDWORKERNAME is Machine name below and RoleInstance name in parenthesis", - "type": "string" - }, - "total": { - "format": "double", - "description": "Total value of the metric. If multiple measurements are made this will have sum of all.", - "type": "number" - }, - "maximum": { - "format": "double", - "description": "Maximum of the metric sampled during the time period", - "type": "number" - }, - "minimum": { - "format": "double", - "description": "Minimum of the metric sampled during the time period", - "type": "number" - }, - "isAggregated": { - "description": "Whether the values are aggregates across all workers or not", - "type": "boolean" - } - } - }, - "DiagnosticMetricSet": { - "description": "Class representing Diagnostic Metric information", - "type": "object", - "properties": { - "name": { - "description": "Name of the metric", - "type": "string" - }, - "unit": { - "description": "Metric's unit", - "type": "string" - }, - "startTime": { - "format": "date-time", - "description": "Start time of the period", - "type": "string" - }, - "endTime": { - "format": "date-time", - "description": "End time of the period", - "type": "string" - }, - "timeGrain": { - "description": "Presented time grain. Supported grains at the moment are PT1M, PT1H, P1D", - "type": "string" - }, - "values": { - "description": "Collection of metric values for the selected period based on the {Microsoft.Web.Hosting.Administration.DiagnosticMetricSet.TimeGrain}", - "type": "array", - "items": { - "$ref": "#/definitions/DiagnosticMetricSample" - }, - "x-ms-identifiers": [] - } - } - }, - "ResponseMetaData": { - "type": "object", - "properties": { - "dataSource": { - "$ref": "#/definitions/DataSource", - "description": "Source of the Data" - } - } - }, - "Solution": { - "description": "Class Representing Solution for problems detected.", - "type": "object", - "properties": { - "id": { - "format": "double", - "description": "Solution Id.", - "type": "number" - }, - "displayName": { - "description": "Display Name of the solution", - "type": "string" - }, - "order": { - "format": "double", - "description": "Order of the solution.", - "type": "number" - }, - "description": { - "description": "Description of the solution", - "type": "string" - }, - "type": { - "description": "Type of Solution", - "enum": [ - "QuickSolution", - "DeepInvestigation", - "BestPractices" - ], - "type": "string", - "x-ms-enum": { - "name": "SolutionType", - "modelAsString": false - } - }, - "data": { - "description": "Solution Data.", - "type": "array", - "items": { - "type": "array", - "items": { - "$ref": "./CommonDefinitions.json#/definitions/NameValuePair" - }, - "x-ms-identifiers": [ - "name" - ] - } - }, - "metadata": { - "description": "Solution Metadata.", - "type": "array", - "items": { - "type": "array", - "items": { - "$ref": "./CommonDefinitions.json#/definitions/NameValuePair" - }, - "x-ms-identifiers": [ - "name" - ] - } - } - } - } - }, - "parameters": { - "subscriptionIdParameter": { - "name": "subscriptionId", - "in": "path", - "description": "Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000).", - "required": true, - "type": "string", - "x-ms-parameter-location": "client" - }, - "resourceGroupNameParameter": { - "name": "resourceGroupName", - "in": "path", - "description": "Name of the resource group to which the resource belongs.", - "required": true, - "type": "string", - "maxLength": 90, - "minLength": 1, - "pattern": "^[-\\w\\._\\(\\)]+[^\\.]$", - "x-ms-parameter-location": "method" - }, - "apiVersionParameter": { - "name": "api-version", - "in": "query", - "description": "API Version", - "required": true, - "type": "string", - "x-ms-parameter-location": "client" - } - }, - "securityDefinitions": { - "azure_auth": { - "type": "oauth2", - "description": "Azure Active Directory OAuth2 Flow", - "flow": "implicit", - "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", - "scopes": { - "user_impersonation": "impersonate your user account" - } - } - }, - "security": [ - { - "azure_auth": [ - "user_impersonation" - ] - } - ] -} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/Global.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/Global.json deleted file mode 100644 index 6019fc87443a..000000000000 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/Global.json +++ /dev/null @@ -1,195 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "version": "2025-03-01", - "title": "Global API Client" - }, - "host": "management.azure.com", - "schemes": [ - "https" - ], - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "paths": { - "/subscriptions/{subscriptionId}/providers/Microsoft.Web/deletedSites/{deletedSiteId}": { - "get": { - "tags": [ - "Global" - ], - "summary": "Get deleted app for a subscription.", - "description": "Description for Get deleted app for a subscription.", - "operationId": "Global_GetDeletedWebApp", - "parameters": [ - { - "name": "deletedSiteId", - "in": "path", - "description": "The numeric ID of the deleted app, e.g. 12345", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DeletedSite" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "Get Deleted Web App": { - "$ref": "./examples/GetDeletedWebApp.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Web/deletedSites/{deletedSiteId}/snapshots": { - "get": { - "tags": [ - "Global" - ], - "summary": "Get all deleted apps for a subscription.", - "description": "Description for Get all deleted apps for a subscription.", - "operationId": "Global_GetDeletedWebAppSnapshots", - "parameters": [ - { - "name": "deletedSiteId", - "in": "path", - "description": "The numeric ID of the deleted app, e.g. 12345", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "array", - "items": { - "$ref": "./CommonDefinitions.json#/definitions/Snapshot" - } - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "Get Deleted Web App Snapshots": { - "$ref": "./examples/GetDeletedWebAppSnapshots.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Web/locations/{location}/operations/{operationId}": { - "get": { - "tags": [ - "Global" - ], - "summary": "Gets an operation in a subscription and given region", - "description": "Description for Gets an operation in a subscription and given region", - "operationId": "Global_GetSubscriptionOperationWithAsyncResponse", - "parameters": [ - { - "name": "location", - "in": "path", - "description": "Location name", - "required": true, - "type": "string" - }, - { - "name": "operationId", - "in": "path", - "description": "Operation Id", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "204": { - "description": "No Content" - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "Gets an operation in a subscription and given region": { - "$ref": "./examples/GetSubscriptionOperationWithAsyncResponse.json" - } - } - } - } - }, - "definitions": {}, - "parameters": { - "subscriptionIdParameter": { - "name": "subscriptionId", - "in": "path", - "description": "Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000).", - "required": true, - "type": "string", - "x-ms-parameter-location": "client" - }, - "apiVersionParameter": { - "name": "api-version", - "in": "query", - "description": "API Version", - "required": true, - "type": "string", - "x-ms-parameter-location": "client" - } - }, - "securityDefinitions": { - "azure_auth": { - "type": "oauth2", - "description": "Azure Active Directory OAuth2 Flow", - "flow": "implicit", - "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", - "scopes": { - "user_impersonation": "impersonate your user account" - } - } - }, - "security": [ - { - "azure_auth": [ - "user_impersonation" - ] - } - ] -} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/KubeEnvironments.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/KubeEnvironments.json deleted file mode 100644 index 36572f4b0d33..000000000000 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/KubeEnvironments.json +++ /dev/null @@ -1,723 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "version": "2025-03-01", - "title": "KubeEnvironments API Client" - }, - "host": "management.azure.com", - "schemes": [ - "https" - ], - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "paths": { - "/subscriptions/{subscriptionId}/providers/Microsoft.Web/kubeEnvironments": { - "get": { - "tags": [ - "KubeEnvironments" - ], - "summary": "Get all Kubernetes Environments for a subscription.", - "description": "Description for Get all Kubernetes Environments for a subscription.", - "operationId": "KubeEnvironments_ListBySubscription", - "parameters": [ - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/KubeEnvironmentCollection" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, - "x-ms-examples": { - "List kube environments by subscription": { - "$ref": "./examples/KubeEnvironments_ListBySubscription.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/kubeEnvironments": { - "get": { - "tags": [ - "KubeEnvironments" - ], - "summary": "Get all the Kubernetes Environments in a resource group.", - "description": "Description for Get all the Kubernetes Environments in a resource group.", - "operationId": "KubeEnvironments_ListByResourceGroup", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/KubeEnvironmentCollection" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, - "x-ms-examples": { - "List kube environments by resource group": { - "$ref": "./examples/KubeEnvironments_ListByResourceGroup.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/kubeEnvironments/{name}": { - "get": { - "tags": [ - "KubeEnvironments" - ], - "summary": "Get the properties of a Kubernetes Environment.", - "description": "Description for Get the properties of a Kubernetes Environment.", - "operationId": "KubeEnvironments_Get", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the Kubernetes Environment.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/KubeEnvironment" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "Get kube environments by name": { - "$ref": "./examples/KubeEnvironments_Get.json" - } - } - }, - "put": { - "tags": [ - "KubeEnvironments" - ], - "summary": "Creates or updates a Kubernetes Environment.", - "description": "Description for Creates or updates a Kubernetes Environment.", - "operationId": "KubeEnvironments_CreateOrUpdate", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the Kubernetes Environment.", - "required": true, - "type": "string" - }, - { - "name": "kubeEnvironmentEnvelope", - "in": "body", - "description": "Configuration details of the Kubernetes Environment.", - "required": true, - "schema": { - "$ref": "#/definitions/KubeEnvironment" - } - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/KubeEnvironment" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/KubeEnvironment" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-long-running-operation": true, - "x-ms-examples": { - "Create kube environments": { - "$ref": "./examples/KubeEnvironments_CreateOrUpdate.json" - } - } - }, - "delete": { - "tags": [ - "KubeEnvironments" - ], - "summary": "Delete a Kubernetes Environment.", - "description": "Description for Delete a Kubernetes Environment.", - "operationId": "KubeEnvironments_Delete", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the Kubernetes Environment.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Delete operation completed" - }, - "202": { - "description": "Delete operation is in progress" - }, - "204": { - "description": "Kubernetes Environment does not exist" - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "Delete kube environment by name": { - "$ref": "./examples/KubeEnvironments_Delete.json" - } - }, - "x-ms-long-running-operation": true - }, - "patch": { - "tags": [ - "KubeEnvironments" - ], - "summary": "Creates or updates a Kubernetes Environment.", - "description": "Description for Creates or updates a Kubernetes Environment.", - "operationId": "KubeEnvironments_Update", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the Kubernetes Environment.", - "required": true, - "type": "string" - }, - { - "name": "kubeEnvironmentEnvelope", - "in": "body", - "description": "Configuration details of the Kubernetes Environment.", - "required": true, - "schema": { - "$ref": "#/definitions/KubeEnvironmentPatchResource" - } - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/KubeEnvironment" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/KubeEnvironment" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "Update kube environments": { - "$ref": "./examples/KubeEnvironments_Update.json" - } - } - } - } - }, - "definitions": { - "AppLogsConfiguration": { - "type": "object", - "properties": { - "destination": { - "type": "string" - }, - "logAnalyticsConfiguration": { - "$ref": "#/definitions/LogAnalyticsConfiguration" - } - } - }, - "ContainerAppsConfiguration": { - "type": "object", - "properties": { - "daprAIInstrumentationKey": { - "type": "string", - "description": "Azure Monitor instrumentation key used by Dapr to export Service to Service communication telemetry", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "platformReservedCidr": { - "type": "string", - "description": "IP range in CIDR notation that can be reserved for environment infrastructure IP addresses. It must not overlap with any other Subnet IP ranges.", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "platformReservedDnsIP": { - "type": "string", - "description": "An IP address from the IP range defined by platformReservedCidr that will be reserved for the internal DNS server", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "controlPlaneSubnetResourceId": { - "type": "string", - "description": "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.", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "appSubnetResourceId": { - "type": "string", - "description": "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.", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "dockerBridgeCidr": { - "type": "string", - "description": "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.", - "x-ms-mutability": [ - "create", - "read" - ] - } - } - }, - "ArcConfiguration": { - "type": "object", - "properties": { - "artifactsStorageType": { - "enum": [ - "LocalNode", - "NetworkFileSystem" - ], - "type": "string", - "x-ms-enum": { - "name": "StorageType", - "modelAsString": false - }, - "x-ms-mutability": [ - "create", - "read" - ] - }, - "artifactStorageClassName": { - "type": "string", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "artifactStorageMountPath": { - "type": "string", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "artifactStorageNodeName": { - "type": "string", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "artifactStorageAccessMode": { - "type": "string", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "frontEndServiceConfiguration": { - "$ref": "#/definitions/FrontEndConfiguration" - }, - "kubeConfig": { - "type": "string", - "x-ms-mutability": [ - "create", - "update" - ], - "x-ms-secret": true - } - } - }, - "FrontEndConfiguration": { - "type": "object", - "properties": { - "kind": { - "enum": [ - "NodePort", - "LoadBalancer" - ], - "type": "string", - "x-ms-enum": { - "name": "FrontEndServiceType", - "modelAsString": false - } - } - } - }, - "KubeEnvironment": { - "description": "A Kubernetes cluster specialized for web workloads by Azure App Service", - "type": "object", - "allOf": [ - { - "$ref": "./CommonDefinitions.json#/definitions/Resource" - } - ], - "properties": { - "properties": { - "description": "KubeEnvironment resource specific properties", - "type": "object", - "properties": { - "provisioningState": { - "description": "Provisioning state of the Kubernetes Environment.", - "enum": [ - "Succeeded", - "Failed", - "Canceled", - "Waiting", - "InitializationInProgress", - "InfrastructureSetupInProgress", - "InfrastructureSetupComplete", - "ScheduledForDelete", - "UpgradeRequested", - "UpgradeFailed" - ], - "type": "string", - "readOnly": true, - "x-ms-enum": { - "name": "KubeEnvironmentProvisioningState", - "modelAsString": false - } - }, - "deploymentErrors": { - "description": "Any errors that occurred during deployment or deployment validation", - "type": "string", - "readOnly": true - }, - "internalLoadBalancerEnabled": { - "description": "Only visible within Vnet/Subnet", - "type": "boolean", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "defaultDomain": { - "description": "Default Domain Name for the cluster", - "type": "string", - "readOnly": true - }, - "staticIp": { - "description": "Static IP of the KubeEnvironment", - "type": "string", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "environmentType": { - "description": "Type of Kubernetes Environment. Only supported for Container App Environments with value as Managed", - "type": "string", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "arcConfiguration": { - "$ref": "#/definitions/ArcConfiguration", - "description": "Cluster configuration which determines the ARC cluster\ncomponents types. Eg: Choosing between BuildService kind,\nFrontEnd Service ArtifactsStorageType etc." - }, - "appLogsConfiguration": { - "$ref": "#/definitions/AppLogsConfiguration", - "description": "Cluster configuration which enables the log daemon to export\napp logs to a destination. Currently only \"log-analytics\" is\nsupported" - }, - "containerAppsConfiguration": { - "$ref": "#/definitions/ContainerAppsConfiguration", - "description": "Cluster configuration for Container Apps Environments to configure Dapr Instrumentation Key and VNET Configuration" - }, - "aksResourceID": { - "type": "string", - "x-ms-mutability": [ - "create", - "read" - ] - } - }, - "x-ms-client-flatten": true - }, - "extendedLocation": { - "$ref": "./CommonDefinitions.json#/definitions/ExtendedLocation" - } - } - }, - "KubeEnvironmentCollection": { - "description": "Collection of Kubernetes Environments", - "required": [ - "value" - ], - "type": "object", - "properties": { - "value": { - "description": "Collection of resources.", - "type": "array", - "items": { - "$ref": "#/definitions/KubeEnvironment" - } - }, - "nextLink": { - "description": "Link to next page of resources.", - "type": "string", - "readOnly": true - } - } - }, - "KubeEnvironmentPatchResource": { - "description": "ARM resource for a KubeEnvironment when patching", - "type": "object", - "allOf": [ - { - "$ref": "./CommonDefinitions.json#/definitions/ProxyOnlyResource" - } - ], - "properties": { - "properties": { - "description": "KubeEnvironmentPatchResource resource specific properties", - "type": "object", - "properties": { - "provisioningState": { - "description": "Provisioning state of the Kubernetes Environment.", - "enum": [ - "Succeeded", - "Failed", - "Canceled", - "Waiting", - "InitializationInProgress", - "InfrastructureSetupInProgress", - "InfrastructureSetupComplete", - "ScheduledForDelete", - "UpgradeRequested", - "UpgradeFailed" - ], - "type": "string", - "readOnly": true, - "x-ms-enum": { - "name": "KubeEnvironmentProvisioningState", - "modelAsString": false - } - }, - "deploymentErrors": { - "description": "Any errors that occurred during deployment or deployment validation", - "type": "string", - "readOnly": true - }, - "internalLoadBalancerEnabled": { - "description": "Only visible within Vnet/Subnet", - "type": "boolean", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "defaultDomain": { - "description": "Default Domain Name for the cluster", - "type": "string", - "readOnly": true - }, - "staticIp": { - "description": "Static IP of the KubeEnvironment", - "type": "string", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "arcConfiguration": { - "$ref": "#/definitions/ArcConfiguration", - "description": "Cluster configuration which determines the ARC cluster\ncomponents types. Eg: Choosing between BuildService kind,\nFrontEnd Service ArtifactsStorageType etc." - }, - "appLogsConfiguration": { - "$ref": "#/definitions/AppLogsConfiguration", - "description": "Cluster configuration which enables the log daemon to export\napp logs to a destination. Currently only \"log-analytics\" is\nsupported" - }, - "containerAppsConfiguration": { - "$ref": "#/definitions/ContainerAppsConfiguration", - "description": "Cluster configuration for Container Apps Environments to configure Dapr Instrumentation Key and VNET Configuration" - }, - "aksResourceID": { - "type": "string", - "x-ms-mutability": [ - "create", - "read" - ] - } - }, - "x-ms-client-flatten": true - } - } - }, - "LogAnalyticsConfiguration": { - "type": "object", - "properties": { - "customerId": { - "type": "string" - }, - "sharedKey": { - "type": "string", - "x-ms-mutability": [ - "create", - "update" - ], - "x-ms-secret": true - } - } - } - }, - "parameters": { - "subscriptionIdParameter": { - "name": "subscriptionId", - "in": "path", - "description": "Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000).", - "required": true, - "type": "string", - "x-ms-parameter-location": "client" - }, - "resourceGroupNameParameter": { - "name": "resourceGroupName", - "in": "path", - "description": "Name of the resource group to which the resource belongs.", - "required": true, - "type": "string", - "maxLength": 90, - "minLength": 1, - "pattern": "^[-\\w\\._\\(\\)]+[^\\.]$", - "x-ms-parameter-location": "method" - }, - "apiVersionParameter": { - "name": "api-version", - "in": "query", - "description": "API Version", - "required": true, - "type": "string", - "x-ms-parameter-location": "client" - } - }, - "securityDefinitions": { - "azure_auth": { - "type": "oauth2", - "description": "Azure Active Directory OAuth2 Flow", - "flow": "implicit", - "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", - "scopes": { - "user_impersonation": "impersonate your user account" - } - } - }, - "security": [ - { - "azure_auth": [ - "user_impersonation" - ] - } - ] -} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/Provider.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/Provider.json deleted file mode 100644 index 9fba175bd6c4..000000000000 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/Provider.json +++ /dev/null @@ -1,1126 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "version": "2025-03-01", - "title": "Provider API Client" - }, - "host": "management.azure.com", - "schemes": [ - "https" - ], - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "paths": { - "/providers/Microsoft.Web/availableStacks": { - "get": { - "tags": [ - "Provider" - ], - "summary": "Get available application frameworks and their versions", - "description": "Description for Get available application frameworks and their versions", - "operationId": "Provider_GetAvailableStacks", - "parameters": [ - { - "$ref": "#/parameters/osTypeSelectedParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/ApplicationStackCollection" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/providers/Microsoft.Web/functionAppStacks": { - "get": { - "tags": [ - "Provider" - ], - "summary": "Get available Function app frameworks and their versions", - "description": "Description for Get available Function app frameworks and their versions", - "operationId": "Provider_GetFunctionAppStacks", - "parameters": [ - { - "$ref": "#/parameters/stackOsTypeParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/FunctionAppStackCollection" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "Get Function App Stacks": { - "$ref": "./examples/GetFunctionAppStacks.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/providers/Microsoft.Web/locations/{location}/functionAppStacks": { - "get": { - "tags": [ - "Provider" - ], - "summary": "Get available Function app frameworks and their versions for location", - "description": "Description for Get available Function app frameworks and their versions for location", - "operationId": "Provider_GetFunctionAppStacksForLocation", - "parameters": [ - { - "name": "location", - "in": "path", - "description": "Function App stack location.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/stackOsTypeParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/FunctionAppStackCollection" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "Get Locations Function App Stacks": { - "$ref": "./examples/GetFunctionAppStacksForLocation.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/providers/Microsoft.Web/locations/{location}/webAppStacks": { - "get": { - "tags": [ - "Provider" - ], - "summary": "Get available Web app frameworks and their versions for location", - "description": "Description for Get available Web app frameworks and their versions for location", - "operationId": "Provider_GetWebAppStacksForLocation", - "parameters": [ - { - "name": "location", - "in": "path", - "description": "Web App stack location.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/stackOsTypeParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/WebAppStackCollection" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "Get Locations Web App Stacks": { - "$ref": "./examples/GetWebAppStacksForLocation.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/providers/Microsoft.Web/operations": { - "get": { - "tags": [ - "Provider" - ], - "summary": "Gets all available operations for the Microsoft.Web resource provider. Also exposes resource metric definitions", - "description": "Description for Gets all available operations for the Microsoft.Web resource provider. Also exposes resource metric definitions", - "operationId": "Provider_ListOperations", - "parameters": [ - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/CsmOperationCollection" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "List operations": { - "$ref": "./examples/ListOperations.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/providers/Microsoft.Web/webAppStacks": { - "get": { - "tags": [ - "Provider" - ], - "summary": "Get available Web app frameworks and their versions", - "description": "Description for Get available Web app frameworks and their versions", - "operationId": "Provider_GetWebAppStacks", - "parameters": [ - { - "$ref": "#/parameters/stackOsTypeParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/WebAppStackCollection" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "Get Web App Stacks": { - "$ref": "./examples/GetWebAppStacks.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Web/availableStacks": { - "get": { - "tags": [ - "Provider" - ], - "summary": "Get available application frameworks and their versions", - "description": "Description for Get available application frameworks and their versions", - "operationId": "Provider_GetAvailableStacksOnPrem", - "parameters": [ - { - "$ref": "#/parameters/osTypeSelectedParameter" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/ApplicationStackCollection" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - } - }, - "definitions": { - "AppInsightsWebAppStackSettings": { - "description": "App Insights Web App stack settings.", - "type": "object", - "properties": { - "isSupported": { - "description": "true if remote Application Insights is supported for the stack; otherwise, false.", - "type": "boolean", - "readOnly": true - }, - "isDefaultOff": { - "description": "true if Application Insights is disabled by default for the stack; otherwise, false.", - "type": "boolean", - "readOnly": true - } - } - }, - "ApplicationStack": { - "description": "Application stack.", - "type": "object", - "properties": { - "name": { - "description": "Application stack name.", - "type": "string" - }, - "display": { - "description": "Application stack display name.", - "type": "string" - }, - "dependency": { - "description": "Application stack dependency.", - "type": "string" - }, - "majorVersions": { - "description": "List of major versions available.", - "type": "array", - "items": { - "$ref": "#/definitions/StackMajorVersion" - }, - "x-ms-identifiers": [ - "runtimeVersion" - ] - }, - "frameworks": { - "description": "List of frameworks associated with application stack.", - "type": "array", - "items": { - "$ref": "#/definitions/ApplicationStack" - }, - "x-ms-identifiers": [ - "name" - ] - }, - "isDeprecated": { - "description": "true if this is the stack is deprecated; otherwise, false.", - "type": "array", - "items": { - "$ref": "#/definitions/ApplicationStack" - }, - "x-ms-identifiers": [ - "name" - ] - } - } - }, - "ApplicationStackCollection": { - "description": "Collection of Application Stacks", - "required": [ - "value" - ], - "type": "object", - "properties": { - "value": { - "description": "Collection of resources.", - "type": "array", - "items": { - "$ref": "#/definitions/ApplicationStackResource" - } - }, - "nextLink": { - "description": "Link to next page of resources.", - "type": "string", - "readOnly": true - } - } - }, - "ApplicationStackResource": { - "description": "ARM resource for a ApplicationStack.", - "type": "object", - "allOf": [ - { - "$ref": "./CommonDefinitions.json#/definitions/ProxyOnlyResource" - } - ], - "properties": { - "properties": { - "$ref": "#/definitions/ApplicationStack", - "description": "Core resource properties", - "type": "object", - "x-ms-client-flatten": true - } - } - }, - "FunctionAppMajorVersion": { - "description": "Function App stack major version.", - "type": "object", - "properties": { - "displayText": { - "description": "Function App stack major version (display only).", - "type": "string", - "readOnly": true - }, - "value": { - "description": "Function App stack major version name.", - "type": "string", - "readOnly": true - }, - "minorVersions": { - "description": "Minor versions associated with the major version.", - "type": "array", - "items": { - "$ref": "#/definitions/FunctionAppMinorVersion" - }, - "readOnly": true, - "x-ms-identifiers": [ - "value" - ] - } - } - }, - "FunctionAppMinorVersion": { - "description": "Function App stack minor version.", - "type": "object", - "properties": { - "displayText": { - "description": "Function App stack (display only).", - "type": "string", - "readOnly": true - }, - "value": { - "description": "Function App stack name.", - "type": "string", - "readOnly": true - }, - "stackSettings": { - "$ref": "#/definitions/FunctionAppRuntimes", - "description": "Settings associated with the minor version.", - "readOnly": true - } - } - }, - "FunctionAppRuntimeSettings": { - "description": "Function App runtime settings.", - "type": "object", - "properties": { - "runtimeVersion": { - "description": "Function App stack minor version (runtime only).", - "type": "string", - "readOnly": true - }, - "remoteDebuggingSupported": { - "description": "true if remote debugging is supported for the stack; otherwise, false.", - "type": "boolean", - "readOnly": true - }, - "appInsightsSettings": { - "$ref": "#/definitions/AppInsightsWebAppStackSettings", - "description": "Application Insights settings associated with the minor version.", - "readOnly": true - }, - "gitHubActionSettings": { - "$ref": "#/definitions/GitHubActionWebAppStackSettings", - "description": "GitHub Actions settings associated with the minor version.", - "readOnly": true - }, - "appSettingsDictionary": { - "description": "Application settings associated with the minor version.", - "type": "object", - "additionalProperties": { - "type": "string" - }, - "readOnly": true - }, - "siteConfigPropertiesDictionary": { - "$ref": "#/definitions/SiteConfigPropertiesDictionary", - "description": "Configuration settings associated with the minor version.", - "readOnly": true - }, - "supportedFunctionsExtensionVersions": { - "description": "List of supported Functions extension versions.", - "type": "array", - "items": { - "type": "string" - }, - "readOnly": true - }, - "isPreview": { - "description": "true if the stack is in preview; otherwise, false.", - "type": "boolean", - "readOnly": true - }, - "isDeprecated": { - "description": "true if the stack is deprecated; otherwise, false.", - "type": "boolean", - "readOnly": true - }, - "isHidden": { - "description": "true if the stack should be hidden; otherwise, false.", - "type": "boolean", - "readOnly": true - }, - "endOfLifeDate": { - "format": "date-time", - "description": "End-of-life date for the minor version.", - "type": "string", - "readOnly": true - }, - "isAutoUpdate": { - "description": "true if the stack version is auto-updated; otherwise, false.", - "type": "boolean", - "readOnly": true - }, - "isEarlyAccess": { - "description": "true if the minor version is early-access; otherwise, false.", - "type": "boolean", - "readOnly": true - }, - "isDefault": { - "description": "true if the minor version the default; otherwise, false.", - "type": "boolean", - "readOnly": true - } - } - }, - "FunctionAppRuntimes": { - "description": "Function App stack runtimes.", - "type": "object", - "properties": { - "linuxRuntimeSettings": { - "$ref": "#/definitions/FunctionAppRuntimeSettings", - "description": "Linux-specific settings associated with the minor version.", - "readOnly": true - }, - "windowsRuntimeSettings": { - "$ref": "#/definitions/FunctionAppRuntimeSettings", - "description": "Windows-specific settings associated with the minor version.", - "readOnly": true - } - } - }, - "FunctionAppStack": { - "description": "Function App Stack.", - "type": "object", - "allOf": [ - { - "$ref": "./CommonDefinitions.json#/definitions/ProxyOnlyResource" - } - ], - "properties": { - "location": { - "description": "Function App stack location.", - "type": "string", - "readOnly": true - }, - "properties": { - "description": "FunctionAppStack resource specific properties", - "type": "object", - "properties": { - "displayText": { - "description": "Function App stack (display only).", - "type": "string", - "readOnly": true - }, - "value": { - "description": "Function App stack name.", - "type": "string", - "readOnly": true - }, - "majorVersions": { - "description": "List of major versions available.", - "type": "array", - "items": { - "$ref": "#/definitions/FunctionAppMajorVersion" - }, - "readOnly": true, - "x-ms-identifiers": [ - "value" - ] - }, - "preferredOs": { - "description": "Function App stack preferred OS.", - "enum": [ - "Windows", - "Linux" - ], - "type": "string", - "readOnly": true, - "x-ms-enum": { - "name": "StackPreferredOs", - "modelAsString": false - } - } - }, - "x-ms-client-flatten": true - } - } - }, - "FunctionAppStackCollection": { - "description": "Collection of Function app Stacks", - "required": [ - "value" - ], - "type": "object", - "properties": { - "value": { - "description": "Collection of resources.", - "type": "array", - "items": { - "$ref": "#/definitions/FunctionAppStack" - } - }, - "nextLink": { - "description": "Link to next page of resources.", - "type": "string", - "readOnly": true - } - } - }, - "GitHubActionWebAppStackSettings": { - "description": "GitHub Actions Web App stack settings.", - "type": "object", - "properties": { - "isSupported": { - "description": "true if GitHub Actions is supported for the stack; otherwise, false.", - "type": "boolean", - "readOnly": true - }, - "supportedVersion": { - "description": "The minor version that is supported for GitHub Actions.", - "type": "string", - "readOnly": true - } - } - }, - "LinuxJavaContainerSettings": { - "description": "Linux Java Container settings.", - "type": "object", - "properties": { - "java11Runtime": { - "description": "Java 11 version (runtime only).", - "type": "string", - "readOnly": true - }, - "java8Runtime": { - "description": "Java 8 version (runtime only).", - "type": "string", - "readOnly": true - }, - "isPreview": { - "description": "true if the stack is in preview; otherwise, false.", - "type": "boolean", - "readOnly": true - }, - "isDeprecated": { - "description": "true if the stack is deprecated; otherwise, false.", - "type": "boolean", - "readOnly": true - }, - "isHidden": { - "description": "true if the stack should be hidden; otherwise, false.", - "type": "boolean", - "readOnly": true - }, - "endOfLifeDate": { - "format": "date-time", - "description": "End-of-life date for the minor version.", - "type": "string", - "readOnly": true - }, - "isAutoUpdate": { - "description": "true if the stack version is auto-updated; otherwise, false.", - "type": "boolean", - "readOnly": true - }, - "isEarlyAccess": { - "description": "true if the minor version is early-access; otherwise, false.", - "type": "boolean", - "readOnly": true - } - } - }, - "SiteConfigPropertiesDictionary": { - "description": "Site config properties dictionary.", - "type": "object", - "properties": { - "use32BitWorkerProcess": { - "description": "true if use32BitWorkerProcess should be set to true for the stack; otherwise, false.", - "type": "boolean", - "readOnly": true - }, - "linuxFxVersion": { - "description": "LinuxFxVersion configuration setting.", - "type": "string", - "readOnly": true - }, - "javaVersion": { - "description": "JavaVersion configuration setting.", - "type": "string", - "readOnly": true - }, - "powerShellVersion": { - "description": "PowerShellVersion configuration setting.", - "type": "string", - "readOnly": true - } - } - }, - "StackMajorVersion": { - "description": "Application stack major version.", - "type": "object", - "properties": { - "displayVersion": { - "description": "Application stack major version (display only).", - "type": "string" - }, - "runtimeVersion": { - "description": "Application stack major version (runtime only).", - "type": "string" - }, - "isDefault": { - "description": "true if this is the default major version; otherwise, false.", - "type": "boolean" - }, - "minorVersions": { - "description": "Minor versions associated with the major version.", - "type": "array", - "items": { - "$ref": "#/definitions/StackMinorVersion" - }, - "x-ms-identifiers": [ - "runtimeVersion" - ] - }, - "applicationInsights": { - "description": "true if this supports Application Insights; otherwise, false.", - "type": "boolean" - }, - "isPreview": { - "description": "true if this stack is in Preview, otherwise false.", - "type": "boolean" - }, - "isDeprecated": { - "description": "true if this stack has been deprecated, otherwise false.", - "type": "boolean" - }, - "isHidden": { - "description": "true if this stack should be hidden for new customers on portal, otherwise false.", - "type": "boolean" - }, - "appSettingsDictionary": { - "description": "\n \n\n Example: All the function apps need AppSetting: \"FUNCTIONS_WORKER_RUNTIME\" to be set stack name", - "type": "object", - "additionalProperties": { - "type": "object" - } - }, - "siteConfigPropertiesDictionary": { - "description": "\n \n\n Example: All Linux Function Apps, need Use32BitWorkerProcess to be set to 0", - "type": "object", - "additionalProperties": { - "type": "object" - } - } - } - }, - "StackMinorVersion": { - "description": "Application stack minor version.", - "type": "object", - "properties": { - "displayVersion": { - "description": "Application stack minor version (display only).", - "type": "string" - }, - "runtimeVersion": { - "description": "Application stack minor version (runtime only).", - "type": "string" - }, - "isDefault": { - "description": "true if this is the default minor version; otherwise, false.", - "type": "boolean" - }, - "isRemoteDebuggingEnabled": { - "description": "true if this supports Remote Debugging, otherwise false.", - "type": "boolean" - } - } - }, - "WebAppMajorVersion": { - "description": "Web App stack major version.", - "type": "object", - "properties": { - "displayText": { - "description": "Web App stack major version (display only).", - "type": "string", - "readOnly": true - }, - "value": { - "description": "Web App stack major version name.", - "type": "string", - "readOnly": true - }, - "minorVersions": { - "description": "Minor versions associated with the major version.", - "type": "array", - "items": { - "$ref": "#/definitions/WebAppMinorVersion" - }, - "readOnly": true, - "x-ms-identifiers": [ - "value" - ] - } - } - }, - "WebAppMinorVersion": { - "description": "Web App stack minor version.", - "type": "object", - "properties": { - "displayText": { - "description": "Web App stack minor version (display only).", - "type": "string", - "readOnly": true - }, - "value": { - "description": "Web App stack major version name.", - "type": "string", - "readOnly": true - }, - "stackSettings": { - "$ref": "#/definitions/WebAppRuntimes", - "description": "Settings associated with the minor version.", - "readOnly": true - } - } - }, - "WebAppRuntimeSettings": { - "description": "Web App runtime settings.", - "type": "object", - "properties": { - "runtimeVersion": { - "description": "Web App stack minor version (runtime only).", - "type": "string", - "readOnly": true - }, - "remoteDebuggingSupported": { - "description": "true if remote debugging is supported for the stack; otherwise, false.", - "type": "boolean", - "readOnly": true - }, - "appInsightsSettings": { - "$ref": "#/definitions/AppInsightsWebAppStackSettings", - "description": "Application Insights settings associated with the minor version.", - "readOnly": true - }, - "gitHubActionSettings": { - "$ref": "#/definitions/GitHubActionWebAppStackSettings", - "description": "GitHub Actions settings associated with the minor version.", - "readOnly": true - }, - "isPreview": { - "description": "true if the stack is in preview; otherwise, false.", - "type": "boolean", - "readOnly": true - }, - "isDeprecated": { - "description": "true if the stack is deprecated; otherwise, false.", - "type": "boolean", - "readOnly": true - }, - "isHidden": { - "description": "true if the stack should be hidden; otherwise, false.", - "type": "boolean", - "readOnly": true - }, - "endOfLifeDate": { - "format": "date-time", - "description": "End-of-life date for the minor version.", - "type": "string", - "readOnly": true - }, - "isAutoUpdate": { - "description": "true if the stack version is auto-updated; otherwise, false.", - "type": "boolean", - "readOnly": true - }, - "isEarlyAccess": { - "description": "true if the minor version is early-access; otherwise, false.", - "type": "boolean", - "readOnly": true - } - } - }, - "WebAppRuntimes": { - "description": "Web App stack runtimes.", - "type": "object", - "properties": { - "linuxRuntimeSettings": { - "$ref": "#/definitions/WebAppRuntimeSettings", - "description": "Linux-specific settings associated with the minor version.", - "readOnly": true - }, - "windowsRuntimeSettings": { - "$ref": "#/definitions/WebAppRuntimeSettings", - "description": "Windows-specific settings associated with the minor version.", - "readOnly": true - }, - "linuxContainerSettings": { - "$ref": "#/definitions/LinuxJavaContainerSettings", - "description": "Linux-specific settings associated with the Java container minor version.", - "readOnly": true - }, - "windowsContainerSettings": { - "$ref": "#/definitions/WindowsJavaContainerSettings", - "description": "Windows-specific settings associated with the Java container minor version.", - "readOnly": true - } - } - }, - "WebAppStack": { - "description": "Web App stack.", - "type": "object", - "allOf": [ - { - "$ref": "./CommonDefinitions.json#/definitions/ProxyOnlyResource" - } - ], - "properties": { - "location": { - "description": "Web App stack location.", - "type": "string", - "readOnly": true - }, - "properties": { - "description": "WebAppStack resource specific properties", - "type": "object", - "properties": { - "displayText": { - "description": "Web App stack (display only).", - "type": "string", - "readOnly": true - }, - "value": { - "description": "Web App stack name.", - "type": "string", - "readOnly": true - }, - "majorVersions": { - "description": "List of major versions available.", - "type": "array", - "items": { - "$ref": "#/definitions/WebAppMajorVersion" - }, - "readOnly": true, - "x-ms-identifiers": [ - "value" - ] - }, - "preferredOs": { - "description": "Web App stack preferred OS.", - "enum": [ - "Windows", - "Linux" - ], - "type": "string", - "readOnly": true, - "x-ms-enum": { - "name": "StackPreferredOs", - "modelAsString": false - } - } - }, - "x-ms-client-flatten": true - } - } - }, - "WebAppStackCollection": { - "description": "Collection of Web app Stacks", - "required": [ - "value" - ], - "type": "object", - "properties": { - "value": { - "description": "Collection of resources.", - "type": "array", - "items": { - "$ref": "#/definitions/WebAppStack" - } - }, - "nextLink": { - "description": "Link to next page of resources.", - "type": "string", - "readOnly": true - } - } - }, - "WindowsJavaContainerSettings": { - "description": "Windows Java Container settings.", - "type": "object", - "properties": { - "javaContainer": { - "description": "Java container (runtime only).", - "type": "string", - "readOnly": true - }, - "javaContainerVersion": { - "description": "Java container version (runtime only).", - "type": "string", - "readOnly": true - }, - "isPreview": { - "description": "true if the stack is in preview; otherwise, false.", - "type": "boolean", - "readOnly": true - }, - "isDeprecated": { - "description": "true if the stack is deprecated; otherwise, false.", - "type": "boolean", - "readOnly": true - }, - "isHidden": { - "description": "true if the stack should be hidden; otherwise, false.", - "type": "boolean", - "readOnly": true - }, - "endOfLifeDate": { - "format": "date-time", - "description": "End-of-life date for the minor version.", - "type": "string", - "readOnly": true - }, - "isAutoUpdate": { - "description": "true if the stack version is auto-updated; otherwise, false.", - "type": "boolean", - "readOnly": true - }, - "isEarlyAccess": { - "description": "true if the minor version is early-access; otherwise, false.", - "type": "boolean", - "readOnly": true - } - } - } - }, - "parameters": { - "subscriptionIdParameter": { - "name": "subscriptionId", - "in": "path", - "description": "Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000).", - "required": true, - "type": "string", - "x-ms-parameter-location": "client" - }, - "apiVersionParameter": { - "name": "api-version", - "in": "query", - "description": "API Version", - "required": true, - "type": "string", - "x-ms-parameter-location": "client" - }, - "osTypeSelectedParameter": { - "name": "osTypeSelected", - "in": "query", - "type": "string", - "enum": [ - "Windows", - "Linux", - "WindowsFunctions", - "LinuxFunctions", - "All" - ], - "x-ms-enum": { - "name": "ProviderOsTypeSelected", - "modelAsString": true - }, - "x-ms-parameter-location": "method" - }, - "stackOsTypeParameter": { - "name": "stackOsType", - "in": "query", - "description": "Stack OS Type", - "type": "string", - "enum": [ - "Windows", - "Linux", - "All" - ], - "x-ms-enum": { - "name": "ProviderStackOsType", - "modelAsString": true - }, - "x-ms-parameter-location": "method" - } - }, - "securityDefinitions": { - "azure_auth": { - "type": "oauth2", - "description": "Azure Active Directory OAuth2 Flow", - "flow": "implicit", - "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", - "scopes": { - "user_impersonation": "impersonate your user account" - } - } - }, - "security": [ - { - "azure_auth": [ - "user_impersonation" - ] - } - ] -} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/Recommendations.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/Recommendations.json deleted file mode 100644 index 36596b34dd0a..000000000000 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/Recommendations.json +++ /dev/null @@ -1,1076 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "version": "2025-03-01", - "title": "Recommendations API Client" - }, - "host": "management.azure.com", - "schemes": [ - "https" - ], - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "paths": { - "/subscriptions/{subscriptionId}/providers/Microsoft.Web/recommendations": { - "get": { - "tags": [ - "Recommendations" - ], - "summary": "List all recommendations for a subscription.", - "description": "Description for List all recommendations for a subscription.", - "operationId": "Recommendations_List", - "parameters": [ - { - "name": "featured", - "in": "query", - "description": "Specify true to return only the most critical recommendations. The default is false, which returns all recommendations.", - "type": "boolean" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - }, - { - "name": "$filter", - "in": "query", - "description": "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]", - "type": "string", - "x-ms-skip-url-encoding": true - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/RecommendationCollection" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Web/recommendations/reset": { - "post": { - "tags": [ - "Recommendations" - ], - "summary": "Reset all recommendation opt-out settings for a subscription.", - "description": "Description for Reset all recommendation opt-out settings for a subscription.", - "operationId": "Recommendations_ResetAllFilters", - "parameters": [ - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "204": { - "description": "No Content" - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Web/recommendations/{name}/disable": { - "post": { - "tags": [ - "Recommendations" - ], - "summary": "Disables the specified rule so it will not apply to a subscription in the future.", - "description": "Description for Disables the specified rule so it will not apply to a subscription in the future.", - "operationId": "Recommendations_DisableRecommendationForSubscription", - "parameters": [ - { - "name": "name", - "in": "path", - "description": "Rule name", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Successfully disabled recommendations." - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{hostingEnvironmentName}/recommendationHistory": { - "get": { - "tags": [ - "Recommendations" - ], - "summary": "Get past recommendations for an app, optionally specified by the time range.", - "description": "Description for Get past recommendations for an app, optionally specified by the time range.", - "operationId": "Recommendations_ListHistoryForHostingEnvironment", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "hostingEnvironmentName", - "in": "path", - "description": "Name of the hosting environment.", - "required": true, - "type": "string" - }, - { - "name": "expiredOnly", - "in": "query", - "description": "Specify false to return all recommendations. The default is true, which returns only expired recommendations.", - "type": "boolean" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - }, - { - "name": "$filter", - "in": "query", - "description": "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]", - "type": "string", - "x-ms-skip-url-encoding": true - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/RecommendationCollection" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{hostingEnvironmentName}/recommendations": { - "get": { - "tags": [ - "Recommendations" - ], - "summary": "Get all recommendations for a hosting environment.", - "description": "Description for Get all recommendations for a hosting environment.", - "operationId": "Recommendations_ListRecommendedRulesForHostingEnvironment", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "hostingEnvironmentName", - "in": "path", - "description": "Name of the app.", - "required": true, - "type": "string" - }, - { - "name": "featured", - "in": "query", - "description": "Specify true to return only the most critical recommendations. The default is false, which returns all recommendations.", - "type": "boolean" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - }, - { - "name": "$filter", - "in": "query", - "description": "Return only channels specified in the filter. Filter is specified by using OData syntax. Example: $filter=channel eq 'Api' or channel eq 'Notification'", - "type": "string", - "x-ms-skip-url-encoding": true - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/RecommendationCollection" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{hostingEnvironmentName}/recommendations/disable": { - "post": { - "tags": [ - "Recommendations" - ], - "summary": "Disable all recommendations for an app.", - "description": "Description for Disable all recommendations for an app.", - "operationId": "Recommendations_DisableAllForHostingEnvironment", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "environmentName", - "in": "query", - "description": "Name of the app.", - "required": true, - "type": "string" - }, - { - "name": "hostingEnvironmentName", - "in": "path", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "204": { - "description": "No Content" - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{hostingEnvironmentName}/recommendations/reset": { - "post": { - "tags": [ - "Recommendations" - ], - "summary": "Reset all recommendation opt-out settings for an app.", - "description": "Description for Reset all recommendation opt-out settings for an app.", - "operationId": "Recommendations_ResetAllFiltersForHostingEnvironment", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "environmentName", - "in": "query", - "description": "Name of the app.", - "required": true, - "type": "string" - }, - { - "name": "hostingEnvironmentName", - "in": "path", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "204": { - "description": "No Content" - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{hostingEnvironmentName}/recommendations/{name}": { - "get": { - "tags": [ - "Recommendations" - ], - "summary": "Get a recommendation rule for an app.", - "description": "Description for Get a recommendation rule for an app.", - "operationId": "Recommendations_GetRuleDetailsByHostingEnvironment", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "hostingEnvironmentName", - "in": "path", - "description": "Name of the hosting environment.", - "required": true, - "type": "string" - }, - { - "name": "name", - "in": "path", - "description": "Name of the recommendation.", - "required": true, - "type": "string" - }, - { - "name": "updateSeen", - "in": "query", - "description": "Specify true to update the last-seen timestamp of the recommendation object.", - "type": "boolean" - }, - { - "name": "recommendationId", - "in": "query", - "description": "The GUID of the recommendation object if you query an expired one. You don't need to specify it to query an active entry.", - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/RecommendationRule" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{hostingEnvironmentName}/recommendations/{name}/disable": { - "post": { - "tags": [ - "Recommendations" - ], - "summary": "Disables the specific rule for a web site permanently.", - "description": "Description for Disables the specific rule for a web site permanently.", - "operationId": "Recommendations_DisableRecommendationForHostingEnvironment", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "environmentName", - "in": "query", - "description": "Site name", - "required": true, - "type": "string" - }, - { - "name": "name", - "in": "path", - "description": "Rule name", - "required": true, - "type": "string" - }, - { - "name": "hostingEnvironmentName", - "in": "path", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Successfully disabled recommendations." - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/recommendationHistory": { - "get": { - "tags": [ - "Recommendations" - ], - "summary": "Get past recommendations for an app, optionally specified by the time range.", - "description": "Description for Get past recommendations for an app, optionally specified by the time range.", - "operationId": "Recommendations_ListHistoryForWebApp", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "siteName", - "in": "path", - "description": "Name of the app.", - "required": true, - "type": "string" - }, - { - "name": "expiredOnly", - "in": "query", - "description": "Specify false to return all recommendations. The default is true, which returns only expired recommendations.", - "type": "boolean" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - }, - { - "name": "$filter", - "in": "query", - "description": "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]", - "type": "string", - "x-ms-skip-url-encoding": true - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/RecommendationCollection" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/recommendations": { - "get": { - "tags": [ - "Recommendations" - ], - "summary": "Get all recommendations for an app.", - "description": "Description for Get all recommendations for an app.", - "operationId": "Recommendations_ListRecommendedRulesForWebApp", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "siteName", - "in": "path", - "description": "Name of the app.", - "required": true, - "type": "string" - }, - { - "name": "featured", - "in": "query", - "description": "Specify true to return only the most critical recommendations. The default is false, which returns all recommendations.", - "type": "boolean" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - }, - { - "name": "$filter", - "in": "query", - "description": "Return only channels specified in the filter. Filter is specified by using OData syntax. Example: $filter=channel eq 'Api' or channel eq 'Notification'", - "type": "string", - "x-ms-skip-url-encoding": true - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/RecommendationCollection" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/recommendations/disable": { - "post": { - "tags": [ - "Recommendations" - ], - "summary": "Disable all recommendations for an app.", - "description": "Description for Disable all recommendations for an app.", - "operationId": "Recommendations_DisableAllForWebApp", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "siteName", - "in": "path", - "description": "Name of the app.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "204": { - "description": "No Content" - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/recommendations/reset": { - "post": { - "tags": [ - "Recommendations" - ], - "summary": "Reset all recommendation opt-out settings for an app.", - "description": "Description for Reset all recommendation opt-out settings for an app.", - "operationId": "Recommendations_ResetAllFiltersForWebApp", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "siteName", - "in": "path", - "description": "Name of the app.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "204": { - "description": "No Content" - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/recommendations/{name}": { - "get": { - "tags": [ - "Recommendations" - ], - "summary": "Get a recommendation rule for an app.", - "description": "Description for Get a recommendation rule for an app.", - "operationId": "Recommendations_GetRuleDetailsByWebApp", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "siteName", - "in": "path", - "description": "Name of the app.", - "required": true, - "type": "string" - }, - { - "name": "name", - "in": "path", - "description": "Name of the recommendation.", - "required": true, - "type": "string" - }, - { - "name": "updateSeen", - "in": "query", - "description": "Specify true to update the last-seen timestamp of the recommendation object.", - "type": "boolean" - }, - { - "name": "recommendationId", - "in": "query", - "description": "The GUID of the recommendation object if you query an expired one. You don't need to specify it to query an active entry.", - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/RecommendationRule" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/recommendations/{name}/disable": { - "post": { - "tags": [ - "Recommendations" - ], - "summary": "Disables the specific rule for a web site permanently.", - "description": "Description for Disables the specific rule for a web site permanently.", - "operationId": "Recommendations_DisableRecommendationForSite", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "siteName", - "in": "path", - "description": "Site name", - "required": true, - "type": "string" - }, - { - "name": "name", - "in": "path", - "description": "Rule name", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Successfully disabled recommendations." - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - } - } - }, - "definitions": { - "Recommendation": { - "description": "Represents a recommendation result generated by the recommendation engine.", - "type": "object", - "allOf": [ - { - "$ref": "./CommonDefinitions.json#/definitions/ProxyOnlyResource" - } - ], - "properties": { - "properties": { - "description": "Recommendation resource specific properties", - "type": "object", - "properties": { - "creationTime": { - "format": "date-time", - "description": "Timestamp when this instance was created.", - "type": "string" - }, - "recommendationId": { - "format": "uuid", - "description": "A GUID value that each recommendation object is associated with.", - "type": "string", - "example": "00000000-0000-0000-0000-000000000000" - }, - "resourceId": { - "description": "Full ARM resource ID string that this recommendation object is associated with.", - "type": "string" - }, - "resourceScope": { - "description": "Name of a resource type this recommendation applies, e.g. Subscription, ServerFarm, Site.", - "enum": [ - "ServerFarm", - "Subscription", - "WebSite" - ], - "type": "string", - "x-ms-enum": { - "name": "ResourceScopeType", - "modelAsString": true - } - }, - "ruleName": { - "description": "Unique name of the rule.", - "type": "string" - }, - "displayName": { - "description": "UI friendly name of the rule (may not be unique).", - "type": "string" - }, - "message": { - "description": "Recommendation text.", - "type": "string" - }, - "level": { - "description": "Level indicating how critical this recommendation can impact.", - "enum": [ - "Critical", - "Warning", - "Information", - "NonUrgentSuggestion" - ], - "type": "string", - "x-ms-enum": { - "name": "NotificationLevel", - "modelAsString": false - } - }, - "channels": { - "description": "List of channels that this recommendation can apply.", - "enum": [ - "Notification", - "Api", - "Email", - "Webhook", - "All" - ], - "type": "string", - "x-ms-enum": { - "name": "Channels", - "modelAsString": false - } - }, - "categoryTags": { - "description": "The list of category tags that this recommendation belongs to.", - "type": "array", - "items": { - "type": "string" - }, - "readOnly": true - }, - "actionName": { - "description": "Name of action recommended by this object.", - "type": "string" - }, - "enabled": { - "format": "int32", - "description": "True if this recommendation is still valid (i.e. \"actionable\"). False if it is invalid.", - "type": "integer" - }, - "states": { - "description": "The list of states of this recommendation. If it's null then it should be considered \"Active\".", - "type": "array", - "items": { - "type": "string" - } - }, - "startTime": { - "format": "date-time", - "description": "The beginning time in UTC of a range that the recommendation refers to.", - "type": "string" - }, - "endTime": { - "format": "date-time", - "description": "The end time in UTC of a range that the recommendation refers to.", - "type": "string" - }, - "nextNotificationTime": { - "format": "date-time", - "description": "When to notify this recommendation next in UTC. Null means that this will never be notified anymore.", - "type": "string" - }, - "notificationExpirationTime": { - "format": "date-time", - "description": "Date and time in UTC when this notification expires.", - "type": "string" - }, - "notifiedTime": { - "format": "date-time", - "description": "Last timestamp in UTC this instance was actually notified. Null means that this recommendation hasn't been notified yet.", - "type": "string" - }, - "score": { - "format": "double", - "description": "A metric value measured by the rule.", - "type": "number" - }, - "isDynamic": { - "description": "True if this is associated with a dynamically added rule", - "type": "boolean" - }, - "extensionName": { - "description": "Extension name of the portal if exists.", - "type": "string" - }, - "bladeName": { - "description": "Deep link to a blade on the portal.", - "type": "string" - }, - "forwardLink": { - "description": "Forward link to an external document associated with the rule.", - "type": "string" - } - }, - "x-ms-client-flatten": true - } - } - }, - "RecommendationCollection": { - "description": "Collection of recommendations.", - "required": [ - "value" - ], - "type": "object", - "properties": { - "value": { - "description": "Collection of resources.", - "type": "array", - "items": { - "$ref": "#/definitions/Recommendation" - } - }, - "nextLink": { - "description": "Link to next page of resources.", - "type": "string", - "readOnly": true - } - } - }, - "RecommendationRule": { - "description": "Represents a recommendation rule that the recommendation engine can perform.", - "type": "object", - "allOf": [ - { - "$ref": "./CommonDefinitions.json#/definitions/ProxyOnlyResource" - } - ], - "properties": { - "properties": { - "description": "RecommendationRule resource specific properties", - "type": "object", - "properties": { - "recommendationName": { - "description": "Unique name of the rule.", - "type": "string" - }, - "displayName": { - "description": "UI friendly name of the rule.", - "type": "string" - }, - "message": { - "description": "Localized name of the rule (Good for UI).", - "type": "string" - }, - "recommendationId": { - "format": "uuid", - "description": "Recommendation ID of an associated recommendation object tied to the rule, if exists.\nIf such an object doesn't exist, it is set to null.", - "type": "string", - "example": "00000000-0000-0000-0000-000000000000" - }, - "description": { - "description": "Localized detailed description of the rule.", - "type": "string" - }, - "actionName": { - "description": "Name of action that is recommended by this rule in string.", - "type": "string" - }, - "level": { - "description": "Level of impact indicating how critical this rule is.", - "enum": [ - "Critical", - "Warning", - "Information", - "NonUrgentSuggestion" - ], - "type": "string", - "x-ms-enum": { - "name": "NotificationLevel", - "modelAsString": false - } - }, - "channels": { - "description": "List of available channels that this rule applies.", - "enum": [ - "Notification", - "Api", - "Email", - "Webhook", - "All" - ], - "type": "string", - "x-ms-enum": { - "name": "Channels", - "modelAsString": false - } - }, - "categoryTags": { - "description": "The list of category tags that this recommendation rule belongs to.", - "type": "array", - "items": { - "type": "string" - }, - "readOnly": true - }, - "isDynamic": { - "description": "True if this is associated with a dynamically added rule", - "type": "boolean" - }, - "extensionName": { - "description": "Extension name of the portal if exists. Applicable to dynamic rule only.", - "type": "string" - }, - "bladeName": { - "description": "Deep link to a blade on the portal. Applicable to dynamic rule only.", - "type": "string" - }, - "forwardLink": { - "description": "Forward link to an external document associated with the rule. Applicable to dynamic rule only.", - "type": "string" - } - }, - "x-ms-client-flatten": true - } - } - } - }, - "parameters": { - "subscriptionIdParameter": { - "name": "subscriptionId", - "in": "path", - "description": "Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000).", - "required": true, - "type": "string", - "x-ms-parameter-location": "client" - }, - "resourceGroupNameParameter": { - "name": "resourceGroupName", - "in": "path", - "description": "Name of the resource group to which the resource belongs.", - "required": true, - "type": "string", - "maxLength": 90, - "minLength": 1, - "pattern": "^[-\\w\\._\\(\\)]+[^\\.]$", - "x-ms-parameter-location": "method" - }, - "apiVersionParameter": { - "name": "api-version", - "in": "query", - "description": "API Version", - "required": true, - "type": "string", - "x-ms-parameter-location": "client" - } - }, - "securityDefinitions": { - "azure_auth": { - "type": "oauth2", - "description": "Azure Active Directory OAuth2 Flow", - "flow": "implicit", - "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", - "scopes": { - "user_impersonation": "impersonate your user account" - } - } - }, - "security": [ - { - "azure_auth": [ - "user_impersonation" - ] - } - ] -} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/ResourceHealthMetadata.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/ResourceHealthMetadata.json deleted file mode 100644 index 9cf96df6198a..000000000000 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/ResourceHealthMetadata.json +++ /dev/null @@ -1,406 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "version": "2025-03-01", - "title": "ResourceHealthMetadata API Client" - }, - "host": "management.azure.com", - "schemes": [ - "https" - ], - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "paths": { - "/subscriptions/{subscriptionId}/providers/Microsoft.Web/resourceHealthMetadata": { - "get": { - "tags": [ - "ResourceHealthMetadata" - ], - "summary": "List all ResourceHealthMetadata for all sites in the subscription.", - "description": "Description for List all ResourceHealthMetadata for all sites in the subscription.", - "operationId": "ResourceHealthMetadata_List", - "parameters": [ - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/ResourceHealthMetadataCollection" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "List ResourceHealthMetadata for a subscription": { - "$ref": "./examples/ListResourceHealthMetadataBySubscription.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/resourceHealthMetadata": { - "get": { - "tags": [ - "ResourceHealthMetadata" - ], - "summary": "List all ResourceHealthMetadata for all sites in the resource group in the subscription.", - "description": "Description for List all ResourceHealthMetadata for all sites in the resource group in the subscription.", - "operationId": "ResourceHealthMetadata_ListByResourceGroup", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/ResourceHealthMetadataCollection" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "List ResourceHealthMetadata for a resource group": { - "$ref": "./examples/ListResourceHealthMetadataByResourceGroup.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/resourceHealthMetadata": { - "get": { - "tags": [ - "ResourceHealthMetadata" - ], - "summary": "Gets the category of ResourceHealthMetadata to use for the given site as a collection", - "description": "Description for Gets the category of ResourceHealthMetadata to use for the given site as a collection", - "operationId": "ResourceHealthMetadata_ListBySite", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of web app.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/ResourceHealthMetadataCollection" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "List ResourceHealthMetadata for a site": { - "$ref": "./examples/ListResourceHealthMetadataBySite.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/resourceHealthMetadata/default": { - "get": { - "tags": [ - "ResourceHealthMetadata" - ], - "summary": "Gets the category of ResourceHealthMetadata to use for the given site", - "description": "Description for Gets the category of ResourceHealthMetadata to use for the given site", - "operationId": "ResourceHealthMetadata_GetBySite", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of web app", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/ResourceHealthMetadata" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "Get ResourceHealthMetadata": { - "$ref": "./examples/GetResourceHealthMetadataBySite.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/resourceHealthMetadata": { - "get": { - "tags": [ - "ResourceHealthMetadata" - ], - "summary": "Gets the category of ResourceHealthMetadata to use for the given site as a collection", - "description": "Description for Gets the category of ResourceHealthMetadata to use for the given site as a collection", - "operationId": "ResourceHealthMetadata_ListBySiteSlot", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of web app.", - "required": true, - "type": "string" - }, - { - "name": "slot", - "in": "path", - "description": "Name of web app slot. If not specified then will default to production slot.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/ResourceHealthMetadataCollection" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "List ResourceHealthMetadata for a site": { - "$ref": "./examples/ListResourceHealthMetadataBySite.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/resourceHealthMetadata/default": { - "get": { - "tags": [ - "ResourceHealthMetadata" - ], - "summary": "Gets the category of ResourceHealthMetadata to use for the given site", - "description": "Description for Gets the category of ResourceHealthMetadata to use for the given site", - "operationId": "ResourceHealthMetadata_GetBySiteSlot", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of web app", - "required": true, - "type": "string" - }, - { - "name": "slot", - "in": "path", - "description": "Name of web app slot. If not specified then will default to production slot.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/ResourceHealthMetadata" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "Get ResourceHealthMetadata": { - "$ref": "./examples/GetResourceHealthMetadataBySite.json" - } - } - } - } - }, - "definitions": { - "ResourceHealthMetadata": { - "description": "Used for getting ResourceHealthCheck settings.", - "type": "object", - "allOf": [ - { - "$ref": "./CommonDefinitions.json#/definitions/ProxyOnlyResource" - } - ], - "properties": { - "properties": { - "description": "ResourceHealthMetadata resource specific properties", - "type": "object", - "properties": { - "category": { - "description": "The category that the resource matches in the RHC Policy File", - "type": "string" - }, - "signalAvailability": { - "description": "Is there a health signal for the resource", - "type": "boolean" - } - }, - "x-ms-client-flatten": true - } - } - }, - "ResourceHealthMetadataCollection": { - "description": "Collection of resource health metadata.", - "required": [ - "value" - ], - "type": "object", - "properties": { - "value": { - "description": "Collection of resources.", - "type": "array", - "items": { - "$ref": "#/definitions/ResourceHealthMetadata" - } - }, - "nextLink": { - "description": "Link to next page of resources.", - "type": "string", - "readOnly": true - } - } - } - }, - "parameters": { - "subscriptionIdParameter": { - "name": "subscriptionId", - "in": "path", - "description": "Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000).", - "required": true, - "type": "string", - "x-ms-parameter-location": "client" - }, - "resourceGroupNameParameter": { - "name": "resourceGroupName", - "in": "path", - "description": "Name of the resource group to which the resource belongs.", - "required": true, - "type": "string", - "maxLength": 90, - "minLength": 1, - "pattern": "^[-\\w\\._\\(\\)]+[^\\.]$", - "x-ms-parameter-location": "method" - }, - "apiVersionParameter": { - "name": "api-version", - "in": "query", - "description": "API Version", - "required": true, - "type": "string", - "x-ms-parameter-location": "client" - } - }, - "securityDefinitions": { - "azure_auth": { - "type": "oauth2", - "description": "Azure Active Directory OAuth2 Flow", - "flow": "implicit", - "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", - "scopes": { - "user_impersonation": "impersonate your user account" - } - } - }, - "security": [ - { - "azure_auth": [ - "user_impersonation" - ] - } - ] -} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/ResourceProvider.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/ResourceProvider.json deleted file mode 100644 index 2d985b253cf5..000000000000 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/ResourceProvider.json +++ /dev/null @@ -1,1793 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "version": "2025-03-01", - "title": " API Client" - }, - "host": "management.azure.com", - "schemes": [ - "https" - ], - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "paths": { - "/providers/Microsoft.Web/publishingUsers/web": { - "get": { - "summary": "Gets publishing user", - "description": "Description for Gets publishing user", - "operationId": "GetPublishingUser", - "parameters": [ - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/User" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - }, - "put": { - "summary": "Updates publishing user", - "description": "Description for Updates publishing user", - "operationId": "UpdatePublishingUser", - "parameters": [ - { - "name": "userDetails", - "in": "body", - "description": "Details of publishing user", - "required": true, - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/User" - } - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/User" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - } - }, - "/providers/Microsoft.Web/sourcecontrols": { - "get": { - "summary": "Gets the source controls available for Azure websites.", - "description": "Description for Gets the source controls available for Azure websites.", - "operationId": "ListSourceControls", - "parameters": [ - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/SourceControlCollection" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/providers/Microsoft.Web/sourcecontrols/{sourceControlType}": { - "get": { - "summary": "Gets source control token", - "description": "Description for Gets source control token", - "operationId": "GetSourceControl", - "parameters": [ - { - "name": "sourceControlType", - "in": "path", - "description": "Type of source control", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/SourceControl" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - }, - "put": { - "summary": "Updates source control token", - "description": "Description for Updates source control token", - "operationId": "UpdateSourceControl", - "parameters": [ - { - "name": "sourceControlType", - "in": "path", - "description": "Type of source control", - "required": true, - "type": "string" - }, - { - "name": "requestMessage", - "in": "body", - "description": "Source control token information", - "required": true, - "schema": { - "$ref": "#/definitions/SourceControl" - } - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/SourceControl" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Web/billingMeters": { - "get": { - "summary": "Gets a list of meters for a given location.", - "description": "Description for Gets a list of meters for a given location.", - "operationId": "ListBillingMeters", - "parameters": [ - { - "name": "billingLocation", - "in": "query", - "description": "Azure Location of billable resource", - "type": "string" - }, - { - "name": "osType", - "in": "query", - "description": "App Service OS type meters used for", - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/BillingMeterCollection" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Web/checknameavailability": { - "post": { - "summary": "Check if a resource name is available.", - "description": "Description for Check if a resource name is available.", - "operationId": "CheckNameAvailability", - "parameters": [ - { - "name": "request", - "in": "body", - "description": "Name availability request.", - "required": true, - "schema": { - "$ref": "#/definitions/ResourceNameAvailabilityRequest" - }, - "x-ms-client-flatten": true - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/ResourceNameAvailability" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Web/customhostnameSites": { - "get": { - "summary": "Get custom hostnames under this subscription", - "operationId": "ListCustomHostNameSites", - "parameters": [ - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/hostnameParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/CustomHostnameSitesCollection" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "Get custom hostnames under subscription": { - "$ref": "./examples/ListCustomHostNameSites.json" - }, - "Get specific custom hostname under subscription": { - "$ref": "./examples/ListCustomSpecificHostNameSites.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Web/deploymentLocations": { - "get": { - "summary": "Gets list of available geo regions plus ministamps", - "description": "Description for Gets list of available geo regions plus ministamps", - "operationId": "GetSubscriptionDeploymentLocations", - "parameters": [ - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/DeploymentLocations" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Web/aseRegions": { - "get": { - "summary": "Get a list of available ASE regions and its supported Skus.", - "description": "Description for get a list of available ASE regions and its supported Skus.", - "operationId": "ListAseRegions", - "parameters": [ - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/AseRegionCollection" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "List aseregions": { - "$ref": "./examples/ListAseRegions.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Web/geoRegions": { - "get": { - "summary": "Get a list of available geographical regions.", - "description": "Description for Get a list of available geographical regions.", - "operationId": "ListGeoRegions", - "parameters": [ - { - "name": "sku", - "in": "query", - "description": "Name of SKU used to filter the regions.", - "type": "string", - "enum": [ - "Free", - "Shared", - "Basic", - "Standard", - "Premium", - "Dynamic", - "Isolated", - "IsolatedV2", - "PremiumV2", - "PremiumV3", - "PremiumContainer", - "ElasticPremium", - "ElasticIsolated", - "FlexConsumption" - ], - "x-ms-enum": { - "name": "SkuName", - "modelAsString": true - } - }, - { - "name": "linuxWorkersEnabled", - "in": "query", - "description": "Specify true if you want to filter to only regions that support Linux workers.", - "type": "boolean" - }, - { - "name": "xenonWorkersEnabled", - "in": "query", - "description": "Specify true if you want to filter to only regions that support Xenon workers.", - "type": "boolean" - }, - { - "name": "linuxDynamicWorkersEnabled", - "in": "query", - "description": "Specify true if you want to filter to only regions that support Linux Consumption Workers.", - "type": "boolean" - }, - { - "name": "customModeWorkersEnabled ", - "in": "query", - "description": "Specify true if you want to filter to only regions that support App Service Plans with IsCustomMode set to true.", - "type": "boolean" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/GeoRegionCollection" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Web/listSitesAssignedToHostName": { - "post": { - "summary": "List all apps that are assigned to a hostname.", - "description": "Description for List all apps that are assigned to a hostname.", - "operationId": "ListSiteIdentifiersAssignedToHostName", - "parameters": [ - { - "name": "nameIdentifier", - "in": "body", - "description": "Hostname information.", - "required": true, - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/NameIdentifier" - } - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/IdentifierCollection" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Web/locations/{location}/checknameavailability": { - "post": { - "summary": "Check if a resource name is available for DNL sites.", - "operationId": "RegionalCheckNameAvailability", - "parameters": [ - { - "name": "location", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "request", - "in": "body", - "description": "Name availability request.", - "required": true, - "schema": { - "$ref": "#/definitions/DnlResourceNameAvailabilityRequest" - }, - "x-ms-client-flatten": true - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/DnlResourceNameAvailability" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Web/premieraddonoffers": { - "get": { - "summary": "List all premier add-on offers.", - "description": "Description for List all premier add-on offers.", - "operationId": "ListPremierAddOnOffers", - "parameters": [ - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/PremierAddOnOfferCollection" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Web/skus": { - "get": { - "summary": "List all SKUs.", - "description": "Description for List all SKUs.", - "operationId": "ListSkus", - "parameters": [ - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/SkuInfos" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Web/locations/{location}/usages": { - "get": { - "summary": "Lists subscription core usages for all skus used in a location, for a given type of quota.", - "description": "List usages in cores for all skus used by a subscription in a given location, for a specific quota type.", - "operationId": "GetUsagesInLocation_list", - "parameters": [ - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/LocationParameter" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/CsmUsageQuotaCollection" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "Get usages in location for subscription": { - "$ref": "./examples/GetUsagesInLocation.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Web/verifyHostingEnvironmentVnet": { - "post": { - "summary": "Verifies if this VNET is compatible with an App Service Environment by analyzing the Network Security Group rules.", - "description": "Description for Verifies if this VNET is compatible with an App Service Environment by analyzing the Network Security Group rules.", - "operationId": "VerifyHostingEnvironmentVnet", - "parameters": [ - { - "name": "parameters", - "in": "body", - "description": "VNET information", - "required": true, - "schema": { - "$ref": "#/definitions/VnetParameters" - } - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/VnetValidationFailureDetails" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "VerifyHostingEnvironmentVnet": { - "$ref": "./examples/VerifyHostingEnvironmentVnet.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/moveResources": { - "post": { - "summary": "Move resources between resource groups.", - "description": "Description for Move resources between resource groups.", - "operationId": "Move", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "moveResourceEnvelope", - "in": "body", - "description": "Object that represents the resource to move.", - "required": true, - "schema": { - "$ref": "#/definitions/CsmMoveResourceEnvelope" - } - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "204": { - "description": "No Content" - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/validate": { - "post": { - "summary": "Validate if a resource can be created.", - "description": "Description for Validate if a resource can be created.", - "operationId": "Validate", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "validateRequest", - "in": "body", - "description": "Request with the resources to validate.", - "required": true, - "schema": { - "$ref": "#/definitions/ValidateRequest" - } - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/ValidateResponse" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/validateMoveResources": { - "post": { - "summary": "Validate whether a resource can be moved.", - "description": "Description for Validate whether a resource can be moved.", - "operationId": "ValidateMove", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "moveResourceEnvelope", - "in": "body", - "description": "Object that represents the resource to move.", - "required": true, - "schema": { - "$ref": "#/definitions/CsmMoveResourceEnvelope" - } - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "204": { - "description": "No Content" - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - } - } - }, - "definitions": { - "AppserviceGithubToken": { - "description": "Github access token for Appservice CLI github integration.", - "type": "object", - "properties": { - "accessToken": { - "description": "Github access token for Appservice CLI github integration", - "type": "string" - }, - "scope": { - "description": "Scope of the github access token", - "type": "string" - }, - "tokenType": { - "description": "token type", - "type": "string" - }, - "gotToken": { - "description": "True if valid github token received, False otherwise", - "type": "boolean" - }, - "errorMessage": { - "description": "Error message if unable to get token", - "type": "string" - } - } - }, - "AppserviceGithubTokenRequest": { - "description": "Appservice Github token request content.", - "required": [ - "code", - "state" - ], - "type": "object", - "properties": { - "code": { - "description": "Code string to exchange for Github Access token", - "type": "string" - }, - "state": { - "description": "State string used for verification.", - "type": "string" - } - } - }, - "BillingMeter": { - "description": "App Service billing entity that contains information about meter which the Azure billing system utilizes to charge users for services.", - "type": "object", - "allOf": [ - { - "$ref": "./CommonDefinitions.json#/definitions/ProxyOnlyResource" - } - ], - "properties": { - "properties": { - "description": "BillingMeter resource specific properties", - "type": "object", - "properties": { - "meterId": { - "description": "Meter GUID onboarded in Commerce", - "type": "string" - }, - "billingLocation": { - "description": "Azure Location of billable resource", - "type": "string" - }, - "shortName": { - "description": "Short Name from App Service Azure pricing Page", - "type": "string" - }, - "friendlyName": { - "description": "Friendly name of the meter", - "type": "string" - }, - "resourceType": { - "description": "App Service ResourceType meter used for", - "type": "string" - }, - "osType": { - "description": "App Service OS type meter used for", - "type": "string" - }, - "multiplier": { - "format": "double", - "description": "Meter Multiplier", - "type": "number" - } - }, - "x-ms-client-flatten": true - } - } - }, - "BillingMeterCollection": { - "description": "Collection of Billing Meters", - "required": [ - "value" - ], - "type": "object", - "properties": { - "value": { - "description": "Collection of resources.", - "type": "array", - "items": { - "$ref": "#/definitions/BillingMeter" - } - }, - "nextLink": { - "description": "Link to next page of resources.", - "type": "string", - "readOnly": true - } - } - }, - "CsmMoveResourceEnvelope": { - "description": "Object with a list of the resources that need to be moved and the resource group they should be moved to.", - "type": "object", - "properties": { - "targetResourceGroup": { - "maxLength": 90, - "minLength": 1, - "pattern": " ^[-\\w\\._\\(\\)]+[^\\.]$", - "type": "string" - }, - "resources": { - "type": "array", - "items": { - "type": "string" - } - } - } - }, - "CustomHostnameSites": { - "description": "A hostname and its assigned sites", - "type": "object", - "allOf": [ - { - "$ref": "./CommonDefinitions.json#/definitions/ProxyOnlyResource" - } - ], - "properties": { - "properties": { - "description": "CustomHostnameSites resource specific properties", - "type": "object", - "properties": { - "customHostname": { - "type": "string" - }, - "region": { - "type": "string" - }, - "siteResourceIds": { - "type": "array", - "items": { - "$ref": "./CommonDefinitions.json#/definitions/Identifier" - } - } - }, - "x-ms-client-flatten": true - } - } - }, - "CustomHostnameSitesCollection": { - "description": "Collection of custom hostname sites", - "required": [ - "value" - ], - "type": "object", - "properties": { - "value": { - "description": "Collection of resources.", - "type": "array", - "items": { - "$ref": "#/definitions/CustomHostnameSites" - } - }, - "nextLink": { - "description": "Link to next page of resources.", - "type": "string", - "readOnly": true - } - } - }, - "DeploymentLocations": { - "description": "List of available locations (regions or App Service Environments) for\ndeployment of App Service resources.", - "type": "object", - "properties": { - "locations": { - "description": "Available regions.", - "type": "array", - "items": { - "$ref": "#/definitions/GeoRegion" - } - }, - "hostingEnvironments": { - "description": "Available App Service Environments with full descriptions of the environments.", - "type": "array", - "items": { - "$ref": "./CommonDefinitions.json#/definitions/AppServiceEnvironment" - }, - "x-ms-identifiers": [] - }, - "hostingEnvironmentDeploymentInfos": { - "description": "Available App Service Environments with basic information.", - "type": "array", - "items": { - "$ref": "#/definitions/HostingEnvironmentDeploymentInfo" - }, - "x-ms-identifiers": [ - "name" - ] - } - } - }, - "DnlResourceNameAvailability": { - "description": "Information regarding availability of a resource name for DNL apps with regionalized default hostnames.", - "type": "object", - "properties": { - "hostName": { - "type": "string" - }, - "nameAvailable": { - "description": "true indicates name is valid and available. false indicates the name is invalid, unavailable, or both.", - "type": "boolean" - }, - "reason": { - "description": "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.", - "enum": [ - "Invalid", - "AlreadyExists" - ], - "type": "string", - "x-ms-enum": { - "name": "InAvailabilityReasonType", - "modelAsString": true - } - }, - "message": { - "description": "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.", - "type": "string" - } - } - }, - "DnlResourceNameAvailabilityRequest": { - "required": [ - "name", - "type" - ], - "type": "object", - "properties": { - "resourceGroupName": { - "description": "Resource group name", - "type": "string" - }, - "autoGeneratedDomainNameLabelScope": { - "description": "Indicates the endpoint name reuse scope.The default value is TenantReuse.\nSupported values are TenantReuse, SubscriptionReuse, ResourceGroupReuse, NoReuse", - "type": "string" - }, - "name": { - "description": "Resource name to verify.", - "type": "string" - }, - "type": { - "description": "Resource type used for verification.", - "enum": [ - "Site", - "Slot", - "HostingEnvironment", - "PublishingUser", - "Microsoft.Web/sites", - "Microsoft.Web/sites/slots", - "Microsoft.Web/hostingEnvironments", - "Microsoft.Web/publishingUsers" - ], - "type": "string", - "x-ms-enum": { - "name": "CheckNameResourceTypes", - "modelAsString": true - } - } - } - }, - "AseRegion": { - "description": "ASE region.", - "type": "object", - "allOf": [ - { - "$ref": "./CommonDefinitions.json#/definitions/ProxyOnlyResource" - } - ], - "properties": { - "properties": { - "description": "ASE region resource specific properties", - "type": "object", - "properties": { - "displayName": { - "description": "Display name for region.", - "type": "string", - "readOnly": true - }, - "standard": { - "description": "Is region standard.", - "type": "boolean", - "readOnly": true - }, - "dedicatedHost": { - "description": "Dedicated host enabled.", - "type": "boolean", - "readOnly": true - }, - "zoneRedundant": { - "description": "Zone redundant deployment enabled.", - "type": "boolean", - "readOnly": true - }, - "availableSku": { - "description": "Available Skus in region.", - "type": "array", - "items": { - "type": "string" - } - }, - "availableOS": { - "description": "Available OSs in region.", - "type": "array", - "items": { - "type": "string" - } - } - }, - "x-ms-client-flatten": true - } - } - }, - "GeoRegion": { - "description": "Geographical region.", - "type": "object", - "allOf": [ - { - "$ref": "./CommonDefinitions.json#/definitions/ProxyOnlyResource" - } - ], - "properties": { - "properties": { - "description": "GeoRegion resource specific properties", - "type": "object", - "properties": { - "description": { - "description": "Region description.", - "type": "string", - "readOnly": true - }, - "displayName": { - "description": "Display name for region.", - "type": "string", - "readOnly": true - }, - "orgDomain": { - "description": "Display name for region.", - "type": "string", - "readOnly": true - } - }, - "x-ms-client-flatten": true - } - } - }, - "AseRegionCollection": { - "description": "Collection of ASE regions.", - "required": [ - "value" - ], - "type": "object", - "properties": { - "value": { - "description": "Collection of resources.", - "type": "array", - "items": { - "$ref": "#/definitions/AseRegion" - } - }, - "nextLink": { - "description": "Link to next page of resources.", - "type": "string", - "readOnly": true - } - } - }, - "GeoRegionCollection": { - "description": "Collection of geographical regions.", - "required": [ - "value" - ], - "type": "object", - "properties": { - "value": { - "description": "Collection of resources.", - "type": "array", - "items": { - "$ref": "#/definitions/GeoRegion" - } - }, - "nextLink": { - "description": "Link to next page of resources.", - "type": "string", - "readOnly": true - } - } - }, - "GlobalCsmSkuDescription": { - "description": "A Global SKU Description.", - "type": "object", - "properties": { - "name": { - "description": "Name of the resource SKU.", - "type": "string" - }, - "tier": { - "description": "Service Tier of the resource SKU.", - "type": "string" - }, - "size": { - "description": "Size specifier of the resource SKU.", - "type": "string" - }, - "family": { - "description": "Family code of the resource SKU.", - "type": "string" - }, - "capacity": { - "$ref": "./CommonDefinitions.json#/definitions/SkuCapacity", - "description": "Min, max, and default scale values of the SKU." - }, - "locations": { - "description": "Locations of the SKU.", - "type": "array", - "items": { - "type": "string" - } - }, - "capabilities": { - "description": "Capabilities of the SKU, e.g., is traffic manager enabled?", - "type": "array", - "items": { - "$ref": "./CommonDefinitions.json#/definitions/Capability" - }, - "x-ms-identifiers": [ - "name" - ] - } - } - }, - "HostingEnvironmentDeploymentInfo": { - "description": "Information needed to create resources on an App Service Environment.", - "type": "object", - "properties": { - "name": { - "description": "Name of the App Service Environment.", - "type": "string" - }, - "location": { - "description": "Location of the App Service Environment.", - "type": "string" - } - } - }, - "PremierAddOnOffer": { - "description": "Premier add-on offer.", - "type": "object", - "allOf": [ - { - "$ref": "./CommonDefinitions.json#/definitions/ProxyOnlyResource" - } - ], - "properties": { - "properties": { - "description": "PremierAddOnOffer resource specific properties", - "type": "object", - "properties": { - "sku": { - "description": "Premier add on SKU.", - "type": "string" - }, - "product": { - "description": "Premier add on offer Product.", - "type": "string" - }, - "vendor": { - "description": "Premier add on offer Vendor.", - "type": "string" - }, - "promoCodeRequired": { - "description": "true if promotion code is required; otherwise, false.", - "type": "boolean" - }, - "quota": { - "format": "int32", - "description": "Premier add on offer Quota.", - "type": "integer" - }, - "webHostingPlanRestrictions": { - "description": "App Service plans this offer is restricted to.", - "enum": [ - "None", - "Free", - "Shared", - "Basic", - "Standard", - "Premium" - ], - "type": "string", - "x-ms-enum": { - "name": "AppServicePlanRestrictions", - "modelAsString": false - } - }, - "privacyPolicyUrl": { - "description": "Privacy policy URL.", - "type": "string" - }, - "legalTermsUrl": { - "description": "Legal terms URL.", - "type": "string" - }, - "marketplacePublisher": { - "description": "Marketplace publisher.", - "type": "string" - }, - "marketplaceOffer": { - "description": "Marketplace offer.", - "type": "string" - } - }, - "x-ms-client-flatten": true - } - } - }, - "PremierAddOnOfferCollection": { - "description": "Collection of premier add-on offers.", - "required": [ - "value" - ], - "type": "object", - "properties": { - "value": { - "description": "Collection of resources.", - "type": "array", - "items": { - "$ref": "#/definitions/PremierAddOnOffer" - } - }, - "nextLink": { - "description": "Link to next page of resources.", - "type": "string", - "readOnly": true - } - } - }, - "ResourceNameAvailability": { - "description": "Information regarding availability of a resource name.", - "type": "object", - "properties": { - "nameAvailable": { - "description": "true indicates name is valid and available. false indicates the name is invalid, unavailable, or both.", - "type": "boolean" - }, - "reason": { - "description": "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.", - "enum": [ - "Invalid", - "AlreadyExists" - ], - "type": "string", - "x-ms-enum": { - "name": "InAvailabilityReasonType", - "modelAsString": true - } - }, - "message": { - "description": "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.", - "type": "string" - } - } - }, - "ResourceNameAvailabilityRequest": { - "description": "Resource name availability request content.", - "required": [ - "name", - "type" - ], - "type": "object", - "properties": { - "name": { - "description": "Resource name to verify.", - "type": "string" - }, - "type": { - "description": "Resource type used for verification.", - "enum": [ - "Site", - "Slot", - "HostingEnvironment", - "PublishingUser", - "Microsoft.Web/sites", - "Microsoft.Web/sites/slots", - "Microsoft.Web/hostingEnvironments", - "Microsoft.Web/publishingUsers" - ], - "type": "string", - "x-ms-enum": { - "name": "CheckNameResourceTypes", - "modelAsString": true - } - }, - "isFqdn": { - "description": "Is fully qualified domain name.", - "type": "boolean" - }, - "environmentId": { - "description": "Azure Resource Manager ID of the customer's selected Container Apps Environment on which to host the Function app. This must be of the form /subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.App/managedEnvironments/{managedEnvironmentName}", - "type": "string" - } - } - }, - "SkuInfos": { - "description": "Collection of SKU information.", - "type": "object", - "properties": { - "resourceType": { - "description": "Resource type that this SKU applies to.", - "type": "string" - }, - "skus": { - "description": "List of SKUs the subscription is able to use.", - "type": "array", - "items": { - "$ref": "#/definitions/GlobalCsmSkuDescription" - }, - "x-ms-identifiers": [ - "name" - ] - } - } - }, - "SourceControl": { - "description": "The source control OAuth token.", - "type": "object", - "allOf": [ - { - "$ref": "./CommonDefinitions.json#/definitions/ProxyOnlyResource" - } - ], - "properties": { - "properties": { - "description": "SourceControl resource specific properties", - "type": "object", - "properties": { - "token": { - "description": "OAuth access token.", - "type": "string" - }, - "tokenSecret": { - "description": "OAuth access token secret.", - "type": "string" - }, - "refreshToken": { - "description": "OAuth refresh token.", - "type": "string" - }, - "expirationTime": { - "format": "date-time", - "description": "OAuth token expiration.", - "type": "string" - } - }, - "x-ms-client-flatten": true - } - } - }, - "SourceControlCollection": { - "description": "Collection of source controls.", - "required": [ - "value" - ], - "type": "object", - "properties": { - "value": { - "description": "Collection of resources.", - "type": "array", - "items": { - "$ref": "#/definitions/SourceControl" - } - }, - "nextLink": { - "description": "Link to next page of resources.", - "type": "string", - "readOnly": true - } - } - }, - "ValidateProperties": { - "description": "App properties used for validation.", - "type": "object", - "properties": { - "serverFarmId": { - "description": "ARM resource ID of an App Service plan that would host the app.", - "type": "string" - }, - "skuName": { - "description": "Name of the target SKU for the App Service plan.", - "type": "string" - }, - "needLinuxWorkers": { - "description": "true if App Service plan is for Linux workers; otherwise, false.", - "type": "boolean" - }, - "isSpot": { - "description": "true if App Service plan is for Spot instances; otherwise, false.", - "type": "boolean" - }, - "capacity": { - "format": "int32", - "description": "Target capacity of the App Service plan (number of VMs).", - "minimum": 1, - "type": "integer" - }, - "hostingEnvironment": { - "description": "Name of App Service Environment where app or App Service plan should be created.", - "type": "string" - }, - "isXenon": { - "description": "true if App Service plan is running as a windows container", - "type": "boolean" - }, - "containerRegistryBaseUrl": { - "description": "Base URL of the container registry", - "type": "string" - }, - "containerRegistryUsername": { - "description": "Username for to access the container registry", - "type": "string" - }, - "containerRegistryPassword": { - "description": "Password for to access the container registry", - "type": "string" - }, - "containerImageRepository": { - "description": "Repository name (image name)", - "type": "string" - }, - "containerImageTag": { - "description": "Image tag", - "type": "string" - }, - "containerImagePlatform": { - "description": "Platform (windows or linux)", - "type": "string" - }, - "appServiceEnvironment": { - "$ref": "./CommonDefinitions.json#/definitions/AppServiceEnvironment", - "description": "App Service Environment Properties" - } - } - }, - "ValidateRequest": { - "description": "Resource validation request content.", - "required": [ - "name", - "type", - "location", - "properties" - ], - "type": "object", - "properties": { - "name": { - "description": "Resource name to verify.", - "type": "string" - }, - "type": { - "description": "Resource type used for verification.", - "enum": [ - "ServerFarm", - "Site", - "Microsoft.Web/hostingEnvironments" - ], - "type": "string", - "x-ms-enum": { - "name": "ValidateResourceTypes", - "modelAsString": true - } - }, - "location": { - "description": "Expected location of the resource.", - "type": "string" - }, - "properties": { - "$ref": "#/definitions/ValidateProperties", - "description": "Properties of the resource to validate.", - "x-ms-client-flatten": true - } - } - }, - "ValidateResponse": { - "description": "Describes the result of resource validation.", - "type": "object", - "properties": { - "status": { - "description": "Result of validation.", - "type": "string" - }, - "error": { - "$ref": "#/definitions/ValidateResponseError", - "description": "Error details for the case when validation fails." - } - } - }, - "ValidateResponseError": { - "description": "Error details for when validation fails.", - "type": "object", - "properties": { - "code": { - "description": "Validation error code.", - "type": "string" - }, - "message": { - "description": "Validation error message.", - "type": "string" - } - } - }, - "VnetParameters": { - "description": "The required set of inputs to validate a VNET", - "type": "object", - "allOf": [ - { - "$ref": "./CommonDefinitions.json#/definitions/ProxyOnlyResource" - } - ], - "properties": { - "properties": { - "description": "VnetParameters resource specific properties", - "type": "object", - "properties": { - "vnetResourceGroup": { - "description": "The Resource Group of the VNET to be validated", - "type": "string" - }, - "vnetName": { - "description": "The name of the VNET to be validated", - "type": "string" - }, - "vnetSubnetName": { - "description": "The subnet name to be validated", - "type": "string" - }, - "subnetResourceId": { - "description": "The ARM Resource ID of the subnet to validate", - "type": "string" - } - }, - "x-ms-client-flatten": true - } - } - }, - "VnetValidationFailureDetails": { - "description": "A class that describes the reason for a validation failure.", - "type": "object", - "allOf": [ - { - "$ref": "./CommonDefinitions.json#/definitions/ProxyOnlyResource" - } - ], - "properties": { - "properties": { - "description": "VnetValidationFailureDetails resource specific properties", - "type": "object", - "properties": { - "message": { - "description": "Text describing the validation outcome.", - "type": "string" - }, - "failed": { - "description": "A flag describing whether or not validation failed.", - "type": "boolean" - }, - "failedTests": { - "description": "A list of tests that failed in the validation.", - "type": "array", - "items": { - "$ref": "#/definitions/VnetValidationTestFailure" - } - }, - "warnings": { - "description": "A list of warnings generated during validation.", - "type": "array", - "items": { - "$ref": "#/definitions/VnetValidationTestFailure" - } - } - }, - "x-ms-client-flatten": true - } - } - }, - "VnetValidationTestFailure": { - "description": "A class that describes a test that failed during NSG and UDR validation.", - "type": "object", - "allOf": [ - { - "$ref": "./CommonDefinitions.json#/definitions/ProxyOnlyResource" - } - ], - "properties": { - "properties": { - "description": "VnetValidationTestFailure resource specific properties", - "type": "object", - "properties": { - "testName": { - "description": "The name of the test that failed.", - "type": "string" - }, - "details": { - "description": "The details of what caused the failure, e.g. the blocking rule name, etc.", - "type": "string" - } - }, - "x-ms-client-flatten": true - } - } - } - }, - "parameters": { - "subscriptionIdParameter": { - "name": "subscriptionId", - "in": "path", - "description": "Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000).", - "required": true, - "type": "string", - "x-ms-parameter-location": "client" - }, - "resourceGroupNameParameter": { - "name": "resourceGroupName", - "in": "path", - "description": "Name of the resource group to which the resource belongs.", - "required": true, - "type": "string", - "maxLength": 90, - "minLength": 1, - "pattern": "^[-\\w\\._\\(\\)]+[^\\.]$", - "x-ms-parameter-location": "method" - }, - "apiVersionParameter": { - "name": "api-version", - "in": "query", - "description": "API Version", - "required": true, - "type": "string", - "x-ms-parameter-location": "client" - }, - "hostnameParameter": { - "name": "hostname", - "in": "query", - "description": "Specific hostname", - "required": false, - "type": "string", - "x-ms-parameter-location": "method" - }, - "LocationParameter": { - "name": "location", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the Azure region.", - "minLength": 1, - "x-ms-parameter-location": "method" - } - }, - "securityDefinitions": { - "azure_auth": { - "type": "oauth2", - "description": "Azure Active Directory OAuth2 Flow", - "flow": "implicit", - "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", - "scopes": { - "user_impersonation": "impersonate your user account" - } - } - }, - "security": [ - { - "azure_auth": [ - "user_impersonation" - ] - } - ] -} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/SiteCertificates.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/SiteCertificates.json deleted file mode 100644 index 3311efa07c54..000000000000 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/SiteCertificates.json +++ /dev/null @@ -1,639 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "version": "2025-03-01", - "title": "SiteCertificates API Client" - }, - "host": "management.azure.com", - "schemes": [ - "https" - ], - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "paths": { - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/certificates": { - "get": { - "tags": [ - "SiteCertificates" - ], - "summary": "Get all certificates in a resource group under a site.", - "operationId": "SiteCertificates_List", - "parameters": [ - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the site.", - "required": true, - "type": "string", - "pattern": "^[A-z][A-z0-9]*$" - }, - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/CertificateCollection" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "List Certificates by resource group": { - "$ref": "./examples/ListSiteCertificatesByResourceGroup.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/certificates/{certificateName}": { - "get": { - "tags": [ - "SiteCertificates" - ], - "summary": "Get a certificate belonging to a given site.", - "operationId": "SiteCertificates_Get", - "parameters": [ - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the site.", - "required": true, - "type": "string", - "pattern": "^[A-z][A-z0-9]*$" - }, - { - "name": "certificateName", - "in": "path", - "description": "Name of the certificate.", - "required": true, - "type": "string", - "pattern": "^[A-z][A-z0-9]*$" - }, - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/Certificate" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "Get Certificate": { - "$ref": "./examples/GetSiteCertificate.json" - } - } - }, - "put": { - "tags": [ - "SiteCertificates" - ], - "summary": "Create or update a certificate under a given site.", - "operationId": "SiteCertificates_CreateOrUpdate", - "parameters": [ - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the site.", - "required": true, - "type": "string", - "pattern": "^[A-z][A-z0-9]*$" - }, - { - "name": "certificateName", - "in": "path", - "description": "Name of the certificate.", - "required": true, - "type": "string" - }, - { - "name": "certificateEnvelope", - "in": "body", - "description": "Details of certificate, if it exists already.", - "required": true, - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/Certificate" - } - }, - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/Certificate" - } - }, - "201": { - "description": "OK.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/Certificate" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "Create Or Update Certificate": { - "$ref": "./examples/CreateOrUpdateSiteCertificate.json" - } - } - }, - "delete": { - "tags": [ - "SiteCertificates" - ], - "summary": "Delete a certificate from the site.", - "operationId": "SiteCertificates_Delete", - "parameters": [ - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the site.", - "required": true, - "type": "string" - }, - { - "name": "certificateName", - "in": "path", - "description": "Name of the certificate.", - "required": true, - "type": "string" - }, - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Successfully deleted certificate." - }, - "204": { - "description": "Certificate does not exist." - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "Delete Certificate": { - "$ref": "./examples/DeleteSiteCertificate.json" - } - } - }, - "patch": { - "tags": [ - "SiteCertificates" - ], - "summary": "Create or update a certificate under a given site.", - "operationId": "SiteCertificates_Update", - "parameters": [ - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the site.", - "required": true, - "type": "string" - }, - { - "name": "certificateName", - "in": "path", - "description": "Name of the certificate.", - "required": true, - "type": "string" - }, - { - "name": "certificateEnvelope", - "in": "body", - "description": "Details of certificate, if it exists already.", - "required": true, - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/CertificatePatchResource" - } - }, - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/Certificate" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "Patch Certificate": { - "$ref": "./examples/PatchSiteCertificate.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/certificates": { - "get": { - "tags": [ - "SiteCertificates" - ], - "summary": "Get all certificates in a resource group for a given site and a deployment slot.", - "operationId": "SiteCertificates_ListSlot", - "parameters": [ - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the site.", - "required": true, - "type": "string", - "pattern": "^[A-z][A-z0-9]*$" - }, - { - "name": "slot", - "in": "path", - "description": "Name of the deployment slot. If a slot is not specified, the API will create a binding for the production slot.", - "required": true, - "type": "string" - }, - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/CertificateCollection" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "List Certificates by resource group for a slot": { - "$ref": "./examples/ListSiteCertificatesByResourceGroupSlot.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/certificates/{certificateName}": { - "get": { - "tags": [ - "SiteCertificates" - ], - "summary": "Get a certificate for a given site and deployment slot.", - "operationId": "SiteCertificates_GetSlot", - "parameters": [ - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the site.", - "required": true, - "type": "string", - "pattern": "^[A-z][A-z0-9]*$" - }, - { - "name": "slot", - "in": "path", - "description": "Name of the deployment slot. If a slot is not specified, the API will create a binding for the production slot.", - "required": true, - "type": "string" - }, - { - "name": "certificateName", - "in": "path", - "description": "Name of the certificate.", - "required": true, - "type": "string", - "pattern": "^[A-z][A-z0-9]*$" - }, - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/Certificate" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "Get Site Certificate for a slot": { - "$ref": "./examples/GetSiteCertificateSlot.json" - } - } - }, - "put": { - "tags": [ - "SiteCertificates" - ], - "summary": "Create or update a certificate in a given site and deployment slot.", - "operationId": "SiteCertificates_CreateOrUpdateSlot", - "parameters": [ - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the site.", - "required": true, - "type": "string" - }, - { - "name": "slot", - "in": "path", - "description": "Name of the deployment slot. If a slot is not specified, the API will create a binding for the production slot.", - "required": true, - "type": "string" - }, - { - "name": "certificateName", - "in": "path", - "description": "Name of the certificate.", - "required": true, - "type": "string" - }, - { - "name": "certificateEnvelope", - "in": "body", - "description": "Details of certificate, if it exists already.", - "required": true, - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/Certificate" - } - }, - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/Certificate" - } - }, - "201": { - "description": "OK.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/Certificate" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "Create Or Update Certificate for slot": { - "$ref": "./examples/CreateOrUpdateSiteCertificateSlot.json" - } - } - }, - "delete": { - "tags": [ - "SiteCertificates" - ], - "summary": "Delete a certificate for a given site and deployment slot.", - "operationId": "SiteCertificates_DeleteSlot", - "parameters": [ - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the site.", - "required": true, - "type": "string" - }, - { - "name": "slot", - "in": "path", - "description": "Name of the deployment slot. If a slot is not specified, the API will create a binding for the production slot.", - "required": true, - "type": "string" - }, - { - "name": "certificateName", - "in": "path", - "description": "Name of the certificate.", - "required": true, - "type": "string" - }, - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Successfully deleted certificate." - }, - "204": { - "description": "Certificate does not exist." - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "Delete Certificate for slot": { - "$ref": "./examples/DeleteSiteCertificateSlot.json" - } - } - }, - "patch": { - "tags": [ - "SiteCertificates" - ], - "summary": "Create or update a certificate for a site and deployment slot.", - "operationId": "SiteCertificates_UpdateSlot", - "parameters": [ - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the site.", - "required": true, - "type": "string" - }, - { - "name": "slot", - "in": "path", - "description": "Name of the deployment slot. If a slot is not specified, the API will create a binding for the production slot.", - "required": true, - "type": "string" - }, - { - "name": "certificateName", - "in": "path", - "description": "Name of the certificate.", - "required": true, - "type": "string" - }, - { - "name": "certificateEnvelope", - "in": "body", - "description": "Details of certificate, if it exists already.", - "required": true, - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/CertificatePatchResource" - } - }, - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/Certificate" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "Patch Certificate for slot": { - "$ref": "./examples/PatchSiteCertificateSlot.json" - } - } - } - } - }, - "definitions": {}, - "parameters": {}, - "securityDefinitions": { - "azure_auth": { - "type": "oauth2", - "description": "Azure Active Directory OAuth2 Flow", - "flow": "implicit", - "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", - "scopes": { - "user_impersonation": "impersonate your user account" - } - } - }, - "security": [ - { - "azure_auth": [ - "user_impersonation" - ] - } - ] -} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/StaticSites.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/StaticSites.json deleted file mode 100644 index dc1afcbdff8d..000000000000 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/StaticSites.json +++ /dev/null @@ -1,5585 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "version": "2025-03-01", - "title": "StaticSites API Client" - }, - "host": "management.azure.com", - "schemes": [ - "https" - ], - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "paths": { - "/subscriptions/{subscriptionId}/providers/Microsoft.Web/locations/{location}/previewStaticSiteWorkflowFile": { - "post": { - "tags": [ - "StaticSites" - ], - "summary": "Generates a preview workflow file for the static site", - "description": "Description for Generates a preview workflow file for the static site", - "operationId": "StaticSites_PreviewWorkflow", - "parameters": [ - { - "name": "location", - "in": "path", - "description": "Location where you plan to create the static site.", - "required": true, - "type": "string" - }, - { - "name": "staticSitesWorkflowPreviewRequest", - "in": "body", - "description": "A JSON representation of the StaticSitesWorkflowPreviewRequest properties. See example.", - "required": true, - "schema": { - "$ref": "#/definitions/StaticSitesWorkflowPreviewRequest" - } - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/StaticSitesWorkflowPreview" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "Generates a preview workflow file for the static site": { - "$ref": "./examples/GenerateStaticSiteWorkflowPreview.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Web/staticSites": { - "get": { - "tags": [ - "StaticSites" - ], - "summary": "Get all Static Sites for a subscription.", - "description": "Description for Get all Static Sites for a subscription.", - "operationId": "StaticSites_List", - "parameters": [ - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/StaticSiteCollection" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "Get all static sites in a subscription": { - "$ref": "./examples/GetAllStaticSites.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites": { - "get": { - "tags": [ - "StaticSites" - ], - "summary": "Gets all static sites in the specified resource group.", - "description": "Description for Gets all static sites in the specified resource group.", - "operationId": "StaticSites_GetStaticSitesByResourceGroup", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK.", - "schema": { - "$ref": "#/definitions/StaticSiteCollection" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "Get static sites for a resource group": { - "$ref": "./examples/GetStaticSites.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}": { - "get": { - "tags": [ - "StaticSites" - ], - "summary": "Gets the details of a static site.", - "description": "Description for Gets the details of a static site.", - "operationId": "StaticSites_GetStaticSite", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the static site.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK.", - "schema": { - "$ref": "#/definitions/StaticSiteARMResource" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "Get details for a static site": { - "$ref": "./examples/GetStaticSite.json" - } - } - }, - "put": { - "tags": [ - "StaticSites" - ], - "summary": "Creates a new static site in an existing resource group, or updates an existing static site.", - "description": "Description for Creates a new static site in an existing resource group, or updates an existing static site.", - "operationId": "StaticSites_CreateOrUpdateStaticSite", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the static site to create or update.", - "required": true, - "type": "string" - }, - { - "name": "staticSiteEnvelope", - "in": "body", - "description": "A JSON representation of the staticsite properties. See example.", - "required": true, - "schema": { - "$ref": "#/definitions/StaticSiteARMResource" - } - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK.", - "schema": { - "$ref": "#/definitions/StaticSiteARMResource" - } - }, - "202": { - "description": "Asynchronous operation in progress.", - "schema": { - "$ref": "#/definitions/StaticSiteARMResource" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "Create or update a static site": { - "$ref": "./examples/CreateOrUpdateStaticSite.json" - } - }, - "x-ms-long-running-operation": true - }, - "delete": { - "tags": [ - "StaticSites" - ], - "summary": "Deletes a static site.", - "description": "Description for Deletes a static site.", - "operationId": "StaticSites_DeleteStaticSite", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the static site to delete.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK." - }, - "202": { - "description": "Asynchronous operation in progress." - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "Delete a static site": { - "$ref": "./examples/DeleteStaticSite.json" - } - }, - "x-ms-long-running-operation": true - }, - "patch": { - "tags": [ - "StaticSites" - ], - "summary": "Creates a new static site in an existing resource group, or updates an existing static site.", - "description": "Description for Creates a new static site in an existing resource group, or updates an existing static site.", - "operationId": "StaticSites_UpdateStaticSite", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the static site to create or update.", - "required": true, - "type": "string" - }, - { - "name": "staticSiteEnvelope", - "in": "body", - "description": "A JSON representation of the staticsite properties. See example.", - "required": true, - "schema": { - "$ref": "#/definitions/StaticSitePatchResource" - } - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK.", - "schema": { - "$ref": "#/definitions/StaticSiteARMResource" - } - }, - "202": { - "description": "Asynchronous operation in progress.", - "schema": { - "$ref": "#/definitions/StaticSiteARMResource" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "Patch a static site": { - "$ref": "./examples/PatchStaticSite.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/authproviders/{authprovider}/listUsers": { - "post": { - "tags": [ - "StaticSites" - ], - "summary": "Gets the list of users of a static site.", - "description": "Description for Gets the list of users of a static site.", - "operationId": "StaticSites_ListStaticSiteUsers", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the static site.", - "required": true, - "type": "string" - }, - { - "name": "authprovider", - "in": "path", - "description": "The auth provider for the users.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK.", - "schema": { - "$ref": "#/definitions/StaticSiteUserCollection" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "List users for a static site": { - "$ref": "./examples/ListStaticSiteUsers.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/authproviders/{authprovider}/users/{userid}": { - "delete": { - "tags": [ - "StaticSites" - ], - "summary": "Deletes the user entry from the static site.", - "description": "Description for Deletes the user entry from the static site.", - "operationId": "StaticSites_DeleteStaticSiteUser", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the staticsite.", - "required": true, - "type": "string" - }, - { - "name": "authprovider", - "in": "path", - "description": "The auth provider for this user.", - "required": true, - "type": "string" - }, - { - "name": "userid", - "in": "path", - "description": "The user id of the user.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK." - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "Delete a user for a static site": { - "$ref": "./examples/DeleteStaticSiteUser.json" - } - } - }, - "patch": { - "tags": [ - "StaticSites" - ], - "summary": "Updates a user entry with the listed roles", - "description": "Description for Updates a user entry with the listed roles", - "operationId": "StaticSites_UpdateStaticSiteUser", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the static site.", - "required": true, - "type": "string" - }, - { - "name": "authprovider", - "in": "path", - "description": "The auth provider for this user.", - "required": true, - "type": "string" - }, - { - "name": "userid", - "in": "path", - "description": "The user id of the user.", - "required": true, - "type": "string" - }, - { - "name": "staticSiteUserEnvelope", - "in": "body", - "description": "A JSON representation of the StaticSiteUser properties. See example.", - "required": true, - "schema": { - "$ref": "#/definitions/StaticSiteUserARMResource" - } - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK.", - "schema": { - "$ref": "#/definitions/StaticSiteUserARMResource" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "Create or update a user for a static site": { - "$ref": "./examples/UpdateStaticSiteUser.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/builds": { - "get": { - "tags": [ - "StaticSites" - ], - "summary": "Gets all static site builds for a particular static site.", - "description": "Description for Gets all static site builds for a particular static site.", - "operationId": "StaticSites_GetStaticSiteBuilds", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the static site.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK.", - "schema": { - "$ref": "#/definitions/StaticSiteBuildCollection" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "Get all builds for a static site": { - "$ref": "./examples/GetStaticSiteBuilds.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/builds/{environmentName}": { - "get": { - "tags": [ - "StaticSites" - ], - "summary": "Gets the details of a static site build.", - "description": "Description for Gets the details of a static site build.", - "operationId": "StaticSites_GetStaticSiteBuild", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the static site.", - "required": true, - "type": "string" - }, - { - "name": "environmentName", - "in": "path", - "description": "The stage site identifier.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK.", - "schema": { - "$ref": "#/definitions/StaticSiteBuildARMResource" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "Get a static site build": { - "$ref": "./examples/GetStaticSiteBuild.json" - } - } - }, - "delete": { - "tags": [ - "StaticSites" - ], - "summary": "Deletes a static site build.", - "description": "Description for Deletes a static site build.", - "operationId": "StaticSites_DeleteStaticSiteBuild", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the static site.", - "required": true, - "type": "string" - }, - { - "name": "environmentName", - "in": "path", - "description": "The stage site identifier.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK." - }, - "204": { - "description": "OK." - }, - "202": { - "description": "Asynchronous operation in progress." - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "Delete a static site build": { - "$ref": "./examples/DeleteStaticSiteBuild.json" - } - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/builds/{environmentName}/config/appsettings": { - "put": { - "tags": [ - "StaticSites" - ], - "summary": "Creates or updates the app settings of a static site build.", - "description": "Description for Creates or updates the app settings of a static site build.", - "operationId": "StaticSites_CreateOrUpdateStaticSiteBuildAppSettings", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the static site.", - "required": true, - "type": "string" - }, - { - "name": "environmentName", - "in": "path", - "description": "The stage site identifier.", - "required": true, - "type": "string" - }, - { - "name": "appSettings", - "in": "body", - "description": "The dictionary containing the static site app settings to update.", - "required": true, - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/StringDictionary" - } - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/StringDictionary" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "Creates or updates the function app settings of a static site build.": { - "$ref": "./examples/CreateOrUpdateStaticSiteBuildAppSettings.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/builds/{environmentName}/config/functionappsettings": { - "put": { - "tags": [ - "StaticSites" - ], - "summary": "Creates or updates the function app settings of a static site build.", - "description": "Description for Creates or updates the function app settings of a static site build.", - "operationId": "StaticSites_CreateOrUpdateStaticSiteBuildFunctionAppSettings", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the static site.", - "required": true, - "type": "string" - }, - { - "name": "environmentName", - "in": "path", - "description": "The stage site identifier.", - "required": true, - "type": "string" - }, - { - "name": "appSettings", - "in": "body", - "description": "The dictionary containing the static site function app settings to update.", - "required": true, - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/StringDictionary" - } - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/StringDictionary" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "Creates or updates the function app settings of a static site build.": { - "$ref": "./examples/CreateOrUpdateStaticSiteBuildFunctionAppSettings.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/builds/{environmentName}/databaseConnections": { - "get": { - "tags": [ - "StaticSites" - ], - "summary": "Returns overviews of database connections for a static site build", - "operationId": "StaticSites_GetBuildDatabaseConnections", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the static site", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/environmentNameParameter" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/DatabaseConnectionCollection" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "List overviews of database connections for the static site build.": { - "$ref": "./examples/GetStaticSiteBuildDatabaseConnections.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/builds/{environmentName}/databaseConnections/{databaseConnectionName}": { - "get": { - "tags": [ - "StaticSites" - ], - "summary": "Returns overview of a database connection for a static site build by name", - "operationId": "StaticSites_GetBuildDatabaseConnection", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the static site", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/environmentNameParameter" - }, - { - "$ref": "#/parameters/databaseConnectionNameParameter" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/DatabaseConnection" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "Get overview of database connections for the static site build.": { - "$ref": "./examples/GetStaticSiteBuildDatabaseConnection.json" - } - } - }, - "put": { - "tags": [ - "StaticSites" - ], - "summary": "Create or update a database connection for a static site build", - "description": "Description for Create or update a database connection for a static site build", - "operationId": "StaticSites_CreateOrUpdateBuildDatabaseConnection", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the static site", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/environmentNameParameter" - }, - { - "$ref": "#/parameters/databaseConnectionNameParameter" - }, - { - "name": "databaseConnectionRequestEnvelope", - "in": "body", - "description": "A JSON representation of the database connection request properties", - "required": true, - "schema": { - "$ref": "#/definitions/DatabaseConnection" - } - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/DatabaseConnection" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "Create or update a database connection for a static site build": { - "$ref": "./examples/CreateOrUpdateStaticSiteBuildDatabaseConnection.json" - } - } - }, - "delete": { - "tags": [ - "StaticSites" - ], - "summary": "Delete a database connection for a static site build", - "operationId": "StaticSites_DeleteBuildDatabaseConnection", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the static site", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/environmentNameParameter" - }, - { - "$ref": "#/parameters/databaseConnectionNameParameter" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK." - }, - "204": { - "description": "No content." - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "Delete a database connection from a static site build.": { - "$ref": "./examples/DeleteStaticSiteBuildDatabaseConnection.json" - } - } - }, - "patch": { - "tags": [ - "StaticSites" - ], - "summary": "Create or update a database connection for a static site build", - "description": "Description for Create or update a database connection for a static site build", - "operationId": "StaticSites_UpdateBuildDatabaseConnection", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the static site", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/environmentNameParameter" - }, - { - "$ref": "#/parameters/databaseConnectionNameParameter" - }, - { - "name": "databaseConnectionRequestEnvelope", - "in": "body", - "description": "A JSON representation of the database connection request properties", - "required": true, - "schema": { - "$ref": "#/definitions/DatabaseConnectionPatchRequest" - } - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/DatabaseConnection" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "Patch a database connection for a static site build": { - "$ref": "./examples/PatchStaticSiteBuildDatabaseConnection.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/builds/{environmentName}/databaseConnections/{databaseConnectionName}/show": { - "post": { - "tags": [ - "StaticSites" - ], - "summary": "Returns details of a database connection for a static site build by name", - "operationId": "StaticSites_GetBuildDatabaseConnectionWithDetails", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the static site", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/environmentNameParameter" - }, - { - "$ref": "#/parameters/databaseConnectionNameParameter" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/DatabaseConnection" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "Get details of database connections for the static site build.": { - "$ref": "./examples/GetStaticSiteBuildDatabaseConnectionWithDetails.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/builds/{environmentName}/functions": { - "get": { - "tags": [ - "StaticSites" - ], - "summary": "Gets the functions of a particular static site build.", - "description": "Description for Gets the functions of a particular static site build.", - "operationId": "StaticSites_ListStaticSiteBuildFunctions", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the static site.", - "required": true, - "type": "string" - }, - { - "name": "environmentName", - "in": "path", - "description": "The stage site identifier.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK.", - "schema": { - "$ref": "#/definitions/StaticSiteFunctionOverviewCollection" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "Gets the functions of a particular static site build": { - "$ref": "./examples/ListStaticSiteBuildFunctions.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/builds/{environmentName}/listAppSettings": { - "post": { - "tags": [ - "StaticSites" - ], - "summary": "Gets the application settings of a static site build.", - "description": "Description for Gets the application settings of a static site build.", - "operationId": "StaticSites_ListStaticSiteBuildAppSettings", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the static site.", - "required": true, - "type": "string" - }, - { - "name": "environmentName", - "in": "path", - "description": "The stage site identifier.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/StringDictionary" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "Get app settings of a static site build": { - "$ref": "./examples/ListStaticSiteBuildAppSettings.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/builds/{environmentName}/listFunctionAppSettings": { - "post": { - "tags": [ - "StaticSites" - ], - "summary": "Gets the application settings of a static site build.", - "description": "Description for Gets the application settings of a static site build.", - "operationId": "StaticSites_ListStaticSiteBuildFunctionAppSettings", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the static site.", - "required": true, - "type": "string" - }, - { - "name": "environmentName", - "in": "path", - "description": "The stage site identifier.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/StringDictionary" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "Get function app settings of a static site build": { - "$ref": "./examples/ListStaticSiteBuildFunctionAppSettings.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/builds/{environmentName}/showDatabaseConnections": { - "post": { - "tags": [ - "StaticSites" - ], - "summary": "Returns details of database connections for a static site build", - "operationId": "StaticSites_GetBuildDatabaseConnectionsWithDetails", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the static site", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/environmentNameParameter" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/DatabaseConnectionCollection" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "List full details of database connections for the static site build.": { - "$ref": "./examples/GetStaticSiteBuildDatabaseConnectionsWithDetails.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/builds/{environmentName}/userProvidedFunctionApps": { - "get": { - "tags": [ - "StaticSites" - ], - "summary": "Gets the details of the user provided function apps registered with a static site build", - "description": "Description for Gets the details of the user provided function apps registered with a static site build", - "operationId": "StaticSites_GetUserProvidedFunctionAppsForStaticSiteBuild", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the static site.", - "required": true, - "type": "string" - }, - { - "name": "environmentName", - "in": "path", - "description": "The stage site identifier.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK.", - "schema": { - "$ref": "#/definitions/StaticSiteUserProvidedFunctionAppsCollection" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "Get details of the user provided function apps registered with a static site build.": { - "$ref": "./examples/GetUserProvidedFunctionAppsForStaticSiteBuild.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/builds/{environmentName}/userProvidedFunctionApps/{functionAppName}": { - "get": { - "tags": [ - "StaticSites" - ], - "summary": "Gets the details of the user provided function app registered with a static site build", - "description": "Description for Gets the details of the user provided function app registered with a static site build", - "operationId": "StaticSites_GetUserProvidedFunctionAppForStaticSiteBuild", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the static site.", - "required": true, - "type": "string" - }, - { - "name": "environmentName", - "in": "path", - "description": "The stage site identifier.", - "required": true, - "type": "string" - }, - { - "name": "functionAppName", - "in": "path", - "description": "Name of the function app registered with the static site build.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK.", - "schema": { - "$ref": "#/definitions/StaticSiteUserProvidedFunctionAppARMResource" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "Get details of the user provided function app registered with a static site build.": { - "$ref": "./examples/GetUserProvidedFunctionAppForStaticSiteBuild.json" - } - } - }, - "put": { - "tags": [ - "StaticSites" - ], - "summary": "Register a user provided function app with a static site build", - "description": "Description for Register a user provided function app with a static site build", - "operationId": "StaticSites_RegisterUserProvidedFunctionAppWithStaticSiteBuild", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the static site.", - "required": true, - "type": "string" - }, - { - "name": "environmentName", - "in": "path", - "description": "The stage site identifier.", - "required": true, - "type": "string" - }, - { - "name": "functionAppName", - "in": "path", - "description": "Name of the function app to register with the static site build.", - "required": true, - "type": "string" - }, - { - "name": "staticSiteUserProvidedFunctionEnvelope", - "in": "body", - "description": "A JSON representation of the user provided function app properties. See example.", - "required": true, - "schema": { - "$ref": "#/definitions/StaticSiteUserProvidedFunctionAppARMResource" - } - }, - { - "name": "isForced", - "in": "query", - "description": "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.", - "type": "boolean" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK.", - "schema": { - "$ref": "#/definitions/StaticSiteUserProvidedFunctionAppARMResource" - } - }, - "202": { - "description": "Asynchronous operation in progress.", - "schema": { - "$ref": "#/definitions/StaticSiteUserProvidedFunctionAppARMResource" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "Register a user provided function app with a static site build": { - "$ref": "./examples/RegisterUserProvidedFunctionAppWithStaticSiteBuild.json" - } - }, - "x-ms-long-running-operation": true - }, - "delete": { - "tags": [ - "StaticSites" - ], - "summary": "Detach the user provided function app from the static site build", - "description": "Description for Detach the user provided function app from the static site build", - "operationId": "StaticSites_DetachUserProvidedFunctionAppFromStaticSiteBuild", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the static site.", - "required": true, - "type": "string" - }, - { - "name": "environmentName", - "in": "path", - "description": "The stage site identifier.", - "required": true, - "type": "string" - }, - { - "name": "functionAppName", - "in": "path", - "description": "Name of the function app registered with the static site build.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK." - }, - "204": { - "description": "No content." - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "Detach the user provided function app from the static site build.": { - "$ref": "./examples/DetachUserProvidedFunctionAppFromStaticSiteBuild.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/builds/{environmentName}/zipdeploy": { - "post": { - "tags": [ - "StaticSites" - ], - "summary": "Deploys zipped content to a specific environment of a static site.", - "description": "Description for Deploys zipped content to a specific environment of a static site.", - "operationId": "StaticSites_CreateZipDeploymentForStaticSiteBuild", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the static site.", - "required": true, - "type": "string" - }, - { - "name": "environmentName", - "in": "path", - "description": "Name of the environment.", - "required": true, - "type": "string" - }, - { - "name": "staticSiteZipDeploymentEnvelope", - "in": "body", - "description": "A JSON representation of the StaticSiteZipDeployment properties. See example.", - "required": true, - "schema": { - "$ref": "#/definitions/StaticSiteZipDeploymentARMResource" - } - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK." - }, - "202": { - "description": "Asynchronous operation in progress." - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "Deploy a site from a zipped package to a particular static site build": { - "$ref": "./examples/StaticSiteBuildZipDeploy.json" - } - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/config/appsettings": { - "put": { - "tags": [ - "StaticSites" - ], - "summary": "Creates or updates the app settings of a static site.", - "description": "Description for Creates or updates the app settings of a static site.", - "operationId": "StaticSites_CreateOrUpdateStaticSiteAppSettings", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the static site.", - "required": true, - "type": "string" - }, - { - "name": "appSettings", - "in": "body", - "description": "The dictionary containing the static site app settings to update.", - "required": true, - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/StringDictionary" - } - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/StringDictionary" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "Creates or updates the app settings of a static site.": { - "$ref": "./examples/CreateOrUpdateStaticSiteAppSettings.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/basicAuth": { - "get": { - "tags": [ - "StaticSites" - ], - "summary": "Gets the basic auth properties for a static site as a collection.", - "description": "Description for Gets the basic auth properties for a static site as a collection.", - "operationId": "StaticSites_ListBasicAuth", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the static site.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK.", - "schema": { - "$ref": "#/definitions/StaticSiteBasicAuthPropertiesCollection" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "Lists the basic auth properties for a static site.": { - "$ref": "./examples/ListStaticSiteBasicAuth.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/basicAuth/{basicAuthName}": { - "get": { - "tags": [ - "StaticSites" - ], - "summary": "Gets the basic auth properties for a static site.", - "description": "Description for Gets the basic auth properties for a static site.", - "operationId": "StaticSites_GetBasicAuth", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the static site.", - "required": true, - "type": "string" - }, - { - "name": "basicAuthName", - "in": "path", - "description": "name of the basic auth entry.", - "required": true, - "type": "string", - "pattern": "default", - "enum": [ - "default" - ], - "x-ms-enum": { - "name": "BasicAuthName", - "modelAsString": true - } - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK.", - "schema": { - "$ref": "#/definitions/StaticSiteBasicAuthPropertiesARMResource" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "Gets the basic auth properties for a static site.": { - "$ref": "./examples/GetStaticSiteBasicAuth.json" - } - } - }, - "put": { - "tags": [ - "StaticSites" - ], - "summary": "Adds or updates basic auth for a static site.", - "description": "Description for Adds or updates basic auth for a static site.", - "operationId": "StaticSites_CreateOrUpdateBasicAuth", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the static site.", - "required": true, - "type": "string" - }, - { - "name": "basicAuthName", - "in": "path", - "description": "name of the basic auth entry.", - "required": true, - "type": "string", - "pattern": "default", - "enum": [ - "default" - ], - "x-ms-enum": { - "name": "BasicAuthName", - "modelAsString": true - } - }, - { - "name": "basicAuthEnvelope", - "in": "body", - "description": "A JSON representation of the basic auth properties.", - "required": true, - "schema": { - "$ref": "#/definitions/StaticSiteBasicAuthPropertiesARMResource" - } - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK.", - "schema": { - "$ref": "#/definitions/StaticSiteBasicAuthPropertiesARMResource" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "Creates or updates basic auth properties for a static site.": { - "$ref": "./examples/CreateOrUpdateStaticSiteBasicAuth.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/config/functionappsettings": { - "put": { - "tags": [ - "StaticSites" - ], - "summary": "Creates or updates the function app settings of a static site.", - "description": "Description for Creates or updates the function app settings of a static site.", - "operationId": "StaticSites_CreateOrUpdateStaticSiteFunctionAppSettings", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the static site.", - "required": true, - "type": "string" - }, - { - "name": "appSettings", - "in": "body", - "description": "The dictionary containing the static site function app settings to update.", - "required": true, - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/StringDictionary" - } - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/StringDictionary" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "Creates or updates the function app settings of a static site.": { - "$ref": "./examples/CreateOrUpdateStaticSiteFunctionAppSettings.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/createUserInvitation": { - "post": { - "tags": [ - "StaticSites" - ], - "summary": "Creates an invitation link for a user with the role", - "description": "Description for Creates an invitation link for a user with the role", - "operationId": "StaticSites_CreateUserRolesInvitationLink", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the static site.", - "required": true, - "type": "string" - }, - { - "name": "staticSiteUserRolesInvitationEnvelope", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/StaticSiteUserInvitationRequestResource" - } - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK.", - "schema": { - "$ref": "#/definitions/StaticSiteUserInvitationResponseResource" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "Create an invitation link for a user for a static site": { - "$ref": "./examples/CreateUserRolesInvitationLink.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/customDomains": { - "get": { - "tags": [ - "StaticSites" - ], - "summary": "Gets all static site custom domains for a particular static site.", - "description": "Description for Gets all static site custom domains for a particular static site.", - "operationId": "StaticSites_ListStaticSiteCustomDomains", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the static site resource to search in.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/StaticSiteCustomDomainOverviewCollection" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "List custom domains for a static site": { - "$ref": "./examples/GetStaticSiteCustomDomains.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/customDomains/{domainName}": { - "get": { - "tags": [ - "StaticSites" - ], - "summary": "Gets an existing custom domain for a particular static site.", - "description": "Description for Gets an existing custom domain for a particular static site.", - "operationId": "StaticSites_GetStaticSiteCustomDomain", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the static site resource to search in.", - "required": true, - "type": "string" - }, - { - "name": "domainName", - "in": "path", - "description": "The custom domain name.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/StaticSiteCustomDomainOverviewARMResource" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "Get custom domain for a static site": { - "$ref": "./examples/GetStaticSiteCustomDomain.json" - } - } - }, - "put": { - "tags": [ - "StaticSites" - ], - "summary": "Creates a new static site custom domain in an existing resource group and static site.", - "description": "Description for Creates a new static site custom domain in an existing resource group and static site.", - "operationId": "StaticSites_CreateOrUpdateStaticSiteCustomDomain", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the static site.", - "required": true, - "type": "string" - }, - { - "name": "domainName", - "in": "path", - "description": "The custom domain to create.", - "required": true, - "type": "string" - }, - { - "name": "staticSiteCustomDomainRequestPropertiesEnvelope", - "in": "body", - "description": "A JSON representation of the static site custom domain request properties. See example.", - "required": true, - "schema": { - "$ref": "#/definitions/StaticSiteCustomDomainRequestPropertiesARMResource" - } - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK.", - "schema": { - "$ref": "#/definitions/StaticSiteCustomDomainOverviewARMResource" - } - }, - "202": { - "description": "Asynchronous operation in progress.", - "schema": { - "$ref": "#/definitions/StaticSiteCustomDomainOverviewARMResource" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "Create or update a custom domain for a static site": { - "$ref": "./examples/CreateOrUpdateStaticSiteCustomDomain.json" - } - }, - "x-ms-long-running-operation": true - }, - "delete": { - "tags": [ - "StaticSites" - ], - "summary": "Deletes a custom domain.", - "description": "Description for Deletes a custom domain.", - "operationId": "StaticSites_DeleteStaticSiteCustomDomain", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the static site.", - "required": true, - "type": "string" - }, - { - "name": "domainName", - "in": "path", - "description": "The custom domain to delete.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK." - }, - "202": { - "description": "Asynchronous operation in progress." - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "Delete a custom domain for a static site": { - "$ref": "./examples/DeleteStaticSiteCustomDomain.json" - } - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/customDomains/{domainName}/validate": { - "post": { - "tags": [ - "StaticSites" - ], - "summary": "Validates a particular custom domain can be added to a static site.", - "description": "Description for Validates a particular custom domain can be added to a static site.", - "operationId": "StaticSites_ValidateCustomDomainCanBeAddedToStaticSite", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the static site.", - "required": true, - "type": "string" - }, - { - "name": "domainName", - "in": "path", - "description": "The custom domain to validate.", - "required": true, - "type": "string" - }, - { - "name": "staticSiteCustomDomainRequestPropertiesEnvelope", - "in": "body", - "description": "A JSON representation of the static site custom domain request properties. See example.", - "required": true, - "schema": { - "$ref": "#/definitions/StaticSiteCustomDomainRequestPropertiesARMResource" - } - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK." - }, - "202": { - "description": "Asynchronous operation in progress." - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "Validate a custom domain for a static site": { - "$ref": "./examples/ValidateStaticSiteCustomDomain.json" - } - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/databaseConnections": { - "get": { - "tags": [ - "StaticSites" - ], - "summary": "Returns overviews of database connections for a static site", - "operationId": "StaticSites_GetDatabaseConnections", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the static site", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/DatabaseConnectionCollection" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "List overviews of database connections for the static site.": { - "$ref": "./examples/GetStaticSiteDatabaseConnections.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/databaseConnections/{databaseConnectionName}": { - "get": { - "tags": [ - "StaticSites" - ], - "summary": "Returns overview of a database connection for a static site by name", - "operationId": "StaticSites_GetDatabaseConnection", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the static site", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/databaseConnectionNameParameter" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/DatabaseConnection" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "Get overview of database connections for the static site.": { - "$ref": "./examples/GetStaticSiteDatabaseConnection.json" - } - } - }, - "put": { - "tags": [ - "StaticSites" - ], - "summary": "Create or update a database connection for a static site", - "description": "Description for Create or update a database connection for a static site", - "operationId": "StaticSites_CreateOrUpdateDatabaseConnection", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the static site", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/databaseConnectionNameParameter" - }, - { - "name": "databaseConnectionRequestEnvelope", - "in": "body", - "description": "A JSON representation of the database connection request properties", - "required": true, - "schema": { - "$ref": "#/definitions/DatabaseConnection" - } - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/DatabaseConnection" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "Create or update a database connection for a static site": { - "$ref": "./examples/CreateOrUpdateStaticSiteDatabaseConnection.json" - } - } - }, - "delete": { - "tags": [ - "StaticSites" - ], - "summary": "Delete a database connection for a static site", - "operationId": "StaticSites_DeleteDatabaseConnection", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the static site", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/databaseConnectionNameParameter" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK." - }, - "204": { - "description": "No content." - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "Delete a database connection from a static site.": { - "$ref": "./examples/DeleteStaticSiteDatabaseConnection.json" - } - } - }, - "patch": { - "tags": [ - "StaticSites" - ], - "summary": "Create or update a database connection for a static site", - "description": "Description for Create or update a database connection for a static site", - "operationId": "StaticSites_UpdateDatabaseConnection", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the static site", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/databaseConnectionNameParameter" - }, - { - "name": "databaseConnectionRequestEnvelope", - "in": "body", - "description": "A JSON representation of the database connection request properties", - "required": true, - "schema": { - "$ref": "#/definitions/DatabaseConnectionPatchRequest" - } - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/DatabaseConnection" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "Patch a database connection for a static site": { - "$ref": "./examples/PatchStaticSiteDatabaseConnection.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/databaseConnections/{databaseConnectionName}/show": { - "post": { - "tags": [ - "StaticSites" - ], - "summary": "Returns details of a database connection for a static site by name", - "operationId": "StaticSites_GetDatabaseConnectionWithDetails", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the static site", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/databaseConnectionNameParameter" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/DatabaseConnection" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "Get details of database connections for the static site.": { - "$ref": "./examples/GetStaticSiteDatabaseConnectionWithDetails.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/detach": { - "post": { - "tags": [ - "StaticSites" - ], - "summary": "Detaches a static site.", - "description": "Description for Detaches a static site.", - "operationId": "StaticSites_DetachStaticSite", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the static site to detach.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK." - }, - "202": { - "description": "Asynchronous operation in progress." - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "Detach a static site": { - "$ref": "./examples/DetachStaticSite.json" - } - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/functions": { - "get": { - "tags": [ - "StaticSites" - ], - "summary": "Gets the functions of a static site.", - "description": "Description for Gets the functions of a static site.", - "operationId": "StaticSites_ListStaticSiteFunctions", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the static site.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK.", - "schema": { - "$ref": "#/definitions/StaticSiteFunctionOverviewCollection" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "Gets the functions of a static site": { - "$ref": "./examples/ListStaticSiteFunctions.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/listAppSettings": { - "post": { - "tags": [ - "StaticSites" - ], - "summary": "Gets the application settings of a static site.", - "description": "Description for Gets the application settings of a static site.", - "operationId": "StaticSites_ListStaticSiteAppSettings", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the static site.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/StringDictionary" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "Get app settings of a static site": { - "$ref": "./examples/ListStaticSiteAppSettings.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/listConfiguredRoles": { - "post": { - "tags": [ - "StaticSites" - ], - "summary": "Lists the roles configured for the static site.", - "description": "Description for Lists the roles configured for the static site.", - "operationId": "StaticSites_ListStaticSiteConfiguredRoles", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the static site.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK.", - "schema": { - "$ref": "#/definitions/StringList" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "Lists the configured roles for a static site": { - "$ref": "./examples/ListStaticSiteConfiguredRoles.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/listFunctionAppSettings": { - "post": { - "tags": [ - "StaticSites" - ], - "summary": "Gets the application settings of a static site.", - "description": "Description for Gets the application settings of a static site.", - "operationId": "StaticSites_ListStaticSiteFunctionAppSettings", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the static site.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/StringDictionary" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "Get function app settings of a static site": { - "$ref": "./examples/ListStaticSiteFunctionAppSettings.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/listSecrets": { - "post": { - "tags": [ - "StaticSites" - ], - "summary": "Lists the secrets for an existing static site.", - "description": "Description for Lists the secrets for an existing static site.", - "operationId": "StaticSites_ListStaticSiteSecrets", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the static site.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/StringDictionary" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "List secrets for a static site": { - "$ref": "./examples/ListStaticSiteSecrets.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/privateEndpointConnections": { - "get": { - "tags": [ - "StaticSites" - ], - "summary": "Gets the list of private endpoint connections associated with a static site", - "description": "Description for Gets the list of private endpoint connections associated with a static site", - "operationId": "StaticSites_GetPrivateEndpointConnectionList", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the static site.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/PrivateEndpointConnectionCollection" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "Get a list of private endpoint connections associated with a site.": { - "$ref": "./examples/GetSitePrivateEndpointConnectionList.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/privateEndpointConnections/{privateEndpointConnectionName}": { - "get": { - "tags": [ - "StaticSites" - ], - "summary": "Gets a private endpoint connection", - "description": "Description for Gets a private endpoint connection", - "operationId": "StaticSites_GetPrivateEndpointConnection", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the static site.", - "required": true, - "type": "string" - }, - { - "name": "privateEndpointConnectionName", - "in": "path", - "description": "Name of the private endpoint connection.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/RemotePrivateEndpointConnectionARMResource" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "Get a private endpoint connection for a site.": { - "$ref": "./examples/GetSitePrivateEndpointConnection.json" - } - } - }, - "put": { - "tags": [ - "StaticSites" - ], - "summary": "Approves or rejects a private endpoint connection", - "description": "Description for Approves or rejects a private endpoint connection", - "operationId": "StaticSites_ApproveOrRejectPrivateEndpointConnection", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the static site.", - "required": true, - "type": "string" - }, - { - "name": "privateEndpointConnectionName", - "in": "path", - "description": "Name of the private endpoint connection.", - "required": true, - "type": "string" - }, - { - "name": "privateEndpointWrapper", - "in": "body", - "description": "Request body.", - "required": true, - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/RemotePrivateEndpointConnectionARMResource" - } - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/RemotePrivateEndpointConnectionARMResource" - } - }, - "202": { - "description": "Asynchronous operation in progress.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/RemotePrivateEndpointConnectionARMResource" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "Approves or rejects a private endpoint connection for a site.": { - "$ref": "./examples/ApproveRejectSitePrivateEndpointConnection.json" - } - }, - "x-ms-long-running-operation": true - }, - "delete": { - "tags": [ - "StaticSites" - ], - "summary": "Deletes a private endpoint connection", - "description": "Description for Deletes a private endpoint connection", - "operationId": "StaticSites_DeletePrivateEndpointConnection", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the static site.", - "required": true, - "type": "string" - }, - { - "name": "privateEndpointConnectionName", - "in": "path", - "description": "Name of the private endpoint connection.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK.", - "schema": { - "type": "object" - } - }, - "202": { - "description": "Asynchronous operation in progress.", - "schema": { - "type": "object" - } - }, - "204": { - "description": "No content.", - "schema": { - "type": "object" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "Delete a private endpoint connection for a site.": { - "$ref": "./examples/DeleteSitePrivateEndpointConnection.json" - } - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/privateLinkResources": { - "get": { - "tags": [ - "StaticSites" - ], - "summary": "Gets the private link resources", - "description": "Description for Gets the private link resources", - "operationId": "StaticSites_GetPrivateLinkResources", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the site.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/PrivateLinkResourcesWrapper" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "Get private link resources of a site": { - "$ref": "./examples/GetSitePrivateLinkResources.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/resetapikey": { - "post": { - "tags": [ - "StaticSites" - ], - "summary": "Resets the api key for an existing static site.", - "description": "Description for Resets the api key for an existing static site.", - "operationId": "StaticSites_ResetStaticSiteApiKey", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the static site.", - "required": true, - "type": "string" - }, - { - "name": "resetPropertiesEnvelope", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/StaticSiteResetPropertiesARMResource" - } - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK." - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "Reset the api key for a static site": { - "$ref": "./examples/ResetStaticSiteApiKey.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/showDatabaseConnections": { - "post": { - "tags": [ - "StaticSites" - ], - "summary": "Returns details of database connections for a static site", - "operationId": "StaticSites_GetDatabaseConnectionsWithDetails", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the static site", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/DatabaseConnectionCollection" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "List full details of database connections for the static site.": { - "$ref": "./examples/GetStaticSiteDatabaseConnectionsWithDetails.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/userProvidedFunctionApps": { - "get": { - "tags": [ - "StaticSites" - ], - "summary": "Gets the details of the user provided function apps registered with a static site", - "description": "Description for Gets the details of the user provided function apps registered with a static site", - "operationId": "StaticSites_GetUserProvidedFunctionAppsForStaticSite", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the static site.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK.", - "schema": { - "$ref": "#/definitions/StaticSiteUserProvidedFunctionAppsCollection" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "Get details of the user provided function apps registered with a static site.": { - "$ref": "./examples/GetUserProvidedFunctionAppsForStaticSite.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/userProvidedFunctionApps/{functionAppName}": { - "get": { - "tags": [ - "StaticSites" - ], - "summary": "Gets the details of the user provided function app registered with a static site", - "description": "Description for Gets the details of the user provided function app registered with a static site", - "operationId": "StaticSites_GetUserProvidedFunctionAppForStaticSite", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the static site.", - "required": true, - "type": "string" - }, - { - "name": "functionAppName", - "in": "path", - "description": "Name of the function app registered with the static site.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK.", - "schema": { - "$ref": "#/definitions/StaticSiteUserProvidedFunctionAppARMResource" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "Get details of the user provided function app registered with a static site.": { - "$ref": "./examples/GetUserProvidedFunctionAppForStaticSite.json" - } - } - }, - "put": { - "tags": [ - "StaticSites" - ], - "summary": "Register a user provided function app with a static site", - "description": "Description for Register a user provided function app with a static site", - "operationId": "StaticSites_RegisterUserProvidedFunctionAppWithStaticSite", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the static site.", - "required": true, - "type": "string" - }, - { - "name": "functionAppName", - "in": "path", - "description": "Name of the function app to register with the static site.", - "required": true, - "type": "string" - }, - { - "name": "staticSiteUserProvidedFunctionEnvelope", - "in": "body", - "description": "A JSON representation of the user provided function app properties. See example.", - "required": true, - "schema": { - "$ref": "#/definitions/StaticSiteUserProvidedFunctionAppARMResource" - } - }, - { - "name": "isForced", - "in": "query", - "description": "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.", - "type": "boolean" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK.", - "schema": { - "$ref": "#/definitions/StaticSiteUserProvidedFunctionAppARMResource" - } - }, - "202": { - "description": "Asynchronous operation in progress.", - "schema": { - "$ref": "#/definitions/StaticSiteUserProvidedFunctionAppARMResource" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "Register a user provided function app with a static site": { - "$ref": "./examples/RegisterUserProvidedFunctionAppWithStaticSite.json" - } - }, - "x-ms-long-running-operation": true - }, - "delete": { - "tags": [ - "StaticSites" - ], - "summary": "Detach the user provided function app from the static site", - "description": "Description for Detach the user provided function app from the static site", - "operationId": "StaticSites_DetachUserProvidedFunctionAppFromStaticSite", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the static site.", - "required": true, - "type": "string" - }, - { - "name": "functionAppName", - "in": "path", - "description": "Name of the function app registered with the static site.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK." - }, - "204": { - "description": "No content." - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "Detach the user provided function app from the static site.": { - "$ref": "./examples/DetachUserProvidedFunctionAppFromStaticSite.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/zipdeploy": { - "post": { - "tags": [ - "StaticSites" - ], - "summary": "Deploys zipped content to a static site.", - "description": "Description for Deploys zipped content to a static site.", - "operationId": "StaticSites_CreateZipDeploymentForStaticSite", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the static site.", - "required": true, - "type": "string" - }, - { - "name": "staticSiteZipDeploymentEnvelope", - "in": "body", - "description": "A JSON representation of the StaticSiteZipDeployment properties. See example.", - "required": true, - "schema": { - "$ref": "#/definitions/StaticSiteZipDeploymentARMResource" - } - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK." - }, - "202": { - "description": "Asynchronous operation in progress." - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "Deploy a site from a zipped package": { - "$ref": "./examples/StaticSiteZipDeploy.json" - } - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/linkedBackends/{linkedBackendName}/validate": { - "post": { - "tags": [ - "StaticSites" - ], - "summary": "Validates that a backend can be linked to a static site", - "operationId": "StaticSites_ValidateBackend", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the static site", - "required": true, - "type": "string" - }, - { - "name": "linkedBackendName", - "in": "path", - "description": "Name of the linked backend that should be retrieved", - "required": true, - "type": "string" - }, - { - "name": "staticSiteLinkedBackendEnvelope", - "in": "body", - "description": "A JSON representation of the linked backend request properties", - "required": true, - "schema": { - "$ref": "#/definitions/StaticSiteLinkedBackendARMResource" - } - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "204": { - "description": "No content" - }, - "202": { - "description": "Asynchronous operation in progress." - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "Validate if backend can be linked to static site.": { - "$ref": "./examples/ValidateLinkedBackendForStaticSite.json" - } - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/builds/{environmentName}/linkedBackends/{linkedBackendName}/validate": { - "post": { - "tags": [ - "StaticSites" - ], - "summary": "Validates that a backend can be linked to a static site build", - "operationId": "StaticSites_ValidateBackendForBuild", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the static site", - "required": true, - "type": "string" - }, - { - "name": "environmentName", - "in": "path", - "description": "The stage site identifier", - "required": true, - "type": "string" - }, - { - "name": "linkedBackendName", - "in": "path", - "description": "Name of the linked backend that should be retrieved", - "required": true, - "type": "string" - }, - { - "name": "staticSiteLinkedBackendEnvelope", - "in": "body", - "description": "A JSON representation of the linked backend request properties", - "required": true, - "schema": { - "$ref": "#/definitions/StaticSiteLinkedBackendARMResource" - } - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "204": { - "description": "No content" - }, - "202": { - "description": "Asynchronous operation in progress." - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "Validate if backend can be linked to static site build.": { - "$ref": "./examples/ValidateLinkedBackendForStaticSiteBuild.json" - } - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/linkedBackends": { - "get": { - "tags": [ - "StaticSites" - ], - "summary": "Returns details of all backends linked to a static site", - "operationId": "StaticSites_GetLinkedBackends", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the static site", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/StaticSiteLinkedBackendsCollection" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "Get details of the linked backends registered with a static site.": { - "$ref": "./examples/GetLinkedBackendsForStaticSite.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/builds/{environmentName}/linkedBackends": { - "get": { - "tags": [ - "StaticSites" - ], - "summary": "Returns details of all backends linked to a static site build", - "operationId": "StaticSites_GetLinkedBackendsForBuild", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the static site", - "required": true, - "type": "string" - }, - { - "name": "environmentName", - "in": "path", - "description": "The stage site identifier", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/StaticSiteLinkedBackendsCollection" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "Get details of the linked backends registered with a static site build.": { - "$ref": "./examples/GetLinkedBackendsForStaticSiteBuild.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/linkedBackends/{linkedBackendName}": { - "get": { - "tags": [ - "StaticSites" - ], - "summary": "Returns the details of a linked backend linked to a static site by name", - "operationId": "StaticSites_GetLinkedBackend", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the static site", - "required": true, - "type": "string" - }, - { - "name": "linkedBackendName", - "in": "path", - "description": "Name of the linked backend that should be retrieved", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/StaticSiteLinkedBackendARMResource" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "Get details of the linked backend registered with a static site by name.": { - "$ref": "./examples/GetLinkedBackendForStaticSite.json" - } - } - }, - "put": { - "tags": [ - "StaticSites" - ], - "summary": "Link backend to a static site", - "operationId": "StaticSites_LinkBackend", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the static site", - "required": true, - "type": "string" - }, - { - "name": "linkedBackendName", - "in": "path", - "description": "Name of the backend to link to the static site", - "required": true, - "type": "string" - }, - { - "name": "staticSiteLinkedBackendEnvelope", - "in": "body", - "description": "A JSON representation of the linked backend request properties", - "required": true, - "schema": { - "$ref": "#/definitions/StaticSiteLinkedBackendARMResource" - } - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/StaticSiteLinkedBackendARMResource" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "Link a backend to a static site": { - "$ref": "./examples/LinkBackendToStaticSite.json" - } - }, - "x-ms-long-running-operation": true - }, - "delete": { - "tags": [ - "StaticSites" - ], - "summary": "Unlink a backend from a static site", - "operationId": "StaticSites_UnlinkBackend", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the static site", - "required": true, - "type": "string" - }, - { - "name": "linkedBackendName", - "in": "path", - "description": "Name of the backend linked to the static site", - "required": true, - "type": "string" - }, - { - "name": "isCleaningAuthConfig", - "in": "query", - "description": "Decides if Easy Auth configuration will be removed from backend configuration", - "type": "boolean" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "204": { - "description": "No content" - }, - "200": { - "description": "OK." - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "Unlink a backend from a static site.": { - "$ref": "./examples/UnlinkBackendFromStaticSite.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/builds/{environmentName}/linkedBackends/{linkedBackendName}": { - "get": { - "tags": [ - "StaticSites" - ], - "summary": "Returns the details of a linked backend linked to a static site build by name", - "operationId": "StaticSites_GetLinkedBackendForBuild", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the static site", - "required": true, - "type": "string" - }, - { - "name": "environmentName", - "in": "path", - "description": "The stage site identifier", - "required": true, - "type": "string" - }, - { - "name": "linkedBackendName", - "in": "path", - "description": "Name of the linked backend that should be retrieved", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/StaticSiteLinkedBackendARMResource" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "Get details of the linked backend registered with a static site build by name.": { - "$ref": "./examples/GetLinkedBackendForStaticSiteBuild.json" - } - } - }, - "put": { - "tags": [ - "StaticSites" - ], - "summary": "Link backend to a static site build", - "operationId": "StaticSites_LinkBackendToBuild", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the static site", - "required": true, - "type": "string" - }, - { - "name": "environmentName", - "in": "path", - "description": "The stage site identifier", - "required": true, - "type": "string" - }, - { - "name": "linkedBackendName", - "in": "path", - "description": "Name of the backend to link to the static site", - "required": true, - "type": "string" - }, - { - "name": "staticSiteLinkedBackendEnvelope", - "in": "body", - "description": "A JSON representation of the linked backend request properties", - "required": true, - "schema": { - "$ref": "#/definitions/StaticSiteLinkedBackendARMResource" - } - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/StaticSiteLinkedBackendARMResource" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "Link a backend to a static site build": { - "$ref": "./examples/LinkBackendToStaticSiteBuild.json" - } - }, - "x-ms-long-running-operation": true - }, - "delete": { - "tags": [ - "StaticSites" - ], - "summary": "Unlink a backend from a static site build", - "operationId": "StaticSites_UnlinkBackendFromBuild", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the static site", - "required": true, - "type": "string" - }, - { - "name": "environmentName", - "in": "path", - "description": "The stage site identifier", - "required": true, - "type": "string" - }, - { - "name": "linkedBackendName", - "in": "path", - "description": "Name of the backend linked to the static site", - "required": true, - "type": "string" - }, - { - "name": "isCleaningAuthConfig", - "in": "query", - "description": "Decides if auth will be removed from backend configuration", - "type": "boolean" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "204": { - "description": "No content" - }, - "200": { - "description": "OK." - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "Unlink a backend from a static site build.": { - "$ref": "./examples/UnlinkBackendFromStaticSiteBuild.json" - } - } - } - } - }, - "definitions": { - "ArmPlan": { - "description": "The plan object in Azure Resource Manager, represents a marketplace plan.", - "type": "object", - "properties": { - "name": { - "description": "The name.", - "type": "string" - }, - "publisher": { - "description": "The publisher.", - "type": "string" - }, - "product": { - "description": "The product.", - "type": "string" - }, - "promotionCode": { - "description": "The promotion code.", - "type": "string" - }, - "version": { - "description": "Version of product.", - "type": "string" - } - } - }, - "RemotePrivateEndpointConnection": { - "description": "A remote private endpoint connection", - "type": "object", - "allOf": [ - { - "$ref": "./CommonDefinitions.json#/definitions/ProxyOnlyResource" - } - ], - "properties": { - "properties": { - "description": "RemotePrivateEndpointConnection resource specific properties", - "type": "object", - "properties": { - "provisioningState": { - "type": "string", - "readOnly": true - }, - "privateEndpoint": { - "$ref": "./CommonDefinitions.json#/definitions/ArmIdWrapper", - "description": "PrivateEndpoint of a remote private endpoint connection" - }, - "privateLinkServiceConnectionState": { - "$ref": "./CommonDefinitions.json#/definitions/PrivateLinkConnectionState" - }, - "ipAddresses": { - "description": "Private IPAddresses mapped to the remote private endpoint", - "type": "array", - "items": { - "type": "string" - } - } - }, - "x-ms-client-flatten": true - } - } - }, - "ResponseMessageEnvelope[RemotePrivateEndpointConnection]": { - "description": "Message envelope that contains the common Azure resource manager properties and the resource provider specific content.", - "type": "object", - "properties": { - "id": { - "description": "Resource Id. Typically ID is populated only for responses to GET requests. Caller is responsible for passing in this\nvalue for GET requests only.\nFor example: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupId}/providers/Microsoft.Web/sites/{sitename}", - "type": "string" - }, - "name": { - "description": "Name of resource.", - "type": "string" - }, - "type": { - "description": "Type of resource e.g \"Microsoft.Web/sites\".", - "type": "string" - }, - "location": { - "description": "Geographical region resource belongs to e.g. SouthCentralUS, SouthEastAsia.", - "type": "string" - }, - "tags": { - "description": "Tags associated with resource.", - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - "plan": { - "$ref": "#/definitions/ArmPlan", - "description": "Azure resource manager plan." - }, - "properties": { - "$ref": "#/definitions/RemotePrivateEndpointConnection", - "description": "Resource specific properties." - }, - "sku": { - "$ref": "./CommonDefinitions.json#/definitions/SkuDescription", - "description": "SKU description of the resource." - }, - "status": { - "description": "Azure-AsyncOperation Status info.", - "type": "string" - }, - "error": { - "$ref": "./CommonDefinitions.json#/definitions/ErrorEntity", - "description": "Azure-AsyncOperation Error info." - }, - "identity": { - "$ref": "./CommonDefinitions.json#/definitions/ManagedServiceIdentity", - "description": "MSI resource" - }, - "zones": { - "description": "Logical Availability Zones the service is hosted in", - "type": "array", - "items": { - "type": "string" - } - } - } - }, - "StaticSite": { - "description": "A static site.", - "type": "object", - "properties": { - "defaultHostname": { - "description": "The default autogenerated hostname for the static site.", - "type": "string", - "readOnly": true - }, - "repositoryUrl": { - "description": "URL for the repository of the static site.", - "type": "string" - }, - "branch": { - "description": "The target branch in the repository.", - "type": "string" - }, - "customDomains": { - "description": "The custom domains associated with this static site.", - "type": "array", - "items": { - "type": "string" - }, - "readOnly": true - }, - "repositoryToken": { - "description": "A user's github repository token. This is used to setup the Github Actions workflow file and API secrets.", - "type": "string" - }, - "buildProperties": { - "$ref": "#/definitions/StaticSiteBuildProperties", - "description": "Build properties to configure on the repository." - }, - "privateEndpointConnections": { - "description": "Private endpoint connections", - "type": "array", - "items": { - "$ref": "#/definitions/ResponseMessageEnvelope[RemotePrivateEndpointConnection]" - }, - "readOnly": true - }, - "stagingEnvironmentPolicy": { - "description": "State indicating whether staging environments are allowed or not allowed for a static web app.", - "enum": [ - "Enabled", - "Disabled" - ], - "type": "string", - "x-ms-enum": { - "name": "StagingEnvironmentPolicy", - "modelAsString": false - } - }, - "allowConfigFileUpdates": { - "description": "false if config file is locked for this static web app; otherwise, true.", - "type": "boolean" - }, - "templateProperties": { - "$ref": "#/definitions/StaticSiteTemplateOptions", - "description": "Template options for generating a new repository." - }, - "contentDistributionEndpoint": { - "description": "The content distribution endpoint for the static site.", - "type": "string", - "readOnly": true - }, - "keyVaultReferenceIdentity": { - "description": "Identity to use for Key Vault Reference authentication.", - "type": "string", - "readOnly": true - }, - "userProvidedFunctionApps": { - "description": "User provided function apps registered with the static site", - "type": "array", - "items": { - "$ref": "#/definitions/StaticSiteUserProvidedFunctionApp" - }, - "readOnly": true - }, - "linkedBackends": { - "description": "Backends linked to the static side", - "type": "array", - "items": { - "$ref": "#/definitions/StaticSiteLinkedBackend" - }, - "x-ms-identifiers": [], - "readOnly": true - }, - "provider": { - "description": "The provider that submitted the last deployment to the primary environment of the static site.", - "type": "string" - }, - "enterpriseGradeCdnStatus": { - "description": "State indicating the status of the enterprise grade CDN serving traffic to the static web app.", - "enum": [ - "Enabled", - "Enabling", - "Disabled", - "Disabling" - ], - "type": "string", - "x-ms-enum": { - "name": "EnterpriseGradeCdnStatus", - "modelAsString": true - } - }, - "publicNetworkAccess": { - "description": "State indicating whether public traffic are allowed or not for a static web app. Allowed Values: 'Enabled', 'Disabled' or an empty string.", - "type": "string" - }, - "databaseConnections": { - "description": "Database connections for the static site", - "type": "array", - "items": { - "$ref": "#/definitions/DatabaseConnectionOverview" - }, - "x-ms-identifiers": [ - "name" - ], - "readOnly": true - } - } - }, - "StaticSiteARMResource": { - "description": "Static Site ARM resource.", - "type": "object", - "allOf": [ - { - "$ref": "./CommonDefinitions.json#/definitions/Resource" - } - ], - "properties": { - "properties": { - "$ref": "#/definitions/StaticSite", - "description": "Core resource properties", - "type": "object", - "x-ms-client-flatten": true - }, - "sku": { - "$ref": "./CommonDefinitions.json#/definitions/SkuDescription" - }, - "identity": { - "$ref": "./CommonDefinitions.json#/definitions/ManagedServiceIdentity" - } - } - }, - "StaticSiteBasicAuthPropertiesARMResource": { - "description": "Static site basic auth properties ARM resource.", - "type": "object", - "allOf": [ - { - "$ref": "./CommonDefinitions.json#/definitions/ProxyOnlyResource" - } - ], - "properties": { - "properties": { - "description": "StaticSiteBasicAuthPropertiesARMResource resource specific properties", - "required": [ - "applicableEnvironmentsMode" - ], - "type": "object", - "properties": { - "password": { - "description": "The password for basic auth.", - "type": "string", - "x-ms-secret": true - }, - "secretUrl": { - "description": "Url to the secret in Key Vault.", - "type": "string" - }, - "applicableEnvironmentsMode": { - "description": "State indicating if basic auth is enabled and for what environments it is active.", - "type": "string" - }, - "environments": { - "description": "The list of enabled environments for Basic Auth if ApplicableEnvironmentsMode is set to SpecifiedEnvironments.", - "type": "array", - "items": { - "type": "string" - } - }, - "secretState": { - "description": "State indicating if basic auth has a secret and what type it is.", - "type": "string", - "readOnly": true - } - }, - "x-ms-client-flatten": true - } - } - }, - "StaticSiteBasicAuthPropertiesCollection": { - "description": "Collection of static site basic auth.", - "required": [ - "value" - ], - "type": "object", - "properties": { - "value": { - "description": "Collection of resources.", - "type": "array", - "items": { - "$ref": "#/definitions/StaticSiteBasicAuthPropertiesARMResource" - } - }, - "nextLink": { - "description": "Link to next page of resources.", - "type": "string", - "readOnly": true - } - } - }, - "StaticSiteBuildARMResource": { - "description": "Static Site Build ARM resource.", - "type": "object", - "allOf": [ - { - "$ref": "./CommonDefinitions.json#/definitions/ProxyOnlyResource" - } - ], - "properties": { - "properties": { - "description": "StaticSiteBuildARMResource resource specific properties", - "type": "object", - "properties": { - "buildId": { - "description": "An identifier for the static site build.", - "type": "string", - "readOnly": true - }, - "sourceBranch": { - "description": "The source branch.", - "type": "string", - "readOnly": true - }, - "pullRequestTitle": { - "description": "The title of a pull request that a static site build is related to.", - "type": "string", - "readOnly": true - }, - "hostname": { - "description": "The hostname for a static site build.", - "type": "string", - "readOnly": true - }, - "createdTimeUtc": { - "format": "date-time", - "description": "When this build was created.", - "type": "string", - "readOnly": true - }, - "lastUpdatedOn": { - "format": "date-time", - "description": "When this build was updated.", - "type": "string", - "readOnly": true - }, - "status": { - "description": "The status of the static site build.", - "enum": [ - "WaitingForDeployment", - "Uploading", - "Deploying", - "Ready", - "Failed", - "Deleting", - "Detached" - ], - "type": "string", - "readOnly": true, - "x-ms-enum": { - "name": "BuildStatus", - "modelAsString": true - } - }, - "userProvidedFunctionApps": { - "description": "User provided function apps registered with the static site build", - "type": "array", - "items": { - "$ref": "#/definitions/StaticSiteUserProvidedFunctionApp" - }, - "readOnly": true - }, - "linkedBackends": { - "description": "Backends linked to the static side build", - "type": "array", - "items": { - "$ref": "#/definitions/StaticSiteLinkedBackend" - }, - "x-ms-identifiers": [], - "readOnly": true - }, - "databaseConnections": { - "description": "Database connections for the static site build", - "type": "array", - "items": { - "$ref": "#/definitions/DatabaseConnectionOverview" - }, - "x-ms-identifiers": [ - "name" - ], - "readOnly": true - } - }, - "x-ms-client-flatten": true - } - } - }, - "StaticSiteBuildCollection": { - "description": "Collection of static site builds.", - "required": [ - "value" - ], - "type": "object", - "properties": { - "value": { - "description": "Collection of resources.", - "type": "array", - "items": { - "$ref": "#/definitions/StaticSiteBuildARMResource" - } - }, - "nextLink": { - "description": "Link to next page of resources.", - "type": "string", - "readOnly": true - } - } - }, - "StaticSiteBuildProperties": { - "description": "Build properties for the static site.", - "type": "object", - "properties": { - "appLocation": { - "description": "The path to the app code within the repository.", - "type": "string" - }, - "apiLocation": { - "description": "The path to the api code within the repository.", - "type": "string" - }, - "appArtifactLocation": { - "description": "Deprecated: The path of the app artifacts after building (deprecated in favor of OutputLocation)", - "type": "string" - }, - "outputLocation": { - "description": "The output path of the app after building.", - "type": "string" - }, - "appBuildCommand": { - "description": "A custom command to run during deployment of the static content application.", - "type": "string" - }, - "apiBuildCommand": { - "description": "A custom command to run during deployment of the Azure Functions API application.", - "type": "string" - }, - "skipGithubActionWorkflowGeneration": { - "description": "Skip Github Action workflow generation.", - "type": "boolean" - }, - "githubActionSecretNameOverride": { - "description": "Github Action secret name override.", - "type": "string" - } - } - }, - "StaticSiteCollection": { - "description": "Collection of static sites.", - "required": [ - "value" - ], - "type": "object", - "properties": { - "value": { - "description": "Collection of resources.", - "type": "array", - "items": { - "$ref": "#/definitions/StaticSiteARMResource" - } - }, - "nextLink": { - "description": "Link to next page of resources.", - "type": "string", - "readOnly": true - } - } - }, - "StaticSiteCustomDomainOverviewARMResource": { - "description": "Static Site Custom Domain Overview ARM resource.", - "type": "object", - "allOf": [ - { - "$ref": "./CommonDefinitions.json#/definitions/ProxyOnlyResource" - } - ], - "properties": { - "properties": { - "description": "StaticSiteCustomDomainOverviewARMResource resource specific properties", - "type": "object", - "properties": { - "domainName": { - "description": "The domain name for the static site custom domain.", - "type": "string", - "readOnly": true - }, - "createdOn": { - "format": "date-time", - "description": "The date and time on which the custom domain was created for the static site.", - "type": "string", - "readOnly": true - }, - "status": { - "description": "The status of the custom domain", - "enum": [ - "RetrievingValidationToken", - "Validating", - "Adding", - "Ready", - "Failed", - "Deleting", - "Unhealthy" - ], - "type": "string", - "readOnly": true, - "x-ms-enum": { - "name": "CustomDomainStatus", - "modelAsString": true - } - }, - "validationToken": { - "description": "The TXT record validation token", - "type": "string", - "readOnly": true - }, - "errorMessage": { - "type": "string", - "readOnly": true - } - }, - "x-ms-client-flatten": true - } - } - }, - "StaticSiteCustomDomainOverviewCollection": { - "description": "Collection of static site custom domains.", - "required": [ - "value" - ], - "type": "object", - "properties": { - "value": { - "description": "Collection of resources.", - "type": "array", - "items": { - "$ref": "#/definitions/StaticSiteCustomDomainOverviewARMResource" - } - }, - "nextLink": { - "description": "Link to next page of resources.", - "type": "string", - "readOnly": true - } - } - }, - "StaticSiteCustomDomainRequestPropertiesARMResource": { - "description": "Static Site Custom Domain Request Properties ARM resource.", - "type": "object", - "allOf": [ - { - "$ref": "./CommonDefinitions.json#/definitions/ProxyOnlyResource" - } - ], - "properties": { - "properties": { - "description": "StaticSiteCustomDomainRequestPropertiesARMResource resource specific properties", - "type": "object", - "properties": { - "validationMethod": { - "description": "Validation method for adding a custom domain", - "default": "cname-delegation", - "type": "string" - } - }, - "x-ms-client-flatten": true - } - } - }, - "StaticSiteDatabaseConnectionConfigurationFileOverview": { - "description": "A database connection configuration file", - "type": "object", - "properties": { - "fileName": { - "description": "The name of the configuration file.", - "type": "string", - "readOnly": true - }, - "contents": { - "description": "The Base64 encoding of the file contents.", - "type": "string", - "readOnly": true - }, - "type": { - "description": "The type of configuration file.", - "type": "string", - "readOnly": true - } - }, - "x-ms-client-flatten": true - }, - "DatabaseConnection": { - "description": "Static Site Database Connection resource.", - "type": "object", - "allOf": [ - { - "$ref": "./CommonDefinitions.json#/definitions/ProxyOnlyResource" - } - ], - "properties": { - "properties": { - "description": "DatabaseConnection resource specific properties", - "type": "object", - "required": [ - "resourceId", - "region" - ], - "properties": { - "resourceId": { - "description": "The resource id of the database.", - "type": "string" - }, - "connectionIdentity": { - "description": "If present, the identity is used in conjunction with connection string to connect to the database. Use of the system-assigned managed identity is indicated with the string 'SystemAssigned', while use of a user-assigned managed identity is indicated with the resource id of the managed identity resource.", - "type": "string" - }, - "connectionString": { - "description": "The connection string to use to connect to the database.", - "type": "string", - "x-ms-secret": true - }, - "region": { - "description": "The region of the database resource.", - "type": "string" - }, - "configurationFiles": { - "description": "A list of configuration files associated with this database connection.", - "type": "array", - "items": { - "$ref": "#/definitions/StaticSiteDatabaseConnectionConfigurationFileOverview" - }, - "x-ms-identifiers": [ - "fileName" - ], - "readOnly": true - } - }, - "x-ms-client-flatten": true - } - } - }, - "DatabaseConnectionOverview": { - "description": "Static Site Database Connection overview.", - "type": "object", - "properties": { - "resourceId": { - "description": "The resource id of the database.", - "type": "string", - "readOnly": true - }, - "connectionIdentity": { - "description": "If present, the identity is used in conjunction with connection string to connect to the database. Use of the system-assigned managed identity is indicated with the string 'SystemAssigned', while use of a user-assigned managed identity is indicated with the resource id of the managed identity resource.", - "type": "string", - "readOnly": true - }, - "region": { - "description": "The region of the database resource.", - "type": "string", - "readOnly": true - }, - "configurationFiles": { - "description": "A list of configuration files associated with this database connection.", - "type": "array", - "items": { - "$ref": "#/definitions/StaticSiteDatabaseConnectionConfigurationFileOverview" - }, - "x-ms-identifiers": [ - "fileName" - ], - "readOnly": true - }, - "name": { - "description": "If present, the name of this database connection resource.", - "type": "string", - "readOnly": true - } - }, - "x-ms-client-flatten": true - }, - "DatabaseConnectionCollection": { - "description": "Collection of static site database connections.", - "required": [ - "value" - ], - "type": "object", - "properties": { - "value": { - "description": "Collection of resources.", - "type": "array", - "items": { - "$ref": "#/definitions/DatabaseConnection" - } - }, - "nextLink": { - "description": "Link to next page of resources.", - "type": "string", - "readOnly": true - } - } - }, - "DatabaseConnectionPatchRequest": { - "description": "Static Site Database Connection Request Properties resource when patching", - "type": "object", - "properties": { - "properties": { - "description": "DatabaseConnectionPatchRequest resource specific properties", - "type": "object", - "properties": { - "resourceId": { - "description": "The resource id of the database.", - "type": "string" - }, - "connectionIdentity": { - "description": "If present, the identity is used in conjunction with connection string to connect to the database. Use of the system-assigned managed identity is indicated with the string 'SystemAssigned', while use of a user-assigned managed identity is indicated with the resource id of the managed identity resource.", - "type": "string" - }, - "connectionString": { - "description": "The connection string to use to connect to the database.", - "type": "string", - "x-ms-secret": true - }, - "region": { - "description": "The region of the database resource.", - "type": "string" - } - }, - "x-ms-client-flatten": true - } - } - }, - "StaticSiteFunctionOverviewARMResource": { - "description": "Static Site Function Overview ARM resource.", - "type": "object", - "allOf": [ - { - "$ref": "./CommonDefinitions.json#/definitions/ProxyOnlyResource" - } - ], - "properties": { - "properties": { - "description": "StaticSiteFunctionOverviewARMResource resource specific properties", - "type": "object", - "properties": { - "functionName": { - "description": "The name for the function", - "type": "string", - "readOnly": true - }, - "triggerType": { - "description": "The trigger type of the function", - "enum": [ - "HttpTrigger", - "Unknown" - ], - "type": "string", - "readOnly": true, - "x-ms-enum": { - "name": "TriggerTypes", - "modelAsString": true - } - } - }, - "x-ms-client-flatten": true - } - } - }, - "StaticSiteFunctionOverviewCollection": { - "description": "Collection of static site functions.", - "required": [ - "value" - ], - "type": "object", - "properties": { - "value": { - "description": "Collection of resources.", - "type": "array", - "items": { - "$ref": "#/definitions/StaticSiteFunctionOverviewARMResource" - } - }, - "nextLink": { - "description": "Link to next page of resources.", - "type": "string", - "readOnly": true - } - } - }, - "StaticSitePatchResource": { - "description": "ARM resource for a static site when patching", - "type": "object", - "allOf": [ - { - "$ref": "./CommonDefinitions.json#/definitions/ProxyOnlyResource" - } - ], - "properties": { - "properties": { - "$ref": "#/definitions/StaticSite", - "description": "Core resource properties", - "type": "object", - "x-ms-client-flatten": true - } - } - }, - "StaticSiteResetPropertiesARMResource": { - "description": "Static Site Reset Properties ARM resource.", - "type": "object", - "allOf": [ - { - "$ref": "./CommonDefinitions.json#/definitions/ProxyOnlyResource" - } - ], - "properties": { - "properties": { - "description": "StaticSiteResetPropertiesARMResource resource specific properties", - "type": "object", - "properties": { - "repositoryToken": { - "description": "The token which proves admin privileges to the repository.", - "type": "string" - }, - "shouldUpdateRepository": { - "description": "Determines whether the repository should be updated with the new properties.", - "type": "boolean" - } - }, - "x-ms-client-flatten": true - } - } - }, - "StaticSiteTemplateOptions": { - "description": "Template Options for the static site.", - "type": "object", - "properties": { - "templateRepositoryUrl": { - "description": "URL of the template repository. The newly generated repository will be based on this one.", - "type": "string" - }, - "owner": { - "description": "Owner of the newly generated repository.", - "type": "string" - }, - "repositoryName": { - "description": "Name of the newly generated repository.", - "type": "string" - }, - "description": { - "description": "Description of the newly generated repository.", - "type": "string" - }, - "isPrivate": { - "description": "Whether or not the newly generated repository is a private repository. Defaults to false (i.e. public).", - "type": "boolean" - } - } - }, - "StaticSiteUserARMResource": { - "description": "Static Site User ARM resource.", - "type": "object", - "allOf": [ - { - "$ref": "./CommonDefinitions.json#/definitions/ProxyOnlyResource" - } - ], - "properties": { - "properties": { - "description": "StaticSiteUserARMResource resource specific properties", - "type": "object", - "properties": { - "provider": { - "description": "The identity provider for the static site user.", - "type": "string", - "readOnly": true - }, - "userId": { - "description": "The user id for the static site user.", - "type": "string", - "readOnly": true - }, - "displayName": { - "description": "The display name for the static site user.", - "type": "string", - "readOnly": true - }, - "roles": { - "description": "The roles for the static site user, in free-form string format", - "type": "string" - } - }, - "x-ms-client-flatten": true - } - } - }, - "StaticSiteUserCollection": { - "description": "Collection of static site custom users.", - "required": [ - "value" - ], - "type": "object", - "properties": { - "value": { - "description": "Collection of resources.", - "type": "array", - "items": { - "$ref": "#/definitions/StaticSiteUserARMResource" - } - }, - "nextLink": { - "description": "Link to next page of resources.", - "type": "string", - "readOnly": true - } - } - }, - "StaticSiteUserInvitationRequestResource": { - "description": "Static sites user roles invitation resource.", - "type": "object", - "allOf": [ - { - "$ref": "./CommonDefinitions.json#/definitions/ProxyOnlyResource" - } - ], - "properties": { - "properties": { - "description": "StaticSiteUserInvitationRequestResource resource specific properties", - "type": "object", - "properties": { - "domain": { - "description": "The domain name for the static site custom domain.", - "type": "string" - }, - "provider": { - "description": "The identity provider for the static site user.", - "type": "string" - }, - "userDetails": { - "description": "The user id for the static site user.", - "type": "string" - }, - "roles": { - "description": "The roles for the static site user, in free-form string format", - "type": "string" - }, - "numHoursToExpiration": { - "format": "int32", - "description": "The number of hours the sas token stays valid", - "type": "integer" - } - }, - "x-ms-client-flatten": true - } - } - }, - "StaticSiteUserInvitationResponseResource": { - "description": "Static sites user roles invitation link resource.", - "type": "object", - "allOf": [ - { - "$ref": "./CommonDefinitions.json#/definitions/ProxyOnlyResource" - } - ], - "properties": { - "properties": { - "description": "StaticSiteUserInvitationResponseResource resource specific properties", - "type": "object", - "properties": { - "expiresOn": { - "format": "date-time", - "description": "The expiration time of the invitation", - "type": "string", - "readOnly": true - }, - "invitationUrl": { - "description": "The url for the invitation link", - "type": "string", - "readOnly": true - } - }, - "x-ms-client-flatten": true - } - } - }, - "StaticSiteUserProvidedFunctionApp": { - "description": "A static site user provided function.", - "type": "object", - "allOf": [ - { - "$ref": "./CommonDefinitions.json#/definitions/ProxyOnlyResource" - } - ], - "properties": { - "properties": { - "description": "StaticSiteUserProvidedFunctionApp resource specific properties", - "type": "object", - "properties": { - "functionAppResourceId": { - "description": "The resource id of the function app registered with the static site", - "type": "string" - }, - "functionAppRegion": { - "description": "The region of the function app registered with the static site", - "type": "string" - }, - "createdOn": { - "format": "date-time", - "description": "The date and time on which the function app was registered with the static site.", - "type": "string", - "readOnly": true - } - }, - "x-ms-client-flatten": true - } - } - }, - "StaticSiteUserProvidedFunctionAppARMResource": { - "description": "Static Site User Provided Function App ARM resource.", - "type": "object", - "allOf": [ - { - "$ref": "./CommonDefinitions.json#/definitions/ProxyOnlyResource" - } - ], - "properties": { - "properties": { - "description": "StaticSiteUserProvidedFunctionAppARMResource resource specific properties", - "type": "object", - "properties": { - "functionAppResourceId": { - "description": "The resource id of the function app registered with the static site", - "type": "string" - }, - "functionAppRegion": { - "description": "The region of the function app registered with the static site", - "type": "string" - }, - "createdOn": { - "format": "date-time", - "description": "The date and time on which the function app was registered with the static site.", - "type": "string", - "readOnly": true - } - }, - "x-ms-client-flatten": true - } - } - }, - "StaticSiteUserProvidedFunctionAppsCollection": { - "description": "Collection of static site user provided function apps.", - "required": [ - "value" - ], - "type": "object", - "properties": { - "value": { - "description": "Collection of resources.", - "type": "array", - "items": { - "$ref": "#/definitions/StaticSiteUserProvidedFunctionAppARMResource" - } - }, - "nextLink": { - "description": "Link to next page of resources.", - "type": "string", - "readOnly": true - } - } - }, - "StaticSiteZipDeployment": { - "description": "A static site zip deployment.", - "type": "object", - "properties": { - "appZipUrl": { - "description": "URL for the zipped app content", - "type": "string" - }, - "apiZipUrl": { - "description": "URL for the zipped api content", - "type": "string" - }, - "deploymentTitle": { - "description": "A title to label the deployment", - "type": "string" - }, - "provider": { - "description": "The provider submitting this deployment", - "type": "string" - }, - "functionLanguage": { - "description": "The language of the api content, if it exists", - "type": "string" - } - } - }, - "StaticSiteZipDeploymentARMResource": { - "description": "Static site zip deployment ARM resource.", - "type": "object", - "allOf": [ - { - "$ref": "./CommonDefinitions.json#/definitions/ProxyOnlyResource" - } - ], - "properties": { - "properties": { - "$ref": "#/definitions/StaticSiteZipDeployment", - "description": "Core resource properties", - "type": "object", - "x-ms-client-flatten": true - } - } - }, - "StaticSitesWorkflowPreview": { - "description": "Preview for the Static Site Workflow to be generated", - "type": "object", - "allOf": [ - { - "$ref": "./CommonDefinitions.json#/definitions/ProxyOnlyResource" - } - ], - "properties": { - "properties": { - "description": "StaticSitesWorkflowPreview resource specific properties", - "type": "object", - "properties": { - "path": { - "description": "The path for the workflow file to be generated", - "type": "string", - "readOnly": true - }, - "contents": { - "description": "The contents for the workflow file to be generated", - "type": "string", - "readOnly": true - } - }, - "x-ms-client-flatten": true - } - } - }, - "StaticSitesWorkflowPreviewRequest": { - "description": "Request entity for previewing the Static Site workflow", - "type": "object", - "allOf": [ - { - "$ref": "./CommonDefinitions.json#/definitions/ProxyOnlyResource" - } - ], - "properties": { - "properties": { - "description": "StaticSitesWorkflowPreviewRequest resource specific properties", - "type": "object", - "properties": { - "repositoryUrl": { - "description": "URL for the repository of the static site.", - "type": "string" - }, - "branch": { - "description": "The target branch in the repository.", - "type": "string" - }, - "buildProperties": { - "$ref": "#/definitions/StaticSiteBuildProperties", - "description": "Build properties to configure on the repository." - } - }, - "x-ms-client-flatten": true - } - } - }, - "StringList": { - "description": "String list resource.", - "type": "object", - "allOf": [ - { - "$ref": "./CommonDefinitions.json#/definitions/ProxyOnlyResource" - } - ], - "properties": { - "properties": { - "description": "List of string resources.", - "type": "array", - "items": { - "type": "string" - } - } - } - }, - "StaticSiteLinkedBackendARMResource": { - "description": "Static Site Linked Backend ARM resource.", - "type": "object", - "allOf": [ - { - "$ref": "./CommonDefinitions.json#/definitions/ProxyOnlyResource" - } - ], - "properties": { - "properties": { - "description": "StaticSiteLinkedBackendARMResource resource specific properties", - "type": "object", - "properties": { - "backendResourceId": { - "description": "The resource id of the backend linked to the static site", - "type": "string" - }, - "region": { - "description": "The region of the backend linked to the static site", - "type": "string" - }, - "createdOn": { - "format": "date-time", - "description": "The date and time on which the backend was linked to the static site.", - "type": "string", - "readOnly": true - }, - "provisioningState": { - "description": "The provisioning state of the linking process.", - "type": "string", - "readOnly": true - } - }, - "x-ms-client-flatten": true - } - } - }, - "StaticSiteLinkedBackend": { - "description": "Static Site Linked Backend ARM resource.", - "type": "object", - "properties": { - "backendResourceId": { - "description": "The resource id of the backend linked to the static site", - "type": "string" - }, - "region": { - "description": "The region of the backend linked to the static site", - "type": "string" - }, - "createdOn": { - "format": "date-time", - "description": "The date and time on which the backend was linked to the static site.", - "type": "string", - "readOnly": true - }, - "provisioningState": { - "description": "The provisioning state of the linking process.", - "type": "string", - "readOnly": true - } - } - }, - "StaticSiteLinkedBackendsCollection": { - "description": "Collection of static site linked backends.", - "required": [ - "value" - ], - "type": "object", - "properties": { - "value": { - "description": "Collection of resources.", - "type": "array", - "items": { - "$ref": "#/definitions/StaticSiteLinkedBackendARMResource" - } - }, - "nextLink": { - "description": "Link to next page of resources.", - "type": "string", - "readOnly": true - } - } - } - }, - "parameters": { - "subscriptionIdParameter": { - "name": "subscriptionId", - "in": "path", - "description": "Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000).", - "required": true, - "type": "string", - "x-ms-parameter-location": "client" - }, - "resourceGroupNameParameter": { - "name": "resourceGroupName", - "in": "path", - "description": "Name of the resource group to which the resource belongs.", - "required": true, - "type": "string", - "maxLength": 90, - "minLength": 1, - "pattern": "^[-\\w\\._\\(\\)]+[^\\.]$", - "x-ms-parameter-location": "method" - }, - "apiVersionParameter": { - "name": "api-version", - "in": "query", - "description": "API Version", - "required": true, - "type": "string", - "x-ms-parameter-location": "client" - }, - "environmentNameParameter": { - "name": "environmentName", - "in": "path", - "description": "The stage site identifier.", - "required": true, - "pattern": "^[a-zA-Z0-9]+$", - "type": "string", - "x-ms-parameter-location": "method" - }, - "databaseConnectionNameParameter": { - "name": "databaseConnectionName", - "in": "path", - "description": "Name of the database connection.", - "required": true, - "pattern": "^[a-zA-Z0-9]+$", - "type": "string", - "x-ms-parameter-location": "method" - } - }, - "securityDefinitions": { - "azure_auth": { - "type": "oauth2", - "description": "Azure Active Directory OAuth2 Flow", - "flow": "implicit", - "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", - "scopes": { - "user_impersonation": "impersonate your user account" - } - } - }, - "security": [ - { - "azure_auth": [ - "user_impersonation" - ] - } - ] -} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/WebApps.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/WebApps.json deleted file mode 100644 index 49fe7ad32822..000000000000 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/WebApps.json +++ /dev/null @@ -1,31569 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "version": "2025-03-01", - "title": "WebApps API Client" - }, - "host": "management.azure.com", - "schemes": [ - "https" - ], - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "paths": { - "/subscriptions/{subscriptionId}/providers/Microsoft.Web/sites": { - "get": { - "tags": [ - "WebApps" - ], - "summary": "Get all apps for a subscription.", - "description": "Description for Get all apps for a subscription.", - "operationId": "WebApps_List", - "parameters": [ - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/WebAppCollection" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "List Web apps for subscription": { - "$ref": "./examples/ListWebApps.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites": { - "get": { - "tags": [ - "WebApps" - ], - "summary": "Gets all web, mobile, and API apps in the specified resource group.", - "description": "Description for Gets all web, mobile, and API apps in the specified resource group.", - "operationId": "WebApps_ListByResourceGroup", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "includeSlots", - "in": "query", - "description": "Specify true to include deployment slots in results. The default is false, which only gives you the production slot of all apps.", - "type": "boolean" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/WebAppCollection" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "List Web Apps by Resource group": { - "$ref": "./examples/ListWebAppsByResourceGroup.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}": { - "get": { - "tags": [ - "WebApps" - ], - "summary": "Gets the details of a web, mobile, or API app.", - "description": "Description for Gets the details of a web, mobile, or API app.", - "operationId": "WebApps_Get", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the app.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/Site" - } - }, - "404": { - "description": "Not found.", - "x-ms-error-response": true - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "Get Web App": { - "$ref": "./examples/GetWebApp.json" - } - } - }, - "put": { - "tags": [ - "WebApps" - ], - "summary": "Creates a new web, mobile, or API app in an existing resource group, or updates an existing app.", - "description": "Description for Creates a new web, mobile, or API app in an existing resource group, or updates an existing app.", - "operationId": "WebApps_CreateOrUpdate", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Unique name of the app to create or update. To create or update a deployment slot, use the {slot} parameter.", - "required": true, - "type": "string" - }, - { - "name": "siteEnvelope", - "in": "body", - "description": "A JSON representation of the app properties. See example.", - "required": true, - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/Site" - } - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/Site" - } - }, - "202": { - "description": "Asynchronous operation in progress.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/Site" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "Create or Update web app": { - "$ref": "./examples/CreateOrUpdateWebApp.json" - }, - "Create or Update Flex Consumption function app": { - "$ref": "./examples/CreateOrUpdateFunctionAppFlexConsumption.json" - }, - "Create or Update Flex Consumption function app with details": { - "$ref": "./examples/CreateOrUpdateFunctionAppFlexConsumptionWithDetails.json" - }, - "Clone web app": { - "$ref": "./examples/CloneWebApp.json" - } - }, - "x-ms-long-running-operation": true - }, - "delete": { - "tags": [ - "WebApps" - ], - "summary": "Deletes a web, mobile, or API app, or one of the deployment slots.", - "description": "Description for Deletes a web, mobile, or API app, or one of the deployment slots.", - "operationId": "WebApps_Delete", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the app to delete.", - "required": true, - "type": "string" - }, - { - "name": "deleteMetrics", - "in": "query", - "description": "If true, web app metrics are also deleted.", - "type": "boolean" - }, - { - "name": "deleteEmptyServerFarm", - "in": "query", - "description": "Specify false if you want to keep empty App Service plan. By default, empty App Service plan is deleted.", - "type": "boolean" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Successfully deleted web app." - }, - "204": { - "description": "Successfully deleted web app." - }, - "404": { - "description": "Web app not found.", - "x-ms-error-response": true - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "Delete Web app": { - "$ref": "./examples/DeleteWebApp.json" - } - } - }, - "patch": { - "tags": [ - "WebApps" - ], - "summary": "Creates a new web, mobile, or API app in an existing resource group, or updates an existing app.", - "description": "Description for Creates a new web, mobile, or API app in an existing resource group, or updates an existing app.", - "operationId": "WebApps_Update", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Unique name of the app to create or update. To create or update a deployment slot, use the {slot} parameter.", - "required": true, - "type": "string" - }, - { - "name": "siteEnvelope", - "in": "body", - "description": "A JSON representation of the app properties. See example.", - "required": true, - "schema": { - "$ref": "#/definitions/SitePatchResource" - } - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/Site" - } - }, - "202": { - "description": "Asynchronous operation in progress.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/Site" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "Update web app": { - "$ref": "./examples/UpdateWebApp.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/analyzeCustomHostname": { - "get": { - "tags": [ - "WebApps" - ], - "summary": "Analyze a custom hostname.", - "description": "Description for Analyze a custom hostname.", - "operationId": "WebApps_AnalyzeCustomHostname", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of web app.", - "required": true, - "type": "string" - }, - { - "name": "hostName", - "in": "query", - "description": "Custom hostname.", - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/CustomHostnameAnalysisResult" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "Analyze custom hostname for webapp.": { - "$ref": "./examples/AnalyzeCustomHostName.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/applySlotConfig": { - "post": { - "tags": [ - "WebApps" - ], - "summary": "Applies the configuration settings from the target slot onto the current slot.", - "description": "Description for Applies the configuration settings from the target slot onto the current slot.", - "operationId": "WebApps_ApplySlotConfigToProduction", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the app.", - "required": true, - "type": "string" - }, - { - "name": "slotSwapEntity", - "in": "body", - "description": "JSON object that contains the target slot name. See example.", - "required": true, - "schema": { - "$ref": "#/definitions/CsmSlotEntity" - } - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK." - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "Apply web app slot config": { - "$ref": "./examples/ApplySlotConfig.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/backup": { - "post": { - "tags": [ - "WebApps" - ], - "summary": "Creates a backup of an app.", - "description": "Description for Creates a backup of an app.", - "operationId": "WebApps_Backup", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the app.", - "required": true, - "type": "string" - }, - { - "name": "request", - "in": "body", - "description": "Backup configuration. You can use the JSON response from the POST action as input here.", - "required": true, - "schema": { - "$ref": "#/definitions/BackupRequest" - } - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/BackupItem" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "Backup web app": { - "$ref": "./examples/BackupWebApp.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/backups": { - "get": { - "tags": [ - "WebApps" - ], - "summary": "Gets existing backups of an app.", - "description": "Description for Gets existing backups of an app.", - "operationId": "WebApps_ListBackups", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the app.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/BackupItemCollection" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, - "x-ms-examples": { - "List web app backups": { - "$ref": "./examples/ListWebAppBackups.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/backups/{backupId}": { - "get": { - "tags": [ - "WebApps" - ], - "summary": "Gets a backup of an app by its ID.", - "description": "Description for Gets a backup of an app by its ID.", - "operationId": "WebApps_GetBackupStatus", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the app.", - "required": true, - "type": "string" - }, - { - "name": "backupId", - "in": "path", - "description": "ID of the backup.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/BackupItem" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "Get web app backup": { - "$ref": "./examples/GetWebAppBackup.json" - } - } - }, - "delete": { - "tags": [ - "WebApps" - ], - "summary": "Deletes a backup of an app by its ID.", - "description": "Description for Deletes a backup of an app by its ID.", - "operationId": "WebApps_DeleteBackup", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the app.", - "required": true, - "type": "string" - }, - { - "name": "backupId", - "in": "path", - "description": "ID of the backup.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Successfully deleted web app backup item." - }, - "404": { - "description": "Web app backup item does not exist.", - "x-ms-error-response": true - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "Delete web app backup": { - "$ref": "./examples/DeleteWebAppBackup.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/backups/{backupId}/list": { - "post": { - "tags": [ - "WebApps" - ], - "summary": "Gets status of a web app backup that may be in progress, including secrets associated with the backup, such as the Azure Storage SAS URL. Also can be used to update the SAS URL for the backup if a new URL is passed in the request body.", - "description": "Description for Gets status of a web app backup that may be in progress, including secrets associated with the backup, such as the Azure Storage SAS URL. Also can be used to update the SAS URL for the backup if a new URL is passed in the request body.", - "operationId": "WebApps_ListBackupStatusSecrets", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of web app.", - "required": true, - "type": "string" - }, - { - "name": "backupId", - "in": "path", - "description": "ID of backup.", - "required": true, - "type": "string" - }, - { - "name": "request", - "in": "body", - "description": "Information on backup request.", - "required": true, - "schema": { - "$ref": "#/definitions/BackupRequest" - } - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/BackupItem" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "Get web app backup with secrets": { - "$ref": "./examples/GetWebAppBackupWithSecrets.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/backups/{backupId}/restore": { - "post": { - "tags": [ - "WebApps" - ], - "summary": "Restores a specific backup to another app (or deployment slot, if specified).", - "description": "Description for Restores a specific backup to another app (or deployment slot, if specified).", - "operationId": "WebApps_Restore", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the app.", - "required": true, - "type": "string" - }, - { - "name": "backupId", - "in": "path", - "description": "ID of the backup.", - "required": true, - "type": "string" - }, - { - "name": "request", - "in": "body", - "description": "Information on restore request .", - "required": true, - "schema": { - "$ref": "#/definitions/RestoreRequest" - } - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "202": { - "description": "Restore operation started." - }, - "200": { - "description": "Restore operation started." - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "Restore web app from backup": { - "$ref": "./examples/RestoreWebAppBackup.json" - } - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/basicPublishingCredentialsPolicies": { - "get": { - "tags": [ - "WebApps" - ], - "summary": "Returns whether Scm basic auth is allowed and whether Ftp is allowed for a given site.", - "description": "Description for Returns whether Scm basic auth is allowed and whether Ftp is allowed for a given site.", - "operationId": "WebApps_ListBasicPublishingCredentialsPolicies", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the app.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/PublishingCredentialsPoliciesCollection" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "List Publishing Credentials Policies": { - "$ref": "./examples/ListPublishingCredentialsPolicies.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/basicPublishingCredentialsPolicies/ftp": { - "get": { - "tags": [ - "WebApps" - ], - "summary": "Returns whether FTP is allowed on the site or not.", - "description": "Description for Returns whether FTP is allowed on the site or not.", - "operationId": "WebApps_GetFtpAllowed", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the app.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/CsmPublishingCredentialsPoliciesEntity" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "Get FTP Allowed": { - "$ref": "./examples/GetPublishingCredentialsPolicy.json" - } - } - }, - "put": { - "tags": [ - "WebApps" - ], - "summary": "Updates whether FTP is allowed on the site or not.", - "description": "Description for Updates whether FTP is allowed on the site or not.", - "operationId": "WebApps_UpdateFtpAllowed", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the app.", - "required": true, - "type": "string" - }, - { - "name": "csmPublishingAccessPoliciesEntity", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/CsmPublishingCredentialsPoliciesEntity" - } - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/CsmPublishingCredentialsPoliciesEntity" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "Update FTP Allowed": { - "$ref": "./examples/UpdatePublishingCredentialsPolicy.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/basicPublishingCredentialsPolicies/scm": { - "get": { - "tags": [ - "WebApps" - ], - "summary": "Returns whether Scm basic auth is allowed on the site or not.", - "description": "Description for Returns whether Scm basic auth is allowed on the site or not.", - "operationId": "WebApps_GetScmAllowed", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the app.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/CsmPublishingCredentialsPoliciesEntity" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "Get SCM Allowed": { - "$ref": "./examples/GetPublishingCredentialsPolicy.json" - } - } - }, - "put": { - "tags": [ - "WebApps" - ], - "summary": "Updates whether user publishing credentials are allowed on the site or not.", - "description": "Description for Updates whether user publishing credentials are allowed on the site or not.", - "operationId": "WebApps_UpdateScmAllowed", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the app.", - "required": true, - "type": "string" - }, - { - "name": "csmPublishingAccessPoliciesEntity", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/CsmPublishingCredentialsPoliciesEntity" - } - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/CsmPublishingCredentialsPoliciesEntity" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "Update SCM Allowed": { - "$ref": "./examples/UpdatePublishingCredentialsPolicy.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config": { - "get": { - "tags": [ - "WebApps" - ], - "summary": "List the configurations of an app", - "description": "Description for List the configurations of an app", - "operationId": "WebApps_ListConfigurations", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the app.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/SiteConfigResourceCollection" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, - "x-ms-examples": { - "List web app configurations": { - "$ref": "./examples/ListWebAppConfigurations.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/appsettings": { - "put": { - "tags": [ - "WebApps" - ], - "summary": "Replaces the application settings of an app.", - "description": "Description for Replaces the application settings of an app.", - "operationId": "WebApps_UpdateApplicationSettings", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the app.", - "required": true, - "type": "string" - }, - { - "name": "appSettings", - "in": "body", - "description": "Application settings of the app.", - "required": true, - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/StringDictionary" - } - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/StringDictionary" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "Update App Settings": { - "$ref": "./examples/UpdateAppSettings.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/appsettings/list": { - "post": { - "tags": [ - "WebApps" - ], - "summary": "Gets the application settings of an app.", - "description": "Description for Gets the application settings of an app.", - "operationId": "WebApps_ListApplicationSettings", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the app.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/StringDictionary" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "List App Settings": { - "$ref": "./examples/ListAppSettings.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/authsettings": { - "put": { - "tags": [ - "WebApps" - ], - "summary": "Updates the Authentication / Authorization settings associated with web app.", - "description": "Description for Updates the Authentication / Authorization settings associated with web app.", - "operationId": "WebApps_UpdateAuthSettings", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of web app.", - "required": true, - "type": "string" - }, - { - "name": "siteAuthSettings", - "in": "body", - "description": "Auth settings associated with web app.", - "required": true, - "schema": { - "$ref": "#/definitions/SiteAuthSettings" - } - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/SiteAuthSettings" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "Update Auth Settings": { - "$ref": "./examples/UpdateAuthSettings.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/authsettings/list": { - "post": { - "tags": [ - "WebApps" - ], - "summary": "Gets the Authentication/Authorization settings of an app.", - "description": "Description for Gets the Authentication/Authorization settings of an app.", - "operationId": "WebApps_GetAuthSettings", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the app.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/SiteAuthSettings" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "List Auth Settings": { - "$ref": "./examples/ListAuthSettings.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/authsettingsV2": { - "get": { - "tags": [ - "WebApps" - ], - "summary": "Gets site's Authentication / Authorization settings for apps via the V2 format", - "description": "Description for Gets site's Authentication / Authorization settings for apps via the V2 format", - "operationId": "WebApps_GetAuthSettingsV2WithoutSecrets", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the app.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/SiteAuthSettingsV2" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "List Auth Settings without Secrets": { - "$ref": "./examples/GetAuthSettingsV2WithoutSecrets.json" - } - } - }, - "put": { - "tags": [ - "WebApps" - ], - "summary": "Updates site's Authentication / Authorization settings for apps via the V2 format", - "description": "Description for Updates site's Authentication / Authorization settings for apps via the V2 format", - "operationId": "WebApps_UpdateAuthSettingsV2", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of web app.", - "required": true, - "type": "string" - }, - { - "name": "siteAuthSettingsV2", - "in": "body", - "description": "Auth settings associated with web app.", - "required": true, - "schema": { - "$ref": "#/definitions/SiteAuthSettingsV2" - } - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/SiteAuthSettingsV2" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "Update Auth Settings V2": { - "$ref": "./examples/UpdateAuthSettingsV2.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/authsettingsV2/list": { - "get": { - "tags": [ - "WebApps" - ], - "summary": "Gets site's Authentication / Authorization settings for apps via the V2 format", - "description": "Description for Gets site's Authentication / Authorization settings for apps via the V2 format", - "operationId": "WebApps_GetAuthSettingsV2", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the app.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/SiteAuthSettingsV2" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "List Auth Settings V2": { - "$ref": "./examples/ListAuthSettingsV2.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/azurestorageaccounts": { - "put": { - "tags": [ - "WebApps" - ], - "summary": "Updates the Azure storage account configurations of an app.", - "description": "Description for Updates the Azure storage account configurations of an app.", - "operationId": "WebApps_UpdateAzureStorageAccounts", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the app.", - "required": true, - "type": "string" - }, - { - "name": "azureStorageAccounts", - "in": "body", - "description": "Azure storage accounts of the app.", - "required": true, - "schema": { - "$ref": "#/definitions/AzureStoragePropertyDictionaryResource" - } - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/AzureStoragePropertyDictionaryResource" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "Update Azure Storage Accounts": { - "$ref": "./examples/UpdateAzureStorageAccounts.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/azurestorageaccounts/list": { - "post": { - "tags": [ - "WebApps" - ], - "summary": "Gets the Azure storage account configurations of an app.", - "description": "Description for Gets the Azure storage account configurations of an app.", - "operationId": "WebApps_ListAzureStorageAccounts", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the app.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/AzureStoragePropertyDictionaryResource" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/backup": { - "put": { - "tags": [ - "WebApps" - ], - "summary": "Updates the backup configuration of an app.", - "description": "Description for Updates the backup configuration of an app.", - "operationId": "WebApps_UpdateBackupConfiguration", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the app.", - "required": true, - "type": "string" - }, - { - "name": "request", - "in": "body", - "description": "Edited backup configuration.", - "required": true, - "schema": { - "$ref": "#/definitions/BackupRequest" - } - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/BackupRequest" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - }, - "delete": { - "tags": [ - "WebApps" - ], - "summary": "Deletes the backup configuration of an app.", - "description": "Description for Deletes the backup configuration of an app.", - "operationId": "WebApps_DeleteBackupConfiguration", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the app.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Successfully deleted backup configuration." - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/backup/list": { - "post": { - "tags": [ - "WebApps" - ], - "summary": "Gets the backup configuration of an app.", - "description": "Description for Gets the backup configuration of an app.", - "operationId": "WebApps_GetBackupConfiguration", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the app.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/BackupRequest" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/configreferences/appsettings": { - "get": { - "tags": [ - "WebApps" - ], - "summary": "Gets the config reference app settings and status of an app", - "description": "Description for Gets the config reference app settings and status of an app", - "operationId": "WebApps_GetAppSettingsKeyVaultReferences", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the app.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/ApiKVReferenceCollection" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "Get Azure Key Vault references for app settings": { - "$ref": "./examples/GetKeyVaultReferencesForAppSettings.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/configreferences/appsettings/{appSettingKey}": { - "get": { - "tags": [ - "WebApps" - ], - "summary": "Gets the config reference and status of an app", - "description": "Description for Gets the config reference and status of an app", - "operationId": "WebApps_GetAppSettingKeyVaultReference", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the app.", - "required": true, - "type": "string" - }, - { - "name": "appSettingKey", - "in": "path", - "description": "App Setting key name.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/ApiKVReference" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "Get Azure Key Vault app setting reference": { - "$ref": "./examples/GetKeyVaultReferencesForAppSetting.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/configreferences/connectionstrings": { - "get": { - "tags": [ - "WebApps" - ], - "summary": "Gets the config reference app settings and status of an app", - "description": "Description for Gets the config reference app settings and status of an app", - "operationId": "WebApps_GetSiteConnectionStringKeyVaultReferences", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the app.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/ApiKVReferenceCollection" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/configreferences/connectionstrings/{connectionStringKey}": { - "get": { - "tags": [ - "WebApps" - ], - "summary": "Gets the config reference and status of an app", - "description": "Description for Gets the config reference and status of an app", - "operationId": "WebApps_GetSiteConnectionStringKeyVaultReference", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the app.", - "required": true, - "type": "string" - }, - { - "name": "connectionStringKey", - "in": "path", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/ApiKVReference" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/connectionstrings": { - "put": { - "tags": [ - "WebApps" - ], - "summary": "Replaces the connection strings of an app.", - "description": "Description for Replaces the connection strings of an app.", - "operationId": "WebApps_UpdateConnectionStrings", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the app.", - "required": true, - "type": "string" - }, - { - "name": "connectionStrings", - "in": "body", - "description": "Connection strings of the app or deployment slot. See example.", - "required": true, - "schema": { - "$ref": "#/definitions/ConnectionStringDictionary" - } - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/ConnectionStringDictionary" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/connectionstrings/list": { - "post": { - "tags": [ - "WebApps" - ], - "summary": "Gets the connection strings of an app.", - "description": "Description for Gets the connection strings of an app.", - "operationId": "WebApps_ListConnectionStrings", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the app.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/ConnectionStringDictionary" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/logs": { - "get": { - "tags": [ - "WebApps" - ], - "summary": "Gets the logging configuration of an app.", - "description": "Description for Gets the logging configuration of an app.", - "operationId": "WebApps_GetDiagnosticLogsConfiguration", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the app.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/SiteLogsConfig" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - }, - "put": { - "tags": [ - "WebApps" - ], - "summary": "Updates the logging configuration of an app.", - "description": "Description for Updates the logging configuration of an app.", - "operationId": "WebApps_UpdateDiagnosticLogsConfig", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the app.", - "required": true, - "type": "string" - }, - { - "name": "siteLogsConfig", - "in": "body", - "description": "A SiteLogsConfig JSON object that contains the logging configuration to change in the \"properties\" property.", - "required": true, - "schema": { - "$ref": "#/definitions/SiteLogsConfig" - } - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/SiteLogsConfig" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/metadata": { - "put": { - "tags": [ - "WebApps" - ], - "summary": "Replaces the metadata of an app.", - "description": "Description for Replaces the metadata of an app.", - "operationId": "WebApps_UpdateMetadata", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the app.", - "required": true, - "type": "string" - }, - { - "name": "metadata", - "in": "body", - "description": "Edited metadata of the app or deployment slot. See example.", - "required": true, - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/StringDictionary" - } - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/StringDictionary" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/metadata/list": { - "post": { - "tags": [ - "WebApps" - ], - "summary": "Gets the metadata of an app.", - "description": "Description for Gets the metadata of an app.", - "operationId": "WebApps_ListMetadata", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the app.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/StringDictionary" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/publishingcredentials/list": { - "post": { - "tags": [ - "WebApps" - ], - "summary": "Gets the Git/FTP publishing credentials of an app.", - "description": "Description for Gets the Git/FTP publishing credentials of an app.", - "operationId": "WebApps_ListPublishingCredentials", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the app.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/User" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/pushsettings": { - "put": { - "tags": [ - "WebApps" - ], - "summary": "Updates the Push settings associated with web app.", - "description": "Description for Updates the Push settings associated with web app.", - "operationId": "WebApps_UpdateSitePushSettings", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of web app.", - "required": true, - "type": "string" - }, - { - "name": "pushSettings", - "in": "body", - "description": "Push settings associated with web app.", - "required": true, - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/PushSettings" - } - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/PushSettings" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/pushsettings/list": { - "post": { - "tags": [ - "WebApps" - ], - "summary": "Gets the Push settings associated with web app.", - "description": "Description for Gets the Push settings associated with web app.", - "operationId": "WebApps_ListSitePushSettings", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of web app.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/PushSettings" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/slotConfigNames": { - "get": { - "tags": [ - "WebApps" - ], - "summary": "Gets the names of app settings and connection strings that stick to the slot (not swapped).", - "description": "Description for Gets the names of app settings and connection strings that stick to the slot (not swapped).", - "operationId": "WebApps_ListSlotConfigurationNames", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the app.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/SlotConfigNamesResource" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - }, - "put": { - "tags": [ - "WebApps" - ], - "summary": "Updates the names of application settings and connection string that remain with the slot during swap operation.", - "description": "Description for Updates the names of application settings and connection string that remain with the slot during swap operation.", - "operationId": "WebApps_UpdateSlotConfigurationNames", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the app.", - "required": true, - "type": "string" - }, - { - "name": "slotConfigNames", - "in": "body", - "description": "Names of application settings and connection strings. See example.", - "required": true, - "schema": { - "$ref": "#/definitions/SlotConfigNamesResource" - } - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/SlotConfigNamesResource" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/web": { - "get": { - "tags": [ - "WebApps" - ], - "summary": "Gets the configuration of an app, such as platform version and bitness, default documents, virtual applications, Always On, etc.", - "description": "Description for Gets the configuration of an app, such as platform version and bitness, default documents, virtual applications, Always On, etc.", - "operationId": "WebApps_GetConfiguration", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the app.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/SiteConfigResource" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "Get Site Config": { - "$ref": "./examples/GetSiteConfig.json" - } - } - }, - "put": { - "tags": [ - "WebApps" - ], - "summary": "Updates the configuration of an app.", - "description": "Description for Updates the configuration of an app.", - "operationId": "WebApps_CreateOrUpdateConfiguration", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the app.", - "required": true, - "type": "string" - }, - { - "name": "siteConfig", - "in": "body", - "description": "JSON representation of a SiteConfig object. See example.", - "required": true, - "schema": { - "$ref": "#/definitions/SiteConfigResource" - } - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/SiteConfigResource" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "Update Site Config": { - "$ref": "./examples/UpdateSiteConfig.json" - } - } - }, - "patch": { - "tags": [ - "WebApps" - ], - "summary": "Updates the configuration of an app.", - "description": "Description for Updates the configuration of an app.", - "operationId": "WebApps_UpdateConfiguration", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the app.", - "required": true, - "type": "string" - }, - { - "name": "siteConfig", - "in": "body", - "description": "JSON representation of a SiteConfig object. See example.", - "required": true, - "schema": { - "$ref": "#/definitions/SiteConfigResource" - } - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/SiteConfigResource" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/web/snapshots": { - "get": { - "tags": [ - "WebApps" - ], - "summary": "Gets a list of web app configuration snapshots identifiers. Each element of the list contains a timestamp and the ID of the snapshot.", - "description": "Description for Gets a list of web app configuration snapshots identifiers. Each element of the list contains a timestamp and the ID of the snapshot.", - "operationId": "WebApps_ListConfigurationSnapshotInfo", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the app.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/SiteConfigurationSnapshotInfoCollection" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/web/snapshots/{snapshotId}": { - "get": { - "tags": [ - "WebApps" - ], - "summary": "Gets a snapshot of the configuration of an app at a previous point in time.", - "description": "Description for Gets a snapshot of the configuration of an app at a previous point in time.", - "operationId": "WebApps_GetConfigurationSnapshot", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the app.", - "required": true, - "type": "string" - }, - { - "name": "snapshotId", - "in": "path", - "description": "The ID of the snapshot to read.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/SiteConfigResource" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/web/snapshots/{snapshotId}/recover": { - "post": { - "tags": [ - "WebApps" - ], - "summary": "Reverts the configuration of an app to a previous snapshot.", - "description": "Description for Reverts the configuration of an app to a previous snapshot.", - "operationId": "WebApps_RecoverSiteConfigurationSnapshot", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the app.", - "required": true, - "type": "string" - }, - { - "name": "snapshotId", - "in": "path", - "description": "The ID of the snapshot to read.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "204": { - "description": "No Content" - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/containerlogs": { - "post": { - "tags": [ - "WebApps" - ], - "summary": "Gets the last lines of docker logs for the given site", - "description": "Description for Gets the last lines of docker logs for the given site", - "operationId": "WebApps_GetWebSiteContainerLogs", - "produces": [ - "application/octet-stream" - ], - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of web app.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "204": { - "description": "No Content" - }, - "200": { - "description": "OK", - "schema": { - "type": "file" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/containerlogs/zip/download": { - "post": { - "tags": [ - "WebApps" - ], - "summary": "Gets the ZIP archived docker log files for the given site", - "description": "Description for Gets the ZIP archived docker log files for the given site", - "operationId": "WebApps_GetContainerLogsZip", - "produces": [ - "application/zip" - ], - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of web app.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "204": { - "description": "No Content" - }, - "200": { - "description": "OK", - "schema": { - "type": "file" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/continuouswebjobs": { - "get": { - "tags": [ - "WebApps" - ], - "summary": "List continuous web jobs for an app, or a deployment slot.", - "description": "Description for List continuous web jobs for an app, or a deployment slot.", - "operationId": "WebApps_ListContinuousWebJobs", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Site name.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/ContinuousWebJobCollection" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/continuouswebjobs/{webJobName}": { - "get": { - "tags": [ - "WebApps" - ], - "summary": "Gets a continuous web job by its ID for an app, or a deployment slot.", - "description": "Description for Gets a continuous web job by its ID for an app, or a deployment slot.", - "operationId": "WebApps_GetContinuousWebJob", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Site name.", - "required": true, - "type": "string" - }, - { - "name": "webJobName", - "in": "path", - "description": "Name of Web Job.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Found continuous web job.", - "schema": { - "$ref": "#/definitions/ContinuousWebJob" - } - }, - "404": { - "description": "Continuous web job does not exist.", - "x-ms-error-response": true - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - }, - "delete": { - "tags": [ - "WebApps" - ], - "summary": "Delete a continuous web job by its ID for an app, or a deployment slot.", - "description": "Description for Delete a continuous web job by its ID for an app, or a deployment slot.", - "operationId": "WebApps_DeleteContinuousWebJob", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Site name.", - "required": true, - "type": "string" - }, - { - "name": "webJobName", - "in": "path", - "description": "Name of Web Job.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Successfully deleted continuous web job." - }, - "204": { - "description": "Continuous web job does not exist." - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/continuouswebjobs/{webJobName}/start": { - "post": { - "tags": [ - "WebApps" - ], - "summary": "Start a continuous web job for an app, or a deployment slot.", - "description": "Description for Start a continuous web job for an app, or a deployment slot.", - "operationId": "WebApps_StartContinuousWebJob", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Site name.", - "required": true, - "type": "string" - }, - { - "name": "webJobName", - "in": "path", - "description": "Name of Web Job.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Found continuous web job." - }, - "404": { - "description": "Continuous web job does not exist.", - "x-ms-error-response": true - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/continuouswebjobs/{webJobName}/stop": { - "post": { - "tags": [ - "WebApps" - ], - "summary": "Stop a continuous web job for an app, or a deployment slot.", - "description": "Description for Stop a continuous web job for an app, or a deployment slot.", - "operationId": "WebApps_StopContinuousWebJob", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Site name.", - "required": true, - "type": "string" - }, - { - "name": "webJobName", - "in": "path", - "description": "Name of Web Job.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Found continuous web job." - }, - "404": { - "description": "Continuous web job does not exist.", - "x-ms-error-response": true - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/deploymentStatus": { - "get": { - "tags": [ - "WebApps" - ], - "summary": "List deployment statuses for an app (or deployment slot, if specified).", - "operationId": "WebApps_ListProductionSiteDeploymentStatuses", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the app.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/CsmDeploymentStatusCollection" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "List Deployment Status": { - "$ref": "./examples/ListSiteDeploymentStatus.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/deploymentStatus/{deploymentStatusId}": { - "get": { - "tags": [ - "WebApps" - ], - "summary": "Gets the deployment status for an app (or deployment slot, if specified).", - "operationId": "WebApps_GetProductionSiteDeploymentStatus", - "parameters": [ - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the app.", - "required": true, - "type": "string" - }, - { - "name": "deploymentStatusId", - "in": "path", - "description": "GUID of the deployment operation.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/CsmDeploymentStatus" - } - }, - "202": { - "description": "Operation is in progress.", - "schema": { - "$ref": "#/definitions/CsmDeploymentStatus" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "Get Deployment Status": { - "$ref": "./examples/GetSiteDeploymentStatus.json" - } - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/deployments": { - "get": { - "tags": [ - "WebApps" - ], - "summary": "List deployments for an app, or a deployment slot.", - "description": "Description for List deployments for an app, or a deployment slot.", - "operationId": "WebApps_ListDeployments", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the app.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/DeploymentCollection" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/deployments/{id}": { - "get": { - "tags": [ - "WebApps" - ], - "summary": "Get a deployment by its ID for an app, or a deployment slot.", - "description": "Description for Get a deployment by its ID for an app, or a deployment slot.", - "operationId": "WebApps_GetDeployment", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the app.", - "required": true, - "type": "string" - }, - { - "name": "id", - "in": "path", - "description": "Deployment ID.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/Deployment" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - }, - "put": { - "tags": [ - "WebApps" - ], - "summary": "Create a deployment for an app, or a deployment slot.", - "description": "Description for Create a deployment for an app, or a deployment slot.", - "operationId": "WebApps_CreateDeployment", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the app.", - "required": true, - "type": "string" - }, - { - "name": "id", - "in": "path", - "description": "ID of an existing deployment.", - "required": true, - "type": "string" - }, - { - "name": "deployment", - "in": "body", - "description": "Deployment details.", - "required": true, - "schema": { - "$ref": "#/definitions/Deployment" - } - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/Deployment" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - }, - "delete": { - "tags": [ - "WebApps" - ], - "summary": "Delete a deployment by its ID for an app, or a deployment slot.", - "description": "Description for Delete a deployment by its ID for an app, or a deployment slot.", - "operationId": "WebApps_DeleteDeployment", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the app.", - "required": true, - "type": "string" - }, - { - "name": "id", - "in": "path", - "description": "Deployment ID.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Successfully deleted deployment." - }, - "204": { - "description": "Deployment does not exist." - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/deployments/{id}/log": { - "get": { - "tags": [ - "WebApps" - ], - "summary": "List deployment log for specific deployment for an app, or a deployment slot.", - "description": "Description for List deployment log for specific deployment for an app, or a deployment slot.", - "operationId": "WebApps_ListDeploymentLog", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the app.", - "required": true, - "type": "string" - }, - { - "name": "id", - "in": "path", - "description": "The ID of a specific deployment. This is the value of the name property in the JSON response from \"GET /api/sites/{siteName}/deployments\".", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/Deployment" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/discoverbackup": { - "post": { - "tags": [ - "WebApps" - ], - "summary": "Discovers an existing app backup that can be restored from a blob in Azure storage. Use this to get information about the databases stored in a backup.", - "description": "Description for Discovers an existing app backup that can be restored from a blob in Azure storage. Use this to get information about the databases stored in a backup.", - "operationId": "WebApps_DiscoverBackup", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the app.", - "required": true, - "type": "string" - }, - { - "name": "request", - "in": "body", - "description": "A RestoreRequest object that includes Azure storage URL and blog name for discovery of backup.", - "required": true, - "schema": { - "$ref": "#/definitions/RestoreRequest" - } - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/RestoreRequest" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/domainOwnershipIdentifiers": { - "get": { - "tags": [ - "WebApps" - ], - "summary": "Lists ownership identifiers for domain associated with web app.", - "description": "Description for Lists ownership identifiers for domain associated with web app.", - "operationId": "WebApps_ListDomainOwnershipIdentifiers", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the app.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/IdentifierCollection" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/domainOwnershipIdentifiers/{domainOwnershipIdentifierName}": { - "get": { - "tags": [ - "WebApps" - ], - "summary": "Get domain ownership identifier for web app.", - "description": "Description for Get domain ownership identifier for web app.", - "operationId": "WebApps_GetDomainOwnershipIdentifier", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the app.", - "required": true, - "type": "string" - }, - { - "name": "domainOwnershipIdentifierName", - "in": "path", - "description": "Name of domain ownership identifier.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/Identifier" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - }, - "put": { - "tags": [ - "WebApps" - ], - "summary": "Creates a domain ownership identifier for web app, or updates an existing ownership identifier.", - "description": "Description for Creates a domain ownership identifier for web app, or updates an existing ownership identifier.", - "operationId": "WebApps_CreateOrUpdateDomainOwnershipIdentifier", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the app.", - "required": true, - "type": "string" - }, - { - "name": "domainOwnershipIdentifierName", - "in": "path", - "description": "Name of domain ownership identifier.", - "required": true, - "type": "string" - }, - { - "name": "domainOwnershipIdentifier", - "in": "body", - "description": "A JSON representation of the domain ownership properties.", - "required": true, - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/Identifier" - } - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/Identifier" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - }, - "delete": { - "tags": [ - "WebApps" - ], - "summary": "Deletes a domain ownership identifier for a web app.", - "description": "Description for Deletes a domain ownership identifier for a web app.", - "operationId": "WebApps_DeleteDomainOwnershipIdentifier", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the app.", - "required": true, - "type": "string" - }, - { - "name": "domainOwnershipIdentifierName", - "in": "path", - "description": "Name of domain ownership identifier.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Successfully deleted domain ownership identifier." - }, - "204": { - "description": "Domain ownership identifier does not exist." - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - }, - "patch": { - "tags": [ - "WebApps" - ], - "summary": "Creates a domain ownership identifier for web app, or updates an existing ownership identifier.", - "description": "Description for Creates a domain ownership identifier for web app, or updates an existing ownership identifier.", - "operationId": "WebApps_UpdateDomainOwnershipIdentifier", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the app.", - "required": true, - "type": "string" - }, - { - "name": "domainOwnershipIdentifierName", - "in": "path", - "description": "Name of domain ownership identifier.", - "required": true, - "type": "string" - }, - { - "name": "domainOwnershipIdentifier", - "in": "body", - "description": "A JSON representation of the domain ownership properties.", - "required": true, - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/Identifier" - } - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/Identifier" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/extensions/MSDeploy": { - "get": { - "tags": [ - "WebApps" - ], - "summary": "Get the status of the last MSDeploy operation.", - "description": "Description for Get the status of the last MSDeploy operation.", - "operationId": "WebApps_GetMSDeployStatus", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of web app.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/MSDeployStatus" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - }, - "put": { - "tags": [ - "WebApps" - ], - "summary": "Invoke the MSDeploy web app extension.", - "description": "Description for Invoke the MSDeploy web app extension.", - "operationId": "WebApps_CreateMSDeployOperation", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of web app.", - "required": true, - "type": "string" - }, - { - "name": "MSDeploy", - "in": "body", - "description": "Details of MSDeploy operation", - "required": true, - "schema": { - "$ref": "#/definitions/MSDeploy" - } - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "201": { - "description": "Deployment is scheduled.", - "schema": { - "$ref": "#/definitions/MSDeployStatus" - } - }, - "409": { - "description": "Another deployment is in progress.", - "x-ms-error-response": true - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/extensions/MSDeploy/log": { - "get": { - "tags": [ - "WebApps" - ], - "summary": "Get the MSDeploy Log for the last MSDeploy operation.", - "description": "Description for Get the MSDeploy Log for the last MSDeploy operation.", - "operationId": "WebApps_GetMSDeployLog", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of web app.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "MSDeploy log returned.", - "schema": { - "$ref": "#/definitions/MSDeployLog" - } - }, - "404": { - "description": "MSDeploy log not found.", - "x-ms-error-response": true - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/extensions/onedeploy": { - "get": { - "tags": [ - "WebApps" - ], - "summary": "Invoke onedeploy status API /api/deployments and gets the deployment status for the site", - "description": "Description for Invoke onedeploy status API /api/deployments and gets the deployment status for the site", - "operationId": "WebApps_GetOneDeployStatus", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of web app.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "object" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - }, - "put": { - "tags": [ - "WebApps" - ], - "summary": "Invoke the OneDeploy publish web app extension.", - "description": "Description for Invoke the OneDeploy publish web app extension.", - "operationId": "WebApps_CreateOneDeployOperation", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of web app.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "object" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/functions": { - "get": { - "tags": [ - "WebApps" - ], - "summary": "List the functions for a web site, or a deployment slot.", - "description": "Description for List the functions for a web site, or a deployment slot.", - "operationId": "WebApps_ListFunctions", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Site name.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Function information returned.", - "schema": { - "$ref": "#/definitions/FunctionEnvelopeCollection" - } - }, - "404": { - "description": "Function with an ID of {functionName} is not running.", - "x-ms-error-response": true - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/functions/admin/token": { - "get": { - "tags": [ - "WebApps" - ], - "summary": "Fetch a short lived token that can be exchanged for a master key.", - "description": "Description for Fetch a short lived token that can be exchanged for a master key.", - "operationId": "WebApps_GetFunctionsAdminToken", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of web app.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "string" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/functions/{functionName}": { - "get": { - "tags": [ - "WebApps" - ], - "summary": "Get function information by its ID for web site, or a deployment slot.", - "description": "Description for Get function information by its ID for web site, or a deployment slot.", - "operationId": "WebApps_GetFunction", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Site name.", - "required": true, - "type": "string" - }, - { - "name": "functionName", - "in": "path", - "description": "Function name.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Function information returned.", - "schema": { - "$ref": "#/definitions/FunctionEnvelope" - } - }, - "404": { - "description": "Function with a name of {functionName} does not exist.", - "x-ms-error-response": true - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - }, - "put": { - "tags": [ - "WebApps" - ], - "summary": "Create function for web site, or a deployment slot.", - "description": "Description for Create function for web site, or a deployment slot.", - "operationId": "WebApps_CreateFunction", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Site name.", - "required": true, - "type": "string" - }, - { - "name": "functionName", - "in": "path", - "description": "Function name.", - "required": true, - "type": "string" - }, - { - "name": "function_envelope", - "in": "body", - "description": "Function details.", - "required": true, - "schema": { - "$ref": "#/definitions/FunctionEnvelope" - } - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "201": { - "description": "Function created.", - "schema": { - "$ref": "#/definitions/FunctionEnvelope" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-long-running-operation": true - }, - "delete": { - "tags": [ - "WebApps" - ], - "summary": "Delete a function for web site, or a deployment slot.", - "description": "Description for Delete a function for web site, or a deployment slot.", - "operationId": "WebApps_DeleteFunction", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Site name.", - "required": true, - "type": "string" - }, - { - "name": "functionName", - "in": "path", - "description": "Function name.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "204": { - "description": "Function deleted." - }, - "404": { - "description": "Function does not exist.", - "x-ms-error-response": true - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/functions/{functionName}/keys/{keyName}": { - "put": { - "tags": [ - "WebApps" - ], - "summary": "Add or update a function secret.", - "description": "Description for Add or update a function secret.", - "operationId": "WebApps_CreateOrUpdateFunctionSecret", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Site name.", - "required": true, - "type": "string" - }, - { - "name": "functionName", - "in": "path", - "description": "The name of the function.", - "required": true, - "type": "string" - }, - { - "name": "keyName", - "in": "path", - "description": "The name of the key.", - "required": true, - "type": "string" - }, - { - "name": "key", - "in": "body", - "description": "The key to create or update", - "required": true, - "schema": { - "$ref": "#/definitions/KeyInfo" - } - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "201": { - "description": "Key was created.", - "schema": { - "$ref": "#/definitions/KeyInfo" - } - }, - "200": { - "description": "Key was updated.", - "schema": { - "$ref": "#/definitions/KeyInfo" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - }, - "delete": { - "tags": [ - "WebApps" - ], - "summary": "Delete a function secret.", - "description": "Description for Delete a function secret.", - "operationId": "WebApps_DeleteFunctionSecret", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Site name.", - "required": true, - "type": "string" - }, - { - "name": "functionName", - "in": "path", - "description": "The name of the function.", - "required": true, - "type": "string" - }, - { - "name": "keyName", - "in": "path", - "description": "The name of the key.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "404": { - "description": "Key was not found.", - "x-ms-error-response": true - }, - "204": { - "description": "Key was deleted." - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/functions/{functionName}/listkeys": { - "post": { - "tags": [ - "WebApps" - ], - "summary": "Get function keys for a function in a web site, or a deployment slot.", - "description": "Description for Get function keys for a function in a web site, or a deployment slot.", - "operationId": "WebApps_ListFunctionKeys", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Site name.", - "required": true, - "type": "string" - }, - { - "name": "functionName", - "in": "path", - "description": "Function name.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Function keys returned.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/StringDictionary" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/functions/{functionName}/listsecrets": { - "post": { - "tags": [ - "WebApps" - ], - "summary": "Get function secrets for a function in a web site, or a deployment slot.", - "description": "Description for Get function secrets for a function in a web site, or a deployment slot.", - "operationId": "WebApps_ListFunctionSecrets", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Site name.", - "required": true, - "type": "string" - }, - { - "name": "functionName", - "in": "path", - "description": "Function name.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Function secrets returned.", - "schema": { - "$ref": "#/definitions/FunctionSecrets" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/host/default/listkeys": { - "post": { - "tags": [ - "WebApps" - ], - "summary": "Get host secrets for a function app.", - "description": "Description for Get host secrets for a function app.", - "operationId": "WebApps_ListHostKeys", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Site name.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Host secrets returned.", - "schema": { - "$ref": "#/definitions/HostKeys" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/host/default/listsyncstatus": { - "post": { - "tags": [ - "WebApps" - ], - "summary": "This is to allow calling via powershell and ARM template.", - "description": "Description for This is to allow calling via powershell and ARM template.", - "operationId": "WebApps_ListSyncStatus", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the app.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "204": { - "description": "No Content" - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/host/default/sync": { - "post": { - "tags": [ - "WebApps" - ], - "summary": "Syncs function trigger metadata to the management database", - "description": "Description for Syncs function trigger metadata to the management database", - "operationId": "WebApps_SyncFunctions", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the app.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "204": { - "description": "No Content" - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/host/default/{keyType}/{keyName}": { - "put": { - "tags": [ - "WebApps" - ], - "summary": "Add or update a host level secret.", - "description": "Description for Add or update a host level secret.", - "operationId": "WebApps_CreateOrUpdateHostSecret", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Site name.", - "required": true, - "type": "string" - }, - { - "name": "keyType", - "in": "path", - "description": "The type of host key.", - "required": true, - "type": "string" - }, - { - "name": "keyName", - "in": "path", - "description": "The name of the key.", - "required": true, - "type": "string" - }, - { - "name": "key", - "in": "body", - "description": "The key to create or update", - "required": true, - "schema": { - "$ref": "#/definitions/KeyInfo" - } - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "201": { - "description": "Key was created.", - "schema": { - "$ref": "#/definitions/KeyInfo" - } - }, - "200": { - "description": "Key was updated.", - "schema": { - "$ref": "#/definitions/KeyInfo" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - }, - "delete": { - "tags": [ - "WebApps" - ], - "summary": "Delete a host level secret.", - "description": "Description for Delete a host level secret.", - "operationId": "WebApps_DeleteHostSecret", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Site name.", - "required": true, - "type": "string" - }, - { - "name": "keyType", - "in": "path", - "description": "The type of host key.", - "required": true, - "type": "string" - }, - { - "name": "keyName", - "in": "path", - "description": "The name of the key.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "404": { - "description": "Key was not found.", - "x-ms-error-response": true - }, - "204": { - "description": "Key was deleted." - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hostNameBindings": { - "get": { - "tags": [ - "WebApps" - ], - "summary": "Get hostname bindings for an app or a deployment slot.", - "description": "Description for Get hostname bindings for an app or a deployment slot.", - "operationId": "WebApps_ListHostNameBindings", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the app.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/HostNameBindingCollection" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hostNameBindings/{hostName}": { - "get": { - "tags": [ - "WebApps" - ], - "summary": "Get the named hostname binding for an app (or deployment slot, if specified).", - "description": "Description for Get the named hostname binding for an app (or deployment slot, if specified).", - "operationId": "WebApps_GetHostNameBinding", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the app.", - "required": true, - "type": "string" - }, - { - "name": "hostName", - "in": "path", - "description": "Hostname in the hostname binding.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/HostNameBinding" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - }, - "put": { - "tags": [ - "WebApps" - ], - "summary": "Creates a hostname binding for an app.", - "description": "Description for Creates a hostname binding for an app.", - "operationId": "WebApps_CreateOrUpdateHostNameBinding", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the app.", - "required": true, - "type": "string" - }, - { - "name": "hostName", - "in": "path", - "description": "Hostname in the hostname binding.", - "required": true, - "type": "string" - }, - { - "name": "hostNameBinding", - "in": "body", - "description": "Binding details. This is the JSON representation of a HostNameBinding object.", - "required": true, - "schema": { - "$ref": "#/definitions/HostNameBinding" - } - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/HostNameBinding" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - }, - "delete": { - "tags": [ - "WebApps" - ], - "summary": "Deletes a hostname binding for an app.", - "description": "Description for Deletes a hostname binding for an app.", - "operationId": "WebApps_DeleteHostNameBinding", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the app.", - "required": true, - "type": "string" - }, - { - "name": "hostName", - "in": "path", - "description": "Hostname in the hostname binding.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Successfully deleted hostname binding." - }, - "204": { - "description": "Hostname binding does not exist." - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hybridConnectionNamespaces/{namespaceName}/relays/{relayName}": { - "get": { - "tags": [ - "WebApps" - ], - "summary": "Retrieves a specific Service Bus Hybrid Connection used by this Web App.", - "description": "Description for Retrieves a specific Service Bus Hybrid Connection used by this Web App.", - "operationId": "WebApps_GetHybridConnection", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "The name of the web app.", - "required": true, - "type": "string" - }, - { - "name": "namespaceName", - "in": "path", - "description": "The namespace for this hybrid connection.", - "required": true, - "type": "string" - }, - { - "name": "relayName", - "in": "path", - "description": "The relay name for this hybrid connection.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/HybridConnection" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - }, - "put": { - "tags": [ - "WebApps" - ], - "summary": "Creates a new Hybrid Connection using a Service Bus relay.", - "description": "Description for Creates a new Hybrid Connection using a Service Bus relay.", - "operationId": "WebApps_CreateOrUpdateHybridConnection", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "The name of the web app.", - "required": true, - "type": "string" - }, - { - "name": "namespaceName", - "in": "path", - "description": "The namespace for this hybrid connection.", - "required": true, - "type": "string" - }, - { - "name": "relayName", - "in": "path", - "description": "The relay name for this hybrid connection.", - "required": true, - "type": "string" - }, - { - "name": "connectionEnvelope", - "in": "body", - "description": "The details of the hybrid connection.", - "required": true, - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/HybridConnection" - } - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/HybridConnection" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - }, - "delete": { - "tags": [ - "WebApps" - ], - "summary": "Removes a Hybrid Connection from this site.", - "description": "Description for Removes a Hybrid Connection from this site.", - "operationId": "WebApps_DeleteHybridConnection", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "The name of the web app.", - "required": true, - "type": "string" - }, - { - "name": "namespaceName", - "in": "path", - "description": "The namespace for this hybrid connection.", - "required": true, - "type": "string" - }, - { - "name": "relayName", - "in": "path", - "description": "The relay name for this hybrid connection.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Successfully deleted hybrid connection." - }, - "404": { - "description": "Hybrid connection does not exist.", - "x-ms-error-response": true - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - }, - "patch": { - "tags": [ - "WebApps" - ], - "summary": "Creates a new Hybrid Connection using a Service Bus relay.", - "description": "Description for Creates a new Hybrid Connection using a Service Bus relay.", - "operationId": "WebApps_UpdateHybridConnection", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "The name of the web app.", - "required": true, - "type": "string" - }, - { - "name": "namespaceName", - "in": "path", - "description": "The namespace for this hybrid connection.", - "required": true, - "type": "string" - }, - { - "name": "relayName", - "in": "path", - "description": "The relay name for this hybrid connection.", - "required": true, - "type": "string" - }, - { - "name": "connectionEnvelope", - "in": "body", - "description": "The details of the hybrid connection.", - "required": true, - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/HybridConnection" - } - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/HybridConnection" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hybridConnectionRelays": { - "get": { - "tags": [ - "WebApps" - ], - "summary": "Retrieves all Service Bus Hybrid Connections used by this Web App.", - "description": "Description for Retrieves all Service Bus Hybrid Connections used by this Web App.", - "operationId": "WebApps_ListHybridConnections", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "The name of the web app.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/HybridConnection" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hybridconnection": { - "get": { - "tags": [ - "WebApps" - ], - "summary": "Gets hybrid connections configured for an app (or deployment slot, if specified).", - "description": "Description for Gets hybrid connections configured for an app (or deployment slot, if specified).", - "operationId": "WebApps_ListRelayServiceConnections", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the app.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/RelayServiceConnectionEntity" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hybridconnection/{entityName}": { - "get": { - "tags": [ - "WebApps" - ], - "summary": "Gets a hybrid connection configuration by its name.", - "description": "Description for Gets a hybrid connection configuration by its name.", - "operationId": "WebApps_GetRelayServiceConnection", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the app.", - "required": true, - "type": "string" - }, - { - "name": "entityName", - "in": "path", - "description": "Name of the hybrid connection.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/RelayServiceConnectionEntity" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - }, - "put": { - "tags": [ - "WebApps" - ], - "summary": "Creates a new hybrid connection configuration (PUT), or updates an existing one (PATCH).", - "description": "Description for Creates a new hybrid connection configuration (PUT), or updates an existing one (PATCH).", - "operationId": "WebApps_CreateOrUpdateRelayServiceConnection", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the app.", - "required": true, - "type": "string" - }, - { - "name": "entityName", - "in": "path", - "description": "Name of the hybrid connection configuration.", - "required": true, - "type": "string" - }, - { - "name": "connectionEnvelope", - "in": "body", - "description": "Details of the hybrid connection configuration.", - "required": true, - "schema": { - "$ref": "#/definitions/RelayServiceConnectionEntity" - } - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/RelayServiceConnectionEntity" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - }, - "delete": { - "tags": [ - "WebApps" - ], - "summary": "Deletes a relay service connection by its name.", - "description": "Description for Deletes a relay service connection by its name.", - "operationId": "WebApps_DeleteRelayServiceConnection", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the app.", - "required": true, - "type": "string" - }, - { - "name": "entityName", - "in": "path", - "description": "Name of the hybrid connection configuration.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Successfully deleted relay service connection." - }, - "404": { - "description": "Relay service connection does not exist.", - "x-ms-error-response": true - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - }, - "patch": { - "tags": [ - "WebApps" - ], - "summary": "Creates a new hybrid connection configuration (PUT), or updates an existing one (PATCH).", - "description": "Description for Creates a new hybrid connection configuration (PUT), or updates an existing one (PATCH).", - "operationId": "WebApps_UpdateRelayServiceConnection", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the app.", - "required": true, - "type": "string" - }, - { - "name": "entityName", - "in": "path", - "description": "Name of the hybrid connection configuration.", - "required": true, - "type": "string" - }, - { - "name": "connectionEnvelope", - "in": "body", - "description": "Details of the hybrid connection configuration.", - "required": true, - "schema": { - "$ref": "#/definitions/RelayServiceConnectionEntity" - } - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/RelayServiceConnectionEntity" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/instances": { - "get": { - "tags": [ - "WebApps" - ], - "summary": "Gets all scale-out instances of an app.", - "description": "Description for Gets all scale-out instances of an app.", - "operationId": "WebApps_ListInstanceIdentifiers", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the app.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/WebAppInstanceStatusCollection" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/instances/{instanceId}": { - "get": { - "tags": [ - "WebApps" - ], - "summary": "Gets all scale-out instances of an app.", - "description": "Description for Gets all scale-out instances of an app.", - "operationId": "WebApps_GetInstanceInfo", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the app.", - "required": true, - "type": "string" - }, - { - "name": "instanceId", - "in": "path", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/WebSiteInstanceStatus" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "Get site instance info": { - "$ref": "./examples/GetSiteInstanceInfo.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/instances/{instanceId}/extensions/MSDeploy": { - "get": { - "tags": [ - "WebApps" - ], - "summary": "Get the status of the last MSDeploy operation.", - "description": "Description for Get the status of the last MSDeploy operation.", - "operationId": "WebApps_GetInstanceMsDeployStatus", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of web app.", - "required": true, - "type": "string" - }, - { - "name": "instanceId", - "in": "path", - "description": "ID of web app instance.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/MSDeployStatus" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - }, - "put": { - "tags": [ - "WebApps" - ], - "summary": "Invoke the MSDeploy web app extension.", - "description": "Description for Invoke the MSDeploy web app extension.", - "operationId": "WebApps_CreateInstanceMSDeployOperation", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of web app.", - "required": true, - "type": "string" - }, - { - "name": "instanceId", - "in": "path", - "description": "ID of web app instance.", - "required": true, - "type": "string" - }, - { - "name": "MSDeploy", - "in": "body", - "description": "Details of MSDeploy operation", - "required": true, - "schema": { - "$ref": "#/definitions/MSDeploy" - } - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "201": { - "description": "Deployment is scheduled.", - "schema": { - "$ref": "#/definitions/MSDeployStatus" - } - }, - "409": { - "description": "Another deployment is in progress.", - "x-ms-error-response": true - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/instances/{instanceId}/extensions/MSDeploy/log": { - "get": { - "tags": [ - "WebApps" - ], - "summary": "Get the MSDeploy Log for the last MSDeploy operation.", - "description": "Description for Get the MSDeploy Log for the last MSDeploy operation.", - "operationId": "WebApps_GetInstanceMSDeployLog", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of web app.", - "required": true, - "type": "string" - }, - { - "name": "instanceId", - "in": "path", - "description": "ID of web app instance.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "MSDeploy log returned.", - "schema": { - "$ref": "#/definitions/MSDeployLog" - } - }, - "404": { - "description": "MSDeploy log not found.", - "x-ms-error-response": true - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/instances/{instanceId}/processes": { - "get": { - "tags": [ - "WebApps" - ], - "summary": "Get list of processes for a web site, or a deployment slot, or for a specific scaled-out instance in a web site.", - "description": "Description for Get list of processes for a web site, or a deployment slot, or for a specific scaled-out instance in a web site.", - "operationId": "WebApps_ListInstanceProcesses", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Site name.", - "required": true, - "type": "string" - }, - { - "name": "instanceId", - "in": "path", - "description": "ID of a specific scaled-out instance. This is the value of the name property in the JSON response from \"GET api/sites/{siteName}/instances\".", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Process terminated.", - "schema": { - "$ref": "#/definitions/ProcessInfoCollection" - } - }, - "404": { - "description": "Process with the specified ID is not running.", - "x-ms-error-response": true - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/instances/{instanceId}/processes/{processId}": { - "get": { - "tags": [ - "WebApps" - ], - "summary": "Get process information by its ID for a specific scaled-out instance in a web site.", - "description": "Description for Get process information by its ID for a specific scaled-out instance in a web site.", - "operationId": "WebApps_GetInstanceProcess", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Site name.", - "required": true, - "type": "string" - }, - { - "name": "processId", - "in": "path", - "description": "PID.", - "required": true, - "type": "string" - }, - { - "name": "instanceId", - "in": "path", - "description": "ID of a specific scaled-out instance. This is the value of the name property in the JSON response from \"GET api/sites/{siteName}/instances\".", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Process information returned.", - "schema": { - "$ref": "#/definitions/ProcessInfo" - } - }, - "404": { - "description": "Process with the specified ID is not running.", - "x-ms-error-response": true - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - }, - "delete": { - "tags": [ - "WebApps" - ], - "summary": "Terminate a process by its ID for a web site, or a deployment slot, or specific scaled-out instance in a web site.", - "description": "Description for Terminate a process by its ID for a web site, or a deployment slot, or specific scaled-out instance in a web site.", - "operationId": "WebApps_DeleteInstanceProcess", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Site name.", - "required": true, - "type": "string" - }, - { - "name": "processId", - "in": "path", - "description": "PID.", - "required": true, - "type": "string" - }, - { - "name": "instanceId", - "in": "path", - "description": "ID of a specific scaled-out instance. This is the value of the name property in the JSON response from \"GET api/sites/{siteName}/instances\".", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "204": { - "description": "Process terminated." - }, - "404": { - "description": "Process with the specified ID is not running.", - "x-ms-error-response": true - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/instances/{instanceId}/processes/{processId}/dump": { - "get": { - "tags": [ - "WebApps" - ], - "summary": "Get a memory dump of a process by its ID for a specific scaled-out instance in a web site.", - "description": "Description for Get a memory dump of a process by its ID for a specific scaled-out instance in a web site.", - "operationId": "WebApps_GetInstanceProcessDump", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Site name.", - "required": true, - "type": "string" - }, - { - "name": "processId", - "in": "path", - "description": "PID.", - "required": true, - "type": "string" - }, - { - "name": "instanceId", - "in": "path", - "description": "ID of a specific scaled-out instance. This is the value of the name property in the JSON response from \"GET api/sites/{siteName}/instances\".", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "file" - } - }, - "404": { - "description": "Process with the specified ID is not running.", - "x-ms-error-response": true - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/instances/{instanceId}/processes/{processId}/modules": { - "get": { - "tags": [ - "WebApps" - ], - "summary": "List module information for a process by its ID for a specific scaled-out instance in a web site.", - "description": "Description for List module information for a process by its ID for a specific scaled-out instance in a web site.", - "operationId": "WebApps_ListInstanceProcessModules", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Site name.", - "required": true, - "type": "string" - }, - { - "name": "processId", - "in": "path", - "description": "PID.", - "required": true, - "type": "string" - }, - { - "name": "instanceId", - "in": "path", - "description": "ID of a specific scaled-out instance. This is the value of the name property in the JSON response from \"GET api/sites/{siteName}/instances\".", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Module information returned.", - "schema": { - "$ref": "#/definitions/ProcessModuleInfoCollection" - } - }, - "404": { - "description": "Process with the specified ID is not running.", - "x-ms-error-response": true - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/instances/{instanceId}/processes/{processId}/modules/{baseAddress}": { - "get": { - "tags": [ - "WebApps" - ], - "summary": "Get process information by its ID for a specific scaled-out instance in a web site.", - "description": "Description for Get process information by its ID for a specific scaled-out instance in a web site.", - "operationId": "WebApps_GetInstanceProcessModule", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Site name.", - "required": true, - "type": "string" - }, - { - "name": "processId", - "in": "path", - "description": "PID.", - "required": true, - "type": "string" - }, - { - "name": "baseAddress", - "in": "path", - "description": "Module base address.", - "required": true, - "type": "string" - }, - { - "name": "instanceId", - "in": "path", - "description": "ID of a specific scaled-out instance. This is the value of the name property in the JSON response from \"GET api/sites/{siteName}/instances\".", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Module information returned.", - "schema": { - "$ref": "#/definitions/ProcessModuleInfo" - } - }, - "404": { - "description": "Process with the specified ID is not running, or a module with the specified baseAddress was not found.", - "x-ms-error-response": true - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/instances/{instanceId}/processes/{processId}/threads": { - "get": { - "tags": [ - "WebApps" - ], - "summary": "List the threads in a process by its ID for a specific scaled-out instance in a web site.", - "description": "Description for List the threads in a process by its ID for a specific scaled-out instance in a web site.", - "operationId": "WebApps_ListInstanceProcessThreads", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Site name.", - "required": true, - "type": "string" - }, - { - "name": "processId", - "in": "path", - "description": "PID.", - "required": true, - "type": "string" - }, - { - "name": "instanceId", - "in": "path", - "description": "ID of a specific scaled-out instance. This is the value of the name property in the JSON response from \"GET api/sites/{siteName}/instances\".", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Thread information returned.", - "schema": { - "$ref": "#/definitions/ProcessThreadInfoCollection" - } - }, - "404": { - "description": "Process with the specified ID is not running.", - "x-ms-error-response": true - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/iscloneable": { - "post": { - "tags": [ - "WebApps" - ], - "summary": "Shows whether an app can be cloned to another resource group or subscription.", - "description": "Description for Shows whether an app can be cloned to another resource group or subscription.", - "operationId": "WebApps_IsCloneable", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the app.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK.", - "schema": { - "$ref": "#/definitions/SiteCloneability" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/listbackups": { - "post": { - "tags": [ - "WebApps" - ], - "summary": "Gets existing backups of an app.", - "description": "Description for Gets existing backups of an app.", - "operationId": "WebApps_ListSiteBackups", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the app.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/BackupItemCollection" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "List backups": { - "$ref": "./examples/ListSlotBackups.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/listsyncfunctiontriggerstatus": { - "post": { - "tags": [ - "WebApps" - ], - "summary": "This is to allow calling via powershell and ARM template.", - "description": "Description for This is to allow calling via powershell and ARM template.", - "operationId": "WebApps_ListSyncFunctionTriggers", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the app.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/FunctionSecrets" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/updatemachinekey": { - "post": { - "tags": [ - "WebApps" - ], - "summary": "Updates the machine key of an app.", - "operationId": "WebApps_UpdateMachineKey", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the app.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "object" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "Updates the machine key for a site": { - "$ref": "./examples/UpdateMachineKey.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/migrate": { - "put": { - "tags": [ - "WebApps" - ], - "summary": "Restores a web app.", - "description": "Description for Restores a web app.", - "operationId": "WebApps_MigrateStorage", - "parameters": [ - { - "name": "subscriptionName", - "in": "query", - "description": "Azure subscription.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of web app.", - "required": true, - "type": "string" - }, - { - "name": "migrationOptions", - "in": "body", - "description": "Migration migrationOptions.", - "required": true, - "schema": { - "$ref": "#/definitions/StorageMigrationOptions" - } - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/StorageMigrationResponse" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/migratemysql": { - "post": { - "tags": [ - "WebApps" - ], - "summary": "Migrates a local (in-app) MySql database to a remote MySql database.", - "description": "Description for Migrates a local (in-app) MySql database to a remote MySql database.", - "operationId": "WebApps_MigrateMySql", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of web app.", - "required": true, - "type": "string" - }, - { - "name": "migrationRequestEnvelope", - "in": "body", - "description": "MySql migration options.", - "required": true, - "schema": { - "$ref": "#/definitions/MigrateMySqlRequest" - } - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/Operation" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/migratemysql/status": { - "get": { - "tags": [ - "WebApps" - ], - "summary": "Returns the status of MySql in app migration, if one is active, and whether or not MySql in app is enabled", - "description": "Description for Returns the status of MySql in app migration, if one is active, and whether or not MySql in app is enabled", - "operationId": "WebApps_GetMigrateMySqlStatus", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of web app.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/MigrateMySqlStatus" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/networkConfig/virtualNetwork": { - "get": { - "tags": [ - "WebApps" - ], - "summary": "Gets a Swift Virtual Network connection.", - "description": "Description for Gets a Swift Virtual Network connection.", - "operationId": "WebApps_GetSwiftVirtualNetworkConnection", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the app.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK.", - "schema": { - "$ref": "#/definitions/SwiftVirtualNetwork" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - }, - "put": { - "tags": [ - "WebApps" - ], - "summary": "Integrates this Web App with a Virtual Network. This requires that 1) \"swiftSupported\" is true when doing a GET against this resource, and 2) that the target Subnet has already been delegated, and is not\r\nin use by another App Service Plan other than the one this App is in.", - "description": "Description for Integrates this Web App with a Virtual Network. This requires that 1) \"swiftSupported\" is true when doing a GET against this resource, and 2) that the target Subnet has already been delegated, and is not\nin use by another App Service Plan other than the one this App is in.", - "operationId": "WebApps_CreateOrUpdateSwiftVirtualNetworkConnectionWithCheck", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the app.", - "required": true, - "type": "string" - }, - { - "name": "connectionEnvelope", - "in": "body", - "description": "Properties of the Virtual Network connection. See example.", - "required": true, - "schema": { - "$ref": "#/definitions/SwiftVirtualNetwork" - } - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/SwiftVirtualNetwork" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - }, - "delete": { - "tags": [ - "WebApps" - ], - "summary": "Deletes a Swift Virtual Network connection from an app (or deployment slot).", - "description": "Description for Deletes a Swift Virtual Network connection from an app (or deployment slot).", - "operationId": "WebApps_DeleteSwiftVirtualNetwork", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the app.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Successfully deleted virtual network." - }, - "404": { - "description": "Virtual network does not exist.", - "x-ms-error-response": true - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - }, - "patch": { - "tags": [ - "WebApps" - ], - "summary": "Integrates this Web App with a Virtual Network. This requires that 1) \"swiftSupported\" is true when doing a GET against this resource, and 2) that the target Subnet has already been delegated, and is not\r\nin use by another App Service Plan other than the one this App is in.", - "description": "Description for Integrates this Web App with a Virtual Network. This requires that 1) \"swiftSupported\" is true when doing a GET against this resource, and 2) that the target Subnet has already been delegated, and is not\nin use by another App Service Plan other than the one this App is in.", - "operationId": "WebApps_UpdateSwiftVirtualNetworkConnectionWithCheck", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the app.", - "required": true, - "type": "string" - }, - { - "name": "connectionEnvelope", - "in": "body", - "description": "Properties of the Virtual Network connection. See example.", - "required": true, - "schema": { - "$ref": "#/definitions/SwiftVirtualNetwork" - } - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/SwiftVirtualNetwork" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/networkFeatures/{view}": { - "get": { - "tags": [ - "WebApps" - ], - "summary": "Gets all network features used by the app (or deployment slot, if specified).", - "description": "Description for Gets all network features used by the app (or deployment slot, if specified).", - "operationId": "WebApps_ListNetworkFeatures", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the app.", - "required": true, - "type": "string" - }, - { - "name": "view", - "in": "path", - "description": "The type of view. Only \"summary\" is supported at this time.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK.", - "schema": { - "$ref": "#/definitions/NetworkFeatures" - } - }, - "404": { - "description": "The requested view does not exist.", - "x-ms-error-response": true - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/networkTrace/operationresults/{operationId}": { - "get": { - "tags": [ - "WebApps" - ], - "summary": "Gets a named operation for a network trace capturing (or deployment slot, if specified).", - "description": "Description for Gets a named operation for a network trace capturing (or deployment slot, if specified).", - "operationId": "WebApps_GetNetworkTraceOperation", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the app.", - "required": true, - "type": "string" - }, - { - "name": "operationId", - "in": "path", - "description": "GUID of the operation.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "array", - "items": { - "$ref": "#/definitions/NetworkTrace" - } - } - }, - "202": { - "description": "Operation is in progress.", - "schema": { - "type": "array", - "items": { - "$ref": "#/definitions/NetworkTrace" - } - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "Get the current status of a network trace operation for a site": { - "$ref": "./examples/GetWebSiteNetworkTraceOperation.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/networkTrace/start": { - "post": { - "tags": [ - "WebApps" - ], - "summary": "Start capturing network packets for the site (To be deprecated).", - "description": "Description for Start capturing network packets for the site (To be deprecated).", - "operationId": "WebApps_StartWebSiteNetworkTrace", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "The name of the web app.", - "required": true, - "type": "string" - }, - { - "name": "durationInSeconds", - "in": "query", - "description": "The duration to keep capturing in seconds.", - "type": "integer", - "format": "int32" - }, - { - "name": "maxFrameLength", - "in": "query", - "description": "The maximum frame length in bytes (Optional).", - "type": "integer", - "format": "int32" - }, - { - "name": "sasUrl", - "in": "query", - "description": "The Blob URL to store capture file.", - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "string" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/networkTrace/startOperation": { - "post": { - "tags": [ - "WebApps" - ], - "summary": "Start capturing network packets for the site.", - "description": "Description for Start capturing network packets for the site.", - "operationId": "WebApps_StartWebSiteNetworkTraceOperation", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "The name of the web app.", - "required": true, - "type": "string" - }, - { - "name": "durationInSeconds", - "in": "query", - "description": "The duration to keep capturing in seconds.", - "type": "integer", - "format": "int32" - }, - { - "name": "maxFrameLength", - "in": "query", - "description": "The maximum frame length in bytes (Optional).", - "type": "integer", - "format": "int32" - }, - { - "name": "sasUrl", - "in": "query", - "description": "The Blob URL to store capture file.", - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "array", - "items": { - "$ref": "#/definitions/NetworkTrace" - } - } - }, - "202": { - "description": "Operation is in progress.", - "schema": { - "type": "array", - "items": { - "$ref": "#/definitions/NetworkTrace" - } - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "Start a new network trace operation for a site": { - "$ref": "./examples/StartWebSiteNetworkTraceOperation.json" - } - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/networkTrace/stop": { - "post": { - "tags": [ - "WebApps" - ], - "summary": "Stop ongoing capturing network packets for the site.", - "description": "Description for Stop ongoing capturing network packets for the site.", - "operationId": "WebApps_StopWebSiteNetworkTrace", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "The name of the web app.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Stopped." - }, - "204": { - "description": "Stopped." - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "Stop a currently running network trace operation for a site": { - "$ref": "./examples/StopWebSiteNetworkTrace.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/networkTrace/{operationId}": { - "get": { - "tags": [ - "WebApps" - ], - "summary": "Gets a named operation for a network trace capturing (or deployment slot, if specified).", - "description": "Description for Gets a named operation for a network trace capturing (or deployment slot, if specified).", - "operationId": "WebApps_GetNetworkTraces", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the app.", - "required": true, - "type": "string" - }, - { - "name": "operationId", - "in": "path", - "description": "GUID of the operation.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "array", - "items": { - "$ref": "#/definitions/NetworkTrace" - } - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "Get NetworkTraces for a site": { - "$ref": "./examples/GetWebSiteNetworkTraces.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/networkTraces/current/operationresults/{operationId}": { - "get": { - "tags": [ - "WebApps" - ], - "summary": "Gets a named operation for a network trace capturing (or deployment slot, if specified).", - "description": "Description for Gets a named operation for a network trace capturing (or deployment slot, if specified).", - "operationId": "WebApps_GetNetworkTraceOperationV2", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the app.", - "required": true, - "type": "string" - }, - { - "name": "operationId", - "in": "path", - "description": "GUID of the operation.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "array", - "items": { - "$ref": "#/definitions/NetworkTrace" - } - } - }, - "202": { - "description": "Operation is in progress.", - "schema": { - "type": "array", - "items": { - "$ref": "#/definitions/NetworkTrace" - } - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "Get the current status of a network trace operation for a site": { - "$ref": "./examples/GetWebSiteNetworkTraceOperation.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/networkTraces/{operationId}": { - "get": { - "tags": [ - "WebApps" - ], - "summary": "Gets a named operation for a network trace capturing (or deployment slot, if specified).", - "description": "Description for Gets a named operation for a network trace capturing (or deployment slot, if specified).", - "operationId": "WebApps_GetNetworkTracesV2", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the app.", - "required": true, - "type": "string" - }, - { - "name": "operationId", - "in": "path", - "description": "GUID of the operation.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "array", - "items": { - "$ref": "#/definitions/NetworkTrace" - } - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "Get NetworkTraces for a site": { - "$ref": "./examples/GetWebSiteNetworkTraces.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/newpassword": { - "post": { - "tags": [ - "WebApps" - ], - "summary": "Generates a new publishing password for an app (or deployment slot, if specified).", - "description": "Description for Generates a new publishing password for an app (or deployment slot, if specified).", - "operationId": "WebApps_GenerateNewSitePublishingPassword", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the app.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Successfully generate new password." - }, - "204": { - "description": "Successfully generate new password." - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/perfcounters": { - "get": { - "tags": [ - "WebApps" - ], - "summary": "Gets perfmon counters for web app.", - "description": "Description for Gets perfmon counters for web app.", - "operationId": "WebApps_ListPerfMonCounters", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of web app.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - }, - { - "name": "$filter", - "in": "query", - "description": "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]'.", - "type": "string", - "x-ms-skip-url-encoding": true - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/PerfMonCounterCollection" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/phplogging": { - "get": { - "tags": [ - "WebApps" - ], - "summary": "Gets web app's event logs.", - "description": "Description for Gets web app's event logs.", - "operationId": "WebApps_GetSitePhpErrorLogFlag", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of web app.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/SitePhpErrorLogFlag" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/premieraddons": { - "get": { - "tags": [ - "WebApps" - ], - "summary": "Gets the premier add-ons of an app.", - "description": "Description for Gets the premier add-ons of an app.", - "operationId": "WebApps_ListPremierAddOns", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the app.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/PremierAddOn" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/premieraddons/{premierAddOnName}": { - "get": { - "tags": [ - "WebApps" - ], - "summary": "Gets a named add-on of an app.", - "description": "Description for Gets a named add-on of an app.", - "operationId": "WebApps_GetPremierAddOn", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the app.", - "required": true, - "type": "string" - }, - { - "name": "premierAddOnName", - "in": "path", - "description": "Add-on name.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/PremierAddOn" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - }, - "put": { - "tags": [ - "WebApps" - ], - "summary": "Updates a named add-on of an app.", - "description": "Description for Updates a named add-on of an app.", - "operationId": "WebApps_AddPremierAddOn", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the app.", - "required": true, - "type": "string" - }, - { - "name": "premierAddOnName", - "in": "path", - "description": "Add-on name.", - "required": true, - "type": "string" - }, - { - "name": "premierAddOn", - "in": "body", - "description": "A JSON representation of the edited premier add-on.", - "required": true, - "schema": { - "$ref": "#/definitions/PremierAddOn" - } - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/PremierAddOn" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - }, - "delete": { - "tags": [ - "WebApps" - ], - "summary": "Delete a premier add-on from an app.", - "description": "Description for Delete a premier add-on from an app.", - "operationId": "WebApps_DeletePremierAddOn", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the app.", - "required": true, - "type": "string" - }, - { - "name": "premierAddOnName", - "in": "path", - "description": "Add-on name.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Successfully deleted premier add-on." - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - }, - "patch": { - "tags": [ - "WebApps" - ], - "summary": "Updates a named add-on of an app.", - "description": "Description for Updates a named add-on of an app.", - "operationId": "WebApps_UpdatePremierAddOn", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the app.", - "required": true, - "type": "string" - }, - { - "name": "premierAddOnName", - "in": "path", - "description": "Add-on name.", - "required": true, - "type": "string" - }, - { - "name": "premierAddOn", - "in": "body", - "description": "A JSON representation of the edited premier add-on.", - "required": true, - "schema": { - "$ref": "#/definitions/PremierAddOnPatchResource" - } - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/PremierAddOn" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/privateAccess/virtualNetworks": { - "get": { - "tags": [ - "WebApps" - ], - "summary": "Gets data around private site access enablement and authorized Virtual Networks that can access the site.", - "description": "Description for Gets data around private site access enablement and authorized Virtual Networks that can access the site.", - "operationId": "WebApps_GetPrivateAccess", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "The name of the web app.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/PrivateAccess" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - }, - "put": { - "tags": [ - "WebApps" - ], - "summary": "Sets data around private site access enablement and authorized Virtual Networks that can access the site.", - "description": "Description for Sets data around private site access enablement and authorized Virtual Networks that can access the site.", - "operationId": "WebApps_PutPrivateAccessVnet", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "The name of the web app.", - "required": true, - "type": "string" - }, - { - "name": "access", - "in": "body", - "description": "The information for the private access", - "required": true, - "schema": { - "$ref": "#/definitions/PrivateAccess" - } - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/PrivateAccess" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/privateEndpointConnections": { - "get": { - "tags": [ - "WebApps" - ], - "summary": "Gets the list of private endpoint connections associated with a site", - "description": "Description for Gets the list of private endpoint connections associated with a site", - "operationId": "WebApps_GetPrivateEndpointConnectionList", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the site.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/PrivateEndpointConnectionCollection" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/privateEndpointConnections/{privateEndpointConnectionName}": { - "get": { - "tags": [ - "WebApps" - ], - "summary": "Gets a private endpoint connection", - "description": "Description for Gets a private endpoint connection", - "operationId": "WebApps_GetPrivateEndpointConnection", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the site.", - "required": true, - "type": "string" - }, - { - "name": "privateEndpointConnectionName", - "in": "path", - "description": "Name of the private endpoint connection.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/RemotePrivateEndpointConnectionARMResource" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "Get a private endpoint connection for a site.": { - "$ref": "./examples/GetSitePrivateEndpointConnection.json" - } - } - }, - "put": { - "tags": [ - "WebApps" - ], - "summary": "Approves or rejects a private endpoint connection", - "description": "Description for Approves or rejects a private endpoint connection", - "operationId": "WebApps_ApproveOrRejectPrivateEndpointConnection", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the site.", - "required": true, - "type": "string" - }, - { - "name": "privateEndpointConnectionName", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "privateEndpointWrapper", - "in": "body", - "required": true, - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/RemotePrivateEndpointConnectionARMResource" - } - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/RemotePrivateEndpointConnectionARMResource" - } - }, - "202": { - "description": "Asynchronous operation in progress.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/RemotePrivateEndpointConnectionARMResource" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "Approves or rejects a private endpoint connection for a site.": { - "$ref": "./examples/ApproveRejectSitePrivateEndpointConnection.json" - } - }, - "x-ms-long-running-operation": true - }, - "delete": { - "tags": [ - "WebApps" - ], - "summary": "Deletes a private endpoint connection", - "description": "Description for Deletes a private endpoint connection", - "operationId": "WebApps_DeletePrivateEndpointConnection", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the site.", - "required": true, - "type": "string" - }, - { - "name": "privateEndpointConnectionName", - "in": "path", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK.", - "schema": { - "type": "object" - } - }, - "202": { - "description": "Asynchronous operation in progress.", - "schema": { - "type": "object" - } - }, - "204": { - "description": "No content.", - "schema": { - "type": "object" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "Delete a private endpoint connection for a site.": { - "$ref": "./examples/DeleteSitePrivateEndpointConnection.json" - } - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/privateLinkResources": { - "get": { - "tags": [ - "WebApps" - ], - "summary": "Gets the private link resources", - "description": "Description for Gets the private link resources", - "operationId": "WebApps_GetPrivateLinkResources", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the site.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/PrivateLinkResourcesWrapper" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "Get private link resources of a site": { - "$ref": "./examples/GetSitePrivateLinkResources.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/processes": { - "get": { - "tags": [ - "WebApps" - ], - "summary": "Get list of processes for a web site, or a deployment slot, or for a specific scaled-out instance in a web site.", - "description": "Description for Get list of processes for a web site, or a deployment slot, or for a specific scaled-out instance in a web site.", - "operationId": "WebApps_ListProcesses", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Site name.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Process terminated.", - "schema": { - "$ref": "#/definitions/ProcessInfoCollection" - } - }, - "404": { - "description": "Process with the specified ID is not running.", - "x-ms-error-response": true - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/processes/{processId}": { - "get": { - "tags": [ - "WebApps" - ], - "summary": "Get process information by its ID for a specific scaled-out instance in a web site.", - "description": "Description for Get process information by its ID for a specific scaled-out instance in a web site.", - "operationId": "WebApps_GetProcess", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Site name.", - "required": true, - "type": "string" - }, - { - "name": "processId", - "in": "path", - "description": "PID.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Process information returned.", - "schema": { - "$ref": "#/definitions/ProcessInfo" - } - }, - "404": { - "description": "Process with the specified ID is not running.", - "x-ms-error-response": true - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - }, - "delete": { - "tags": [ - "WebApps" - ], - "summary": "Terminate a process by its ID for a web site, or a deployment slot, or specific scaled-out instance in a web site.", - "description": "Description for Terminate a process by its ID for a web site, or a deployment slot, or specific scaled-out instance in a web site.", - "operationId": "WebApps_DeleteProcess", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Site name.", - "required": true, - "type": "string" - }, - { - "name": "processId", - "in": "path", - "description": "PID.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "204": { - "description": "Process terminated." - }, - "404": { - "description": "Process with the specified ID is not running.", - "x-ms-error-response": true - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/processes/{processId}/dump": { - "get": { - "tags": [ - "WebApps" - ], - "summary": "Get a memory dump of a process by its ID for a specific scaled-out instance in a web site.", - "description": "Description for Get a memory dump of a process by its ID for a specific scaled-out instance in a web site.", - "operationId": "WebApps_GetProcessDump", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Site name.", - "required": true, - "type": "string" - }, - { - "name": "processId", - "in": "path", - "description": "PID.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "file" - } - }, - "404": { - "description": "Process with the specified ID is not running.", - "x-ms-error-response": true - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/processes/{processId}/modules": { - "get": { - "tags": [ - "WebApps" - ], - "summary": "List module information for a process by its ID for a specific scaled-out instance in a web site.", - "description": "Description for List module information for a process by its ID for a specific scaled-out instance in a web site.", - "operationId": "WebApps_ListProcessModules", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Site name.", - "required": true, - "type": "string" - }, - { - "name": "processId", - "in": "path", - "description": "PID.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Module information returned.", - "schema": { - "$ref": "#/definitions/ProcessModuleInfoCollection" - } - }, - "404": { - "description": "Process with the specified ID is not running.", - "x-ms-error-response": true - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/processes/{processId}/modules/{baseAddress}": { - "get": { - "tags": [ - "WebApps" - ], - "summary": "Get process information by its ID for a specific scaled-out instance in a web site.", - "description": "Description for Get process information by its ID for a specific scaled-out instance in a web site.", - "operationId": "WebApps_GetProcessModule", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Site name.", - "required": true, - "type": "string" - }, - { - "name": "processId", - "in": "path", - "description": "PID.", - "required": true, - "type": "string" - }, - { - "name": "baseAddress", - "in": "path", - "description": "Module base address.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Module information returned.", - "schema": { - "$ref": "#/definitions/ProcessModuleInfo" - } - }, - "404": { - "description": "Process with the specified ID is not running, or a module with the specified baseAddress was not found.", - "x-ms-error-response": true - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/processes/{processId}/threads": { - "get": { - "tags": [ - "WebApps" - ], - "summary": "List the threads in a process by its ID for a specific scaled-out instance in a web site.", - "description": "Description for List the threads in a process by its ID for a specific scaled-out instance in a web site.", - "operationId": "WebApps_ListProcessThreads", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Site name.", - "required": true, - "type": "string" - }, - { - "name": "processId", - "in": "path", - "description": "PID.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Thread information returned.", - "schema": { - "$ref": "#/definitions/ProcessThreadInfoCollection" - } - }, - "404": { - "description": "Process with the specified ID is not running.", - "x-ms-error-response": true - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/publicCertificates": { - "get": { - "tags": [ - "WebApps" - ], - "summary": "Get public certificates for an app or a deployment slot.", - "description": "Description for Get public certificates for an app or a deployment slot.", - "operationId": "WebApps_ListPublicCertificates", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the app.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/PublicCertificateCollection" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/publicCertificates/{publicCertificateName}": { - "get": { - "tags": [ - "WebApps" - ], - "summary": "Get the named public certificate for an app (or deployment slot, if specified).", - "description": "Description for Get the named public certificate for an app (or deployment slot, if specified).", - "operationId": "WebApps_GetPublicCertificate", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the app.", - "required": true, - "type": "string" - }, - { - "name": "publicCertificateName", - "in": "path", - "description": "Public certificate name.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/PublicCertificate" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - }, - "put": { - "tags": [ - "WebApps" - ], - "summary": "Creates a hostname binding for an app.", - "description": "Description for Creates a hostname binding for an app.", - "operationId": "WebApps_CreateOrUpdatePublicCertificate", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the app.", - "required": true, - "type": "string" - }, - { - "name": "publicCertificateName", - "in": "path", - "description": "Public certificate name.", - "required": true, - "type": "string" - }, - { - "name": "publicCertificate", - "in": "body", - "description": "Public certificate details. This is the JSON representation of a PublicCertificate object.", - "required": true, - "schema": { - "$ref": "#/definitions/PublicCertificate" - } - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/PublicCertificate" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - }, - "delete": { - "tags": [ - "WebApps" - ], - "summary": "Deletes a hostname binding for an app.", - "description": "Description for Deletes a hostname binding for an app.", - "operationId": "WebApps_DeletePublicCertificate", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the app.", - "required": true, - "type": "string" - }, - { - "name": "publicCertificateName", - "in": "path", - "description": "Public certificate name.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Successfully deleted hostname binding." - }, - "204": { - "description": "Hostname binding does not exist." - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/publishxml": { - "post": { - "tags": [ - "WebApps" - ], - "summary": "Gets the publishing profile for an app (or deployment slot, if specified).", - "description": "Description for Gets the publishing profile for an app (or deployment slot, if specified).", - "operationId": "WebApps_ListPublishingProfileXmlWithSecrets", - "produces": [ - "application/xml" - ], - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the app.", - "required": true, - "type": "string" - }, - { - "name": "publishingProfileOptions", - "in": "body", - "description": "Specifies publishingProfileOptions for publishing profile. For example, use {\"format\": \"FileZilla3\"} to get a FileZilla publishing profile.", - "required": true, - "schema": { - "$ref": "#/definitions/CsmPublishingProfileOptions" - } - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "file" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/resetSlotConfig": { - "post": { - "tags": [ - "WebApps" - ], - "summary": "Resets the configuration settings of the current slot if they were previously modified by calling the API with POST.", - "description": "Description for Resets the configuration settings of the current slot if they were previously modified by calling the API with POST.", - "operationId": "WebApps_ResetProductionSlotConfig", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the app.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK." - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/restart": { - "post": { - "tags": [ - "WebApps" - ], - "summary": "Restarts an app (or deployment slot, if specified).", - "description": "Description for Restarts an app (or deployment slot, if specified).", - "operationId": "WebApps_Restart", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the app.", - "required": true, - "type": "string" - }, - { - "name": "softRestart", - "in": "query", - "description": "Specify true to apply the configuration settings and restarts the app only if necessary. By default, the API always restarts and reprovisions the app.", - "type": "boolean" - }, - { - "name": "synchronous", - "in": "query", - "description": "Specify true to block until the app is restarted. By default, it is set to false, and the API responds immediately (asynchronous).", - "type": "boolean" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Successfully restarted app." - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/restoreFromBackupBlob": { - "post": { - "tags": [ - "WebApps" - ], - "summary": "Restores an app from a backup blob in Azure Storage.", - "description": "Description for Restores an app from a backup blob in Azure Storage.", - "operationId": "WebApps_RestoreFromBackupBlob", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the app.", - "required": true, - "type": "string" - }, - { - "name": "request", - "in": "body", - "description": "Information on restore request .", - "required": true, - "schema": { - "$ref": "#/definitions/RestoreRequest" - } - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "202": { - "description": "Restore operation started." - }, - "200": { - "description": "Restore operation started." - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/restoreFromDeletedApp": { - "post": { - "tags": [ - "WebApps" - ], - "summary": "Restores a deleted web app to this web app.", - "description": "Description for Restores a deleted web app to this web app.", - "operationId": "WebApps_RestoreFromDeletedApp", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of web app.", - "required": true, - "type": "string" - }, - { - "name": "restoreRequest", - "in": "body", - "description": "Deleted web app restore information.", - "required": true, - "schema": { - "$ref": "#/definitions/DeletedAppRestoreRequest" - } - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "202": { - "description": "Restore operation started." - }, - "200": { - "description": "Restore operation started." - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/restoreSnapshot": { - "post": { - "tags": [ - "WebApps" - ], - "summary": "Restores a web app from a snapshot.", - "description": "Description for Restores a web app from a snapshot.", - "operationId": "WebApps_RestoreSnapshot", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of web app.", - "required": true, - "type": "string" - }, - { - "name": "restoreRequest", - "in": "body", - "description": "Snapshot restore settings. Snapshot information can be obtained by calling GetDeletedSites or GetSiteSnapshots API.", - "required": true, - "schema": { - "$ref": "#/definitions/SnapshotRestoreRequest" - } - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "202": { - "description": "Restore operation started." - }, - "200": { - "description": "Restore operation started." - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/sitecontainers": { - "get": { - "tags": [ - "WebApps" - ], - "summary": "Lists all the site containers of a site, or a deployment slot.", - "operationId": "WebApps_ListSiteContainers", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the app.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/SiteContainerCollection" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/sitecontainers/{containerName}": { - "get": { - "tags": [ - "WebApps" - ], - "summary": "Gets a site container of a site, or a deployment slot.", - "operationId": "WebApps_GetSiteContainer", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the app.", - "required": true, - "type": "string" - }, - { - "name": "containerName", - "in": "path", - "description": "Site Container Name", - "required": true, - "type": "string", - "pattern": "(^[a-zA-Z0-9]$)|(^[a-zA-Z0-9][a-zA-Z0-9-]*[a-zA-Z0-9]$)" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/SiteContainer" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - }, - "put": { - "tags": [ - "WebApps" - ], - "summary": "Creates or Updates a site container for a site, or a deployment slot.", - "operationId": "WebApps_CreateOrUpdateSiteContainer", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the app.", - "required": true, - "type": "string" - }, - { - "name": "containerName", - "in": "path", - "description": "Site Container Name", - "required": true, - "type": "string", - "pattern": "(^[a-zA-Z0-9]$)|(^[a-zA-Z0-9][a-zA-Z0-9-]*[a-zA-Z0-9]$)" - }, - { - "name": "request", - "in": "body", - "description": "Container Entity", - "required": true, - "schema": { - "$ref": "#/definitions/SiteContainer" - } - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "201": { - "description": "Site container was created.", - "schema": { - "$ref": "#/definitions/SiteContainer" - } - }, - "200": { - "description": "Site container was updated.", - "schema": { - "$ref": "#/definitions/SiteContainer" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - }, - "delete": { - "tags": [ - "WebApps" - ], - "summary": "Deletes a site container for a site, or a deployment slot.", - "operationId": "WebApps_DeleteSiteContainer", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the app.", - "required": true, - "type": "string" - }, - { - "name": "containerName", - "in": "path", - "description": "Site Container Name", - "required": true, - "type": "string", - "pattern": "(^[a-zA-Z0-9]$)|(^[a-zA-Z0-9][a-zA-Z0-9-]*[a-zA-Z0-9]$)" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Successfully deleted site container." - }, - "204": { - "description": "Site container does not exist." - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/siteextensions": { - "get": { - "tags": [ - "WebApps" - ], - "summary": "Get list of siteextensions for a web site, or a deployment slot.", - "description": "Description for Get list of siteextensions for a web site, or a deployment slot.", - "operationId": "WebApps_ListSiteExtensions", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Site name.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "SiteExtension information returned.", - "schema": { - "$ref": "#/definitions/SiteExtensionInfoCollection" - } - }, - "404": { - "description": "SiteExtension not found.", - "x-ms-error-response": true - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/siteextensions/{siteExtensionId}": { - "get": { - "tags": [ - "WebApps" - ], - "summary": "Get site extension information by its ID for a web site, or a deployment slot.", - "description": "Description for Get site extension information by its ID for a web site, or a deployment slot.", - "operationId": "WebApps_GetSiteExtension", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Site name.", - "required": true, - "type": "string" - }, - { - "name": "siteExtensionId", - "in": "path", - "description": "Site extension name.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "SiteExtension information returned.", - "schema": { - "$ref": "#/definitions/SiteExtensionInfo" - } - }, - "404": { - "description": "SiteExtension with an ID of {siteExtensionId} is not running.", - "x-ms-error-response": true - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - }, - "put": { - "tags": [ - "WebApps" - ], - "summary": "Install site extension on a web site, or a deployment slot.", - "description": "Description for Install site extension on a web site, or a deployment slot.", - "operationId": "WebApps_InstallSiteExtension", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Site name.", - "required": true, - "type": "string" - }, - { - "name": "siteExtensionId", - "in": "path", - "description": "Site extension name.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "201": { - "description": "Site Extension created.", - "schema": { - "$ref": "#/definitions/SiteExtensionInfo" - } - }, - "200": { - "description": "Site Extension created.", - "schema": { - "$ref": "#/definitions/SiteExtensionInfo" - } - }, - "429": { - "description": "Site Extension is being installed on another request: Rejecting current request.", - "x-ms-error-response": true - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-long-running-operation": true - }, - "delete": { - "tags": [ - "WebApps" - ], - "summary": "Remove a site extension from a web site, or a deployment slot.", - "description": "Description for Remove a site extension from a web site, or a deployment slot.", - "operationId": "WebApps_DeleteSiteExtension", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Site name.", - "required": true, - "type": "string" - }, - { - "name": "siteExtensionId", - "in": "path", - "description": "Site extension name.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "204": { - "description": "SiteExtension terminated." - }, - "404": { - "description": "SiteExtension with an ID of {siteExtensionId} is not running.", - "x-ms-error-response": true - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots": { - "get": { - "tags": [ - "WebApps" - ], - "summary": "Gets an app's deployment slots.", - "description": "Description for Gets an app's deployment slots.", - "operationId": "WebApps_ListSlots", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the app.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/WebAppCollection" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, - "x-ms-examples": { - "List Web App Slots": { - "$ref": "./examples/ListWebAppSlots.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}": { - "get": { - "tags": [ - "WebApps" - ], - "summary": "Gets the details of a web, mobile, or API app.", - "description": "Description for Gets the details of a web, mobile, or API app.", - "operationId": "WebApps_GetSlot", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the app.", - "required": true, - "type": "string" - }, - { - "name": "slot", - "in": "path", - "description": "Name of the deployment slot. By default, this API returns the production slot.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/Site" - } - }, - "404": { - "description": "Not found.", - "x-ms-error-response": true - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "Get Web App Slot": { - "$ref": "./examples/GetWebAppSlot.json" - } - } - }, - "put": { - "tags": [ - "WebApps" - ], - "summary": "Creates a new web, mobile, or API app in an existing resource group, or updates an existing app.", - "description": "Description for Creates a new web, mobile, or API app in an existing resource group, or updates an existing app.", - "operationId": "WebApps_CreateOrUpdateSlot", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Unique name of the app to create or update. To create or update a deployment slot, use the {slot} parameter.", - "required": true, - "type": "string" - }, - { - "name": "siteEnvelope", - "in": "body", - "description": "A JSON representation of the app properties. See example.", - "required": true, - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/Site" - } - }, - { - "name": "slot", - "in": "path", - "description": "Name of the deployment slot to create or update. By default, this API attempts to create or modify the production slot.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/Site" - } - }, - "202": { - "description": "Asynchronous operation in progress.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/Site" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "Create or Update Web App Slot": { - "$ref": "./examples/CreateOrUpdateWebAppSlot.json" - }, - "Clone web app slot": { - "$ref": "./examples/CloneWebAppSlot.json" - } - }, - "x-ms-long-running-operation": true - }, - "delete": { - "tags": [ - "WebApps" - ], - "summary": "Deletes a web, mobile, or API app, or one of the deployment slots.", - "description": "Description for Deletes a web, mobile, or API app, or one of the deployment slots.", - "operationId": "WebApps_DeleteSlot", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the app to delete.", - "required": true, - "type": "string" - }, - { - "name": "slot", - "in": "path", - "description": "Name of the deployment slot to delete. By default, the API deletes the production slot.", - "required": true, - "type": "string" - }, - { - "name": "deleteMetrics", - "in": "query", - "description": "If true, web app metrics are also deleted.", - "type": "boolean" - }, - { - "name": "deleteEmptyServerFarm", - "in": "query", - "description": "Specify false if you want to keep empty App Service plan. By default, empty App Service plan is deleted.", - "type": "boolean" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Successfully deleted web app." - }, - "204": { - "description": "Successfully deleted web app." - }, - "404": { - "description": "Web app not found.", - "x-ms-error-response": true - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "Delete Web App Slot": { - "$ref": "./examples/DeleteWebAppSlot.json" - } - } - }, - "patch": { - "tags": [ - "WebApps" - ], - "summary": "Creates a new web, mobile, or API app in an existing resource group, or updates an existing app.", - "description": "Description for Creates a new web, mobile, or API app in an existing resource group, or updates an existing app.", - "operationId": "WebApps_UpdateSlot", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Unique name of the app to create or update. To create or update a deployment slot, use the {slot} parameter.", - "required": true, - "type": "string" - }, - { - "name": "siteEnvelope", - "in": "body", - "description": "A JSON representation of the app properties. See example.", - "required": true, - "schema": { - "$ref": "#/definitions/SitePatchResource" - } - }, - { - "name": "slot", - "in": "path", - "description": "Name of the deployment slot to create or update. By default, this API attempts to create or modify the production slot.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/Site" - } - }, - "202": { - "description": "Asynchronous operation in progress.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/Site" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "Update Web App Slot": { - "$ref": "./examples/UpdateWebAppSlot.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/analyzeCustomHostname": { - "get": { - "tags": [ - "WebApps" - ], - "summary": "Analyze a custom hostname.", - "description": "Description for Analyze a custom hostname.", - "operationId": "WebApps_AnalyzeCustomHostnameSlot", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of web app.", - "required": true, - "type": "string" - }, - { - "name": "slot", - "in": "path", - "description": "Name of web app slot. If not specified then will default to production slot.", - "required": true, - "type": "string" - }, - { - "name": "hostName", - "in": "query", - "description": "Custom hostname.", - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/CustomHostnameAnalysisResult" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "Analyze custom hostname for slot": { - "$ref": "./examples/AnalyzeCustomHostNameSlot.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/applySlotConfig": { - "post": { - "tags": [ - "WebApps" - ], - "summary": "Applies the configuration settings from the target slot onto the current slot.", - "description": "Description for Applies the configuration settings from the target slot onto the current slot.", - "operationId": "WebApps_ApplySlotConfigurationSlot", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the app.", - "required": true, - "type": "string" - }, - { - "name": "slotSwapEntity", - "in": "body", - "description": "JSON object that contains the target slot name. See example.", - "required": true, - "schema": { - "$ref": "#/definitions/CsmSlotEntity" - } - }, - { - "name": "slot", - "in": "path", - "description": "Name of the source slot. If a slot is not specified, the production slot is used as the source slot.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK." - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/backup": { - "post": { - "tags": [ - "WebApps" - ], - "summary": "Creates a backup of an app.", - "description": "Description for Creates a backup of an app.", - "operationId": "WebApps_BackupSlot", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the app.", - "required": true, - "type": "string" - }, - { - "name": "request", - "in": "body", - "description": "Backup configuration. You can use the JSON response from the POST action as input here.", - "required": true, - "schema": { - "$ref": "#/definitions/BackupRequest" - } - }, - { - "name": "slot", - "in": "path", - "description": "Name of the deployment slot. If a slot is not specified, the API will create a backup for the production slot.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/BackupItem" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/backups": { - "get": { - "tags": [ - "WebApps" - ], - "summary": "Gets existing backups of an app.", - "description": "Description for Gets existing backups of an app.", - "operationId": "WebApps_ListBackupsSlot", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the app.", - "required": true, - "type": "string" - }, - { - "name": "slot", - "in": "path", - "description": "Name of the deployment slot. If a slot is not specified, the API will get backups of the production slot.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/BackupItemCollection" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/backups/{backupId}": { - "get": { - "tags": [ - "WebApps" - ], - "summary": "Gets a backup of an app by its ID.", - "description": "Description for Gets a backup of an app by its ID.", - "operationId": "WebApps_GetBackupStatusSlot", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the app.", - "required": true, - "type": "string" - }, - { - "name": "backupId", - "in": "path", - "description": "ID of the backup.", - "required": true, - "type": "string" - }, - { - "name": "slot", - "in": "path", - "description": "Name of the deployment slot. If a slot is not specified, the API will get a backup of the production slot.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/BackupItem" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - }, - "delete": { - "tags": [ - "WebApps" - ], - "summary": "Deletes a backup of an app by its ID.", - "description": "Description for Deletes a backup of an app by its ID.", - "operationId": "WebApps_DeleteBackupSlot", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the app.", - "required": true, - "type": "string" - }, - { - "name": "backupId", - "in": "path", - "description": "ID of the backup.", - "required": true, - "type": "string" - }, - { - "name": "slot", - "in": "path", - "description": "Name of the deployment slot. If a slot is not specified, the API will delete a backup of the production slot.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Successfully deleted web app backup item." - }, - "404": { - "description": "Web app backup item does not exist.", - "x-ms-error-response": true - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/backups/{backupId}/list": { - "post": { - "tags": [ - "WebApps" - ], - "summary": "Gets status of a web app backup that may be in progress, including secrets associated with the backup, such as the Azure Storage SAS URL. Also can be used to update the SAS URL for the backup if a new URL is passed in the request body.", - "description": "Description for Gets status of a web app backup that may be in progress, including secrets associated with the backup, such as the Azure Storage SAS URL. Also can be used to update the SAS URL for the backup if a new URL is passed in the request body.", - "operationId": "WebApps_ListBackupStatusSecretsSlot", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of web app.", - "required": true, - "type": "string" - }, - { - "name": "backupId", - "in": "path", - "description": "ID of backup.", - "required": true, - "type": "string" - }, - { - "name": "request", - "in": "body", - "description": "Information on backup request.", - "required": true, - "schema": { - "$ref": "#/definitions/BackupRequest" - } - }, - { - "name": "slot", - "in": "path", - "description": "Name of web app slot. If not specified then will default to production slot.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/BackupItem" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/backups/{backupId}/restore": { - "post": { - "tags": [ - "WebApps" - ], - "summary": "Restores a specific backup to another app (or deployment slot, if specified).", - "description": "Description for Restores a specific backup to another app (or deployment slot, if specified).", - "operationId": "WebApps_RestoreSlot", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the app.", - "required": true, - "type": "string" - }, - { - "name": "backupId", - "in": "path", - "description": "ID of the backup.", - "required": true, - "type": "string" - }, - { - "name": "request", - "in": "body", - "description": "Information on restore request .", - "required": true, - "schema": { - "$ref": "#/definitions/RestoreRequest" - } - }, - { - "name": "slot", - "in": "path", - "description": "Name of the deployment slot. If a slot is not specified, the API will restore a backup of the production slot.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "202": { - "description": "Restore operation started." - }, - "200": { - "description": "Restore operation started." - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/basicPublishingCredentialsPolicies": { - "get": { - "tags": [ - "WebApps" - ], - "summary": "Returns whether Scm basic auth is allowed and whether Ftp is allowed for a given site.", - "description": "Description for Returns whether Scm basic auth is allowed and whether Ftp is allowed for a given site.", - "operationId": "WebApps_ListBasicPublishingCredentialsPoliciesSlot", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the app.", - "required": true, - "type": "string" - }, - { - "name": "slot", - "in": "path", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/PublishingCredentialsPoliciesCollection" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "List Publishing Credentials Policies": { - "$ref": "./examples/ListPublishingCredentialsPoliciesSlot.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/basicPublishingCredentialsPolicies/ftp": { - "get": { - "tags": [ - "WebApps" - ], - "summary": "Returns whether FTP is allowed on the site or not.", - "description": "Description for Returns whether FTP is allowed on the site or not.", - "operationId": "WebApps_GetFtpAllowedSlot", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the app.", - "required": true, - "type": "string" - }, - { - "name": "slot", - "in": "path", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/CsmPublishingCredentialsPoliciesEntity" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "Get FTP Allowed": { - "$ref": "./examples/GetPublishingCredentialsPolicySlot.json" - } - } - }, - "put": { - "tags": [ - "WebApps" - ], - "summary": "Updates whether FTP is allowed on the site or not.", - "description": "Description for Updates whether FTP is allowed on the site or not.", - "operationId": "WebApps_UpdateFtpAllowedSlot", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the app.", - "required": true, - "type": "string" - }, - { - "name": "csmPublishingAccessPoliciesEntity", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/CsmPublishingCredentialsPoliciesEntity" - } - }, - { - "name": "slot", - "in": "path", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/CsmPublishingCredentialsPoliciesEntity" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "Update FTP Allowed": { - "$ref": "./examples/UpdatePublishingCredentialsPolicySlot.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/basicPublishingCredentialsPolicies/scm": { - "get": { - "tags": [ - "WebApps" - ], - "summary": "Returns whether Scm basic auth is allowed on the site or not.", - "description": "Description for Returns whether Scm basic auth is allowed on the site or not.", - "operationId": "WebApps_GetScmAllowedSlot", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the app.", - "required": true, - "type": "string" - }, - { - "name": "slot", - "in": "path", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/CsmPublishingCredentialsPoliciesEntity" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "Get SCM Allowed": { - "$ref": "./examples/GetPublishingCredentialsPolicySlot.json" - } - } - }, - "put": { - "tags": [ - "WebApps" - ], - "summary": "Updates whether user publishing credentials are allowed on the site or not.", - "description": "Description for Updates whether user publishing credentials are allowed on the site or not.", - "operationId": "WebApps_UpdateScmAllowedSlot", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the app.", - "required": true, - "type": "string" - }, - { - "name": "csmPublishingAccessPoliciesEntity", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/CsmPublishingCredentialsPoliciesEntity" - } - }, - { - "name": "slot", - "in": "path", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/CsmPublishingCredentialsPoliciesEntity" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "Update SCM Allowed": { - "$ref": "./examples/UpdatePublishingCredentialsPolicySlot.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config": { - "get": { - "tags": [ - "WebApps" - ], - "summary": "List the configurations of an app", - "description": "Description for List the configurations of an app", - "operationId": "WebApps_ListConfigurationsSlot", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the app.", - "required": true, - "type": "string" - }, - { - "name": "slot", - "in": "path", - "description": "Name of the deployment slot. If a slot is not specified, the API will return configuration for the production slot.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/SiteConfigResourceCollection" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/appsettings": { - "put": { - "tags": [ - "WebApps" - ], - "summary": "Replaces the application settings of an app.", - "description": "Description for Replaces the application settings of an app.", - "operationId": "WebApps_UpdateApplicationSettingsSlot", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the app.", - "required": true, - "type": "string" - }, - { - "name": "appSettings", - "in": "body", - "description": "Application settings of the app.", - "required": true, - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/StringDictionary" - } - }, - { - "name": "slot", - "in": "path", - "description": "Name of the deployment slot. If a slot is not specified, the API will update the application settings for the production slot.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/StringDictionary" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/appsettings/list": { - "post": { - "tags": [ - "WebApps" - ], - "summary": "Gets the application settings of an app.", - "description": "Description for Gets the application settings of an app.", - "operationId": "WebApps_ListApplicationSettingsSlot", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the app.", - "required": true, - "type": "string" - }, - { - "name": "slot", - "in": "path", - "description": "Name of the deployment slot. If a slot is not specified, the API will get the application settings for the production slot.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/StringDictionary" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/authsettings": { - "put": { - "tags": [ - "WebApps" - ], - "summary": "Updates the Authentication / Authorization settings associated with web app.", - "description": "Description for Updates the Authentication / Authorization settings associated with web app.", - "operationId": "WebApps_UpdateAuthSettingsSlot", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of web app.", - "required": true, - "type": "string" - }, - { - "name": "siteAuthSettings", - "in": "body", - "description": "Auth settings associated with web app.", - "required": true, - "schema": { - "$ref": "#/definitions/SiteAuthSettings" - } - }, - { - "name": "slot", - "in": "path", - "description": "Name of web app slot. If not specified then will default to production slot.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/SiteAuthSettings" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/authsettings/list": { - "post": { - "tags": [ - "WebApps" - ], - "summary": "Gets the Authentication/Authorization settings of an app.", - "description": "Description for Gets the Authentication/Authorization settings of an app.", - "operationId": "WebApps_GetAuthSettingsSlot", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the app.", - "required": true, - "type": "string" - }, - { - "name": "slot", - "in": "path", - "description": "Name of the deployment slot. If a slot is not specified, the API will get the settings for the production slot.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/SiteAuthSettings" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/authsettingsV2": { - "get": { - "tags": [ - "WebApps" - ], - "summary": "Gets site's Authentication / Authorization settings for apps via the V2 format", - "operationId": "WebApps_GetAuthSettingsV2WithoutSecretsSlot", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the app.", - "required": true, - "type": "string" - }, - { - "name": "slot", - "in": "path", - "description": "Name of the deployment slot. If a slot is not specified, the API will get the settings for the production slot.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/SiteAuthSettingsV2" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - }, - "put": { - "tags": [ - "WebApps" - ], - "summary": "Updates site's Authentication / Authorization settings for apps via the V2 format", - "description": "Description for Updates site's Authentication / Authorization settings for apps via the V2 format", - "operationId": "WebApps_UpdateAuthSettingsV2Slot", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of web app.", - "required": true, - "type": "string" - }, - { - "name": "siteAuthSettingsV2", - "in": "body", - "description": "Auth settings associated with web app.", - "required": true, - "schema": { - "$ref": "#/definitions/SiteAuthSettingsV2" - } - }, - { - "name": "slot", - "in": "path", - "description": "Name of web app slot. If not specified then will default to production slot.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/SiteAuthSettingsV2" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/authsettingsV2/list": { - "get": { - "tags": [ - "WebApps" - ], - "summary": "Gets site's Authentication / Authorization settings for apps via the V2 format", - "description": "Description for Gets site's Authentication / Authorization settings for apps via the V2 format", - "operationId": "WebApps_GetAuthSettingsV2Slot", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the app.", - "required": true, - "type": "string" - }, - { - "name": "slot", - "in": "path", - "description": "Name of the deployment slot. If a slot is not specified, the API will get the settings for the production slot.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/SiteAuthSettingsV2" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/azurestorageaccounts": { - "put": { - "tags": [ - "WebApps" - ], - "summary": "Updates the Azure storage account configurations of an app.", - "description": "Description for Updates the Azure storage account configurations of an app.", - "operationId": "WebApps_UpdateAzureStorageAccountsSlot", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the app.", - "required": true, - "type": "string" - }, - { - "name": "azureStorageAccounts", - "in": "body", - "description": "Azure storage accounts of the app.", - "required": true, - "schema": { - "$ref": "#/definitions/AzureStoragePropertyDictionaryResource" - } - }, - { - "name": "slot", - "in": "path", - "description": "Name of the deployment slot. If a slot is not specified, the API will update the Azure storage account configurations for the production slot.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/AzureStoragePropertyDictionaryResource" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/azurestorageaccounts/list": { - "post": { - "tags": [ - "WebApps" - ], - "summary": "Gets the Azure storage account configurations of an app.", - "description": "Description for Gets the Azure storage account configurations of an app.", - "operationId": "WebApps_ListAzureStorageAccountsSlot", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the app.", - "required": true, - "type": "string" - }, - { - "name": "slot", - "in": "path", - "description": "Name of the deployment slot. If a slot is not specified, the API will update the Azure storage account configurations for the production slot.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/AzureStoragePropertyDictionaryResource" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/backup": { - "put": { - "tags": [ - "WebApps" - ], - "summary": "Updates the backup configuration of an app.", - "description": "Description for Updates the backup configuration of an app.", - "operationId": "WebApps_UpdateBackupConfigurationSlot", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the app.", - "required": true, - "type": "string" - }, - { - "name": "request", - "in": "body", - "description": "Edited backup configuration.", - "required": true, - "schema": { - "$ref": "#/definitions/BackupRequest" - } - }, - { - "name": "slot", - "in": "path", - "description": "Name of the deployment slot. If a slot is not specified, the API will update the backup configuration for the production slot.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/BackupRequest" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - }, - "delete": { - "tags": [ - "WebApps" - ], - "summary": "Deletes the backup configuration of an app.", - "description": "Description for Deletes the backup configuration of an app.", - "operationId": "WebApps_DeleteBackupConfigurationSlot", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the app.", - "required": true, - "type": "string" - }, - { - "name": "slot", - "in": "path", - "description": "Name of the deployment slot. If a slot is not specified, the API will delete the backup configuration for the production slot.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Successfully deleted backup configuration." - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/backup/list": { - "post": { - "tags": [ - "WebApps" - ], - "summary": "Gets the backup configuration of an app.", - "description": "Description for Gets the backup configuration of an app.", - "operationId": "WebApps_GetBackupConfigurationSlot", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the app.", - "required": true, - "type": "string" - }, - { - "name": "slot", - "in": "path", - "description": "Name of the deployment slot. If a slot is not specified, the API will get the backup configuration for the production slot.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/BackupRequest" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/configreferences/appsettings": { - "get": { - "tags": [ - "WebApps" - ], - "summary": "Gets the config reference app settings and status of an app", - "description": "Description for Gets the config reference app settings and status of an app", - "operationId": "WebApps_GetAppSettingsKeyVaultReferencesSlot", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the app.", - "required": true, - "type": "string" - }, - { - "name": "slot", - "in": "path", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/ApiKVReferenceCollection" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "Get Azure Key Vault references for app settings for slot": { - "$ref": "./examples/GetKeyVaultReferencesForAppSettingsSlot.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/configreferences/appsettings/{appSettingKey}": { - "get": { - "tags": [ - "WebApps" - ], - "summary": "Gets the config reference and status of an app", - "description": "Description for Gets the config reference and status of an app", - "operationId": "WebApps_GetAppSettingKeyVaultReferenceSlot", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the app.", - "required": true, - "type": "string" - }, - { - "name": "appSettingKey", - "in": "path", - "description": "App Setting key name.", - "required": true, - "type": "string" - }, - { - "name": "slot", - "in": "path", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/ApiKVReference" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "Get Azure Key Vault slot app setting reference": { - "$ref": "./examples/GetKeyVaultReferencesForAppSettingSlot.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/configreferences/connectionstrings": { - "get": { - "tags": [ - "WebApps" - ], - "summary": "Gets the config reference app settings and status of an app", - "description": "Description for Gets the config reference app settings and status of an app", - "operationId": "WebApps_GetSiteConnectionStringKeyVaultReferencesSlot", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the app.", - "required": true, - "type": "string" - }, - { - "name": "slot", - "in": "path", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/ApiKVReferenceCollection" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/configreferences/connectionstrings/{connectionStringKey}": { - "get": { - "tags": [ - "WebApps" - ], - "summary": "Gets the config reference and status of an app", - "description": "Description for Gets the config reference and status of an app", - "operationId": "WebApps_GetSiteConnectionStringKeyVaultReferenceSlot", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the app.", - "required": true, - "type": "string" - }, - { - "name": "connectionStringKey", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "slot", - "in": "path", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/ApiKVReference" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/connectionstrings": { - "put": { - "tags": [ - "WebApps" - ], - "summary": "Replaces the connection strings of an app.", - "description": "Description for Replaces the connection strings of an app.", - "operationId": "WebApps_UpdateConnectionStringsSlot", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the app.", - "required": true, - "type": "string" - }, - { - "name": "connectionStrings", - "in": "body", - "description": "Connection strings of the app or deployment slot. See example.", - "required": true, - "schema": { - "$ref": "#/definitions/ConnectionStringDictionary" - } - }, - { - "name": "slot", - "in": "path", - "description": "Name of the deployment slot. If a slot is not specified, the API will update the connection settings for the production slot.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/ConnectionStringDictionary" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/connectionstrings/list": { - "post": { - "tags": [ - "WebApps" - ], - "summary": "Gets the connection strings of an app.", - "description": "Description for Gets the connection strings of an app.", - "operationId": "WebApps_ListConnectionStringsSlot", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the app.", - "required": true, - "type": "string" - }, - { - "name": "slot", - "in": "path", - "description": "Name of the deployment slot. If a slot is not specified, the API will get the connection settings for the production slot.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/ConnectionStringDictionary" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/logs": { - "get": { - "tags": [ - "WebApps" - ], - "summary": "Gets the logging configuration of an app.", - "description": "Description for Gets the logging configuration of an app.", - "operationId": "WebApps_GetDiagnosticLogsConfigurationSlot", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the app.", - "required": true, - "type": "string" - }, - { - "name": "slot", - "in": "path", - "description": "Name of the deployment slot. If a slot is not specified, the API will get the logging configuration for the production slot.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/SiteLogsConfig" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - }, - "put": { - "tags": [ - "WebApps" - ], - "summary": "Updates the logging configuration of an app.", - "description": "Description for Updates the logging configuration of an app.", - "operationId": "WebApps_UpdateDiagnosticLogsConfigSlot", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the app.", - "required": true, - "type": "string" - }, - { - "name": "siteLogsConfig", - "in": "body", - "description": "A SiteLogsConfig JSON object that contains the logging configuration to change in the \"properties\" property.", - "required": true, - "schema": { - "$ref": "#/definitions/SiteLogsConfig" - } - }, - { - "name": "slot", - "in": "path", - "description": "Name of the deployment slot. If a slot is not specified, the API will update the logging configuration for the production slot.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/SiteLogsConfig" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/metadata": { - "put": { - "tags": [ - "WebApps" - ], - "summary": "Replaces the metadata of an app.", - "description": "Description for Replaces the metadata of an app.", - "operationId": "WebApps_UpdateMetadataSlot", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the app.", - "required": true, - "type": "string" - }, - { - "name": "metadata", - "in": "body", - "description": "Edited metadata of the app or deployment slot. See example.", - "required": true, - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/StringDictionary" - } - }, - { - "name": "slot", - "in": "path", - "description": "Name of the deployment slot. If a slot is not specified, the API will update the metadata for the production slot.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/StringDictionary" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/metadata/list": { - "post": { - "tags": [ - "WebApps" - ], - "summary": "Gets the metadata of an app.", - "description": "Description for Gets the metadata of an app.", - "operationId": "WebApps_ListMetadataSlot", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the app.", - "required": true, - "type": "string" - }, - { - "name": "slot", - "in": "path", - "description": "Name of the deployment slot. If a slot is not specified, the API will get the metadata for the production slot.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/StringDictionary" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/publishingcredentials/list": { - "post": { - "tags": [ - "WebApps" - ], - "summary": "Gets the Git/FTP publishing credentials of an app.", - "description": "Description for Gets the Git/FTP publishing credentials of an app.", - "operationId": "WebApps_ListPublishingCredentialsSlot", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the app.", - "required": true, - "type": "string" - }, - { - "name": "slot", - "in": "path", - "description": "Name of the deployment slot. If a slot is not specified, the API will get the publishing credentials for the production slot.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/User" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/pushsettings": { - "put": { - "tags": [ - "WebApps" - ], - "summary": "Updates the Push settings associated with web app.", - "description": "Description for Updates the Push settings associated with web app.", - "operationId": "WebApps_UpdateSitePushSettingsSlot", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of web app.", - "required": true, - "type": "string" - }, - { - "name": "pushSettings", - "in": "body", - "description": "Push settings associated with web app.", - "required": true, - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/PushSettings" - } - }, - { - "name": "slot", - "in": "path", - "description": "Name of web app slot. If not specified then will default to production slot.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/PushSettings" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/pushsettings/list": { - "post": { - "tags": [ - "WebApps" - ], - "summary": "Gets the Push settings associated with web app.", - "description": "Description for Gets the Push settings associated with web app.", - "operationId": "WebApps_ListSitePushSettingsSlot", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of web app.", - "required": true, - "type": "string" - }, - { - "name": "slot", - "in": "path", - "description": "Name of web app slot. If not specified then will default to production slot.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/PushSettings" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/web": { - "get": { - "tags": [ - "WebApps" - ], - "summary": "Gets the configuration of an app, such as platform version and bitness, default documents, virtual applications, Always On, etc.", - "description": "Description for Gets the configuration of an app, such as platform version and bitness, default documents, virtual applications, Always On, etc.", - "operationId": "WebApps_GetConfigurationSlot", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the app.", - "required": true, - "type": "string" - }, - { - "name": "slot", - "in": "path", - "description": "Name of the deployment slot. If a slot is not specified, the API will return configuration for the production slot.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/SiteConfigResource" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - }, - "put": { - "tags": [ - "WebApps" - ], - "summary": "Updates the configuration of an app.", - "description": "Description for Updates the configuration of an app.", - "operationId": "WebApps_CreateOrUpdateConfigurationSlot", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the app.", - "required": true, - "type": "string" - }, - { - "name": "siteConfig", - "in": "body", - "description": "JSON representation of a SiteConfig object. See example.", - "required": true, - "schema": { - "$ref": "#/definitions/SiteConfigResource" - } - }, - { - "name": "slot", - "in": "path", - "description": "Name of the deployment slot. If a slot is not specified, the API will update configuration for the production slot.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/SiteConfigResource" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - }, - "patch": { - "tags": [ - "WebApps" - ], - "summary": "Updates the configuration of an app.", - "description": "Description for Updates the configuration of an app.", - "operationId": "WebApps_UpdateConfigurationSlot", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the app.", - "required": true, - "type": "string" - }, - { - "name": "siteConfig", - "in": "body", - "description": "JSON representation of a SiteConfig object. See example.", - "required": true, - "schema": { - "$ref": "#/definitions/SiteConfigResource" - } - }, - { - "name": "slot", - "in": "path", - "description": "Name of the deployment slot. If a slot is not specified, the API will update configuration for the production slot.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/SiteConfigResource" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/web/snapshots": { - "get": { - "tags": [ - "WebApps" - ], - "summary": "Gets a list of web app configuration snapshots identifiers. Each element of the list contains a timestamp and the ID of the snapshot.", - "description": "Description for Gets a list of web app configuration snapshots identifiers. Each element of the list contains a timestamp and the ID of the snapshot.", - "operationId": "WebApps_ListConfigurationSnapshotInfoSlot", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the app.", - "required": true, - "type": "string" - }, - { - "name": "slot", - "in": "path", - "description": "Name of the deployment slot. If a slot is not specified, the API will return configuration for the production slot.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/SiteConfigurationSnapshotInfoCollection" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/web/snapshots/{snapshotId}": { - "get": { - "tags": [ - "WebApps" - ], - "summary": "Gets a snapshot of the configuration of an app at a previous point in time.", - "description": "Description for Gets a snapshot of the configuration of an app at a previous point in time.", - "operationId": "WebApps_GetConfigurationSnapshotSlot", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the app.", - "required": true, - "type": "string" - }, - { - "name": "snapshotId", - "in": "path", - "description": "The ID of the snapshot to read.", - "required": true, - "type": "string" - }, - { - "name": "slot", - "in": "path", - "description": "Name of the deployment slot. If a slot is not specified, the API will return configuration for the production slot.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/SiteConfigResource" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/web/snapshots/{snapshotId}/recover": { - "post": { - "tags": [ - "WebApps" - ], - "summary": "Reverts the configuration of an app to a previous snapshot.", - "description": "Description for Reverts the configuration of an app to a previous snapshot.", - "operationId": "WebApps_RecoverSiteConfigurationSnapshotSlot", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the app.", - "required": true, - "type": "string" - }, - { - "name": "snapshotId", - "in": "path", - "description": "The ID of the snapshot to read.", - "required": true, - "type": "string" - }, - { - "name": "slot", - "in": "path", - "description": "Name of the deployment slot. If a slot is not specified, the API will return configuration for the production slot.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "204": { - "description": "No Content" - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/containerlogs": { - "post": { - "tags": [ - "WebApps" - ], - "summary": "Gets the last lines of docker logs for the given site", - "description": "Description for Gets the last lines of docker logs for the given site", - "operationId": "WebApps_GetWebSiteContainerLogsSlot", - "produces": [ - "application/octet-stream" - ], - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of web app.", - "required": true, - "type": "string" - }, - { - "name": "slot", - "in": "path", - "description": "Name of web app slot. If not specified then will default to production slot.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "204": { - "description": "No Content" - }, - "200": { - "description": "OK", - "schema": { - "type": "file" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/containerlogs/zip/download": { - "post": { - "tags": [ - "WebApps" - ], - "summary": "Gets the ZIP archived docker log files for the given site", - "description": "Description for Gets the ZIP archived docker log files for the given site", - "operationId": "WebApps_GetContainerLogsZipSlot", - "produces": [ - "application/zip" - ], - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of web app.", - "required": true, - "type": "string" - }, - { - "name": "slot", - "in": "path", - "description": "Name of web app slot. If not specified then will default to production slot.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "204": { - "description": "No Content" - }, - "200": { - "description": "OK", - "schema": { - "type": "file" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/continuouswebjobs": { - "get": { - "tags": [ - "WebApps" - ], - "summary": "List continuous web jobs for an app, or a deployment slot.", - "description": "Description for List continuous web jobs for an app, or a deployment slot.", - "operationId": "WebApps_ListContinuousWebJobsSlot", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Site name.", - "required": true, - "type": "string" - }, - { - "name": "slot", - "in": "path", - "description": "Name of the deployment slot. If a slot is not specified, the API deletes a deployment for the production slot.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/ContinuousWebJobCollection" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/continuouswebjobs/{webJobName}": { - "get": { - "tags": [ - "WebApps" - ], - "summary": "Gets a continuous web job by its ID for an app, or a deployment slot.", - "description": "Description for Gets a continuous web job by its ID for an app, or a deployment slot.", - "operationId": "WebApps_GetContinuousWebJobSlot", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Site name.", - "required": true, - "type": "string" - }, - { - "name": "webJobName", - "in": "path", - "description": "Name of Web Job.", - "required": true, - "type": "string" - }, - { - "name": "slot", - "in": "path", - "description": "Name of the deployment slot. If a slot is not specified, the API deletes a deployment for the production slot.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Found continuous web job.", - "schema": { - "$ref": "#/definitions/ContinuousWebJob" - } - }, - "404": { - "description": "Continuous web job does not exist.", - "x-ms-error-response": true - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - }, - "delete": { - "tags": [ - "WebApps" - ], - "summary": "Delete a continuous web job by its ID for an app, or a deployment slot.", - "description": "Description for Delete a continuous web job by its ID for an app, or a deployment slot.", - "operationId": "WebApps_DeleteContinuousWebJobSlot", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Site name.", - "required": true, - "type": "string" - }, - { - "name": "webJobName", - "in": "path", - "description": "Name of Web Job.", - "required": true, - "type": "string" - }, - { - "name": "slot", - "in": "path", - "description": "Name of the deployment slot. If a slot is not specified, the API deletes a deployment for the production slot.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Successfully deleted continuous web job." - }, - "204": { - "description": "Continuous web job does not exist." - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/continuouswebjobs/{webJobName}/start": { - "post": { - "tags": [ - "WebApps" - ], - "summary": "Start a continuous web job for an app, or a deployment slot.", - "description": "Description for Start a continuous web job for an app, or a deployment slot.", - "operationId": "WebApps_StartContinuousWebJobSlot", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Site name.", - "required": true, - "type": "string" - }, - { - "name": "webJobName", - "in": "path", - "description": "Name of Web Job.", - "required": true, - "type": "string" - }, - { - "name": "slot", - "in": "path", - "description": "Name of the deployment slot. If a slot is not specified, the API deletes a deployment for the production slot.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Found continuous web job." - }, - "404": { - "description": "Continuous web job does not exist.", - "x-ms-error-response": true - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/continuouswebjobs/{webJobName}/stop": { - "post": { - "tags": [ - "WebApps" - ], - "summary": "Stop a continuous web job for an app, or a deployment slot.", - "description": "Description for Stop a continuous web job for an app, or a deployment slot.", - "operationId": "WebApps_StopContinuousWebJobSlot", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Site name.", - "required": true, - "type": "string" - }, - { - "name": "webJobName", - "in": "path", - "description": "Name of Web Job.", - "required": true, - "type": "string" - }, - { - "name": "slot", - "in": "path", - "description": "Name of the deployment slot. If a slot is not specified, the API deletes a deployment for the production slot.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Found continuous web job." - }, - "404": { - "description": "Continuous web job does not exist.", - "x-ms-error-response": true - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/deploymentStatus": { - "get": { - "tags": [ - "WebApps" - ], - "summary": "List deployment statuses for an app (or deployment slot, if specified).", - "operationId": "WebApps_ListSlotSiteDeploymentStatusesSlot", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the app.", - "required": true, - "type": "string" - }, - { - "name": "slot", - "in": "path", - "description": "Name of the deployment slot. If a slot is not specified, the API will get the deployment status for the production slot.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/CsmDeploymentStatusCollection" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "List Deployment Status Slot": { - "$ref": "./examples/ListSiteDeploymentStatusSlot.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/deploymentStatus/{deploymentStatusId}": { - "get": { - "tags": [ - "WebApps" - ], - "summary": "Gets the deployment status for an app (or deployment slot, if specified).", - "operationId": "WebApps_GetSlotSiteDeploymentStatusSlot", - "parameters": [ - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the app.", - "required": true, - "type": "string" - }, - { - "name": "slot", - "in": "path", - "description": "Name of the deployment slot. If a slot is not specified, the API will get the deployment status for the production slot.", - "required": true, - "type": "string" - }, - { - "name": "deploymentStatusId", - "in": "path", - "description": "GUID of the deployment operation.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/CsmDeploymentStatus" - } - }, - "202": { - "description": "Operation is in progress.", - "schema": { - "$ref": "#/definitions/CsmDeploymentStatus" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "Get Deployment Status Slot": { - "$ref": "./examples/GetSiteDeploymentStatusSlot.json" - } - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/deployments": { - "get": { - "tags": [ - "WebApps" - ], - "summary": "List deployments for an app, or a deployment slot.", - "description": "Description for List deployments for an app, or a deployment slot.", - "operationId": "WebApps_ListDeploymentsSlot", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the app.", - "required": true, - "type": "string" - }, - { - "name": "slot", - "in": "path", - "description": "Name of the deployment slot. If a slot is not specified, the API returns deployments for the production slot.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/DeploymentCollection" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/deployments/{id}": { - "get": { - "tags": [ - "WebApps" - ], - "summary": "Get a deployment by its ID for an app, or a deployment slot.", - "description": "Description for Get a deployment by its ID for an app, or a deployment slot.", - "operationId": "WebApps_GetDeploymentSlot", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the app.", - "required": true, - "type": "string" - }, - { - "name": "id", - "in": "path", - "description": "Deployment ID.", - "required": true, - "type": "string" - }, - { - "name": "slot", - "in": "path", - "description": "Name of the deployment slot. If a slot is not specified, the API gets a deployment for the production slot.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/Deployment" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - }, - "put": { - "tags": [ - "WebApps" - ], - "summary": "Create a deployment for an app, or a deployment slot.", - "description": "Description for Create a deployment for an app, or a deployment slot.", - "operationId": "WebApps_CreateDeploymentSlot", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the app.", - "required": true, - "type": "string" - }, - { - "name": "id", - "in": "path", - "description": "ID of an existing deployment.", - "required": true, - "type": "string" - }, - { - "name": "slot", - "in": "path", - "description": "Name of the deployment slot. If a slot is not specified, the API creates a deployment for the production slot.", - "required": true, - "type": "string" - }, - { - "name": "deployment", - "in": "body", - "description": "Deployment details.", - "required": true, - "schema": { - "$ref": "#/definitions/Deployment" - } - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/Deployment" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - }, - "delete": { - "tags": [ - "WebApps" - ], - "summary": "Delete a deployment by its ID for an app, or a deployment slot.", - "description": "Description for Delete a deployment by its ID for an app, or a deployment slot.", - "operationId": "WebApps_DeleteDeploymentSlot", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the app.", - "required": true, - "type": "string" - }, - { - "name": "id", - "in": "path", - "description": "Deployment ID.", - "required": true, - "type": "string" - }, - { - "name": "slot", - "in": "path", - "description": "Name of the deployment slot. If a slot is not specified, the API deletes a deployment for the production slot.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Successfully deleted deployment." - }, - "204": { - "description": "Deployment does not exist." - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/deployments/{id}/log": { - "get": { - "tags": [ - "WebApps" - ], - "summary": "List deployment log for specific deployment for an app, or a deployment slot.", - "description": "Description for List deployment log for specific deployment for an app, or a deployment slot.", - "operationId": "WebApps_ListDeploymentLogSlot", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the app.", - "required": true, - "type": "string" - }, - { - "name": "id", - "in": "path", - "description": "The ID of a specific deployment. This is the value of the name property in the JSON response from \"GET /api/sites/{siteName}/deployments\".", - "required": true, - "type": "string" - }, - { - "name": "slot", - "in": "path", - "description": "Name of the deployment slot. If a slot is not specified, the API returns deployments for the production slot.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/Deployment" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/discoverbackup": { - "post": { - "tags": [ - "WebApps" - ], - "summary": "Discovers an existing app backup that can be restored from a blob in Azure storage. Use this to get information about the databases stored in a backup.", - "description": "Description for Discovers an existing app backup that can be restored from a blob in Azure storage. Use this to get information about the databases stored in a backup.", - "operationId": "WebApps_DiscoverBackupSlot", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the app.", - "required": true, - "type": "string" - }, - { - "name": "request", - "in": "body", - "description": "A RestoreRequest object that includes Azure storage URL and blog name for discovery of backup.", - "required": true, - "schema": { - "$ref": "#/definitions/RestoreRequest" - } - }, - { - "name": "slot", - "in": "path", - "description": "Name of the deployment slot. If a slot is not specified, the API will perform discovery for the production slot.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/RestoreRequest" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/domainOwnershipIdentifiers": { - "get": { - "tags": [ - "WebApps" - ], - "summary": "Lists ownership identifiers for domain associated with web app.", - "description": "Description for Lists ownership identifiers for domain associated with web app.", - "operationId": "WebApps_ListDomainOwnershipIdentifiersSlot", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the app.", - "required": true, - "type": "string" - }, - { - "name": "slot", - "in": "path", - "description": "Name of the deployment slot. If a slot is not specified, the API will delete the binding for the production slot.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/IdentifierCollection" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/domainOwnershipIdentifiers/{domainOwnershipIdentifierName}": { - "get": { - "tags": [ - "WebApps" - ], - "summary": "Get domain ownership identifier for web app.", - "description": "Description for Get domain ownership identifier for web app.", - "operationId": "WebApps_GetDomainOwnershipIdentifierSlot", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the app.", - "required": true, - "type": "string" - }, - { - "name": "domainOwnershipIdentifierName", - "in": "path", - "description": "Name of domain ownership identifier.", - "required": true, - "type": "string" - }, - { - "name": "slot", - "in": "path", - "description": "Name of the deployment slot. If a slot is not specified, the API will delete the binding for the production slot.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/Identifier" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - }, - "put": { - "tags": [ - "WebApps" - ], - "summary": "Creates a domain ownership identifier for web app, or updates an existing ownership identifier.", - "description": "Description for Creates a domain ownership identifier for web app, or updates an existing ownership identifier.", - "operationId": "WebApps_CreateOrUpdateDomainOwnershipIdentifierSlot", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the app.", - "required": true, - "type": "string" - }, - { - "name": "domainOwnershipIdentifierName", - "in": "path", - "description": "Name of domain ownership identifier.", - "required": true, - "type": "string" - }, - { - "name": "domainOwnershipIdentifier", - "in": "body", - "description": "A JSON representation of the domain ownership properties.", - "required": true, - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/Identifier" - } - }, - { - "name": "slot", - "in": "path", - "description": "Name of the deployment slot. If a slot is not specified, the API will delete the binding for the production slot.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/Identifier" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - }, - "delete": { - "tags": [ - "WebApps" - ], - "summary": "Deletes a domain ownership identifier for a web app.", - "description": "Description for Deletes a domain ownership identifier for a web app.", - "operationId": "WebApps_DeleteDomainOwnershipIdentifierSlot", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the app.", - "required": true, - "type": "string" - }, - { - "name": "domainOwnershipIdentifierName", - "in": "path", - "description": "Name of domain ownership identifier.", - "required": true, - "type": "string" - }, - { - "name": "slot", - "in": "path", - "description": "Name of the deployment slot. If a slot is not specified, the API will delete the binding for the production slot.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Successfully deleted domain ownership identifier." - }, - "204": { - "description": "Domain ownership identifier does not exist." - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - }, - "patch": { - "tags": [ - "WebApps" - ], - "summary": "Creates a domain ownership identifier for web app, or updates an existing ownership identifier.", - "description": "Description for Creates a domain ownership identifier for web app, or updates an existing ownership identifier.", - "operationId": "WebApps_UpdateDomainOwnershipIdentifierSlot", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the app.", - "required": true, - "type": "string" - }, - { - "name": "domainOwnershipIdentifierName", - "in": "path", - "description": "Name of domain ownership identifier.", - "required": true, - "type": "string" - }, - { - "name": "domainOwnershipIdentifier", - "in": "body", - "description": "A JSON representation of the domain ownership properties.", - "required": true, - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/Identifier" - } - }, - { - "name": "slot", - "in": "path", - "description": "Name of the deployment slot. If a slot is not specified, the API will delete the binding for the production slot.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/Identifier" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/extensions/MSDeploy": { - "get": { - "tags": [ - "WebApps" - ], - "summary": "Get the status of the last MSDeploy operation.", - "description": "Description for Get the status of the last MSDeploy operation.", - "operationId": "WebApps_GetMSDeployStatusSlot", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of web app.", - "required": true, - "type": "string" - }, - { - "name": "slot", - "in": "path", - "description": "Name of web app slot. If not specified then will default to production slot.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/MSDeployStatus" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - }, - "put": { - "tags": [ - "WebApps" - ], - "summary": "Invoke the MSDeploy web app extension.", - "description": "Description for Invoke the MSDeploy web app extension.", - "operationId": "WebApps_CreateMSDeployOperationSlot", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of web app.", - "required": true, - "type": "string" - }, - { - "name": "slot", - "in": "path", - "description": "Name of web app slot. If not specified then will default to production slot.", - "required": true, - "type": "string" - }, - { - "name": "MSDeploy", - "in": "body", - "description": "Details of MSDeploy operation", - "required": true, - "schema": { - "$ref": "#/definitions/MSDeploy" - } - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "201": { - "description": "Deployment is scheduled.", - "schema": { - "$ref": "#/definitions/MSDeployStatus" - } - }, - "409": { - "description": "Another deployment is in progress.", - "x-ms-error-response": true - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/extensions/MSDeploy/log": { - "get": { - "tags": [ - "WebApps" - ], - "summary": "Get the MSDeploy Log for the last MSDeploy operation.", - "description": "Description for Get the MSDeploy Log for the last MSDeploy operation.", - "operationId": "WebApps_GetMSDeployLogSlot", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of web app.", - "required": true, - "type": "string" - }, - { - "name": "slot", - "in": "path", - "description": "Name of web app slot. If not specified then will default to production slot.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "MSDeploy log returned.", - "schema": { - "$ref": "#/definitions/MSDeployLog" - } - }, - "404": { - "description": "MSDeploy log not found.", - "x-ms-error-response": true - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/functions": { - "get": { - "tags": [ - "WebApps" - ], - "summary": "List the functions for a web site, or a deployment slot.", - "description": "Description for List the functions for a web site, or a deployment slot.", - "operationId": "WebApps_ListInstanceFunctionsSlot", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Site name.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/slotNameParameter" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Function information returned.", - "schema": { - "$ref": "#/definitions/FunctionEnvelopeCollection" - } - }, - "404": { - "description": "Function with an ID of {functionName} is not running.", - "x-ms-error-response": true - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/functions/admin/token": { - "get": { - "tags": [ - "WebApps" - ], - "summary": "Fetch a short lived token that can be exchanged for a master key.", - "description": "Description for Fetch a short lived token that can be exchanged for a master key.", - "operationId": "WebApps_GetFunctionsAdminTokenSlot", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of web app.", - "required": true, - "type": "string" - }, - { - "name": "slot", - "in": "path", - "description": "Name of web app slot. If not specified then will default to production slot.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "string" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/functions/{functionName}": { - "get": { - "tags": [ - "WebApps" - ], - "summary": "Get function information by its ID for web site, or a deployment slot.", - "description": "Description for Get function information by its ID for web site, or a deployment slot.", - "operationId": "WebApps_GetInstanceFunctionSlot", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Site name.", - "required": true, - "type": "string" - }, - { - "name": "functionName", - "in": "path", - "description": "Function name.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/slotNameParameter" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Function information returned.", - "schema": { - "$ref": "#/definitions/FunctionEnvelope" - } - }, - "404": { - "description": "Function with a name of {functionName} does not exist.", - "x-ms-error-response": true - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - }, - "put": { - "tags": [ - "WebApps" - ], - "summary": "Create function for web site, or a deployment slot.", - "description": "Description for Create function for web site, or a deployment slot.", - "operationId": "WebApps_CreateInstanceFunctionSlot", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Site name.", - "required": true, - "type": "string" - }, - { - "name": "functionName", - "in": "path", - "description": "Function name.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/slotNameParameter" - }, - { - "name": "function_envelope", - "in": "body", - "description": "Function details.", - "required": true, - "schema": { - "$ref": "#/definitions/FunctionEnvelope" - } - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "201": { - "description": "Function created.", - "schema": { - "$ref": "#/definitions/FunctionEnvelope" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-long-running-operation": true - }, - "delete": { - "tags": [ - "WebApps" - ], - "summary": "Delete a function for web site, or a deployment slot.", - "description": "Description for Delete a function for web site, or a deployment slot.", - "operationId": "WebApps_DeleteInstanceFunctionSlot", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Site name.", - "required": true, - "type": "string" - }, - { - "name": "functionName", - "in": "path", - "description": "Function name.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/slotNameParameter" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "204": { - "description": "Function deleted." - }, - "404": { - "description": "Function does not exist.", - "x-ms-error-response": true - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/functions/{functionName}/keys/{keyName}": { - "put": { - "tags": [ - "WebApps" - ], - "summary": "Add or update a function secret.", - "description": "Description for Add or update a function secret.", - "operationId": "WebApps_CreateOrUpdateFunctionSecretSlot", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Site name.", - "required": true, - "type": "string" - }, - { - "name": "functionName", - "in": "path", - "description": "The name of the function.", - "required": true, - "type": "string" - }, - { - "name": "keyName", - "in": "path", - "description": "The name of the key.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/slotNameParameter" - }, - { - "name": "key", - "in": "body", - "description": "The key to create or update", - "required": true, - "schema": { - "$ref": "#/definitions/KeyInfo" - } - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "201": { - "description": "Key was created.", - "schema": { - "$ref": "#/definitions/KeyInfo" - } - }, - "200": { - "description": "Key was updated.", - "schema": { - "$ref": "#/definitions/KeyInfo" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - }, - "delete": { - "tags": [ - "WebApps" - ], - "summary": "Delete a function secret.", - "description": "Description for Delete a function secret.", - "operationId": "WebApps_DeleteFunctionSecretSlot", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Site name.", - "required": true, - "type": "string" - }, - { - "name": "functionName", - "in": "path", - "description": "The name of the function.", - "required": true, - "type": "string" - }, - { - "name": "keyName", - "in": "path", - "description": "The name of the key.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/slotNameParameter" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "404": { - "description": "Key was not found.", - "x-ms-error-response": true - }, - "204": { - "description": "Key was deleted." - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/functions/{functionName}/listkeys": { - "post": { - "tags": [ - "WebApps" - ], - "summary": "Get function keys for a function in a web site, or a deployment slot.", - "description": "Description for Get function keys for a function in a web site, or a deployment slot.", - "operationId": "WebApps_ListFunctionKeysSlot", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Site name.", - "required": true, - "type": "string" - }, - { - "name": "functionName", - "in": "path", - "description": "Function name.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/slotNameParameter" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Function keys returned.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/StringDictionary" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/functions/{functionName}/listsecrets": { - "post": { - "tags": [ - "WebApps" - ], - "summary": "Get function secrets for a function in a web site, or a deployment slot.", - "description": "Description for Get function secrets for a function in a web site, or a deployment slot.", - "operationId": "WebApps_ListFunctionSecretsSlot", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Site name.", - "required": true, - "type": "string" - }, - { - "name": "functionName", - "in": "path", - "description": "Function name.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/slotNameParameter" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Function secrets returned.", - "schema": { - "$ref": "#/definitions/FunctionSecrets" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/host/default/listkeys": { - "post": { - "tags": [ - "WebApps" - ], - "summary": "Get host secrets for a function app.", - "description": "Description for Get host secrets for a function app.", - "operationId": "WebApps_ListHostKeysSlot", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Site name.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/slotNameParameter" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Host secrets returned.", - "schema": { - "$ref": "#/definitions/HostKeys" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/host/default/listsyncstatus": { - "post": { - "tags": [ - "WebApps" - ], - "summary": "This is to allow calling via powershell and ARM template.", - "description": "Description for This is to allow calling via powershell and ARM template.", - "operationId": "WebApps_ListSyncStatusSlot", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the app.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/slotNameParameter" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "204": { - "description": "No Content" - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/host/default/sync": { - "post": { - "tags": [ - "WebApps" - ], - "summary": "Syncs function trigger metadata to the management database", - "description": "Description for Syncs function trigger metadata to the management database", - "operationId": "WebApps_SyncFunctionsSlot", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the app.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/slotNameParameter" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "204": { - "description": "No Content" - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/host/default/{keyType}/{keyName}": { - "put": { - "tags": [ - "WebApps" - ], - "summary": "Add or update a host level secret.", - "description": "Description for Add or update a host level secret.", - "operationId": "WebApps_CreateOrUpdateHostSecretSlot", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Site name.", - "required": true, - "type": "string" - }, - { - "name": "keyType", - "in": "path", - "description": "The type of host key.", - "required": true, - "type": "string" - }, - { - "name": "keyName", - "in": "path", - "description": "The name of the key.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/slotNameParameter" - }, - { - "name": "key", - "in": "body", - "description": "The key to create or update", - "required": true, - "schema": { - "$ref": "#/definitions/KeyInfo" - } - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "201": { - "description": "Key was created.", - "schema": { - "$ref": "#/definitions/KeyInfo" - } - }, - "200": { - "description": "Key was updated.", - "schema": { - "$ref": "#/definitions/KeyInfo" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - }, - "delete": { - "tags": [ - "WebApps" - ], - "summary": "Delete a host level secret.", - "description": "Description for Delete a host level secret.", - "operationId": "WebApps_DeleteHostSecretSlot", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Site name.", - "required": true, - "type": "string" - }, - { - "name": "keyType", - "in": "path", - "description": "The type of host key.", - "required": true, - "type": "string" - }, - { - "name": "keyName", - "in": "path", - "description": "The name of the key.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/slotNameParameter" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "404": { - "description": "Key was not found.", - "x-ms-error-response": true - }, - "204": { - "description": "Key was deleted." - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/hostNameBindings": { - "get": { - "tags": [ - "WebApps" - ], - "summary": "Get hostname bindings for an app or a deployment slot.", - "description": "Description for Get hostname bindings for an app or a deployment slot.", - "operationId": "WebApps_ListHostNameBindingsSlot", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the app.", - "required": true, - "type": "string" - }, - { - "name": "slot", - "in": "path", - "description": "Name of the deployment slot. If a slot is not specified, the API gets hostname bindings for the production slot.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/HostNameBindingCollection" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/hostNameBindings/{hostName}": { - "get": { - "tags": [ - "WebApps" - ], - "summary": "Get the named hostname binding for an app (or deployment slot, if specified).", - "description": "Description for Get the named hostname binding for an app (or deployment slot, if specified).", - "operationId": "WebApps_GetHostNameBindingSlot", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the app.", - "required": true, - "type": "string" - }, - { - "name": "slot", - "in": "path", - "description": "Name of the deployment slot. If a slot is not specified, the API the named binding for the production slot.", - "required": true, - "type": "string" - }, - { - "name": "hostName", - "in": "path", - "description": "Hostname in the hostname binding.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/HostNameBinding" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - }, - "put": { - "tags": [ - "WebApps" - ], - "summary": "Creates a hostname binding for an app.", - "description": "Description for Creates a hostname binding for an app.", - "operationId": "WebApps_CreateOrUpdateHostNameBindingSlot", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the app.", - "required": true, - "type": "string" - }, - { - "name": "hostName", - "in": "path", - "description": "Hostname in the hostname binding.", - "required": true, - "type": "string" - }, - { - "name": "hostNameBinding", - "in": "body", - "description": "Binding details. This is the JSON representation of a HostNameBinding object.", - "required": true, - "schema": { - "$ref": "#/definitions/HostNameBinding" - } - }, - { - "name": "slot", - "in": "path", - "description": "Name of the deployment slot. If a slot is not specified, the API will create a binding for the production slot.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/HostNameBinding" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - }, - "delete": { - "tags": [ - "WebApps" - ], - "summary": "Deletes a hostname binding for an app.", - "description": "Description for Deletes a hostname binding for an app.", - "operationId": "WebApps_DeleteHostNameBindingSlot", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the app.", - "required": true, - "type": "string" - }, - { - "name": "slot", - "in": "path", - "description": "Name of the deployment slot. If a slot is not specified, the API will delete the binding for the production slot.", - "required": true, - "type": "string" - }, - { - "name": "hostName", - "in": "path", - "description": "Hostname in the hostname binding.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Successfully deleted hostname binding." - }, - "204": { - "description": "Hostname binding does not exist." - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/hybridConnectionNamespaces/{namespaceName}/relays/{relayName}": { - "get": { - "tags": [ - "WebApps" - ], - "summary": "Retrieves a specific Service Bus Hybrid Connection used by this Web App.", - "description": "Description for Retrieves a specific Service Bus Hybrid Connection used by this Web App.", - "operationId": "WebApps_GetHybridConnectionSlot", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "The name of the web app.", - "required": true, - "type": "string" - }, - { - "name": "namespaceName", - "in": "path", - "description": "The namespace for this hybrid connection.", - "required": true, - "type": "string" - }, - { - "name": "relayName", - "in": "path", - "description": "The relay name for this hybrid connection.", - "required": true, - "type": "string" - }, - { - "name": "slot", - "in": "path", - "description": "The name of the slot for the web app.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/HybridConnection" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - }, - "put": { - "tags": [ - "WebApps" - ], - "summary": "Creates a new Hybrid Connection using a Service Bus relay.", - "description": "Description for Creates a new Hybrid Connection using a Service Bus relay.", - "operationId": "WebApps_CreateOrUpdateHybridConnectionSlot", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "The name of the web app.", - "required": true, - "type": "string" - }, - { - "name": "namespaceName", - "in": "path", - "description": "The namespace for this hybrid connection.", - "required": true, - "type": "string" - }, - { - "name": "relayName", - "in": "path", - "description": "The relay name for this hybrid connection.", - "required": true, - "type": "string" - }, - { - "name": "connectionEnvelope", - "in": "body", - "description": "The details of the hybrid connection.", - "required": true, - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/HybridConnection" - } - }, - { - "name": "slot", - "in": "path", - "description": "The name of the slot for the web app.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/HybridConnection" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - }, - "delete": { - "tags": [ - "WebApps" - ], - "summary": "Removes a Hybrid Connection from this site.", - "description": "Description for Removes a Hybrid Connection from this site.", - "operationId": "WebApps_DeleteHybridConnectionSlot", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "The name of the web app.", - "required": true, - "type": "string" - }, - { - "name": "namespaceName", - "in": "path", - "description": "The namespace for this hybrid connection.", - "required": true, - "type": "string" - }, - { - "name": "relayName", - "in": "path", - "description": "The relay name for this hybrid connection.", - "required": true, - "type": "string" - }, - { - "name": "slot", - "in": "path", - "description": "The name of the slot for the web app.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Successfully deleted hybrid connection." - }, - "404": { - "description": "Hybrid connection does not exist.", - "x-ms-error-response": true - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - }, - "patch": { - "tags": [ - "WebApps" - ], - "summary": "Creates a new Hybrid Connection using a Service Bus relay.", - "description": "Description for Creates a new Hybrid Connection using a Service Bus relay.", - "operationId": "WebApps_UpdateHybridConnectionSlot", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "The name of the web app.", - "required": true, - "type": "string" - }, - { - "name": "namespaceName", - "in": "path", - "description": "The namespace for this hybrid connection.", - "required": true, - "type": "string" - }, - { - "name": "relayName", - "in": "path", - "description": "The relay name for this hybrid connection.", - "required": true, - "type": "string" - }, - { - "name": "connectionEnvelope", - "in": "body", - "description": "The details of the hybrid connection.", - "required": true, - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/HybridConnection" - } - }, - { - "name": "slot", - "in": "path", - "description": "The name of the slot for the web app.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/HybridConnection" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/hybridConnectionRelays": { - "get": { - "tags": [ - "WebApps" - ], - "summary": "Retrieves all Service Bus Hybrid Connections used by this Web App.", - "description": "Description for Retrieves all Service Bus Hybrid Connections used by this Web App.", - "operationId": "WebApps_ListHybridConnectionsSlot", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "The name of the web app.", - "required": true, - "type": "string" - }, - { - "name": "slot", - "in": "path", - "description": "The name of the slot for the web app.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/HybridConnection" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/hybridconnection": { - "get": { - "tags": [ - "WebApps" - ], - "summary": "Gets hybrid connections configured for an app (or deployment slot, if specified).", - "description": "Description for Gets hybrid connections configured for an app (or deployment slot, if specified).", - "operationId": "WebApps_ListRelayServiceConnectionsSlot", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the app.", - "required": true, - "type": "string" - }, - { - "name": "slot", - "in": "path", - "description": "Name of the deployment slot. If a slot is not specified, the API will get hybrid connections for the production slot.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/RelayServiceConnectionEntity" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/hybridconnection/{entityName}": { - "get": { - "tags": [ - "WebApps" - ], - "summary": "Gets a hybrid connection configuration by its name.", - "description": "Description for Gets a hybrid connection configuration by its name.", - "operationId": "WebApps_GetRelayServiceConnectionSlot", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the app.", - "required": true, - "type": "string" - }, - { - "name": "entityName", - "in": "path", - "description": "Name of the hybrid connection.", - "required": true, - "type": "string" - }, - { - "name": "slot", - "in": "path", - "description": "Name of the deployment slot. If a slot is not specified, the API will get a hybrid connection for the production slot.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/RelayServiceConnectionEntity" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - }, - "put": { - "tags": [ - "WebApps" - ], - "summary": "Creates a new hybrid connection configuration (PUT), or updates an existing one (PATCH).", - "description": "Description for Creates a new hybrid connection configuration (PUT), or updates an existing one (PATCH).", - "operationId": "WebApps_CreateOrUpdateRelayServiceConnectionSlot", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the app.", - "required": true, - "type": "string" - }, - { - "name": "entityName", - "in": "path", - "description": "Name of the hybrid connection configuration.", - "required": true, - "type": "string" - }, - { - "name": "connectionEnvelope", - "in": "body", - "description": "Details of the hybrid connection configuration.", - "required": true, - "schema": { - "$ref": "#/definitions/RelayServiceConnectionEntity" - } - }, - { - "name": "slot", - "in": "path", - "description": "Name of the deployment slot. If a slot is not specified, the API will create or update a hybrid connection for the production slot.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/RelayServiceConnectionEntity" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - }, - "delete": { - "tags": [ - "WebApps" - ], - "summary": "Deletes a relay service connection by its name.", - "description": "Description for Deletes a relay service connection by its name.", - "operationId": "WebApps_DeleteRelayServiceConnectionSlot", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the app.", - "required": true, - "type": "string" - }, - { - "name": "entityName", - "in": "path", - "description": "Name of the hybrid connection configuration.", - "required": true, - "type": "string" - }, - { - "name": "slot", - "in": "path", - "description": "Name of the deployment slot. If a slot is not specified, the API will delete a hybrid connection for the production slot.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Successfully deleted relay service connection." - }, - "404": { - "description": "Relay service connection does not exist.", - "x-ms-error-response": true - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - }, - "patch": { - "tags": [ - "WebApps" - ], - "summary": "Creates a new hybrid connection configuration (PUT), or updates an existing one (PATCH).", - "description": "Description for Creates a new hybrid connection configuration (PUT), or updates an existing one (PATCH).", - "operationId": "WebApps_UpdateRelayServiceConnectionSlot", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the app.", - "required": true, - "type": "string" - }, - { - "name": "entityName", - "in": "path", - "description": "Name of the hybrid connection configuration.", - "required": true, - "type": "string" - }, - { - "name": "connectionEnvelope", - "in": "body", - "description": "Details of the hybrid connection configuration.", - "required": true, - "schema": { - "$ref": "#/definitions/RelayServiceConnectionEntity" - } - }, - { - "name": "slot", - "in": "path", - "description": "Name of the deployment slot. If a slot is not specified, the API will create or update a hybrid connection for the production slot.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/RelayServiceConnectionEntity" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/instances": { - "get": { - "tags": [ - "WebApps" - ], - "summary": "Gets all scale-out instances of an app.", - "description": "Description for Gets all scale-out instances of an app.", - "operationId": "WebApps_ListInstanceIdentifiersSlot", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the app.", - "required": true, - "type": "string" - }, - { - "name": "slot", - "in": "path", - "description": "Name of the deployment slot. If a slot is not specified, the API gets the production slot instances.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/WebAppInstanceStatusCollection" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/instances/{instanceId}": { - "get": { - "tags": [ - "WebApps" - ], - "summary": "Gets all scale-out instances of an app.", - "description": "Description for Gets all scale-out instances of an app.", - "operationId": "WebApps_GetInstanceInfoSlot", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the app.", - "required": true, - "type": "string" - }, - { - "name": "instanceId", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "slot", - "in": "path", - "description": "Name of the deployment slot. If a slot is not specified, the API gets the production slot instances.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/WebSiteInstanceStatus" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "Get site instance info": { - "$ref": "./examples/GetSiteInstanceInfo.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/instances/{instanceId}/extensions/MSDeploy": { - "get": { - "tags": [ - "WebApps" - ], - "summary": "Get the status of the last MSDeploy operation.", - "description": "Description for Get the status of the last MSDeploy operation.", - "operationId": "WebApps_GetInstanceMsDeployStatusSlot", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of web app.", - "required": true, - "type": "string" - }, - { - "name": "slot", - "in": "path", - "description": "Name of web app slot. If not specified then will default to production slot.", - "required": true, - "type": "string" - }, - { - "name": "instanceId", - "in": "path", - "description": "ID of web app instance.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/MSDeployStatus" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - }, - "put": { - "tags": [ - "WebApps" - ], - "summary": "Invoke the MSDeploy web app extension.", - "description": "Description for Invoke the MSDeploy web app extension.", - "operationId": "WebApps_CreateInstanceMSDeployOperationSlot", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of web app.", - "required": true, - "type": "string" - }, - { - "name": "slot", - "in": "path", - "description": "Name of web app slot. If not specified then will default to production slot.", - "required": true, - "type": "string" - }, - { - "name": "instanceId", - "in": "path", - "description": "ID of web app instance.", - "required": true, - "type": "string" - }, - { - "name": "MSDeploy", - "in": "body", - "description": "Details of MSDeploy operation", - "required": true, - "schema": { - "$ref": "#/definitions/MSDeploy" - } - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "201": { - "description": "Deployment is scheduled.", - "schema": { - "$ref": "#/definitions/MSDeployStatus" - } - }, - "409": { - "description": "Another deployment is in progress.", - "x-ms-error-response": true - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/instances/{instanceId}/extensions/MSDeploy/log": { - "get": { - "tags": [ - "WebApps" - ], - "summary": "Get the MSDeploy Log for the last MSDeploy operation.", - "description": "Description for Get the MSDeploy Log for the last MSDeploy operation.", - "operationId": "WebApps_GetInstanceMSDeployLogSlot", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of web app.", - "required": true, - "type": "string" - }, - { - "name": "slot", - "in": "path", - "description": "Name of web app slot. If not specified then will default to production slot.", - "required": true, - "type": "string" - }, - { - "name": "instanceId", - "in": "path", - "description": "ID of web app instance.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "MSDeploy log returned.", - "schema": { - "$ref": "#/definitions/MSDeployLog" - } - }, - "404": { - "description": "MSDeploy log not found.", - "x-ms-error-response": true - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/instances/{instanceId}/processes": { - "get": { - "tags": [ - "WebApps" - ], - "summary": "Get list of processes for a web site, or a deployment slot, or for a specific scaled-out instance in a web site.", - "description": "Description for Get list of processes for a web site, or a deployment slot, or for a specific scaled-out instance in a web site.", - "operationId": "WebApps_ListInstanceProcessesSlot", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Site name.", - "required": true, - "type": "string" - }, - { - "name": "slot", - "in": "path", - "description": "Name of the deployment slot. If a slot is not specified, the API returns deployments for the production slot.", - "required": true, - "type": "string" - }, - { - "name": "instanceId", - "in": "path", - "description": "ID of a specific scaled-out instance. This is the value of the name property in the JSON response from \"GET api/sites/{siteName}/instances\".", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Process terminated.", - "schema": { - "$ref": "#/definitions/ProcessInfoCollection" - } - }, - "404": { - "description": "Process with the specified ID is not running.", - "x-ms-error-response": true - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/instances/{instanceId}/processes/{processId}": { - "get": { - "tags": [ - "WebApps" - ], - "summary": "Get process information by its ID for a specific scaled-out instance in a web site.", - "description": "Description for Get process information by its ID for a specific scaled-out instance in a web site.", - "operationId": "WebApps_GetInstanceProcessSlot", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Site name.", - "required": true, - "type": "string" - }, - { - "name": "processId", - "in": "path", - "description": "PID.", - "required": true, - "type": "string" - }, - { - "name": "slot", - "in": "path", - "description": "Name of the deployment slot. If a slot is not specified, the API returns deployments for the production slot.", - "required": true, - "type": "string" - }, - { - "name": "instanceId", - "in": "path", - "description": "ID of a specific scaled-out instance. This is the value of the name property in the JSON response from \"GET api/sites/{siteName}/instances\".", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Process information returned.", - "schema": { - "$ref": "#/definitions/ProcessInfo" - } - }, - "404": { - "description": "Process with the specified ID is not running.", - "x-ms-error-response": true - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - }, - "delete": { - "tags": [ - "WebApps" - ], - "summary": "Terminate a process by its ID for a web site, or a deployment slot, or specific scaled-out instance in a web site.", - "description": "Description for Terminate a process by its ID for a web site, or a deployment slot, or specific scaled-out instance in a web site.", - "operationId": "WebApps_DeleteInstanceProcessSlot", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Site name.", - "required": true, - "type": "string" - }, - { - "name": "processId", - "in": "path", - "description": "PID.", - "required": true, - "type": "string" - }, - { - "name": "slot", - "in": "path", - "description": "Name of the deployment slot. If a slot is not specified, the API returns deployments for the production slot.", - "required": true, - "type": "string" - }, - { - "name": "instanceId", - "in": "path", - "description": "ID of a specific scaled-out instance. This is the value of the name property in the JSON response from \"GET api/sites/{siteName}/instances\".", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "204": { - "description": "Process terminated." - }, - "404": { - "description": "Process with the specified ID is not running.", - "x-ms-error-response": true - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/instances/{instanceId}/processes/{processId}/dump": { - "get": { - "tags": [ - "WebApps" - ], - "summary": "Get a memory dump of a process by its ID for a specific scaled-out instance in a web site.", - "description": "Description for Get a memory dump of a process by its ID for a specific scaled-out instance in a web site.", - "operationId": "WebApps_GetInstanceProcessDumpSlot", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Site name.", - "required": true, - "type": "string" - }, - { - "name": "processId", - "in": "path", - "description": "PID.", - "required": true, - "type": "string" - }, - { - "name": "slot", - "in": "path", - "description": "Name of the deployment slot. If a slot is not specified, the API returns deployments for the production slot.", - "required": true, - "type": "string" - }, - { - "name": "instanceId", - "in": "path", - "description": "ID of a specific scaled-out instance. This is the value of the name property in the JSON response from \"GET api/sites/{siteName}/instances\".", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "file" - } - }, - "404": { - "description": "Process with the specified ID is not running.", - "x-ms-error-response": true - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/instances/{instanceId}/processes/{processId}/modules": { - "get": { - "tags": [ - "WebApps" - ], - "summary": "List module information for a process by its ID for a specific scaled-out instance in a web site.", - "description": "Description for List module information for a process by its ID for a specific scaled-out instance in a web site.", - "operationId": "WebApps_ListInstanceProcessModulesSlot", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Site name.", - "required": true, - "type": "string" - }, - { - "name": "processId", - "in": "path", - "description": "PID.", - "required": true, - "type": "string" - }, - { - "name": "slot", - "in": "path", - "description": "Name of the deployment slot. If a slot is not specified, the API returns deployments for the production slot.", - "required": true, - "type": "string" - }, - { - "name": "instanceId", - "in": "path", - "description": "ID of a specific scaled-out instance. This is the value of the name property in the JSON response from \"GET api/sites/{siteName}/instances\".", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Module information returned.", - "schema": { - "$ref": "#/definitions/ProcessModuleInfoCollection" - } - }, - "404": { - "description": "Process with the specified ID is not running.", - "x-ms-error-response": true - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/instances/{instanceId}/processes/{processId}/modules/{baseAddress}": { - "get": { - "tags": [ - "WebApps" - ], - "summary": "Get process information by its ID for a specific scaled-out instance in a web site.", - "description": "Description for Get process information by its ID for a specific scaled-out instance in a web site.", - "operationId": "WebApps_GetInstanceProcessModuleSlot", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Site name.", - "required": true, - "type": "string" - }, - { - "name": "processId", - "in": "path", - "description": "PID.", - "required": true, - "type": "string" - }, - { - "name": "baseAddress", - "in": "path", - "description": "Module base address.", - "required": true, - "type": "string" - }, - { - "name": "slot", - "in": "path", - "description": "Name of the deployment slot. If a slot is not specified, the API returns deployments for the production slot.", - "required": true, - "type": "string" - }, - { - "name": "instanceId", - "in": "path", - "description": "ID of a specific scaled-out instance. This is the value of the name property in the JSON response from \"GET api/sites/{siteName}/instances\".", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Module information returned.", - "schema": { - "$ref": "#/definitions/ProcessModuleInfo" - } - }, - "404": { - "description": "Process with the specified ID is not running, or a module with the specified baseAddress was not found.", - "x-ms-error-response": true - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/instances/{instanceId}/processes/{processId}/threads": { - "get": { - "tags": [ - "WebApps" - ], - "summary": "List the threads in a process by its ID for a specific scaled-out instance in a web site.", - "description": "Description for List the threads in a process by its ID for a specific scaled-out instance in a web site.", - "operationId": "WebApps_ListInstanceProcessThreadsSlot", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Site name.", - "required": true, - "type": "string" - }, - { - "name": "processId", - "in": "path", - "description": "PID.", - "required": true, - "type": "string" - }, - { - "name": "slot", - "in": "path", - "description": "Name of the deployment slot. If a slot is not specified, the API returns deployments for the production slot.", - "required": true, - "type": "string" - }, - { - "name": "instanceId", - "in": "path", - "description": "ID of a specific scaled-out instance. This is the value of the name property in the JSON response from \"GET api/sites/{siteName}/instances\".", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Thread information returned.", - "schema": { - "$ref": "#/definitions/ProcessThreadInfoCollection" - } - }, - "404": { - "description": "Process with the specified ID is not running.", - "x-ms-error-response": true - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/iscloneable": { - "post": { - "tags": [ - "WebApps" - ], - "summary": "Shows whether an app can be cloned to another resource group or subscription.", - "description": "Description for Shows whether an app can be cloned to another resource group or subscription.", - "operationId": "WebApps_IsCloneableSlot", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the app.", - "required": true, - "type": "string" - }, - { - "name": "slot", - "in": "path", - "description": "Name of the deployment slot. By default, this API returns information on the production slot.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK.", - "schema": { - "$ref": "#/definitions/SiteCloneability" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/listbackups": { - "post": { - "tags": [ - "WebApps" - ], - "summary": "Gets existing backups of an app.", - "description": "Description for Gets existing backups of an app.", - "operationId": "WebApps_ListSiteBackupsSlot", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the app.", - "required": true, - "type": "string" - }, - { - "name": "slot", - "in": "path", - "description": "Name of the deployment slot. If a slot is not specified, the API will get backups of the production slot.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/BackupItemCollection" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "List backups": { - "$ref": "./examples/ListSlotBackups.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/listsyncfunctiontriggerstatus": { - "post": { - "tags": [ - "WebApps" - ], - "summary": "This is to allow calling via powershell and ARM template.", - "description": "Description for This is to allow calling via powershell and ARM template.", - "operationId": "WebApps_ListSyncFunctionTriggersSlot", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the app.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/slotNameParameter" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/FunctionSecrets" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/migratemysql/status": { - "get": { - "tags": [ - "WebApps" - ], - "summary": "Returns the status of MySql in app migration, if one is active, and whether or not MySql in app is enabled", - "description": "Description for Returns the status of MySql in app migration, if one is active, and whether or not MySql in app is enabled", - "operationId": "WebApps_GetMigrateMySqlStatusSlot", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of web app.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/slotNameParameter" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/MigrateMySqlStatus" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/networkConfig/virtualNetwork": { - "get": { - "tags": [ - "WebApps" - ], - "summary": "Gets a Swift Virtual Network connection.", - "description": "Description for Gets a Swift Virtual Network connection.", - "operationId": "WebApps_GetSwiftVirtualNetworkConnectionSlot", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the app.", - "required": true, - "type": "string" - }, - { - "name": "slot", - "in": "path", - "description": "Name of the deployment slot. If a slot is not specified, the API will get a gateway for the production slot's Virtual Network.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK.", - "schema": { - "$ref": "#/definitions/SwiftVirtualNetwork" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - }, - "put": { - "tags": [ - "WebApps" - ], - "summary": "Integrates this Web App with a Virtual Network. This requires that 1) \"swiftSupported\" is true when doing a GET against this resource, and 2) that the target Subnet has already been delegated, and is not\r\nin use by another App Service Plan other than the one this App is in.", - "description": "Description for Integrates this Web App with a Virtual Network. This requires that 1) \"swiftSupported\" is true when doing a GET against this resource, and 2) that the target Subnet has already been delegated, and is not\nin use by another App Service Plan other than the one this App is in.", - "operationId": "WebApps_CreateOrUpdateSwiftVirtualNetworkConnectionWithCheckSlot", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the app.", - "required": true, - "type": "string" - }, - { - "name": "connectionEnvelope", - "in": "body", - "description": "Properties of the Virtual Network connection. See example.", - "required": true, - "schema": { - "$ref": "#/definitions/SwiftVirtualNetwork" - } - }, - { - "name": "slot", - "in": "path", - "description": "Name of the deployment slot. If a slot is not specified, the API will add or update connections for the production slot.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/SwiftVirtualNetwork" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - }, - "delete": { - "tags": [ - "WebApps" - ], - "summary": "Deletes a Swift Virtual Network connection from an app (or deployment slot).", - "description": "Description for Deletes a Swift Virtual Network connection from an app (or deployment slot).", - "operationId": "WebApps_DeleteSwiftVirtualNetworkSlot", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the app.", - "required": true, - "type": "string" - }, - { - "name": "slot", - "in": "path", - "description": "Name of the deployment slot. If a slot is not specified, the API will delete the connection for the production slot.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Successfully deleted virtual network." - }, - "404": { - "description": "Virtual network does not exist.", - "x-ms-error-response": true - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - }, - "patch": { - "tags": [ - "WebApps" - ], - "summary": "Integrates this Web App with a Virtual Network. This requires that 1) \"swiftSupported\" is true when doing a GET against this resource, and 2) that the target Subnet has already been delegated, and is not\r\nin use by another App Service Plan other than the one this App is in.", - "description": "Description for Integrates this Web App with a Virtual Network. This requires that 1) \"swiftSupported\" is true when doing a GET against this resource, and 2) that the target Subnet has already been delegated, and is not\nin use by another App Service Plan other than the one this App is in.", - "operationId": "WebApps_UpdateSwiftVirtualNetworkConnectionWithCheckSlot", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the app.", - "required": true, - "type": "string" - }, - { - "name": "connectionEnvelope", - "in": "body", - "description": "Properties of the Virtual Network connection. See example.", - "required": true, - "schema": { - "$ref": "#/definitions/SwiftVirtualNetwork" - } - }, - { - "name": "slot", - "in": "path", - "description": "Name of the deployment slot. If a slot is not specified, the API will add or update connections for the production slot.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/SwiftVirtualNetwork" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/networkFeatures/{view}": { - "get": { - "tags": [ - "WebApps" - ], - "summary": "Gets all network features used by the app (or deployment slot, if specified).", - "description": "Description for Gets all network features used by the app (or deployment slot, if specified).", - "operationId": "WebApps_ListNetworkFeaturesSlot", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the app.", - "required": true, - "type": "string" - }, - { - "name": "view", - "in": "path", - "description": "The type of view. Only \"summary\" is supported at this time.", - "required": true, - "type": "string" - }, - { - "name": "slot", - "in": "path", - "description": "Name of the deployment slot. If a slot is not specified, the API will get network features for the production slot.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK.", - "schema": { - "$ref": "#/definitions/NetworkFeatures" - } - }, - "404": { - "description": "The requested view does not exist.", - "x-ms-error-response": true - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/networkTrace/operationresults/{operationId}": { - "get": { - "tags": [ - "WebApps" - ], - "summary": "Gets a named operation for a network trace capturing (or deployment slot, if specified).", - "description": "Description for Gets a named operation for a network trace capturing (or deployment slot, if specified).", - "operationId": "WebApps_GetNetworkTraceOperationSlot", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the app.", - "required": true, - "type": "string" - }, - { - "name": "operationId", - "in": "path", - "description": "GUID of the operation.", - "required": true, - "type": "string" - }, - { - "name": "slot", - "in": "path", - "description": "Name of the deployment slot. If a slot is not specified, the API will get an operation for the production slot.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "array", - "items": { - "$ref": "#/definitions/NetworkTrace" - } - } - }, - "202": { - "description": "Operation is in progress.", - "schema": { - "type": "array", - "items": { - "$ref": "#/definitions/NetworkTrace" - } - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "Get the current status of a network trace operation for a site": { - "$ref": "./examples/GetWebSiteNetworkTraceOperation.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/networkTrace/start": { - "post": { - "tags": [ - "WebApps" - ], - "summary": "Start capturing network packets for the site (To be deprecated).", - "description": "Description for Start capturing network packets for the site (To be deprecated).", - "operationId": "WebApps_StartWebSiteNetworkTraceSlot", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "The name of the web app.", - "required": true, - "type": "string" - }, - { - "name": "durationInSeconds", - "in": "query", - "description": "The duration to keep capturing in seconds.", - "type": "integer", - "format": "int32" - }, - { - "name": "slot", - "in": "path", - "description": "The name of the slot for this web app.", - "required": true, - "type": "string" - }, - { - "name": "maxFrameLength", - "in": "query", - "description": "The maximum frame length in bytes (Optional).", - "type": "integer", - "format": "int32" - }, - { - "name": "sasUrl", - "in": "query", - "description": "The Blob URL to store capture file.", - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "string" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/networkTrace/startOperation": { - "post": { - "tags": [ - "WebApps" - ], - "summary": "Start capturing network packets for the site.", - "description": "Description for Start capturing network packets for the site.", - "operationId": "WebApps_StartWebSiteNetworkTraceOperationSlot", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "The name of the web app.", - "required": true, - "type": "string" - }, - { - "name": "durationInSeconds", - "in": "query", - "description": "The duration to keep capturing in seconds.", - "type": "integer", - "format": "int32" - }, - { - "name": "slot", - "in": "path", - "description": "The name of the slot for this web app.", - "required": true, - "type": "string" - }, - { - "name": "maxFrameLength", - "in": "query", - "description": "The maximum frame length in bytes (Optional).", - "type": "integer", - "format": "int32" - }, - { - "name": "sasUrl", - "in": "query", - "description": "The Blob URL to store capture file.", - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "array", - "items": { - "$ref": "#/definitions/NetworkTrace" - } - } - }, - "202": { - "description": "Operation is in progress.", - "schema": { - "type": "array", - "items": { - "$ref": "#/definitions/NetworkTrace" - } - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "Start a new network trace operation for a site": { - "$ref": "./examples/StartWebSiteNetworkTraceOperation.json" - } - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/networkTrace/stop": { - "post": { - "tags": [ - "WebApps" - ], - "summary": "Stop ongoing capturing network packets for the site.", - "description": "Description for Stop ongoing capturing network packets for the site.", - "operationId": "WebApps_StopWebSiteNetworkTraceSlot", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "The name of the web app.", - "required": true, - "type": "string" - }, - { - "name": "slot", - "in": "path", - "description": "The name of the slot for this web app.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Stopped." - }, - "204": { - "description": "Stopped." - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "Stop a currently running network trace operation for a site": { - "$ref": "./examples/StopWebSiteNetworkTrace.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/networkTrace/{operationId}": { - "get": { - "tags": [ - "WebApps" - ], - "summary": "Gets a named operation for a network trace capturing (or deployment slot, if specified).", - "description": "Description for Gets a named operation for a network trace capturing (or deployment slot, if specified).", - "operationId": "WebApps_GetNetworkTracesSlot", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the app.", - "required": true, - "type": "string" - }, - { - "name": "operationId", - "in": "path", - "description": "GUID of the operation.", - "required": true, - "type": "string" - }, - { - "name": "slot", - "in": "path", - "description": "Name of the deployment slot. If a slot is not specified, the API will get an operation for the production slot.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "array", - "items": { - "$ref": "#/definitions/NetworkTrace" - } - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "Get NetworkTraces for a site": { - "$ref": "./examples/GetWebSiteNetworkTraces.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/networkTraces/current/operationresults/{operationId}": { - "get": { - "tags": [ - "WebApps" - ], - "summary": "Gets a named operation for a network trace capturing (or deployment slot, if specified).", - "description": "Description for Gets a named operation for a network trace capturing (or deployment slot, if specified).", - "operationId": "WebApps_GetNetworkTraceOperationSlotV2", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the app.", - "required": true, - "type": "string" - }, - { - "name": "operationId", - "in": "path", - "description": "GUID of the operation.", - "required": true, - "type": "string" - }, - { - "name": "slot", - "in": "path", - "description": "Name of the deployment slot. If a slot is not specified, the API will get an operation for the production slot.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "array", - "items": { - "$ref": "#/definitions/NetworkTrace" - } - } - }, - "202": { - "description": "Operation is in progress.", - "schema": { - "type": "array", - "items": { - "$ref": "#/definitions/NetworkTrace" - } - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "Get the current status of a network trace operation for a site": { - "$ref": "./examples/GetWebSiteNetworkTraceOperation.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/networkTraces/{operationId}": { - "get": { - "tags": [ - "WebApps" - ], - "summary": "Gets a named operation for a network trace capturing (or deployment slot, if specified).", - "description": "Description for Gets a named operation for a network trace capturing (or deployment slot, if specified).", - "operationId": "WebApps_GetNetworkTracesSlotV2", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the app.", - "required": true, - "type": "string" - }, - { - "name": "operationId", - "in": "path", - "description": "GUID of the operation.", - "required": true, - "type": "string" - }, - { - "name": "slot", - "in": "path", - "description": "Name of the deployment slot. If a slot is not specified, the API will get an operation for the production slot.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "array", - "items": { - "$ref": "#/definitions/NetworkTrace" - } - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "Get NetworkTraces for a site": { - "$ref": "./examples/GetWebSiteNetworkTraces.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/newpassword": { - "post": { - "tags": [ - "WebApps" - ], - "summary": "Generates a new publishing password for an app (or deployment slot, if specified).", - "description": "Description for Generates a new publishing password for an app (or deployment slot, if specified).", - "operationId": "WebApps_GenerateNewSitePublishingPasswordSlot", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the app.", - "required": true, - "type": "string" - }, - { - "name": "slot", - "in": "path", - "description": "Name of the deployment slot. If a slot is not specified, the API generate a new publishing password for the production slot.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Successfully generate new password." - }, - "204": { - "description": "Successfully generate new password." - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/perfcounters": { - "get": { - "tags": [ - "WebApps" - ], - "summary": "Gets perfmon counters for web app.", - "description": "Description for Gets perfmon counters for web app.", - "operationId": "WebApps_ListPerfMonCountersSlot", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of web app.", - "required": true, - "type": "string" - }, - { - "name": "slot", - "in": "path", - "description": "Name of web app slot. If not specified then will default to production slot.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - }, - { - "name": "$filter", - "in": "query", - "description": "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]'.", - "type": "string", - "x-ms-skip-url-encoding": true - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/PerfMonCounterCollection" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/phplogging": { - "get": { - "tags": [ - "WebApps" - ], - "summary": "Gets web app's event logs.", - "description": "Description for Gets web app's event logs.", - "operationId": "WebApps_GetSitePhpErrorLogFlagSlot", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of web app.", - "required": true, - "type": "string" - }, - { - "name": "slot", - "in": "path", - "description": "Name of web app slot. If not specified then will default to production slot.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/SitePhpErrorLogFlag" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/premieraddons": { - "get": { - "tags": [ - "WebApps" - ], - "summary": "Gets the premier add-ons of an app.", - "description": "Description for Gets the premier add-ons of an app.", - "operationId": "WebApps_ListPremierAddOnsSlot", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the app.", - "required": true, - "type": "string" - }, - { - "name": "slot", - "in": "path", - "description": "Name of the deployment slot. If a slot is not specified, the API will get the premier add-ons for the production slot.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/PremierAddOn" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/premieraddons/{premierAddOnName}": { - "get": { - "tags": [ - "WebApps" - ], - "summary": "Gets a named add-on of an app.", - "description": "Description for Gets a named add-on of an app.", - "operationId": "WebApps_GetPremierAddOnSlot", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the app.", - "required": true, - "type": "string" - }, - { - "name": "premierAddOnName", - "in": "path", - "description": "Add-on name.", - "required": true, - "type": "string" - }, - { - "name": "slot", - "in": "path", - "description": "Name of the deployment slot. If a slot is not specified, the API will get the named add-on for the production slot.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/PremierAddOn" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - }, - "put": { - "tags": [ - "WebApps" - ], - "summary": "Updates a named add-on of an app.", - "description": "Description for Updates a named add-on of an app.", - "operationId": "WebApps_AddPremierAddOnSlot", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the app.", - "required": true, - "type": "string" - }, - { - "name": "premierAddOnName", - "in": "path", - "description": "Add-on name.", - "required": true, - "type": "string" - }, - { - "name": "premierAddOn", - "in": "body", - "description": "A JSON representation of the edited premier add-on.", - "required": true, - "schema": { - "$ref": "#/definitions/PremierAddOn" - } - }, - { - "name": "slot", - "in": "path", - "description": "Name of the deployment slot. If a slot is not specified, the API will update the named add-on for the production slot.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/PremierAddOn" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - }, - "delete": { - "tags": [ - "WebApps" - ], - "summary": "Delete a premier add-on from an app.", - "description": "Description for Delete a premier add-on from an app.", - "operationId": "WebApps_DeletePremierAddOnSlot", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the app.", - "required": true, - "type": "string" - }, - { - "name": "premierAddOnName", - "in": "path", - "description": "Add-on name.", - "required": true, - "type": "string" - }, - { - "name": "slot", - "in": "path", - "description": "Name of the deployment slot. If a slot is not specified, the API will delete the named add-on for the production slot.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Successfully deleted premier add-on." - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - }, - "patch": { - "tags": [ - "WebApps" - ], - "summary": "Updates a named add-on of an app.", - "description": "Description for Updates a named add-on of an app.", - "operationId": "WebApps_UpdatePremierAddOnSlot", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the app.", - "required": true, - "type": "string" - }, - { - "name": "premierAddOnName", - "in": "path", - "description": "Add-on name.", - "required": true, - "type": "string" - }, - { - "name": "premierAddOn", - "in": "body", - "description": "A JSON representation of the edited premier add-on.", - "required": true, - "schema": { - "$ref": "#/definitions/PremierAddOnPatchResource" - } - }, - { - "name": "slot", - "in": "path", - "description": "Name of the deployment slot. If a slot is not specified, the API will update the named add-on for the production slot.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/PremierAddOn" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/privateAccess/virtualNetworks": { - "get": { - "tags": [ - "WebApps" - ], - "summary": "Gets data around private site access enablement and authorized Virtual Networks that can access the site.", - "description": "Description for Gets data around private site access enablement and authorized Virtual Networks that can access the site.", - "operationId": "WebApps_GetPrivateAccessSlot", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "The name of the web app.", - "required": true, - "type": "string" - }, - { - "name": "slot", - "in": "path", - "description": "The name of the slot for the web app.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/PrivateAccess" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - }, - "put": { - "tags": [ - "WebApps" - ], - "summary": "Sets data around private site access enablement and authorized Virtual Networks that can access the site.", - "description": "Description for Sets data around private site access enablement and authorized Virtual Networks that can access the site.", - "operationId": "WebApps_PutPrivateAccessVnetSlot", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "The name of the web app.", - "required": true, - "type": "string" - }, - { - "name": "access", - "in": "body", - "description": "The information for the private access", - "required": true, - "schema": { - "$ref": "#/definitions/PrivateAccess" - } - }, - { - "name": "slot", - "in": "path", - "description": "The name of the slot for the web app.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/PrivateAccess" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/privateEndpointConnections": { - "get": { - "tags": [ - "WebApps" - ], - "summary": "Gets the list of private endpoint connections associated with a site", - "description": "Description for Gets the list of private endpoint connections associated with a site", - "operationId": "WebApps_GetPrivateEndpointConnectionListSlot", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the site.", - "required": true, - "type": "string" - }, - { - "name": "slot", - "in": "path", - "description": "Name of the site deployment slot.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/PrivateEndpointConnectionCollection" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/privateEndpointConnections/{privateEndpointConnectionName}": { - "get": { - "tags": [ - "WebApps" - ], - "summary": "Gets a private endpoint connection", - "description": "Description for Gets a private endpoint connection", - "operationId": "WebApps_GetPrivateEndpointConnectionSlot", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the site.", - "required": true, - "type": "string" - }, - { - "name": "privateEndpointConnectionName", - "in": "path", - "description": "Name of the private endpoint connection.", - "required": true, - "type": "string" - }, - { - "name": "slot", - "in": "path", - "description": "Name of the site deployment slot.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/RemotePrivateEndpointConnectionARMResource" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "Get a private endpoint connection for a site.": { - "$ref": "./examples/GetSitePrivateEndpointConnectionSlot.json" - } - } - }, - "put": { - "tags": [ - "WebApps" - ], - "summary": "Approves or rejects a private endpoint connection", - "description": "Description for Approves or rejects a private endpoint connection", - "operationId": "WebApps_ApproveOrRejectPrivateEndpointConnectionSlot", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the site.", - "required": true, - "type": "string" - }, - { - "name": "privateEndpointConnectionName", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "privateEndpointWrapper", - "in": "body", - "required": true, - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/RemotePrivateEndpointConnectionARMResource" - } - }, - { - "name": "slot", - "in": "path", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/RemotePrivateEndpointConnectionARMResource" - } - }, - "202": { - "description": "Asynchronous operation in progress.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/RemotePrivateEndpointConnectionARMResource" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "Approves or rejects a private endpoint connection for a site.": { - "$ref": "./examples/ApproveRejectSitePrivateEndpointConnectionSlot.json" - } - }, - "x-ms-long-running-operation": true - }, - "delete": { - "tags": [ - "WebApps" - ], - "summary": "Deletes a private endpoint connection", - "description": "Description for Deletes a private endpoint connection", - "operationId": "WebApps_DeletePrivateEndpointConnectionSlot", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the site.", - "required": true, - "type": "string" - }, - { - "name": "privateEndpointConnectionName", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "slot", - "in": "path", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK.", - "schema": { - "type": "object" - } - }, - "202": { - "description": "Asynchronous operation in progress.", - "schema": { - "type": "object" - } - }, - "204": { - "description": "No content.", - "schema": { - "type": "object" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "Delete a private endpoint connection for a site.": { - "$ref": "./examples/DeleteSitePrivateEndpointConnectionSlot.json" - } - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/privateLinkResources": { - "get": { - "tags": [ - "WebApps" - ], - "summary": "Gets the private link resources", - "description": "Description for Gets the private link resources", - "operationId": "WebApps_GetPrivateLinkResourcesSlot", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the site.", - "required": true, - "type": "string" - }, - { - "name": "slot", - "in": "path", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/PrivateLinkResourcesWrapper" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "Get private link resources of a site": { - "$ref": "./examples/GetSitePrivateLinkResourcesSlot.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/processes": { - "get": { - "tags": [ - "WebApps" - ], - "summary": "Get list of processes for a web site, or a deployment slot, or for a specific scaled-out instance in a web site.", - "description": "Description for Get list of processes for a web site, or a deployment slot, or for a specific scaled-out instance in a web site.", - "operationId": "WebApps_ListProcessesSlot", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Site name.", - "required": true, - "type": "string" - }, - { - "name": "slot", - "in": "path", - "description": "Name of the deployment slot. If a slot is not specified, the API returns deployments for the production slot.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Process terminated.", - "schema": { - "$ref": "#/definitions/ProcessInfoCollection" - } - }, - "404": { - "description": "Process with the specified ID is not running.", - "x-ms-error-response": true - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/processes/{processId}": { - "get": { - "tags": [ - "WebApps" - ], - "summary": "Get process information by its ID for a specific scaled-out instance in a web site.", - "description": "Description for Get process information by its ID for a specific scaled-out instance in a web site.", - "operationId": "WebApps_GetProcessSlot", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Site name.", - "required": true, - "type": "string" - }, - { - "name": "processId", - "in": "path", - "description": "PID.", - "required": true, - "type": "string" - }, - { - "name": "slot", - "in": "path", - "description": "Name of the deployment slot. If a slot is not specified, the API returns deployments for the production slot.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Process information returned.", - "schema": { - "$ref": "#/definitions/ProcessInfo" - } - }, - "404": { - "description": "Process with the specified ID is not running.", - "x-ms-error-response": true - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - }, - "delete": { - "tags": [ - "WebApps" - ], - "summary": "Terminate a process by its ID for a web site, or a deployment slot, or specific scaled-out instance in a web site.", - "description": "Description for Terminate a process by its ID for a web site, or a deployment slot, or specific scaled-out instance in a web site.", - "operationId": "WebApps_DeleteProcessSlot", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Site name.", - "required": true, - "type": "string" - }, - { - "name": "processId", - "in": "path", - "description": "PID.", - "required": true, - "type": "string" - }, - { - "name": "slot", - "in": "path", - "description": "Name of the deployment slot. If a slot is not specified, the API returns deployments for the production slot.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "204": { - "description": "Process terminated." - }, - "404": { - "description": "Process with the specified ID is not running.", - "x-ms-error-response": true - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/processes/{processId}/dump": { - "get": { - "tags": [ - "WebApps" - ], - "summary": "Get a memory dump of a process by its ID for a specific scaled-out instance in a web site.", - "description": "Description for Get a memory dump of a process by its ID for a specific scaled-out instance in a web site.", - "operationId": "WebApps_GetProcessDumpSlot", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Site name.", - "required": true, - "type": "string" - }, - { - "name": "processId", - "in": "path", - "description": "PID.", - "required": true, - "type": "string" - }, - { - "name": "slot", - "in": "path", - "description": "Name of the deployment slot. If a slot is not specified, the API returns deployments for the production slot.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "file" - } - }, - "404": { - "description": "Process with the specified ID is not running.", - "x-ms-error-response": true - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/processes/{processId}/modules": { - "get": { - "tags": [ - "WebApps" - ], - "summary": "List module information for a process by its ID for a specific scaled-out instance in a web site.", - "description": "Description for List module information for a process by its ID for a specific scaled-out instance in a web site.", - "operationId": "WebApps_ListProcessModulesSlot", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Site name.", - "required": true, - "type": "string" - }, - { - "name": "processId", - "in": "path", - "description": "PID.", - "required": true, - "type": "string" - }, - { - "name": "slot", - "in": "path", - "description": "Name of the deployment slot. If a slot is not specified, the API returns deployments for the production slot.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Module information returned.", - "schema": { - "$ref": "#/definitions/ProcessModuleInfoCollection" - } - }, - "404": { - "description": "Process with the specified ID is not running.", - "x-ms-error-response": true - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/processes/{processId}/modules/{baseAddress}": { - "get": { - "tags": [ - "WebApps" - ], - "summary": "Get process information by its ID for a specific scaled-out instance in a web site.", - "description": "Description for Get process information by its ID for a specific scaled-out instance in a web site.", - "operationId": "WebApps_GetProcessModuleSlot", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Site name.", - "required": true, - "type": "string" - }, - { - "name": "processId", - "in": "path", - "description": "PID.", - "required": true, - "type": "string" - }, - { - "name": "baseAddress", - "in": "path", - "description": "Module base address.", - "required": true, - "type": "string" - }, - { - "name": "slot", - "in": "path", - "description": "Name of the deployment slot. If a slot is not specified, the API returns deployments for the production slot.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Module information returned.", - "schema": { - "$ref": "#/definitions/ProcessModuleInfo" - } - }, - "404": { - "description": "Process with the specified ID is not running, or a module with the specified baseAddress was not found.", - "x-ms-error-response": true - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/processes/{processId}/threads": { - "get": { - "tags": [ - "WebApps" - ], - "summary": "List the threads in a process by its ID for a specific scaled-out instance in a web site.", - "description": "Description for List the threads in a process by its ID for a specific scaled-out instance in a web site.", - "operationId": "WebApps_ListProcessThreadsSlot", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Site name.", - "required": true, - "type": "string" - }, - { - "name": "processId", - "in": "path", - "description": "PID.", - "required": true, - "type": "string" - }, - { - "name": "slot", - "in": "path", - "description": "Name of the deployment slot. If a slot is not specified, the API returns deployments for the production slot.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Thread information returned.", - "schema": { - "$ref": "#/definitions/ProcessThreadInfoCollection" - } - }, - "404": { - "description": "Process with the specified ID is not running.", - "x-ms-error-response": true - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/publicCertificates": { - "get": { - "tags": [ - "WebApps" - ], - "summary": "Get public certificates for an app or a deployment slot.", - "description": "Description for Get public certificates for an app or a deployment slot.", - "operationId": "WebApps_ListPublicCertificatesSlot", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the app.", - "required": true, - "type": "string" - }, - { - "name": "slot", - "in": "path", - "description": "Name of the deployment slot. If a slot is not specified, the API gets hostname bindings for the production slot.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/PublicCertificateCollection" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/publicCertificates/{publicCertificateName}": { - "get": { - "tags": [ - "WebApps" - ], - "summary": "Get the named public certificate for an app (or deployment slot, if specified).", - "description": "Description for Get the named public certificate for an app (or deployment slot, if specified).", - "operationId": "WebApps_GetPublicCertificateSlot", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the app.", - "required": true, - "type": "string" - }, - { - "name": "slot", - "in": "path", - "description": "Name of the deployment slot. If a slot is not specified, the API the named binding for the production slot.", - "required": true, - "type": "string" - }, - { - "name": "publicCertificateName", - "in": "path", - "description": "Public certificate name.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/PublicCertificate" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - }, - "put": { - "tags": [ - "WebApps" - ], - "summary": "Creates a hostname binding for an app.", - "description": "Description for Creates a hostname binding for an app.", - "operationId": "WebApps_CreateOrUpdatePublicCertificateSlot", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the app.", - "required": true, - "type": "string" - }, - { - "name": "publicCertificateName", - "in": "path", - "description": "Public certificate name.", - "required": true, - "type": "string" - }, - { - "name": "publicCertificate", - "in": "body", - "description": "Public certificate details. This is the JSON representation of a PublicCertificate object.", - "required": true, - "schema": { - "$ref": "#/definitions/PublicCertificate" - } - }, - { - "name": "slot", - "in": "path", - "description": "Name of the deployment slot. If a slot is not specified, the API will create a binding for the production slot.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/PublicCertificate" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - }, - "delete": { - "tags": [ - "WebApps" - ], - "summary": "Deletes a hostname binding for an app.", - "description": "Description for Deletes a hostname binding for an app.", - "operationId": "WebApps_DeletePublicCertificateSlot", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the app.", - "required": true, - "type": "string" - }, - { - "name": "slot", - "in": "path", - "description": "Name of the deployment slot. If a slot is not specified, the API will delete the binding for the production slot.", - "required": true, - "type": "string" - }, - { - "name": "publicCertificateName", - "in": "path", - "description": "Public certificate name.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Successfully deleted hostname binding." - }, - "204": { - "description": "Hostname binding does not exist." - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/publishxml": { - "post": { - "tags": [ - "WebApps" - ], - "summary": "Gets the publishing profile for an app (or deployment slot, if specified).", - "description": "Description for Gets the publishing profile for an app (or deployment slot, if specified).", - "operationId": "WebApps_ListPublishingProfileXmlWithSecretsSlot", - "produces": [ - "application/xml" - ], - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the app.", - "required": true, - "type": "string" - }, - { - "name": "publishingProfileOptions", - "in": "body", - "description": "Specifies publishingProfileOptions for publishing profile. For example, use {\"format\": \"FileZilla3\"} to get a FileZilla publishing profile.", - "required": true, - "schema": { - "$ref": "#/definitions/CsmPublishingProfileOptions" - } - }, - { - "name": "slot", - "in": "path", - "description": "Name of the deployment slot. If a slot is not specified, the API will get the publishing profile for the production slot.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "file" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/resetSlotConfig": { - "post": { - "tags": [ - "WebApps" - ], - "summary": "Resets the configuration settings of the current slot if they were previously modified by calling the API with POST.", - "description": "Description for Resets the configuration settings of the current slot if they were previously modified by calling the API with POST.", - "operationId": "WebApps_ResetSlotConfigurationSlot", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the app.", - "required": true, - "type": "string" - }, - { - "name": "slot", - "in": "path", - "description": "Name of the deployment slot. If a slot is not specified, the API resets configuration settings for the production slot.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK." - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/restart": { - "post": { - "tags": [ - "WebApps" - ], - "summary": "Restarts an app (or deployment slot, if specified).", - "description": "Description for Restarts an app (or deployment slot, if specified).", - "operationId": "WebApps_RestartSlot", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the app.", - "required": true, - "type": "string" - }, - { - "name": "slot", - "in": "path", - "description": "Name of the deployment slot. If a slot is not specified, the API will restart the production slot.", - "required": true, - "type": "string" - }, - { - "name": "softRestart", - "in": "query", - "description": "Specify true to apply the configuration settings and restarts the app only if necessary. By default, the API always restarts and reprovisions the app.", - "type": "boolean" - }, - { - "name": "synchronous", - "in": "query", - "description": "Specify true to block until the app is restarted. By default, it is set to false, and the API responds immediately (asynchronous).", - "type": "boolean" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Successfully restarted app." - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/restoreFromBackupBlob": { - "post": { - "tags": [ - "WebApps" - ], - "summary": "Restores an app from a backup blob in Azure Storage.", - "description": "Description for Restores an app from a backup blob in Azure Storage.", - "operationId": "WebApps_RestoreFromBackupBlobSlot", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the app.", - "required": true, - "type": "string" - }, - { - "name": "request", - "in": "body", - "description": "Information on restore request .", - "required": true, - "schema": { - "$ref": "#/definitions/RestoreRequest" - } - }, - { - "name": "slot", - "in": "path", - "description": "Name of the deployment slot. If a slot is not specified, the API will restore a backup of the production slot.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "202": { - "description": "Restore operation started." - }, - "200": { - "description": "Restore operation started." - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/restoreFromDeletedApp": { - "post": { - "tags": [ - "WebApps" - ], - "summary": "Restores a deleted web app to this web app.", - "description": "Description for Restores a deleted web app to this web app.", - "operationId": "WebApps_RestoreFromDeletedAppSlot", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of web app.", - "required": true, - "type": "string" - }, - { - "name": "restoreRequest", - "in": "body", - "description": "Deleted web app restore information.", - "required": true, - "schema": { - "$ref": "#/definitions/DeletedAppRestoreRequest" - } - }, - { - "name": "slot", - "in": "path", - "description": "Name of web app slot. If not specified then will default to production slot.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "202": { - "description": "Restore operation started." - }, - "200": { - "description": "Restore operation started." - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/restoreSnapshot": { - "post": { - "tags": [ - "WebApps" - ], - "summary": "Restores a web app from a snapshot.", - "description": "Description for Restores a web app from a snapshot.", - "operationId": "WebApps_RestoreSnapshotSlot", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of web app.", - "required": true, - "type": "string" - }, - { - "name": "restoreRequest", - "in": "body", - "description": "Snapshot restore settings. Snapshot information can be obtained by calling GetDeletedSites or GetSiteSnapshots API.", - "required": true, - "schema": { - "$ref": "#/definitions/SnapshotRestoreRequest" - } - }, - { - "name": "slot", - "in": "path", - "description": "Name of web app slot. If not specified then will default to production slot.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "202": { - "description": "Restore operation started." - }, - "200": { - "description": "Restore operation started." - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/sitecontainers": { - "get": { - "tags": [ - "WebApps" - ], - "summary": "Lists all the site containers of a site, or a deployment slot.", - "operationId": "WebApps_ListSiteContainersSlot", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the app.", - "required": true, - "type": "string" - }, - { - "name": "slot", - "in": "path", - "description": "Name of the deployment slot. If a slot is not specified, the API will get a list of site containers for the production slot.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/SiteContainerCollection" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/sitecontainers/{containerName}": { - "get": { - "tags": [ - "WebApps" - ], - "summary": "Gets a site container of a site, or a deployment slot.", - "operationId": "WebApps_GetSiteContainerSlot", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the app.", - "required": true, - "type": "string" - }, - { - "name": "slot", - "in": "path", - "description": "Name of the deployment slot. If a slot is not specified, the API will get the Site Container for the production slot.", - "required": true, - "type": "string" - }, - { - "name": "containerName", - "in": "path", - "description": "Site Container Name", - "required": true, - "type": "string", - "pattern": "(^[a-zA-Z0-9]$)|(^[a-zA-Z0-9][a-zA-Z0-9-]*[a-zA-Z0-9]$)" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/SiteContainer" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - }, - "put": { - "tags": [ - "WebApps" - ], - "summary": "Creates or Updates a site container for a site, or a deployment slot.", - "operationId": "WebApps_CreateOrUpdateSiteContainerSlot", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the app.", - "required": true, - "type": "string" - }, - { - "name": "slot", - "in": "path", - "description": "Name of the deployment slot. If a slot is not specified, the API will create the container for the production slot.", - "required": true, - "type": "string" - }, - { - "name": "containerName", - "in": "path", - "description": "Site Container Name", - "required": true, - "type": "string", - "pattern": "(^[a-zA-Z0-9]$)|(^[a-zA-Z0-9][a-zA-Z0-9-]*[a-zA-Z0-9]$)" - }, - { - "name": "request", - "in": "body", - "description": "Container Entity", - "required": true, - "schema": { - "$ref": "#/definitions/SiteContainer" - } - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "201": { - "description": "Site container was created.", - "schema": { - "$ref": "#/definitions/SiteContainer" - } - }, - "200": { - "description": "Site container was updated.", - "schema": { - "$ref": "#/definitions/SiteContainer" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - }, - "delete": { - "tags": [ - "WebApps" - ], - "summary": "Deletes a site container for a site, or a deployment slot.", - "operationId": "WebApps_DeleteSiteContainerSlot", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the app.", - "required": true, - "type": "string" - }, - { - "name": "slot", - "in": "path", - "description": "Name of the deployment slot. If a slot is not specified, the API will delete the container for the production slot.", - "required": true, - "type": "string" - }, - { - "name": "containerName", - "in": "path", - "description": "Site Container Name", - "required": true, - "type": "string", - "pattern": "(^[a-zA-Z0-9]$)|(^[a-zA-Z0-9][a-zA-Z0-9-]*[a-zA-Z0-9]$)" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Successfully deleted site container." - }, - "204": { - "description": "Site container does not exist." - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/siteextensions": { - "get": { - "tags": [ - "WebApps" - ], - "summary": "Get list of siteextensions for a web site, or a deployment slot.", - "description": "Description for Get list of siteextensions for a web site, or a deployment slot.", - "operationId": "WebApps_ListSiteExtensionsSlot", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Site name.", - "required": true, - "type": "string" - }, - { - "name": "slot", - "in": "path", - "description": "Name of the deployment slot. If a slot is not specified, the API uses the production slot.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "SiteExtension information returned.", - "schema": { - "$ref": "#/definitions/SiteExtensionInfoCollection" - } - }, - "404": { - "description": "SiteExtension not found.", - "x-ms-error-response": true - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/siteextensions/{siteExtensionId}": { - "get": { - "tags": [ - "WebApps" - ], - "summary": "Get site extension information by its ID for a web site, or a deployment slot.", - "description": "Description for Get site extension information by its ID for a web site, or a deployment slot.", - "operationId": "WebApps_GetSiteExtensionSlot", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Site name.", - "required": true, - "type": "string" - }, - { - "name": "siteExtensionId", - "in": "path", - "description": "Site extension name.", - "required": true, - "type": "string" - }, - { - "name": "slot", - "in": "path", - "description": "Name of the deployment slot. If a slot is not specified, the API uses the production slot.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "SiteExtension information returned.", - "schema": { - "$ref": "#/definitions/SiteExtensionInfo" - } - }, - "404": { - "description": "SiteExtension with an ID of {siteExtensionId} is not running.", - "x-ms-error-response": true - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - }, - "put": { - "tags": [ - "WebApps" - ], - "summary": "Install site extension on a web site, or a deployment slot.", - "description": "Description for Install site extension on a web site, or a deployment slot.", - "operationId": "WebApps_InstallSiteExtensionSlot", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Site name.", - "required": true, - "type": "string" - }, - { - "name": "siteExtensionId", - "in": "path", - "description": "Site extension name.", - "required": true, - "type": "string" - }, - { - "name": "slot", - "in": "path", - "description": "Name of the deployment slot. If a slot is not specified, the API uses the production slot.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "201": { - "description": "Site Extension created.", - "schema": { - "$ref": "#/definitions/SiteExtensionInfo" - } - }, - "200": { - "description": "Site Extension created.", - "schema": { - "$ref": "#/definitions/SiteExtensionInfo" - } - }, - "429": { - "description": "Site Extension is being installed on another request: Rejecting current request.", - "x-ms-error-response": true - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-long-running-operation": true - }, - "delete": { - "tags": [ - "WebApps" - ], - "summary": "Remove a site extension from a web site, or a deployment slot.", - "description": "Description for Remove a site extension from a web site, or a deployment slot.", - "operationId": "WebApps_DeleteSiteExtensionSlot", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Site name.", - "required": true, - "type": "string" - }, - { - "name": "siteExtensionId", - "in": "path", - "description": "Site extension name.", - "required": true, - "type": "string" - }, - { - "name": "slot", - "in": "path", - "description": "Name of the deployment slot. If a slot is not specified, the API deletes a deployment for the production slot.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "204": { - "description": "SiteExtension terminated." - }, - "404": { - "description": "SiteExtension with an ID of {siteExtensionId} is not running.", - "x-ms-error-response": true - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/slotsdiffs": { - "post": { - "tags": [ - "WebApps" - ], - "summary": "Get the difference in configuration settings between two web app slots.", - "description": "Description for Get the difference in configuration settings between two web app slots.", - "operationId": "WebApps_ListSlotDifferencesSlot", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the app.", - "required": true, - "type": "string" - }, - { - "name": "slotSwapEntity", - "in": "body", - "description": "JSON object that contains the target slot name. See example.", - "required": true, - "schema": { - "$ref": "#/definitions/CsmSlotEntity" - } - }, - { - "name": "slot", - "in": "path", - "description": "Name of the source slot. If a slot is not specified, the production slot is used as the source slot.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/SlotDifferenceCollection" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/slotsswap": { - "post": { - "tags": [ - "WebApps" - ], - "summary": "Swaps two deployment slots of an app.", - "description": "Description for Swaps two deployment slots of an app.", - "operationId": "WebApps_SwapSlotSlot", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the app.", - "required": true, - "type": "string" - }, - { - "name": "slotSwapEntity", - "in": "body", - "description": "JSON object that contains the target slot name. See example.", - "required": true, - "schema": { - "$ref": "#/definitions/CsmSlotEntity" - } - }, - { - "name": "slot", - "in": "path", - "description": "Name of the source slot. If a slot is not specified, the production slot is used as the source slot.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK." - }, - "202": { - "description": "Operation is in progress." - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/snapshots": { - "get": { - "tags": [ - "WebApps" - ], - "summary": "Returns all Snapshots to the user.", - "description": "Description for Returns all Snapshots to the user.", - "operationId": "WebApps_ListSnapshotsSlot", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Website Name.", - "required": true, - "type": "string" - }, - { - "name": "slot", - "in": "path", - "description": "Website Slot.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/SnapshotCollection" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/snapshotsdr": { - "get": { - "tags": [ - "WebApps" - ], - "summary": "Returns all Snapshots to the user from DRSecondary endpoint.", - "description": "Description for Returns all Snapshots to the user from DRSecondary endpoint.", - "operationId": "WebApps_ListSnapshotsFromDRSecondarySlot", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Website Name.", - "required": true, - "type": "string" - }, - { - "name": "slot", - "in": "path", - "description": "Website Slot.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/SnapshotCollection" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/sourcecontrols/web": { - "get": { - "tags": [ - "WebApps" - ], - "summary": "Gets the source control configuration of an app.", - "description": "Description for Gets the source control configuration of an app.", - "operationId": "WebApps_GetSourceControlSlot", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the app.", - "required": true, - "type": "string" - }, - { - "name": "slot", - "in": "path", - "description": "Name of the deployment slot. If a slot is not specified, the API will get the source control configuration for the production slot.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Successfully retrieved source control for web app.", - "schema": { - "$ref": "#/definitions/SiteSourceControl" - } - }, - "201": { - "description": "Create or update source control for web app still in progress.", - "schema": { - "$ref": "#/definitions/SiteSourceControl" - } - }, - "202": { - "description": "Create or update source control for web app still in progress.", - "schema": { - "$ref": "#/definitions/SiteSourceControl" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - }, - "put": { - "tags": [ - "WebApps" - ], - "summary": "Updates the source control configuration of an app.", - "description": "Description for Updates the source control configuration of an app.", - "operationId": "WebApps_CreateOrUpdateSourceControlSlot", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the app.", - "required": true, - "type": "string" - }, - { - "name": "siteSourceControl", - "in": "body", - "description": "JSON representation of a SiteSourceControl object. See example.", - "required": true, - "schema": { - "$ref": "#/definitions/SiteSourceControl" - } - }, - { - "name": "slot", - "in": "path", - "description": "Name of the deployment slot. If a slot is not specified, the API will update the source control configuration for the production slot.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Successfully created or updated source control for web app.", - "schema": { - "$ref": "#/definitions/SiteSourceControl" - } - }, - "201": { - "description": "Create or update source control for web app in progress.", - "schema": { - "$ref": "#/definitions/SiteSourceControl" - } - }, - "202": { - "description": "Create or update source control for web app in progress.", - "schema": { - "$ref": "#/definitions/SiteSourceControl" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-long-running-operation": true - }, - "delete": { - "tags": [ - "WebApps" - ], - "summary": "Deletes the source control configuration of an app.", - "description": "Description for Deletes the source control configuration of an app.", - "operationId": "WebApps_DeleteSourceControlSlot", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the app.", - "required": true, - "type": "string" - }, - { - "name": "slot", - "in": "path", - "description": "Name of the deployment slot. If a slot is not specified, the API will delete the source control configuration for the production slot.", - "required": true, - "type": "string" - }, - { - "name": "additionalFlags", - "in": "query", - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Successfully deleted source control for web app." - }, - "202": { - "description": "Source control delete operation in progress." - }, - "404": { - "description": "Source control does not exist.", - "x-ms-error-response": true - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - }, - "patch": { - "tags": [ - "WebApps" - ], - "summary": "Updates the source control configuration of an app.", - "description": "Description for Updates the source control configuration of an app.", - "operationId": "WebApps_UpdateSourceControlSlot", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the app.", - "required": true, - "type": "string" - }, - { - "name": "siteSourceControl", - "in": "body", - "description": "JSON representation of a SiteSourceControl object. See example.", - "required": true, - "schema": { - "$ref": "#/definitions/SiteSourceControl" - } - }, - { - "name": "slot", - "in": "path", - "description": "Name of the deployment slot. If a slot is not specified, the API will update the source control configuration for the production slot.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Successfully created or updated source control for web app.", - "schema": { - "$ref": "#/definitions/SiteSourceControl" - } - }, - "201": { - "description": "Create or update source control for web app in progress.", - "schema": { - "$ref": "#/definitions/SiteSourceControl" - } - }, - "202": { - "description": "Create or update source control for web app in progress.", - "schema": { - "$ref": "#/definitions/SiteSourceControl" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/start": { - "post": { - "tags": [ - "WebApps" - ], - "summary": "Starts an app (or deployment slot, if specified).", - "description": "Description for Starts an app (or deployment slot, if specified).", - "operationId": "WebApps_StartSlot", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the app.", - "required": true, - "type": "string" - }, - { - "name": "slot", - "in": "path", - "description": "Name of the deployment slot. If a slot is not specified, the API will start the production slot.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Successfully started app." - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/startNetworkTrace": { - "post": { - "tags": [ - "WebApps" - ], - "summary": "Start capturing network packets for the site.", - "description": "Description for Start capturing network packets for the site.", - "operationId": "WebApps_StartNetworkTraceSlot", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "The name of the web app.", - "required": true, - "type": "string" - }, - { - "name": "durationInSeconds", - "in": "query", - "description": "The duration to keep capturing in seconds.", - "type": "integer", - "format": "int32" - }, - { - "name": "slot", - "in": "path", - "description": "The name of the slot for this web app.", - "required": true, - "type": "string" - }, - { - "name": "maxFrameLength", - "in": "query", - "description": "The maximum frame length in bytes (Optional).", - "type": "integer", - "format": "int32" - }, - { - "name": "sasUrl", - "in": "query", - "description": "The Blob URL to store capture file.", - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "array", - "items": { - "$ref": "#/definitions/NetworkTrace" - } - } - }, - "202": { - "description": "Operation is in progress.", - "schema": { - "type": "array", - "items": { - "$ref": "#/definitions/NetworkTrace" - } - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "Start a new network trace operation for a site": { - "$ref": "./examples/StartWebSiteNetworkTraceOperation.json" - } - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/stop": { - "post": { - "tags": [ - "WebApps" - ], - "summary": "Stops an app (or deployment slot, if specified).", - "description": "Description for Stops an app (or deployment slot, if specified).", - "operationId": "WebApps_StopSlot", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the app.", - "required": true, - "type": "string" - }, - { - "name": "slot", - "in": "path", - "description": "Name of the deployment slot. If a slot is not specified, the API will stop the production slot.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Successfully stopped app." - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/stopNetworkTrace": { - "post": { - "tags": [ - "WebApps" - ], - "summary": "Stop ongoing capturing network packets for the site.", - "description": "Description for Stop ongoing capturing network packets for the site.", - "operationId": "WebApps_StopNetworkTraceSlot", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "The name of the web app.", - "required": true, - "type": "string" - }, - { - "name": "slot", - "in": "path", - "description": "The name of the slot for this web app.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Stopped." - }, - "204": { - "description": "Stopped." - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "Stop a currently running network trace operation for a site": { - "$ref": "./examples/StopWebSiteNetworkTrace.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/sync": { - "post": { - "tags": [ - "WebApps" - ], - "summary": "Sync web app repository.", - "description": "Description for Sync web app repository.", - "operationId": "WebApps_SyncRepositorySlot", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of web app.", - "required": true, - "type": "string" - }, - { - "name": "slot", - "in": "path", - "description": "Name of web app slot. If not specified then will default to production slot.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Successfully sync source control." - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/syncfunctiontriggers": { - "post": { - "tags": [ - "WebApps" - ], - "summary": "Syncs function trigger metadata to the management database", - "description": "Description for Syncs function trigger metadata to the management database", - "operationId": "WebApps_SyncFunctionTriggersSlot", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the app.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/slotNameParameter" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "204": { - "description": "No Content" - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/triggeredwebjobs": { - "get": { - "tags": [ - "WebApps" - ], - "summary": "List triggered web jobs for an app, or a deployment slot.", - "description": "Description for List triggered web jobs for an app, or a deployment slot.", - "operationId": "WebApps_ListTriggeredWebJobsSlot", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Site name.", - "required": true, - "type": "string" - }, - { - "name": "slot", - "in": "path", - "description": "Name of the deployment slot. If a slot is not specified, the API deletes a deployment for the production slot.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/TriggeredWebJobCollection" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/triggeredwebjobs/{webJobName}": { - "get": { - "tags": [ - "WebApps" - ], - "summary": "Gets a triggered web job by its ID for an app, or a deployment slot.", - "description": "Description for Gets a triggered web job by its ID for an app, or a deployment slot.", - "operationId": "WebApps_GetTriggeredWebJobSlot", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Site name.", - "required": true, - "type": "string" - }, - { - "name": "webJobName", - "in": "path", - "description": "Name of Web Job.", - "required": true, - "type": "string" - }, - { - "name": "slot", - "in": "path", - "description": "Name of the deployment slot. If a slot is not specified, the API uses the production slot.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Found continuous web job.", - "schema": { - "$ref": "#/definitions/TriggeredWebJob" - } - }, - "404": { - "description": "Triggered web job does not exist.", - "x-ms-error-response": true - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - }, - "delete": { - "tags": [ - "WebApps" - ], - "summary": "Delete a triggered web job by its ID for an app, or a deployment slot.", - "description": "Description for Delete a triggered web job by its ID for an app, or a deployment slot.", - "operationId": "WebApps_DeleteTriggeredWebJobSlot", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Site name.", - "required": true, - "type": "string" - }, - { - "name": "webJobName", - "in": "path", - "description": "Name of Web Job.", - "required": true, - "type": "string" - }, - { - "name": "slot", - "in": "path", - "description": "Name of the deployment slot. If a slot is not specified, the API deletes web job for the production slot.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Successfully deleted continuous web job." - }, - "204": { - "description": "Triggered web job does not exist." - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/triggeredwebjobs/{webJobName}/history": { - "get": { - "tags": [ - "WebApps" - ], - "summary": "List a triggered web job's history for an app, or a deployment slot.", - "description": "Description for List a triggered web job's history for an app, or a deployment slot.", - "operationId": "WebApps_ListTriggeredWebJobHistorySlot", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Site name.", - "required": true, - "type": "string" - }, - { - "name": "webJobName", - "in": "path", - "description": "Name of Web Job.", - "required": true, - "type": "string" - }, - { - "name": "slot", - "in": "path", - "description": "Name of the deployment slot. If a slot is not specified, the API uses the production slot.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Found continuous web job.", - "schema": { - "$ref": "#/definitions/TriggeredJobHistoryCollection" - } - }, - "404": { - "description": "Triggered web job does not exist.", - "x-ms-error-response": true - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/triggeredwebjobs/{webJobName}/history/{id}": { - "get": { - "tags": [ - "WebApps" - ], - "summary": "Gets a triggered web job's history by its ID for an app, , or a deployment slot.", - "description": "Description for Gets a triggered web job's history by its ID for an app, , or a deployment slot.", - "operationId": "WebApps_GetTriggeredWebJobHistorySlot", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Site name.", - "required": true, - "type": "string" - }, - { - "name": "webJobName", - "in": "path", - "description": "Name of Web Job.", - "required": true, - "type": "string" - }, - { - "name": "id", - "in": "path", - "description": "History ID.", - "required": true, - "type": "string" - }, - { - "name": "slot", - "in": "path", - "description": "Name of the deployment slot. If a slot is not specified, the API uses the production slot.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Found continuous web job.", - "schema": { - "$ref": "#/definitions/TriggeredJobHistory" - } - }, - "404": { - "description": "Triggered web job does not exist.", - "x-ms-error-response": true - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/triggeredwebjobs/{webJobName}/run": { - "post": { - "tags": [ - "WebApps" - ], - "summary": "Run a triggered web job for an app, or a deployment slot.", - "description": "Description for Run a triggered web job for an app, or a deployment slot.", - "operationId": "WebApps_RunTriggeredWebJobSlot", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Site name.", - "required": true, - "type": "string" - }, - { - "name": "webJobName", - "in": "path", - "description": "Name of Web Job.", - "required": true, - "type": "string" - }, - { - "name": "slot", - "in": "path", - "description": "Name of the deployment slot. If a slot is not specified, the API uses the production slot.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Run a triggered web job." - }, - "404": { - "description": "Triggered web job does not exist.", - "x-ms-error-response": true - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/usages": { - "get": { - "tags": [ - "WebApps" - ], - "summary": "Gets the quota usage information of an app (or deployment slot, if specified).", - "description": "Description for Gets the quota usage information of an app (or deployment slot, if specified).", - "operationId": "WebApps_ListUsagesSlot", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the app.", - "required": true, - "type": "string" - }, - { - "name": "slot", - "in": "path", - "description": "Name of the deployment slot. If a slot is not specified, the API will get quota information of the production slot.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - }, - { - "name": "$filter", - "in": "query", - "description": "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]'.", - "type": "string", - "x-ms-skip-url-encoding": true - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/CsmUsageQuotaCollection" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/virtualNetworkConnections": { - "get": { - "tags": [ - "WebApps" - ], - "summary": "Gets the virtual networks the app (or deployment slot) is connected to.", - "description": "Description for Gets the virtual networks the app (or deployment slot) is connected to.", - "operationId": "WebApps_ListVnetConnectionsSlot", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the app.", - "required": true, - "type": "string" - }, - { - "name": "slot", - "in": "path", - "description": "Name of the deployment slot. If a slot is not specified, the API will get virtual network connections for the production slot.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "array", - "items": { - "$ref": "./CommonDefinitions.json#/definitions/VnetInfoResource" - } - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/virtualNetworkConnections/{vnetName}": { - "get": { - "tags": [ - "WebApps" - ], - "summary": "Gets a virtual network the app (or deployment slot) is connected to by name.", - "description": "Description for Gets a virtual network the app (or deployment slot) is connected to by name.", - "operationId": "WebApps_GetVnetConnectionSlot", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the app.", - "required": true, - "type": "string" - }, - { - "name": "vnetName", - "in": "path", - "description": "Name of the virtual network.", - "required": true, - "type": "string" - }, - { - "name": "slot", - "in": "path", - "description": "Name of the deployment slot. If a slot is not specified, the API will get the named virtual network for the production slot.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/VnetInfoResource" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - }, - "put": { - "tags": [ - "WebApps" - ], - "summary": "Adds a Virtual Network connection to an app or slot (PUT) or updates the connection properties (PATCH).", - "description": "Description for Adds a Virtual Network connection to an app or slot (PUT) or updates the connection properties (PATCH).", - "operationId": "WebApps_CreateOrUpdateVnetConnectionSlot", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the app.", - "required": true, - "type": "string" - }, - { - "name": "vnetName", - "in": "path", - "description": "Name of an existing Virtual Network.", - "required": true, - "type": "string" - }, - { - "name": "connectionEnvelope", - "in": "body", - "description": "Properties of the Virtual Network connection. See example.", - "required": true, - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/VnetInfoResource" - } - }, - { - "name": "slot", - "in": "path", - "description": "Name of the deployment slot. If a slot is not specified, the API will add or update connections for the production slot.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/VnetInfoResource" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - }, - "delete": { - "tags": [ - "WebApps" - ], - "summary": "Deletes a connection from an app (or deployment slot to a named virtual network.", - "description": "Description for Deletes a connection from an app (or deployment slot to a named virtual network.", - "operationId": "WebApps_DeleteVnetConnectionSlot", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the app.", - "required": true, - "type": "string" - }, - { - "name": "vnetName", - "in": "path", - "description": "Name of the virtual network.", - "required": true, - "type": "string" - }, - { - "name": "slot", - "in": "path", - "description": "Name of the deployment slot. If a slot is not specified, the API will delete the connection for the production slot.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Successfully deleted virtual network." - }, - "404": { - "description": "Virtual network does not exist.", - "x-ms-error-response": true - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - }, - "patch": { - "tags": [ - "WebApps" - ], - "summary": "Adds a Virtual Network connection to an app or slot (PUT) or updates the connection properties (PATCH).", - "description": "Description for Adds a Virtual Network connection to an app or slot (PUT) or updates the connection properties (PATCH).", - "operationId": "WebApps_UpdateVnetConnectionSlot", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the app.", - "required": true, - "type": "string" - }, - { - "name": "vnetName", - "in": "path", - "description": "Name of an existing Virtual Network.", - "required": true, - "type": "string" - }, - { - "name": "connectionEnvelope", - "in": "body", - "description": "Properties of the Virtual Network connection. See example.", - "required": true, - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/VnetInfoResource" - } - }, - { - "name": "slot", - "in": "path", - "description": "Name of the deployment slot. If a slot is not specified, the API will add or update connections for the production slot.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/VnetInfoResource" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/virtualNetworkConnections/{vnetName}/gateways/{gatewayName}": { - "get": { - "tags": [ - "WebApps" - ], - "summary": "Gets an app's Virtual Network gateway.", - "description": "Description for Gets an app's Virtual Network gateway.", - "operationId": "WebApps_GetVnetConnectionGatewaySlot", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the app.", - "required": true, - "type": "string" - }, - { - "name": "vnetName", - "in": "path", - "description": "Name of the Virtual Network.", - "required": true, - "type": "string" - }, - { - "name": "gatewayName", - "in": "path", - "description": "Name of the gateway. Currently, the only supported string is \"primary\".", - "required": true, - "type": "string" - }, - { - "name": "slot", - "in": "path", - "description": "Name of the deployment slot. If a slot is not specified, the API will get a gateway for the production slot's Virtual Network.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/VnetGateway" - } - }, - "404": { - "description": "Named gateway does not exist. Only the \"primary\" gateway is supported currently.", - "x-ms-error-response": true - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - }, - "put": { - "tags": [ - "WebApps" - ], - "summary": "Adds a gateway to a connected Virtual Network (PUT) or updates it (PATCH).", - "description": "Description for Adds a gateway to a connected Virtual Network (PUT) or updates it (PATCH).", - "operationId": "WebApps_CreateOrUpdateVnetConnectionGatewaySlot", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the app.", - "required": true, - "type": "string" - }, - { - "name": "vnetName", - "in": "path", - "description": "Name of the Virtual Network.", - "required": true, - "type": "string" - }, - { - "name": "gatewayName", - "in": "path", - "description": "Name of the gateway. Currently, the only supported string is \"primary\".", - "required": true, - "type": "string" - }, - { - "name": "connectionEnvelope", - "in": "body", - "description": "The properties to update this gateway with.", - "required": true, - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/VnetGateway" - } - }, - { - "name": "slot", - "in": "path", - "description": "Name of the deployment slot. If a slot is not specified, the API will add or update a gateway for the production slot's Virtual Network.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/VnetGateway" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - }, - "patch": { - "tags": [ - "WebApps" - ], - "summary": "Adds a gateway to a connected Virtual Network (PUT) or updates it (PATCH).", - "description": "Description for Adds a gateway to a connected Virtual Network (PUT) or updates it (PATCH).", - "operationId": "WebApps_UpdateVnetConnectionGatewaySlot", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the app.", - "required": true, - "type": "string" - }, - { - "name": "vnetName", - "in": "path", - "description": "Name of the Virtual Network.", - "required": true, - "type": "string" - }, - { - "name": "gatewayName", - "in": "path", - "description": "Name of the gateway. Currently, the only supported string is \"primary\".", - "required": true, - "type": "string" - }, - { - "name": "connectionEnvelope", - "in": "body", - "description": "The properties to update this gateway with.", - "required": true, - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/VnetGateway" - } - }, - { - "name": "slot", - "in": "path", - "description": "Name of the deployment slot. If a slot is not specified, the API will add or update a gateway for the production slot's Virtual Network.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/VnetGateway" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/webjobs": { - "get": { - "tags": [ - "WebApps" - ], - "summary": "List webjobs for an app, or a deployment slot.", - "description": "Description for List webjobs for an app, or a deployment slot.", - "operationId": "WebApps_ListWebJobsSlot", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Site name.", - "required": true, - "type": "string" - }, - { - "name": "slot", - "in": "path", - "description": "Name of the deployment slot. If a slot is not specified, the API returns deployments for the production slot.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/WebJobCollection" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/webjobs/{webJobName}": { - "get": { - "tags": [ - "WebApps" - ], - "summary": "Get webjob information for an app, or a deployment slot.", - "description": "Description for Get webjob information for an app, or a deployment slot.", - "operationId": "WebApps_GetWebJobSlot", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Site name.", - "required": true, - "type": "string" - }, - { - "name": "webJobName", - "in": "path", - "description": "Name of the web job.", - "required": true, - "type": "string" - }, - { - "name": "slot", - "in": "path", - "description": "Name of the deployment slot. If a slot is not specified, the API returns deployments for the production slot.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/WebJob" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slotsdiffs": { - "post": { - "tags": [ - "WebApps" - ], - "summary": "Get the difference in configuration settings between two web app slots.", - "description": "Description for Get the difference in configuration settings between two web app slots.", - "operationId": "WebApps_ListSlotDifferencesFromProduction", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the app.", - "required": true, - "type": "string" - }, - { - "name": "slotSwapEntity", - "in": "body", - "description": "JSON object that contains the target slot name. See example.", - "required": true, - "schema": { - "$ref": "#/definitions/CsmSlotEntity" - } - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/SlotDifferenceCollection" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slotsswap": { - "post": { - "tags": [ - "WebApps" - ], - "summary": "Swaps two deployment slots of an app.", - "description": "Description for Swaps two deployment slots of an app.", - "operationId": "WebApps_SwapSlotWithProduction", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the app.", - "required": true, - "type": "string" - }, - { - "name": "slotSwapEntity", - "in": "body", - "description": "JSON object that contains the target slot name. See example.", - "required": true, - "schema": { - "$ref": "#/definitions/CsmSlotEntity" - } - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK." - }, - "202": { - "description": "Operation is in progress." - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/snapshots": { - "get": { - "tags": [ - "WebApps" - ], - "summary": "Returns all Snapshots to the user.", - "description": "Description for Returns all Snapshots to the user.", - "operationId": "WebApps_ListSnapshots", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Website Name.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/SnapshotCollection" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/snapshotsdr": { - "get": { - "tags": [ - "WebApps" - ], - "summary": "Returns all Snapshots to the user from DRSecondary endpoint.", - "description": "Description for Returns all Snapshots to the user from DRSecondary endpoint.", - "operationId": "WebApps_ListSnapshotsFromDRSecondary", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Website Name.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/SnapshotCollection" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/sourcecontrols/web": { - "get": { - "tags": [ - "WebApps" - ], - "summary": "Gets the source control configuration of an app.", - "description": "Description for Gets the source control configuration of an app.", - "operationId": "WebApps_GetSourceControl", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the app.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Successfully retrieved source control for web app.", - "schema": { - "$ref": "#/definitions/SiteSourceControl" - } - }, - "201": { - "description": "Create or update source control for web app still in progress.", - "schema": { - "$ref": "#/definitions/SiteSourceControl" - } - }, - "202": { - "description": "Create or update source control for web app still in progress.", - "schema": { - "$ref": "#/definitions/SiteSourceControl" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - }, - "put": { - "tags": [ - "WebApps" - ], - "summary": "Updates the source control configuration of an app.", - "description": "Description for Updates the source control configuration of an app.", - "operationId": "WebApps_CreateOrUpdateSourceControl", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the app.", - "required": true, - "type": "string" - }, - { - "name": "siteSourceControl", - "in": "body", - "description": "JSON representation of a SiteSourceControl object. See example.", - "required": true, - "schema": { - "$ref": "#/definitions/SiteSourceControl" - } - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Successfully created or updated source control for web app.", - "schema": { - "$ref": "#/definitions/SiteSourceControl" - } - }, - "201": { - "description": "Create or update source control for web app in progress.", - "schema": { - "$ref": "#/definitions/SiteSourceControl" - } - }, - "202": { - "description": "Create or update source control for web app in progress.", - "schema": { - "$ref": "#/definitions/SiteSourceControl" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-long-running-operation": true - }, - "delete": { - "tags": [ - "WebApps" - ], - "summary": "Deletes the source control configuration of an app.", - "description": "Description for Deletes the source control configuration of an app.", - "operationId": "WebApps_DeleteSourceControl", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the app.", - "required": true, - "type": "string" - }, - { - "name": "additionalFlags", - "in": "query", - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Successfully deleted source control for web app." - }, - "202": { - "description": "Source control delete operation in progress." - }, - "404": { - "description": "Source control does not exist.", - "x-ms-error-response": true - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - }, - "patch": { - "tags": [ - "WebApps" - ], - "summary": "Updates the source control configuration of an app.", - "description": "Description for Updates the source control configuration of an app.", - "operationId": "WebApps_UpdateSourceControl", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the app.", - "required": true, - "type": "string" - }, - { - "name": "siteSourceControl", - "in": "body", - "description": "JSON representation of a SiteSourceControl object. See example.", - "required": true, - "schema": { - "$ref": "#/definitions/SiteSourceControl" - } - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Successfully created or updated source control for web app.", - "schema": { - "$ref": "#/definitions/SiteSourceControl" - } - }, - "201": { - "description": "Create or update source control for web app in progress.", - "schema": { - "$ref": "#/definitions/SiteSourceControl" - } - }, - "202": { - "description": "Create or update source control for web app in progress.", - "schema": { - "$ref": "#/definitions/SiteSourceControl" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/start": { - "post": { - "tags": [ - "WebApps" - ], - "summary": "Starts an app (or deployment slot, if specified).", - "description": "Description for Starts an app (or deployment slot, if specified).", - "operationId": "WebApps_Start", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the app.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Successfully started app." - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/startNetworkTrace": { - "post": { - "tags": [ - "WebApps" - ], - "summary": "Start capturing network packets for the site.", - "description": "Description for Start capturing network packets for the site.", - "operationId": "WebApps_StartNetworkTrace", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "The name of the web app.", - "required": true, - "type": "string" - }, - { - "name": "durationInSeconds", - "in": "query", - "description": "The duration to keep capturing in seconds.", - "type": "integer", - "format": "int32" - }, - { - "name": "maxFrameLength", - "in": "query", - "description": "The maximum frame length in bytes (Optional).", - "type": "integer", - "format": "int32" - }, - { - "name": "sasUrl", - "in": "query", - "description": "The Blob URL to store capture file.", - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "array", - "items": { - "$ref": "#/definitions/NetworkTrace" - } - } - }, - "202": { - "description": "Operation is in progress.", - "schema": { - "type": "array", - "items": { - "$ref": "#/definitions/NetworkTrace" - } - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "Start a new network trace operation for a site": { - "$ref": "./examples/StartWebSiteNetworkTraceOperation.json" - } - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/stop": { - "post": { - "tags": [ - "WebApps" - ], - "summary": "Stops an app (or deployment slot, if specified).", - "description": "Description for Stops an app (or deployment slot, if specified).", - "operationId": "WebApps_Stop", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the app.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Successfully stopped app." - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/stopNetworkTrace": { - "post": { - "tags": [ - "WebApps" - ], - "summary": "Stop ongoing capturing network packets for the site.", - "description": "Description for Stop ongoing capturing network packets for the site.", - "operationId": "WebApps_StopNetworkTrace", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "The name of the web app.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Stopped." - }, - "204": { - "description": "Stopped." - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "Stop a currently running network trace operation for a site": { - "$ref": "./examples/StopWebSiteNetworkTrace.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/sync": { - "post": { - "tags": [ - "WebApps" - ], - "summary": "Sync web app repository.", - "description": "Description for Sync web app repository.", - "operationId": "WebApps_SyncRepository", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of web app.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Successfully sync source control." - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/syncfunctiontriggers": { - "post": { - "tags": [ - "WebApps" - ], - "summary": "Syncs function trigger metadata to the management database", - "description": "Description for Syncs function trigger metadata to the management database", - "operationId": "WebApps_SyncFunctionTriggers", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the app.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "204": { - "description": "No Content" - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/triggeredwebjobs": { - "get": { - "tags": [ - "WebApps" - ], - "summary": "List triggered web jobs for an app, or a deployment slot.", - "description": "Description for List triggered web jobs for an app, or a deployment slot.", - "operationId": "WebApps_ListTriggeredWebJobs", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Site name.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/TriggeredWebJobCollection" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/triggeredwebjobs/{webJobName}": { - "get": { - "tags": [ - "WebApps" - ], - "summary": "Gets a triggered web job by its ID for an app, or a deployment slot.", - "description": "Description for Gets a triggered web job by its ID for an app, or a deployment slot.", - "operationId": "WebApps_GetTriggeredWebJob", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Site name.", - "required": true, - "type": "string" - }, - { - "name": "webJobName", - "in": "path", - "description": "Name of Web Job.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Found continuous web job.", - "schema": { - "$ref": "#/definitions/TriggeredWebJob" - } - }, - "404": { - "description": "Triggered web job does not exist.", - "x-ms-error-response": true - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - }, - "delete": { - "tags": [ - "WebApps" - ], - "summary": "Delete a triggered web job by its ID for an app, or a deployment slot.", - "description": "Description for Delete a triggered web job by its ID for an app, or a deployment slot.", - "operationId": "WebApps_DeleteTriggeredWebJob", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Site name.", - "required": true, - "type": "string" - }, - { - "name": "webJobName", - "in": "path", - "description": "Name of Web Job.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Successfully deleted continuous web job." - }, - "204": { - "description": "Triggered web job does not exist." - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/triggeredwebjobs/{webJobName}/history": { - "get": { - "tags": [ - "WebApps" - ], - "summary": "List a triggered web job's history for an app, or a deployment slot.", - "description": "Description for List a triggered web job's history for an app, or a deployment slot.", - "operationId": "WebApps_ListTriggeredWebJobHistory", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Site name.", - "required": true, - "type": "string" - }, - { - "name": "webJobName", - "in": "path", - "description": "Name of Web Job.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Found continuous web job.", - "schema": { - "$ref": "#/definitions/TriggeredJobHistoryCollection" - } - }, - "404": { - "description": "Triggered web job does not exist.", - "x-ms-error-response": true - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/triggeredwebjobs/{webJobName}/history/{id}": { - "get": { - "tags": [ - "WebApps" - ], - "summary": "Gets a triggered web job's history by its ID for an app, , or a deployment slot.", - "description": "Description for Gets a triggered web job's history by its ID for an app, , or a deployment slot.", - "operationId": "WebApps_GetTriggeredWebJobHistory", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Site name.", - "required": true, - "type": "string" - }, - { - "name": "webJobName", - "in": "path", - "description": "Name of Web Job.", - "required": true, - "type": "string" - }, - { - "name": "id", - "in": "path", - "description": "History ID.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Found continuous web job.", - "schema": { - "$ref": "#/definitions/TriggeredJobHistory" - } - }, - "404": { - "description": "Triggered web job does not exist.", - "x-ms-error-response": true - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/triggeredwebjobs/{webJobName}/run": { - "post": { - "tags": [ - "WebApps" - ], - "summary": "Run a triggered web job for an app, or a deployment slot.", - "description": "Description for Run a triggered web job for an app, or a deployment slot.", - "operationId": "WebApps_RunTriggeredWebJob", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Site name.", - "required": true, - "type": "string" - }, - { - "name": "webJobName", - "in": "path", - "description": "Name of Web Job.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Run a triggered web job." - }, - "404": { - "description": "Triggered web job does not exist.", - "x-ms-error-response": true - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/usages": { - "get": { - "tags": [ - "WebApps" - ], - "summary": "Gets the quota usage information of an app (or deployment slot, if specified).", - "description": "Description for Gets the quota usage information of an app (or deployment slot, if specified).", - "operationId": "WebApps_ListUsages", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the app.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - }, - { - "name": "$filter", - "in": "query", - "description": "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]'.", - "type": "string", - "x-ms-skip-url-encoding": true - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/CsmUsageQuotaCollection" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/virtualNetworkConnections": { - "get": { - "tags": [ - "WebApps" - ], - "summary": "Gets the virtual networks the app (or deployment slot) is connected to.", - "description": "Description for Gets the virtual networks the app (or deployment slot) is connected to.", - "operationId": "WebApps_ListVnetConnections", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the app.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "array", - "items": { - "$ref": "./CommonDefinitions.json#/definitions/VnetInfoResource" - } - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/virtualNetworkConnections/{vnetName}": { - "get": { - "tags": [ - "WebApps" - ], - "summary": "Gets a virtual network the app (or deployment slot) is connected to by name.", - "description": "Description for Gets a virtual network the app (or deployment slot) is connected to by name.", - "operationId": "WebApps_GetVnetConnection", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the app.", - "required": true, - "type": "string" - }, - { - "name": "vnetName", - "in": "path", - "description": "Name of the virtual network.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/VnetInfoResource" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - }, - "put": { - "tags": [ - "WebApps" - ], - "summary": "Adds a Virtual Network connection to an app or slot (PUT) or updates the connection properties (PATCH).", - "description": "Description for Adds a Virtual Network connection to an app or slot (PUT) or updates the connection properties (PATCH).", - "operationId": "WebApps_CreateOrUpdateVnetConnection", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the app.", - "required": true, - "type": "string" - }, - { - "name": "vnetName", - "in": "path", - "description": "Name of an existing Virtual Network.", - "required": true, - "type": "string" - }, - { - "name": "connectionEnvelope", - "in": "body", - "description": "Properties of the Virtual Network connection. See example.", - "required": true, - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/VnetInfoResource" - } - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/VnetInfoResource" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - }, - "delete": { - "tags": [ - "WebApps" - ], - "summary": "Deletes a connection from an app (or deployment slot to a named virtual network.", - "description": "Description for Deletes a connection from an app (or deployment slot to a named virtual network.", - "operationId": "WebApps_DeleteVnetConnection", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the app.", - "required": true, - "type": "string" - }, - { - "name": "vnetName", - "in": "path", - "description": "Name of the virtual network.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Successfully deleted virtual network." - }, - "404": { - "description": "Virtual network does not exist.", - "x-ms-error-response": true - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - }, - "patch": { - "tags": [ - "WebApps" - ], - "summary": "Adds a Virtual Network connection to an app or slot (PUT) or updates the connection properties (PATCH).", - "description": "Description for Adds a Virtual Network connection to an app or slot (PUT) or updates the connection properties (PATCH).", - "operationId": "WebApps_UpdateVnetConnection", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the app.", - "required": true, - "type": "string" - }, - { - "name": "vnetName", - "in": "path", - "description": "Name of an existing Virtual Network.", - "required": true, - "type": "string" - }, - { - "name": "connectionEnvelope", - "in": "body", - "description": "Properties of the Virtual Network connection. See example.", - "required": true, - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/VnetInfoResource" - } - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/VnetInfoResource" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/virtualNetworkConnections/{vnetName}/gateways/{gatewayName}": { - "get": { - "tags": [ - "WebApps" - ], - "summary": "Gets an app's Virtual Network gateway.", - "description": "Description for Gets an app's Virtual Network gateway.", - "operationId": "WebApps_GetVnetConnectionGateway", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the app.", - "required": true, - "type": "string" - }, - { - "name": "vnetName", - "in": "path", - "description": "Name of the Virtual Network.", - "required": true, - "type": "string" - }, - { - "name": "gatewayName", - "in": "path", - "description": "Name of the gateway. Currently, the only supported string is \"primary\".", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/VnetGateway" - } - }, - "404": { - "description": "Named gateway does not exist. Only the \"primary\" gateway is supported currently.", - "x-ms-error-response": true - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - }, - "put": { - "tags": [ - "WebApps" - ], - "summary": "Adds a gateway to a connected Virtual Network (PUT) or updates it (PATCH).", - "description": "Description for Adds a gateway to a connected Virtual Network (PUT) or updates it (PATCH).", - "operationId": "WebApps_CreateOrUpdateVnetConnectionGateway", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the app.", - "required": true, - "type": "string" - }, - { - "name": "vnetName", - "in": "path", - "description": "Name of the Virtual Network.", - "required": true, - "type": "string" - }, - { - "name": "gatewayName", - "in": "path", - "description": "Name of the gateway. Currently, the only supported string is \"primary\".", - "required": true, - "type": "string" - }, - { - "name": "connectionEnvelope", - "in": "body", - "description": "The properties to update this gateway with.", - "required": true, - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/VnetGateway" - } - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/VnetGateway" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - }, - "patch": { - "tags": [ - "WebApps" - ], - "summary": "Adds a gateway to a connected Virtual Network (PUT) or updates it (PATCH).", - "description": "Description for Adds a gateway to a connected Virtual Network (PUT) or updates it (PATCH).", - "operationId": "WebApps_UpdateVnetConnectionGateway", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the app.", - "required": true, - "type": "string" - }, - { - "name": "vnetName", - "in": "path", - "description": "Name of the Virtual Network.", - "required": true, - "type": "string" - }, - { - "name": "gatewayName", - "in": "path", - "description": "Name of the gateway. Currently, the only supported string is \"primary\".", - "required": true, - "type": "string" - }, - { - "name": "connectionEnvelope", - "in": "body", - "description": "The properties to update this gateway with.", - "required": true, - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/VnetGateway" - } - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/VnetGateway" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/webjobs": { - "get": { - "tags": [ - "WebApps" - ], - "summary": "List webjobs for an app, or a deployment slot.", - "description": "Description for List webjobs for an app, or a deployment slot.", - "operationId": "WebApps_ListWebJobs", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Site name.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/WebJobCollection" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/webjobs/{webJobName}": { - "get": { - "tags": [ - "WebApps" - ], - "summary": "Get webjob information for an app, or a deployment slot.", - "description": "Description for Get webjob information for an app, or a deployment slot.", - "operationId": "WebApps_GetWebJob", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Site name.", - "required": true, - "type": "string" - }, - { - "name": "webJobName", - "in": "path", - "description": "Name of the web job.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/WebJob" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/deployWorkflowArtifacts": { - "post": { - "tags": [ - "WebApps" - ], - "summary": "Creates the artifacts for web site, or a deployment slot.", - "description": "Description for Creates the artifacts for web site, or a deployment slot.", - "operationId": "WebApps_DeployWorkflowArtifacts", - "parameters": [ - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "$ref": "#/parameters/siteNameParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - }, - { - "name": "workflowArtifacts", - "in": "body", - "description": "Application settings and files of the workflow.", - "required": false, - "x-ms-secret": true, - "schema": { - "$ref": "#/definitions/WorkflowArtifacts" - } - } - ], - "responses": { - "200": { - "description": "Artifacts deployed." - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "Deploys workflow artifacts": { - "$ref": "./examples/PostDeployWorkflowArtifacts.json" - }, - "Delete workflow artifacts": { - "$ref": "./examples/DeleteDeployWorkflowArtifacts.json" - } - }, - "x-ms-long-running-operation": false - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/deployWorkflowArtifacts": { - "post": { - "tags": [ - "WebApps" - ], - "summary": "Creates the artifacts for web site, or a deployment slot.", - "description": "Description for Creates the artifacts for web site, or a deployment slot.", - "operationId": "WebApps_DeployWorkflowArtifactsSlot", - "parameters": [ - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "$ref": "#/parameters/siteNameParameter" - }, - { - "$ref": "#/parameters/slotNameParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - }, - { - "name": "workflowArtifacts", - "in": "body", - "description": "Application settings and files of the workflow.", - "required": false, - "x-ms-secret": true, - "schema": { - "$ref": "#/definitions/WorkflowArtifacts" - } - } - ], - "responses": { - "200": { - "description": "Artifacts deployed." - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "Deploys workflow artifacts slot": { - "$ref": "./examples/PostDeployWorkflowArtifactsSlot.json" - } - }, - "x-ms-long-running-operation": false - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/workflows": { - "get": { - "tags": [ - "WebApps" - ], - "summary": "List the workflows for a web site, or a deployment slot.", - "operationId": "WebApps_ListInstanceWorkflowsSlot", - "parameters": [ - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "$ref": "#/parameters/siteNameParameter" - }, - { - "$ref": "#/parameters/slotNameParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Workflow information returned.", - "schema": { - "$ref": "#/definitions/WorkflowEnvelopeCollection" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "List the workflows Slot": { - "$ref": "./examples/ListWorkflows.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/workflows/{workflowName}": { - "get": { - "tags": [ - "WebApps" - ], - "summary": "Get workflow information by its ID for web site, or a deployment slot.", - "operationId": "WebApps_GetInstanceWorkflowSlot", - "parameters": [ - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "$ref": "#/parameters/siteNameParameter" - }, - { - "$ref": "#/parameters/slotNameParameter" - }, - { - "name": "workflowName", - "in": "path", - "description": "Workflow name.", - "required": true, - "type": "string", - "pattern": "^[a-z][a-z0-9]*$", - "minLength": 3, - "maxLength": 63 - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Workflow information returned.", - "schema": { - "$ref": "#/definitions/WorkflowEnvelope" - } - }, - "404": { - "description": "Workflow with a name of {workflowName} does not exist.", - "x-ms-error-response": true - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "GET a workflow Slot": { - "$ref": "./examples/GetWorkflow.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/listWorkflowsConnections": { - "post": { - "tags": [ - "WebApps" - ], - "summary": "Lists logic app's connections for web site, or a deployment slot.", - "operationId": "WebApps_ListWorkflowsConnectionsSlot", - "parameters": [ - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "$ref": "#/parameters/siteNameParameter" - }, - { - "$ref": "#/parameters/slotNameParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Connections information returned.", - "schema": { - "$ref": "#/definitions/WorkflowEnvelope" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "List the Instance Workflows Configuration Connections Slot": { - "$ref": "./examples/ListWorkflowsConfigurationConnections.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/workflows": { - "get": { - "tags": [ - "WebApps" - ], - "summary": "List the workflows for a web site, or a deployment slot.", - "operationId": "WebApps_ListWorkflows", - "parameters": [ - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "$ref": "#/parameters/siteNameParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Workflow information returned.", - "schema": { - "$ref": "#/definitions/WorkflowEnvelopeCollection" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "List the workflows": { - "$ref": "./examples/ListWorkflows.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/workflows/{workflowName}": { - "get": { - "tags": [ - "WebApps" - ], - "summary": "Get workflow information by its ID for web site, or a deployment slot.", - "operationId": "WebApps_GetWorkflow", - "parameters": [ - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "$ref": "#/parameters/siteNameParameter" - }, - { - "name": "workflowName", - "in": "path", - "description": "Workflow name.", - "required": true, - "type": "string", - "pattern": "^[a-z][a-z0-9]*$", - "minLength": 3, - "maxLength": 63 - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Workflow information returned.", - "schema": { - "$ref": "#/definitions/WorkflowEnvelope" - } - }, - "404": { - "description": "Workflow with a name of {workflowName} does not exist.", - "x-ms-error-response": true - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "GET a workflow": { - "$ref": "./examples/GetWorkflow.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/listWorkflowsConnections": { - "post": { - "tags": [ - "WebApps" - ], - "summary": "Lists logic app's connections for web site, or a deployment slot.", - "operationId": "WebApps_ListWorkflowsConnections", - "parameters": [ - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "$ref": "#/parameters/siteNameParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Connections information returned.", - "schema": { - "$ref": "#/definitions/WorkflowEnvelope" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "List the Instance Workflows Configuration Connections": { - "$ref": "./examples/ListWorkflowsConfigurationConnections.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hostruntime/runtime/webhooks/workflow/api/management/workflows/{workflowName}/regenerateAccessKey": { - "post": { - "tags": [ - "Workflows" - ], - "operationId": "Workflows_RegenerateAccessKey", - "description": "Regenerates the callback URL access key for request triggers.", - "x-ms-examples": { - "Regenerate the callback URL access key for request triggers": { - "$ref": "./examples/Workflows_RegenerateAccessKey.json" - } - }, - "parameters": [ - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "$ref": "#/parameters/siteNameParameter" - }, - { - "name": "workflowName", - "description": "The workflow name.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "keyType", - "description": "The access key type.", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/RegenerateActionParameter" - } - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK" - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/ErrorResponse" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hostruntime/runtime/webhooks/workflow/api/management/workflows/{workflowName}/runs": { - "get": { - "tags": [ - "WorkflowRuns" - ], - "operationId": "WorkflowRuns_List", - "description": "Gets a list of workflow runs.", - "x-ms-examples": { - "List workflow runs": { - "$ref": "./examples/WorkflowRuns_List.json" - } - }, - "parameters": [ - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "$ref": "#/parameters/siteNameParameter" - }, - { - "name": "workflowName", - "description": "The workflow name.", - "in": "path", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/apiVersionParameter" - }, - { - "name": "$top", - "description": "The number of items to be included in the result.", - "in": "query", - "required": false, - "type": "integer", - "format": "int32" - }, - { - "name": "$filter", - "description": "The filter to apply on the operation. Options for filters include: Status, StartTime, and ClientTrackingId.", - "in": "query", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/WorkflowRunListResult" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/ErrorResponse" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, - "x-ms-odata": "#/definitions/WorkflowRunFilter" - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hostruntime/runtime/webhooks/workflow/api/management/workflows/{workflowName}/runs/{runName}": { - "get": { - "tags": [ - "WorkflowRuns" - ], - "operationId": "WorkflowRuns_Get", - "description": "Gets a workflow run.", - "x-ms-examples": { - "Get a run for a workflow": { - "$ref": "./examples/WorkflowRuns_Get.json" - } - }, - "parameters": [ - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "$ref": "#/parameters/siteNameParameter" - }, - { - "name": "workflowName", - "description": "The workflow name.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "runName", - "description": "The workflow run name.", - "in": "path", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/WorkflowRun" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/ErrorResponse" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hostruntime/runtime/webhooks/workflow/api/management/workflows/{workflowName}/runs/{runName}/actions": { - "get": { - "tags": [ - "WorkflowRunActions" - ], - "operationId": "WorkflowRunActions_List", - "description": "Gets a list of workflow run actions.", - "x-ms-examples": { - "List a workflow run actions": { - "$ref": "./examples/WorkflowRunActions_List.json" - } - }, - "parameters": [ - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "$ref": "#/parameters/siteNameParameter" - }, - { - "name": "workflowName", - "description": "The workflow name.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "runName", - "description": "The workflow run name.", - "in": "path", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/apiVersionParameter" - }, - { - "name": "$top", - "description": "The number of items to be included in the result.", - "in": "query", - "required": false, - "type": "integer", - "format": "int32" - }, - { - "name": "$filter", - "description": "The filter to apply on the operation. Options for filters include: Status.", - "in": "query", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/WorkflowRunActionListResult" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/ErrorResponse" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, - "x-ms-odata": "#/definitions/WorkflowRunActionFilter" - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hostruntime/runtime/webhooks/workflow/api/management/workflows/{workflowName}/runs/{runName}/actions/{actionName}": { - "get": { - "tags": [ - "WorkflowRunActions" - ], - "operationId": "WorkflowRunActions_Get", - "description": "Gets a workflow run action.", - "x-ms-examples": { - "Get a workflow run action": { - "$ref": "./examples/WorkflowRunActions_Get.json" - } - }, - "parameters": [ - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "$ref": "#/parameters/siteNameParameter" - }, - { - "name": "workflowName", - "description": "The workflow name.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "runName", - "description": "The workflow run name.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "actionName", - "description": "The workflow action name.", - "in": "path", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/WorkflowRunAction" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/ErrorResponse" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hostruntime/runtime/webhooks/workflow/api/management/workflows/{workflowName}/runs/{runName}/actions/{actionName}/listExpressionTraces": { - "post": { - "tags": [ - "WorkflowRunActions" - ], - "operationId": "WorkflowRunActions_ListExpressionTraces", - "description": "Lists a workflow run expression trace.", - "x-ms-examples": { - "List expression traces": { - "$ref": "./examples/WorkflowRunActions_ListExpressionTraces.json" - } - }, - "parameters": [ - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "$ref": "#/parameters/siteNameParameter" - }, - { - "name": "workflowName", - "description": "The workflow name.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "runName", - "description": "The workflow run name.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "actionName", - "description": "The workflow action name.", - "in": "path", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/ExpressionTraces" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/ErrorResponse" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink", - "itemName": "inputs" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hostruntime/runtime/webhooks/workflow/api/management/workflows/{workflowName}/runs/{runName}/actions/{actionName}/repetitions": { - "get": { - "tags": [ - "WorkflowRunActions" - ], - "operationId": "WorkflowRunActionRepetitions_List", - "description": "Get all of a workflow run action repetitions.", - "x-ms-examples": { - "List repetitions": { - "$ref": "./examples/WorkflowRunActionRepetitions_List.json" - } - }, - "parameters": [ - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "$ref": "#/parameters/siteNameParameter" - }, - { - "name": "workflowName", - "description": "The workflow name.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "runName", - "description": "The workflow run name.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "actionName", - "description": "The workflow action name.", - "in": "path", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/WorkflowRunActionRepetitionDefinitionCollection" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/ErrorResponse" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hostruntime/runtime/webhooks/workflow/api/management/workflows/{workflowName}/runs/{runName}/actions/{actionName}/repetitions/{repetitionName}": { - "get": { - "tags": [ - "WorkflowRunActions" - ], - "operationId": "WorkflowRunActionRepetitions_Get", - "description": "Get a workflow run action repetition.", - "x-ms-examples": { - "Get a repetition": { - "$ref": "./examples/WorkflowRunActionRepetitions_Get.json" - } - }, - "parameters": [ - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "$ref": "#/parameters/siteNameParameter" - }, - { - "name": "workflowName", - "description": "The workflow name.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "runName", - "description": "The workflow run name.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "actionName", - "description": "The workflow action name.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "repetitionName", - "description": "The workflow repetition.", - "in": "path", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/WorkflowRunActionRepetitionDefinition" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/ErrorResponse" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hostruntime/runtime/webhooks/workflow/api/management/workflows/{workflowName}/runs/{runName}/actions/{actionName}/repetitions/{repetitionName}/listExpressionTraces": { - "post": { - "tags": [ - "WorkflowRunActions" - ], - "operationId": "WorkflowRunActionRepetitions_ListExpressionTraces", - "description": "Lists a workflow run expression trace.", - "x-ms-examples": { - "List expression traces for a repetition": { - "$ref": "./examples/WorkflowRunActionRepetitions_ListExpressionTraces.json" - } - }, - "parameters": [ - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "$ref": "#/parameters/siteNameParameter" - }, - { - "name": "workflowName", - "description": "The workflow name.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "runName", - "description": "The workflow run name.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "actionName", - "description": "The workflow action name.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "repetitionName", - "description": "The workflow repetition.", - "in": "path", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/ExpressionTraces" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/ErrorResponse" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink", - "itemName": "inputs" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hostruntime/runtime/webhooks/workflow/api/management/workflows/{workflowName}/runs/{runName}/actions/{actionName}/repetitions/{repetitionName}/requestHistories": { - "get": { - "tags": [ - "WorkflowRunActions" - ], - "operationId": "WorkflowRunActionRepetitionsRequestHistories_List", - "description": "List a workflow run repetition request history.", - "x-ms-examples": { - "List repetition request history": { - "$ref": "./examples/WorkflowRunActionRepetitionsRequestHistories_List.json" - } - }, - "parameters": [ - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "$ref": "#/parameters/siteNameParameter" - }, - { - "name": "workflowName", - "description": "The workflow name.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "runName", - "description": "The workflow run name.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "actionName", - "description": "The workflow action name.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "repetitionName", - "description": "The workflow repetition.", - "in": "path", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/RequestHistoryListResult" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/ErrorResponse" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hostruntime/runtime/webhooks/workflow/api/management/workflows/{workflowName}/runs/{runName}/actions/{actionName}/repetitions/{repetitionName}/requestHistories/{requestHistoryName}": { - "get": { - "tags": [ - "WorkflowRunActions" - ], - "operationId": "WorkflowRunActionRepetitionsRequestHistories_Get", - "description": "Gets a workflow run repetition request history.", - "x-ms-examples": { - "Get a repetition request history": { - "$ref": "./examples/WorkflowRunActionRepetitionsRequestHistories_Get.json" - } - }, - "parameters": [ - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "$ref": "#/parameters/siteNameParameter" - }, - { - "name": "workflowName", - "description": "The workflow name.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "runName", - "description": "The workflow run name.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "actionName", - "description": "The workflow action name.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "repetitionName", - "description": "The workflow repetition.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "requestHistoryName", - "description": "The request history name.", - "in": "path", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/RequestHistory" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/ErrorResponse" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hostruntime/runtime/webhooks/workflow/api/management/workflows/{workflowName}/runs/{runName}/actions/{actionName}/scopeRepetitions": { - "get": { - "tags": [ - "WorkflowRunActions" - ], - "operationId": "WorkflowRunActionScopeRepetitions_List", - "description": "List the workflow run action scoped repetitions.", - "x-ms-examples": { - "List the scoped repetitions": { - "$ref": "./examples/WorkflowRunActionScopeRepetitions_List.json" - } - }, - "parameters": [ - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "$ref": "#/parameters/siteNameParameter" - }, - { - "name": "workflowName", - "description": "The workflow name.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "runName", - "description": "The workflow run name.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "actionName", - "description": "The workflow action name.", - "in": "path", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/WorkflowRunActionRepetitionDefinitionCollection" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/ErrorResponse" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hostruntime/runtime/webhooks/workflow/api/management/workflows/{workflowName}/runs/{runName}/actions/{actionName}/scopeRepetitions/{repetitionName}": { - "get": { - "tags": [ - "WorkflowRunActions" - ], - "operationId": "WorkflowRunActionScopeRepetitions_Get", - "description": "Get a workflow run action scoped repetition.", - "x-ms-examples": { - "Get a scoped repetition": { - "$ref": "./examples/WorkflowRunActionScopeRepetitions_Get.json" - } - }, - "parameters": [ - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "$ref": "#/parameters/siteNameParameter" - }, - { - "name": "workflowName", - "description": "The workflow name.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "runName", - "description": "The workflow run name.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "actionName", - "description": "The workflow action name.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "repetitionName", - "description": "The workflow repetition.", - "in": "path", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/WorkflowRunActionRepetitionDefinition" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/ErrorResponse" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hostruntime/runtime/webhooks/workflow/api/management/workflows/{workflowName}/runs/{runName}/cancel": { - "post": { - "tags": [ - "WorkflowRuns" - ], - "operationId": "WorkflowRuns_Cancel", - "description": "Cancels a workflow run.", - "x-ms-examples": { - "Cancel a workflow run": { - "$ref": "./examples/WorkflowRuns_Cancel.json" - } - }, - "parameters": [ - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "$ref": "#/parameters/siteNameParameter" - }, - { - "name": "workflowName", - "description": "The workflow name.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "runName", - "description": "The workflow run name.", - "in": "path", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK" - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/ErrorResponse" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hostruntime/runtime/webhooks/workflow/api/management/workflows/{workflowName}/triggers": { - "get": { - "tags": [ - "WorkflowTriggers" - ], - "operationId": "WorkflowTriggers_List", - "description": "Gets a list of workflow triggers.", - "x-ms-examples": { - "List workflow triggers": { - "$ref": "./examples/WorkflowTriggers_List.json" - } - }, - "parameters": [ - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "$ref": "#/parameters/siteNameParameter" - }, - { - "name": "workflowName", - "description": "The workflow name.", - "in": "path", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/apiVersionParameter" - }, - { - "name": "$top", - "description": "The number of items to be included in the result.", - "in": "query", - "required": false, - "type": "integer", - "format": "int32" - }, - { - "name": "$filter", - "description": "The filter to apply on the operation.", - "in": "query", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/WorkflowTriggerListResult" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/ErrorResponse" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, - "x-ms-odata": "#/definitions/WorkflowTriggerFilter" - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hostruntime/runtime/webhooks/workflow/api/management/workflows/{workflowName}/triggers/{triggerName}": { - "get": { - "tags": [ - "WorkflowTriggers" - ], - "operationId": "WorkflowTriggers_Get", - "description": "Gets a workflow trigger.", - "x-ms-examples": { - "Get a workflow trigger": { - "$ref": "./examples/WorkflowTriggers_Get.json" - } - }, - "parameters": [ - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "$ref": "#/parameters/siteNameParameter" - }, - { - "name": "workflowName", - "description": "The workflow name.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "triggerName", - "description": "The workflow trigger name.", - "in": "path", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/WorkflowTrigger" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/ErrorResponse" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hostruntime/runtime/webhooks/workflow/api/management/workflows/{workflowName}/triggers/{triggerName}/histories": { - "get": { - "tags": [ - "WorkflowTriggerHistories" - ], - "operationId": "WorkflowTriggerHistories_List", - "description": "Gets a list of workflow trigger histories.", - "x-ms-examples": { - "List a workflow trigger history": { - "$ref": "./examples/WorkflowTriggerHistories_List.json" - } - }, - "parameters": [ - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "$ref": "#/parameters/siteNameParameter" - }, - { - "name": "workflowName", - "description": "The workflow name.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "triggerName", - "description": "The workflow trigger name.", - "in": "path", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/apiVersionParameter" - }, - { - "name": "$top", - "description": "The number of items to be included in the result.", - "in": "query", - "required": false, - "type": "integer", - "format": "int32" - }, - { - "name": "$filter", - "description": "The filter to apply on the operation. Options for filters include: Status, StartTime, and ClientTrackingId.", - "in": "query", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/WorkflowTriggerHistoryListResult" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/ErrorResponse" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, - "x-ms-odata": "#/definitions/WorkflowTriggerHistoryFilter" - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hostruntime/runtime/webhooks/workflow/api/management/workflows/{workflowName}/triggers/{triggerName}/histories/{historyName}": { - "get": { - "tags": [ - "WorkflowTriggerHistories" - ], - "operationId": "WorkflowTriggerHistories_Get", - "description": "Gets a workflow trigger history.", - "x-ms-examples": { - "Get a workflow trigger history": { - "$ref": "./examples/WorkflowTriggerHistories_Get.json" - } - }, - "parameters": [ - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "$ref": "#/parameters/siteNameParameter" - }, - { - "name": "workflowName", - "description": "The workflow name.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "triggerName", - "description": "The workflow trigger name.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "historyName", - "description": "The workflow trigger history name. Corresponds to the run name for triggers that resulted in a run.", - "in": "path", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/WorkflowTriggerHistory" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/ErrorResponse" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hostruntime/runtime/webhooks/workflow/api/management/workflows/{workflowName}/triggers/{triggerName}/histories/{historyName}/resubmit": { - "post": { - "tags": [ - "WorkflowTriggerHistories" - ], - "operationId": "WorkflowTriggerHistories_Resubmit", - "description": "Resubmits a workflow run based on the trigger history.", - "x-ms-examples": { - "Resubmit a workflow run based on the trigger history": { - "$ref": "./examples/WorkflowTriggerHistories_Resubmit.json" - } - }, - "parameters": [ - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "$ref": "#/parameters/siteNameParameter" - }, - { - "name": "workflowName", - "description": "The workflow name.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "triggerName", - "description": "The workflow trigger name.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "historyName", - "description": "The workflow trigger history name. Corresponds to the run name for triggers that resulted in a run.", - "in": "path", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "202": { - "description": "OK" - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/ErrorResponse" - } - } - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hostruntime/runtime/webhooks/workflow/api/management/workflows/{workflowName}/triggers/{triggerName}/listCallbackUrl": { - "post": { - "tags": [ - "WorkflowTriggers" - ], - "operationId": "WorkflowTriggers_ListCallbackUrl", - "description": "Get the callback URL for a workflow trigger.", - "x-ms-examples": { - "Get the callback URL for a trigger": { - "$ref": "./examples/WorkflowTriggers_ListCallbackUrl.json" - } - }, - "parameters": [ - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "$ref": "#/parameters/siteNameParameter" - }, - { - "name": "workflowName", - "description": "The workflow name.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "triggerName", - "description": "The workflow trigger name.", - "in": "path", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/WorkflowTriggerCallbackUrl" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/ErrorResponse" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hostruntime/runtime/webhooks/workflow/api/management/workflows/{workflowName}/triggers/{triggerName}/run": { - "post": { - "tags": [ - "WorkflowTriggers" - ], - "operationId": "WorkflowTriggers_Run", - "description": "Runs a workflow trigger.", - "x-ms-examples": { - "Run a workflow trigger": { - "$ref": "./examples/WorkflowTriggers_Run.json" - } - }, - "parameters": [ - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "$ref": "#/parameters/siteNameParameter" - }, - { - "name": "workflowName", - "description": "The workflow name.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "triggerName", - "description": "The workflow trigger name.", - "in": "path", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK" - }, - "202": { - "description": "Accepted" - }, - "default": { - "description": "Error response describing why the trigger run failed.", - "schema": { - "$ref": "#/definitions/ErrorResponse" - } - } - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hostruntime/runtime/webhooks/workflow/api/management/workflows/{workflowName}/triggers/{triggerName}/schemas/json": { - "get": { - "tags": [ - "WorkflowTriggers" - ], - "operationId": "WorkflowTriggers_GetSchemaJson", - "description": "Get the trigger schema as JSON.", - "x-ms-examples": { - "Get trigger schema": { - "$ref": "./examples/WorkflowTriggers_GetSchemaJson.json" - } - }, - "parameters": [ - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "$ref": "#/parameters/siteNameParameter" - }, - { - "name": "workflowName", - "description": "The workflow name.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "triggerName", - "description": "The workflow trigger name.", - "in": "path", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JsonSchema" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/ErrorResponse" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hostruntime/runtime/webhooks/workflow/api/management/workflows/{workflowName}/validate": { - "post": { - "tags": [ - "Workflows" - ], - "operationId": "Workflows_Validate", - "description": "Validates the workflow definition.", - "x-ms-examples": { - "Validate a workflow": { - "$ref": "./examples/Workflows_Validate.json" - } - }, - "parameters": [ - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "$ref": "#/parameters/siteNameParameter" - }, - { - "name": "workflowName", - "description": "The workflow name.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "validate", - "description": "The workflow.", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/Workflow" - } - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK" - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/ErrorResponse" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hostruntime/runtime/webhooks/workflow/api/management/workflows/{workflowName}/versions": { - "get": { - "tags": [ - "WorkflowVersions" - ], - "operationId": "WorkflowVersions_List", - "description": "Gets a list of workflow versions.", - "x-ms-examples": { - "List a workflows versions": { - "$ref": "./examples/WorkflowVersions_List.json" - } - }, - "parameters": [ - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "$ref": "#/parameters/siteNameParameter" - }, - { - "name": "workflowName", - "description": "The workflow name.", - "in": "path", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/apiVersionParameter" - }, - { - "name": "$top", - "description": "The number of items to be included in the result.", - "in": "query", - "required": false, - "type": "integer", - "format": "int32" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/WorkflowVersionListResult" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/ErrorResponse" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hostruntime/runtime/webhooks/workflow/api/management/workflows/{workflowName}/versions/{versionId}": { - "get": { - "tags": [ - "WorkflowVersions" - ], - "operationId": "WorkflowVersions_Get", - "description": "Gets a workflow version.", - "x-ms-examples": { - "Get a workflow version": { - "$ref": "./examples/WorkflowVersions_Get.json" - } - }, - "parameters": [ - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "$ref": "#/parameters/siteNameParameter" - }, - { - "name": "workflowName", - "description": "The workflow name.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "versionId", - "description": "The workflow versionId.", - "in": "path", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/WorkflowVersion" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/ErrorResponse" - } - } - } - } - } - }, - "definitions": { - "AllowedAudiencesValidation": { - "description": "The configuration settings of the Allowed Audiences validation flow.", - "type": "object", - "properties": { - "allowedAudiences": { - "description": "The configuration settings of the allowed list of audiences from which to validate the JWT token.", - "type": "array", - "items": { - "type": "string" - } - } - } - }, - "AllowedPrincipals": { - "description": "The configuration settings of the Azure Active Directory allowed principals.", - "type": "object", - "properties": { - "groups": { - "description": "The list of the allowed groups.", - "type": "array", - "items": { - "type": "string" - } - }, - "identities": { - "description": "The list of the allowed identities.", - "type": "array", - "items": { - "type": "string" - } - } - } - }, - "ApiKVReference": { - "description": "Description of site key vault references.", - "type": "object", - "allOf": [ - { - "$ref": "./CommonDefinitions.json#/definitions/ProxyOnlyResource" - } - ], - "properties": { - "properties": { - "description": "ApiKVReference resource specific properties", - "type": "object", - "properties": { - "reference": { - "type": "string" - }, - "status": { - "enum": [ - "Initialized", - "Resolved", - "InvalidSyntax", - "MSINotEnabled", - "VaultNotFound", - "SecretNotFound", - "SecretVersionNotFound", - "AccessToKeyVaultDenied", - "OtherReasons", - "FetchTimedOut", - "UnauthorizedClient" - ], - "type": "string", - "x-ms-enum": { - "name": "ResolveStatus", - "modelAsString": false - } - }, - "vaultName": { - "type": "string" - }, - "secretName": { - "type": "string" - }, - "secretVersion": { - "type": "string" - }, - "identityType": { - "$ref": "./CommonDefinitions.json#/definitions/ManagedServiceIdentity" - }, - "details": { - "type": "string" - }, - "source": { - "enum": [ - "KeyVault" - ], - "type": "string", - "x-ms-enum": { - "name": "ConfigReferenceSource", - "modelAsString": false - } - }, - "activeVersion": { - "type": "string" - } - }, - "x-ms-client-flatten": true - } - } - }, - "ApiKVReferenceCollection": { - "required": [ - "value" - ], - "type": "object", - "properties": { - "value": { - "description": "Collection of resources.", - "type": "array", - "items": { - "$ref": "#/definitions/ApiKVReference" - } - }, - "nextLink": { - "description": "Link to next page of resources.", - "type": "string", - "readOnly": true - } - } - }, - "AppRegistration": { - "description": "The configuration settings of the app registration for providers that have app ids and app secrets", - "type": "object", - "properties": { - "appId": { - "description": "The App ID of the app used for login.", - "type": "string" - }, - "appSecretSettingName": { - "description": "The app setting name that contains the app secret.", - "type": "string" - } - } - }, - "Apple": { - "description": "The configuration settings of the Apple provider.", - "type": "object", - "properties": { - "enabled": { - "description": "false if the Apple provider should not be enabled despite the set registration; otherwise, true.", - "type": "boolean" - }, - "registration": { - "$ref": "#/definitions/AppleRegistration", - "description": "The configuration settings of the Apple registration." - }, - "login": { - "$ref": "#/definitions/LoginScopes", - "description": "The configuration settings of the login flow." - } - } - }, - "AppleRegistration": { - "description": "The configuration settings of the registration for the Apple provider", - "type": "object", - "properties": { - "clientId": { - "description": "The Client ID of the app used for login.", - "type": "string" - }, - "clientSecretSettingName": { - "description": "The app setting name that contains the client secret.", - "type": "string" - } - } - }, - "ApplicationLogsConfig": { - "description": "Application logs configuration.", - "type": "object", - "properties": { - "fileSystem": { - "$ref": "#/definitions/FileSystemApplicationLogsConfig", - "description": "Application logs to file system configuration." - }, - "azureTableStorage": { - "$ref": "#/definitions/AzureTableStorageApplicationLogsConfig", - "description": "Application logs to azure table storage configuration." - }, - "azureBlobStorage": { - "$ref": "#/definitions/AzureBlobStorageApplicationLogsConfig", - "description": "Application logs to blob storage configuration." - } - } - }, - "AuthPlatform": { - "description": "The configuration settings of the platform of App Service Authentication/Authorization.", - "type": "object", - "properties": { - "enabled": { - "description": "true if the Authentication / Authorization feature is enabled for the current app; otherwise, false.", - "type": "boolean" - }, - "runtimeVersion": { - "description": "The RuntimeVersion of the Authentication / Authorization feature in use for the current app.\nThe setting in this value can control the behavior of certain features in the Authentication / Authorization module.", - "type": "string" - }, - "configFilePath": { - "description": "The path of the config file containing auth settings if they come from a file.\nIf the path is relative, base will the site's root directory.", - "type": "string" - } - } - }, - "AzureActiveDirectory": { - "description": "The configuration settings of the Azure Active directory provider.", - "type": "object", - "properties": { - "enabled": { - "description": "false if the Azure Active Directory provider should not be enabled despite the set registration; otherwise, true.", - "type": "boolean" - }, - "registration": { - "$ref": "#/definitions/AzureActiveDirectoryRegistration", - "description": "The configuration settings of the Azure Active Directory app registration." - }, - "login": { - "$ref": "#/definitions/AzureActiveDirectoryLogin", - "description": "The configuration settings of the Azure Active Directory login flow." - }, - "validation": { - "$ref": "#/definitions/AzureActiveDirectoryValidation", - "description": "The configuration settings of the Azure Active Directory token validation flow." - }, - "isAutoProvisioned": { - "description": "Gets a value indicating whether the Azure AD configuration was auto-provisioned using 1st party tooling.\nThis is an internal flag primarily intended to support the Azure Management Portal. Users should not\nread or write to this property.", - "type": "boolean" - } - } - }, - "AzureActiveDirectoryLogin": { - "description": "The configuration settings of the Azure Active Directory login flow.", - "type": "object", - "properties": { - "loginParameters": { - "description": "Login parameters to send to the OpenID Connect authorization endpoint when\na user logs in. Each parameter must be in the form \"key=value\".", - "type": "array", - "items": { - "type": "string" - } - }, - "disableWWWAuthenticate": { - "description": "true if the www-authenticate provider should be omitted from the request; otherwise, false.", - "type": "boolean" - } - } - }, - "AzureActiveDirectoryRegistration": { - "description": "The configuration settings of the Azure Active Directory app registration.", - "type": "object", - "properties": { - "openIdIssuer": { - "description": "The OpenID Connect Issuer URI that represents the entity which issues access tokens for this application.\nWhen using Azure Active Directory, this value is the URI of the directory tenant, e.g. `https://login.microsoftonline.com/v2.0/{tenant-guid}/`.\nThis URI is a case-sensitive identifier for the token issuer.\nMore information on OpenID Connect Discovery: http://openid.net/specs/openid-connect-discovery-1_0.html", - "type": "string" - }, - "clientId": { - "description": "The Client ID of this relying party application, known as the client_id.\nThis setting is required for enabling OpenID Connection authentication with Azure Active Directory or \nother 3rd party OpenID Connect providers.\nMore information on OpenID Connect: http://openid.net/specs/openid-connect-core-1_0.html", - "type": "string" - }, - "clientSecretSettingName": { - "description": "The app setting name that contains the client secret of the relying party application.", - "type": "string" - }, - "clientSecretCertificateThumbprint": { - "description": "An alternative to the client secret, that is the thumbprint of a certificate used for signing purposes. This property acts as\na replacement for the Client Secret. It is also optional.", - "type": "string" - }, - "clientSecretCertificateSubjectAlternativeName": { - "description": "An alternative to the client secret thumbprint, that is the subject alternative name of a certificate used for signing purposes. This property acts as\na replacement for the Client Secret Certificate Thumbprint. It is also optional.", - "type": "string" - }, - "clientSecretCertificateIssuer": { - "description": "An alternative to the client secret thumbprint, that is the issuer of a certificate used for signing purposes. This property acts as\na replacement for the Client Secret Certificate Thumbprint. It is also optional.", - "type": "string" - } - } - }, - "AzureActiveDirectoryValidation": { - "description": "The configuration settings of the Azure Active Directory token validation flow.", - "type": "object", - "properties": { - "jwtClaimChecks": { - "$ref": "#/definitions/JwtClaimChecks", - "description": "The configuration settings of the checks that should be made while validating the JWT Claims." - }, - "allowedAudiences": { - "description": "The list of audiences that can make successful authentication/authorization requests.", - "type": "array", - "items": { - "type": "string" - } - }, - "defaultAuthorizationPolicy": { - "$ref": "#/definitions/DefaultAuthorizationPolicy", - "description": "The configuration settings of the default authorization policy." - } - } - }, - "AzureBlobStorageApplicationLogsConfig": { - "description": "Application logs azure blob storage configuration.", - "type": "object", - "properties": { - "level": { - "description": "Log level.", - "enum": [ - "Off", - "Verbose", - "Information", - "Warning", - "Error" - ], - "type": "string", - "x-ms-enum": { - "name": "LogLevel", - "modelAsString": false - } - }, - "sasUrl": { - "description": "SAS url to a azure blob container with read/write/list/delete permissions.", - "type": "string" - }, - "retentionInDays": { - "format": "int32", - "description": "Retention in days.\nRemove blobs older than X days.\n0 or lower means no retention.", - "type": "integer" - } - } - }, - "AzureBlobStorageHttpLogsConfig": { - "description": "Http logs to azure blob storage configuration.", - "type": "object", - "properties": { - "sasUrl": { - "description": "SAS url to a azure blob container with read/write/list/delete permissions.", - "type": "string" - }, - "retentionInDays": { - "format": "int32", - "description": "Retention in days.\nRemove blobs older than X days.\n0 or lower means no retention.", - "type": "integer" - }, - "enabled": { - "description": "True if configuration is enabled, false if it is disabled and null if configuration is not set.", - "type": "boolean" - } - } - }, - "AzureResourceErrorInfo": { - "type": "object", - "description": "The azure resource error info.", - "additionalProperties": false, - "required": [ - "message" - ], - "properties": { - "message": { - "type": "string", - "description": "The error message." - }, - "details": { - "type": "array", - "items": { - "$ref": "#/definitions/AzureResourceErrorInfo" - }, - "x-ms-identifiers": [ - "code" - ], - "description": "The error details." - } - }, - "allOf": [ - { - "$ref": "#/definitions/ErrorInfo" - } - ] - }, - "AzureStaticWebApps": { - "description": "The configuration settings of the Azure Static Web Apps provider.", - "type": "object", - "properties": { - "enabled": { - "description": "false if the Azure Static Web Apps provider should not be enabled despite the set registration; otherwise, true.", - "type": "boolean" - }, - "registration": { - "$ref": "#/definitions/AzureStaticWebAppsRegistration", - "description": "The configuration settings of the Azure Static Web Apps registration." - } - } - }, - "AzureStaticWebAppsRegistration": { - "description": "The configuration settings of the registration for the Azure Static Web Apps provider", - "type": "object", - "properties": { - "clientId": { - "description": "The Client ID of the app used for login.", - "type": "string" - } - } - }, - "AzureStoragePropertyDictionaryResource": { - "description": "AzureStorageInfo dictionary resource.", - "type": "object", - "allOf": [ - { - "$ref": "./CommonDefinitions.json#/definitions/ProxyOnlyResource" - } - ], - "properties": { - "properties": { - "description": "Azure storage accounts.", - "type": "object", - "additionalProperties": { - "$ref": "./CommonDefinitions.json#/definitions/AzureStorageInfoValue" - }, - "x-ms-client-flatten": true - } - } - }, - "AzureTableStorageApplicationLogsConfig": { - "description": "Application logs to Azure table storage configuration.", - "required": [ - "sasUrl" - ], - "type": "object", - "properties": { - "level": { - "description": "Log level.", - "enum": [ - "Off", - "Verbose", - "Information", - "Warning", - "Error" - ], - "type": "string", - "x-ms-enum": { - "name": "LogLevel", - "modelAsString": false - } - }, - "sasUrl": { - "description": "SAS URL to an Azure table with add/query/delete permissions.", - "type": "string" - } - } - }, - "BackupItem": { - "description": "Backup description.", - "type": "object", - "allOf": [ - { - "$ref": "./CommonDefinitions.json#/definitions/ProxyOnlyResource" - } - ], - "properties": { - "properties": { - "description": "BackupItem resource specific properties", - "type": "object", - "properties": { - "id": { - "format": "int32", - "description": "Id of the backup.", - "type": "integer", - "readOnly": true, - "x-ms-client-name": "BackupId" - }, - "storageAccountUrl": { - "description": "SAS URL for the storage account container which contains this backup.", - "type": "string", - "readOnly": true - }, - "blobName": { - "description": "Name of the blob which contains data for this backup.", - "type": "string", - "readOnly": true - }, - "name": { - "description": "Name of this backup.", - "type": "string", - "readOnly": true - }, - "status": { - "description": "Backup status.", - "enum": [ - "InProgress", - "Failed", - "Succeeded", - "TimedOut", - "Created", - "Skipped", - "PartiallySucceeded", - "DeleteInProgress", - "DeleteFailed", - "Deleted" - ], - "type": "string", - "readOnly": true, - "x-ms-enum": { - "name": "BackupItemStatus", - "modelAsString": false - } - }, - "sizeInBytes": { - "format": "int64", - "description": "Size of the backup in bytes.", - "type": "integer", - "readOnly": true - }, - "created": { - "format": "date-time", - "description": "Timestamp of the backup creation.", - "type": "string", - "readOnly": true - }, - "log": { - "description": "Details regarding this backup. Might contain an error message.", - "type": "string", - "readOnly": true - }, - "databases": { - "description": "List of databases included in the backup.", - "type": "array", - "items": { - "$ref": "#/definitions/DatabaseBackupSetting" - }, - "readOnly": true, - "x-ms-identifiers": [ - "name" - ] - }, - "scheduled": { - "description": "True if this backup has been created due to a schedule being triggered.", - "type": "boolean", - "readOnly": true - }, - "lastRestoreTimeStamp": { - "format": "date-time", - "description": "Timestamp of a last restore operation which used this backup.", - "type": "string", - "readOnly": true - }, - "finishedTimeStamp": { - "format": "date-time", - "description": "Timestamp when this backup finished.", - "type": "string", - "readOnly": true - }, - "correlationId": { - "description": "Unique correlation identifier. Please use this along with the timestamp while communicating with Azure support.", - "type": "string", - "readOnly": true - }, - "websiteSizeInBytes": { - "format": "int64", - "description": "Size of the original web app which has been backed up.", - "type": "integer", - "readOnly": true - } - }, - "x-ms-client-flatten": true - } - } - }, - "BackupItemCollection": { - "description": "Collection of backup items.", - "required": [ - "value" - ], - "type": "object", - "properties": { - "value": { - "description": "Collection of resources.", - "type": "array", - "items": { - "$ref": "#/definitions/BackupItem" - } - }, - "nextLink": { - "description": "Link to next page of resources.", - "type": "string", - "readOnly": true - } - } - }, - "BackupRequest": { - "description": "Description of a backup which will be performed.", - "type": "object", - "allOf": [ - { - "$ref": "./CommonDefinitions.json#/definitions/ProxyOnlyResource" - } - ], - "properties": { - "properties": { - "description": "BackupRequest resource specific properties", - "required": [ - "storageAccountUrl" - ], - "type": "object", - "properties": { - "backupName": { - "description": "Name of the backup.", - "type": "string" - }, - "enabled": { - "description": "True if the backup schedule is enabled (must be included in that case), false if the backup schedule should be disabled.", - "type": "boolean" - }, - "storageAccountUrl": { - "description": "SAS URL to the container.", - "type": "string" - }, - "backupSchedule": { - "$ref": "#/definitions/BackupSchedule", - "description": "Schedule for the backup if it is executed periodically." - }, - "databases": { - "description": "Databases included in the backup.", - "type": "array", - "items": { - "$ref": "#/definitions/DatabaseBackupSetting" - }, - "x-ms-identifiers": [ - "name" - ] - } - }, - "x-ms-client-flatten": true - } - } - }, - "BackupSchedule": { - "description": "Description of a backup schedule. Describes how often should be the backup performed and what should be the retention policy.", - "required": [ - "frequencyInterval", - "frequencyUnit", - "keepAtLeastOneBackup", - "retentionPeriodInDays" - ], - "type": "object", - "properties": { - "frequencyInterval": { - "format": "int32", - "description": "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": 7, - "type": "integer" - }, - "frequencyUnit": { - "description": "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)", - "default": "Day", - "enum": [ - "Day", - "Hour" - ], - "type": "string", - "x-ms-enum": { - "name": "FrequencyUnit", - "modelAsString": false - } - }, - "keepAtLeastOneBackup": { - "description": "True if the retention policy should always keep at least one backup in the storage account, regardless how old it is; false otherwise.", - "default": true, - "type": "boolean" - }, - "retentionPeriodInDays": { - "format": "int32", - "description": "After how many days backups should be deleted.", - "default": 30, - "type": "integer" - }, - "startTime": { - "format": "date-time", - "description": "When the schedule should start working.", - "type": "string" - }, - "lastExecutionTime": { - "format": "date-time", - "description": "Last time when this schedule was triggered.", - "type": "string", - "readOnly": true - } - } - }, - "BlobStorageTokenStore": { - "description": "The configuration settings of the storage of the tokens if blob storage is used.", - "type": "object", - "properties": { - "sasUrlSettingName": { - "description": "The name of the app setting containing the SAS URL of the blob storage containing the tokens.", - "type": "string" - } - } - }, - "ClientRegistration": { - "description": "The configuration settings of the app registration for providers that have client ids and client secrets", - "type": "object", - "properties": { - "clientId": { - "description": "The Client ID of the app used for login.", - "type": "string" - }, - "clientSecretSettingName": { - "description": "The app setting name that contains the client secret.", - "type": "string" - } - } - }, - "ConnStringValueTypePair": { - "description": "Database connection string value to type pair.", - "required": [ - "value", - "type" - ], - "type": "object", - "properties": { - "value": { - "description": "Value of pair.", - "type": "string" - }, - "type": { - "description": "Type of database.", - "enum": [ - "MySql", - "SQLServer", - "SQLAzure", - "Custom", - "NotificationHub", - "ServiceBus", - "EventHub", - "ApiHub", - "DocDb", - "RedisCache", - "PostgreSQL" - ], - "type": "string", - "x-ms-enum": { - "name": "ConnectionStringType", - "modelAsString": false - } - } - } - }, - "ConnectionStringDictionary": { - "description": "String dictionary resource.", - "type": "object", - "allOf": [ - { - "$ref": "./CommonDefinitions.json#/definitions/ProxyOnlyResource" - } - ], - "properties": { - "properties": { - "description": "Connection strings.", - "type": "object", - "additionalProperties": { - "$ref": "#/definitions/ConnStringValueTypePair" - }, - "x-ms-client-flatten": true - } - } - }, - "ContainerCpuStatistics": { - "type": "object", - "properties": { - "cpuUsage": { - "$ref": "#/definitions/ContainerCpuUsage" - }, - "systemCpuUsage": { - "format": "int64", - "type": "integer" - }, - "onlineCpuCount": { - "format": "int32", - "type": "integer" - }, - "throttlingData": { - "$ref": "#/definitions/ContainerThrottlingData" - } - } - }, - "ContainerCpuUsage": { - "type": "object", - "properties": { - "totalUsage": { - "format": "int64", - "type": "integer" - }, - "perCpuUsage": { - "type": "array", - "items": { - "format": "int64", - "type": "integer" - } - }, - "kernelModeUsage": { - "format": "int64", - "type": "integer" - }, - "userModeUsage": { - "format": "int64", - "type": "integer" - } - } - }, - "ContainerInfo": { - "type": "object", - "properties": { - "currentTimeStamp": { - "format": "date-time", - "type": "string" - }, - "previousTimeStamp": { - "format": "date-time", - "type": "string" - }, - "currentCpuStats": { - "$ref": "#/definitions/ContainerCpuStatistics" - }, - "previousCpuStats": { - "$ref": "#/definitions/ContainerCpuStatistics" - }, - "memoryStats": { - "$ref": "#/definitions/ContainerMemoryStatistics" - }, - "name": { - "type": "string" - }, - "id": { - "type": "string" - }, - "eth0": { - "$ref": "#/definitions/ContainerNetworkInterfaceStatistics" - } - } - }, - "ContainerMemoryStatistics": { - "type": "object", - "properties": { - "usage": { - "format": "int64", - "type": "integer" - }, - "maxUsage": { - "format": "int64", - "type": "integer" - }, - "limit": { - "format": "int64", - "type": "integer" - } - } - }, - "ContainerNetworkInterfaceStatistics": { - "type": "object", - "properties": { - "rxBytes": { - "format": "int64", - "type": "integer" - }, - "rxPackets": { - "format": "int64", - "type": "integer" - }, - "rxErrors": { - "format": "int64", - "type": "integer" - }, - "rxDropped": { - "format": "int64", - "type": "integer" - }, - "txBytes": { - "format": "int64", - "type": "integer" - }, - "txPackets": { - "format": "int64", - "type": "integer" - }, - "txErrors": { - "format": "int64", - "type": "integer" - }, - "txDropped": { - "format": "int64", - "type": "integer" - } - } - }, - "ContainerThrottlingData": { - "type": "object", - "properties": { - "periods": { - "format": "int32", - "type": "integer" - }, - "throttledPeriods": { - "format": "int32", - "type": "integer" - }, - "throttledTime": { - "format": "int32", - "type": "integer" - } - } - }, - "ContentLink": { - "type": "object", - "properties": { - "uri": { - "type": "string", - "description": "The content link URI." - }, - "contentVersion": { - "type": "string", - "description": "The content version.", - "readOnly": true - }, - "contentSize": { - "type": "integer", - "format": "int64", - "description": "The content size.", - "readOnly": true - }, - "contentHash": { - "$ref": "#/definitions/ContentHash", - "description": "The content hash.", - "readOnly": true - }, - "metadata": { - "$ref": "#/definitions/Object", - "description": "The metadata.", - "readOnly": true - } - }, - "description": "The content link." - }, - "ContentHash": { - "type": "object", - "properties": { - "algorithm": { - "type": "string", - "description": "The algorithm of the content hash." - }, - "value": { - "type": "string", - "description": "The value of the content hash." - } - }, - "description": "The content hash." - }, - "ContinuousWebJob": { - "description": "Continuous Web Job Information.", - "type": "object", - "allOf": [ - { - "$ref": "./CommonDefinitions.json#/definitions/ProxyOnlyResource" - } - ], - "properties": { - "properties": { - "description": "ContinuousWebJob resource specific properties", - "type": "object", - "properties": { - "status": { - "description": "Job status.", - "enum": [ - "Initializing", - "Starting", - "Running", - "PendingRestart", - "Stopped" - ], - "type": "string", - "x-ms-enum": { - "name": "ContinuousWebJobStatus", - "modelAsString": false - } - }, - "detailed_status": { - "description": "Detailed status.", - "type": "string" - }, - "log_url": { - "description": "Log URL.", - "type": "string" - }, - "run_command": { - "description": "Run command.", - "type": "string" - }, - "url": { - "description": "Job URL.", - "type": "string" - }, - "extra_info_url": { - "description": "Extra Info URL.", - "type": "string" - }, - "web_job_type": { - "description": "Job type.", - "enum": [ - "Continuous", - "Triggered" - ], - "type": "string", - "x-ms-enum": { - "name": "WebJobType", - "modelAsString": false - } - }, - "error": { - "description": "Error information.", - "type": "string" - }, - "using_sdk": { - "description": "Using SDK?", - "type": "boolean" - }, - "settings": { - "description": "Job settings.", - "type": "object", - "additionalProperties": { - "type": "object" - } - } - }, - "x-ms-client-flatten": true - } - } - }, - "ContinuousWebJobCollection": { - "description": "Collection of Kudu continuous web job information elements.", - "required": [ - "value" - ], - "type": "object", - "properties": { - "value": { - "description": "Collection of resources.", - "type": "array", - "items": { - "$ref": "#/definitions/ContinuousWebJob" - } - }, - "nextLink": { - "description": "Link to next page of resources.", - "type": "string", - "readOnly": true - } - } - }, - "CookieExpiration": { - "description": "The configuration settings of the session cookie's expiration.", - "type": "object", - "properties": { - "convention": { - "description": "The convention used when determining the session cookie's expiration.", - "enum": [ - "FixedTime", - "IdentityProviderDerived" - ], - "type": "string", - "x-ms-enum": { - "name": "CookieExpirationConvention", - "modelAsString": false - } - }, - "timeToExpiration": { - "description": "The time after the request is made when the session cookie should expire.", - "type": "string" - } - } - }, - "Correlation": { - "type": "object", - "properties": { - "clientTrackingId": { - "type": "string", - "description": "The client tracking id." - } - }, - "description": "The correlation property." - }, - "CsmDeploymentStatus": { - "description": "Deployment status response payload.", - "type": "object", - "allOf": [ - { - "$ref": "./CommonDefinitions.json#/definitions/ProxyOnlyResource" - } - ], - "properties": { - "properties": { - "description": "CsmDeploymentStatus resource specific properties", - "type": "object", - "properties": { - "deploymentId": { - "description": "Deployment operation id.", - "type": "string" - }, - "status": { - "description": "Deployment build status.", - "enum": [ - "TimedOut", - "RuntimeFailed", - "BuildAborted", - "BuildFailed", - "BuildRequestReceived", - "BuildPending", - "BuildInProgress", - "BuildSuccessful", - "PostBuildRestartRequired", - "StartPolling", - "StartPollingWithRestart", - "RuntimeStarting", - "RuntimeSuccessful" - ], - "type": "string", - "x-ms-enum": { - "name": "DeploymentBuildStatus", - "modelAsString": true - } - }, - "numberOfInstancesInProgress": { - "format": "int32", - "description": "Number of site instances currently being provisioned.", - "type": "integer" - }, - "numberOfInstancesSuccessful": { - "format": "int32", - "description": "Number of site instances provisioned successfully.", - "type": "integer" - }, - "numberOfInstancesFailed": { - "format": "int32", - "description": "Number of site instances failed to provision.", - "type": "integer" - }, - "failedInstancesLogs": { - "description": "List of URLs pointing to logs for instances which failed to provision.", - "type": "array", - "items": { - "type": "string" - } - }, - "errors": { - "description": "List of errors.", - "type": "array", - "items": { - "$ref": "./CommonDefinitions.json#/definitions/ErrorEntity" - }, - "x-ms-identifiers": [] - } - }, - "x-ms-client-flatten": true - } - } - }, - "CsmDeploymentStatusCollection": { - "description": "Deployment status collection ARM resource.", - "required": [ - "value" - ], - "type": "object", - "properties": { - "value": { - "description": "Collection of resources.", - "type": "array", - "items": { - "$ref": "#/definitions/CsmDeploymentStatus" - } - }, - "nextLink": { - "description": "Link to next page of resources.", - "type": "string", - "readOnly": true - } - } - }, - "CsmPublishingCredentialsPoliciesEntity": { - "description": "Publishing Credentials Policies parameters.", - "type": "object", - "allOf": [ - { - "$ref": "./CommonDefinitions.json#/definitions/ProxyOnlyResource" - } - ], - "properties": { - "properties": { - "description": "CsmPublishingCredentialsPoliciesEntity resource specific properties", - "required": [ - "allow" - ], - "type": "object", - "properties": { - "allow": { - "description": "true to allow access to a publishing method; otherwise, false.", - "type": "boolean" - } - }, - "x-ms-client-flatten": true - } - } - }, - "CsmPublishingProfileOptions": { - "description": "Publishing options for requested profile.", - "type": "object", - "properties": { - "format": { - "description": "Name of the format. Valid values are: \nFileZilla3\nWebDeploy -- default\nFtp", - "enum": [ - "FileZilla3", - "WebDeploy", - "Ftp" - ], - "type": "string", - "x-ms-enum": { - "name": "PublishingProfileFormat", - "modelAsString": true - } - }, - "includeDisasterRecoveryEndpoints": { - "description": "Include the DisasterRecover endpoint if true", - "type": "boolean" - } - } - }, - "CsmSlotEntity": { - "description": "Deployment slot parameters.", - "required": [ - "targetSlot", - "preserveVnet" - ], - "type": "object", - "properties": { - "targetSlot": { - "description": "Destination deployment slot during swap operation.", - "type": "string" - }, - "preserveVnet": { - "description": "true to preserve Virtual Network to the slot during swap; otherwise, false.", - "type": "boolean" - } - } - }, - "CustomHostnameAnalysisResult": { - "description": "Custom domain analysis.", - "type": "object", - "allOf": [ - { - "$ref": "./CommonDefinitions.json#/definitions/ProxyOnlyResource" - } - ], - "properties": { - "properties": { - "description": "CustomHostnameAnalysisResult resource specific properties", - "type": "object", - "properties": { - "isHostnameAlreadyVerified": { - "description": "true if hostname is already verified; otherwise, false.", - "type": "boolean", - "readOnly": true - }, - "customDomainVerificationTest": { - "description": "DNS verification test result.", - "enum": [ - "Passed", - "Failed", - "Skipped" - ], - "type": "string", - "readOnly": true, - "x-ms-enum": { - "name": "DnsVerificationTestResult", - "modelAsString": false - } - }, - "customDomainVerificationFailureInfo": { - "$ref": "./CommonDefinitions.json#/definitions/ErrorEntity", - "description": "Raw failure information if DNS verification fails.", - "readOnly": true - }, - "hasConflictOnScaleUnit": { - "description": "true if there is a conflict on a scale unit; otherwise, false.", - "type": "boolean", - "readOnly": true - }, - "hasConflictAcrossSubscription": { - "description": "true if there is a conflict across subscriptions; otherwise, false.", - "type": "boolean", - "readOnly": true - }, - "conflictingAppResourceId": { - "description": "Name of the conflicting app on scale unit if it's within the same subscription.", - "type": "string", - "readOnly": true - }, - "cNameRecords": { - "description": "CName records controller can see for this hostname.", - "type": "array", - "items": { - "type": "string" - } - }, - "txtRecords": { - "description": "TXT records controller can see for this hostname.", - "type": "array", - "items": { - "type": "string" - } - }, - "aRecords": { - "description": "A records controller can see for this hostname.", - "type": "array", - "items": { - "type": "string" - } - }, - "alternateCNameRecords": { - "description": "Alternate CName records controller can see for this hostname.", - "type": "array", - "items": { - "type": "string" - } - }, - "alternateTxtRecords": { - "description": "Alternate TXT records controller can see for this hostname.", - "type": "array", - "items": { - "type": "string" - } - } - }, - "x-ms-client-flatten": true - } - } - }, - "CustomOpenIdConnectProvider": { - "description": "The configuration settings of the custom Open ID Connect provider.", - "type": "object", - "properties": { - "enabled": { - "description": "false if the custom Open ID provider provider should not be enabled; otherwise, true.", - "type": "boolean" - }, - "registration": { - "$ref": "#/definitions/OpenIdConnectRegistration", - "description": "The configuration settings of the app registration for the custom Open ID Connect provider." - }, - "login": { - "$ref": "#/definitions/OpenIdConnectLogin", - "description": "The configuration settings of the login flow of the custom Open ID Connect provider." - } - } - }, - "DatabaseBackupSetting": { - "description": "Database backup settings.", - "required": [ - "databaseType" - ], - "type": "object", - "properties": { - "databaseType": { - "description": "Database type (e.g. SqlAzure / MySql).", - "enum": [ - "SqlAzure", - "MySql", - "LocalMySql", - "PostgreSql" - ], - "type": "string", - "x-ms-enum": { - "name": "DatabaseType", - "modelAsString": true - } - }, - "name": { - "type": "string" - }, - "connectionStringName": { - "description": "Contains a connection string name that is linked to the SiteConfig.ConnectionStrings.\nThis is used during restore with overwrite connection strings options.", - "type": "string" - }, - "connectionString": { - "description": "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.", - "type": "string" - } - } - }, - "DayOfWeek": { - "type": "string", - "description": "The day of the week.", - "enum": [ - "Sunday", - "Monday", - "Tuesday", - "Wednesday", - "Thursday", - "Friday", - "Saturday" - ], - "x-ms-enum": { - "name": "DayOfWeek", - "modelAsString": false - } - }, - "DefaultAuthorizationPolicy": { - "description": "The configuration settings of the Azure Active Directory default authorization policy.", - "type": "object", - "properties": { - "allowedPrincipals": { - "$ref": "#/definitions/AllowedPrincipals", - "description": "The configuration settings of the Azure Active Directory allowed principals." - }, - "allowedApplications": { - "description": "The configuration settings of the Azure Active Directory allowed applications.", - "type": "array", - "items": { - "type": "string" - } - } - } - }, - "DeletedAppRestoreRequest": { - "description": "Details about restoring a deleted app.", - "type": "object", - "allOf": [ - { - "$ref": "./CommonDefinitions.json#/definitions/ProxyOnlyResource" - } - ], - "properties": { - "properties": { - "description": "DeletedAppRestoreRequest resource specific properties", - "type": "object", - "properties": { - "deletedSiteId": { - "description": "ARM resource ID of the deleted app. Example:\n/subscriptions/{subId}/providers/Microsoft.Web/deletedSites/{deletedSiteId}", - "type": "string" - }, - "recoverConfiguration": { - "description": "If true, deleted site configuration, in addition to content, will be restored.", - "type": "boolean" - }, - "snapshotTime": { - "description": "Point in time to restore the deleted app from, formatted as a DateTime string. \nIf unspecified, default value is the time that the app was deleted.", - "type": "string" - }, - "useDRSecondary": { - "description": "If true, the snapshot is retrieved from DRSecondary endpoint.", - "type": "boolean" - } - }, - "x-ms-client-flatten": true - } - } - }, - "Deployment": { - "description": "User credentials used for publishing activity.", - "type": "object", - "allOf": [ - { - "$ref": "./CommonDefinitions.json#/definitions/ProxyOnlyResource" - } - ], - "properties": { - "properties": { - "description": "Deployment resource specific properties", - "type": "object", - "properties": { - "status": { - "format": "int32", - "description": "Deployment status.", - "type": "integer" - }, - "message": { - "description": "Details about deployment status.", - "type": "string" - }, - "author": { - "description": "Who authored the deployment.", - "type": "string" - }, - "deployer": { - "description": "Who performed the deployment.", - "type": "string" - }, - "author_email": { - "description": "Author email.", - "type": "string" - }, - "start_time": { - "format": "date-time", - "description": "Start time.", - "type": "string" - }, - "end_time": { - "format": "date-time", - "description": "End time.", - "type": "string" - }, - "active": { - "description": "True if deployment is currently active, false if completed and null if not started.", - "type": "boolean" - }, - "details": { - "description": "Details on deployment.", - "type": "string" - } - }, - "x-ms-client-flatten": true - } - } - }, - "DeploymentCollection": { - "description": "Collection of app deployments.", - "required": [ - "value" - ], - "type": "object", - "properties": { - "value": { - "description": "Collection of resources.", - "type": "array", - "items": { - "$ref": "#/definitions/Deployment" - } - }, - "nextLink": { - "description": "Link to next page of resources.", - "type": "string", - "readOnly": true - } - } - }, - "EnabledConfig": { - "description": "Enabled configuration.", - "type": "object", - "properties": { - "enabled": { - "description": "True if configuration is enabled, false if it is disabled and null if configuration is not set.", - "type": "boolean" - } - } - }, - "EnvironmentVariable": { - "required": [ - "name", - "value" - ], - "type": "object", - "properties": { - "name": { - "description": "Environment variable name", - "type": "string" - }, - "value": { - "description": "The value of this environment variable must be the name of an AppSetting. The actual value of the environment variable in container will be retrieved from the specified AppSetting at runtime. If the AppSetting is not found, the value will be set to an empty string in the container at runtime.", - "type": "string" - } - } - }, - "ErrorInfo": { - "type": "object", - "description": "The error info.", - "additionalProperties": false, - "required": [ - "code" - ], - "properties": { - "code": { - "type": "string", - "description": "The error code." - } - } - }, - "ErrorPage": { - "description": "A custom error page for a specific status returned by a web app.", - "type": "object", - "properties": { - "statusCode": { - "description": "The status code for which the error page will be used", - "type": "integer", - "format": "int32" - }, - "content": { - "description": "The content of the error page. There is a 10kb limit imposed on custom error page content.", - "type": "string" - }, - "contentType": { - "description": "The content type of the error page. For example, 'text/html'", - "type": "string" - }, - "alwaysUse": { - "description": "If true, the error page will be shown for all requests with a matching status code, regardless of whether they failed on the App Service FrontEnd load balancer or on the app itself.", - "type": "boolean" - } - } - }, - "ErrorResponse": { - "description": "Error response indicates Logic service is not able to process the incoming request. The error property contains the error details.", - "type": "object", - "properties": { - "error": { - "$ref": "#/definitions/ErrorProperties", - "description": "The error properties." - } - } - }, - "ErrorProperties": { - "description": "Error properties indicate why the Logic service was not able to process the incoming request. The reason is provided in the error message.", - "type": "object", - "properties": { - "code": { - "description": "Error code.", - "type": "string" - }, - "message": { - "description": "Error message indicating why the operation failed.", - "type": "string" - } - } - }, - "ExpressionTraces": { - "description": "The expression traces.", - "type": "object", - "properties": { - "value": {}, - "inputs": { - "type": "array", - "items": { - "$ref": "#/definitions/ExpressionRoot" - }, - "x-ms-identifiers": [ - "path" - ] - }, - "nextLink": { - "description": "The link used to get the next page of recommendations.", - "type": "string" - } - } - }, - "ExpressionRoot": { - "description": "The expression root.", - "type": "object", - "properties": { - "path": { - "type": "string", - "description": "The path." - } - }, - "allOf": [ - { - "$ref": "#/definitions/Expression" - } - ] - }, - "Expression": { - "description": "The expression.", - "type": "object", - "additionalProperties": false, - "properties": { - "text": { - "description": "The text.", - "type": "string" - }, - "value": {}, - "subexpressions": { - "type": "array", - "description": "The sub expressions.", - "items": { - "$ref": "#/definitions/Expression" - }, - "x-ms-identifiers": [] - }, - "error": { - "$ref": "#/definitions/AzureResourceErrorInfo" - } - } - }, - "Facebook": { - "description": "The configuration settings of the Facebook provider.", - "type": "object", - "properties": { - "enabled": { - "description": "false if the Facebook provider should not be enabled despite the set registration; otherwise, true.", - "type": "boolean" - }, - "registration": { - "$ref": "#/definitions/AppRegistration", - "description": "The configuration settings of the app registration for the Facebook provider." - }, - "graphApiVersion": { - "description": "The version of the Facebook api to be used while logging in.", - "type": "string" - }, - "login": { - "$ref": "#/definitions/LoginScopes", - "description": "The configuration settings of the login flow." - } - } - }, - "FileSystemApplicationLogsConfig": { - "description": "Application logs to file system configuration.", - "type": "object", - "properties": { - "level": { - "description": "Log level.", - "default": "Off", - "enum": [ - "Off", - "Verbose", - "Information", - "Warning", - "Error" - ], - "type": "string", - "x-ms-enum": { - "name": "LogLevel", - "modelAsString": false - } - } - } - }, - "FileSystemHttpLogsConfig": { - "description": "Http logs to file system configuration.", - "type": "object", - "properties": { - "retentionInMb": { - "format": "int32", - "description": "Maximum size in megabytes that http log files can use.\nWhen reached old log files will be removed to make space for new ones.\nValue can range between 25 and 100.", - "maximum": 100, - "minimum": 25, - "type": "integer" - }, - "retentionInDays": { - "format": "int32", - "description": "Retention in days.\nRemove files older than X days.\n0 or lower means no retention.", - "type": "integer" - }, - "enabled": { - "description": "True if configuration is enabled, false if it is disabled and null if configuration is not set.", - "type": "boolean" - } - } - }, - "FileSystemTokenStore": { - "description": "The configuration settings of the storage of the tokens if a file system is used.", - "type": "object", - "properties": { - "directory": { - "description": "The directory in which the tokens will be stored.", - "type": "string" - } - } - }, - "FlowAccessControlConfiguration": { - "type": "object", - "description": "The access control configuration.", - "properties": { - "triggers": { - "$ref": "#/definitions/FlowAccessControlConfigurationPolicy", - "description": "The access control configuration for invoking workflow triggers." - }, - "contents": { - "$ref": "#/definitions/FlowAccessControlConfigurationPolicy", - "description": "The access control configuration for accessing workflow run contents." - }, - "actions": { - "$ref": "#/definitions/FlowAccessControlConfigurationPolicy", - "description": "The access control configuration for workflow actions." - }, - "workflowManagement": { - "$ref": "#/definitions/FlowAccessControlConfigurationPolicy", - "description": "The access control configuration for workflow management." - } - } - }, - "FlowAccessControlConfigurationPolicy": { - "type": "object", - "description": "The access control configuration policy.", - "properties": { - "allowedCallerIpAddresses": { - "type": "array", - "description": "The allowed caller IP address ranges.", - "items": { - "$ref": "#/definitions/IpAddressRange", - "description": "The ip address range." - }, - "x-ms-identifiers": [] - }, - "openAuthenticationPolicies": { - "$ref": "#/definitions/OpenAuthenticationAccessPolicies", - "description": "The authentication policies for workflow." - } - } - }, - "FlowEndpointsConfiguration": { - "type": "object", - "description": "The endpoints configuration.", - "properties": { - "workflow": { - "$ref": "#/definitions/FlowEndpoints", - "description": "The workflow endpoints." - }, - "connector": { - "$ref": "#/definitions/FlowEndpoints", - "description": "The connector endpoints." - } - } - }, - "FlowEndpoints": { - "type": "object", - "description": "The flow endpoints configuration.", - "properties": { - "outgoingIpAddresses": { - "type": "array", - "description": "The outgoing ip address.", - "items": { - "$ref": "#/definitions/IpAddress", - "description": "The ip address." - }, - "x-ms-identifiers": [ - "address" - ] - }, - "accessEndpointIpAddresses": { - "type": "array", - "description": "The access endpoint ip address.", - "items": { - "$ref": "#/definitions/IpAddress", - "description": "The ip address." - }, - "x-ms-identifiers": [ - "address" - ] - } - } - }, - "ForwardProxy": { - "description": "The configuration settings of a forward proxy used to make the requests.", - "type": "object", - "properties": { - "convention": { - "description": "The convention used to determine the url of the request made.", - "enum": [ - "NoProxy", - "Standard", - "Custom" - ], - "type": "string", - "x-ms-enum": { - "name": "ForwardProxyConvention", - "modelAsString": false - } - }, - "customHostHeaderName": { - "description": "The name of the header containing the host of the request.", - "type": "string" - }, - "customProtoHeaderName": { - "description": "The name of the header containing the scheme of the request.", - "type": "string" - } - } - }, - "FunctionEnvelope": { - "description": "Function information.", - "type": "object", - "allOf": [ - { - "$ref": "./CommonDefinitions.json#/definitions/ProxyOnlyResource" - } - ], - "properties": { - "properties": { - "description": "FunctionEnvelope resource specific properties", - "type": "object", - "properties": { - "function_app_id": { - "description": "Function App ID.", - "type": "string" - }, - "script_root_path_href": { - "description": "Script root path URI.", - "type": "string" - }, - "script_href": { - "description": "Script URI.", - "type": "string" - }, - "config_href": { - "description": "Config URI.", - "type": "string" - }, - "test_data_href": { - "description": "Test data URI.", - "type": "string" - }, - "secrets_file_href": { - "description": "Secrets file URI.", - "type": "string" - }, - "href": { - "description": "Function URI.", - "type": "string" - }, - "config": { - "description": "Config information.", - "type": "object" - }, - "files": { - "description": "File list.", - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - "test_data": { - "description": "Test data used when testing via the Azure Portal.", - "type": "string" - }, - "invoke_url_template": { - "description": "The invocation URL", - "type": "string" - }, - "language": { - "description": "The function language", - "type": "string" - }, - "isDisabled": { - "description": "Gets or sets a value indicating whether the function is disabled", - "type": "boolean" - } - }, - "x-ms-client-flatten": true - } - } - }, - "FunctionEnvelopeCollection": { - "description": "Collection of Kudu function information elements.", - "required": [ - "value" - ], - "type": "object", - "properties": { - "value": { - "description": "Collection of resources.", - "type": "array", - "items": { - "$ref": "#/definitions/FunctionEnvelope" - } - }, - "nextLink": { - "description": "Link to next page of resources.", - "type": "string", - "readOnly": true - } - } - }, - "FunctionSecrets": { - "description": "Function secrets.", - "type": "object", - "properties": { - "key": { - "description": "Secret key.", - "type": "string" - }, - "trigger_url": { - "description": "Trigger URL.", - "type": "string" - } - } - }, - "GitHub": { - "description": "The configuration settings of the GitHub provider.", - "type": "object", - "properties": { - "enabled": { - "description": "false if the GitHub provider should not be enabled despite the set registration; otherwise, true.", - "type": "boolean" - }, - "registration": { - "$ref": "#/definitions/ClientRegistration", - "description": "The configuration settings of the app registration for the GitHub provider." - }, - "login": { - "$ref": "#/definitions/LoginScopes", - "description": "The configuration settings of the login flow." - } - } - }, - "GitHubActionCodeConfiguration": { - "description": "The GitHub action code configuration.", - "type": "object", - "properties": { - "runtimeStack": { - "description": "Runtime stack is used to determine the workflow file content for code base apps.", - "type": "string" - }, - "runtimeVersion": { - "description": "Runtime version is used to determine what build version to set in the workflow file.", - "type": "string" - } - } - }, - "GitHubActionConfiguration": { - "description": "The GitHub action configuration.", - "type": "object", - "properties": { - "codeConfiguration": { - "$ref": "#/definitions/GitHubActionCodeConfiguration", - "description": "GitHub Action code configuration." - }, - "containerConfiguration": { - "$ref": "#/definitions/GitHubActionContainerConfiguration", - "description": "GitHub Action container configuration." - }, - "isLinux": { - "description": "This will help determine the workflow configuration to select.", - "type": "boolean" - }, - "generateWorkflowFile": { - "description": "Workflow option to determine whether the workflow file should be generated and written to the repository.", - "type": "boolean" - } - } - }, - "GitHubActionContainerConfiguration": { - "description": "The GitHub action container configuration.", - "type": "object", - "properties": { - "serverUrl": { - "description": "The server URL for the container registry where the build will be hosted.", - "type": "string" - }, - "imageName": { - "description": "The image name for the build.", - "type": "string" - }, - "username": { - "description": "The username used to upload the image to the container registry.", - "type": "string" - }, - "password": { - "description": "The password used to upload the image to the container registry.", - "type": "string", - "x-ms-secret": true - } - } - }, - "GlobalValidation": { - "description": "The configuration settings that determines the validation flow of users using App Service Authentication/Authorization.", - "type": "object", - "properties": { - "requireAuthentication": { - "description": "true if the authentication flow is required any request is made; otherwise, false.", - "type": "boolean" - }, - "unauthenticatedClientAction": { - "description": "The action to take when an unauthenticated client attempts to access the app.", - "enum": [ - "RedirectToLoginPage", - "AllowAnonymous", - "Return401", - "Return403" - ], - "type": "string", - "x-ms-enum": { - "name": "UnauthenticatedClientActionV2", - "modelAsString": false - } - }, - "redirectToProvider": { - "description": "The default authentication provider to use when multiple providers are configured.\nThis setting is only needed if multiple providers are configured and the unauthenticated client\naction is set to \"RedirectToLoginPage\".", - "type": "string" - }, - "excludedPaths": { - "description": "The paths for which unauthenticated flow would not be redirected to the login page.", - "type": "array", - "items": { - "type": "string" - } - } - } - }, - "Google": { - "description": "The configuration settings of the Google provider.", - "type": "object", - "properties": { - "enabled": { - "description": "false if the Google provider should not be enabled despite the set registration; otherwise, true.", - "type": "boolean" - }, - "registration": { - "$ref": "#/definitions/ClientRegistration", - "description": "The configuration settings of the app registration for the Google provider." - }, - "login": { - "$ref": "#/definitions/LoginScopes", - "description": "The configuration settings of the login flow." - }, - "validation": { - "$ref": "#/definitions/AllowedAudiencesValidation", - "description": "The configuration settings of the Azure Active Directory token validation flow." - } - } - }, - "HostKeys": { - "description": "Functions host level keys.", - "type": "object", - "properties": { - "masterKey": { - "description": "Secret key.", - "type": "string" - }, - "functionKeys": { - "description": "Host level function keys.", - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - "systemKeys": { - "description": "System keys.", - "type": "object", - "additionalProperties": { - "type": "string" - } - } - } - }, - "HostNameBinding": { - "description": "A hostname binding object.", - "type": "object", - "allOf": [ - { - "$ref": "./CommonDefinitions.json#/definitions/ProxyOnlyResource" - } - ], - "properties": { - "properties": { - "description": "HostNameBinding resource specific properties", - "type": "object", - "properties": { - "siteName": { - "description": "App Service app name.", - "type": "string", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "domainId": { - "description": "Fully qualified ARM domain resource URI.", - "type": "string", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "azureResourceName": { - "description": "Azure resource name.", - "type": "string", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "azureResourceType": { - "description": "Azure resource type.", - "enum": [ - "Website", - "TrafficManager" - ], - "type": "string", - "x-ms-enum": { - "name": "AzureResourceType", - "modelAsString": false - }, - "x-ms-mutability": [ - "create", - "read" - ] - }, - "customHostNameDnsRecordType": { - "description": "Custom DNS record type.", - "enum": [ - "CName", - "A" - ], - "type": "string", - "x-ms-enum": { - "name": "CustomHostNameDnsRecordType", - "modelAsString": false - }, - "x-ms-mutability": [ - "create", - "read" - ] - }, - "hostNameType": { - "description": "Hostname type.", - "enum": [ - "Verified", - "Managed" - ], - "type": "string", - "x-ms-enum": { - "name": "HostNameType", - "modelAsString": false - }, - "x-ms-mutability": [ - "create", - "read" - ] - }, - "sslState": { - "description": "SSL type", - "enum": [ - "Disabled", - "SniEnabled", - "IpBasedEnabled" - ], - "type": "string", - "x-ms-enum": { - "name": "SslState", - "modelAsString": false - }, - "x-ms-mutability": [ - "create", - "read" - ] - }, - "thumbprint": { - "description": "SSL certificate thumbprint", - "type": "string", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "virtualIP": { - "description": "Virtual IP address assigned to the hostname if IP based SSL is enabled.", - "type": "string", - "readOnly": true - } - }, - "x-ms-client-flatten": true - } - } - }, - "HostNameBindingCollection": { - "description": "Collection of hostname bindings.", - "required": [ - "value" - ], - "type": "object", - "properties": { - "value": { - "description": "Collection of resources.", - "type": "array", - "items": { - "$ref": "#/definitions/HostNameBinding" - } - }, - "nextLink": { - "description": "Link to next page of resources.", - "type": "string", - "readOnly": true - } - } - }, - "HttpLogsConfig": { - "description": "Http logs configuration.", - "type": "object", - "properties": { - "fileSystem": { - "$ref": "#/definitions/FileSystemHttpLogsConfig", - "description": "Http logs to file system configuration." - }, - "azureBlobStorage": { - "$ref": "#/definitions/AzureBlobStorageHttpLogsConfig", - "description": "Http logs to azure blob storage configuration." - } - } - }, - "HttpSettings": { - "description": "The configuration settings of the HTTP requests for authentication and authorization requests made against App Service Authentication/Authorization.", - "type": "object", - "properties": { - "requireHttps": { - "description": "false if the authentication/authorization responses not having the HTTPS scheme are permissible; otherwise, true.", - "type": "boolean" - }, - "routes": { - "$ref": "#/definitions/HttpSettingsRoutes", - "description": "The configuration settings of the paths HTTP requests." - }, - "forwardProxy": { - "$ref": "#/definitions/ForwardProxy", - "description": "The configuration settings of a forward proxy used to make the requests." - } - } - }, - "HttpSettingsRoutes": { - "description": "The configuration settings of the paths HTTP requests.", - "type": "object", - "properties": { - "apiPrefix": { - "description": "The prefix that should precede all the authentication/authorization paths.", - "type": "string" - } - } - }, - "IdentityProviders": { - "description": "The configuration settings of each of the identity providers used to configure App Service Authentication/Authorization.", - "type": "object", - "properties": { - "azureActiveDirectory": { - "$ref": "#/definitions/AzureActiveDirectory", - "description": "The configuration settings of the Azure Active directory provider." - }, - "facebook": { - "$ref": "#/definitions/Facebook", - "description": "The configuration settings of the Facebook provider." - }, - "gitHub": { - "$ref": "#/definitions/GitHub", - "description": "The configuration settings of the GitHub provider." - }, - "google": { - "$ref": "#/definitions/Google", - "description": "The configuration settings of the Google provider." - }, - "legacyMicrosoftAccount": { - "$ref": "#/definitions/LegacyMicrosoftAccount", - "description": "The configuration settings of the legacy Microsoft Account provider." - }, - "twitter": { - "$ref": "#/definitions/Twitter", - "description": "The configuration settings of the Twitter provider." - }, - "apple": { - "$ref": "#/definitions/Apple", - "description": "The configuration settings of the Apple provider." - }, - "azureStaticWebApps": { - "$ref": "#/definitions/AzureStaticWebApps", - "description": "The configuration settings of the Azure Static Web Apps provider." - }, - "customOpenIdConnectProviders": { - "description": "The map of the name of the alias of each custom Open ID Connect provider to the\nconfiguration settings of the custom Open ID Connect provider.", - "type": "object", - "additionalProperties": { - "$ref": "#/definitions/CustomOpenIdConnectProvider" - } - } - } - }, - "IpAddress": { - "type": "object", - "description": "The ip address.", - "properties": { - "address": { - "type": "string", - "description": "The address." - } - } - }, - "IpAddressRange": { - "type": "object", - "description": "The ip address range.", - "properties": { - "addressRange": { - "type": "string", - "description": "The IP address range." - } - } - }, - "JsonSchema": { - "type": "object", - "description": "The JSON schema.", - "properties": { - "title": { - "type": "string", - "description": "The JSON title." - }, - "content": { - "type": "string", - "description": "The JSON content." - } - } - }, - "JwtClaimChecks": { - "description": "The configuration settings of the checks that should be made while validating the JWT Claims.", - "type": "object", - "properties": { - "allowedGroups": { - "description": "The list of the allowed groups.", - "type": "array", - "items": { - "type": "string" - } - }, - "allowedClientApplications": { - "description": "The list of the allowed client applications.", - "type": "array", - "items": { - "type": "string" - } - } - } - }, - "KeyInfo": { - "description": "Function key info.", - "type": "object", - "properties": { - "name": { - "description": "Key name", - "type": "string" - }, - "value": { - "description": "Key value", - "type": "string" - } - } - }, - "Kind": { - "type": "string", - "enum": [ - "Stateful", - "Stateless" - ], - "x-ms-enum": { - "name": "Kind", - "modelAsString": true - }, - "description": "The workflow kind." - }, - "KeyType": { - "type": "string", - "description": "The key type.", - "enum": [ - "NotSpecified", - "Primary", - "Secondary" - ], - "x-ms-enum": { - "name": "KeyType", - "modelAsString": true - } - }, - "LegacyMicrosoftAccount": { - "description": "The configuration settings of the legacy Microsoft Account provider.", - "type": "object", - "properties": { - "enabled": { - "description": "false if the legacy Microsoft Account provider should not be enabled despite the set registration; otherwise, true.", - "type": "boolean" - }, - "registration": { - "$ref": "#/definitions/ClientRegistration", - "description": "The configuration settings of the app registration for the legacy Microsoft Account provider." - }, - "login": { - "$ref": "#/definitions/LoginScopes", - "description": "The configuration settings of the login flow." - }, - "validation": { - "$ref": "#/definitions/AllowedAudiencesValidation", - "description": "The configuration settings of the legacy Microsoft Account provider token validation flow." - } - } - }, - "Login": { - "description": "The configuration settings of the login flow of users using App Service Authentication/Authorization.", - "type": "object", - "properties": { - "routes": { - "$ref": "#/definitions/LoginRoutes", - "description": "The routes that specify the endpoints used for login and logout requests." - }, - "tokenStore": { - "$ref": "#/definitions/TokenStore", - "description": "The configuration settings of the token store." - }, - "preserveUrlFragmentsForLogins": { - "description": "true if the fragments from the request are preserved after the login request is made; otherwise, false.", - "type": "boolean" - }, - "allowedExternalRedirectUrls": { - "description": "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.\nThis is an advanced setting typically only needed by Windows Store application backends.\nNote that URLs within the current domain are always implicitly allowed.", - "type": "array", - "items": { - "type": "string" - } - }, - "cookieExpiration": { - "$ref": "#/definitions/CookieExpiration", - "description": "The configuration settings of the session cookie's expiration." - }, - "nonce": { - "$ref": "#/definitions/Nonce", - "description": "The configuration settings of the nonce used in the login flow." - } - } - }, - "LoginRoutes": { - "description": "The routes that specify the endpoints used for login and logout requests.", - "type": "object", - "properties": { - "logoutEndpoint": { - "description": "The endpoint at which a logout request should be made.", - "type": "string" - } - } - }, - "LoginScopes": { - "description": "The configuration settings of the login flow, including the scopes that should be requested.", - "type": "object", - "properties": { - "scopes": { - "description": "A list of the scopes that should be requested while authenticating.", - "type": "array", - "items": { - "type": "string" - } - } - } - }, - "MSDeploy": { - "description": "MSDeploy ARM PUT information", - "type": "object", - "allOf": [ - { - "$ref": "./CommonDefinitions.json#/definitions/ProxyOnlyResource" - } - ], - "properties": { - "properties": { - "$ref": "#/definitions/MSDeployCore", - "description": "Core resource properties", - "type": "object", - "properties": { - "addOnPackages": { - "description": "List of Add-On packages. Add-On packages implicitly enable the Do Not Delete MSDeploy rule.", - "type": "array", - "items": { - "$ref": "#/definitions/MSDeployCore" - }, - "x-ms-identifiers": [ - "packageUri" - ] - } - }, - "x-ms-client-flatten": true - } - } - }, - "MSDeployCore": { - "description": "MSDeploy ARM PUT core information", - "type": "object", - "properties": { - "packageUri": { - "description": "Package URI", - "type": "string" - }, - "connectionString": { - "description": "SQL Connection String", - "type": "string" - }, - "dbType": { - "description": "Database Type", - "type": "string" - }, - "setParametersXmlFileUri": { - "description": "URI of MSDeploy Parameters file. Must not be set if SetParameters is used.", - "type": "string" - }, - "setParameters": { - "description": "MSDeploy Parameters. Must not be set if SetParametersXmlFileUri is used.", - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - "skipAppData": { - "description": "Controls whether the MSDeploy operation skips the App_Data directory.\nIf set to true, the existing App_Data directory on the destination\nwill not be deleted, and any App_Data directory in the source will be ignored.\nSetting is false by default.", - "type": "boolean" - }, - "appOffline": { - "description": "Sets the AppOffline rule while the MSDeploy operation executes.\nSetting is false by default.", - "type": "boolean" - } - } - }, - "MSDeployLog": { - "description": "MSDeploy log", - "type": "object", - "allOf": [ - { - "$ref": "./CommonDefinitions.json#/definitions/ProxyOnlyResource" - } - ], - "properties": { - "properties": { - "description": "MSDeployLog resource specific properties", - "type": "object", - "properties": { - "entries": { - "description": "List of log entry messages", - "type": "array", - "items": { - "$ref": "#/definitions/MSDeployLogEntry" - }, - "readOnly": true, - "x-ms-identifiers": [] - } - }, - "x-ms-client-flatten": true - } - } - }, - "MSDeployLogEntry": { - "description": "MSDeploy log entry", - "type": "object", - "properties": { - "time": { - "format": "date-time", - "description": "Timestamp of log entry", - "type": "string", - "readOnly": true - }, - "type": { - "description": "Log entry type", - "enum": [ - "Message", - "Warning", - "Error" - ], - "type": "string", - "readOnly": true, - "x-ms-enum": { - "name": "MSDeployLogEntryType", - "modelAsString": false - } - }, - "message": { - "description": "Log entry message", - "type": "string", - "readOnly": true - } - } - }, - "MSDeployStatus": { - "description": "MSDeploy ARM response", - "type": "object", - "allOf": [ - { - "$ref": "./CommonDefinitions.json#/definitions/ProxyOnlyResource" - } - ], - "properties": { - "properties": { - "description": "MSDeployStatus resource specific properties", - "type": "object", - "properties": { - "deployer": { - "description": "Username of deployer", - "type": "string", - "readOnly": true - }, - "provisioningState": { - "description": "Provisioning state", - "enum": [ - "accepted", - "running", - "succeeded", - "failed", - "canceled" - ], - "type": "string", - "readOnly": true, - "x-ms-enum": { - "name": "MSDeployProvisioningState", - "modelAsString": false - } - }, - "startTime": { - "format": "date-time", - "description": "Start time of deploy operation", - "type": "string", - "readOnly": true - }, - "endTime": { - "format": "date-time", - "description": "End time of deploy operation", - "type": "string", - "readOnly": true - }, - "complete": { - "description": "Whether the deployment operation has completed", - "type": "boolean", - "readOnly": true - } - }, - "x-ms-client-flatten": true - } - } - }, - "MigrateMySqlRequest": { - "description": "MySQL migration request.", - "type": "object", - "allOf": [ - { - "$ref": "./CommonDefinitions.json#/definitions/ProxyOnlyResource" - } - ], - "properties": { - "properties": { - "description": "MigrateMySqlRequest resource specific properties", - "required": [ - "connectionString", - "migrationType" - ], - "type": "object", - "properties": { - "connectionString": { - "description": "Connection string to the remote MySQL database.", - "type": "string" - }, - "migrationType": { - "description": "The type of migration operation to be done", - "enum": [ - "LocalToRemote", - "RemoteToLocal" - ], - "type": "string", - "x-ms-enum": { - "name": "MySqlMigrationType", - "modelAsString": false - } - } - }, - "x-ms-client-flatten": true - } - } - }, - "MigrateMySqlStatus": { - "description": "MySQL migration status.", - "type": "object", - "allOf": [ - { - "$ref": "./CommonDefinitions.json#/definitions/ProxyOnlyResource" - } - ], - "properties": { - "properties": { - "description": "MigrateMySqlStatus resource specific properties", - "type": "object", - "properties": { - "migrationOperationStatus": { - "description": "Status of the migration task.", - "enum": [ - "InProgress", - "Failed", - "Succeeded", - "TimedOut", - "Created" - ], - "type": "string", - "readOnly": true, - "x-ms-enum": { - "name": "OperationStatus", - "modelAsString": false - } - }, - "operationId": { - "description": "Operation ID for the migration task.", - "type": "string", - "readOnly": true - }, - "localMySqlEnabled": { - "description": "True if the web app has in app MySql enabled", - "type": "boolean", - "readOnly": true - } - }, - "x-ms-client-flatten": true - } - } - }, - "NetworkFeatures": { - "description": "Full view of network features for an app (presently VNET integration and Hybrid Connections).", - "type": "object", - "allOf": [ - { - "$ref": "./CommonDefinitions.json#/definitions/ProxyOnlyResource" - } - ], - "properties": { - "properties": { - "description": "NetworkFeatures resource specific properties", - "type": "object", - "properties": { - "virtualNetworkName": { - "description": "The Virtual Network name.", - "type": "string", - "readOnly": true - }, - "virtualNetworkConnection": { - "$ref": "./CommonDefinitions.json#/definitions/VnetInfo", - "description": "The Virtual Network summary view.", - "readOnly": true - }, - "hybridConnections": { - "description": "The Hybrid Connections summary view.", - "type": "array", - "items": { - "$ref": "#/definitions/RelayServiceConnectionEntity" - }, - "readOnly": true - }, - "hybridConnectionsV2": { - "description": "The Hybrid Connection V2 (Service Bus) view.", - "type": "array", - "items": { - "$ref": "./CommonDefinitions.json#/definitions/HybridConnection" - }, - "readOnly": true - } - }, - "x-ms-client-flatten": true - } - } - }, - "NetworkTrace": { - "description": "Network trace", - "type": "object", - "properties": { - "path": { - "description": "Local file path for the captured network trace file.", - "type": "string" - }, - "status": { - "description": "Current status of the network trace operation, same as Operation.Status (InProgress/Succeeded/Failed).", - "type": "string" - }, - "message": { - "description": "Detailed message of a network trace operation, e.g. error message in case of failure.", - "type": "string" - } - } - }, - "Nonce": { - "description": "The configuration settings of the nonce used in the login flow.", - "type": "object", - "properties": { - "validateNonce": { - "description": "false if the nonce should not be validated while completing the login flow; otherwise, true.", - "type": "boolean" - }, - "nonceExpirationInterval": { - "description": "The time after the request is made when the nonce should expire.", - "type": "string" - } - } - }, - "Object": { - "type": "object", - "properties": {} - }, - "OpenAuthenticationAccessPolicies": { - "type": "object", - "description": "AuthenticationPolicy of type Open.", - "properties": { - "policies": { - "type": "object", - "additionalProperties": { - "$ref": "#/definitions/OpenAuthenticationAccessPolicy" - }, - "description": "Open authentication policies." - } - } - }, - "OpenAuthenticationAccessPolicy": { - "type": "object", - "description": "Open authentication access policy defined by user.", - "properties": { - "type": { - "$ref": "#/definitions/OpenAuthenticationProviderType", - "description": "Type of provider for OAuth." - }, - "claims": { - "type": "array", - "description": "The access policy claims.", - "items": { - "$ref": "#/definitions/OpenAuthenticationPolicyClaim", - "description": "The access policy claim." - }, - "x-ms-identifiers": [ - "name" - ] - } - } - }, - "OpenAuthenticationProviderType": { - "type": "string", - "description": "Open authentication policy provider type.", - "enum": [ - "AAD" - ], - "x-ms-enum": { - "name": "OpenAuthenticationProviderType", - "modelAsString": true - } - }, - "OpenAuthenticationPolicyClaim": { - "type": "object", - "description": "Open authentication policy claim.", - "properties": { - "name": { - "type": "string", - "description": "The name of the claim." - }, - "value": { - "type": "string", - "description": "The value of the claim." - } - } - }, - "OpenIdConnectClientCredential": { - "description": "The authentication client credentials of the custom Open ID Connect provider.", - "type": "object", - "properties": { - "method": { - "description": "The method that should be used to authenticate the user.", - "enum": [ - "ClientSecretPost" - ], - "type": "string", - "x-ms-enum": { - "name": "ClientCredentialMethod", - "modelAsString": false - } - }, - "clientSecretSettingName": { - "description": "The app setting that contains the client secret for the custom Open ID Connect provider.", - "type": "string" - } - } - }, - "OpenIdConnectConfig": { - "description": "The configuration settings of the endpoints used for the custom Open ID Connect provider.", - "type": "object", - "properties": { - "authorizationEndpoint": { - "description": "The endpoint to be used to make an authorization request.", - "type": "string" - }, - "tokenEndpoint": { - "description": "The endpoint to be used to request a token.", - "type": "string" - }, - "issuer": { - "description": "The endpoint that issues the token.", - "type": "string" - }, - "certificationUri": { - "description": "The endpoint that provides the keys necessary to validate the token.", - "type": "string" - }, - "wellKnownOpenIdConfiguration": { - "description": "The endpoint that contains all the configuration endpoints for the provider.", - "type": "string" - } - } - }, - "OpenIdConnectLogin": { - "description": "The configuration settings of the login flow of the custom Open ID Connect provider.", - "type": "object", - "properties": { - "nameClaimType": { - "description": "The name of the claim that contains the users name.", - "type": "string" - }, - "scopes": { - "description": "A list of the scopes that should be requested while authenticating.", - "type": "array", - "items": { - "type": "string" - } - } - } - }, - "OpenIdConnectRegistration": { - "description": "The configuration settings of the app registration for the custom Open ID Connect provider.", - "type": "object", - "properties": { - "clientId": { - "description": "The client id of the custom Open ID Connect provider.", - "type": "string" - }, - "clientCredential": { - "$ref": "#/definitions/OpenIdConnectClientCredential", - "description": "The authentication credentials of the custom Open ID Connect provider." - }, - "openIdConnectConfiguration": { - "$ref": "#/definitions/OpenIdConnectConfig", - "description": "The configuration settings of the endpoints used for the custom Open ID Connect provider." - } - } - }, - "OperationResult": { - "type": "object", - "description": "The operation result definition.", - "additionalProperties": false, - "properties": { - "trackingId": { - "type": "string", - "readOnly": true, - "description": "Gets the tracking id." - }, - "inputs": { - "$ref": "#/definitions/Object", - "readOnly": true, - "description": "Gets the inputs." - }, - "inputsLink": { - "$ref": "#/definitions/ContentLink", - "readOnly": true, - "description": "Gets the link to inputs." - }, - "outputs": { - "$ref": "#/definitions/Object", - "readOnly": true, - "description": "Gets the outputs." - }, - "outputsLink": { - "$ref": "#/definitions/ContentLink", - "readOnly": true, - "description": "Gets the link to outputs." - }, - "trackedProperties": { - "$ref": "#/definitions/Object", - "readOnly": true, - "description": "Gets the tracked properties." - }, - "retryHistory": { - "type": "array", - "items": { - "$ref": "#/definitions/RetryHistory" - }, - "x-ms-identifiers": [], - "description": "Gets the retry histories." - }, - "iterationCount": { - "type": "integer", - "format": "int32" - } - }, - "allOf": [ - { - "$ref": "#/definitions/OperationResultProperties" - } - ] - }, - "OperationResultProperties": { - "type": "object", - "x-abstract": true, - "description": "The run operation result properties.", - "additionalProperties": false, - "properties": { - "startTime": { - "type": "string", - "format": "date-time", - "description": "The start time of the workflow scope repetition." - }, - "endTime": { - "type": "string", - "format": "date-time", - "description": "The end time of the workflow scope repetition." - }, - "correlation": { - "$ref": "#/definitions/RunActionCorrelation", - "description": "The correlation properties." - }, - "status": { - "$ref": "#/definitions/WorkflowStatus", - "description": "The status of the workflow scope repetition." - }, - "code": { - "type": "string", - "description": "The workflow scope repetition code." - }, - "error": {} - } - }, - "ParameterType": { - "type": "string", - "description": "The parameter type.", - "enum": [ - "NotSpecified", - "String", - "SecureString", - "Int", - "Float", - "Bool", - "Array", - "Object", - "SecureObject" - ], - "x-ms-enum": { - "name": "ParameterType", - "modelAsString": true - } - }, - "PerfMonCounterCollection": { - "description": "Collection of performance monitor counters.", - "required": [ - "value" - ], - "type": "object", - "properties": { - "value": { - "description": "Collection of resources.", - "type": "array", - "items": { - "$ref": "#/definitions/PerfMonResponse" - }, - "x-ms-identifiers": [] - }, - "nextLink": { - "description": "Link to next page of resources.", - "type": "string", - "readOnly": true - } - } - }, - "PerfMonResponse": { - "description": "Performance monitor API response.", - "type": "object", - "properties": { - "code": { - "description": "The response code.", - "type": "string" - }, - "message": { - "description": "The message.", - "type": "string" - }, - "data": { - "$ref": "#/definitions/PerfMonSet", - "description": "The performance monitor counters." - } - } - }, - "PerfMonSample": { - "description": "Performance monitor sample in a set.", - "type": "object", - "properties": { - "time": { - "format": "date-time", - "description": "Point in time for which counter was measured.", - "type": "string" - }, - "instanceName": { - "description": "Name of the server on which the measurement is made.", - "type": "string" - }, - "value": { - "format": "double", - "description": "Value of counter at a certain time.", - "type": "number" - } - } - }, - "PerfMonSet": { - "description": "Metric information.", - "type": "object", - "properties": { - "name": { - "description": "Unique key name of the counter.", - "type": "string" - }, - "startTime": { - "format": "date-time", - "description": "Start time of the period.", - "type": "string" - }, - "endTime": { - "format": "date-time", - "description": "End time of the period.", - "type": "string" - }, - "timeGrain": { - "description": "Presented time grain.", - "type": "string" - }, - "values": { - "description": "Collection of workers that are active during this time.", - "type": "array", - "items": { - "$ref": "#/definitions/PerfMonSample" - }, - "x-ms-identifiers": [] - } - } - }, - "PremierAddOn": { - "description": "Premier add-on.", - "type": "object", - "allOf": [ - { - "$ref": "./CommonDefinitions.json#/definitions/Resource" - } - ], - "properties": { - "properties": { - "description": "PremierAddOn resource specific properties", - "type": "object", - "properties": { - "sku": { - "description": "Premier add on SKU.", - "type": "string" - }, - "product": { - "description": "Premier add on Product.", - "type": "string" - }, - "vendor": { - "description": "Premier add on Vendor.", - "type": "string" - }, - "marketplacePublisher": { - "description": "Premier add on Marketplace publisher.", - "type": "string" - }, - "marketplaceOffer": { - "description": "Premier add on Marketplace offer.", - "type": "string" - } - }, - "x-ms-client-flatten": true - } - } - }, - "PremierAddOnPatchResource": { - "description": "ARM resource for a PremierAddOn.", - "type": "object", - "allOf": [ - { - "$ref": "./CommonDefinitions.json#/definitions/ProxyOnlyResource" - } - ], - "properties": { - "properties": { - "description": "PremierAddOnPatchResource resource specific properties", - "type": "object", - "properties": { - "sku": { - "description": "Premier add on SKU.", - "type": "string" - }, - "product": { - "description": "Premier add on Product.", - "type": "string" - }, - "vendor": { - "description": "Premier add on Vendor.", - "type": "string" - }, - "marketplacePublisher": { - "description": "Premier add on Marketplace publisher.", - "type": "string" - }, - "marketplaceOffer": { - "description": "Premier add on Marketplace offer.", - "type": "string" - } - }, - "x-ms-client-flatten": true - } - } - }, - "PrivateAccess": { - "description": "Description of the parameters of Private Access for a Web Site.", - "type": "object", - "allOf": [ - { - "$ref": "./CommonDefinitions.json#/definitions/ProxyOnlyResource" - } - ], - "properties": { - "properties": { - "description": "PrivateAccess resource specific properties", - "type": "object", - "properties": { - "enabled": { - "description": "Whether private access is enabled or not.", - "type": "boolean" - }, - "virtualNetworks": { - "description": "The Virtual Networks (and subnets) allowed to access the site privately.", - "type": "array", - "items": { - "$ref": "#/definitions/PrivateAccessVirtualNetwork" - }, - "x-ms-identifiers": [ - "key" - ] - } - }, - "x-ms-client-flatten": true - } - } - }, - "PrivateAccessSubnet": { - "description": "Description of a Virtual Network subnet that is useable for private site access.", - "type": "object", - "properties": { - "name": { - "description": "The name of the subnet.", - "type": "string" - }, - "key": { - "format": "int32", - "description": "The key (ID) of the subnet.", - "type": "integer" - } - } - }, - "PrivateAccessVirtualNetwork": { - "description": "Description of a Virtual Network that is useable for private site access.", - "type": "object", - "properties": { - "name": { - "description": "The name of the Virtual Network.", - "type": "string" - }, - "key": { - "format": "int32", - "description": "The key (ID) of the Virtual Network.", - "type": "integer" - }, - "resourceId": { - "description": "The ARM uri of the Virtual Network", - "type": "string" - }, - "subnets": { - "description": "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.", - "type": "array", - "items": { - "$ref": "#/definitions/PrivateAccessSubnet" - }, - "x-ms-identifiers": [ - "key" - ] - } - } - }, - "ProcessInfo": { - "description": "Process Information.", - "type": "object", - "allOf": [ - { - "$ref": "./CommonDefinitions.json#/definitions/ProxyOnlyResource" - } - ], - "properties": { - "properties": { - "description": "ProcessInfo resource specific properties", - "type": "object", - "properties": { - "identifier": { - "format": "int32", - "description": "ARM Identifier for deployment.", - "type": "integer", - "readOnly": true - }, - "deployment_name": { - "description": "Deployment name.", - "type": "string" - }, - "href": { - "description": "HRef URI.", - "type": "string" - }, - "minidump": { - "description": "Minidump URI.", - "type": "string" - }, - "is_profile_running": { - "description": "Is profile running?", - "type": "boolean" - }, - "is_iis_profile_running": { - "description": "Is the IIS Profile running?", - "type": "boolean" - }, - "iis_profile_timeout_in_seconds": { - "format": "double", - "description": "IIS Profile timeout (seconds).", - "type": "number" - }, - "parent": { - "description": "Parent process.", - "type": "string" - }, - "children": { - "description": "Child process list.", - "type": "array", - "items": { - "type": "string" - } - }, - "threads": { - "description": "Thread list.", - "type": "array", - "items": { - "$ref": "#/definitions/ProcessThreadInfo" - } - }, - "open_file_handles": { - "description": "List of open files.", - "type": "array", - "items": { - "type": "string" - } - }, - "modules": { - "description": "List of modules.", - "type": "array", - "items": { - "$ref": "#/definitions/ProcessModuleInfo" - } - }, - "file_name": { - "description": "File name of this process.", - "type": "string" - }, - "command_line": { - "description": "Command line.", - "type": "string" - }, - "user_name": { - "description": "User name.", - "type": "string" - }, - "handle_count": { - "format": "int32", - "description": "Handle count.", - "type": "integer" - }, - "module_count": { - "format": "int32", - "description": "Module count.", - "type": "integer" - }, - "thread_count": { - "format": "int32", - "description": "Thread count.", - "type": "integer" - }, - "start_time": { - "format": "date-time", - "description": "Start time.", - "type": "string" - }, - "total_cpu_time": { - "description": "Total CPU time.", - "type": "string" - }, - "user_cpu_time": { - "description": "User CPU time.", - "type": "string" - }, - "privileged_cpu_time": { - "description": "Privileged CPU time.", - "type": "string" - }, - "working_set": { - "format": "int64", - "description": "Working set.", - "type": "integer" - }, - "peak_working_set": { - "format": "int64", - "description": "Peak working set.", - "type": "integer" - }, - "private_memory": { - "format": "int64", - "description": "Private memory size.", - "type": "integer" - }, - "virtual_memory": { - "format": "int64", - "description": "Virtual memory size.", - "type": "integer" - }, - "peak_virtual_memory": { - "format": "int64", - "description": "Peak virtual memory usage.", - "type": "integer" - }, - "paged_system_memory": { - "format": "int64", - "description": "Paged system memory.", - "type": "integer" - }, - "non_paged_system_memory": { - "format": "int64", - "description": "Non-paged system memory.", - "type": "integer" - }, - "paged_memory": { - "format": "int64", - "description": "Paged memory.", - "type": "integer" - }, - "peak_paged_memory": { - "format": "int64", - "description": "Peak paged memory.", - "type": "integer" - }, - "time_stamp": { - "format": "date-time", - "description": "Time stamp.", - "type": "string" - }, - "environment_variables": { - "description": "List of environment variables.", - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - "is_scm_site": { - "description": "Is this the SCM site?", - "type": "boolean" - }, - "is_webjob": { - "description": "Is this a Web Job?", - "type": "boolean" - }, - "description": { - "description": "Description of process.", - "type": "string" - } - }, - "x-ms-client-flatten": true - } - } - }, - "ProcessInfoCollection": { - "description": "Collection of Kudu process information elements.", - "required": [ - "value" - ], - "type": "object", - "properties": { - "value": { - "description": "Collection of resources.", - "type": "array", - "items": { - "$ref": "#/definitions/ProcessInfo" - } - }, - "nextLink": { - "description": "Link to next page of resources.", - "type": "string", - "readOnly": true - } - } - }, - "ProcessModuleInfo": { - "description": "Process Module Information.", - "type": "object", - "allOf": [ - { - "$ref": "./CommonDefinitions.json#/definitions/ProxyOnlyResource" - } - ], - "properties": { - "properties": { - "description": "ProcessModuleInfo resource specific properties", - "type": "object", - "properties": { - "base_address": { - "description": "Base address. Used as module identifier in ARM resource URI.", - "type": "string" - }, - "file_name": { - "description": "File name.", - "type": "string" - }, - "href": { - "description": "HRef URI.", - "type": "string" - }, - "file_path": { - "description": "File path.", - "type": "string" - }, - "module_memory_size": { - "format": "int32", - "description": "Module memory size.", - "type": "integer" - }, - "file_version": { - "description": "File version.", - "type": "string" - }, - "file_description": { - "description": "File description.", - "type": "string" - }, - "product": { - "description": "Product name.", - "type": "string" - }, - "product_version": { - "description": "Product version.", - "type": "string" - }, - "is_debug": { - "description": "Is debug?", - "type": "boolean" - }, - "language": { - "description": "Module language (locale).", - "type": "string" - } - }, - "x-ms-client-flatten": true - } - } - }, - "ProcessModuleInfoCollection": { - "description": "Collection of Kudu thread information elements.", - "required": [ - "value" - ], - "type": "object", - "properties": { - "value": { - "description": "Collection of resources.", - "type": "array", - "items": { - "$ref": "#/definitions/ProcessModuleInfo" - } - }, - "nextLink": { - "description": "Link to next page of resources.", - "type": "string", - "readOnly": true - } - } - }, - "ProcessThreadInfo": { - "description": "Process Thread Information.", - "type": "object", - "allOf": [ - { - "$ref": "./CommonDefinitions.json#/definitions/ProxyOnlyResource" - } - ], - "properties": { - "properties": { - "description": "ProcessThreadInfo resource specific properties", - "type": "object", - "properties": { - "identifier": { - "format": "int32", - "description": "Site extension ID.", - "type": "integer", - "readOnly": true - }, - "href": { - "description": "HRef URI.", - "type": "string" - }, - "process": { - "description": "Process URI.", - "type": "string" - }, - "start_address": { - "description": "Start address.", - "type": "string" - }, - "current_priority": { - "format": "int32", - "description": "Current thread priority.", - "type": "integer" - }, - "priority_level": { - "description": "Thread priority level.", - "type": "string" - }, - "base_priority": { - "format": "int32", - "description": "Base priority.", - "type": "integer" - }, - "start_time": { - "format": "date-time", - "description": "Start time.", - "type": "string" - }, - "total_processor_time": { - "description": "Total processor time.", - "type": "string" - }, - "user_processor_time": { - "description": "User processor time.", - "type": "string" - }, - "state": { - "description": "Thread state.", - "type": "string" - }, - "wait_reason": { - "description": "Wait reason.", - "type": "string" - } - }, - "x-ms-client-flatten": true - } - } - }, - "ProcessThreadInfoCollection": { - "description": "Collection of Kudu thread information elements.", - "required": [ - "value" - ], - "type": "object", - "properties": { - "value": { - "description": "Collection of resources.", - "type": "array", - "items": { - "$ref": "#/definitions/ProcessThreadInfo" - } - }, - "nextLink": { - "description": "Link to next page of resources.", - "type": "string", - "readOnly": true - } - } - }, - "PublicCertificate": { - "description": "Public certificate object", - "type": "object", - "allOf": [ - { - "$ref": "./CommonDefinitions.json#/definitions/ProxyOnlyResource" - } - ], - "properties": { - "properties": { - "description": "PublicCertificate resource specific properties", - "type": "object", - "properties": { - "blob": { - "format": "byte", - "description": "Public Certificate byte array", - "type": "string" - }, - "publicCertificateLocation": { - "description": "Public Certificate Location", - "enum": [ - "CurrentUserMy", - "LocalMachineMy", - "Unknown" - ], - "type": "string", - "x-ms-enum": { - "name": "PublicCertificateLocation", - "modelAsString": false - } - }, - "thumbprint": { - "description": "Certificate Thumbprint", - "type": "string", - "readOnly": true - } - }, - "x-ms-client-flatten": true - } - } - }, - "PublicCertificateCollection": { - "description": "Collection of public certificates", - "required": [ - "value" - ], - "type": "object", - "properties": { - "value": { - "description": "Collection of resources.", - "type": "array", - "items": { - "$ref": "#/definitions/PublicCertificate" - } - }, - "nextLink": { - "description": "Link to next page of resources.", - "type": "string", - "readOnly": true - } - } - }, - "PublishingCredentialsPoliciesCollection": { - "description": "Publishing Credentials Policies entity collection ARM resource.", - "required": [ - "value" - ], - "type": "object", - "properties": { - "value": { - "description": "Collection of resources.", - "type": "array", - "items": { - "$ref": "#/definitions/CsmPublishingCredentialsPoliciesEntity" - } - }, - "nextLink": { - "description": "Link to next page of resources.", - "type": "string", - "readOnly": true - } - } - }, - "RecurrenceSchedule": { - "type": "object", - "properties": { - "minutes": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - }, - "description": "The minutes." - }, - "hours": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - }, - "description": "The hours." - }, - "weekDays": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "Sunday", - "Monday", - "Tuesday", - "Wednesday", - "Thursday", - "Friday", - "Saturday" - ], - "x-ms-enum": { - "name": "DaysOfWeek", - "modelAsString": false - } - }, - "description": "The days of the week." - }, - "monthDays": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - }, - "description": "The month days." - }, - "monthlyOccurrences": { - "type": "array", - "items": { - "$ref": "#/definitions/RecurrenceScheduleOccurrence" - }, - "x-ms-identifiers": [], - "description": "The monthly occurrences." - } - }, - "description": "The recurrence schedule." - }, - "RecurrenceScheduleOccurrence": { - "type": "object", - "properties": { - "day": { - "$ref": "#/definitions/DayOfWeek", - "description": "The day of the week." - }, - "occurrence": { - "type": "integer", - "format": "int32", - "description": "The occurrence." - } - }, - "description": "The recurrence schedule occurrence." - }, - "RegenerateActionParameter": { - "type": "object", - "properties": { - "keyType": { - "$ref": "#/definitions/KeyType", - "description": "The key type." - } - }, - "description": "The access key regenerate action content." - }, - "RepetitionIndex": { - "type": "object", - "description": "The workflow run action repetition index.", - "additionalProperties": false, - "required": [ - "itemIndex" - ], - "properties": { - "scopeName": { - "type": "string", - "description": "The scope." - }, - "itemIndex": { - "type": "integer", - "format": "int32", - "description": "The index." - } - } - }, - "RelayServiceConnectionEntity": { - "description": "Hybrid Connection for an App Service app.", - "type": "object", - "allOf": [ - { - "$ref": "./CommonDefinitions.json#/definitions/ProxyOnlyResource" - } - ], - "properties": { - "properties": { - "description": "RelayServiceConnectionEntity resource specific properties", - "type": "object", - "properties": { - "entityName": { - "type": "string" - }, - "entityConnectionString": { - "type": "string" - }, - "resourceType": { - "type": "string" - }, - "resourceConnectionString": { - "type": "string" - }, - "hostname": { - "type": "string" - }, - "port": { - "format": "int32", - "type": "integer" - }, - "biztalkUri": { - "type": "string" - } - }, - "x-ms-client-flatten": true - } - } - }, - "Response": { - "type": "object", - "additionalProperties": false, - "description": "A response.", - "properties": { - "headers": { - "$ref": "#/definitions/Object", - "description": "A list of all the headers attached to the response." - }, - "statusCode": { - "type": "integer", - "format": "int32", - "description": "The status code of the response." - }, - "bodyLink": { - "$ref": "#/definitions/ContentLink", - "description": "Details on the location of the body content." - } - } - }, - "ResourceReference": { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "The resource id." - }, - "name": { - "type": "string", - "readOnly": true, - "description": "Gets the resource name." - }, - "type": { - "type": "string", - "readOnly": true, - "description": "Gets the resource type." - } - }, - "description": "The resource reference." - }, - "RestoreRequest": { - "description": "Description of a restore request.", - "type": "object", - "allOf": [ - { - "$ref": "./CommonDefinitions.json#/definitions/ProxyOnlyResource" - } - ], - "properties": { - "properties": { - "description": "RestoreRequest resource specific properties", - "required": [ - "storageAccountUrl", - "overwrite" - ], - "type": "object", - "properties": { - "storageAccountUrl": { - "description": "SAS URL to the container.", - "type": "string" - }, - "blobName": { - "description": "Name of a blob which contains the backup.", - "type": "string" - }, - "overwrite": { - "description": "true if the restore operation can overwrite target app; otherwise, false. true is needed if trying to restore over an existing app.", - "type": "boolean" - }, - "siteName": { - "description": "Name of an app.", - "type": "string" - }, - "databases": { - "description": "Collection of databases which should be restored. This list has to match the list of databases included in the backup.", - "type": "array", - "items": { - "$ref": "#/definitions/DatabaseBackupSetting" - }, - "x-ms-identifiers": [ - "name" - ] - }, - "ignoreConflictingHostNames": { - "description": "Changes a logic when restoring an app with custom domains. true to remove custom domains automatically. If false, custom domains are added to \nthe app's object when it is being restored, but that might fail due to conflicts during the operation.", - "default": false, - "type": "boolean" - }, - "ignoreDatabases": { - "description": "Ignore the databases and only restore the site content", - "default": false, - "type": "boolean" - }, - "appServicePlan": { - "description": "Specify app service plan that will own restored site.", - "type": "string" - }, - "operationType": { - "description": "Operation type.", - "default": "Default", - "enum": [ - "Default", - "Clone", - "Relocation", - "Snapshot", - "CloudFS" - ], - "type": "string", - "x-ms-enum": { - "name": "BackupRestoreOperationType", - "modelAsString": false - } - }, - "adjustConnectionStrings": { - "description": "true if SiteConfig.ConnectionStrings should be set in new app; otherwise, false.", - "type": "boolean" - }, - "hostingEnvironment": { - "description": "App Service Environment name, if needed (only when restoring an app to an App Service Environment).", - "type": "string" - } - }, - "x-ms-client-flatten": true - } - } - }, - "Request": { - "type": "object", - "additionalProperties": false, - "description": "A request.", - "properties": { - "headers": { - "$ref": "#/definitions/Object", - "description": "A list of all the headers attached to the request." - }, - "uri": { - "type": "string", - "description": "The destination for the request." - }, - "method": { - "type": "string", - "description": "The HTTP method used for the request." - } - } - }, - "RequestHistoryListResult": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/RequestHistory" - }, - "description": "A list of workflow request histories." - }, - "nextLink": { - "type": "string", - "description": "The URL to get the next set of results." - } - }, - "description": "The list of workflow request histories." - }, - "RequestHistory": { - "type": "object", - "additionalProperties": false, - "description": "The request history.", - "properties": { - "properties": { - "$ref": "#/definitions/RequestHistoryProperties", - "description": "The request history properties." - } - }, - "allOf": [ - { - "$ref": "#/definitions/WorkflowResource" - } - ] - }, - "RequestHistoryProperties": { - "type": "object", - "additionalProperties": false, - "description": "The request history.", - "properties": { - "startTime": { - "type": "string", - "format": "date-time", - "description": "The time the request started." - }, - "endTime": { - "type": "string", - "format": "date-time", - "description": "The time the request ended." - }, - "request": { - "$ref": "#/definitions/Request", - "description": "The request." - }, - "response": { - "$ref": "#/definitions/Response", - "description": "The response." - } - } - }, - "RetryHistory": { - "type": "object", - "properties": { - "startTime": { - "type": "string", - "format": "date-time", - "description": "Gets the start time." - }, - "endTime": { - "type": "string", - "format": "date-time", - "description": "Gets the end time." - }, - "code": { - "type": "string", - "description": "Gets the status code." - }, - "clientRequestId": { - "type": "string", - "description": "Gets the client request Id." - }, - "serviceRequestId": { - "type": "string", - "description": "Gets the service request Id." - }, - "error": { - "$ref": "#/definitions/ErrorResponse", - "description": "Gets the error response." - } - }, - "description": "The retry history." - }, - "RunActionCorrelation": { - "type": "object", - "description": "The workflow run action correlation properties.", - "additionalProperties": false, - "properties": { - "actionTrackingId": { - "type": "string", - "description": "The action tracking identifier." - } - }, - "allOf": [ - { - "$ref": "#/definitions/RunCorrelation" - } - ] - }, - "RunCorrelation": { - "type": "object", - "description": "The correlation properties.", - "additionalProperties": false, - "properties": { - "clientTrackingId": { - "type": "string", - "description": "The client tracking identifier." - }, - "clientKeywords": { - "type": "array", - "description": "The client keywords.", - "items": { - "type": "string" - } - } - } - }, - "SiteAuthSettings": { - "description": "Configuration settings for the Azure App Service Authentication / Authorization feature.", - "type": "object", - "allOf": [ - { - "$ref": "./CommonDefinitions.json#/definitions/ProxyOnlyResource" - } - ], - "properties": { - "properties": { - "description": "SiteAuthSettings resource specific properties", - "type": "object", - "properties": { - "enabled": { - "description": "true if the Authentication / Authorization feature is enabled for the current app; otherwise, false.", - "type": "boolean" - }, - "runtimeVersion": { - "description": "The RuntimeVersion of the Authentication / Authorization feature in use for the current app.\nThe setting in this value can control the behavior of certain features in the Authentication / Authorization module.", - "type": "string" - }, - "unauthenticatedClientAction": { - "description": "The action to take when an unauthenticated client attempts to access the app.", - "enum": [ - "RedirectToLoginPage", - "AllowAnonymous" - ], - "type": "string", - "x-ms-enum": { - "name": "UnauthenticatedClientAction", - "modelAsString": false - } - }, - "tokenStoreEnabled": { - "description": "true to durably store platform-specific security tokens that are obtained during login flows; otherwise, false.\n The default is false.", - "type": "boolean" - }, - "allowedExternalRedirectUrls": { - "description": "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.\nThis is an advanced setting typically only needed by Windows Store application backends.\nNote that URLs within the current domain are always implicitly allowed.", - "type": "array", - "items": { - "type": "string" - } - }, - "defaultProvider": { - "description": "The default authentication provider to use when multiple providers are configured.\nThis setting is only needed if multiple providers are configured and the unauthenticated client\naction is set to \"RedirectToLoginPage\".", - "enum": [ - "AzureActiveDirectory", - "Facebook", - "Google", - "MicrosoftAccount", - "Twitter", - "Github" - ], - "type": "string", - "x-ms-enum": { - "name": "BuiltInAuthenticationProvider", - "modelAsString": false - } - }, - "tokenRefreshExtensionHours": { - "format": "double", - "description": "The number of hours after session token expiration that a session token can be used to\ncall the token refresh API. The default is 72 hours.", - "type": "number" - }, - "clientId": { - "description": "The Client ID of this relying party application, known as the client_id.\nThis setting is required for enabling OpenID Connection authentication with Azure Active Directory or \nother 3rd party OpenID Connect providers.\nMore information on OpenID Connect: http://openid.net/specs/openid-connect-core-1_0.html", - "type": "string" - }, - "clientSecret": { - "description": "The Client Secret of this relying party application (in Azure Active Directory, this is also referred to as the Key).\nThis setting is optional. If no client secret is configured, the OpenID Connect implicit auth flow is used to authenticate end users.\nOtherwise, the OpenID Connect Authorization Code Flow is used to authenticate end users.\nMore information on OpenID Connect: http://openid.net/specs/openid-connect-core-1_0.html", - "type": "string" - }, - "clientSecretSettingName": { - "description": "The app setting name that contains the client secret of the relying party application.", - "type": "string" - }, - "clientSecretCertificateThumbprint": { - "description": "An alternative to the client secret, that is the thumbprint of a certificate used for signing purposes. This property acts as\na replacement for the Client Secret. It is also optional.", - "type": "string" - }, - "issuer": { - "description": "The OpenID Connect Issuer URI that represents the entity which issues access tokens for this application.\nWhen using Azure Active Directory, this value is the URI of the directory tenant, e.g. `https://sts.windows.net/{tenant-guid}/`.\nThis URI is a case-sensitive identifier for the token issuer.\nMore information on OpenID Connect Discovery: http://openid.net/specs/openid-connect-discovery-1_0.html", - "type": "string" - }, - "validateIssuer": { - "description": "Gets a value indicating whether the issuer should be a valid HTTPS url and be validated as such.", - "type": "boolean" - }, - "allowedAudiences": { - "description": "Allowed audience values to consider when validating JSON Web Tokens issued by \nAzure Active Directory. Note that the ClientID value is always considered an\nallowed audience, regardless of this setting.", - "type": "array", - "items": { - "type": "string" - } - }, - "additionalLoginParams": { - "description": "Login parameters to send to the OpenID Connect authorization endpoint when\na user logs in. Each parameter must be in the form \"key=value\".", - "type": "array", - "items": { - "type": "string" - } - }, - "aadClaimsAuthorization": { - "description": "Gets a JSON string containing the Azure AD Acl settings.", - "type": "string" - }, - "googleClientId": { - "description": "The OpenID Connect Client ID for the Google web application.\nThis setting is required for enabling Google Sign-In.\nGoogle Sign-In documentation: https://developers.google.com/identity/sign-in/web/", - "type": "string" - }, - "googleClientSecret": { - "description": "The client secret associated with the Google web application.\nThis setting is required for enabling Google Sign-In.\nGoogle Sign-In documentation: https://developers.google.com/identity/sign-in/web/", - "type": "string" - }, - "googleClientSecretSettingName": { - "description": "The app setting name that contains the client secret associated with \nthe Google web application.", - "type": "string" - }, - "googleOAuthScopes": { - "description": "The OAuth 2.0 scopes that will be requested as part of Google Sign-In authentication.\nThis setting is optional. If not specified, \"openid\", \"profile\", and \"email\" are used as default scopes.\nGoogle Sign-In documentation: https://developers.google.com/identity/sign-in/web/", - "type": "array", - "items": { - "type": "string" - } - }, - "facebookAppId": { - "description": "The App ID of the Facebook app used for login.\nThis setting is required for enabling Facebook Login.\nFacebook Login documentation: https://developers.facebook.com/docs/facebook-login", - "type": "string" - }, - "facebookAppSecret": { - "description": "The App Secret of the Facebook app used for Facebook Login.\nThis setting is required for enabling Facebook Login.\nFacebook Login documentation: https://developers.facebook.com/docs/facebook-login", - "type": "string" - }, - "facebookAppSecretSettingName": { - "description": "The app setting name that contains the app secret used for Facebook Login.", - "type": "string" - }, - "facebookOAuthScopes": { - "description": "The OAuth 2.0 scopes that will be requested as part of Facebook Login authentication.\nThis setting is optional.\nFacebook Login documentation: https://developers.facebook.com/docs/facebook-login", - "type": "array", - "items": { - "type": "string" - } - }, - "gitHubClientId": { - "description": "The Client Id of the GitHub app used for login.\nThis setting is required for enabling Github login", - "type": "string" - }, - "gitHubClientSecret": { - "description": "The Client Secret of the GitHub app used for Github Login.\nThis setting is required for enabling Github login.", - "type": "string" - }, - "gitHubClientSecretSettingName": { - "description": "The app setting name that contains the client secret of the Github\napp used for GitHub Login.", - "type": "string" - }, - "gitHubOAuthScopes": { - "description": "The OAuth 2.0 scopes that will be requested as part of GitHub Login authentication.\nThis setting is optional", - "type": "array", - "items": { - "type": "string" - } - }, - "twitterConsumerKey": { - "description": "The OAuth 1.0a consumer key of the Twitter application used for sign-in.\nThis setting is required for enabling Twitter Sign-In.\nTwitter Sign-In documentation: https://dev.twitter.com/web/sign-in", - "type": "string" - }, - "twitterConsumerSecret": { - "description": "The OAuth 1.0a consumer secret of the Twitter application used for sign-in.\nThis setting is required for enabling Twitter Sign-In.\nTwitter Sign-In documentation: https://dev.twitter.com/web/sign-in", - "type": "string" - }, - "twitterConsumerSecretSettingName": { - "description": "The app setting name that contains the OAuth 1.0a consumer secret of the Twitter\napplication used for sign-in.", - "type": "string" - }, - "microsoftAccountClientId": { - "description": "The OAuth 2.0 client ID that was created for the app used for authentication.\nThis setting is required for enabling Microsoft Account authentication.\nMicrosoft Account OAuth documentation: https://dev.onedrive.com/auth/msa_oauth.htm", - "type": "string" - }, - "microsoftAccountClientSecret": { - "description": "The OAuth 2.0 client secret that was created for the app used for authentication.\nThis setting is required for enabling Microsoft Account authentication.\nMicrosoft Account OAuth documentation: https://dev.onedrive.com/auth/msa_oauth.htm", - "type": "string" - }, - "microsoftAccountClientSecretSettingName": { - "description": "The app setting name containing the OAuth 2.0 client secret that was created for the\napp used for authentication.", - "type": "string" - }, - "microsoftAccountOAuthScopes": { - "description": "The OAuth 2.0 scopes that will be requested as part of Microsoft Account authentication.\nThis setting is optional. If not specified, \"wl.basic\" is used as the default scope.\nMicrosoft Account Scopes and permissions documentation: https://msdn.microsoft.com/en-us/library/dn631845.aspx", - "type": "array", - "items": { - "type": "string" - } - }, - "isAuthFromFile": { - "description": "\"true\" if the auth config settings should be read from a file,\n\"false\" otherwise", - "type": "string" - }, - "authFilePath": { - "description": "The path of the config file containing auth settings.\nIf the path is relative, base will the site's root directory.", - "type": "string" - }, - "configVersion": { - "description": "The ConfigVersion of the Authentication / Authorization feature in use for the current app.\nThe setting in this value can control the behavior of the control plane for Authentication / Authorization.", - "type": "string" - } - }, - "x-ms-client-flatten": true - } - } - }, - "SiteAuthSettingsV2": { - "description": "Configuration settings for the Azure App Service Authentication / Authorization V2 feature.", - "type": "object", - "allOf": [ - { - "$ref": "./CommonDefinitions.json#/definitions/ProxyOnlyResource" - } - ], - "properties": { - "properties": { - "description": "SiteAuthSettingsV2 resource specific properties", - "type": "object", - "properties": { - "platform": { - "$ref": "#/definitions/AuthPlatform", - "description": "The configuration settings of the platform of App Service Authentication/Authorization." - }, - "globalValidation": { - "$ref": "#/definitions/GlobalValidation", - "description": "The configuration settings that determines the validation flow of users using App Service Authentication/Authorization." - }, - "identityProviders": { - "$ref": "#/definitions/IdentityProviders", - "description": "The configuration settings of each of the identity providers used to configure App Service Authentication/Authorization." - }, - "login": { - "$ref": "#/definitions/Login", - "description": "The configuration settings of the login flow of users using App Service Authentication/Authorization." - }, - "httpSettings": { - "$ref": "#/definitions/HttpSettings", - "description": "The configuration settings of the HTTP requests for authentication and authorization requests made against App Service Authentication/Authorization." - } - }, - "x-ms-client-flatten": true - } - } - }, - "SiteCloneability": { - "description": "Represents whether or not an app is cloneable.", - "type": "object", - "properties": { - "result": { - "description": "Name of app.", - "enum": [ - "Cloneable", - "PartiallyCloneable", - "NotCloneable" - ], - "type": "string", - "x-ms-enum": { - "name": "CloneAbilityResult", - "modelAsString": false - } - }, - "blockingFeatures": { - "description": "List of features enabled on app that prevent cloning.", - "type": "array", - "items": { - "$ref": "#/definitions/SiteCloneabilityCriterion" - }, - "x-ms-identifiers": [ - "name" - ] - }, - "unsupportedFeatures": { - "description": "List of features enabled on app that are non-blocking but cannot be cloned. The app can still be cloned\nbut the features in this list will not be set up on cloned app.", - "type": "array", - "items": { - "$ref": "#/definitions/SiteCloneabilityCriterion" - }, - "x-ms-identifiers": [ - "name" - ] - }, - "blockingCharacteristics": { - "description": "List of blocking application characteristics.", - "type": "array", - "items": { - "$ref": "#/definitions/SiteCloneabilityCriterion" - }, - "x-ms-identifiers": [ - "name" - ] - } - } - }, - "SiteCloneabilityCriterion": { - "description": "An app cloneability criterion.", - "type": "object", - "properties": { - "name": { - "description": "Name of criterion.", - "type": "string" - }, - "description": { - "description": "Description of criterion.", - "type": "string" - } - } - }, - "SiteConfigResource": { - "description": "Web app configuration ARM resource.", - "type": "object", - "allOf": [ - { - "$ref": "./CommonDefinitions.json#/definitions/ProxyOnlyResource" - } - ], - "properties": { - "properties": { - "$ref": "./CommonDefinitions.json#/definitions/SiteConfig", - "description": "Core resource properties", - "type": "object", - "x-ms-client-flatten": true - } - } - }, - "SiteConfigResourceCollection": { - "description": "Collection of site configurations.", - "required": [ - "value" - ], - "type": "object", - "properties": { - "value": { - "description": "Collection of resources.", - "type": "array", - "items": { - "$ref": "#/definitions/SiteConfigResource" - } - }, - "nextLink": { - "description": "Link to next page of resources.", - "type": "string", - "readOnly": true - } - } - }, - "SiteConfigurationSnapshotInfo": { - "description": "A snapshot of a web app configuration.", - "type": "object", - "allOf": [ - { - "$ref": "./CommonDefinitions.json#/definitions/ProxyOnlyResource" - } - ], - "properties": { - "properties": { - "description": "SiteConfigurationSnapshotInfo resource specific properties", - "type": "object", - "properties": { - "time": { - "format": "date-time", - "description": "The time the snapshot was taken.", - "type": "string", - "readOnly": true - }, - "snapshotId": { - "format": "int32", - "description": "The id of the snapshot", - "type": "integer", - "readOnly": true - } - }, - "x-ms-client-flatten": true - } - } - }, - "SiteConfigurationSnapshotInfoCollection": { - "description": "Collection of metadata for the app configuration snapshots that can be restored.", - "required": [ - "value" - ], - "type": "object", - "properties": { - "value": { - "description": "Collection of resources.", - "type": "array", - "items": { - "$ref": "#/definitions/SiteConfigurationSnapshotInfo" - } - }, - "nextLink": { - "description": "Link to next page of resources.", - "type": "string", - "readOnly": true - } - } - }, - "SiteContainer": { - "description": "Container of a site", - "type": "object", - "allOf": [ - { - "$ref": "./CommonDefinitions.json#/definitions/ProxyOnlyResource" - } - ], - "properties": { - "properties": { - "description": "SiteContainer resource specific properties", - "required": [ - "image", - "isMain" - ], - "type": "object", - "properties": { - "image": { - "description": "Image Name", - "type": "string" - }, - "targetPort": { - "description": "Target Port", - "type": "string" - }, - "isMain": { - "description": "true if the container is the main site container; false otherwise.", - "type": "boolean" - }, - "startUpCommand": { - "description": "StartUp Command", - "type": "string" - }, - "authType": { - "description": "Auth Type", - "enum": [ - "Anonymous", - "UserCredentials", - "SystemIdentity", - "UserAssigned" - ], - "type": "string", - "x-ms-enum": { - "name": "AuthType", - "modelAsString": false - } - }, - "userName": { - "description": "User Name", - "type": "string" - }, - "passwordSecret": { - "description": "Password Secret", - "type": "string", - "x-ms-secret": true - }, - "userManagedIdentityClientId": { - "description": "UserManagedIdentity ClientId", - "type": "string" - }, - "createdTime": { - "format": "date-time", - "description": "Created Time", - "type": "string", - "readOnly": true - }, - "lastModifiedTime": { - "format": "date-time", - "description": "Last Modified Time", - "type": "string", - "readOnly": true - }, - "volumeMounts": { - "description": "List of volume mounts", - "type": "array", - "items": { - "$ref": "#/definitions/VolumeMount" - } - }, - "inheritAppSettingsAndConnectionStrings": { - "description": "true if all AppSettings and ConnectionStrings have to be passed to the container as environment variables; false otherwise.", - "type": "boolean" - }, - "environmentVariables": { - "description": "List of environment variables", - "type": "array", - "items": { - "$ref": "#/definitions/EnvironmentVariable" - } - } - }, - "x-ms-client-flatten": true - } - } - }, - "SiteContainerCollection": { - "description": "Collection of site containers", - "required": [ - "value" - ], - "type": "object", - "properties": { - "value": { - "description": "Collection of resources.", - "type": "array", - "items": { - "$ref": "#/definitions/SiteContainer" - } - }, - "nextLink": { - "description": "Link to next page of resources.", - "type": "string", - "readOnly": true - } - } - }, - "SiteExtensionInfo": { - "description": "Site Extension Information.", - "type": "object", - "allOf": [ - { - "$ref": "./CommonDefinitions.json#/definitions/ProxyOnlyResource" - } - ], - "properties": { - "properties": { - "description": "SiteExtensionInfo resource specific properties", - "type": "object", - "properties": { - "extension_id": { - "description": "Site extension ID.", - "type": "string" - }, - "title": { - "type": "string" - }, - "extension_type": { - "description": "Site extension type.", - "enum": [ - "Gallery", - "WebRoot" - ], - "type": "string", - "x-ms-enum": { - "name": "SiteExtensionType", - "modelAsString": false - } - }, - "summary": { - "description": "Summary description.", - "type": "string" - }, - "description": { - "description": "Detailed description.", - "type": "string" - }, - "version": { - "description": "Version information.", - "type": "string" - }, - "extension_url": { - "description": "Extension URL.", - "type": "string" - }, - "project_url": { - "description": "Project URL.", - "type": "string" - }, - "icon_url": { - "description": "Icon URL.", - "type": "string" - }, - "license_url": { - "description": "License URL.", - "type": "string" - }, - "feed_url": { - "description": "Feed URL.", - "type": "string" - }, - "authors": { - "description": "List of authors.", - "type": "array", - "items": { - "type": "string" - } - }, - "installer_command_line_params": { - "description": "Installer command line parameters.", - "type": "string" - }, - "published_date_time": { - "format": "date-time", - "description": "Published timestamp.", - "type": "string" - }, - "download_count": { - "format": "int32", - "description": "Count of downloads.", - "type": "integer" - }, - "local_is_latest_version": { - "description": "true if the local version is the latest version; false otherwise.", - "type": "boolean" - }, - "local_path": { - "description": "Local path.", - "type": "string" - }, - "installed_date_time": { - "format": "date-time", - "description": "Installed timestamp.", - "type": "string" - }, - "provisioningState": { - "description": "Provisioning state.", - "type": "string" - }, - "comment": { - "description": "Site Extension comment.", - "type": "string" - } - }, - "x-ms-client-flatten": true - } - } - }, - "SiteExtensionInfoCollection": { - "description": "Collection of Kudu site extension information elements.", - "required": [ - "value" - ], - "type": "object", - "properties": { - "value": { - "description": "Collection of resources.", - "type": "array", - "items": { - "$ref": "#/definitions/SiteExtensionInfo" - } - }, - "nextLink": { - "description": "Link to next page of resources.", - "type": "string", - "readOnly": true - } - } - }, - "SiteLogsConfig": { - "description": "Configuration of App Service site logs.", - "type": "object", - "allOf": [ - { - "$ref": "./CommonDefinitions.json#/definitions/ProxyOnlyResource" - } - ], - "properties": { - "properties": { - "description": "SiteLogsConfig resource specific properties", - "type": "object", - "properties": { - "applicationLogs": { - "$ref": "#/definitions/ApplicationLogsConfig", - "description": "Application logs configuration." - }, - "httpLogs": { - "$ref": "#/definitions/HttpLogsConfig", - "description": "HTTP logs configuration." - }, - "failedRequestsTracing": { - "$ref": "#/definitions/EnabledConfig", - "description": "Failed requests tracing configuration." - }, - "detailedErrorMessages": { - "$ref": "#/definitions/EnabledConfig", - "description": "Detailed error messages configuration." - } - }, - "x-ms-client-flatten": true - } - } - }, - "SitePatchResource": { - "description": "ARM resource for a site.", - "type": "object", - "allOf": [ - { - "$ref": "./CommonDefinitions.json#/definitions/ProxyOnlyResource" - } - ], - "properties": { - "properties": { - "description": "SitePatchResource resource specific properties", - "type": "object", - "properties": { - "state": { - "description": "Current state of the app.", - "type": "string", - "readOnly": true - }, - "hostNames": { - "description": "Hostnames associated with the app.", - "type": "array", - "items": { - "type": "string" - }, - "readOnly": true - }, - "repositorySiteName": { - "description": "Name of the repository site.", - "type": "string", - "readOnly": true - }, - "usageState": { - "description": "State indicating whether the app has exceeded its quota usage. Read-only.", - "enum": [ - "Normal", - "Exceeded" - ], - "type": "string", - "readOnly": true, - "x-ms-enum": { - "name": "UsageState", - "modelAsString": false - } - }, - "enabled": { - "description": "true if the app is enabled; otherwise, false. Setting this value to false disables the app (takes the app offline).", - "type": "boolean" - }, - "enabledHostNames": { - "description": "Enabled hostnames for the app.Hostnames need to be assigned (see HostNames) AND enabled. Otherwise,\nthe app is not served on those hostnames.", - "type": "array", - "items": { - "type": "string" - }, - "readOnly": true - }, - "availabilityState": { - "description": "Management information availability state for the app.", - "enum": [ - "Normal", - "Limited", - "DisasterRecoveryMode" - ], - "type": "string", - "readOnly": true, - "x-ms-enum": { - "name": "SiteAvailabilityState", - "modelAsString": false - } - }, - "hostNameSslStates": { - "description": "Hostname SSL states are used to manage the SSL bindings for app's hostnames.", - "type": "array", - "items": { - "$ref": "./CommonDefinitions.json#/definitions/HostNameSslState" - }, - "x-ms-identifiers": [ - "name" - ] - }, - "serverFarmId": { - "description": "Resource ID of the associated App Service plan, formatted as: \"/subscriptions/{subscriptionID}/resourceGroups/{groupName}/providers/Microsoft.Web/serverfarms/{appServicePlanName}\".", - "type": "string" - }, - "reserved": { - "description": "true if reserved; otherwise, false.", - "default": false, - "type": "boolean", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "isXenon": { - "description": "Obsolete: Hyper-V sandbox.", - "default": false, - "type": "boolean", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "hyperV": { - "description": "Hyper-V sandbox.", - "default": false, - "type": "boolean", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "lastModifiedTimeUtc": { - "format": "date-time", - "description": "Last time the app was modified, in UTC. Read-only.", - "type": "string", - "readOnly": true - }, - "dnsConfiguration": { - "$ref": "./CommonDefinitions.json#/definitions/SiteDnsConfig", - "description": "Property to configure various DNS related settings for a site." - }, - "siteConfig": { - "$ref": "./CommonDefinitions.json#/definitions/SiteConfig", - "description": "Configuration of the app." - }, - "trafficManagerHostNames": { - "description": "Azure Traffic Manager hostnames associated with the app. Read-only.", - "type": "array", - "items": { - "type": "string" - }, - "readOnly": true - }, - "scmSiteAlsoStopped": { - "description": "true to stop SCM (KUDU) site when the app is stopped; otherwise, false. The default is false.", - "default": false, - "type": "boolean" - }, - "targetSwapSlot": { - "description": "Specifies which deployment slot this app will swap into. Read-only.", - "type": "string", - "readOnly": true - }, - "hostingEnvironmentProfile": { - "$ref": "./CommonDefinitions.json#/definitions/HostingEnvironmentProfile", - "description": "App Service Environment to use for the app.", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "clientAffinityEnabled": { - "description": "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.", - "type": "boolean" - }, - "clientAffinityProxyEnabled": { - "description": "true to override client affinity cookie domain with X-Forwarded-Host request header. false to use default domain. Default is false.", - "type": "boolean" - }, - "clientCertEnabled": { - "description": "true to enable client certificate authentication (TLS mutual authentication); otherwise, false. Default is false.", - "type": "boolean" - }, - "clientCertMode": { - "description": "This composes with ClientCertEnabled setting.\n- ClientCertEnabled: false means ClientCert is ignored.\n- ClientCertEnabled: true and ClientCertMode: Required means ClientCert is required.\n- ClientCertEnabled: true and ClientCertMode: Optional means ClientCert is optional or accepted.", - "enum": [ - "Required", - "Optional", - "OptionalInteractiveUser" - ], - "type": "string", - "x-ms-enum": { - "name": "ClientCertMode", - "modelAsString": false - } - }, - "clientCertExclusionPaths": { - "description": "client certificate authentication comma-separated exclusion paths", - "type": "string" - }, - "hostNamesDisabled": { - "description": "true to disable the public hostnames of the app; otherwise, false.\n If true, the app is only accessible via API management process.", - "type": "boolean" - }, - "customDomainVerificationId": { - "description": "Unique identifier that verifies the custom domains assigned to the app. Customer will add this id to a txt record for verification.", - "type": "string" - }, - "outboundIpAddresses": { - "description": "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.", - "type": "string", - "readOnly": true - }, - "possibleOutboundIpAddresses": { - "description": "List of IP addresses that the app uses for outbound connections (e.g. database access). Includes VIPs from all tenants except dataComponent. Read-only.", - "type": "string", - "readOnly": true - }, - "containerSize": { - "format": "int32", - "description": "Size of the function container.", - "type": "integer" - }, - "dailyMemoryTimeQuota": { - "format": "int32", - "description": "Maximum allowed daily memory-time quota (applicable on dynamic apps only).", - "type": "integer" - }, - "suspendedTill": { - "format": "date-time", - "description": "App suspended till in case memory-time quota is exceeded.", - "type": "string", - "readOnly": true - }, - "maxNumberOfWorkers": { - "format": "int32", - "description": "Maximum number of workers.\nThis only applies to Functions container.", - "type": "integer", - "readOnly": true - }, - "cloningInfo": { - "$ref": "./CommonDefinitions.json#/definitions/CloningInfo", - "description": "If specified during app creation, the app is cloned from a source app.", - "x-ms-mutability": [ - "create" - ] - }, - "resourceGroup": { - "description": "Name of the resource group the app belongs to. Read-only.", - "type": "string", - "readOnly": true - }, - "isDefaultContainer": { - "description": "true if the app is a default container; otherwise, false.", - "type": "boolean", - "readOnly": true - }, - "defaultHostName": { - "description": "Default hostname of the app. Read-only.", - "type": "string", - "readOnly": true - }, - "slotSwapStatus": { - "$ref": "./CommonDefinitions.json#/definitions/SlotSwapStatus", - "description": "Status of the last deployment slot swap operation.", - "readOnly": true - }, - "httpsOnly": { - "description": "HttpsOnly: configures a web site to accept only https requests. Issues redirect for\nhttp requests", - "type": "boolean" - }, - "redundancyMode": { - "description": "Site redundancy mode", - "enum": [ - "None", - "Manual", - "Failover", - "ActiveActive", - "GeoRedundant" - ], - "type": "string", - "x-ms-enum": { - "name": "RedundancyMode", - "modelAsString": false - } - }, - "inProgressOperationId": { - "format": "uuid", - "description": "Specifies an operation id if this site has a pending operation.", - "type": "string", - "readOnly": true, - "example": "00000000-0000-0000-0000-000000000000" - }, - "publicNetworkAccess": { - "description": "Property to allow or block all public traffic. Allowed Values: 'Enabled', 'Disabled' or an empty string.", - "type": "string" - }, - "storageAccountRequired": { - "description": "Checks if Customer provided storage account is required", - "type": "boolean" - }, - "keyVaultReferenceIdentity": { - "description": "Identity to use for Key Vault Reference authentication.", - "type": "string" - }, - "virtualNetworkSubnetId": { - "description": "Azure Resource Manager ID of the Virtual network and subnet to be joined by Regional VNET Integration.\nThis must be of the form /subscriptions/{subscriptionName}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{vnetName}/subnets/{subnetName}", - "type": "string" - } - }, - "x-ms-client-flatten": true - }, - "identity": { - "$ref": "./CommonDefinitions.json#/definitions/ManagedServiceIdentity" - } - } - }, - "SitePhpErrorLogFlag": { - "description": "Used for getting PHP error logging flag.", - "type": "object", - "allOf": [ - { - "$ref": "./CommonDefinitions.json#/definitions/ProxyOnlyResource" - } - ], - "properties": { - "properties": { - "description": "SitePhpErrorLogFlag resource specific properties", - "type": "object", - "properties": { - "localLogErrors": { - "description": "Local log_errors setting.", - "type": "string" - }, - "masterLogErrors": { - "description": "Master log_errors setting.", - "type": "string" - }, - "localLogErrorsMaxLength": { - "description": "Local log_errors_max_len setting.", - "type": "string" - }, - "masterLogErrorsMaxLength": { - "description": "Master log_errors_max_len setting.", - "type": "string" - } - }, - "x-ms-client-flatten": true - } - } - }, - "SiteSourceControl": { - "description": "Source control configuration for an app.", - "type": "object", - "allOf": [ - { - "$ref": "./CommonDefinitions.json#/definitions/ProxyOnlyResource" - } - ], - "properties": { - "properties": { - "description": "SiteSourceControl resource specific properties", - "type": "object", - "properties": { - "repoUrl": { - "description": "Repository or source control URL.", - "type": "string", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "branch": { - "description": "Name of branch to use for deployment.", - "type": "string", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "isManualIntegration": { - "description": "true to limit to manual integration; false to enable continuous integration (which configures webhooks into online repos like GitHub).", - "type": "boolean", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "isGitHubAction": { - "description": "true if this is deployed via GitHub action.", - "type": "boolean", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "deploymentRollbackEnabled": { - "description": "true to enable deployment rollback; otherwise, false.", - "type": "boolean", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "isMercurial": { - "description": "true for a Mercurial repository; false for a Git repository.", - "type": "boolean", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "gitHubActionConfiguration": { - "$ref": "#/definitions/GitHubActionConfiguration", - "description": "If GitHub Action is selected, than the associated configuration." - } - }, - "x-ms-client-flatten": true - } - } - }, - "SlotConfigNames": { - "description": "Names for connection strings, application settings, and external Azure storage account configuration\nidentifiers to be marked as sticky to the deployment slot and not moved during a swap operation.\nThis is valid for all deployment slots in an app.", - "type": "object", - "properties": { - "connectionStringNames": { - "description": "List of connection string names.", - "type": "array", - "items": { - "type": "string" - } - }, - "appSettingNames": { - "description": "List of application settings names.", - "type": "array", - "items": { - "type": "string" - } - }, - "azureStorageConfigNames": { - "description": "List of external Azure storage account identifiers.", - "type": "array", - "items": { - "type": "string" - } - } - } - }, - "SlotConfigNamesResource": { - "description": "Slot Config names azure resource.", - "type": "object", - "allOf": [ - { - "$ref": "./CommonDefinitions.json#/definitions/ProxyOnlyResource" - } - ], - "properties": { - "properties": { - "$ref": "#/definitions/SlotConfigNames", - "description": "Core resource properties", - "type": "object", - "x-ms-client-flatten": true - } - } - }, - "SlotDifference": { - "description": "A setting difference between two deployment slots of an app.", - "type": "object", - "allOf": [ - { - "$ref": "./CommonDefinitions.json#/definitions/ProxyOnlyResource" - } - ], - "properties": { - "properties": { - "description": "SlotDifference resource specific properties", - "type": "object", - "properties": { - "level": { - "description": "Level of the difference: Information, Warning or Error.", - "type": "string", - "readOnly": true - }, - "settingType": { - "description": "The type of the setting: General, AppSetting or ConnectionString.", - "type": "string", - "readOnly": true - }, - "diffRule": { - "description": "Rule that describes how to process the setting difference during a slot swap.", - "type": "string", - "readOnly": true - }, - "settingName": { - "description": "Name of the setting.", - "type": "string", - "readOnly": true - }, - "valueInCurrentSlot": { - "description": "Value of the setting in the current slot.", - "type": "string", - "readOnly": true - }, - "valueInTargetSlot": { - "description": "Value of the setting in the target slot.", - "type": "string", - "readOnly": true - }, - "description": { - "description": "Description of the setting difference.", - "type": "string", - "readOnly": true - } - }, - "x-ms-client-flatten": true - } - } - }, - "SlotDifferenceCollection": { - "description": "Collection of slot differences.", - "required": [ - "value" - ], - "type": "object", - "properties": { - "value": { - "description": "Collection of resources.", - "type": "array", - "items": { - "$ref": "#/definitions/SlotDifference" - } - }, - "nextLink": { - "description": "Link to next page of resources.", - "type": "string", - "readOnly": true - } - } - }, - "SnapshotCollection": { - "description": "Collection of snapshots which can be used to revert an app to a previous time.", - "required": [ - "value" - ], - "type": "object", - "properties": { - "value": { - "description": "Collection of resources.", - "type": "array", - "items": { - "$ref": "./CommonDefinitions.json#/definitions/Snapshot" - } - }, - "nextLink": { - "description": "Link to next page of resources.", - "type": "string", - "readOnly": true - } - } - }, - "SnapshotRecoverySource": { - "description": "Specifies the web app that snapshot contents will be retrieved from.", - "type": "object", - "properties": { - "location": { - "description": "Geographical location of the source web app, e.g. SouthEastAsia, SouthCentralUS", - "type": "string" - }, - "id": { - "description": "ARM resource ID of the source app. \n/subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName} for production slots and \n/subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/slots/{slotName} for other slots.", - "type": "string" - } - } - }, - "SnapshotRestoreRequest": { - "description": "Details about app recovery operation.", - "type": "object", - "allOf": [ - { - "$ref": "./CommonDefinitions.json#/definitions/ProxyOnlyResource" - } - ], - "properties": { - "properties": { - "description": "SnapshotRestoreRequest resource specific properties", - "required": [ - "overwrite" - ], - "type": "object", - "properties": { - "snapshotTime": { - "description": "Point in time in which the app restore should be done, formatted as a DateTime string.", - "type": "string" - }, - "recoverySource": { - "$ref": "#/definitions/SnapshotRecoverySource", - "description": "Optional. Specifies the web app that snapshot contents will be retrieved from.\nIf empty, the targeted web app will be used as the source." - }, - "overwrite": { - "description": "If true the restore operation can overwrite source app; otherwise, false.", - "type": "boolean" - }, - "recoverConfiguration": { - "description": "If true, site configuration, in addition to content, will be reverted.", - "type": "boolean" - }, - "ignoreConflictingHostNames": { - "description": "If true, custom hostname conflicts will be ignored when recovering to a target web app.\nThis setting is only necessary when RecoverConfiguration is enabled.", - "type": "boolean" - }, - "useDRSecondary": { - "description": "If true, the snapshot is retrieved from DRSecondary endpoint.", - "type": "boolean" - } - }, - "x-ms-client-flatten": true - } - } - }, - "StorageMigrationOptions": { - "description": "Options for app content migration.", - "type": "object", - "allOf": [ - { - "$ref": "./CommonDefinitions.json#/definitions/ProxyOnlyResource" - } - ], - "properties": { - "properties": { - "description": "StorageMigrationOptions resource specific properties", - "required": [ - "azurefilesConnectionString", - "azurefilesShare" - ], - "type": "object", - "properties": { - "azurefilesConnectionString": { - "description": "AzureFiles connection string.", - "type": "string", - "x-ms-mutability": [ - "create" - ] - }, - "azurefilesShare": { - "description": "AzureFiles share.", - "type": "string", - "x-ms-mutability": [ - "create" - ] - }, - "switchSiteAfterMigration": { - "description": "trueif the app should be switched over; otherwise, false.", - "default": false, - "type": "boolean", - "x-ms-mutability": [ - "create" - ] - }, - "blockWriteAccessToSite": { - "description": "true if the app should be read only during copy operation; otherwise, false.", - "default": false, - "type": "boolean", - "x-ms-mutability": [ - "create" - ] - } - }, - "x-ms-client-flatten": true - } - } - }, - "StorageMigrationResponse": { - "description": "Response for a migration of app content request.", - "type": "object", - "allOf": [ - { - "$ref": "./CommonDefinitions.json#/definitions/ProxyOnlyResource" - } - ], - "properties": { - "properties": { - "description": "StorageMigrationResponse resource specific properties", - "type": "object", - "properties": { - "operationId": { - "description": "When server starts the migration process, it will return an operation ID identifying that particular migration operation.", - "type": "string", - "readOnly": true - } - }, - "x-ms-client-flatten": true - } - } - }, - "SubResource": { - "type": "object", - "properties": { - "id": { - "type": "string", - "readOnly": true, - "description": "The resource id." - } - }, - "x-ms-azure-resource": true, - "description": "The sub resource type." - }, - "SwiftVirtualNetwork": { - "description": "Swift Virtual Network Contract. This is used to enable the new Swift way of doing virtual network integration.", - "type": "object", - "allOf": [ - { - "$ref": "./CommonDefinitions.json#/definitions/ProxyOnlyResource" - } - ], - "properties": { - "properties": { - "description": "SwiftVirtualNetwork resource specific properties", - "type": "object", - "properties": { - "subnetResourceId": { - "description": "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.", - "type": "string" - }, - "swiftSupported": { - "description": "A flag that specifies if the scale unit this Web App is on supports Swift integration.", - "type": "boolean" - } - }, - "x-ms-client-flatten": true - } - } - }, - "TokenStore": { - "description": "The configuration settings of the token store.", - "type": "object", - "properties": { - "enabled": { - "description": "true to durably store platform-specific security tokens that are obtained during login flows; otherwise, false.\n The default is false.", - "type": "boolean" - }, - "tokenRefreshExtensionHours": { - "format": "double", - "description": "The number of hours after session token expiration that a session token can be used to\ncall the token refresh API. The default is 72 hours.", - "type": "number" - }, - "fileSystem": { - "$ref": "#/definitions/FileSystemTokenStore", - "description": "The configuration settings of the storage of the tokens if a file system is used." - }, - "azureBlobStorage": { - "$ref": "#/definitions/BlobStorageTokenStore", - "description": "The configuration settings of the storage of the tokens if blob storage is used." - } - } - }, - "TriggeredJobHistory": { - "description": "Triggered Web Job History. List of Triggered Web Job Run Information elements.", - "type": "object", - "allOf": [ - { - "$ref": "./CommonDefinitions.json#/definitions/ProxyOnlyResource" - } - ], - "properties": { - "properties": { - "description": "TriggeredJobHistory resource specific properties", - "type": "object", - "properties": { - "runs": { - "description": "List of triggered web job runs.", - "type": "array", - "items": { - "$ref": "#/definitions/TriggeredJobRun" - }, - "x-ms-identifiers": [ - "web_job_id" - ] - } - }, - "x-ms-client-flatten": true - } - } - }, - "TriggeredJobHistoryCollection": { - "description": "Collection of Kudu continuous web job information elements.", - "required": [ - "value" - ], - "type": "object", - "properties": { - "value": { - "description": "Collection of resources.", - "type": "array", - "items": { - "$ref": "#/definitions/TriggeredJobHistory" - } - }, - "nextLink": { - "description": "Link to next page of resources.", - "type": "string", - "readOnly": true - } - } - }, - "TriggeredJobRun": { - "description": "Triggered Web Job Run Information.", - "type": "object", - "properties": { - "web_job_id": { - "description": "Job ID.", - "type": "string" - }, - "web_job_name": { - "description": "Job name.", - "type": "string" - }, - "status": { - "description": "Job status.", - "enum": [ - "Success", - "Failed", - "Error" - ], - "type": "string", - "x-ms-enum": { - "name": "TriggeredWebJobStatus", - "modelAsString": false - } - }, - "start_time": { - "format": "date-time", - "description": "Start time.", - "type": "string" - }, - "end_time": { - "format": "date-time", - "description": "End time.", - "type": "string" - }, - "duration": { - "description": "Job duration.", - "type": "string" - }, - "output_url": { - "description": "Output URL.", - "type": "string" - }, - "error_url": { - "description": "Error URL.", - "type": "string" - }, - "url": { - "description": "Job URL.", - "type": "string" - }, - "job_name": { - "description": "Job name.", - "type": "string" - }, - "trigger": { - "description": "Job trigger.", - "type": "string" - } - } - }, - "TriggeredWebJob": { - "description": "Triggered Web Job Information.", - "type": "object", - "allOf": [ - { - "$ref": "./CommonDefinitions.json#/definitions/ProxyOnlyResource" - } - ], - "properties": { - "properties": { - "description": "TriggeredWebJob resource specific properties", - "type": "object", - "properties": { - "latest_run": { - "$ref": "#/definitions/TriggeredJobRun", - "description": "Latest job run information." - }, - "history_url": { - "description": "History URL.", - "type": "string" - }, - "scheduler_logs_url": { - "description": "Scheduler Logs URL.", - "type": "string" - }, - "run_command": { - "description": "Run command.", - "type": "string" - }, - "url": { - "description": "Job URL.", - "type": "string" - }, - "extra_info_url": { - "description": "Extra Info URL.", - "type": "string" - }, - "web_job_type": { - "description": "Job type.", - "enum": [ - "Continuous", - "Triggered" - ], - "type": "string", - "x-ms-enum": { - "name": "WebJobType", - "modelAsString": false - } - }, - "error": { - "description": "Error information.", - "type": "string" - }, - "using_sdk": { - "description": "Using SDK?", - "type": "boolean" - }, - "publicNetworkAccess": { - "description": "Property to allow or block all public traffic. Allowed Values: 'Enabled', 'Disabled' or an empty string.", - "type": "string" - }, - "storageAccountRequired": { - "description": "Checks if Customer provided storage account is required", - "type": "boolean" - }, - "settings": { - "description": "Job settings.", - "type": "object", - "additionalProperties": { - "type": "object" - } - } - }, - "x-ms-client-flatten": true - } - } - }, - "TriggeredWebJobCollection": { - "description": "Collection of Kudu continuous web job information elements.", - "required": [ - "value" - ], - "type": "object", - "properties": { - "value": { - "description": "Collection of resources.", - "type": "array", - "items": { - "$ref": "#/definitions/TriggeredWebJob" - } - }, - "nextLink": { - "description": "Link to next page of resources.", - "type": "string", - "readOnly": true - } - } - }, - "Twitter": { - "description": "The configuration settings of the Twitter provider.", - "type": "object", - "properties": { - "enabled": { - "description": "false if the Twitter provider should not be enabled despite the set registration; otherwise, true.", - "type": "boolean" - }, - "registration": { - "$ref": "#/definitions/TwitterRegistration", - "description": "The configuration settings of the app registration for the Twitter provider." - } - } - }, - "TwitterRegistration": { - "description": "The configuration settings of the app registration for the Twitter provider.", - "type": "object", - "properties": { - "consumerKey": { - "description": "The OAuth 1.0a consumer key of the Twitter application used for sign-in.\nThis setting is required for enabling Twitter Sign-In.\nTwitter Sign-In documentation: https://dev.twitter.com/web/sign-in", - "type": "string" - }, - "consumerSecretSettingName": { - "description": "The app setting name that contains the OAuth 1.0a consumer secret of the Twitter\napplication used for sign-in.", - "type": "string" - } - } - }, - "VolumeMount": { - "required": [ - "volumeSubPath", - "containerMountPath" - ], - "type": "object", - "properties": { - "volumeSubPath": { - "description": "Sub path in the volume where volume is mounted from.", - "type": "string" - }, - "containerMountPath": { - "description": "Target path on the container where volume is mounted on", - "type": "string" - }, - "data": { - "description": "Config Data to be mounted on the volume", - "type": "string" - }, - "readOnly": { - "description": "Boolean to specify if the mount is read only on the container", - "type": "boolean" - } - } - }, - "WebAppInstanceStatusCollection": { - "description": "Collection of app instances.", - "required": [ - "value" - ], - "type": "object", - "properties": { - "value": { - "description": "Collection of resources.", - "type": "array", - "items": { - "$ref": "#/definitions/WebSiteInstanceStatus" - } - }, - "nextLink": { - "description": "Link to next page of resources.", - "type": "string", - "readOnly": true - } - } - }, - "WebJob": { - "description": "Web Job Information.", - "type": "object", - "allOf": [ - { - "$ref": "./CommonDefinitions.json#/definitions/ProxyOnlyResource" - } - ], - "properties": { - "properties": { - "description": "WebJob resource specific properties", - "type": "object", - "properties": { - "run_command": { - "description": "Run command.", - "type": "string" - }, - "url": { - "description": "Job URL.", - "type": "string" - }, - "extra_info_url": { - "description": "Extra Info URL.", - "type": "string" - }, - "web_job_type": { - "description": "Job type.", - "enum": [ - "Continuous", - "Triggered" - ], - "type": "string", - "x-ms-enum": { - "name": "WebJobType", - "modelAsString": false - } - }, - "error": { - "description": "Error information.", - "type": "string" - }, - "using_sdk": { - "description": "Using SDK?", - "type": "boolean" - }, - "settings": { - "description": "Job settings.", - "type": "object", - "additionalProperties": { - "type": "object" - } - } - }, - "x-ms-client-flatten": true - } - } - }, - "WebJobCollection": { - "description": "Collection of Kudu web job information elements.", - "required": [ - "value" - ], - "type": "object", - "properties": { - "value": { - "description": "Collection of resources.", - "type": "array", - "items": { - "$ref": "#/definitions/WebJob" - } - }, - "nextLink": { - "description": "Link to next page of resources.", - "type": "string", - "readOnly": true - } - } - }, - "WebSiteInstanceStatus": { - "type": "object", - "allOf": [ - { - "$ref": "./CommonDefinitions.json#/definitions/ProxyOnlyResource" - } - ], - "properties": { - "properties": { - "description": "WebSiteInstanceStatus resource specific properties", - "type": "object", - "properties": { - "state": { - "enum": [ - "READY", - "STOPPED", - "UNKNOWN" - ], - "type": "string", - "x-ms-enum": { - "name": "SiteRuntimeState", - "modelAsString": false - } - }, - "statusUrl": { - "description": "Link to the GetStatusApi in Kudu", - "type": "string" - }, - "detectorUrl": { - "description": "Link to the Diagnose and Solve Portal", - "type": "string" - }, - "consoleUrl": { - "description": "Link to the console to web app instance", - "type": "string" - }, - "healthCheckUrl": { - "description": "Link to the console to web app instance", - "type": "string" - }, - "containers": { - "type": "object", - "additionalProperties": { - "$ref": "#/definitions/ContainerInfo" - } - }, - "physicalZone": { - "description": "The physical zone that the instance is in", - "type": "string" - } - }, - "x-ms-client-flatten": true - } - } - }, - "Workflow": { - "type": "object", - "properties": { - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/WorkflowProperties", - "description": "The workflow properties." - }, - "identity": { - "$ref": "./CommonDefinitions.json#/definitions/ManagedServiceIdentity" - } - }, - "description": "The workflow type.", - "allOf": [ - { - "$ref": "#/definitions/WorkflowResource" - } - ] - }, - "WorkflowArtifacts": { - "type": "object", - "properties": { - "appSettings": { - "$ref": "#/definitions/Object", - "description": "Application settings of the workflow." - }, - "files": { - "$ref": "#/definitions/WorkflowFiles", - "description": "Files of the app." - }, - "filesToDelete": { - "type": "array", - "items": { - "type": "string" - }, - "description": "Files of the app to delete." - } - }, - "description": "The workflow filter." - }, - "WorkflowFilter": { - "type": "object", - "properties": { - "state": { - "$ref": "#/definitions/WorkflowState", - "description": "The state of workflows." - } - }, - "description": "The workflow filter." - }, - "WorkflowParameter": { - "type": "object", - "properties": { - "type": { - "$ref": "#/definitions/ParameterType", - "description": "The type." - }, - "value": { - "$ref": "#/definitions/Object", - "description": "The value." - }, - "metadata": { - "$ref": "#/definitions/Object", - "description": "The metadata." - }, - "description": { - "type": "string", - "description": "The description." - } - }, - "description": "The workflow parameters." - }, - "WorkflowProperties": { - "type": "object", - "properties": { - "provisioningState": { - "$ref": "#/definitions/WorkflowProvisioningState", - "readOnly": true, - "description": "Gets the provisioning state." - }, - "createdTime": { - "type": "string", - "format": "date-time", - "readOnly": true, - "description": "Gets the created time." - }, - "changedTime": { - "type": "string", - "format": "date-time", - "readOnly": true, - "description": "Gets the changed time." - }, - "state": { - "$ref": "#/definitions/WorkflowState", - "description": "The state." - }, - "version": { - "type": "string", - "readOnly": true, - "description": "Gets the version." - }, - "accessEndpoint": { - "type": "string", - "readOnly": true, - "description": "Gets the access endpoint." - }, - "endpointsConfiguration": { - "$ref": "#/definitions/FlowEndpointsConfiguration", - "description": "The endpoints configuration." - }, - "accessControl": { - "$ref": "#/definitions/FlowAccessControlConfiguration", - "description": "The access control configuration." - }, - "sku": { - "$ref": "#/definitions/WorkflowSku", - "readOnly": true, - "description": "The sku." - }, - "integrationAccount": { - "$ref": "#/definitions/ResourceReference", - "description": "The integration account." - }, - "integrationServiceEnvironment": { - "$ref": "#/definitions/ResourceReference", - "description": "The integration service environment." - }, - "definition": { - "$ref": "#/definitions/Object", - "description": "The definition." - }, - "parameters": { - "type": "object", - "additionalProperties": { - "$ref": "#/definitions/WorkflowParameter" - }, - "description": "The parameters." - }, - "kind": { - "$ref": "#/definitions/Kind", - "description": "The workflow kind." - } - }, - "description": "The workflow properties." - }, - "WorkflowProvisioningState": { - "type": "string", - "description": "The workflow provisioning state.", - "enum": [ - "NotSpecified", - "Accepted", - "Running", - "Ready", - "Creating", - "Created", - "Deleting", - "Deleted", - "Canceled", - "Failed", - "Succeeded", - "Moving", - "Updating", - "Registering", - "Registered", - "Unregistering", - "Unregistered", - "Completed", - "Renewing", - "Pending", - "Waiting", - "InProgress" - ], - "x-ms-enum": { - "name": "WorkflowProvisioningState", - "modelAsString": true - } - }, - "WorkflowListResult": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/Workflow" - }, - "description": "The list of workflows." - }, - "nextLink": { - "type": "string", - "description": "The URL to get the next set of results." - } - }, - "description": "The list of workflows." - }, - "WorkflowOutputParameter": { - "type": "object", - "properties": { - "error": { - "$ref": "#/definitions/Object", - "readOnly": true, - "description": "Gets the error." - } - }, - "description": "The workflow output parameter.", - "allOf": [ - { - "$ref": "#/definitions/WorkflowParameter" - } - ] - }, - "RecurrenceFrequency": { - "type": "string", - "description": "The recurrence frequency.", - "enum": [ - "NotSpecified", - "Second", - "Minute", - "Hour", - "Day", - "Week", - "Month", - "Year" - ], - "x-ms-enum": { - "name": "RecurrenceFrequency", - "modelAsString": true - } - }, - "WorkflowEnvelope": { - "description": "Workflow properties definition.", - "type": "object", - "properties": { - "id": { - "type": "string", - "readOnly": true, - "description": "The resource id." - }, - "name": { - "type": "string", - "readOnly": true, - "description": "Gets the resource name." - }, - "type": { - "type": "string", - "readOnly": true, - "description": "Gets the resource type." - }, - "kind": { - "type": "string", - "description": "The resource kind." - }, - "location": { - "type": "string", - "description": "The resource location.", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "properties": { - "description": "Additional workflow properties.", - "type": "object", - "properties": { - "files": { - "description": "Gets or sets the files.", - "$ref": "#/definitions/WorkflowFiles" - }, - "flowState": { - "description": "Gets or sets the state of the workflow.", - "$ref": "#/definitions/WorkflowState" - }, - "health": { - "$ref": "#/definitions/WorkflowHealth", - "description": "Gets or sets workflow health." - } - } - } - } - }, - "WorkflowEnvelopeCollection": { - "description": "Collection of Kudu workflow information elements.", - "required": [ - "value" - ], - "type": "object", - "properties": { - "value": { - "description": "Collection of resources.", - "type": "array", - "items": { - "$ref": "#/definitions/WorkflowEnvelope" - } - }, - "nextLink": { - "description": "Link to next page of resources.", - "type": "string", - "readOnly": true - } - } - }, - "WorkflowFiles": { - "description": "Gets or sets the files.", - "type": "object", - "additionalProperties": { - "type": "object" - } - }, - "WorkflowHealth": { - "description": "Represents the workflow health.", - "required": [ - "state" - ], - "type": "object", - "properties": { - "state": { - "description": "Gets or sets the workflow health state.", - "enum": [ - "NotSpecified", - "Healthy", - "Unhealthy", - "Unknown" - ], - "type": "string", - "x-ms-enum": { - "name": "WorkflowHealthState", - "modelAsString": false - } - }, - "error": { - "$ref": "./CommonDefinitions.json#/definitions/ErrorEntity", - "description": "Gets or sets the workflow error." - } - } - }, - "WorkflowResource": { - "type": "object", - "properties": { - "id": { - "type": "string", - "readOnly": true, - "description": "The resource id." - }, - "name": { - "type": "string", - "readOnly": true, - "description": "Gets the resource name." - }, - "type": { - "type": "string", - "readOnly": true, - "description": "Gets the resource type." - }, - "location": { - "type": "string", - "description": "The resource location." - }, - "tags": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "description": "The resource tags." - } - }, - "x-ms-azure-resource": true, - "description": "The base resource type." - }, - "WorkflowRun": { - "type": "object", - "properties": { - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/WorkflowRunProperties", - "description": "The workflow run properties." - }, - "name": { - "type": "string", - "readOnly": true, - "description": "Gets the workflow run name." - }, - "type": { - "type": "string", - "readOnly": true, - "description": "Gets the workflow run type." - } - }, - "description": "The workflow run.", - "allOf": [ - { - "$ref": "#/definitions/SubResource" - } - ] - }, - "WorkflowRunAction": { - "type": "object", - "properties": { - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/WorkflowRunActionProperties", - "description": "The workflow run action properties." - }, - "name": { - "type": "string", - "readOnly": true, - "description": "Gets the workflow run action name." - }, - "type": { - "type": "string", - "readOnly": true, - "description": "Gets the workflow run action type." - } - }, - "description": "The workflow run action.", - "allOf": [ - { - "$ref": "#/definitions/SubResource" - } - ] - }, - "WorkflowRunActionListResult": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/WorkflowRunAction" - }, - "description": "A list of workflow run actions." - }, - "nextLink": { - "type": "string", - "description": "The URL to get the next set of results." - } - }, - "description": "The list of workflow run actions." - }, - "WorkflowRunActionProperties": { - "type": "object", - "properties": { - "startTime": { - "type": "string", - "format": "date-time", - "readOnly": true, - "description": "Gets the start time." - }, - "endTime": { - "type": "string", - "format": "date-time", - "readOnly": true, - "description": "Gets the end time." - }, - "status": { - "$ref": "#/definitions/WorkflowStatus", - "readOnly": true, - "description": "Gets the status." - }, - "code": { - "type": "string", - "readOnly": true, - "description": "Gets the code." - }, - "error": { - "$ref": "#/definitions/Object", - "readOnly": true, - "description": "Gets the error." - }, - "trackingId": { - "type": "string", - "readOnly": true, - "description": "Gets the tracking id." - }, - "correlation": { - "$ref": "#/definitions/RunActionCorrelation", - "description": "The correlation properties." - }, - "inputsLink": { - "$ref": "#/definitions/ContentLink", - "readOnly": true, - "description": "Gets the link to inputs." - }, - "outputsLink": { - "$ref": "#/definitions/ContentLink", - "readOnly": true, - "description": "Gets the link to outputs." - }, - "trackedProperties": { - "$ref": "#/definitions/Object", - "readOnly": true, - "description": "Gets the tracked properties." - }, - "retryHistory": { - "type": "array", - "items": { - "$ref": "#/definitions/RetryHistory" - }, - "x-ms-identifiers": [], - "description": "Gets the retry histories." - } - }, - "description": "The workflow run action properties." - }, - "WorkflowRunActionRepetitionDefinitionCollection": { - "type": "object", - "description": "A collection of workflow run action repetitions.", - "properties": { - "nextLink": { - "description": "The link used to get the next page of recommendations.", - "type": "string" - }, - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/WorkflowRunActionRepetitionDefinition" - } - } - } - }, - "WorkflowRunActionRepetitionDefinition": { - "type": "object", - "description": "The workflow run action repetition definition.", - "additionalProperties": false, - "required": [ - "properties" - ], - "properties": { - "properties": { - "$ref": "#/definitions/WorkflowRunActionRepetitionProperties", - "description": "The workflow run action repetition properties definition.", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "#/definitions/WorkflowResource" - } - ] - }, - "WorkflowRunActionRepetitionProperties": { - "type": "object", - "description": "The workflow run action repetition properties definition.", - "additionalProperties": false, - "properties": { - "repetitionIndexes": { - "type": "array", - "description": "The repetition indexes.", - "items": { - "$ref": "#/definitions/RepetitionIndex" - }, - "x-ms-identifiers": [ - "itemIndex" - ] - } - }, - "allOf": [ - { - "$ref": "#/definitions/OperationResult" - } - ] - }, - "WorkflowRunListResult": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/WorkflowRun" - }, - "description": "A list of workflow runs." - }, - "nextLink": { - "type": "string", - "description": "The URL to get the next set of results." - } - }, - "description": "The list of workflow runs." - }, - "WorkflowRunProperties": { - "type": "object", - "properties": { - "waitEndTime": { - "type": "string", - "format": "date-time", - "readOnly": true, - "description": "Gets the wait end time." - }, - "startTime": { - "type": "string", - "format": "date-time", - "readOnly": true, - "description": "Gets the start time." - }, - "endTime": { - "type": "string", - "format": "date-time", - "readOnly": true, - "description": "Gets the end time." - }, - "status": { - "$ref": "#/definitions/WorkflowStatus", - "readOnly": true, - "description": "Gets the status." - }, - "code": { - "type": "string", - "readOnly": true, - "description": "Gets the code." - }, - "error": { - "$ref": "#/definitions/Object", - "readOnly": true, - "description": "Gets the error." - }, - "correlationId": { - "type": "string", - "readOnly": true, - "description": "Gets the correlation id." - }, - "correlation": { - "$ref": "#/definitions/Correlation", - "description": "The run correlation." - }, - "workflow": { - "$ref": "#/definitions/ResourceReference", - "readOnly": true, - "description": "Gets the reference to workflow version." - }, - "trigger": { - "$ref": "#/definitions/WorkflowRunTrigger", - "readOnly": true, - "description": "Gets the fired trigger." - }, - "outputs": { - "type": "object", - "readOnly": true, - "additionalProperties": { - "$ref": "#/definitions/WorkflowOutputParameter", - "description": "The workflow output parameter." - }, - "description": "Gets the outputs." - }, - "response": { - "$ref": "#/definitions/WorkflowRunTrigger", - "readOnly": true, - "description": "Gets the response of the flow run." - } - }, - "description": "The workflow run properties." - }, - "WorkflowRunActionFilter": { - "type": "object", - "properties": { - "status": { - "$ref": "#/definitions/WorkflowStatus", - "description": "The status of workflow run action." - } - }, - "description": "The workflow run action filter." - }, - "WorkflowRunFilter": { - "type": "object", - "properties": { - "status": { - "$ref": "#/definitions/WorkflowStatus", - "description": "The status of workflow run." - } - }, - "description": "The workflow run filter." - }, - "WorkflowRunTrigger": { - "type": "object", - "properties": { - "name": { - "type": "string", - "readOnly": true, - "description": "Gets the name." - }, - "inputs": { - "$ref": "#/definitions/Object", - "readOnly": true, - "description": "Gets the inputs." - }, - "inputsLink": { - "$ref": "#/definitions/ContentLink", - "readOnly": true, - "description": "Gets the link to inputs." - }, - "outputs": { - "$ref": "#/definitions/Object", - "readOnly": true, - "description": "Gets the outputs." - }, - "outputsLink": { - "$ref": "#/definitions/ContentLink", - "readOnly": true, - "description": "Gets the link to outputs." - }, - "scheduledTime": { - "type": "string", - "format": "date-time", - "readOnly": true, - "description": "Gets the scheduled time." - }, - "startTime": { - "type": "string", - "format": "date-time", - "readOnly": true, - "description": "Gets the start time." - }, - "endTime": { - "type": "string", - "format": "date-time", - "readOnly": true, - "description": "Gets the end time." - }, - "trackingId": { - "type": "string", - "readOnly": true, - "description": "Gets the tracking id." - }, - "correlation": { - "$ref": "#/definitions/Correlation", - "description": "The run correlation." - }, - "code": { - "type": "string", - "readOnly": true, - "description": "Gets the code." - }, - "status": { - "$ref": "#/definitions/WorkflowStatus", - "readOnly": true, - "description": "Gets the status." - }, - "error": { - "$ref": "#/definitions/Object", - "readOnly": true, - "description": "Gets the error." - }, - "trackedProperties": { - "$ref": "#/definitions/Object", - "readOnly": true, - "description": "Gets the tracked properties." - } - }, - "description": "The workflow run trigger." - }, - "WorkflowSku": { - "type": "object", - "description": "The sku type.", - "required": [ - "name" - ], - "properties": { - "name": { - "$ref": "#/definitions/WorkflowSkuName", - "description": "The name." - }, - "plan": { - "$ref": "#/definitions/ResourceReference", - "description": "The reference to plan." - } - } - }, - "WorkflowSkuName": { - "type": "string", - "enum": [ - "NotSpecified", - "Free", - "Shared", - "Basic", - "Standard", - "Premium" - ], - "x-ms-enum": { - "name": "WorkflowSkuName", - "modelAsString": true - }, - "description": "The sku name." - }, - "WorkflowState": { - "type": "string", - "description": "The workflow state.", - "enum": [ - "NotSpecified", - "Completed", - "Enabled", - "Disabled", - "Deleted", - "Suspended" - ], - "x-ms-enum": { - "name": "WorkflowState", - "modelAsString": true - } - }, - "WorkflowStatus": { - "type": "string", - "description": "The workflow status.", - "enum": [ - "NotSpecified", - "Paused", - "Running", - "Waiting", - "Succeeded", - "Skipped", - "Suspended", - "Cancelled", - "Failed", - "Faulted", - "TimedOut", - "Aborted", - "Ignored" - ], - "x-ms-enum": { - "name": "WorkflowStatus", - "modelAsString": true - } - }, - "WorkflowTrigger": { - "type": "object", - "properties": { - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/WorkflowTriggerProperties", - "description": "The workflow trigger properties." - }, - "name": { - "type": "string", - "readOnly": true, - "description": "Gets the workflow trigger name." - }, - "type": { - "type": "string", - "readOnly": true, - "description": "Gets the workflow trigger type." - } - }, - "description": "The workflow trigger.", - "allOf": [ - { - "$ref": "#/definitions/SubResource" - } - ] - }, - "WorkflowTriggerCallbackUrl": { - "type": "object", - "properties": { - "value": { - "type": "string", - "readOnly": true, - "description": "Gets the workflow trigger callback URL." - }, - "method": { - "type": "string", - "readOnly": true, - "description": "Gets the workflow trigger callback URL HTTP method." - }, - "basePath": { - "type": "string", - "readOnly": true, - "description": "Gets the workflow trigger callback URL base path." - }, - "relativePath": { - "type": "string", - "readOnly": true, - "description": "Gets the workflow trigger callback URL relative path." - }, - "relativePathParameters": { - "type": "array", - "items": { - "type": "string" - }, - "description": "Gets the workflow trigger callback URL relative path parameters." - }, - "queries": { - "$ref": "#/definitions/WorkflowTriggerListCallbackUrlQueries", - "description": "Gets the workflow trigger callback URL query parameters." - } - }, - "description": "The workflow trigger callback URL." - }, - "WorkflowTriggerFilter": { - "type": "object", - "properties": { - "state": { - "$ref": "#/definitions/WorkflowState", - "description": "The state of workflow trigger." - } - }, - "description": "The workflow trigger filter." - }, - "WorkflowTriggerListCallbackUrlQueries": { - "type": "object", - "properties": { - "api-version": { - "type": "string", - "description": "The api version." - }, - "sp": { - "type": "string", - "description": "The SAS permissions." - }, - "sv": { - "type": "string", - "description": "The SAS version." - }, - "sig": { - "type": "string", - "description": "The SAS signature." - }, - "se": { - "type": "string", - "description": "The SAS timestamp." - } - }, - "description": "Gets the workflow trigger callback URL query parameters." - }, - "WorkflowTriggerHistory": { - "type": "object", - "properties": { - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/WorkflowTriggerHistoryProperties", - "description": "Gets the workflow trigger history properties." - }, - "name": { - "type": "string", - "readOnly": true, - "description": "Gets the workflow trigger history name." - }, - "type": { - "type": "string", - "readOnly": true, - "description": "Gets the workflow trigger history type." - } - }, - "description": "The workflow trigger history.", - "allOf": [ - { - "$ref": "#/definitions/SubResource" - } - ] - }, - "WorkflowTriggerHistoryFilter": { - "type": "object", - "properties": { - "status": { - "$ref": "#/definitions/WorkflowStatus", - "description": "The status of workflow trigger history." - } - }, - "description": "The workflow trigger history filter." - }, - "WorkflowTriggerHistoryProperties": { - "type": "object", - "properties": { - "startTime": { - "type": "string", - "format": "date-time", - "readOnly": true, - "description": "Gets the start time." - }, - "endTime": { - "type": "string", - "format": "date-time", - "readOnly": true, - "description": "Gets the end time." - }, - "scheduledTime": { - "type": "string", - "format": "date-time", - "readOnly": true, - "description": "The scheduled time." - }, - "status": { - "$ref": "#/definitions/WorkflowStatus", - "readOnly": true, - "description": "Gets the status." - }, - "code": { - "type": "string", - "readOnly": true, - "description": "Gets the code." - }, - "error": { - "$ref": "#/definitions/Object", - "readOnly": true, - "description": "Gets the error." - }, - "trackingId": { - "type": "string", - "readOnly": true, - "description": "Gets the tracking id." - }, - "correlation": { - "$ref": "#/definitions/Correlation", - "description": "The run correlation." - }, - "inputsLink": { - "$ref": "#/definitions/ContentLink", - "readOnly": true, - "description": "Gets the link to input parameters." - }, - "outputsLink": { - "$ref": "#/definitions/ContentLink", - "readOnly": true, - "description": "Gets the link to output parameters." - }, - "fired": { - "type": "boolean", - "readOnly": true, - "description": "The value indicating whether trigger was fired." - }, - "run": { - "$ref": "#/definitions/ResourceReference", - "readOnly": true, - "description": "Gets the reference to workflow run." - } - }, - "description": "The workflow trigger history properties." - }, - "WorkflowTriggerHistoryListResult": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/WorkflowTriggerHistory" - }, - "description": "A list of workflow trigger histories." - }, - "nextLink": { - "type": "string", - "description": "The URL to get the next set of results." - } - }, - "description": "The list of workflow trigger histories." - }, - "WorkflowTriggerProperties": { - "type": "object", - "properties": { - "provisioningState": { - "$ref": "#/definitions/WorkflowTriggerProvisioningState", - "readOnly": true, - "description": "Gets the provisioning state." - }, - "createdTime": { - "type": "string", - "format": "date-time", - "readOnly": true, - "description": "Gets the created time." - }, - "changedTime": { - "type": "string", - "format": "date-time", - "readOnly": true, - "description": "Gets the changed time." - }, - "state": { - "$ref": "#/definitions/WorkflowState", - "readOnly": true, - "description": "Gets the state." - }, - "status": { - "$ref": "#/definitions/WorkflowStatus", - "readOnly": true, - "description": "Gets the status." - }, - "lastExecutionTime": { - "type": "string", - "format": "date-time", - "readOnly": true, - "description": "Gets the last execution time." - }, - "nextExecutionTime": { - "type": "string", - "format": "date-time", - "readOnly": true, - "description": "Gets the next execution time." - }, - "recurrence": { - "$ref": "#/definitions/WorkflowTriggerRecurrence", - "readOnly": true, - "description": "Gets the workflow trigger recurrence." - }, - "workflow": { - "$ref": "#/definitions/ResourceReference", - "readOnly": true, - "description": "Gets the reference to workflow." - } - }, - "description": "The workflow trigger properties." - }, - "WorkflowTriggerProvisioningState": { - "type": "string", - "description": "The workflow trigger provisioning state.", - "enum": [ - "NotSpecified", - "Accepted", - "Running", - "Ready", - "Creating", - "Created", - "Deleting", - "Deleted", - "Canceled", - "Failed", - "Succeeded", - "Moving", - "Updating", - "Registering", - "Registered", - "Unregistering", - "Unregistered", - "Completed" - ], - "x-ms-enum": { - "name": "WorkflowTriggerProvisioningState", - "modelAsString": true - } - }, - "WorkflowTriggerListResult": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/WorkflowTrigger" - }, - "description": "A list of workflow triggers." - }, - "nextLink": { - "type": "string", - "description": "The URL to get the next set of results." - } - }, - "description": "The list of workflow triggers." - }, - "WorkflowTriggerRecurrence": { - "type": "object", - "properties": { - "frequency": { - "$ref": "#/definitions/RecurrenceFrequency", - "description": "The frequency." - }, - "interval": { - "type": "integer", - "format": "int32", - "description": "The interval." - }, - "startTime": { - "type": "string", - "description": "The start time." - }, - "endTime": { - "type": "string", - "description": "The end time." - }, - "timeZone": { - "type": "string", - "description": "The time zone." - }, - "schedule": { - "$ref": "#/definitions/RecurrenceSchedule", - "description": "The recurrence schedule." - } - }, - "description": "The workflow trigger recurrence." - }, - "WorkflowVersion": { - "type": "object", - "properties": { - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/WorkflowVersionProperties", - "description": "The workflow version properties." - } - }, - "description": "The workflow version.", - "allOf": [ - { - "$ref": "#/definitions/WorkflowResource" - } - ] - }, - "WorkflowVersionProperties": { - "type": "object", - "properties": { - "provisioningState": { - "$ref": "#/definitions/WorkflowProvisioningState", - "readOnly": true, - "description": "The provisioning state." - }, - "createdTime": { - "type": "string", - "format": "date-time", - "readOnly": true, - "description": "Gets the created time." - }, - "changedTime": { - "type": "string", - "format": "date-time", - "readOnly": true, - "description": "Gets the changed time." - }, - "state": { - "$ref": "#/definitions/WorkflowState", - "description": "The state." - }, - "version": { - "type": "string", - "readOnly": true, - "description": "Gets the version." - }, - "accessEndpoint": { - "type": "string", - "readOnly": true, - "description": "Gets the access endpoint." - }, - "endpointsConfiguration": { - "$ref": "#/definitions/FlowEndpointsConfiguration", - "description": "The endpoints configuration." - }, - "accessControl": { - "$ref": "#/definitions/FlowAccessControlConfiguration", - "description": "The access control configuration." - }, - "sku": { - "$ref": "#/definitions/WorkflowSku", - "readOnly": true, - "description": "The sku." - }, - "integrationAccount": { - "$ref": "#/definitions/ResourceReference", - "description": "The integration account." - }, - "definition": { - "$ref": "#/definitions/Object", - "description": "The definition." - }, - "parameters": { - "type": "object", - "additionalProperties": { - "$ref": "#/definitions/WorkflowParameter" - }, - "description": "The parameters." - } - }, - "description": "The workflow version properties." - }, - "WorkflowVersionListResult": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/WorkflowVersion", - "description": "The workflow version." - }, - "description": "A list of workflow versions." - }, - "nextLink": { - "type": "string", - "description": "The URL to get the next set of results." - } - }, - "description": "The list of workflow versions." - } - }, - "parameters": { - "siteNameParameter": { - "name": "name", - "in": "path", - "description": "Site name.", - "required": true, - "type": "string", - "x-ms-parameter-location": "method" - }, - "slotNameParameter": { - "name": "slot", - "in": "path", - "description": "Name of the deployment slot.", - "required": true, - "type": "string", - "x-ms-parameter-location": "method" - }, - "subscriptionIdParameter": { - "name": "subscriptionId", - "in": "path", - "description": "Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000).", - "required": true, - "type": "string", - "x-ms-parameter-location": "client" - }, - "resourceGroupNameParameter": { - "name": "resourceGroupName", - "in": "path", - "description": "Name of the resource group to which the resource belongs.", - "required": true, - "type": "string", - "maxLength": 90, - "minLength": 1, - "pattern": "^[-\\w\\._\\(\\)]+[^\\.]$", - "x-ms-parameter-location": "method" - }, - "apiVersionParameter": { - "name": "api-version", - "in": "query", - "description": "API Version", - "required": true, - "type": "string", - "x-ms-parameter-location": "client" - } - }, - "securityDefinitions": { - "azure_auth": { - "type": "oauth2", - "description": "Azure Active Directory OAuth2 Flow", - "flow": "implicit", - "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", - "scopes": { - "user_impersonation": "impersonate your user account" - } - } - }, - "security": [ - { - "azure_auth": [ - "user_impersonation" - ] - } - ] -} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/AnalyzeCustomHostName.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/AnalyzeCustomHostName.json index 4d82afdbbcfd..a9dbbf60fd8e 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/AnalyzeCustomHostName.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/AnalyzeCustomHostName.json @@ -1,32 +1,34 @@ { "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "testrg123", "name": "sitef6141", - "api-version": "2025-03-01" + "api-version": "2025-03-01", + "resourceGroupName": "testrg123", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" }, "responses": { "200": { - "headers": {}, "body": { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/sitef6141", "name": "sitef6141", "type": "Microsoft.Web/sites", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/sitef6141", "properties": { - "isHostnameAlreadyVerified": true, - "customDomainVerificationTest": "Passed", + "cNameRecords": [ + "siteog.azurewebsites.net" + ], + "conflictingAppResourceId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/siteog", "customDomainVerificationFailureInfo": { "code": "07198", "message": "Custom domain verification failed on conflicting CNAMEs." }, - "hasConflictOnScaleUnit": false, + "customDomainVerificationTest": "Passed", "hasConflictAcrossSubscription": true, - "conflictingAppResourceId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/siteog", - "cNameRecords": [ - "siteog.azurewebsites.net" - ] + "hasConflictOnScaleUnit": false, + "isHostnameAlreadyVerified": true } - } + }, + "headers": {} } - } + }, + "operationId": "WebApps_AnalyzeCustomHostname", + "title": "Analyze custom hostname for webapp." } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/AnalyzeCustomHostNameSlot.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/AnalyzeCustomHostNameSlot.json index 1007b5076b1a..9dcb084db05c 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/AnalyzeCustomHostNameSlot.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/AnalyzeCustomHostNameSlot.json @@ -1,33 +1,35 @@ { "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "testrg123", "name": "sitef6141", + "api-version": "2025-03-01", + "resourceGroupName": "testrg123", "slot": "staging", - "api-version": "2025-03-01" + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" }, "responses": { "200": { - "headers": {}, "body": { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/sitef6141/slots/staging", "name": "sitef6141/staging", "type": "Microsoft.Web/sites/stagings", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/sitef6141/slots/staging", "properties": { - "isHostnameAlreadyVerified": true, - "customDomainVerificationTest": "Passed", + "cNameRecords": [ + "siteog.azurewebsites.net" + ], + "conflictingAppResourceId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/siteog/slots/qa", "customDomainVerificationFailureInfo": { "code": "07198", "message": "Custom domain verification failed on conflicting CNAMEs." }, - "hasConflictOnScaleUnit": false, + "customDomainVerificationTest": "Passed", "hasConflictAcrossSubscription": true, - "conflictingAppResourceId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/siteog/slots/qa", - "cNameRecords": [ - "siteog.azurewebsites.net" - ] + "hasConflictOnScaleUnit": false, + "isHostnameAlreadyVerified": true } - } + }, + "headers": {} } - } + }, + "operationId": "WebApps_AnalyzeCustomHostnameSlot", + "title": "Analyze custom hostname for slot" } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/AppServiceEnvironments_ApproveOrRejectPrivateEndpointConnection.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/AppServiceEnvironments_ApproveOrRejectPrivateEndpointConnection.json index 8bc4e7a9f39c..abe4cff90be7 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/AppServiceEnvironments_ApproveOrRejectPrivateEndpointConnection.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/AppServiceEnvironments_ApproveOrRejectPrivateEndpointConnection.json @@ -1,59 +1,61 @@ { "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "test-rg", "name": "test-ase", + "api-version": "2025-03-01", "privateEndpointConnectionName": "fa38656c-034e-43d8-adce-fe06ce039c98", "privateEndpointWrapper": { "properties": { "privateLinkServiceConnectionState": { - "status": "Approved", - "description": "Approved by johndoe@company.com" + "description": "Approved by johndoe@company.com", + "status": "Approved" } } }, - "api-version": "2025-03-01" + "resourceGroupName": "test-rg", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" }, "responses": { "200": { - "headers": {}, "body": { "name": "fa38656c-034e-43d8-adce-fe06ce039c98", "type": "Microsoft.Web/hostingEnvironments/privateEndpointConnections", "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-rg/providers/Microsoft.Web/hostingEnvironments/test-ase/privateEndpointConnections/fa38656c-034e-43d8-adce-fe06ce039c98", "properties": { - "provisioningState": "Succeeded", + "ipAddresses": [], "privateEndpoint": { "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-rg/providers/Microsoft.Network/test-privateEndpoint" }, "privateLinkServiceConnectionState": { - "status": "Approved", "description": "Approved by johndoe@company.com", - "actionsRequired": "None" + "actionsRequired": "None", + "status": "Approved" }, - "ipAddresses": [] + "provisioningState": "Succeeded" } - } + }, + "headers": {} }, "202": { - "headers": {}, "body": { "name": "fa38656c-034e-43d8-adce-fe06ce039c98", "type": "Microsoft.Web/hostingEnvironments/privateEndpointConnections", "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-rg/providers/Microsoft.Web/hostingEnvironments/test-ase/privateEndpointConnections/fa38656c-034e-43d8-adce-fe06ce039c98", "properties": { - "provisioningState": "Succeeded", + "ipAddresses": [], "privateEndpoint": { "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-rg/providers/Microsoft.Network/test-privateEndpoint" }, "privateLinkServiceConnectionState": { - "status": "Approved", "description": "Approved by johndoe@company.com", - "actionsRequired": "None" + "actionsRequired": "None", + "status": "Approved" }, - "ipAddresses": [] + "provisioningState": "Succeeded" } - } + }, + "headers": {} } - } + }, + "operationId": "AppServiceEnvironments_ApproveOrRejectPrivateEndpointConnection", + "title": "Approves or rejects a private endpoint connection." } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/AppServiceEnvironments_ChangeVnet.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/AppServiceEnvironments_ChangeVnet.json index c138dfa745fb..138a481f7602 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/AppServiceEnvironments_ChangeVnet.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/AppServiceEnvironments_ChangeVnet.json @@ -1,28 +1,30 @@ { "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "test-rg", "name": "test-ase", "api-version": "2025-03-01", + "resourceGroupName": "test-rg", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", "vnetInfo": { "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/default" } }, "responses": { - "202": { - "headers": { - "x-ms-routing-request-id": "NORTHCENTRALUS:20220408T212612Z:79bd0bce-5524-4fd1-ada0-1d8c86263d17", - "Location": "https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-rg/providers/Microsoft.Web/hostingEnvironments/test-ase/operations/f6a27306-3ee3-4e6b-997d-3ba2024b85e6?api-version=2019-08-01" - }, + "200": { "body": { "value": [] - } + }, + "headers": {} }, - "200": { - "headers": {}, + "202": { "body": { "value": [] + }, + "headers": { + "Location": "https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-rg/providers/Microsoft.Web/hostingEnvironments/test-ase/operations/f6a27306-3ee3-4e6b-997d-3ba2024b85e6?api-version=2019-08-01", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220408T212612Z:79bd0bce-5524-4fd1-ada0-1d8c86263d17" } } - } + }, + "operationId": "AppServiceEnvironments_ChangeVnet", + "title": "Move an App Service Environment to a different VNET." } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/AppServiceEnvironments_CreateOrUpdate.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/AppServiceEnvironments_CreateOrUpdate.json index 00f3f24a837f..d1fc9ce4440e 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/AppServiceEnvironments_CreateOrUpdate.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/AppServiceEnvironments_CreateOrUpdate.json @@ -1,10 +1,7 @@ { "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "test-rg", "name": "test-ase", "api-version": "2025-03-01", - "location": "South Central US", "hostingEnvironmentEnvelope": { "kind": "Asev3", "location": "South Central US", @@ -13,173 +10,178 @@ "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/delegated" } } - } + }, + "location": "South Central US", + "resourceGroupName": "test-rg", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" }, "responses": { - "202": { - "headers": {}, + "200": { "body": { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-rg/providers/Microsoft.Web/hostingEnvironments/test-ase", "name": "test-ase", "type": "Microsoft.Web/hostingEnvironments", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-rg/providers/Microsoft.Web/hostingEnvironments/test-ase", "kind": "ASEV3", "location": "South Central US", - "tags": {}, "properties": { - "provisioningState": "Succeeded", - "status": "Ready", - "virtualNetwork": { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/test-subnet/subnets/delegated", - "name": "delegated", - "type": "Microsoft.Network/virtualNetworks/subnets", - "subnet": "" - }, - "internalLoadBalancingMode": "None", - "multiSize": "Standard_D2d_v4", - "multiRoleCount": null, - "ipsslAddressCount": 0, + "clusterSettings": null, + "dedicatedHostCount": 0, "dnsSuffix": "test-ase.p.azurewebsites.net", - "maximumNumberOfMachines": 250, "frontEndScaleFactor": 15, - "suspended": false, - "clusterSettings": null, - "userWhitelistedIpRanges": null, "hasLinuxWorkers": true, - "dedicatedHostCount": 0, - "zoneRedundant": false, + "internalLoadBalancingMode": "None", + "ipsslAddressCount": 0, + "maximumNumberOfMachines": 250, + "multiRoleCount": null, + "multiSize": "Standard_D2d_v4", "networkingConfiguration": { "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-rg/providers/Microsoft.Web/hostingEnvironments/test-ase/configurations/networking", "properties": { - "windowsOutboundIpAddresses": [ - "20.88.241.56", - "20.88.241.9" + "allowNewPrivateEndpointConnections": false, + "externalInboundIpAddresses": [ + "52.153.248.36" ], + "ftpEnabled": false, + "inboundIpAddressOverride": null, + "internalInboundIpAddresses": [], "linuxOutboundIpAddresses": [ "20.88.241.56", "20.88.241.9" ], - "externalInboundIpAddresses": [ - "52.153.248.36" - ], - "internalInboundIpAddresses": [], - "allowNewPrivateEndpointConnections": false, - "ftpEnabled": false, "remoteDebugEnabled": false, - "inboundIpAddressOverride": null + "windowsOutboundIpAddresses": [ + "20.88.241.56", + "20.88.241.9" + ] } - } - } - } + }, + "provisioningState": "Succeeded", + "status": "Ready", + "suspended": false, + "userWhitelistedIpRanges": null, + "virtualNetwork": { + "name": "delegated", + "type": "Microsoft.Network/virtualNetworks/subnets", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/test-subnet/subnets/delegated", + "subnet": "" + }, + "zoneRedundant": false + }, + "tags": {} + }, + "headers": {} }, "201": { - "headers": {}, "body": { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-rg/providers/Microsoft.Web/hostingEnvironments/test-ase", "name": "test-ase", "type": "Microsoft.Web/hostingEnvironments", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-rg/providers/Microsoft.Web/hostingEnvironments/test-ase", "kind": "ASEV3", "location": "South Central US", - "tags": {}, "properties": { - "provisioningState": "Succeeded", - "status": "Ready", - "virtualNetwork": { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/test-subnet/subnets/delegated", - "name": "delegated", - "type": "Microsoft.Network/virtualNetworks/subnets", - "subnet": "" - }, - "internalLoadBalancingMode": "None", - "multiSize": "Standard_D2d_v4", - "multiRoleCount": null, - "ipsslAddressCount": 0, + "clusterSettings": null, + "dedicatedHostCount": 0, "dnsSuffix": "test-ase.p.azurewebsites.net", - "maximumNumberOfMachines": 250, "frontEndScaleFactor": 15, - "suspended": false, - "clusterSettings": null, - "userWhitelistedIpRanges": null, "hasLinuxWorkers": true, - "dedicatedHostCount": 0, - "zoneRedundant": false, + "internalLoadBalancingMode": "None", + "ipsslAddressCount": 0, + "maximumNumberOfMachines": 250, + "multiRoleCount": null, + "multiSize": "Standard_D2d_v4", "networkingConfiguration": { "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-rg/providers/Microsoft.Web/hostingEnvironments/test-ase/configurations/networking", "properties": { - "windowsOutboundIpAddresses": [ - "20.88.241.56", - "20.88.241.9" + "allowNewPrivateEndpointConnections": false, + "externalInboundIpAddresses": [ + "52.153.248.36" ], + "ftpEnabled": false, + "inboundIpAddressOverride": null, + "internalInboundIpAddresses": [], "linuxOutboundIpAddresses": [ "20.88.241.56", "20.88.241.9" ], - "externalInboundIpAddresses": [ - "52.153.248.36" - ], - "internalInboundIpAddresses": [], - "allowNewPrivateEndpointConnections": false, - "ftpEnabled": false, "remoteDebugEnabled": false, - "inboundIpAddressOverride": null + "windowsOutboundIpAddresses": [ + "20.88.241.56", + "20.88.241.9" + ] } - } - } - } - }, - "200": { - "headers": {}, - "body": { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-rg/providers/Microsoft.Web/hostingEnvironments/test-ase", - "name": "test-ase", - "type": "Microsoft.Web/hostingEnvironments", - "kind": "ASEV3", - "location": "South Central US", - "tags": {}, - "properties": { + }, "provisioningState": "Succeeded", "status": "Ready", + "suspended": false, + "userWhitelistedIpRanges": null, "virtualNetwork": { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/test-subnet/subnets/delegated", "name": "delegated", "type": "Microsoft.Network/virtualNetworks/subnets", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/test-subnet/subnets/delegated", "subnet": "" }, - "internalLoadBalancingMode": "None", - "multiSize": "Standard_D2d_v4", - "multiRoleCount": null, - "ipsslAddressCount": 0, + "zoneRedundant": false + }, + "tags": {} + }, + "headers": {} + }, + "202": { + "body": { + "name": "test-ase", + "type": "Microsoft.Web/hostingEnvironments", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-rg/providers/Microsoft.Web/hostingEnvironments/test-ase", + "kind": "ASEV3", + "location": "South Central US", + "properties": { + "clusterSettings": null, + "dedicatedHostCount": 0, "dnsSuffix": "test-ase.p.azurewebsites.net", - "maximumNumberOfMachines": 250, "frontEndScaleFactor": 15, - "suspended": false, - "clusterSettings": null, - "userWhitelistedIpRanges": null, "hasLinuxWorkers": true, - "dedicatedHostCount": 0, - "zoneRedundant": false, + "internalLoadBalancingMode": "None", + "ipsslAddressCount": 0, + "maximumNumberOfMachines": 250, + "multiRoleCount": null, + "multiSize": "Standard_D2d_v4", "networkingConfiguration": { "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-rg/providers/Microsoft.Web/hostingEnvironments/test-ase/configurations/networking", "properties": { - "windowsOutboundIpAddresses": [ - "20.88.241.56", - "20.88.241.9" + "allowNewPrivateEndpointConnections": false, + "externalInboundIpAddresses": [ + "52.153.248.36" ], + "ftpEnabled": false, + "inboundIpAddressOverride": null, + "internalInboundIpAddresses": [], "linuxOutboundIpAddresses": [ "20.88.241.56", "20.88.241.9" ], - "externalInboundIpAddresses": [ - "52.153.248.36" - ], - "internalInboundIpAddresses": [], - "allowNewPrivateEndpointConnections": false, - "ftpEnabled": false, "remoteDebugEnabled": false, - "inboundIpAddressOverride": null + "windowsOutboundIpAddresses": [ + "20.88.241.56", + "20.88.241.9" + ] } - } - } - } + }, + "provisioningState": "Succeeded", + "status": "Ready", + "suspended": false, + "userWhitelistedIpRanges": null, + "virtualNetwork": { + "name": "delegated", + "type": "Microsoft.Network/virtualNetworks/subnets", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/test-subnet/subnets/delegated", + "subnet": "" + }, + "zoneRedundant": false + }, + "tags": {} + }, + "headers": {} } - } + }, + "operationId": "AppServiceEnvironments_CreateOrUpdate", + "title": "Create or update an App Service Environment." } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/AppServiceEnvironments_CreateOrUpdateMultiRolePool.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/AppServiceEnvironments_CreateOrUpdateMultiRolePool.json index 1cf7fb82687b..70a2c01c67f9 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/AppServiceEnvironments_CreateOrUpdateMultiRolePool.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/AppServiceEnvironments_CreateOrUpdateMultiRolePool.json @@ -1,24 +1,26 @@ { "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "test-rg", "name": "test-ase", + "api-version": "2025-03-01", "multiRolePoolEnvelope": { "properties": { - "workerSize": "Medium", - "workerCount": 3 + "workerCount": 3, + "workerSize": "Medium" } }, - "api-version": "2025-03-01" + "resourceGroupName": "test-rg", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" }, "responses": { - "202": { - "headers": {}, - "body": {} - }, "200": { - "headers": {}, - "body": {} + "body": {}, + "headers": {} + }, + "202": { + "body": {}, + "headers": {} } - } + }, + "operationId": "AppServiceEnvironments_CreateOrUpdateMultiRolePool", + "title": "Create or update a multi-role pool." } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/AppServiceEnvironments_CreateOrUpdateMultiRolePool_UpdateMultiRolePool.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/AppServiceEnvironments_CreateOrUpdateMultiRolePool_UpdateMultiRolePool.json new file mode 100644 index 000000000000..f2768255fb26 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/AppServiceEnvironments_CreateOrUpdateMultiRolePool_UpdateMultiRolePool.json @@ -0,0 +1,26 @@ +{ + "parameters": { + "name": "test-ase", + "api-version": "2025-03-01", + "multiRolePoolEnvelope": { + "properties": { + "workerCount": 3, + "workerSize": "Medium" + } + }, + "resourceGroupName": "test-rg", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": {}, + "headers": {} + }, + "202": { + "body": {}, + "headers": {} + } + }, + "operationId": "AppServiceEnvironments_UpdateMultiRolePool", + "title": "Create or update a multi-role pool." +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/AppServiceEnvironments_CreateOrUpdateWorkerPool.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/AppServiceEnvironments_CreateOrUpdateWorkerPool.json index 79903a3a6fe4..adfeb295bbf2 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/AppServiceEnvironments_CreateOrUpdateWorkerPool.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/AppServiceEnvironments_CreateOrUpdateWorkerPool.json @@ -1,25 +1,27 @@ { "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "test-rg", "name": "test-ase", - "workerPoolName": "0", + "api-version": "2025-03-01", + "resourceGroupName": "test-rg", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", "workerPoolEnvelope": { "properties": { - "workerSize": "Small", - "workerCount": 3 + "workerCount": 3, + "workerSize": "Small" } }, - "api-version": "2025-03-01" + "workerPoolName": "0" }, "responses": { - "202": { - "headers": {}, - "body": {} - }, "200": { - "headers": {}, - "body": {} + "body": {}, + "headers": {} + }, + "202": { + "body": {}, + "headers": {} } - } + }, + "operationId": "AppServiceEnvironments_UpdateWorkerPool", + "title": "Get properties of a worker pool." } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/AppServiceEnvironments_CreateOrUpdateWorkerPool_CreateOrUpdateWorkerPool.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/AppServiceEnvironments_CreateOrUpdateWorkerPool_CreateOrUpdateWorkerPool.json new file mode 100644 index 000000000000..64bc2047925b --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/AppServiceEnvironments_CreateOrUpdateWorkerPool_CreateOrUpdateWorkerPool.json @@ -0,0 +1,27 @@ +{ + "parameters": { + "name": "test-ase", + "api-version": "2025-03-01", + "resourceGroupName": "test-rg", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "workerPoolEnvelope": { + "properties": { + "workerCount": 3, + "workerSize": "Small" + } + }, + "workerPoolName": "0" + }, + "responses": { + "200": { + "body": {}, + "headers": {} + }, + "202": { + "body": {}, + "headers": {} + } + }, + "operationId": "AppServiceEnvironments_CreateOrUpdateWorkerPool", + "title": "Get properties of a worker pool." +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/AppServiceEnvironments_Delete.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/AppServiceEnvironments_Delete.json index fed8dae72f77..e080eac04b03 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/AppServiceEnvironments_Delete.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/AppServiceEnvironments_Delete.json @@ -1,19 +1,21 @@ { "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "test-rg", "name": "test-ase", - "api-version": "2025-03-01" + "api-version": "2025-03-01", + "resourceGroupName": "test-rg", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" }, "responses": { "202": { "headers": { - "x-ms-routing-request-id": "NORTHCENTRALUS:20220408T212612Z:79bd0bce-5524-4fd1-ada0-1d8c86263d17", - "Location": "https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-rg/providers/Microsoft.Web/hostingEnvironments/test-ase/operations/f6a27306-3ee3-4e6b-997d-3ba2024b85e6?api-version=2019-08-01" + "Location": "https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-rg/providers/Microsoft.Web/hostingEnvironments/test-ase/operations/f6a27306-3ee3-4e6b-997d-3ba2024b85e6?api-version=2019-08-01", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220408T212612Z:79bd0bce-5524-4fd1-ada0-1d8c86263d17" } }, "204": { "headers": {} } - } + }, + "operationId": "AppServiceEnvironments_Delete", + "title": "Delete an App Service Environment." } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/AppServiceEnvironments_DeletePrivateEndpointConnection.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/AppServiceEnvironments_DeletePrivateEndpointConnection.json index b3e28b6c4bc7..f775999166e9 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/AppServiceEnvironments_DeletePrivateEndpointConnection.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/AppServiceEnvironments_DeletePrivateEndpointConnection.json @@ -1,26 +1,28 @@ { "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "test-rg", "name": "test-ase", + "api-version": "2025-03-01", "privateEndpointConnectionName": "fa38656c-034e-43d8-adce-fe06ce039c98", - "api-version": "2025-03-01" + "resourceGroupName": "test-rg", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" }, "responses": { "200": { - "headers": {}, - "body": {} + "body": {}, + "headers": {} }, "202": { + "body": {}, "headers": { - "x-ms-routing-request-id": "NORTHCENTRALUS:20220408T212612Z:79bd0bce-5524-4fd1-ada0-1d8c86263d17", - "Location": "https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-rg/providers/Microsoft.Web/hostingEnvironments/test-ase/operations/f6a27306-3ee3-4e6b-997d-3ba2024b85e6?api-version=2019-08-01" - }, - "body": {} + "Location": "https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-rg/providers/Microsoft.Web/hostingEnvironments/test-ase/operations/f6a27306-3ee3-4e6b-997d-3ba2024b85e6?api-version=2019-08-01", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220408T212612Z:79bd0bce-5524-4fd1-ada0-1d8c86263d17" + } }, "204": { - "headers": {}, - "body": {} + "body": {}, + "headers": {} } - } + }, + "operationId": "AppServiceEnvironments_DeletePrivateEndpointConnection", + "title": "Deletes a private endpoint connection." } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/AppServiceEnvironments_Get.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/AppServiceEnvironments_Get.json index 810694cc470f..d739903a4dbd 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/AppServiceEnvironments_Get.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/AppServiceEnvironments_Get.json @@ -1,65 +1,67 @@ { "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "test-rg", "name": "test-ase", - "api-version": "2025-03-01" + "api-version": "2025-03-01", + "resourceGroupName": "test-rg", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" }, "responses": { "200": { - "headers": {}, "body": { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-rg/providers/Microsoft.Web/hostingEnvironments/test-ase", "name": "test-ase", "type": "Microsoft.Web/hostingEnvironments", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-rg/providers/Microsoft.Web/hostingEnvironments/test-ase", "kind": "ASEV3", "location": "South Central US", - "tags": {}, "properties": { - "provisioningState": "Succeeded", - "status": "Ready", - "virtualNetwork": { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/test-subnet/subnets/delegated", - "name": "delegated", - "type": "Microsoft.Network/virtualNetworks/subnets", - "subnet": "" - }, - "internalLoadBalancingMode": "None", - "multiSize": "Standard_D2d_v4", - "multiRoleCount": null, - "ipsslAddressCount": 0, + "clusterSettings": null, + "dedicatedHostCount": 0, "dnsSuffix": "test-ase.p.azurewebsites.net", - "maximumNumberOfMachines": 250, "frontEndScaleFactor": 15, - "suspended": false, - "clusterSettings": null, - "userWhitelistedIpRanges": null, "hasLinuxWorkers": true, - "dedicatedHostCount": 0, - "zoneRedundant": false, + "internalLoadBalancingMode": "None", + "ipsslAddressCount": 0, + "maximumNumberOfMachines": 250, + "multiRoleCount": null, + "multiSize": "Standard_D2d_v4", "networkingConfiguration": { "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-rg/providers/Microsoft.Web/hostingEnvironments/test-ase/configurations/networking", "properties": { - "windowsOutboundIpAddresses": [ - "20.88.241.56", - "20.88.241.9" + "allowNewPrivateEndpointConnections": false, + "externalInboundIpAddresses": [ + "52.153.248.36" ], + "ftpEnabled": false, + "inboundIpAddressOverride": null, + "internalInboundIpAddresses": [], "linuxOutboundIpAddresses": [ "20.88.241.56", "20.88.241.9" ], - "externalInboundIpAddresses": [ - "52.153.248.36" - ], - "internalInboundIpAddresses": [], - "allowNewPrivateEndpointConnections": false, - "ftpEnabled": false, "remoteDebugEnabled": false, - "inboundIpAddressOverride": null + "windowsOutboundIpAddresses": [ + "20.88.241.56", + "20.88.241.9" + ] } - } - } - } + }, + "provisioningState": "Succeeded", + "status": "Ready", + "suspended": false, + "userWhitelistedIpRanges": null, + "virtualNetwork": { + "name": "delegated", + "type": "Microsoft.Network/virtualNetworks/subnets", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/test-subnet/subnets/delegated", + "subnet": "" + }, + "zoneRedundant": false + }, + "tags": {} + }, + "headers": {} } - } + }, + "operationId": "AppServiceEnvironments_Get", + "title": "Get the properties of an App Service Environment." } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/AppServiceEnvironments_GetAseV3NetworkingConfiguration.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/AppServiceEnvironments_GetAseV3NetworkingConfiguration.json index 5d7a1134acb0..05bc847a194d 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/AppServiceEnvironments_GetAseV3NetworkingConfiguration.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/AppServiceEnvironments_GetAseV3NetworkingConfiguration.json @@ -1,36 +1,38 @@ { "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "test-rg", "name": "test-ase", - "api-version": "2025-03-01" + "api-version": "2025-03-01", + "resourceGroupName": "test-rg", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" }, "responses": { "200": { - "headers": {}, "body": { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-rg/providers/Microsoft.Web/hostingEnvironments/test-ase/configurations/networking", "name": "networking", "type": "Microsoft.Web/hostingEnvironments/configurations/networking", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-rg/providers/Microsoft.Web/hostingEnvironments/test-ase/configurations/networking", "properties": { - "windowsOutboundIpAddresses": [ - "20.88.241.56", - "20.88.241.9" + "allowNewPrivateEndpointConnections": false, + "externalInboundIpAddresses": [ + "52.153.248.36" ], + "ftpEnabled": false, + "inboundIpAddressOverride": null, + "internalInboundIpAddresses": [], "linuxOutboundIpAddresses": [ "20.88.241.56", "20.88.241.9" ], - "externalInboundIpAddresses": [ - "52.153.248.36" - ], - "internalInboundIpAddresses": [], - "allowNewPrivateEndpointConnections": false, - "ftpEnabled": false, "remoteDebugEnabled": false, - "inboundIpAddressOverride": null + "windowsOutboundIpAddresses": [ + "20.88.241.56", + "20.88.241.9" + ] } - } + }, + "headers": {} } - } + }, + "operationId": "AppServiceEnvironments_GetAseV3NetworkingConfiguration", + "title": "Get networking configuration of an App Service Environment." } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/AppServiceEnvironments_GetDiagnosticsItem.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/AppServiceEnvironments_GetDiagnosticsItem.json index 909a4528924c..21d818893f31 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/AppServiceEnvironments_GetDiagnosticsItem.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/AppServiceEnvironments_GetDiagnosticsItem.json @@ -1,17 +1,19 @@ { "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "test-rg", "name": "test-ase", + "api-version": "2025-03-01", "diagnosticsName": "test-diagnostic", - "api-version": "2025-03-01" + "resourceGroupName": "test-rg", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" }, "responses": { "200": { - "headers": {}, "body": { "name": "test-diagnostic" - } + }, + "headers": {} } - } + }, + "operationId": "AppServiceEnvironments_GetDiagnosticsItem", + "title": "Get a diagnostics item for an App Service Environment." } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/AppServiceEnvironments_GetMultiRolePool.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/AppServiceEnvironments_GetMultiRolePool.json index b27550ee5f7b..639aebe2caf1 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/AppServiceEnvironments_GetMultiRolePool.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/AppServiceEnvironments_GetMultiRolePool.json @@ -1,33 +1,35 @@ { "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "test-rg", "name": "test-ase", - "api-version": "2025-03-01" + "api-version": "2025-03-01", + "resourceGroupName": "test-rg", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" }, "responses": { "200": { - "headers": {}, "body": { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-rg/providers/Microsoft.Web/hostingEnvironments/test-ase/multiRolePools/default", "name": "default", "type": "Microsoft.Web/hostingEnvironments/multiRolePools", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-rg/providers/Microsoft.Web/hostingEnvironments/test-ase/multiRolePools/default", "properties": { - "workerSize": "Standard_D1_V2", - "workerCount": 2, "instanceNames": [ "10.7.1.8", "10.7.1.9" - ] + ], + "workerCount": 2, + "workerSize": "Standard_D1_V2" }, "sku": { "name": "Q1", - "tier": "Quantum", - "size": "Q1", + "capacity": 2, "family": "Q", - "capacity": 2 + "size": "Q1", + "tier": "Quantum" } - } + }, + "headers": {} } - } + }, + "operationId": "AppServiceEnvironments_GetMultiRolePool", + "title": "Get properties of a multi-role pool." } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/AppServiceEnvironments_GetPrivateEndpointConnection.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/AppServiceEnvironments_GetPrivateEndpointConnection.json index 06ba6e2d7fa7..941c0e319a31 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/AppServiceEnvironments_GetPrivateEndpointConnection.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/AppServiceEnvironments_GetPrivateEndpointConnection.json @@ -1,31 +1,33 @@ { "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "test-rg", "name": "test-ase", + "api-version": "2025-03-01", "privateEndpointConnectionName": "fa38656c-034e-43d8-adce-fe06ce039c98", - "api-version": "2025-03-01" + "resourceGroupName": "test-rg", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" }, "responses": { "200": { - "headers": {}, "body": { "name": "fa38656c-034e-43d8-adce-fe06ce039c98", "type": "Microsoft.Web/hostingEnvironments/privateEndpointConnections", "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-rg/providers/Microsoft.Web/hostingEnvironments/test-ase/privateEndpointConnections/fa38656c-034e-43d8-adce-fe06ce039c98", "properties": { - "provisioningState": "Pending", + "ipAddresses": [], "privateEndpoint": { "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-rg/providers/Microsoft.Network/test-privateEndpoint" }, "privateLinkServiceConnectionState": { - "status": "Disconnecting", "description": "Please approve my connection, thanks!", - "actionsRequired": "None" + "actionsRequired": "None", + "status": "Disconnecting" }, - "ipAddresses": [] + "provisioningState": "Pending" } - } + }, + "headers": {} } - } + }, + "operationId": "AppServiceEnvironments_GetPrivateEndpointConnection", + "title": "Gets a private endpoint connection." } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/AppServiceEnvironments_GetPrivateEndpointConnectionList.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/AppServiceEnvironments_GetPrivateEndpointConnectionList.json index 061836a87fcc..0bd36f964982 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/AppServiceEnvironments_GetPrivateEndpointConnectionList.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/AppServiceEnvironments_GetPrivateEndpointConnectionList.json @@ -1,13 +1,12 @@ { "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "test-rg", "name": "test-ase", - "api-version": "2025-03-01" + "api-version": "2025-03-01", + "resourceGroupName": "test-rg", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" }, "responses": { "200": { - "headers": {}, "body": { "value": [ { @@ -15,20 +14,23 @@ "type": "Microsoft.Web/hostingEnvironments/privateEndpointConnections", "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-rg/providers/Microsoft.Web/hostingEnvironments/test-ase/privateEndpointConnections/fa38656c-034e-43d8-adce-fe06ce039c98", "properties": { - "provisioningState": "Pending", + "ipAddresses": [], "privateEndpoint": { "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-rg/providers/Microsoft.Network/test-privateEndpoint" }, "privateLinkServiceConnectionState": { - "status": "Disconnecting", "description": "Please approve my connection, thanks!", - "actionsRequired": "None" + "actionsRequired": "None", + "status": "Disconnecting" }, - "ipAddresses": [] + "provisioningState": "Pending" } } ] - } + }, + "headers": {} } - } + }, + "operationId": "AppServiceEnvironments_GetPrivateEndpointConnectionList", + "title": "Gets the list of private endpoints associated with a hosting environment." } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/AppServiceEnvironments_GetPrivateLinkResources.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/AppServiceEnvironments_GetPrivateLinkResources.json index 9a6de50e65de..fa9355a89f76 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/AppServiceEnvironments_GetPrivateLinkResources.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/AppServiceEnvironments_GetPrivateLinkResources.json @@ -1,16 +1,18 @@ { "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "test-rg", "name": "test-ase", - "api-version": "2025-03-01" + "api-version": "2025-03-01", + "resourceGroupName": "test-rg", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" }, "responses": { "200": { - "headers": {}, "body": { "value": [] - } + }, + "headers": {} } - } + }, + "operationId": "AppServiceEnvironments_GetPrivateLinkResources", + "title": "Gets the private link resources." } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/AppServiceEnvironments_GetVipInfo.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/AppServiceEnvironments_GetVipInfo.json index dd552b5fca0b..dff432922a33 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/AppServiceEnvironments_GetVipInfo.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/AppServiceEnvironments_GetVipInfo.json @@ -1,41 +1,43 @@ { "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "test-rg", "name": "test-ase", - "api-version": "2025-03-01" + "api-version": "2025-03-01", + "resourceGroupName": "test-rg", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" }, "responses": { "200": { - "headers": {}, "body": { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-rg/providers/Microsoft.Web/Microsoft.Web/hostingEnvironments/test-ase/capacities/virtualip", "name": "test-ase", "type": "Microsoft.Web/hostingEnvironments/capacities", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-rg/providers/Microsoft.Web/hostingEnvironments/test-ase/capacities/virtualip", "properties": { - "serviceIpAddress": "20.112.141.120", "internalIpAddress": null, "outboundIpAddresses": [ "20.112.141.120" ], + "serviceIpAddress": "20.112.141.120", "vipMappings": [ { - "virtualIP": "20.112.141.135", + "inUse": false, "internalHttpPort": 20003, "internalHttpsPort": 20001, - "inUse": false, - "serviceName": null + "serviceName": null, + "virtualIP": "20.112.141.135" }, { - "virtualIP": "20.112.141.150", + "inUse": false, "internalHttpPort": 20004, "internalHttpsPort": 20002, - "inUse": false, - "serviceName": null + "serviceName": null, + "virtualIP": "20.112.141.150" } ] } - } + }, + "headers": {} } - } + }, + "operationId": "AppServiceEnvironments_GetVipInfo", + "title": "Get IP addresses assigned to an App Service Environment." } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/AppServiceEnvironments_GetWorkerPool.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/AppServiceEnvironments_GetWorkerPool.json index 8dac99ba5a59..d54275075abd 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/AppServiceEnvironments_GetWorkerPool.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/AppServiceEnvironments_GetWorkerPool.json @@ -1,26 +1,28 @@ { "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "test-rg", "name": "test-ase", - "workerPoolName": "workerPool1", - "api-version": "2025-03-01" + "api-version": "2025-03-01", + "resourceGroupName": "test-rg", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "workerPoolName": "workerPool1" }, "responses": { "200": { - "headers": {}, "body": { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-rg/providers/Microsoft.Web/hostingEnvironments/test-ase/workerPools/workerPool1", "name": "workerPool1", "type": "Microsoft.Web/hostingEnvironments/workerPools", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-rg/providers/Microsoft.Web/hostingEnvironments/test-ase/workerPools/workerPool1", "kind": "ASEV1", "properties": { - "workerSizeId": 0, - "workerSize": "Small", + "instanceNames": [], "workerCount": 2, - "instanceNames": [] + "workerSize": "Small", + "workerSizeId": 0 } - } + }, + "headers": {} } - } + }, + "operationId": "AppServiceEnvironments_GetWorkerPool", + "title": "Get properties of a worker pool." } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/AppServiceEnvironments_List.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/AppServiceEnvironments_List.json index 867ae86c4280..52cc2d5ce397 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/AppServiceEnvironments_List.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/AppServiceEnvironments_List.json @@ -1,67 +1,69 @@ { "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "api-version": "2025-03-01" + "api-version": "2025-03-01", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" }, "responses": { "200": { - "headers": {}, "body": { "value": [ { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-rg/providers/Microsoft.Web/hostingEnvironments/test-ase", "name": "test-ase", "type": "Microsoft.Web/hostingEnvironments", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-rg/providers/Microsoft.Web/hostingEnvironments/test-ase", "kind": "ASEV3", "location": "South Central US", - "tags": {}, "properties": { - "provisioningState": "Succeeded", - "status": "Ready", - "virtualNetwork": { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/test-subnet/subnets/delegated", - "name": "delegated", - "type": "Microsoft.Network/virtualNetworks/subnets", - "subnet": "" - }, - "internalLoadBalancingMode": "None", - "multiSize": "Standard_D2d_v4", - "multiRoleCount": null, - "ipsslAddressCount": 0, + "clusterSettings": null, + "dedicatedHostCount": 0, "dnsSuffix": "test-ase.p.azurewebsites.net", - "maximumNumberOfMachines": 250, "frontEndScaleFactor": 15, - "suspended": false, - "clusterSettings": null, - "userWhitelistedIpRanges": null, "hasLinuxWorkers": true, - "dedicatedHostCount": 0, - "zoneRedundant": false, + "internalLoadBalancingMode": "None", + "ipsslAddressCount": 0, + "maximumNumberOfMachines": 250, + "multiRoleCount": null, + "multiSize": "Standard_D2d_v4", "networkingConfiguration": { "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-rg/providers/Microsoft.Web/hostingEnvironments/test-ase/configurations/networking", "properties": { - "windowsOutboundIpAddresses": [ - "20.88.241.56", - "20.88.241.9" + "allowNewPrivateEndpointConnections": false, + "externalInboundIpAddresses": [ + "52.153.248.36" ], + "ftpEnabled": false, + "inboundIpAddressOverride": null, + "internalInboundIpAddresses": [], "linuxOutboundIpAddresses": [ "20.88.241.56", "20.88.241.9" ], - "externalInboundIpAddresses": [ - "52.153.248.36" - ], - "internalInboundIpAddresses": [], - "allowNewPrivateEndpointConnections": false, - "ftpEnabled": false, "remoteDebugEnabled": false, - "inboundIpAddressOverride": null + "windowsOutboundIpAddresses": [ + "20.88.241.56", + "20.88.241.9" + ] } - } - } + }, + "provisioningState": "Succeeded", + "status": "Ready", + "suspended": false, + "userWhitelistedIpRanges": null, + "virtualNetwork": { + "name": "delegated", + "type": "Microsoft.Network/virtualNetworks/subnets", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/test-subnet/subnets/delegated", + "subnet": "" + }, + "zoneRedundant": false + }, + "tags": {} } ] - } + }, + "headers": {} } - } + }, + "operationId": "AppServiceEnvironments_List", + "title": "Get all App Service Environments for a subscription." } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/AppServiceEnvironments_ListAppServicePlans.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/AppServiceEnvironments_ListAppServicePlans.json index 14933669b477..44db80ad801d 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/AppServiceEnvironments_ListAppServicePlans.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/AppServiceEnvironments_ListAppServicePlans.json @@ -1,61 +1,63 @@ { "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "test-rg", "name": "test-ase", - "api-version": "2025-03-01" + "api-version": "2025-03-01", + "resourceGroupName": "test-rg", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" }, "responses": { "200": { - "headers": {}, "body": { + "nextLink": null, "value": [ { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-rg/providers/Microsoft.Web/serverfarms/test-asp", "name": "test-asp", "type": "Microsoft.Web/serverfarms", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-rg/providers/Microsoft.Web/serverfarms/test-asp", "kind": "app", "location": "Central US EUAP", - "tags": {}, "properties": { - "workerTierName": null, - "status": "Ready", - "subscription": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "elasticScaleEnabled": false, + "freeOfferExpirationTime": null, + "geoRegion": "Central US EUAP", "hostingEnvironmentProfile": { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-rg/providers/Microsoft.Web/hostingEnvironments/test-ase", "name": "test-ase", - "type": "Microsoft.Web/hostingEnvironments" + "type": "Microsoft.Web/hostingEnvironments", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-rg/providers/Microsoft.Web/hostingEnvironments/test-ase" }, - "maximumNumberOfWorkers": 100, - "geoRegion": "Central US EUAP", - "perSiteScaling": false, - "elasticScaleEnabled": false, + "hyperV": false, + "isSpot": false, + "isXenon": false, + "kubeEnvironmentProfile": null, "maximumElasticWorkerCount": 0, + "maximumNumberOfWorkers": 100, "numberOfSites": 0, - "isSpot": false, - "spotExpirationTime": null, - "freeOfferExpirationTime": null, - "resourceGroup": "test-rg", + "perSiteScaling": false, + "provisioningState": null, "reserved": false, - "isXenon": false, - "hyperV": false, + "resourceGroup": "test-rg", + "spotExpirationTime": null, + "status": "Ready", + "subscription": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", "targetWorkerCount": 1, "targetWorkerSizeId": 0, - "provisioningState": null, - "kubeEnvironmentProfile": null, + "workerTierName": null, "zoneRedundant": false }, "sku": { "name": "I1", - "tier": "Isolated", - "size": "I1", + "capacity": 0, "family": "I", - "capacity": 0 - } + "size": "I1", + "tier": "Isolated" + }, + "tags": {} } - ], - "nextLink": null - } + ] + }, + "headers": {} } - } + }, + "operationId": "AppServiceEnvironments_ListAppServicePlans", + "title": "Get all App Service plans in an App Service Environment." } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/AppServiceEnvironments_ListByResourceGroup.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/AppServiceEnvironments_ListByResourceGroup.json index 2fbf898a2cef..ef43e8a9e274 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/AppServiceEnvironments_ListByResourceGroup.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/AppServiceEnvironments_ListByResourceGroup.json @@ -1,68 +1,70 @@ { "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "api-version": "2025-03-01", "resourceGroupName": "test-rg", - "api-version": "2025-03-01" + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" }, "responses": { "200": { - "headers": {}, "body": { "value": [ { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-rg/providers/Microsoft.Web/hostingEnvironments/test-ase", "name": "test-ase", "type": "Microsoft.Web/hostingEnvironments", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-rg/providers/Microsoft.Web/hostingEnvironments/test-ase", "kind": "ASEV3", "location": "South Central US", - "tags": {}, "properties": { - "provisioningState": "Succeeded", - "status": "Ready", - "virtualNetwork": { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/test-subnet/subnets/delegated", - "name": "delegated", - "type": "Microsoft.Network/virtualNetworks/subnets", - "subnet": "" - }, - "internalLoadBalancingMode": "None", - "multiSize": "Standard_D2d_v4", - "multiRoleCount": null, - "ipsslAddressCount": 0, + "clusterSettings": null, + "dedicatedHostCount": 0, "dnsSuffix": "test-ase.p.azurewebsites.net", - "maximumNumberOfMachines": 250, "frontEndScaleFactor": 15, - "suspended": false, - "clusterSettings": null, - "userWhitelistedIpRanges": null, "hasLinuxWorkers": true, - "dedicatedHostCount": 0, - "zoneRedundant": false, + "internalLoadBalancingMode": "None", + "ipsslAddressCount": 0, + "maximumNumberOfMachines": 250, + "multiRoleCount": null, + "multiSize": "Standard_D2d_v4", "networkingConfiguration": { "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-rg/providers/Microsoft.Web/hostingEnvironments/test-ase/configurations/networking", "properties": { - "windowsOutboundIpAddresses": [ - "20.88.241.56", - "20.88.241.9" + "allowNewPrivateEndpointConnections": false, + "externalInboundIpAddresses": [ + "52.153.248.36" ], + "ftpEnabled": false, + "inboundIpAddressOverride": null, + "internalInboundIpAddresses": [], "linuxOutboundIpAddresses": [ "20.88.241.56", "20.88.241.9" ], - "externalInboundIpAddresses": [ - "52.153.248.36" - ], - "internalInboundIpAddresses": [], - "allowNewPrivateEndpointConnections": false, - "ftpEnabled": false, "remoteDebugEnabled": false, - "inboundIpAddressOverride": null + "windowsOutboundIpAddresses": [ + "20.88.241.56", + "20.88.241.9" + ] } - } - } + }, + "provisioningState": "Succeeded", + "status": "Ready", + "suspended": false, + "userWhitelistedIpRanges": null, + "virtualNetwork": { + "name": "delegated", + "type": "Microsoft.Network/virtualNetworks/subnets", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/test-subnet/subnets/delegated", + "subnet": "" + }, + "zoneRedundant": false + }, + "tags": {} } ] - } + }, + "headers": {} } - } + }, + "operationId": "AppServiceEnvironments_ListByResourceGroup", + "title": "Get all App Service Environments in a resource group." } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/AppServiceEnvironments_ListCapacities.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/AppServiceEnvironments_ListCapacities.json index 10bfb8e78ce7..4d16c35b687a 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/AppServiceEnvironments_ListCapacities.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/AppServiceEnvironments_ListCapacities.json @@ -1,57 +1,59 @@ { "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "test-rg", "name": "test-ase", - "api-version": "2025-03-01" + "api-version": "2025-03-01", + "resourceGroupName": "test-rg", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" }, "responses": { "200": { - "headers": {}, "body": { + "nextLink": null, "value": [ { "name": null, "availableCapacity": 0, - "totalCapacity": 1, - "unit": null, "computeMode": "Dedicated", - "workerSize": null, - "workerSizeId": 0, "excludeFromCapacityAllocation": false, "isApplicableForAllComputeModes": false, + "isLinux": false, "siteMode": null, - "isLinux": false + "totalCapacity": 1, + "unit": null, + "workerSize": null, + "workerSizeId": 0 }, { "name": null, "availableCapacity": 0, - "totalCapacity": 1, - "unit": null, "computeMode": "Dedicated", - "workerSize": null, - "workerSizeId": 1, "excludeFromCapacityAllocation": false, "isApplicableForAllComputeModes": false, + "isLinux": false, "siteMode": null, - "isLinux": false + "totalCapacity": 1, + "unit": null, + "workerSize": null, + "workerSizeId": 1 }, { "name": null, "availableCapacity": 0, - "totalCapacity": 1, - "unit": null, "computeMode": "Dedicated", - "workerSize": null, - "workerSizeId": 2, "excludeFromCapacityAllocation": false, "isApplicableForAllComputeModes": false, + "isLinux": false, "siteMode": null, - "isLinux": false + "totalCapacity": 1, + "unit": null, + "workerSize": null, + "workerSizeId": 2 } - ], - "nextLink": null - } + ] + }, + "headers": {} } - } + }, + "operationId": "AppServiceEnvironments_ListCapacities", + "title": "Get the used, available, and total worker capacity an App Service Environment." } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/AppServiceEnvironments_ListDiagnostics.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/AppServiceEnvironments_ListDiagnostics.json index ee60e51590a2..5c0e9b0e586b 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/AppServiceEnvironments_ListDiagnostics.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/AppServiceEnvironments_ListDiagnostics.json @@ -1,18 +1,20 @@ { "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "test-rg", "name": "test-ase", - "api-version": "2025-03-01" + "api-version": "2025-03-01", + "resourceGroupName": "test-rg", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" }, "responses": { "200": { - "headers": {}, "body": { - "value": [], + "id": null, "nextLink": null, - "id": null - } + "value": [] + }, + "headers": {} } - } + }, + "operationId": "AppServiceEnvironments_ListDiagnostics", + "title": "Get diagnostic information for an App Service Environment." } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/AppServiceEnvironments_ListMultiRoleMetricDefinitions.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/AppServiceEnvironments_ListMultiRoleMetricDefinitions.json index 69ca0011a1e4..76ab48033f6b 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/AppServiceEnvironments_ListMultiRoleMetricDefinitions.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/AppServiceEnvironments_ListMultiRoleMetricDefinitions.json @@ -1,14 +1,14 @@ { "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "test-rg", "name": "test-ase", - "api-version": "2025-03-01" + "api-version": "2025-03-01", + "resourceGroupName": "test-rg", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" }, "responses": { "200": { - "headers": {}, "body": { + "nextLink": null, "value": [ { "name": "CpuPercentage", @@ -34,9 +34,11 @@ "name": "BytesSent", "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-rg/providers/Microsoft.Web/hostingEnvironments/test-ase/metricdefinitions/BytesSent" } - ], - "nextLink": null - } + ] + }, + "headers": {} } - } + }, + "operationId": "AppServiceEnvironments_ListMultiRoleMetricDefinitions", + "title": "Get metric definitions for a multi-role pool of an App Service Environment." } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/AppServiceEnvironments_ListMultiRolePoolInstanceMetricDefinitions.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/AppServiceEnvironments_ListMultiRolePoolInstanceMetricDefinitions.json index 56ff4ddca025..5d1b25298055 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/AppServiceEnvironments_ListMultiRolePoolInstanceMetricDefinitions.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/AppServiceEnvironments_ListMultiRolePoolInstanceMetricDefinitions.json @@ -1,15 +1,15 @@ { "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "test-rg", "name": "test-ase", + "api-version": "2025-03-01", "instance": "10.7.1.8", - "api-version": "2025-03-01" + "resourceGroupName": "test-rg", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" }, "responses": { "200": { - "headers": {}, "body": { + "nextLink": null, "value": [ { "name": "CpuPercentage", @@ -35,9 +35,11 @@ "name": "BytesSent", "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-rg/providers/Microsoft.Web/hostingEnvironments/test-ase/metricdefinitions/BytesSent" } - ], - "nextLink": null - } + ] + }, + "headers": {} } - } + }, + "operationId": "AppServiceEnvironments_ListMultiRolePoolInstanceMetricDefinitions", + "title": "Get metric definitions for a specific instance of a multi-role pool of an App Service Environment." } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/AppServiceEnvironments_ListMultiRolePoolSkus.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/AppServiceEnvironments_ListMultiRolePoolSkus.json index 2a0de7e3fdb9..21ae501aa804 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/AppServiceEnvironments_ListMultiRolePoolSkus.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/AppServiceEnvironments_ListMultiRolePoolSkus.json @@ -1,158 +1,160 @@ { "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "test-rg", "name": "test-ase", - "api-version": "2025-03-01" + "api-version": "2025-03-01", + "resourceGroupName": "test-rg", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" }, "responses": { "200": { - "headers": {}, "body": { + "nextLink": null, "value": [ { + "capacity": { + "default": 2, + "elasticMaximum": null, + "maximum": 247, + "minimum": 2, + "scaleType": "automatic" + }, "resourceType": "Microsoft.Web/hostingEnvironments/multiRolePools", "sku": { "name": "S2", "tier": "Standard" - }, - "capacity": { - "minimum": 2, - "maximum": 247, - "default": 2, - "scaleType": "automatic", - "elasticMaximum": null } }, { + "capacity": { + "default": 2, + "elasticMaximum": null, + "maximum": 247, + "minimum": 2, + "scaleType": "automatic" + }, "resourceType": "Microsoft.Web/hostingEnvironments/multiRolePools", "sku": { "name": "S3", "tier": "Standard" - }, - "capacity": { - "minimum": 2, - "maximum": 247, - "default": 2, - "scaleType": "automatic", - "elasticMaximum": null } }, { + "capacity": { + "default": 2, + "elasticMaximum": null, + "maximum": 247, + "minimum": 2, + "scaleType": "automatic" + }, "resourceType": "Microsoft.Web/hostingEnvironments/multiRolePools", "sku": { "name": "S4", "tier": "Standard" - }, - "capacity": { - "minimum": 2, - "maximum": 247, - "default": 2, - "scaleType": "automatic", - "elasticMaximum": null } }, { + "capacity": { + "default": 2, + "elasticMaximum": null, + "maximum": 247, + "minimum": 2, + "scaleType": "automatic" + }, "resourceType": "Microsoft.Web/hostingEnvironments/multiRolePools", "sku": { "name": "O2", "tier": "Optimized" - }, - "capacity": { - "minimum": 2, - "maximum": 247, - "default": 2, - "scaleType": "automatic", - "elasticMaximum": null } }, { + "capacity": { + "default": 2, + "elasticMaximum": null, + "maximum": 247, + "minimum": 2, + "scaleType": "automatic" + }, "resourceType": "Microsoft.Web/hostingEnvironments/multiRolePools", "sku": { "name": "O3", "tier": "Optimized" - }, - "capacity": { - "minimum": 2, - "maximum": 247, - "default": 2, - "scaleType": "automatic", - "elasticMaximum": null } }, { + "capacity": { + "default": 2, + "elasticMaximum": null, + "maximum": 247, + "minimum": 2, + "scaleType": "automatic" + }, "resourceType": "Microsoft.Web/hostingEnvironments/multiRolePools", "sku": { "name": "O4", "tier": "Optimized" - }, - "capacity": { - "minimum": 2, - "maximum": 247, - "default": 2, - "scaleType": "automatic", - "elasticMaximum": null } }, { + "capacity": { + "default": 2, + "elasticMaximum": null, + "maximum": 247, + "minimum": 2, + "scaleType": "automatic" + }, "resourceType": "Microsoft.Web/hostingEnvironments/multiRolePools", "sku": { "name": "Q1", "tier": "Quantum" - }, - "capacity": { - "minimum": 2, - "maximum": 247, - "default": 2, - "scaleType": "automatic", - "elasticMaximum": null } }, { + "capacity": { + "default": 2, + "elasticMaximum": null, + "maximum": 247, + "minimum": 2, + "scaleType": "automatic" + }, "resourceType": "Microsoft.Web/hostingEnvironments/multiRolePools", "sku": { "name": "Q2", "tier": "Quantum" - }, - "capacity": { - "minimum": 2, - "maximum": 247, - "default": 2, - "scaleType": "automatic", - "elasticMaximum": null } }, { + "capacity": { + "default": 2, + "elasticMaximum": null, + "maximum": 247, + "minimum": 2, + "scaleType": "automatic" + }, "resourceType": "Microsoft.Web/hostingEnvironments/multiRolePools", "sku": { "name": "Q3", "tier": "Quantum" - }, - "capacity": { - "minimum": 2, - "maximum": 247, - "default": 2, - "scaleType": "automatic", - "elasticMaximum": null } }, { + "capacity": { + "default": 2, + "elasticMaximum": null, + "maximum": 247, + "minimum": 2, + "scaleType": "automatic" + }, "resourceType": "Microsoft.Web/hostingEnvironments/multiRolePools", "sku": { "name": "Q4", "tier": "Quantum" - }, - "capacity": { - "minimum": 2, - "maximum": 247, - "default": 2, - "scaleType": "automatic", - "elasticMaximum": null } } - ], - "nextLink": null - } + ] + }, + "headers": {} } - } + }, + "operationId": "AppServiceEnvironments_ListMultiRolePoolSkus", + "title": "Get available SKUs for scaling a multi-role pool." } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/AppServiceEnvironments_ListMultiRolePools.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/AppServiceEnvironments_ListMultiRolePools.json index f63a9f87beb9..397272f263f9 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/AppServiceEnvironments_ListMultiRolePools.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/AppServiceEnvironments_ListMultiRolePools.json @@ -1,38 +1,40 @@ { "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "test-rg", "name": "test-ase", - "api-version": "2025-03-01" + "api-version": "2025-03-01", + "resourceGroupName": "test-rg", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" }, "responses": { "200": { - "headers": {}, "body": { + "nextLink": null, "value": [ { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-rg/providers/Microsoft.Web/hostingEnvironments/test-ase/multiRolePools/default", "name": "default", "type": "Microsoft.Web/hostingEnvironments/multiRolePools", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-rg/providers/Microsoft.Web/hostingEnvironments/test-ase/multiRolePools/default", "properties": { - "workerSize": "Standard_D1_V2", - "workerCount": 2, "instanceNames": [ "10.7.1.8", "10.7.1.9" - ] + ], + "workerCount": 2, + "workerSize": "Standard_D1_V2" }, "sku": { "name": "Q1", - "tier": "Quantum", - "size": "Q1", + "capacity": 2, "family": "Q", - "capacity": 2 + "size": "Q1", + "tier": "Quantum" } } - ], - "nextLink": null - } + ] + }, + "headers": {} } - } + }, + "operationId": "AppServiceEnvironments_ListMultiRolePools", + "title": "Get all multi-role pools." } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/AppServiceEnvironments_ListMultiRoleUsages.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/AppServiceEnvironments_ListMultiRoleUsages.json index f17a14e1f08b..a0da727ad631 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/AppServiceEnvironments_ListMultiRoleUsages.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/AppServiceEnvironments_ListMultiRoleUsages.json @@ -1,17 +1,19 @@ { "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "test-rg", "name": "test-ase", - "api-version": "2025-03-01" + "api-version": "2025-03-01", + "resourceGroupName": "test-rg", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" }, "responses": { "200": { - "headers": {}, "body": { - "value": [], - "nextLink": null - } + "nextLink": null, + "value": [] + }, + "headers": {} } - } + }, + "operationId": "AppServiceEnvironments_ListMultiRoleUsages", + "title": "Get usage metrics for a multi-role pool of an App Service Environment." } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/AppServiceEnvironments_ListOperations.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/AppServiceEnvironments_ListOperations.json index 99018c4307e3..4ff072e4959d 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/AppServiceEnvironments_ListOperations.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/AppServiceEnvironments_ListOperations.json @@ -1,14 +1,16 @@ { "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "test-rg", "name": "test-ase", - "api-version": "2025-03-01" + "api-version": "2025-03-01", + "resourceGroupName": "test-rg", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" }, "responses": { "200": { - "headers": {}, - "body": [] + "body": [], + "headers": {} } - } + }, + "operationId": "AppServiceEnvironments_ListOperations", + "title": "List all currently running operations on the App Service Environment." } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/AppServiceEnvironments_ListUsages.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/AppServiceEnvironments_ListUsages.json index 537573343a32..86cea04b2109 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/AppServiceEnvironments_ListUsages.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/AppServiceEnvironments_ListUsages.json @@ -1,28 +1,30 @@ { "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "test-rg", "name": "test-ase", - "api-version": "2025-03-01" + "api-version": "2025-03-01", + "resourceGroupName": "test-rg", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" }, "responses": { "200": { - "headers": {}, "body": { + "nextLink": null, "value": [ { - "unit": "Bytes", - "nextResetTime": "9999-12-31T23:59:59.9999999Z", + "name": { + "localizedValue": "File System Storage", + "value": "FileSystemStorage" + }, "currentValue": 37888, "limit": 1099511627776, - "name": { - "value": "FileSystemStorage", - "localizedValue": "File System Storage" - } + "nextResetTime": "9999-12-31T23:59:59.9999999Z", + "unit": "Bytes" } - ], - "nextLink": null - } + ] + }, + "headers": {} } - } + }, + "operationId": "AppServiceEnvironments_ListUsages", + "title": "Get global usage metrics of an App Service Environment." } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/AppServiceEnvironments_ListWebApps.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/AppServiceEnvironments_ListWebApps.json index a5231702f060..7a8023ad48ac 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/AppServiceEnvironments_ListWebApps.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/AppServiceEnvironments_ListWebApps.json @@ -1,82 +1,84 @@ { "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "test-rg", "name": "test-ase", - "api-version": "2025-03-01" + "api-version": "2025-03-01", + "resourceGroupName": "test-rg", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" }, "responses": { "200": { - "headers": {}, "body": { + "nextLink": null, "value": [ { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-rg/providers/Microsoft.Web/sites/test-site", "name": "test-site", - "location": "Central US EUAP", "type": "Microsoft.Web/sites", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-rg/providers/Microsoft.Web/sites/test-site", + "location": "Central US EUAP", "properties": { - "state": "Running", - "hostNames": [ - "test-site.test-ase.p.azurewebsites.net" - ], - "repositorySiteName": "test-site", - "usageState": "Normal", + "availabilityState": "Normal", + "clientAffinityEnabled": true, + "clientCertEnabled": false, + "clientCertMode": "Required", + "containerSize": 0, + "customDomainVerificationId": "2982A67AD520FBCD070650FC77814FB03B62927C6EFCA2F5FF3BF5DC60088845", + "dailyMemoryTimeQuota": 0, + "defaultHostName": "test-site.test-ase.p.azurewebsites.net", "enabled": true, "enabledHostNames": [ "test-site.test-ase.p.azurewebsites.net", "test-site.scm.test-ase.p.azurewebsites.net" ], - "availabilityState": "Normal", "hostNameSslStates": [ { "name": "test-site.test-ase.p.azurewebsites.net", - "sslState": "Disabled", - "hostType": "Standard" + "hostType": "Standard", + "sslState": "Disabled" }, { "name": "test-site.scm.test-ase.p.azurewebsites.net", - "sslState": "Disabled", - "hostType": "Repository" + "hostType": "Repository", + "sslState": "Disabled" } ], - "serverFarmId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-rg/providers/Microsoft.Web/serverfarms/test-serverfarm", - "reserved": false, - "isXenon": false, - "hyperV": false, - "lastModifiedTimeUtc": "2022-04-08T20:41:04.1233333", - "siteConfig": { - "numberOfWorkers": 1, - "linuxFxVersion": "", - "functionAppScaleLimit": 0, - "minimumElasticInstanceCount": 0 - }, - "scmSiteAlsoStopped": false, + "hostNames": [ + "test-site.test-ase.p.azurewebsites.net" + ], + "hostNamesDisabled": false, "hostingEnvironmentProfile": { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-rg/providers/Microsoft.Web/hostingEnvironments/test-ase", "name": "test-ase", - "type": "Microsoft.Web/hostingEnvironments" + "type": "Microsoft.Web/hostingEnvironments", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-rg/providers/Microsoft.Web/hostingEnvironments/test-ase" }, - "clientAffinityEnabled": true, - "clientCertEnabled": false, - "clientCertMode": "Required", - "hostNamesDisabled": false, - "customDomainVerificationId": "2982A67AD520FBCD070650FC77814FB03B62927C6EFCA2F5FF3BF5DC60088845", + "httpsOnly": false, + "hyperV": false, + "isXenon": false, + "keyVaultReferenceIdentity": "SystemAssigned", + "lastModifiedTimeUtc": "2022-04-08T20:41:04.1233333", "outboundIpAddresses": "20.112.141.120", "possibleOutboundIpAddresses": "20.112.141.120", - "containerSize": 0, - "dailyMemoryTimeQuota": 0, - "resourceGroup": "test-rg", - "defaultHostName": "test-site.test-ase.p.azurewebsites.net", - "httpsOnly": false, "redundancyMode": "None", + "repositorySiteName": "test-site", + "reserved": false, + "resourceGroup": "test-rg", + "scmSiteAlsoStopped": false, + "serverFarmId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-rg/providers/Microsoft.Web/serverfarms/test-serverfarm", + "siteConfig": { + "functionAppScaleLimit": 0, + "linuxFxVersion": "", + "minimumElasticInstanceCount": 0, + "numberOfWorkers": 1 + }, + "state": "Running", "storageAccountRequired": false, - "keyVaultReferenceIdentity": "SystemAssigned" + "usageState": "Normal" } } - ], - "nextLink": null - } + ] + }, + "headers": {} } - } + }, + "operationId": "AppServiceEnvironments_ListWebApps", + "title": "Get all apps in an App Service Environment." } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/AppServiceEnvironments_ListWebWorkerMetricDefinitions.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/AppServiceEnvironments_ListWebWorkerMetricDefinitions.json index 08272c908b67..ba1c2c49f87f 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/AppServiceEnvironments_ListWebWorkerMetricDefinitions.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/AppServiceEnvironments_ListWebWorkerMetricDefinitions.json @@ -1,14 +1,13 @@ { "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "test-rg", "name": "test-ase", - "workerPoolName": "0", - "api-version": "2025-03-01" + "api-version": "2025-03-01", + "resourceGroupName": "test-rg", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "workerPoolName": "0" }, "responses": { "200": { - "headers": {}, "body": { "value": [ { @@ -32,7 +31,10 @@ "properties": null } ] - } + }, + "headers": {} } - } + }, + "operationId": "AppServiceEnvironments_ListWebWorkerMetricDefinitions", + "title": "Get metric definitions for a worker pool of an App Service Environment." } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/AppServiceEnvironments_ListWebWorkerUsages.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/AppServiceEnvironments_ListWebWorkerUsages.json index 7683e3db728c..c55349f95466 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/AppServiceEnvironments_ListWebWorkerUsages.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/AppServiceEnvironments_ListWebWorkerUsages.json @@ -1,18 +1,20 @@ { "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "test-rg", "name": "test-ase", - "workerPoolName": "0", - "api-version": "2025-03-01" + "api-version": "2025-03-01", + "resourceGroupName": "test-rg", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "workerPoolName": "0" }, "responses": { "200": { - "headers": {}, "body": { - "value": [], - "nextLink": null - } + "nextLink": null, + "value": [] + }, + "headers": {} } - } + }, + "operationId": "AppServiceEnvironments_ListWebWorkerUsages", + "title": "Get usage metrics for a worker pool of an App Service Environment." } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/AppServiceEnvironments_ListWorkerPoolInstanceMetricDefinitions.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/AppServiceEnvironments_ListWorkerPoolInstanceMetricDefinitions.json index 0a342dc7b0f4..cb0d7c2c37bb 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/AppServiceEnvironments_ListWorkerPoolInstanceMetricDefinitions.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/AppServiceEnvironments_ListWorkerPoolInstanceMetricDefinitions.json @@ -1,15 +1,14 @@ { "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "test-rg", "name": "test-ase", - "workerPoolName": "0", + "api-version": "2025-03-01", "instance": "10.8.0.7", - "api-version": "2025-03-01" + "resourceGroupName": "test-rg", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "workerPoolName": "0" }, "responses": { "200": { - "headers": {}, "body": { "value": [ { @@ -33,7 +32,10 @@ "properties": null } ] - } + }, + "headers": {} } - } + }, + "operationId": "AppServiceEnvironments_ListWorkerPoolInstanceMetricDefinitions", + "title": "Get metric definitions for a specific instance of a worker pool of an App Service Environment." } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/AppServiceEnvironments_ListWorkerPoolSkus.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/AppServiceEnvironments_ListWorkerPoolSkus.json index e0fc0cb6276f..ea787eaf5c92 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/AppServiceEnvironments_ListWorkerPoolSkus.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/AppServiceEnvironments_ListWorkerPoolSkus.json @@ -1,89 +1,91 @@ { "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "test-rg", "name": "test-ase", - "workerPoolName": "workerPool1", - "api-version": "2025-03-01" + "api-version": "2025-03-01", + "resourceGroupName": "test-rg", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "workerPoolName": "workerPool1" }, "responses": { "200": { - "headers": {}, "body": { + "nextLink": null, "value": [ { + "capacity": { + "default": 2, + "elasticMaximum": null, + "maximum": 53, + "minimum": 2, + "scaleType": "automatic" + }, "resourceType": "Microsoft.Web/hostingEnvironments/workerPools", "sku": { "name": "S1", "tier": "Standard" - }, - "capacity": { - "minimum": 2, - "maximum": 53, - "default": 2, - "scaleType": "automatic", - "elasticMaximum": null } }, { + "capacity": { + "default": 2, + "elasticMaximum": null, + "maximum": 53, + "minimum": 2, + "scaleType": "automatic" + }, "resourceType": "Microsoft.Web/hostingEnvironments/workerPools", "sku": { "name": "S2", "tier": "Standard" - }, - "capacity": { - "minimum": 2, - "maximum": 53, - "default": 2, - "scaleType": "automatic", - "elasticMaximum": null } }, { + "capacity": { + "default": 2, + "elasticMaximum": null, + "maximum": 53, + "minimum": 2, + "scaleType": "automatic" + }, "resourceType": "Microsoft.Web/hostingEnvironments/workerPools", "sku": { "name": "S3", "tier": "Standard" - }, - "capacity": { - "minimum": 2, - "maximum": 53, - "default": 2, - "scaleType": "automatic", - "elasticMaximum": null } }, { + "capacity": { + "default": 2, + "elasticMaximum": null, + "maximum": 53, + "minimum": 2, + "scaleType": "automatic" + }, "resourceType": "Microsoft.Web/hostingEnvironments/workerPools", "sku": { "name": "S4", "tier": "Standard" - }, - "capacity": { - "minimum": 2, - "maximum": 53, - "default": 2, - "scaleType": "automatic", - "elasticMaximum": null } }, { + "capacity": { + "default": 2, + "elasticMaximum": null, + "maximum": 53, + "minimum": 2, + "scaleType": "automatic" + }, "resourceType": "Microsoft.Web/hostingEnvironments/workerPools", "sku": { "name": "O1", "tier": "Optimized" - }, - "capacity": { - "minimum": 2, - "maximum": 53, - "default": 2, - "scaleType": "automatic", - "elasticMaximum": null } } - ], - "nextLink": null - } + ] + }, + "headers": {} } - } + }, + "operationId": "AppServiceEnvironments_ListWorkerPoolSkus", + "title": "Get available SKUs for scaling a worker pool." } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/AppServiceEnvironments_ListWorkerPools.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/AppServiceEnvironments_ListWorkerPools.json index 1d36a4701380..e6635aea3822 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/AppServiceEnvironments_ListWorkerPools.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/AppServiceEnvironments_ListWorkerPools.json @@ -1,54 +1,56 @@ { "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "test-rg", "name": "test-ase", - "api-version": "2025-03-01" + "api-version": "2025-03-01", + "resourceGroupName": "test-rg", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" }, "responses": { "200": { - "headers": {}, "body": { + "nextLink": null, "value": [ { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-rg/providers/Microsoft.Web/hostingEnvironments/test-ase/workerPools/workerPool1", "name": "workerPool1", "type": "Microsoft.Web/hostingEnvironments/workerPools", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-rg/providers/Microsoft.Web/hostingEnvironments/test-ase/workerPools/workerPool1", "kind": "ASEV1", "properties": { - "workerSizeId": 0, - "workerSize": "Small", + "instanceNames": [], "workerCount": 2, - "instanceNames": [] + "workerSize": "Small", + "workerSizeId": 0 } }, { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-rg/providers/Microsoft.Web/hostingEnvironments/test-ase/workerPools/workerPool2", "name": "workerPool2", "type": "Microsoft.Web/hostingEnvironments/workerPools", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-rg/providers/Microsoft.Web/hostingEnvironments/test-ase/workerPools/workerPool2", "kind": "ASEV1", "properties": { - "workerSizeId": 1, - "workerSize": "Small", + "instanceNames": [], "workerCount": 0, - "instanceNames": [] + "workerSize": "Small", + "workerSizeId": 1 } }, { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-rg/providers/Microsoft.Web/hostingEnvironments/test-ase/workerPools/workerPool3", "name": "workerPool3", "type": "Microsoft.Web/hostingEnvironments/workerPools", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-rg/providers/Microsoft.Web/hostingEnvironments/test-ase/workerPools/workerPool3", "kind": "ASEV1", "properties": { - "workerSizeId": 2, - "workerSize": "Small", + "instanceNames": [], "workerCount": 0, - "instanceNames": [] + "workerSize": "Small", + "workerSizeId": 2 } } - ], - "nextLink": null - } + ] + }, + "headers": {} } - } + }, + "operationId": "AppServiceEnvironments_ListWorkerPools", + "title": "Get all worker pools of an App Service Environment." } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/AppServiceEnvironments_Reboot.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/AppServiceEnvironments_Reboot.json index bade78fe64fd..76dc4ab1c480 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/AppServiceEnvironments_Reboot.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/AppServiceEnvironments_Reboot.json @@ -1,13 +1,15 @@ { "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "test-rg", "name": "test-ase", - "api-version": "2025-03-01" + "api-version": "2025-03-01", + "resourceGroupName": "test-rg", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" }, "responses": { "202": { "headers": {} } - } + }, + "operationId": "AppServiceEnvironments_Reboot", + "title": "Reboot all machines in an App Service Environment." } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/AppServiceEnvironments_Resume.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/AppServiceEnvironments_Resume.json index 38d249f3e2db..eadb75ad7ab9 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/AppServiceEnvironments_Resume.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/AppServiceEnvironments_Resume.json @@ -1,25 +1,27 @@ { "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "test-rg", "name": "test-ase", - "api-version": "2025-03-01" + "api-version": "2025-03-01", + "resourceGroupName": "test-rg", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" }, "responses": { - "202": { - "headers": { - "x-ms-routing-request-id": "NORTHCENTRALUS:20220408T212612Z:79bd0bce-5524-4fd1-ada0-1d8c86263d17", - "Location": "https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-rg/providers/Microsoft.Web/hostingEnvironments/test-ase/operations/f6a27306-3ee3-4e6b-997d-3ba2024b85e6?api-version=2019-08-01" - }, + "200": { "body": { "value": [] - } + }, + "headers": {} }, - "200": { - "headers": {}, + "202": { "body": { "value": [] + }, + "headers": { + "Location": "https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-rg/providers/Microsoft.Web/hostingEnvironments/test-ase/operations/f6a27306-3ee3-4e6b-997d-3ba2024b85e6?api-version=2019-08-01", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220408T212612Z:79bd0bce-5524-4fd1-ada0-1d8c86263d17" } } - } + }, + "operationId": "AppServiceEnvironments_Resume", + "title": "Resume an App Service Environment." } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/AppServiceEnvironments_Suspend.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/AppServiceEnvironments_Suspend.json index 38d249f3e2db..2f90ab92f9cd 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/AppServiceEnvironments_Suspend.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/AppServiceEnvironments_Suspend.json @@ -1,25 +1,27 @@ { "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "test-rg", "name": "test-ase", - "api-version": "2025-03-01" + "api-version": "2025-03-01", + "resourceGroupName": "test-rg", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" }, "responses": { - "202": { - "headers": { - "x-ms-routing-request-id": "NORTHCENTRALUS:20220408T212612Z:79bd0bce-5524-4fd1-ada0-1d8c86263d17", - "Location": "https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-rg/providers/Microsoft.Web/hostingEnvironments/test-ase/operations/f6a27306-3ee3-4e6b-997d-3ba2024b85e6?api-version=2019-08-01" - }, + "200": { "body": { "value": [] - } + }, + "headers": {} }, - "200": { - "headers": {}, + "202": { "body": { "value": [] + }, + "headers": { + "Location": "https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-rg/providers/Microsoft.Web/hostingEnvironments/test-ase/operations/f6a27306-3ee3-4e6b-997d-3ba2024b85e6?api-version=2019-08-01", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220408T212612Z:79bd0bce-5524-4fd1-ada0-1d8c86263d17" } } - } + }, + "operationId": "AppServiceEnvironments_Suspend", + "title": "Suspend an App Service Environment." } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/AppServiceEnvironments_TestUpgradeAvailableNotification.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/AppServiceEnvironments_TestUpgradeAvailableNotification.json index 09dd9adccff1..54ca9b2cee37 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/AppServiceEnvironments_TestUpgradeAvailableNotification.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/AppServiceEnvironments_TestUpgradeAvailableNotification.json @@ -1,13 +1,15 @@ { "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "rg", "name": "SampleHostingEnvironment", - "api-version": "2025-03-01" + "api-version": "2025-03-01", + "resourceGroupName": "rg", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" }, "responses": { "200": { "headers": {} } - } + }, + "operationId": "AppServiceEnvironments_TestUpgradeAvailableNotification", + "title": "Send a test notification that an upgrade is available for this App Service Environment" } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/AppServiceEnvironments_Update.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/AppServiceEnvironments_Update.json index bd604d3dad46..ef6695b4b8c5 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/AppServiceEnvironments_Update.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/AppServiceEnvironments_Update.json @@ -1,7 +1,5 @@ { "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "test-rg", "name": "test-ase", "api-version": "2025-03-01", "hostingEnvironmentEnvelope": { @@ -11,173 +9,177 @@ "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/test-subnet/subnets/delegated" } } - } + }, + "resourceGroupName": "test-rg", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" }, "responses": { "200": { - "headers": {}, "body": { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-rg/providers/Microsoft.Web/hostingEnvironments/test-ase", "name": "test-ase", "type": "Microsoft.Web/hostingEnvironments", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-rg/providers/Microsoft.Web/hostingEnvironments/test-ase", "kind": "ASEV3", "location": "South Central US", - "tags": {}, "properties": { - "provisioningState": "Succeeded", - "status": "Ready", - "virtualNetwork": { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/test-subnet/subnets/delegated", - "name": "delegated", - "type": "Microsoft.Network/virtualNetworks/subnets", - "subnet": "" - }, - "internalLoadBalancingMode": "None", - "multiSize": "Standard_D2d_v4", - "multiRoleCount": null, - "ipsslAddressCount": 0, + "clusterSettings": null, + "dedicatedHostCount": 0, "dnsSuffix": "test-ase.p.azurewebsites.net", - "maximumNumberOfMachines": 250, "frontEndScaleFactor": 15, - "suspended": false, - "clusterSettings": null, - "userWhitelistedIpRanges": null, "hasLinuxWorkers": true, - "dedicatedHostCount": 0, - "zoneRedundant": false, + "internalLoadBalancingMode": "None", + "ipsslAddressCount": 0, + "maximumNumberOfMachines": 250, + "multiRoleCount": null, + "multiSize": "Standard_D2d_v4", "networkingConfiguration": { "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-rg/providers/Microsoft.Web/hostingEnvironments/test-ase/configurations/networking", "properties": { - "windowsOutboundIpAddresses": [ - "20.88.241.56", - "20.88.241.9" + "allowNewPrivateEndpointConnections": false, + "externalInboundIpAddresses": [ + "52.153.248.36" ], + "ftpEnabled": false, + "inboundIpAddressOverride": null, + "internalInboundIpAddresses": [], "linuxOutboundIpAddresses": [ "20.88.241.56", "20.88.241.9" ], - "externalInboundIpAddresses": [ - "52.153.248.36" - ], - "internalInboundIpAddresses": [], - "allowNewPrivateEndpointConnections": false, - "ftpEnabled": false, "remoteDebugEnabled": false, - "inboundIpAddressOverride": null + "windowsOutboundIpAddresses": [ + "20.88.241.56", + "20.88.241.9" + ] } - } - } - } + }, + "provisioningState": "Succeeded", + "status": "Ready", + "suspended": false, + "userWhitelistedIpRanges": null, + "virtualNetwork": { + "name": "delegated", + "type": "Microsoft.Network/virtualNetworks/subnets", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/test-subnet/subnets/delegated", + "subnet": "" + }, + "zoneRedundant": false + }, + "tags": {} + }, + "headers": {} }, "201": { - "headers": {}, "body": { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-rg/providers/Microsoft.Web/hostingEnvironments/test-ase", "name": "test-ase", "type": "Microsoft.Web/hostingEnvironments", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-rg/providers/Microsoft.Web/hostingEnvironments/test-ase", "kind": "ASEV3", "location": "South Central US", - "tags": {}, "properties": { - "provisioningState": "Succeeded", - "status": "Ready", - "virtualNetwork": { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/test-subnet/subnets/delegated", - "name": "delegated", - "type": "Microsoft.Network/virtualNetworks/subnets", - "subnet": "" - }, - "internalLoadBalancingMode": "None", - "multiSize": "Standard_D2d_v4", - "multiRoleCount": null, - "ipsslAddressCount": 0, + "clusterSettings": null, + "dedicatedHostCount": 0, "dnsSuffix": "test-ase.p.azurewebsites.net", - "maximumNumberOfMachines": 250, "frontEndScaleFactor": 15, - "suspended": false, - "clusterSettings": null, - "userWhitelistedIpRanges": null, "hasLinuxWorkers": true, - "dedicatedHostCount": 0, - "zoneRedundant": false, + "internalLoadBalancingMode": "None", + "ipsslAddressCount": 0, + "maximumNumberOfMachines": 250, + "multiRoleCount": null, + "multiSize": "Standard_D2d_v4", "networkingConfiguration": { "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-rg/providers/Microsoft.Web/hostingEnvironments/test-ase/configurations/networking", "properties": { - "windowsOutboundIpAddresses": [ - "20.88.241.56", - "20.88.241.9" + "allowNewPrivateEndpointConnections": false, + "externalInboundIpAddresses": [ + "52.153.248.36" ], + "ftpEnabled": false, + "inboundIpAddressOverride": null, + "internalInboundIpAddresses": [], "linuxOutboundIpAddresses": [ "20.88.241.56", "20.88.241.9" ], - "externalInboundIpAddresses": [ - "52.153.248.36" - ], - "internalInboundIpAddresses": [], - "allowNewPrivateEndpointConnections": false, - "ftpEnabled": false, "remoteDebugEnabled": false, - "inboundIpAddressOverride": null + "windowsOutboundIpAddresses": [ + "20.88.241.56", + "20.88.241.9" + ] } - } - } - } + }, + "provisioningState": "Succeeded", + "status": "Ready", + "suspended": false, + "userWhitelistedIpRanges": null, + "virtualNetwork": { + "name": "delegated", + "type": "Microsoft.Network/virtualNetworks/subnets", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/test-subnet/subnets/delegated", + "subnet": "" + }, + "zoneRedundant": false + }, + "tags": {} + }, + "headers": {} }, "202": { - "headers": {}, "body": { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-rg/providers/Microsoft.Web/hostingEnvironments/test-ase", "name": "test-ase", "type": "Microsoft.Web/hostingEnvironments", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-rg/providers/Microsoft.Web/hostingEnvironments/test-ase", "kind": "ASEV3", "location": "South Central US", - "tags": {}, "properties": { - "provisioningState": "Succeeded", - "status": "Ready", - "virtualNetwork": { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/test-subnet/subnets/delegated", - "name": "delegated", - "type": "Microsoft.Network/virtualNetworks/subnets", - "subnet": "" - }, - "internalLoadBalancingMode": "None", - "multiSize": "Standard_D2d_v4", - "multiRoleCount": null, - "ipsslAddressCount": 0, + "clusterSettings": null, + "dedicatedHostCount": 0, "dnsSuffix": "test-ase.p.azurewebsites.net", - "maximumNumberOfMachines": 250, "frontEndScaleFactor": 15, - "suspended": false, - "clusterSettings": null, - "userWhitelistedIpRanges": null, "hasLinuxWorkers": true, - "dedicatedHostCount": 0, - "zoneRedundant": false, + "internalLoadBalancingMode": "None", + "ipsslAddressCount": 0, + "maximumNumberOfMachines": 250, + "multiRoleCount": null, + "multiSize": "Standard_D2d_v4", "networkingConfiguration": { "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-rg/providers/Microsoft.Web/hostingEnvironments/test-ase/configurations/networking", "properties": { - "windowsOutboundIpAddresses": [ - "20.88.241.56", - "20.88.241.9" + "allowNewPrivateEndpointConnections": false, + "externalInboundIpAddresses": [ + "52.153.248.36" ], + "ftpEnabled": false, + "inboundIpAddressOverride": null, + "internalInboundIpAddresses": [], "linuxOutboundIpAddresses": [ "20.88.241.56", "20.88.241.9" ], - "externalInboundIpAddresses": [ - "52.153.248.36" - ], - "internalInboundIpAddresses": [], - "allowNewPrivateEndpointConnections": false, - "ftpEnabled": false, "remoteDebugEnabled": false, - "inboundIpAddressOverride": null + "windowsOutboundIpAddresses": [ + "20.88.241.56", + "20.88.241.9" + ] } - } - } - } + }, + "provisioningState": "Succeeded", + "status": "Ready", + "suspended": false, + "userWhitelistedIpRanges": null, + "virtualNetwork": { + "name": "delegated", + "type": "Microsoft.Network/virtualNetworks/subnets", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/test-subnet/subnets/delegated", + "subnet": "" + }, + "zoneRedundant": false + }, + "tags": {} + }, + "headers": {} } - } + }, + "operationId": "AppServiceEnvironments_Update", + "title": "Create or update an App Service Environment." } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/AppServiceEnvironments_UpdateAseNetworkingConfiguration.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/AppServiceEnvironments_UpdateAseNetworkingConfiguration.json index 975b1146f2a2..4786a1b8062e 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/AppServiceEnvironments_UpdateAseNetworkingConfiguration.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/AppServiceEnvironments_UpdateAseNetworkingConfiguration.json @@ -1,7 +1,5 @@ { "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "test-rg", "name": "test-ase", "api-version": "2025-03-01", "aseNetworkingConfiguration": { @@ -9,34 +7,38 @@ "ftpEnabled": true, "remoteDebugEnabled": true } - } + }, + "resourceGroupName": "test-rg", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" }, "responses": { "200": { - "headers": {}, "body": { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-rg/providers/Microsoft.Web/hostingEnvironments/test-ase/configurations/networking", "name": "networking", "type": "Microsoft.Web/hostingEnvironments/configurations/networking", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-rg/providers/Microsoft.Web/hostingEnvironments/test-ase/configurations/networking", "properties": { - "windowsOutboundIpAddresses": [ - "20.88.241.56", - "20.88.241.9" + "allowNewPrivateEndpointConnections": false, + "externalInboundIpAddresses": [ + "52.153.248.36" ], + "ftpEnabled": true, + "inboundIpAddressOverride": null, + "internalInboundIpAddresses": [], "linuxOutboundIpAddresses": [ "20.88.241.56", "20.88.241.9" ], - "externalInboundIpAddresses": [ - "52.153.248.36" - ], - "internalInboundIpAddresses": [], - "allowNewPrivateEndpointConnections": false, - "ftpEnabled": true, "remoteDebugEnabled": true, - "inboundIpAddressOverride": null + "windowsOutboundIpAddresses": [ + "20.88.241.56", + "20.88.241.9" + ] } - } + }, + "headers": {} } - } + }, + "operationId": "AppServiceEnvironments_UpdateAseNetworkingConfiguration", + "title": "Update networking configuration of an App Service Environment." } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/AppServiceEnvironments_Upgrade.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/AppServiceEnvironments_Upgrade.json index b99f9d0eb816..ee6d5c1a9e50 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/AppServiceEnvironments_Upgrade.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/AppServiceEnvironments_Upgrade.json @@ -1,9 +1,9 @@ { "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "rg", "name": "SampleHostingEnvironment", - "api-version": "2025-03-01" + "api-version": "2025-03-01", + "resourceGroupName": "rg", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" }, "responses": { "202": { @@ -11,5 +11,7 @@ "azure-asyncoperation": "https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/providers/Microsoft.Web/locations/westus2/operationResults/62e4d893-d233-4005-988e-a428d9f77076?api-version=2019-01-01" } } - } + }, + "operationId": "AppServiceEnvironments_Upgrade", + "title": "Initiate an upgrade on an App Service Environment" } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/ApplySlotConfig.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/ApplySlotConfig.json index aae2a0348485..064a99e11f8b 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/ApplySlotConfig.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/ApplySlotConfig.json @@ -1,17 +1,19 @@ { "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "testrg123", "name": "sitef6141", "api-version": "2025-03-01", + "resourceGroupName": "testrg123", "slotSwapEntity": { - "targetSlot": "staging", - "preserveVnet": true - } + "preserveVnet": true, + "targetSlot": "staging" + }, + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" }, "responses": { "200": { "headers": {} } - } + }, + "operationId": "WebApps_ApplySlotConfigToProduction", + "title": "Apply web app slot config" } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/ApproveRejectSitePrivateEndpointConnection.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/ApproveRejectSitePrivateEndpointConnection.json index 45f0b270c8cb..d5c413c5ebb3 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/ApproveRejectSitePrivateEndpointConnection.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/ApproveRejectSitePrivateEndpointConnection.json @@ -1,60 +1,62 @@ { "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "rg", "name": "testSite", - "privateEndpointConnectionName": "connection", "api-version": "2025-03-01", + "privateEndpointConnectionName": "connection", "privateEndpointWrapper": { "properties": { "privateLinkServiceConnectionState": { - "status": "Approved", "description": "Approved by admin.", - "actionsRequired": "" + "actionsRequired": "", + "status": "Approved" } } - } + }, + "resourceGroupName": "rg", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" }, "responses": { "200": { - "headers": {}, "body": { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/sites/testSite/privateEndpointConnections/connection", "name": "connection", "type": "Microsoft.Web/sites/privateEndpointConnections", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/sites/testSite/privateEndpointConnections/connection", "properties": { - "provisioningState": "Succeeded", "privateEndpoint": { "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Network/privateEndpoints/myPrivateEndpoint" }, "privateLinkServiceConnectionState": { - "status": "Approved", "description": "Approved by admin.", - "actionsRequired": "" - } + "actionsRequired": "", + "status": "Approved" + }, + "provisioningState": "Succeeded" } - } + }, + "headers": {} }, "202": { - "headers": { - "azure-asyncoperation": "https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/providers/Microsoft.Web/locations/westus2/operationResults/62e4d893-d233-4005-988e-a428d9f77076?api-version=2019-01-01" - }, "body": { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/sites/testSite/privateEndpointConnections/connection", "name": "connection", "type": "Microsoft.Web/sites/privateEndpointConnections", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/sites/testSite/privateEndpointConnections/connection", "properties": { - "provisioningState": "Succeeded", "privateEndpoint": { "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Network/privateEndpoints/myPrivateEndpoint" }, "privateLinkServiceConnectionState": { - "status": "Approved", "description": "Approved by admin.", - "actionsRequired": "" - } + "actionsRequired": "", + "status": "Approved" + }, + "provisioningState": "Succeeded" } + }, + "headers": { + "azure-asyncoperation": "https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/providers/Microsoft.Web/locations/westus2/operationResults/62e4d893-d233-4005-988e-a428d9f77076?api-version=2019-01-01" } } - } + }, + "operationId": "WebApps_ApproveOrRejectPrivateEndpointConnection", + "title": "Approves or rejects a private endpoint connection for a site." } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/ApproveRejectSitePrivateEndpointConnectionSlot.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/ApproveRejectSitePrivateEndpointConnectionSlot.json index 8967b4728312..c4657f9becc4 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/ApproveRejectSitePrivateEndpointConnectionSlot.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/ApproveRejectSitePrivateEndpointConnectionSlot.json @@ -1,61 +1,63 @@ { "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "rg", "name": "testSite", - "slot": "stage", - "privateEndpointConnectionName": "connection", "api-version": "2025-03-01", + "privateEndpointConnectionName": "connection", "privateEndpointWrapper": { "properties": { "privateLinkServiceConnectionState": { - "status": "Approved", "description": "Approved by admin.", - "actionsRequired": "" + "actionsRequired": "", + "status": "Approved" } } - } + }, + "resourceGroupName": "rg", + "slot": "stage", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" }, "responses": { "200": { - "headers": {}, "body": { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/sites/testSite/slots/stage/privateEndpointConnections/connection", "name": "connection", "type": "Microsoft.Web/sites/privateEndpointConnections", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/sites/testSite/slots/stage/privateEndpointConnections/connection", "properties": { - "provisioningState": "Succeeded", "privateEndpoint": { "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Network/privateEndpoints/myPrivateEndpoint" }, "privateLinkServiceConnectionState": { - "status": "Approved", "description": "Approved by admin.", - "actionsRequired": "" - } + "actionsRequired": "", + "status": "Approved" + }, + "provisioningState": "Succeeded" } - } + }, + "headers": {} }, "202": { - "headers": { - "azure-asyncoperation": "https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/providers/Microsoft.Web/locations/westus2/operationResults/62e4d893-d233-4005-988e-a428d9f77076?api-version=2019-01-01" - }, "body": { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/sites/testSite/slots/stage/privateEndpointConnections/connection", "name": "connection", "type": "Microsoft.Web/sites/privateEndpointConnections", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/sites/testSite/slots/stage/privateEndpointConnections/connection", "properties": { - "provisioningState": "Succeeded", "privateEndpoint": { "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Network/privateEndpoints/myPrivateEndpoint" }, "privateLinkServiceConnectionState": { - "status": "Approved", "description": "Approved by admin.", - "actionsRequired": "" - } + "actionsRequired": "", + "status": "Approved" + }, + "provisioningState": "Succeeded" } + }, + "headers": { + "azure-asyncoperation": "https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/providers/Microsoft.Web/locations/westus2/operationResults/62e4d893-d233-4005-988e-a428d9f77076?api-version=2019-01-01" } } - } + }, + "operationId": "WebApps_ApproveOrRejectPrivateEndpointConnectionSlot", + "title": "Approves or rejects a private endpoint connection for a site." } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/ApproveRejectSitePrivateEndpointConnection_StaticSites.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/ApproveRejectSitePrivateEndpointConnection_StaticSites.json new file mode 100644 index 000000000000..5ffa61928891 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/ApproveRejectSitePrivateEndpointConnection_StaticSites.json @@ -0,0 +1,62 @@ +{ + "parameters": { + "name": "testSite", + "api-version": "2025-03-01", + "privateEndpointConnectionName": "connection", + "privateEndpointWrapper": { + "properties": { + "privateLinkServiceConnectionState": { + "description": "Approved by admin.", + "actionsRequired": "", + "status": "Approved" + } + } + }, + "resourceGroupName": "rg", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": { + "name": "connection", + "type": "Microsoft.Web/sites/privateEndpointConnections", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/sites/testSite/privateEndpointConnections/connection", + "properties": { + "privateEndpoint": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Network/privateEndpoints/myPrivateEndpoint" + }, + "privateLinkServiceConnectionState": { + "description": "Approved by admin.", + "actionsRequired": "", + "status": "Approved" + }, + "provisioningState": "Succeeded" + } + }, + "headers": {} + }, + "202": { + "body": { + "name": "connection", + "type": "Microsoft.Web/sites/privateEndpointConnections", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/sites/testSite/privateEndpointConnections/connection", + "properties": { + "privateEndpoint": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Network/privateEndpoints/myPrivateEndpoint" + }, + "privateLinkServiceConnectionState": { + "description": "Approved by admin.", + "actionsRequired": "", + "status": "Approved" + }, + "provisioningState": "Succeeded" + } + }, + "headers": { + "azure-asyncoperation": "https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/providers/Microsoft.Web/locations/westus2/operationResults/62e4d893-d233-4005-988e-a428d9f77076?api-version=2019-01-01" + } + } + }, + "operationId": "StaticSites_ApproveOrRejectPrivateEndpointConnection", + "title": "Approves or rejects a private endpoint connection for a site." +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/BackupWebApp.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/BackupWebApp.json index 2a116dcfa7ad..a56e4481f8e9 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/BackupWebApp.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/BackupWebApp.json @@ -1,74 +1,76 @@ { "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "testrg123", "name": "sitef6141", "api-version": "2025-03-01", + "resourceGroupName": "testrg123", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", "request": { "properties": { - "storageAccountUrl": "DefaultEndpointsProtocol=https;AccountName=storagesample;AccountKey=", "backupName": "abcdwe", - "enabled": true, + "backupSchedule": { + "frequencyInterval": 7, + "frequencyUnit": "Day", + "keepAtLeastOneBackup": true, + "retentionPeriodInDays": 30, + "startTime": "2022-09-02T17:33:11.641Z" + }, "databases": [ { - "databaseType": "SqlAzure", "name": "backenddb", + "connectionString": "DSN=data-source-name[;SERVER=value] [;PWD=value] [;UID=value] [;=]", "connectionStringName": "backend", - "connectionString": "DSN=data-source-name[;SERVER=value] [;PWD=value] [;UID=value] [;=]" + "databaseType": "SqlAzure" }, { - "databaseType": "SqlAzure", "name": "statsdb", + "connectionString": "DSN=data-source-name[;SERVER=value] [;PWD=value] [;UID=value] [;=]", "connectionStringName": "stats", - "connectionString": "DSN=data-source-name[;SERVER=value] [;PWD=value] [;UID=value] [;=]" + "databaseType": "SqlAzure" } ], - "backupSchedule": { - "frequencyInterval": 7, - "frequencyUnit": "Day", - "keepAtLeastOneBackup": true, - "retentionPeriodInDays": 30, - "startTime": "2022-09-02T17:33:11.641Z" - } + "enabled": true, + "storageAccountUrl": "DefaultEndpointsProtocol=https;AccountName=storagesample;AccountKey=" } } }, "responses": { "200": { - "headers": {}, "body": { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/sitef6141", "name": "sitef6141", "type": "Microsoft.Web/sites", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/sitef6141", "properties": { - "id": 12345, - "storageAccountUrl": "DefaultEndpointsProtocol=https;AccountName=storagesample;AccountKey=", - "blobName": "sitef6141_2025-03-01", - "name": "sitef6141_2025-03-01", - "status": "InProgress", - "sizeInBytes": 56091883, + "name": "sitef6141_2024-11-01", + "blobName": "sitef6141_2024-11-01", "created": "2022-09-03T17:33:11.641Z", - "log": "Succeeded", "databases": [ { - "databaseType": "SqlAzure", "name": "backenddb", + "connectionString": "DSN=data-source-name[;SERVER=value] [;PWD=value] [;UID=value] [;=]", "connectionStringName": "backend", - "connectionString": "DSN=data-source-name[;SERVER=value] [;PWD=value] [;UID=value] [;=]" + "databaseType": "SqlAzure" }, { - "databaseType": "SqlAzure", "name": "statsdb", + "connectionString": "DSN=data-source-name[;SERVER=value] [;PWD=value] [;UID=value] [;=]", "connectionStringName": "stats", - "connectionString": "DSN=data-source-name[;SERVER=value] [;PWD=value] [;UID=value] [;=]" + "databaseType": "SqlAzure" } ], - "scheduled": true, - "lastRestoreTimeStamp": "2022-09-04T17:33:11.641Z", "finishedTimeStamp": "2022-09-02T17:33:11.641Z", + "id": 12345, + "lastRestoreTimeStamp": "2022-09-04T17:33:11.641Z", + "log": "Succeeded", + "scheduled": true, + "sizeInBytes": 56091883, + "status": "InProgress", + "storageAccountUrl": "DefaultEndpointsProtocol=https;AccountName=storagesample;AccountKey=", "websiteSizeInBytes": 56091883 } - } + }, + "headers": {} } - } + }, + "operationId": "WebApps_Backup", + "title": "Backup web app" } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/CloneWebApp.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/CloneWebApp.json index 4b55289108e1..587e37aeb025 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/CloneWebApp.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/CloneWebApp.json @@ -1,77 +1,93 @@ { "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "testrg123", "name": "sitef6141", "api-version": "2025-03-01", + "resourceGroupName": "testrg123", "siteEnvelope": { "kind": "app", "location": "East US", "properties": { "cloningInfo": { - "cloneCustomHostNames": true, - "cloneSourceControl": true, - "sourceWebAppId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg456/providers/Microsoft.Web/sites/srcsiteg478", - "sourceWebAppLocation": "West Europe", - "hostingEnvironment": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg456/providers/Microsoft.Web/hostingenvironments/aseforsites", "appSettingsOverrides": { "Setting1": "NewValue1", "Setting3": "NewValue5" }, + "cloneCustomHostNames": true, + "cloneSourceControl": true, "configureLoadBalancing": false, - "overwrite": false + "hostingEnvironment": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg456/providers/Microsoft.Web/hostingenvironments/aseforsites", + "overwrite": false, + "sourceWebAppId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg456/providers/Microsoft.Web/sites/srcsiteg478", + "sourceWebAppLocation": "West Europe" } } - } + }, + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" }, "responses": { "200": { - "headers": {}, "body": { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/sitef6141", "name": "sitef6141", "type": "Microsoft.Web/sites", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/sitef6141", "kind": "app", "location": "East US", "properties": { - "state": "Running", - "hostNames": [ - "sitef6141.azurewebsites.net" - ], - "repositorySiteName": "sitef6141", - "usageState": "Normal", + "availabilityState": "Normal", + "clientAffinityEnabled": true, + "clientCertEnabled": false, + "clientCertMode": "Required", + "containerSize": 0, + "customDomainVerificationId": "7F3BB652450EF7AD0B6AA33064586E4A9CE823A46DF0B2EC6443A68086E84153", + "dailyMemoryTimeQuota": 0, + "defaultHostName": "sitef6141.azurewebsites.net", "enabled": true, "enabledHostNames": [ "sitef6141.azurewebsites.net", "sitef6141.scm.azurewebsites.net" ], - "availabilityState": "Normal", "hostNameSslStates": [ { "name": "sitef6141.azurewebsites.net", - "sslState": "Disabled", - "hostType": "Standard" + "hostType": "Standard", + "sslState": "Disabled" }, { "name": "sitef6141.scm.azurewebsites.net", - "sslState": "Disabled", - "hostType": "Repository" + "hostType": "Repository", + "sslState": "Disabled" } ], - "serverFarmId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/serverfarms/DefaultAsp", - "reserved": false, - "isXenon": false, + "hostNames": [ + "sitef6141.azurewebsites.net" + ], + "hostNamesDisabled": false, + "httpsOnly": false, "hyperV": false, + "isXenon": false, + "keyVaultReferenceIdentity": "SystemAssigned", "lastModifiedTimeUtc": "2020-03-04T17:33:11.641Z", + "outboundIpAddresses": "70.37.102.201,20.225.43.144", "outboundVnetRouting": { "allTraffic": false, "applicationTraffic": false, + "backupRestoreTraffic": false, "contentShareTraffic": false, - "imagePullTraffic": false, - "backupRestoreTraffic": false + "imagePullTraffic": false }, + "possibleOutboundIpAddresses": "70.37.102.201,20.225.43.144,20.225.184.122,20.225.184.188", + "redundancyMode": "None", + "repositorySiteName": "sitef6141", + "reserved": false, + "resourceGroup": "testrg123", + "scmSiteAlsoStopped": false, + "serverFarmId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/serverfarms/DefaultAsp", "siteConfig": { - "numberOfWorkers": 1, + "acrUseManagedIdentityCreds": false, + "alwaysOn": false, + "appCommandLine": "", + "autoHealEnabled": false, + "azureStorageAccounts": {}, "defaultDocuments": [ "Default.htm", "Default.html", @@ -83,112 +99,110 @@ "index.php", "hostingstart.html" ], + "detailedErrorLoggingEnabled": false, + "ftpsState": "AllAllowed", + "functionAppScaleLimit": 0, + "functionsRuntimeScaleMonitoringEnabled": false, + "http20Enabled": false, + "httpLoggingEnabled": false, + "linuxFxVersion": "", + "loadBalancing": "LeastRequests", + "logsDirectorySizeLimit": 35, + "managedPipelineMode": "Integrated", + "minTlsVersion": "1.2", + "minimumElasticInstanceCount": 0, "netFrameworkVersion": "v4.0", - "phpVersion": "5.6", - "pythonVersion": "", "nodeVersion": "", + "numberOfWorkers": 1, + "phpVersion": "5.6", "powerShellVersion": "", - "linuxFxVersion": "", - "requestTracingEnabled": false, + "pythonVersion": "", "remoteDebuggingEnabled": false, - "httpLoggingEnabled": false, - "acrUseManagedIdentityCreds": false, - "logsDirectorySizeLimit": 35, - "detailedErrorLoggingEnabled": false, + "requestTracingEnabled": false, + "scmMinTlsVersion": "1.2", "use32BitWorkerProcess": true, - "webSocketsEnabled": false, - "alwaysOn": false, - "appCommandLine": "", - "managedPipelineMode": "Integrated", "virtualApplications": [ { - "virtualPath": "/", "physicalPath": "site\\wwwroot", - "preloadEnabled": false + "preloadEnabled": false, + "virtualPath": "/" } ], - "loadBalancing": "LeastRequests", - "autoHealEnabled": false, "vnetName": "", - "vnetRouteAllEnabled": false, "vnetPrivatePortsCount": 0, - "http20Enabled": false, - "minTlsVersion": "1.2", - "scmMinTlsVersion": "1.2", - "ftpsState": "AllAllowed", - "functionAppScaleLimit": 0, - "functionsRuntimeScaleMonitoringEnabled": false, - "minimumElasticInstanceCount": 0, - "azureStorageAccounts": {} + "vnetRouteAllEnabled": false, + "webSocketsEnabled": false }, - "scmSiteAlsoStopped": false, - "clientAffinityEnabled": true, - "clientCertEnabled": false, - "clientCertMode": "Required", - "hostNamesDisabled": false, - "customDomainVerificationId": "7F3BB652450EF7AD0B6AA33064586E4A9CE823A46DF0B2EC6443A68086E84153", - "outboundIpAddresses": "70.37.102.201,20.225.43.144", - "possibleOutboundIpAddresses": "70.37.102.201,20.225.43.144,20.225.184.122,20.225.184.188", - "containerSize": 0, - "dailyMemoryTimeQuota": 0, - "resourceGroup": "testrg123", - "defaultHostName": "sitef6141.azurewebsites.net", - "httpsOnly": false, - "redundancyMode": "None", + "state": "Running", "storageAccountRequired": false, - "keyVaultReferenceIdentity": "SystemAssigned" + "usageState": "Normal" } - } + }, + "headers": {} }, "202": { - "headers": { - "azure-asyncoperation": "https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/providers/Microsoft.Web/sites/sitef6141/operationResults/62e4d893-d233-4005-988e-a428d9f77076?api-version=2025-03-01" - }, "body": { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/sitef6141", "name": "sitef6141", "type": "Microsoft.Web/sites", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/sitef6141", "kind": "app", "location": "East US", "properties": { - "state": "Running", - "hostNames": [ - "sitef6141.azurewebsites.net" - ], - "repositorySiteName": "sitef6141", - "usageState": "Normal", + "availabilityState": "Normal", + "clientAffinityEnabled": true, + "clientCertEnabled": false, + "clientCertMode": "Required", + "containerSize": 0, + "customDomainVerificationId": "7F3BB652450EF7AD0B6AA33064586E4A9CE823A46DF0B2EC6443A68086E84153", + "dailyMemoryTimeQuota": 0, + "defaultHostName": "sitef6141.azurewebsites.net", "enabled": true, "enabledHostNames": [ "sitef6141.azurewebsites.net", "sitef6141.scm.azurewebsites.net" ], - "availabilityState": "Normal", "hostNameSslStates": [ { "name": "sitef6141.azurewebsites.net", - "sslState": "Disabled", - "hostType": "Standard" + "hostType": "Standard", + "sslState": "Disabled" }, { "name": "sitef6141.scm.azurewebsites.net", - "sslState": "Disabled", - "hostType": "Repository" + "hostType": "Repository", + "sslState": "Disabled" } ], - "serverFarmId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/serverfarms/DefaultAsp", - "reserved": false, - "isXenon": false, + "hostNames": [ + "sitef6141.azurewebsites.net" + ], + "hostNamesDisabled": false, + "httpsOnly": false, "hyperV": false, + "isXenon": false, + "keyVaultReferenceIdentity": "SystemAssigned", "lastModifiedTimeUtc": "2020-03-04T17:33:11.641Z", + "outboundIpAddresses": "70.37.102.201,20.225.43.144", "outboundVnetRouting": { "allTraffic": false, "applicationTraffic": false, + "backupRestoreTraffic": false, "contentShareTraffic": false, - "imagePullTraffic": false, - "backupRestoreTraffic": false + "imagePullTraffic": false }, + "possibleOutboundIpAddresses": "70.37.102.201,20.225.43.144,20.225.184.122,20.225.184.188", + "redundancyMode": "None", + "repositorySiteName": "sitef6141", + "reserved": false, + "resourceGroup": "testrg123", + "scmSiteAlsoStopped": false, + "serverFarmId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/serverfarms/DefaultAsp", "siteConfig": { - "numberOfWorkers": 1, + "acrUseManagedIdentityCreds": false, + "alwaysOn": false, + "appCommandLine": "", + "autoHealEnabled": false, + "azureStorageAccounts": {}, "defaultDocuments": [ "Default.htm", "Default.html", @@ -200,62 +214,50 @@ "index.php", "hostingstart.html" ], + "detailedErrorLoggingEnabled": false, + "ftpsState": "AllAllowed", + "functionAppScaleLimit": 0, + "functionsRuntimeScaleMonitoringEnabled": false, + "http20Enabled": false, + "httpLoggingEnabled": false, + "linuxFxVersion": "", + "loadBalancing": "LeastRequests", + "logsDirectorySizeLimit": 35, + "managedPipelineMode": "Integrated", + "minTlsVersion": "1.2", + "minimumElasticInstanceCount": 0, "netFrameworkVersion": "v4.0", - "phpVersion": "5.6", - "pythonVersion": "", "nodeVersion": "", + "numberOfWorkers": 1, + "phpVersion": "5.6", "powerShellVersion": "", - "linuxFxVersion": "", - "requestTracingEnabled": false, + "pythonVersion": "", "remoteDebuggingEnabled": false, - "httpLoggingEnabled": false, - "acrUseManagedIdentityCreds": false, - "logsDirectorySizeLimit": 35, - "detailedErrorLoggingEnabled": false, + "requestTracingEnabled": false, + "scmMinTlsVersion": "1.2", "use32BitWorkerProcess": true, - "webSocketsEnabled": false, - "alwaysOn": false, - "appCommandLine": "", - "managedPipelineMode": "Integrated", "virtualApplications": [ { - "virtualPath": "/", "physicalPath": "site\\wwwroot", - "preloadEnabled": false + "preloadEnabled": false, + "virtualPath": "/" } ], - "loadBalancing": "LeastRequests", - "autoHealEnabled": false, "vnetName": "", - "vnetRouteAllEnabled": false, "vnetPrivatePortsCount": 0, - "http20Enabled": false, - "minTlsVersion": "1.2", - "scmMinTlsVersion": "1.2", - "ftpsState": "AllAllowed", - "functionAppScaleLimit": 0, - "functionsRuntimeScaleMonitoringEnabled": false, - "minimumElasticInstanceCount": 0, - "azureStorageAccounts": {} + "vnetRouteAllEnabled": false, + "webSocketsEnabled": false }, - "scmSiteAlsoStopped": false, - "clientAffinityEnabled": true, - "clientCertEnabled": false, - "clientCertMode": "Required", - "hostNamesDisabled": false, - "customDomainVerificationId": "7F3BB652450EF7AD0B6AA33064586E4A9CE823A46DF0B2EC6443A68086E84153", - "outboundIpAddresses": "70.37.102.201,20.225.43.144", - "possibleOutboundIpAddresses": "70.37.102.201,20.225.43.144,20.225.184.122,20.225.184.188", - "containerSize": 0, - "dailyMemoryTimeQuota": 0, - "resourceGroup": "testrg123", - "defaultHostName": "sitef6141.azurewebsites.net", - "httpsOnly": false, - "redundancyMode": "None", + "state": "Running", "storageAccountRequired": false, - "keyVaultReferenceIdentity": "SystemAssigned" + "usageState": "Normal" } + }, + "headers": { + "azure-asyncoperation": "https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/providers/Microsoft.Web/sites/sitef6141/operationResults/62e4d893-d233-4005-988e-a428d9f77076?api-version=2025-03-01" } } - } + }, + "operationId": "WebApps_CreateOrUpdate", + "title": "Clone web app" } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/CloneWebAppSlot.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/CloneWebAppSlot.json index 951aaf201131..9007668316fb 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/CloneWebAppSlot.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/CloneWebAppSlot.json @@ -1,78 +1,94 @@ { "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "testrg123", "name": "sitef6141", - "slot": "staging", "api-version": "2025-03-01", + "resourceGroupName": "testrg123", "siteEnvelope": { "kind": "app", "location": "East US", "properties": { "cloningInfo": { - "cloneCustomHostNames": true, - "cloneSourceControl": true, - "sourceWebAppId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg456/providers/Microsoft.Web/sites/srcsiteg478/slot/qa", - "sourceWebAppLocation": "West Europe", - "hostingEnvironment": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg456/providers/Microsoft.Web/hostingenvironments/aseforsites", "appSettingsOverrides": { "Setting1": "NewValue1", "Setting3": "NewValue5" }, + "cloneCustomHostNames": true, + "cloneSourceControl": true, "configureLoadBalancing": false, - "overwrite": false + "hostingEnvironment": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg456/providers/Microsoft.Web/hostingenvironments/aseforsites", + "overwrite": false, + "sourceWebAppId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg456/providers/Microsoft.Web/sites/srcsiteg478/slot/qa", + "sourceWebAppLocation": "West Europe" } } - } + }, + "slot": "staging", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" }, "responses": { "200": { - "headers": {}, "body": { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/sitef6141/slots/staging", "name": "sitef6141/staging", "type": "Microsoft.Web/sites/slots", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/sitef6141/slots/staging", "kind": "app", "location": "East US", "properties": { - "state": "Running", - "hostNames": [ - "sitef6141-staging.azurewebsites.net" - ], - "repositorySiteName": "sitef6141", - "usageState": "Normal", + "availabilityState": "Normal", + "clientAffinityEnabled": true, + "clientCertEnabled": false, + "clientCertMode": "Required", + "containerSize": 0, + "customDomainVerificationId": "7F3BB652450EF7AD0B6AA33064586E4A9CE823A46DF0B2EC6443A68086E84153", + "dailyMemoryTimeQuota": 0, + "defaultHostName": "sitef6141-staging.azurewebsites.net", "enabled": true, "enabledHostNames": [ "sitef6141-staging.azurewebsites.net", "sitef6141-staging.scm.azurewebsites.net" ], - "availabilityState": "Normal", "hostNameSslStates": [ { "name": "sitef6141-staging.azurewebsites.net", - "sslState": "Disabled", - "hostType": "Standard" + "hostType": "Standard", + "sslState": "Disabled" }, { "name": "sitef6141-staging.scm.azurewebsites.net", - "sslState": "Disabled", - "hostType": "Repository" + "hostType": "Repository", + "sslState": "Disabled" } ], - "serverFarmId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/serverfarms/DefaultAsp", - "reserved": false, - "isXenon": false, + "hostNames": [ + "sitef6141-staging.azurewebsites.net" + ], + "hostNamesDisabled": false, + "httpsOnly": false, "hyperV": false, + "isXenon": false, + "keyVaultReferenceIdentity": "SystemAssigned", "lastModifiedTimeUtc": "2020-03-04T17:33:11.641Z", + "outboundIpAddresses": "70.37.102.201,20.225.43.144", "outboundVnetRouting": { "allTraffic": false, "applicationTraffic": false, + "backupRestoreTraffic": false, "contentShareTraffic": false, - "imagePullTraffic": false, - "backupRestoreTraffic": false + "imagePullTraffic": false }, + "possibleOutboundIpAddresses": "70.37.102.201,20.225.43.144,20.225.184.122,20.225.184.188", + "redundancyMode": "None", + "repositorySiteName": "sitef6141", + "reserved": false, + "resourceGroup": "testrg123", + "scmSiteAlsoStopped": false, + "serverFarmId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/serverfarms/DefaultAsp", "siteConfig": { - "numberOfWorkers": 1, + "acrUseManagedIdentityCreds": false, + "alwaysOn": false, + "appCommandLine": "", + "autoHealEnabled": false, + "azureStorageAccounts": {}, "defaultDocuments": [ "Default.htm", "Default.html", @@ -84,112 +100,110 @@ "index.php", "hostingstart.html" ], + "detailedErrorLoggingEnabled": false, + "ftpsState": "AllAllowed", + "functionAppScaleLimit": 0, + "functionsRuntimeScaleMonitoringEnabled": false, + "http20Enabled": false, + "httpLoggingEnabled": false, + "linuxFxVersion": "", + "loadBalancing": "LeastRequests", + "logsDirectorySizeLimit": 35, + "managedPipelineMode": "Integrated", + "minTlsVersion": "1.2", + "minimumElasticInstanceCount": 0, "netFrameworkVersion": "v4.0", - "phpVersion": "5.6", - "pythonVersion": "", "nodeVersion": "", + "numberOfWorkers": 1, + "phpVersion": "5.6", "powerShellVersion": "", - "linuxFxVersion": "", - "requestTracingEnabled": false, + "pythonVersion": "", "remoteDebuggingEnabled": false, - "httpLoggingEnabled": false, - "acrUseManagedIdentityCreds": false, - "logsDirectorySizeLimit": 35, - "detailedErrorLoggingEnabled": false, + "requestTracingEnabled": false, + "scmMinTlsVersion": "1.2", "use32BitWorkerProcess": true, - "webSocketsEnabled": false, - "alwaysOn": false, - "appCommandLine": "", - "managedPipelineMode": "Integrated", "virtualApplications": [ { - "virtualPath": "/", "physicalPath": "site\\wwwroot", - "preloadEnabled": false + "preloadEnabled": false, + "virtualPath": "/" } ], - "loadBalancing": "LeastRequests", - "autoHealEnabled": false, "vnetName": "", - "vnetRouteAllEnabled": false, "vnetPrivatePortsCount": 0, - "http20Enabled": false, - "minTlsVersion": "1.2", - "scmMinTlsVersion": "1.2", - "ftpsState": "AllAllowed", - "functionAppScaleLimit": 0, - "functionsRuntimeScaleMonitoringEnabled": false, - "minimumElasticInstanceCount": 0, - "azureStorageAccounts": {} + "vnetRouteAllEnabled": false, + "webSocketsEnabled": false }, - "scmSiteAlsoStopped": false, - "clientAffinityEnabled": true, - "clientCertEnabled": false, - "clientCertMode": "Required", - "hostNamesDisabled": false, - "customDomainVerificationId": "7F3BB652450EF7AD0B6AA33064586E4A9CE823A46DF0B2EC6443A68086E84153", - "outboundIpAddresses": "70.37.102.201,20.225.43.144", - "possibleOutboundIpAddresses": "70.37.102.201,20.225.43.144,20.225.184.122,20.225.184.188", - "containerSize": 0, - "dailyMemoryTimeQuota": 0, - "resourceGroup": "testrg123", - "defaultHostName": "sitef6141-staging.azurewebsites.net", - "httpsOnly": false, - "redundancyMode": "None", + "state": "Running", "storageAccountRequired": false, - "keyVaultReferenceIdentity": "SystemAssigned" + "usageState": "Normal" } - } + }, + "headers": {} }, "202": { - "headers": { - "azure-asyncoperation": "https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/providers/Microsoft.Web/sites/sitef6141/operationResults/62e4d893-d233-4005-988e-a428d9f77076?api-version=2025-03-01" - }, "body": { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/sitef6141/slots/staging", "name": "sitef6141/staging", "type": "Microsoft.Web/sites/slots", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/sitef6141/slots/staging", "kind": "app", "location": "East US", "properties": { - "state": "Running", - "hostNames": [ - "sitef6141-staging.azurewebsites.net" - ], - "repositorySiteName": "sitef6141", - "usageState": "Normal", + "availabilityState": "Normal", + "clientAffinityEnabled": true, + "clientCertEnabled": false, + "clientCertMode": "Required", + "containerSize": 0, + "customDomainVerificationId": "7F3BB652450EF7AD0B6AA33064586E4A9CE823A46DF0B2EC6443A68086E84153", + "dailyMemoryTimeQuota": 0, + "defaultHostName": "sitef6141-staging.azurewebsites.net", "enabled": true, "enabledHostNames": [ "sitef6141-staging.azurewebsites.net", "sitef6141-staging.scm.azurewebsites.net" ], - "availabilityState": "Normal", "hostNameSslStates": [ { "name": "sitef6141-staging.azurewebsites.net", - "sslState": "Disabled", - "hostType": "Standard" + "hostType": "Standard", + "sslState": "Disabled" }, { "name": "sitef6141-staging.scm.azurewebsites.net", - "sslState": "Disabled", - "hostType": "Repository" + "hostType": "Repository", + "sslState": "Disabled" } ], - "serverFarmId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/serverfarms/DefaultAsp", - "reserved": false, - "isXenon": false, + "hostNames": [ + "sitef6141-staging.azurewebsites.net" + ], + "hostNamesDisabled": false, + "httpsOnly": false, "hyperV": false, + "isXenon": false, + "keyVaultReferenceIdentity": "SystemAssigned", "lastModifiedTimeUtc": "2020-03-04T17:33:11.641Z", + "outboundIpAddresses": "70.37.102.201,20.225.43.144", "outboundVnetRouting": { "allTraffic": false, "applicationTraffic": false, + "backupRestoreTraffic": false, "contentShareTraffic": false, - "imagePullTraffic": false, - "backupRestoreTraffic": false + "imagePullTraffic": false }, + "possibleOutboundIpAddresses": "70.37.102.201,20.225.43.144,20.225.184.122,20.225.184.188", + "redundancyMode": "None", + "repositorySiteName": "sitef6141", + "reserved": false, + "resourceGroup": "testrg123", + "scmSiteAlsoStopped": false, + "serverFarmId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/serverfarms/DefaultAsp", "siteConfig": { - "numberOfWorkers": 1, + "acrUseManagedIdentityCreds": false, + "alwaysOn": false, + "appCommandLine": "", + "autoHealEnabled": false, + "azureStorageAccounts": {}, "defaultDocuments": [ "Default.htm", "Default.html", @@ -201,62 +215,50 @@ "index.php", "hostingstart.html" ], + "detailedErrorLoggingEnabled": false, + "ftpsState": "AllAllowed", + "functionAppScaleLimit": 0, + "functionsRuntimeScaleMonitoringEnabled": false, + "http20Enabled": false, + "httpLoggingEnabled": false, + "linuxFxVersion": "", + "loadBalancing": "LeastRequests", + "logsDirectorySizeLimit": 35, + "managedPipelineMode": "Integrated", + "minTlsVersion": "1.2", + "minimumElasticInstanceCount": 0, "netFrameworkVersion": "v4.0", - "phpVersion": "5.6", - "pythonVersion": "", "nodeVersion": "", + "numberOfWorkers": 1, + "phpVersion": "5.6", "powerShellVersion": "", - "linuxFxVersion": "", - "requestTracingEnabled": false, + "pythonVersion": "", "remoteDebuggingEnabled": false, - "httpLoggingEnabled": false, - "acrUseManagedIdentityCreds": false, - "logsDirectorySizeLimit": 35, - "detailedErrorLoggingEnabled": false, + "requestTracingEnabled": false, + "scmMinTlsVersion": "1.2", "use32BitWorkerProcess": true, - "webSocketsEnabled": false, - "alwaysOn": false, - "appCommandLine": "", - "managedPipelineMode": "Integrated", "virtualApplications": [ { - "virtualPath": "/", "physicalPath": "site\\wwwroot", - "preloadEnabled": false + "preloadEnabled": false, + "virtualPath": "/" } ], - "loadBalancing": "LeastRequests", - "autoHealEnabled": false, "vnetName": "", - "vnetRouteAllEnabled": false, "vnetPrivatePortsCount": 0, - "http20Enabled": false, - "minTlsVersion": "1.2", - "scmMinTlsVersion": "1.2", - "ftpsState": "AllAllowed", - "functionAppScaleLimit": 0, - "functionsRuntimeScaleMonitoringEnabled": false, - "minimumElasticInstanceCount": 0, - "azureStorageAccounts": {} + "vnetRouteAllEnabled": false, + "webSocketsEnabled": false }, - "scmSiteAlsoStopped": false, - "clientAffinityEnabled": true, - "clientCertEnabled": false, - "clientCertMode": "Required", - "hostNamesDisabled": false, - "customDomainVerificationId": "7F3BB652450EF7AD0B6AA33064586E4A9CE823A46DF0B2EC6443A68086E84153", - "outboundIpAddresses": "70.37.102.201,20.225.43.144", - "possibleOutboundIpAddresses": "70.37.102.201,20.225.43.144,20.225.184.122,20.225.184.188", - "containerSize": 0, - "dailyMemoryTimeQuota": 0, - "resourceGroup": "testrg123", - "defaultHostName": "sitef6141-staging.azurewebsites.net", - "httpsOnly": false, - "redundancyMode": "None", + "state": "Running", "storageAccountRequired": false, - "keyVaultReferenceIdentity": "SystemAssigned" + "usageState": "Normal" } + }, + "headers": { + "azure-asyncoperation": "https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/providers/Microsoft.Web/sites/sitef6141/operationResults/62e4d893-d233-4005-988e-a428d9f77076?api-version=2025-03-01" } } - } + }, + "operationId": "WebApps_CreateOrUpdateSlot", + "title": "Clone web app slot" } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/CreateOrUpdateAppServicePlan.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/CreateOrUpdateAppServicePlan.json index 18e5f2e0cec3..c0595a33aa24 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/CreateOrUpdateAppServicePlan.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/CreateOrUpdateAppServicePlan.json @@ -1,7 +1,5 @@ { "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "testrg123", "name": "testsf6141", "api-version": "2025-03-01", "appServicePlan": { @@ -10,73 +8,77 @@ "properties": {}, "sku": { "name": "P1", - "tier": "Premium", - "size": "P1", + "capacity": 1, "family": "P", - "capacity": 1 + "size": "P1", + "tier": "Premium" } - } + }, + "resourceGroupName": "testrg123", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" }, "responses": { "200": { - "headers": {}, "body": { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/serverfarms/testsf6141", "name": "testsf6141", "type": "Microsoft.Web/serverfarms", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/serverfarms/testsf6141", "kind": "app", "location": "East US", "properties": { - "status": "Ready", - "maximumNumberOfWorkers": 20, + "asyncScalingEnabled": false, "geoRegion": "East US", + "maximumNumberOfWorkers": 20, "numberOfSites": 4, + "provisioningState": "Succeeded", "reserved": false, + "status": "Ready", "targetWorkerCount": 0, - "targetWorkerSizeId": 0, - "provisioningState": "Succeeded", - "asyncScalingEnabled": false + "targetWorkerSizeId": 0 }, "sku": { "name": "P1", - "tier": "Premium", - "size": "P1", + "capacity": 1, "family": "P", - "capacity": 1 + "size": "P1", + "tier": "Premium" } - } + }, + "headers": {} }, "202": { - "headers": { - "location": "https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/serverfarms/testsf6141/operationresults/F0C6B8EC-0D53-432C-913B-1CD9E8CDE3A0", - "azure-asyncoperation": "https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/serverfarms/testsf6141/operationresults/F0C6B8EC-0D53-432C-913B-1CD9E8CDE3A0" - }, "body": { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/serverfarms/testsf6141", "name": "testsf6141", "type": "Microsoft.Web/serverfarms", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/serverfarms/testsf6141", "kind": "app", "location": "East US", "properties": { - "status": "Ready", - "maximumNumberOfWorkers": 20, + "asyncScalingEnabled": true, "geoRegion": "East US", - "numberOfSites": 4, "isSpot": false, + "maximumNumberOfWorkers": 20, + "numberOfSites": 4, + "provisioningState": "Succeeded", "reserved": false, + "status": "Ready", "targetWorkerCount": 0, - "targetWorkerSizeId": 0, - "provisioningState": "Succeeded", - "asyncScalingEnabled": true + "targetWorkerSizeId": 0 }, "sku": { "name": "P1", - "tier": "Premium", - "size": "P1", + "capacity": 1, "family": "P", - "capacity": 1 + "size": "P1", + "tier": "Premium" } + }, + "headers": { + "azure-asyncoperation": "https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/serverfarms/testsf6141/operationresults/F0C6B8EC-0D53-432C-913B-1CD9E8CDE3A0", + "location": "https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/serverfarms/testsf6141/operationresults/F0C6B8EC-0D53-432C-913B-1CD9E8CDE3A0" } } - } + }, + "operationId": "AppServicePlans_CreateOrUpdate", + "title": "Create Or Update App Service plan" } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/CreateOrUpdateCertificate.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/CreateOrUpdateCertificate.json index fbcb5d035bef..a31dc1d85bc8 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/CreateOrUpdateCertificate.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/CreateOrUpdateCertificate.json @@ -1,7 +1,5 @@ { "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "testrg123", "name": "testc6282", "api-version": "2025-03-01", "certificateEnvelope": { @@ -12,28 +10,32 @@ ], "password": "" } - } + }, + "resourceGroupName": "testrg123", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" }, "responses": { "200": { - "headers": {}, "body": { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/certificates/testc6282", "name": "testc6282", "type": "Microsoft.Web/certificates", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/certificates/testc6282", "location": "East US", "properties": { + "expirationDate": "2039-12-31T23:59:59+00:00", "friendlyName": "", - "subjectName": "ServerCert", "hostNames": [ "ServerCert" ], - "issuer": "CACert", "issueDate": "2015-11-12T23:40:25+00:00", - "expirationDate": "2039-12-31T23:59:59+00:00", + "issuer": "CACert", + "subjectName": "ServerCert", "thumbprint": "FE703D7411A44163B6D32B3AD9B03E175886EBFE" } - } + }, + "headers": {} } - } + }, + "operationId": "Certificates_CreateOrUpdate", + "title": "Create Or Update Certificate" } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/CreateOrUpdateFunctionAppFlexConsumption.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/CreateOrUpdateFunctionAppFlexConsumption.json index 796c2e3fad69..f3ab15b2c17f 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/CreateOrUpdateFunctionAppFlexConsumption.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/CreateOrUpdateFunctionAppFlexConsumption.json @@ -1,34 +1,21 @@ { "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "testrg123", "name": "sitef6141", "api-version": "2025-03-01", + "resourceGroupName": "testrg123", "siteEnvelope": { - "location": "East US", "kind": "functionapp,linux", + "location": "East US", "properties": { - "siteConfig": { - "appSettings": [ - { - "name": "AzureWebJobsStorage", - "value": "DefaultEndpointsProtocol=https;AccountName=StorageAccountName;AccountKey=Sanitized;EndpointSuffix=core.windows.net" - }, - { - "name": "APPLICATIONINSIGHTS_CONNECTION_STRING", - "value": "InstrumentationKey=Sanitized;IngestionEndpoint=Sanitized;LiveEndpoint=Sanitized" - } - ] - }, "functionAppConfig": { "deployment": { "storage": { "type": "blobContainer", - "value": "https://storageAccountName.blob.core.windows.net/containername", "authentication": { "type": "StorageAccountConnectionString", "storageAccountConnectionStringName": "TheAppSettingName" - } + }, + "value": "https://storageAccountName.blob.core.windows.net/containername" } }, "runtime": { @@ -36,126 +23,199 @@ "version": "3.11" }, "scaleAndConcurrency": { - "maximumInstanceCount": 100, - "instanceMemoryMB": 2048 + "instanceMemoryMB": 2048, + "maximumInstanceCount": 100 } + }, + "siteConfig": { + "appSettings": [ + { + "name": "AzureWebJobsStorage", + "value": "DefaultEndpointsProtocol=https;AccountName=StorageAccountName;AccountKey=Sanitized;EndpointSuffix=core.windows.net" + }, + { + "name": "APPLICATIONINSIGHTS_CONNECTION_STRING", + "value": "InstrumentationKey=Sanitized;IngestionEndpoint=Sanitized;LiveEndpoint=Sanitized" + } + ] } } - } + }, + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" }, "responses": { "200": { - "headers": {}, "body": { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/sitef6141", "name": "sitef6141", "type": "Microsoft.Web/sites", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/sitef6141", "location": "East US", "properties": { - "state": "Running", - "hostNames": [ - "sitef6141.azurewebsites.net" - ], - "repositorySiteName": "sitef6141", - "usageState": "Normal", + "availabilityState": "Normal", + "clientAffinityEnabled": false, + "clientCertEnabled": false, + "containerSize": 2048, + "dailyMemoryTimeQuota": 0, + "defaultHostName": "sitef6141.azurewebsites.net", "enabled": true, "enabledHostNames": [ "sitef6141.azurewebsites.net", "sitef6141.scm.azurewebsites.net" ], - "availabilityState": "Normal", + "functionAppConfig": { + "deployment": { + "storage": { + "type": "blobContainer", + "authentication": { + "type": "StorageAccountConnectionString", + "storageAccountConnectionStringName": "TheAppSettingName" + }, + "value": "https://storageAccountName.blob.core.windows.net/containername" + } + }, + "runtime": { + "name": "python", + "version": "3.11" + }, + "scaleAndConcurrency": { + "alwaysReady": null, + "instanceMemoryMB": 2048, + "maximumInstanceCount": 100, + "triggers": null + } + }, "hostNameSslStates": [ { "name": "sitef6141.azurewebsites.net", - "sslState": "Disabled", - "hostType": "Standard" + "hostType": "Standard", + "sslState": "Disabled" }, { "name": "sitef6141.scm.azurewebsites.net", - "sslState": "Disabled", - "hostType": "Repository" + "hostType": "Repository", + "sslState": "Disabled" } ], - "serverFarmId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/serverfarms/DefaultAsp", - "reserved": null, - "isXenon": false, + "hostNames": [ + "sitef6141.azurewebsites.net" + ], + "httpsOnly": true, "hyperV": false, + "isXenon": false, "lastModifiedTimeUtc": "2024-01-09T00:24:54.8", + "outboundIpAddresses": "70.37.102.201,20.225.43.144", "outboundVnetRouting": { "allTraffic": false, "applicationTraffic": false, + "backupRestoreTraffic": false, "contentShareTraffic": false, - "imagePullTraffic": false, - "backupRestoreTraffic": false + "imagePullTraffic": false }, + "possibleOutboundIpAddresses": "70.37.102.201,20.225.43.144,20.225.184.122,20.225.184.188", + "publicNetworkAccess": "Enabled", + "redundancyMode": "None", + "repositorySiteName": "sitef6141", + "reserved": null, + "resourceConfig": { + "cpu": 1, + "memory": "2.0Gi" + }, + "resourceGroup": "testrg123", + "scmSiteAlsoStopped": false, + "serverFarmId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/serverfarms/DefaultAsp", "siteConfig": { - "numberOfWorkers": 1, - "netFrameworkVersion": "", - "phpVersion": "", - "pythonVersion": "", - "nodeVersion": "", - "powerShellVersion": "", - "linuxFxVersion": "", - "requestTracingEnabled": false, - "remoteDebuggingEnabled": false, - "httpLoggingEnabled": false, "acrUseManagedIdentityCreds": false, - "logsDirectorySizeLimit": 35, - "detailedErrorLoggingEnabled": false, - "use32BitWorkerProcess": false, - "webSocketsEnabled": false, "alwaysOn": false, "appCommandLine": "", - "managedPipelineMode": "Integrated", - "virtualApplications": [ - { - "virtualPath": "/", - "physicalPath": "site\\wwwroot", - "preloadEnabled": false - } - ], - "loadBalancing": "LeastRequests", "autoHealEnabled": false, - "vnetName": "", - "vnetRouteAllEnabled": false, - "vnetPrivatePortsCount": 0, - "keyVaultReferenceIdentity": "", + "azureStorageAccounts": {}, + "detailedErrorLoggingEnabled": false, + "ftpsState": "AllAllowed", + "functionAppScaleLimit": 0, + "functionsRuntimeScaleMonitoringEnabled": false, + "http20Enabled": false, + "httpLoggingEnabled": false, "ipSecurityRestrictions": [ { - "ipAddress": "Any", - "action": "Allow", - "priority": 2147483647, "name": "Allow all", - "description": "Allow all access" + "description": "Allow all access", + "action": "Allow", + "ipAddress": "Any", + "priority": 2147483647 } ], + "keyVaultReferenceIdentity": "", + "linuxFxVersion": "", + "loadBalancing": "LeastRequests", + "logsDirectorySizeLimit": 35, + "managedPipelineMode": "Integrated", + "minTlsVersion": "1.2", + "minimumElasticInstanceCount": 0, + "netFrameworkVersion": "", + "nodeVersion": "", + "numberOfWorkers": 1, + "phpVersion": "", + "powerShellVersion": "", + "pythonVersion": "", + "remoteDebuggingEnabled": false, + "requestTracingEnabled": false, "scmIpSecurityRestrictions": [ { - "ipAddress": "Any", - "action": "Allow", - "priority": 2147483647, "name": "Allow all", - "description": "Allow all access" + "description": "Allow all access", + "action": "Allow", + "ipAddress": "Any", + "priority": 2147483647 } ], - "http20Enabled": false, - "minTlsVersion": "1.2", "scmMinTlsVersion": "1.2", - "ftpsState": "AllAllowed", - "functionAppScaleLimit": 0, - "functionsRuntimeScaleMonitoringEnabled": false, - "minimumElasticInstanceCount": 0, - "azureStorageAccounts": {} + "use32BitWorkerProcess": false, + "virtualApplications": [ + { + "physicalPath": "site\\wwwroot", + "preloadEnabled": false, + "virtualPath": "/" + } + ], + "vnetName": "", + "vnetPrivatePortsCount": 0, + "vnetRouteAllEnabled": false, + "webSocketsEnabled": false }, + "state": "Running", + "storageAccountRequired": false, + "usageState": "Normal" + } + }, + "headers": {} + }, + "202": { + "body": { + "name": "sitef6141", + "type": "Microsoft.Web/sites", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/sitef6141", + "location": "East US", + "properties": { + "availabilityState": "Normal", + "clientAffinityEnabled": false, + "clientCertEnabled": false, + "containerSize": 2048, + "dailyMemoryTimeQuota": 0, + "defaultHostName": "sitef6141.azurewebsites.net", + "enabled": true, + "enabledHostNames": [ + "sitef6141.azurewebsites.net", + "sitef6141.scm.azurewebsites.net" + ], "functionAppConfig": { "deployment": { "storage": { "type": "blobContainer", - "value": "https://storageAccountName.blob.core.windows.net/containername", "authentication": { "type": "StorageAccountConnectionString", "storageAccountConnectionStringName": "TheAppSettingName" - } + }, + "value": "https://storageAccountName.blob.core.windows.net/containername" } }, "runtime": { @@ -164,177 +224,119 @@ }, "scaleAndConcurrency": { "alwaysReady": null, - "maximumInstanceCount": 100, "instanceMemoryMB": 2048, + "maximumInstanceCount": 100, "triggers": null } }, - "scmSiteAlsoStopped": false, - "clientAffinityEnabled": false, - "clientCertEnabled": false, - "resourceConfig": { - "cpu": 1.0, - "memory": "2.0Gi" - }, - "outboundIpAddresses": "70.37.102.201,20.225.43.144", - "possibleOutboundIpAddresses": "70.37.102.201,20.225.43.144,20.225.184.122,20.225.184.188", - "containerSize": 2048, - "dailyMemoryTimeQuota": 0, - "resourceGroup": "testrg123", - "defaultHostName": "sitef6141.azurewebsites.net", - "httpsOnly": true, - "redundancyMode": "None", - "publicNetworkAccess": "Enabled", - "storageAccountRequired": false - } - } - }, - "202": { - "headers": { - "azure-asyncoperation": "https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/providers/Microsoft.Web/sites/sitef6141/operationResults/62e4d893-d233-4005-988e-a428d9f77076?api-version=2025-03-01" - }, - "body": { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/sitef6141", - "name": "sitef6141", - "type": "Microsoft.Web/sites", - "location": "East US", - "properties": { - "state": "Running", - "hostNames": [ - "sitef6141.azurewebsites.net" - ], - "repositorySiteName": "sitef6141", - "usageState": "Normal", - "enabled": true, - "enabledHostNames": [ - "sitef6141.azurewebsites.net", - "sitef6141.scm.azurewebsites.net" - ], - "availabilityState": "Normal", "hostNameSslStates": [ { "name": "sitef6141.azurewebsites.net", - "sslState": "Disabled", - "hostType": "Standard" + "hostType": "Standard", + "sslState": "Disabled" }, { "name": "sitef6141.scm.azurewebsites.net", - "sslState": "Disabled", - "hostType": "Repository" + "hostType": "Repository", + "sslState": "Disabled" } ], - "serverFarmId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/serverfarms/DefaultAsp", - "reserved": null, - "isXenon": false, + "hostNames": [ + "sitef6141.azurewebsites.net" + ], + "httpsOnly": true, "hyperV": false, + "isXenon": false, "lastModifiedTimeUtc": "2024-01-09T00:24:54.8", + "outboundIpAddresses": "70.37.102.201,20.225.43.144", "outboundVnetRouting": { "allTraffic": false, "applicationTraffic": false, + "backupRestoreTraffic": false, "contentShareTraffic": false, - "imagePullTraffic": false, - "backupRestoreTraffic": false + "imagePullTraffic": false }, + "possibleOutboundIpAddresses": "70.37.102.201,20.225.43.144,20.225.184.122,20.225.184.188", + "publicNetworkAccess": "Enabled", + "redundancyMode": "None", + "repositorySiteName": "sitef6141", + "reserved": null, + "resourceConfig": { + "cpu": 1, + "memory": "2.0Gi" + }, + "resourceGroup": "testrg123", + "scmSiteAlsoStopped": false, + "serverFarmId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/serverfarms/DefaultAsp", "siteConfig": { - "numberOfWorkers": 1, - "netFrameworkVersion": "", - "phpVersion": "", - "pythonVersion": "", - "nodeVersion": "", - "powerShellVersion": "", - "linuxFxVersion": "", - "requestTracingEnabled": false, - "remoteDebuggingEnabled": false, - "httpLoggingEnabled": false, "acrUseManagedIdentityCreds": false, - "logsDirectorySizeLimit": 35, - "detailedErrorLoggingEnabled": false, - "use32BitWorkerProcess": false, - "webSocketsEnabled": false, "alwaysOn": false, "appCommandLine": "", - "managedPipelineMode": "Integrated", - "virtualApplications": [ - { - "virtualPath": "/", - "physicalPath": "site\\wwwroot", - "preloadEnabled": false - } - ], - "loadBalancing": "LeastRequests", "autoHealEnabled": false, - "vnetName": "", - "vnetRouteAllEnabled": false, - "vnetPrivatePortsCount": 0, - "keyVaultReferenceIdentity": "", + "azureStorageAccounts": {}, + "detailedErrorLoggingEnabled": false, + "ftpsState": "AllAllowed", + "functionAppScaleLimit": 0, + "functionsRuntimeScaleMonitoringEnabled": false, + "http20Enabled": false, + "httpLoggingEnabled": false, "ipSecurityRestrictions": [ { - "ipAddress": "Any", - "action": "Allow", - "priority": 2147483647, "name": "Allow all", - "description": "Allow all access" + "description": "Allow all access", + "action": "Allow", + "ipAddress": "Any", + "priority": 2147483647 } ], + "keyVaultReferenceIdentity": "", + "linuxFxVersion": "", + "loadBalancing": "LeastRequests", + "logsDirectorySizeLimit": 35, + "managedPipelineMode": "Integrated", + "minTlsVersion": "1.2", + "minimumElasticInstanceCount": 0, + "netFrameworkVersion": "", + "nodeVersion": "", + "numberOfWorkers": 1, + "phpVersion": "", + "powerShellVersion": "", + "pythonVersion": "", + "remoteDebuggingEnabled": false, + "requestTracingEnabled": false, "scmIpSecurityRestrictions": [ { - "ipAddress": "Any", - "action": "Allow", - "priority": 2147483647, "name": "Allow all", - "description": "Allow all access" + "description": "Allow all access", + "action": "Allow", + "ipAddress": "Any", + "priority": 2147483647 } ], - "http20Enabled": false, - "minTlsVersion": "1.2", "scmMinTlsVersion": "1.2", - "ftpsState": "AllAllowed", - "functionAppScaleLimit": 0, - "functionsRuntimeScaleMonitoringEnabled": false, - "minimumElasticInstanceCount": 0, - "azureStorageAccounts": {} - }, - "functionAppConfig": { - "deployment": { - "storage": { - "type": "blobContainer", - "value": "https://storageAccountName.blob.core.windows.net/containername", - "authentication": { - "type": "StorageAccountConnectionString", - "storageAccountConnectionStringName": "TheAppSettingName" - } + "use32BitWorkerProcess": false, + "virtualApplications": [ + { + "physicalPath": "site\\wwwroot", + "preloadEnabled": false, + "virtualPath": "/" } - }, - "runtime": { - "name": "python", - "version": "3.11" - }, - "scaleAndConcurrency": { - "alwaysReady": null, - "maximumInstanceCount": 100, - "instanceMemoryMB": 2048, - "triggers": null - } - }, - "scmSiteAlsoStopped": false, - "clientAffinityEnabled": false, - "clientCertEnabled": false, - "resourceConfig": { - "cpu": 1.0, - "memory": "2.0Gi" + ], + "vnetName": "", + "vnetPrivatePortsCount": 0, + "vnetRouteAllEnabled": false, + "webSocketsEnabled": false }, - "outboundIpAddresses": "70.37.102.201,20.225.43.144", - "possibleOutboundIpAddresses": "70.37.102.201,20.225.43.144,20.225.184.122,20.225.184.188", - "containerSize": 2048, - "dailyMemoryTimeQuota": 0, - "resourceGroup": "testrg123", - "defaultHostName": "sitef6141.azurewebsites.net", - "httpsOnly": true, - "redundancyMode": "None", - "publicNetworkAccess": "Enabled", - "storageAccountRequired": false + "state": "Running", + "storageAccountRequired": false, + "usageState": "Normal" } + }, + "headers": { + "azure-asyncoperation": "https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/providers/Microsoft.Web/sites/sitef6141/operationResults/62e4d893-d233-4005-988e-a428d9f77076?api-version=2025-03-01" } } - } + }, + "operationId": "WebApps_CreateOrUpdate", + "title": "Create or Update Flex Consumption function app" } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/CreateOrUpdateFunctionAppFlexConsumptionWithDetails.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/CreateOrUpdateFunctionAppFlexConsumptionWithDetails.json index 8f6ec6d0eef2..60ff14971897 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/CreateOrUpdateFunctionAppFlexConsumptionWithDetails.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/CreateOrUpdateFunctionAppFlexConsumptionWithDetails.json @@ -1,34 +1,21 @@ { "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "testrg123", "name": "sitef6141", "api-version": "2025-03-01", + "resourceGroupName": "testrg123", "siteEnvelope": { - "location": "East US", "kind": "functionapp,linux", + "location": "East US", "properties": { - "siteConfig": { - "appSettings": [ - { - "name": "AzureWebJobsStorage", - "value": "DefaultEndpointsProtocol=https;AccountName=StorageAccountName;AccountKey=Sanitized;EndpointSuffix=core.windows.net" - }, - { - "name": "APPLICATIONINSIGHTS_CONNECTION_STRING", - "value": "InstrumentationKey=Sanitized;IngestionEndpoint=Sanitized;LiveEndpoint=Sanitized" - } - ] - }, "functionAppConfig": { "deployment": { "storage": { "type": "blobContainer", - "value": "https://storageAccountName.blob.core.windows.net/containername", "authentication": { "type": "StorageAccountConnectionString", "storageAccountConnectionStringName": "TheAppSettingName" - } + }, + "value": "https://storageAccountName.blob.core.windows.net/containername" } }, "runtime": { @@ -42,131 +29,213 @@ "instanceCount": 2 } ], - "maximumInstanceCount": 100, "instanceMemoryMB": 2048, + "maximumInstanceCount": 100, "triggers": { "http": { "perInstanceConcurrency": 16 } } } + }, + "siteConfig": { + "appSettings": [ + { + "name": "AzureWebJobsStorage", + "value": "DefaultEndpointsProtocol=https;AccountName=StorageAccountName;AccountKey=Sanitized;EndpointSuffix=core.windows.net" + }, + { + "name": "APPLICATIONINSIGHTS_CONNECTION_STRING", + "value": "InstrumentationKey=Sanitized;IngestionEndpoint=Sanitized;LiveEndpoint=Sanitized" + } + ] } } - } + }, + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" }, "responses": { "200": { - "headers": {}, "body": { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/sitef6141", "name": "sitef6141", "type": "Microsoft.Web/sites", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/sitef6141", "location": "East US", "properties": { - "state": "Running", - "hostNames": [ - "sitef6141.azurewebsites.net" - ], - "repositorySiteName": "sitef6141", - "usageState": "Normal", + "availabilityState": "Normal", + "clientAffinityEnabled": false, + "clientCertEnabled": false, + "containerSize": 2048, + "dailyMemoryTimeQuota": 0, + "defaultHostName": "sitef6141.azurewebsites.net", "enabled": true, "enabledHostNames": [ "sitef6141.azurewebsites.net", "sitef6141.scm.azurewebsites.net" ], - "availabilityState": "Normal", + "functionAppConfig": { + "deployment": { + "storage": { + "type": "blobContainer", + "authentication": { + "type": "StorageAccountConnectionString", + "storageAccountConnectionStringName": "TheAppSettingName" + }, + "value": "https://storageAccountName.blob.core.windows.net/containername" + } + }, + "runtime": { + "name": "python", + "version": "3.11" + }, + "scaleAndConcurrency": { + "alwaysReady": [ + { + "name": "http", + "instanceCount": 2 + } + ], + "instanceMemoryMB": 2048, + "maximumInstanceCount": 100, + "triggers": { + "http": { + "perInstanceConcurrency": 16 + } + } + } + }, "hostNameSslStates": [ { "name": "sitef6141.azurewebsites.net", - "sslState": "Disabled", - "hostType": "Standard" + "hostType": "Standard", + "sslState": "Disabled" }, { "name": "sitef6141.scm.azurewebsites.net", - "sslState": "Disabled", - "hostType": "Repository" + "hostType": "Repository", + "sslState": "Disabled" } ], - "serverFarmId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/serverfarms/DefaultAsp", - "reserved": null, - "isXenon": false, + "hostNames": [ + "sitef6141.azurewebsites.net" + ], + "httpsOnly": true, "hyperV": false, + "isXenon": false, "lastModifiedTimeUtc": "2024-01-09T00:24:54.8", + "outboundIpAddresses": "70.37.102.201,20.225.43.144", "outboundVnetRouting": { "allTraffic": false, "applicationTraffic": false, + "backupRestoreTraffic": false, "contentShareTraffic": false, - "imagePullTraffic": false, - "backupRestoreTraffic": false + "imagePullTraffic": false + }, + "possibleOutboundIpAddresses": "70.37.102.201,20.225.43.144,20.225.184.122,20.225.184.188", + "publicNetworkAccess": "Enabled", + "redundancyMode": "None", + "repositorySiteName": "sitef6141", + "reserved": null, + "resourceConfig": { + "cpu": 1, + "memory": "2.0Gi" }, + "resourceGroup": "testrg123", + "scmSiteAlsoStopped": false, + "serverFarmId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/serverfarms/DefaultAsp", "siteConfig": { - "numberOfWorkers": 1, - "netFrameworkVersion": "", - "phpVersion": "", - "pythonVersion": "", - "nodeVersion": "", - "powerShellVersion": "", - "linuxFxVersion": "", - "requestTracingEnabled": false, - "remoteDebuggingEnabled": false, - "httpLoggingEnabled": false, "acrUseManagedIdentityCreds": false, - "logsDirectorySizeLimit": 35, - "detailedErrorLoggingEnabled": false, - "use32BitWorkerProcess": false, - "webSocketsEnabled": false, "alwaysOn": false, "appCommandLine": "", - "managedPipelineMode": "Integrated", - "virtualApplications": [ - { - "virtualPath": "/", - "physicalPath": "site\\wwwroot", - "preloadEnabled": false - } - ], - "loadBalancing": "LeastRequests", "autoHealEnabled": false, - "vnetName": "", - "vnetRouteAllEnabled": false, - "vnetPrivatePortsCount": 0, - "keyVaultReferenceIdentity": "", + "azureStorageAccounts": {}, + "detailedErrorLoggingEnabled": false, + "ftpsState": "AllAllowed", + "functionAppScaleLimit": 0, + "functionsRuntimeScaleMonitoringEnabled": false, + "http20Enabled": false, + "httpLoggingEnabled": false, "ipSecurityRestrictions": [ { - "ipAddress": "Any", - "action": "Allow", - "priority": 2147483647, "name": "Allow all", - "description": "Allow all access" + "description": "Allow all access", + "action": "Allow", + "ipAddress": "Any", + "priority": 2147483647 } ], + "keyVaultReferenceIdentity": "", + "linuxFxVersion": "", + "loadBalancing": "LeastRequests", + "logsDirectorySizeLimit": 35, + "managedPipelineMode": "Integrated", + "minTlsVersion": "1.2", + "minimumElasticInstanceCount": 0, + "netFrameworkVersion": "", + "nodeVersion": "", + "numberOfWorkers": 1, + "phpVersion": "", + "powerShellVersion": "", + "pythonVersion": "", + "remoteDebuggingEnabled": false, + "requestTracingEnabled": false, "scmIpSecurityRestrictions": [ { - "ipAddress": "Any", - "action": "Allow", - "priority": 2147483647, "name": "Allow all", - "description": "Allow all access" + "description": "Allow all access", + "action": "Allow", + "ipAddress": "Any", + "priority": 2147483647 } ], - "http20Enabled": false, - "minTlsVersion": "1.2", "scmMinTlsVersion": "1.2", - "ftpsState": "AllAllowed", - "functionAppScaleLimit": 0, - "functionsRuntimeScaleMonitoringEnabled": false, - "minimumElasticInstanceCount": 0, - "azureStorageAccounts": {} + "use32BitWorkerProcess": false, + "virtualApplications": [ + { + "physicalPath": "site\\wwwroot", + "preloadEnabled": false, + "virtualPath": "/" + } + ], + "vnetName": "", + "vnetPrivatePortsCount": 0, + "vnetRouteAllEnabled": false, + "webSocketsEnabled": false }, + "state": "Running", + "storageAccountRequired": false, + "usageState": "Normal" + } + }, + "headers": {} + }, + "202": { + "body": { + "name": "sitef6141", + "type": "Microsoft.Web/sites", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/sitef6141", + "location": "East US", + "properties": { + "availabilityState": "Normal", + "clientAffinityEnabled": false, + "clientCertEnabled": false, + "containerSize": 2048, + "dailyMemoryTimeQuota": 0, + "defaultHostName": "sitef6141.azurewebsites.net", + "enabled": true, + "enabledHostNames": [ + "sitef6141.azurewebsites.net", + "sitef6141.scm.azurewebsites.net" + ], "functionAppConfig": { "deployment": { "storage": { "type": "blobContainer", - "value": "https://storageAccountName.blob.core.windows.net/containername", "authentication": { "type": "StorageAccountConnectionString", "storageAccountConnectionStringName": "TheAppSettingName" - } + }, + "value": "https://storageAccountName.blob.core.windows.net/containername" } }, "runtime": { @@ -180,8 +249,8 @@ "instanceCount": 2 } ], - "maximumInstanceCount": 100, "instanceMemoryMB": 2048, + "maximumInstanceCount": 100, "triggers": { "http": { "perInstanceConcurrency": 16 @@ -189,181 +258,114 @@ } } }, - "scmSiteAlsoStopped": false, - "clientAffinityEnabled": false, - "clientCertEnabled": false, - "resourceConfig": { - "cpu": 1.0, - "memory": "2.0Gi" - }, - "outboundIpAddresses": "70.37.102.201,20.225.43.144", - "possibleOutboundIpAddresses": "70.37.102.201,20.225.43.144,20.225.184.122,20.225.184.188", - "containerSize": 2048, - "dailyMemoryTimeQuota": 0, - "resourceGroup": "testrg123", - "defaultHostName": "sitef6141.azurewebsites.net", - "httpsOnly": true, - "redundancyMode": "None", - "publicNetworkAccess": "Enabled", - "storageAccountRequired": false - } - } - }, - "202": { - "headers": { - "azure-asyncoperation": "https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/providers/Microsoft.Web/sites/sitef6141/operationResults/62e4d893-d233-4005-988e-a428d9f77076?api-version=2025-03-01" - }, - "body": { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/sitef6141", - "name": "sitef6141", - "type": "Microsoft.Web/sites", - "location": "East US", - "properties": { - "state": "Running", - "hostNames": [ - "sitef6141.azurewebsites.net" - ], - "repositorySiteName": "sitef6141", - "usageState": "Normal", - "enabled": true, - "enabledHostNames": [ - "sitef6141.azurewebsites.net", - "sitef6141.scm.azurewebsites.net" - ], - "availabilityState": "Normal", "hostNameSslStates": [ { "name": "sitef6141.azurewebsites.net", - "sslState": "Disabled", - "hostType": "Standard" + "hostType": "Standard", + "sslState": "Disabled" }, { "name": "sitef6141.scm.azurewebsites.net", - "sslState": "Disabled", - "hostType": "Repository" + "hostType": "Repository", + "sslState": "Disabled" } ], - "serverFarmId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/serverfarms/DefaultAsp", - "reserved": null, - "isXenon": false, + "hostNames": [ + "sitef6141.azurewebsites.net" + ], + "httpsOnly": true, "hyperV": false, + "isXenon": false, "lastModifiedTimeUtc": "2024-01-09T00:24:54.8", + "outboundIpAddresses": "70.37.102.201,20.225.43.144", "outboundVnetRouting": { "allTraffic": false, "applicationTraffic": false, + "backupRestoreTraffic": false, "contentShareTraffic": false, - "imagePullTraffic": false, - "backupRestoreTraffic": false + "imagePullTraffic": false }, + "possibleOutboundIpAddresses": "70.37.102.201,20.225.43.144,20.225.184.122,20.225.184.188", + "publicNetworkAccess": "Enabled", + "redundancyMode": "None", + "repositorySiteName": "sitef6141", + "reserved": null, + "resourceConfig": { + "cpu": 1, + "memory": "2.0Gi" + }, + "resourceGroup": "testrg123", + "scmSiteAlsoStopped": false, + "serverFarmId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/serverfarms/DefaultAsp", "siteConfig": { - "numberOfWorkers": 1, - "netFrameworkVersion": "", - "phpVersion": "", - "pythonVersion": "", - "nodeVersion": "", - "powerShellVersion": "", - "linuxFxVersion": "", - "requestTracingEnabled": false, - "remoteDebuggingEnabled": false, - "httpLoggingEnabled": false, "acrUseManagedIdentityCreds": false, - "logsDirectorySizeLimit": 35, - "detailedErrorLoggingEnabled": false, - "use32BitWorkerProcess": false, - "webSocketsEnabled": false, "alwaysOn": false, "appCommandLine": "", - "managedPipelineMode": "Integrated", - "virtualApplications": [ - { - "virtualPath": "/", - "physicalPath": "site\\wwwroot", - "preloadEnabled": false - } - ], - "loadBalancing": "LeastRequests", "autoHealEnabled": false, - "vnetName": "", - "vnetRouteAllEnabled": false, - "vnetPrivatePortsCount": 0, - "keyVaultReferenceIdentity": "", + "azureStorageAccounts": {}, + "detailedErrorLoggingEnabled": false, + "ftpsState": "AllAllowed", + "functionAppScaleLimit": 0, + "functionsRuntimeScaleMonitoringEnabled": false, + "http20Enabled": false, + "httpLoggingEnabled": false, "ipSecurityRestrictions": [ { - "ipAddress": "Any", - "action": "Allow", - "priority": 2147483647, "name": "Allow all", - "description": "Allow all access" + "description": "Allow all access", + "action": "Allow", + "ipAddress": "Any", + "priority": 2147483647 } ], + "keyVaultReferenceIdentity": "", + "linuxFxVersion": "", + "loadBalancing": "LeastRequests", + "logsDirectorySizeLimit": 35, + "managedPipelineMode": "Integrated", + "minTlsVersion": "1.2", + "minimumElasticInstanceCount": 0, + "netFrameworkVersion": "", + "nodeVersion": "", + "numberOfWorkers": 1, + "phpVersion": "", + "powerShellVersion": "", + "pythonVersion": "", + "remoteDebuggingEnabled": false, + "requestTracingEnabled": false, "scmIpSecurityRestrictions": [ { - "ipAddress": "Any", - "action": "Allow", - "priority": 2147483647, "name": "Allow all", - "description": "Allow all access" + "description": "Allow all access", + "action": "Allow", + "ipAddress": "Any", + "priority": 2147483647 } ], - "http20Enabled": false, - "minTlsVersion": "1.2", "scmMinTlsVersion": "1.2", - "ftpsState": "AllAllowed", - "functionAppScaleLimit": 0, - "functionsRuntimeScaleMonitoringEnabled": false, - "minimumElasticInstanceCount": 0, - "azureStorageAccounts": {} - }, - "functionAppConfig": { - "deployment": { - "storage": { - "type": "blobContainer", - "value": "https://storageAccountName.blob.core.windows.net/containername", - "authentication": { - "type": "StorageAccountConnectionString", - "storageAccountConnectionStringName": "TheAppSettingName" - } - } - }, - "runtime": { - "name": "python", - "version": "3.11" - }, - "scaleAndConcurrency": { - "alwaysReady": [ - { - "name": "http", - "instanceCount": 2 - } - ], - "maximumInstanceCount": 100, - "instanceMemoryMB": 2048, - "triggers": { - "http": { - "perInstanceConcurrency": 16 - } + "use32BitWorkerProcess": false, + "virtualApplications": [ + { + "physicalPath": "site\\wwwroot", + "preloadEnabled": false, + "virtualPath": "/" } - } - }, - "scmSiteAlsoStopped": false, - "clientAffinityEnabled": false, - "clientCertEnabled": false, - "resourceConfig": { - "cpu": 1.0, - "memory": "2.0Gi" + ], + "vnetName": "", + "vnetPrivatePortsCount": 0, + "vnetRouteAllEnabled": false, + "webSocketsEnabled": false }, - "outboundIpAddresses": "70.37.102.201,20.225.43.144", - "possibleOutboundIpAddresses": "70.37.102.201,20.225.43.144,20.225.184.122,20.225.184.188", - "containerSize": 2048, - "dailyMemoryTimeQuota": 0, - "resourceGroup": "testrg123", - "defaultHostName": "sitef6141.azurewebsites.net", - "httpsOnly": true, - "redundancyMode": "None", - "publicNetworkAccess": "Enabled", - "storageAccountRequired": false + "state": "Running", + "storageAccountRequired": false, + "usageState": "Normal" } + }, + "headers": { + "azure-asyncoperation": "https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/providers/Microsoft.Web/sites/sitef6141/operationResults/62e4d893-d233-4005-988e-a428d9f77076?api-version=2025-03-01" } } - } + }, + "operationId": "WebApps_CreateOrUpdate", + "title": "Create or Update Flex Consumption function app with details" } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/CreateOrUpdateSiteCertificate.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/CreateOrUpdateSiteCertificate.json index 3af0d96bbe39..c825102bc52a 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/CreateOrUpdateSiteCertificate.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/CreateOrUpdateSiteCertificate.json @@ -1,9 +1,6 @@ { "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "testrg123", "name": "testSiteName", - "certificateName": "testc6282", "api-version": "2025-03-01", "certificateEnvelope": { "location": "East US", @@ -13,48 +10,53 @@ ], "password": "" } - } + }, + "certificateName": "testc6282", + "resourceGroupName": "testrg123", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" }, "responses": { "200": { - "headers": {}, "body": { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/testSiteName/certificates/testc6282", "name": "testc6282", "type": "Microsoft.Web/sites/certificates", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/testSiteName/certificates/testc6282", "location": "East US", "properties": { + "expirationDate": "2039-12-31T23:59:59+00:00", "friendlyName": "", - "subjectName": "ServerCert", "hostNames": [ "ServerCert" ], - "issuer": "CACert", "issueDate": "2015-11-12T23:40:25+00:00", - "expirationDate": "2039-12-31T23:59:59+00:00", + "issuer": "CACert", + "subjectName": "ServerCert", "thumbprint": "FE703D7411A44163B6D32B3AD9B03E175886EBFE" } - } + }, + "headers": {} }, "201": { - "headers": {}, "body": { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/testSiteName/certificates/testc6282", "name": "testc6282", "type": "Microsoft.Web/sites/certificates", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/testSiteName/certificates/testc6282", "location": "East US", "properties": { + "expirationDate": "2039-12-31T23:59:59+00:00", "friendlyName": "", - "subjectName": "ServerCert", "hostNames": [ "ServerCert" ], - "issuer": "CACert", "issueDate": "2015-11-12T23:40:25+00:00", - "expirationDate": "2039-12-31T23:59:59+00:00", + "issuer": "CACert", + "subjectName": "ServerCert", "thumbprint": "FE703D7411A44163B6D32B3AD9B03E175886EBFE" } - } + }, + "headers": {} } - } + }, + "operationId": "SiteCertificates_CreateOrUpdate", + "title": "Create Or Update Certificate" } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/CreateOrUpdateSiteCertificateSlot.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/CreateOrUpdateSiteCertificateSlot.json index dd3ec0a19364..f43445e0b01c 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/CreateOrUpdateSiteCertificateSlot.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/CreateOrUpdateSiteCertificateSlot.json @@ -1,10 +1,6 @@ { "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "testrg123", "name": "testSiteName", - "slot": "staging", - "certificateName": "testc6282", "api-version": "2025-03-01", "certificateEnvelope": { "location": "East US", @@ -14,48 +10,54 @@ ], "password": "" } - } + }, + "certificateName": "testc6282", + "resourceGroupName": "testrg123", + "slot": "staging", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" }, "responses": { "200": { - "headers": {}, "body": { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/testSiteName/slots/staging/certificates/testc6282", "name": "testc6282", "type": "Microsoft.Web/sites/certificates", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/testSiteName/slots/staging/certificates/testc6282", "location": "East US", "properties": { + "expirationDate": "2039-12-31T23:59:59+00:00", "friendlyName": "", - "subjectName": "ServerCert", "hostNames": [ "ServerCert" ], - "issuer": "CACert", "issueDate": "2015-11-12T23:40:25+00:00", - "expirationDate": "2039-12-31T23:59:59+00:00", + "issuer": "CACert", + "subjectName": "ServerCert", "thumbprint": "FE703D7411A44163B6D32B3AD9B03E175886EBFE" } - } + }, + "headers": {} }, "201": { - "headers": {}, "body": { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/testSiteName/slots/staging/certificates/testc6282", "name": "testc6282", "type": "Microsoft.Web/sites/certificates", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/testSiteName/slots/staging/certificates/testc6282", "location": "East US", "properties": { + "expirationDate": "2039-12-31T23:59:59+00:00", "friendlyName": "", - "subjectName": "ServerCert", "hostNames": [ "ServerCert" ], - "issuer": "CACert", "issueDate": "2015-11-12T23:40:25+00:00", - "expirationDate": "2039-12-31T23:59:59+00:00", + "issuer": "CACert", + "subjectName": "ServerCert", "thumbprint": "FE703D7411A44163B6D32B3AD9B03E175886EBFE" } - } + }, + "headers": {} } - } + }, + "operationId": "SiteCertificates_CreateOrUpdateSlot", + "title": "Create Or Update Certificate for slot" } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/CreateOrUpdateStaticSite.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/CreateOrUpdateStaticSite.json index 219fb579e8a4..8acfeaaa6c8e 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/CreateOrUpdateStaticSite.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/CreateOrUpdateStaticSite.json @@ -1,81 +1,83 @@ { "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "rg", "name": "testStaticSite0", "api-version": "2025-03-01", + "resourceGroupName": "rg", "staticSiteEnvelope": { "location": "West US 2", "properties": { - "repositoryUrl": "https://github.com/username/RepoName", "branch": "master", - "repositoryToken": "repoToken123", "buildProperties": { - "appLocation": "app", "apiLocation": "api", - "appArtifactLocation": "build" - } + "appArtifactLocation": "build", + "appLocation": "app" + }, + "repositoryToken": "repoToken123", + "repositoryUrl": "https://github.com/username/RepoName" }, "sku": { "name": "Basic", "tier": "Basic" } - } + }, + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" }, "responses": { "200": { - "headers": {}, "body": { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/staticSites/testStaticSite0", "name": "testStaticSite0", "type": "Microsoft.Web/staticSites", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/staticSites/testStaticSite0", "location": "West US 2", "properties": { - "defaultHostname": "happy-sea-15afae3e.azurestaticwebsites.net", - "repositoryUrl": "https://github.com/username/RepoName", + "allowConfigFileUpdates": true, "branch": "demo", - "customDomains": [], - "privateEndpointConnections": [], "contentDistributionEndpoint": "", + "customDomains": [], + "defaultHostname": "happy-sea-15afae3e.azurestaticwebsites.net", "keyVaultReferenceIdentity": "SystemAssigned", - "userProvidedFunctionApps": null, "linkedBackends": [], + "privateEndpointConnections": [], + "repositoryUrl": "https://github.com/username/RepoName", "stagingEnvironmentPolicy": "Enabled", - "allowConfigFileUpdates": true + "userProvidedFunctionApps": null }, "sku": { "name": "Basic", "tier": "Basic" } - } + }, + "headers": {} }, "202": { - "headers": { - "azure-asyncoperation": "https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/providers/Microsoft.Web/locations/westus2/operationResults/62e4d893-d233-4005-988e-a428d9f77076?api-version=2019-01-01" - }, "body": { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/staticSites/testStaticSite0", "name": "testStaticSite0", "type": "Microsoft.Web/staticSites", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/staticSites/testStaticSite0", "location": "West US 2", "properties": { - "defaultHostname": "happy-sea-15afae3e.azurestaticwebsites.net", - "repositoryUrl": "https://github.com/username/RepoName", + "allowConfigFileUpdates": true, "branch": "demo", - "customDomains": [], - "privateEndpointConnections": [], "contentDistributionEndpoint": "", + "customDomains": [], + "defaultHostname": "happy-sea-15afae3e.azurestaticwebsites.net", "keyVaultReferenceIdentity": "SystemAssigned", - "userProvidedFunctionApps": null, "linkedBackends": [], + "privateEndpointConnections": [], + "repositoryUrl": "https://github.com/username/RepoName", "stagingEnvironmentPolicy": "Enabled", - "allowConfigFileUpdates": true + "userProvidedFunctionApps": null }, "sku": { "name": "Basic", "tier": "Basic" } + }, + "headers": { + "azure-asyncoperation": "https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/providers/Microsoft.Web/locations/westus2/operationResults/62e4d893-d233-4005-988e-a428d9f77076?api-version=2019-01-01" } } - } + }, + "operationId": "StaticSites_CreateOrUpdateStaticSite", + "title": "Create or update a static site" } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/CreateOrUpdateStaticSiteAppSettings.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/CreateOrUpdateStaticSiteAppSettings.json index ccfda65920fd..8880b6199e32 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/CreateOrUpdateStaticSiteAppSettings.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/CreateOrUpdateStaticSiteAppSettings.json @@ -1,7 +1,5 @@ { "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "rg", "name": "testStaticSite0", "api-version": "2025-03-01", "appSettings": { @@ -9,18 +7,22 @@ "setting1": "someval", "setting2": "someval2" } - } + }, + "resourceGroupName": "rg", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" }, "responses": { "200": { - "headers": {}, "body": { "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/staticSites/testStaticSite0/config/appSettings", "properties": { "setting1": "someval", "setting2": "someval2" } - } + }, + "headers": {} } - } + }, + "operationId": "StaticSites_CreateOrUpdateStaticSiteAppSettings", + "title": "Creates or updates the app settings of a static site." } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/CreateOrUpdateStaticSiteBasicAuth.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/CreateOrUpdateStaticSiteBasicAuth.json index 29e70e9b4f66..b3b878e67975 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/CreateOrUpdateStaticSiteBasicAuth.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/CreateOrUpdateStaticSiteBasicAuth.json @@ -1,31 +1,33 @@ { "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "rg", "name": "testStaticSite0", - "basicAuthName": "default", "api-version": "2025-03-01", "basicAuthEnvelope": { "properties": { + "applicableEnvironmentsMode": "AllEnvironments", "environments": null, "password": "**********************", - "secretUrl": null, - "applicableEnvironmentsMode": "AllEnvironments" + "secretUrl": null } - } + }, + "basicAuthName": "default", + "resourceGroupName": "rg", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" }, "responses": { "200": { - "headers": {}, "body": { "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/staticSites/testStaticSite0/basicAuth/default", "properties": { - "environments": null, - "secretUrl": null, "applicableEnvironmentsMode": "AllEnvironments", - "secretState": "Password" + "environments": null, + "secretState": "Password", + "secretUrl": null } - } + }, + "headers": {} } - } + }, + "operationId": "StaticSites_CreateOrUpdateBasicAuth", + "title": "Creates or updates basic auth properties for a static site." } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/CreateOrUpdateStaticSiteBuildAppSettings.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/CreateOrUpdateStaticSiteBuildAppSettings.json index 2289ca48b594..073f697562df 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/CreateOrUpdateStaticSiteBuildAppSettings.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/CreateOrUpdateStaticSiteBuildAppSettings.json @@ -1,27 +1,29 @@ { "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "rg", "name": "testStaticSite0", - "environmentName": "12", "api-version": "2025-03-01", "appSettings": { "properties": { "setting1": "someval", "setting2": "someval2" } - } + }, + "environmentName": "12", + "resourceGroupName": "rg", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" }, "responses": { "200": { - "headers": {}, "body": { "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/staticSites/testStaticSite0/builds/12/config/appSettings", "properties": { "setting1": "someval", "setting2": "someval2" } - } + }, + "headers": {} } - } + }, + "operationId": "StaticSites_CreateOrUpdateStaticSiteBuildAppSettings", + "title": "Creates or updates the function app settings of a static site build." } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/CreateOrUpdateStaticSiteBuildDatabaseConnection.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/CreateOrUpdateStaticSiteBuildDatabaseConnection.json index c1a087c784d1..a4d0b899b866 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/CreateOrUpdateStaticSiteBuildDatabaseConnection.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/CreateOrUpdateStaticSiteBuildDatabaseConnection.json @@ -1,33 +1,35 @@ { "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "rg", "name": "testStaticSite0", - "environmentName": "default", - "databaseConnectionName": "default", "api-version": "2025-03-01", + "databaseConnectionName": "default", "databaseConnectionRequestEnvelope": { "properties": { - "resourceId": "/subscription/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/databaseRG/providers/Microsoft.DocumentDB/databaseAccounts/exampleDatabaseName", "connectionIdentity": "SystemAssigned", "connectionString": "AccountEndpoint=https://exampleDatabaseName.documents.azure.com:443/;Database=mydb;", - "region": "West US 2" + "region": "West US 2", + "resourceId": "/subscription/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/databaseRG/providers/Microsoft.DocumentDB/databaseAccounts/exampleDatabaseName" } - } + }, + "environmentName": "default", + "resourceGroupName": "rg", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" }, "responses": { "200": { - "headers": {}, "body": { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/staticSites/testStaticSite0/builds/default/databaseConnections/default", "name": "default", "type": "Microsoft.Web/staticSites/builds/databaseConnections", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/staticSites/testStaticSite0/builds/default/databaseConnections/default", "properties": { - "resourceId": "/subscription/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/databaseRG/providers/Microsoft.DocumentDB/databaseAccounts/exampleDatabaseName", "connectionIdentity": "SystemAssigned", - "region": "West US 2" + "region": "West US 2", + "resourceId": "/subscription/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/databaseRG/providers/Microsoft.DocumentDB/databaseAccounts/exampleDatabaseName" } - } + }, + "headers": {} } - } + }, + "operationId": "StaticSites_CreateOrUpdateBuildDatabaseConnection", + "title": "Create or update a database connection for a static site build" } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/CreateOrUpdateStaticSiteBuildFunctionAppSettings.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/CreateOrUpdateStaticSiteBuildFunctionAppSettings.json index 2289ca48b594..ea12fc07d31e 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/CreateOrUpdateStaticSiteBuildFunctionAppSettings.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/CreateOrUpdateStaticSiteBuildFunctionAppSettings.json @@ -1,27 +1,29 @@ { "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "rg", "name": "testStaticSite0", - "environmentName": "12", "api-version": "2025-03-01", "appSettings": { "properties": { "setting1": "someval", "setting2": "someval2" } - } + }, + "environmentName": "12", + "resourceGroupName": "rg", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" }, "responses": { "200": { - "headers": {}, "body": { "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/staticSites/testStaticSite0/builds/12/config/appSettings", "properties": { "setting1": "someval", "setting2": "someval2" } - } + }, + "headers": {} } - } + }, + "operationId": "StaticSites_CreateOrUpdateStaticSiteBuildFunctionAppSettings", + "title": "Creates or updates the function app settings of a static site build." } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/CreateOrUpdateStaticSiteCustomDomain.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/CreateOrUpdateStaticSiteCustomDomain.json index fa5afee661a2..ffe119ddecb3 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/CreateOrUpdateStaticSiteCustomDomain.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/CreateOrUpdateStaticSiteCustomDomain.json @@ -1,35 +1,37 @@ { "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "rg", "name": "testStaticSite0", - "domainName": "custom.domain.net", "api-version": "2025-03-01", + "domainName": "custom.domain.net", + "resourceGroupName": "rg", "staticSiteCustomDomainRequestPropertiesEnvelope": { "properties": {} - } + }, + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" }, "responses": { "200": { "body": { "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/staticSitesBuilds/testStaticSite0/customDomains/custom.domain.net", "properties": { - "domainName": "custom.domain.net", - "createdOn": "2020-03-04T17:33:11.641Z" + "createdOn": "2020-03-04T17:33:11.641Z", + "domainName": "custom.domain.net" } } }, "202": { - "headers": { - "azure-asyncoperation": "https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/providers/Microsoft.Web/locations/westus2/operationResults/62e4d893-d233-4005-988e-a428d9f77076?api-version=2019-01-01" - }, "body": { "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/staticSitesBuilds/testStaticSite0/customDomains/custom.domain.net", "properties": { - "domainName": "custom.domain.net", - "createdOn": "2020-03-04T17:33:11.641Z" + "createdOn": "2020-03-04T17:33:11.641Z", + "domainName": "custom.domain.net" } + }, + "headers": { + "azure-asyncoperation": "https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/providers/Microsoft.Web/locations/westus2/operationResults/62e4d893-d233-4005-988e-a428d9f77076?api-version=2019-01-01" } } - } + }, + "operationId": "StaticSites_CreateOrUpdateStaticSiteCustomDomain", + "title": "Create or update a custom domain for a static site" } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/CreateOrUpdateStaticSiteDatabaseConnection.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/CreateOrUpdateStaticSiteDatabaseConnection.json index 736170367356..dd71cc1f8a54 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/CreateOrUpdateStaticSiteDatabaseConnection.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/CreateOrUpdateStaticSiteDatabaseConnection.json @@ -1,32 +1,34 @@ { "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "rg", "name": "testStaticSite0", - "databaseConnectionName": "default", "api-version": "2025-03-01", + "databaseConnectionName": "default", "databaseConnectionRequestEnvelope": { "properties": { - "resourceId": "/subscription/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/databaseRG/providers/Microsoft.DocumentDB/databaseAccounts/exampleDatabaseName", "connectionIdentity": "SystemAssigned", "connectionString": "AccountEndpoint=https://exampleDatabaseName.documents.azure.com:443/;Database=mydb;", - "region": "West US 2" + "region": "West US 2", + "resourceId": "/subscription/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/databaseRG/providers/Microsoft.DocumentDB/databaseAccounts/exampleDatabaseName" } - } + }, + "resourceGroupName": "rg", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" }, "responses": { "200": { - "headers": {}, "body": { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/staticSites/testStaticSite0/databaseConnections/default", "name": "default", "type": "Microsoft.Web/staticSites/databaseConnections", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/staticSites/testStaticSite0/databaseConnections/default", "properties": { - "resourceId": "/subscription/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/databaseRG/providers/Microsoft.DocumentDB/databaseAccounts/exampleDatabaseName", "connectionIdentity": "SystemAssigned", - "region": "West US 2" + "region": "West US 2", + "resourceId": "/subscription/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/databaseRG/providers/Microsoft.DocumentDB/databaseAccounts/exampleDatabaseName" } - } + }, + "headers": {} } - } + }, + "operationId": "StaticSites_CreateOrUpdateDatabaseConnection", + "title": "Create or update a database connection for a static site" } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/CreateOrUpdateStaticSiteFunctionAppSettings.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/CreateOrUpdateStaticSiteFunctionAppSettings.json index ccfda65920fd..549a47de8c4e 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/CreateOrUpdateStaticSiteFunctionAppSettings.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/CreateOrUpdateStaticSiteFunctionAppSettings.json @@ -1,7 +1,5 @@ { "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "rg", "name": "testStaticSite0", "api-version": "2025-03-01", "appSettings": { @@ -9,18 +7,22 @@ "setting1": "someval", "setting2": "someval2" } - } + }, + "resourceGroupName": "rg", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" }, "responses": { "200": { - "headers": {}, "body": { "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/staticSites/testStaticSite0/config/appSettings", "properties": { "setting1": "someval", "setting2": "someval2" } - } + }, + "headers": {} } - } + }, + "operationId": "StaticSites_CreateOrUpdateStaticSiteFunctionAppSettings", + "title": "Creates or updates the function app settings of a static site." } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/CreateOrUpdateWebApp.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/CreateOrUpdateWebApp.json index af546124920c..760cefd947a2 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/CreateOrUpdateWebApp.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/CreateOrUpdateWebApp.json @@ -1,65 +1,86 @@ { "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "testrg123", "name": "sitef6141", "api-version": "2025-03-01", + "resourceGroupName": "testrg123", "siteEnvelope": { "kind": "app", "location": "East US", "properties": { "serverFarmId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/serverfarms/DefaultAsp" } - } + }, + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" }, "responses": { "200": { - "headers": {}, "body": { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/sitef6141", "name": "sitef6141", "type": "Microsoft.Web/sites", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/sitef6141", "kind": "app", "location": "East US", "properties": { - "state": "Running", - "hostNames": [ - "sitef6141.azurewebsites.net" - ], - "repositorySiteName": "sitef6141", - "usageState": "Normal", + "availabilityState": "Normal", + "clientAffinityEnabled": true, + "clientAffinityProxyEnabled": true, + "clientCertEnabled": false, + "clientCertMode": "Required", + "containerSize": 0, + "customDomainVerificationId": "7F3BB652450EF7AD0B6AA33064586E4A9CE823A46DF0B2EC6443A68086E84153", + "dailyMemoryTimeQuota": 0, + "defaultHostName": "sitef6141.azurewebsites.net", "enabled": true, "enabledHostNames": [ "sitef6141.azurewebsites.net", "sitef6141.scm.azurewebsites.net" ], - "availabilityState": "Normal", "hostNameSslStates": [ { "name": "sitef6141.azurewebsites.net", - "sslState": "Disabled", - "hostType": "Standard" + "hostType": "Standard", + "sslState": "Disabled" }, { "name": "sitef6141.scm.azurewebsites.net", - "sslState": "Disabled", - "hostType": "Repository" + "hostType": "Repository", + "sslState": "Disabled" } ], - "serverFarmId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/serverfarms/DefaultAsp", - "reserved": false, - "isXenon": false, + "hostNames": [ + "sitef6141.azurewebsites.net" + ], + "hostNamesDisabled": false, + "httpsOnly": false, "hyperV": false, + "isXenon": false, + "keyVaultReferenceIdentity": "SystemAssigned", "lastModifiedTimeUtc": "2020-03-04T17:33:11.641Z", + "outboundIpAddresses": "70.37.102.201,20.225.43.144", "outboundVnetRouting": { "allTraffic": false, "applicationTraffic": false, + "backupRestoreTraffic": false, "contentShareTraffic": false, - "imagePullTraffic": false, - "backupRestoreTraffic": false + "imagePullTraffic": false + }, + "possibleOutboundIpAddresses": "70.37.102.201,20.225.43.144,20.225.184.122,20.225.184.188", + "redundancyMode": "None", + "repositorySiteName": "sitef6141", + "reserved": false, + "resourceConfig": { + "cpu": 1, + "memory": "2.0Gi" }, + "resourceGroup": "testrg123", + "scmSiteAlsoStopped": false, + "serverFarmId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/serverfarms/DefaultAsp", "siteConfig": { - "numberOfWorkers": 1, + "acrUseManagedIdentityCreds": false, + "alwaysOn": false, + "appCommandLine": "", + "autoHealEnabled": false, + "azureStorageAccounts": {}, "defaultDocuments": [ "Default.htm", "Default.html", @@ -71,118 +92,115 @@ "index.php", "hostingstart.html" ], + "detailedErrorLoggingEnabled": false, + "ftpsState": "AllAllowed", + "functionAppScaleLimit": 0, + "functionsRuntimeScaleMonitoringEnabled": false, + "http20Enabled": false, + "httpLoggingEnabled": false, + "linuxFxVersion": "", + "loadBalancing": "LeastRequests", + "logsDirectorySizeLimit": 35, + "managedPipelineMode": "Integrated", + "minTlsVersion": "1.2", + "minimumElasticInstanceCount": 0, "netFrameworkVersion": "v4.0", - "phpVersion": "5.6", - "pythonVersion": "", "nodeVersion": "", + "numberOfWorkers": 1, + "phpVersion": "5.6", "powerShellVersion": "", - "linuxFxVersion": "", - "requestTracingEnabled": false, + "pythonVersion": "", "remoteDebuggingEnabled": false, - "httpLoggingEnabled": false, - "acrUseManagedIdentityCreds": false, - "logsDirectorySizeLimit": 35, - "detailedErrorLoggingEnabled": false, + "requestTracingEnabled": false, + "scmMinTlsVersion": "1.2", "use32BitWorkerProcess": true, - "webSocketsEnabled": false, - "alwaysOn": false, - "appCommandLine": "", - "managedPipelineMode": "Integrated", "virtualApplications": [ { - "virtualPath": "/", "physicalPath": "site\\wwwroot", - "preloadEnabled": false + "preloadEnabled": false, + "virtualPath": "/" } ], - "loadBalancing": "LeastRequests", - "autoHealEnabled": false, "vnetName": "", - "vnetRouteAllEnabled": false, "vnetPrivatePortsCount": 0, - "http20Enabled": false, - "minTlsVersion": "1.2", - "scmMinTlsVersion": "1.2", - "ftpsState": "AllAllowed", - "functionAppScaleLimit": 0, - "functionsRuntimeScaleMonitoringEnabled": false, - "minimumElasticInstanceCount": 0, - "azureStorageAccounts": {} + "vnetRouteAllEnabled": false, + "webSocketsEnabled": false }, - "scmSiteAlsoStopped": false, - "clientAffinityEnabled": true, - "clientAffinityProxyEnabled": true, - "clientCertEnabled": false, - "clientCertMode": "Required", - "hostNamesDisabled": false, - "customDomainVerificationId": "7F3BB652450EF7AD0B6AA33064586E4A9CE823A46DF0B2EC6443A68086E84153", - "outboundIpAddresses": "70.37.102.201,20.225.43.144", - "possibleOutboundIpAddresses": "70.37.102.201,20.225.43.144,20.225.184.122,20.225.184.188", - "containerSize": 0, - "dailyMemoryTimeQuota": 0, - "resourceGroup": "testrg123", - "defaultHostName": "sitef6141.azurewebsites.net", - "httpsOnly": false, - "redundancyMode": "None", + "state": "Running", "storageAccountRequired": false, - "keyVaultReferenceIdentity": "SystemAssigned", - "workloadProfileName": "myd4wp", - "resourceConfig": { - "cpu": 1.0, - "memory": "2.0Gi" - } + "usageState": "Normal", + "workloadProfileName": "myd4wp" } - } + }, + "headers": {} }, "202": { - "headers": { - "azure-asyncoperation": "https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/providers/Microsoft.Web/sites/sitef6141/operationResults/62e4d893-d233-4005-988e-a428d9f77076?api-version=2025-03-01" - }, "body": { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/sitef6141", "name": "sitef6141", "type": "Microsoft.Web/sites", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/sitef6141", "kind": "app", "location": "East US", "properties": { - "state": "Running", - "hostNames": [ - "sitef6141.azurewebsites.net" - ], - "repositorySiteName": "sitef6141", - "usageState": "Normal", + "availabilityState": "Normal", + "clientAffinityEnabled": true, + "clientCertEnabled": false, + "clientCertMode": "Required", + "containerSize": 0, + "customDomainVerificationId": "7F3BB652450EF7AD0B6AA33064586E4A9CE823A46DF0B2EC6443A68086E84153", + "dailyMemoryTimeQuota": 0, + "defaultHostName": "sitef6141.azurewebsites.net", "enabled": true, "enabledHostNames": [ "sitef6141.azurewebsites.net", "sitef6141.scm.azurewebsites.net" ], - "availabilityState": "Normal", "hostNameSslStates": [ { "name": "sitef6141.azurewebsites.net", - "sslState": "Disabled", - "hostType": "Standard" + "hostType": "Standard", + "sslState": "Disabled" }, { "name": "sitef6141.scm.azurewebsites.net", - "sslState": "Disabled", - "hostType": "Repository" + "hostType": "Repository", + "sslState": "Disabled" } ], - "serverFarmId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/serverfarms/DefaultAsp", - "reserved": false, - "isXenon": false, + "hostNames": [ + "sitef6141.azurewebsites.net" + ], + "hostNamesDisabled": false, + "httpsOnly": false, "hyperV": false, + "isXenon": false, + "keyVaultReferenceIdentity": "SystemAssigned", "lastModifiedTimeUtc": "2020-03-04T17:33:11.641Z", + "outboundIpAddresses": "70.37.102.201,20.225.43.144", "outboundVnetRouting": { "allTraffic": false, "applicationTraffic": false, + "backupRestoreTraffic": false, "contentShareTraffic": false, - "imagePullTraffic": false, - "backupRestoreTraffic": false + "imagePullTraffic": false + }, + "possibleOutboundIpAddresses": "70.37.102.201,20.225.43.144,20.225.184.122,20.225.184.188", + "redundancyMode": "None", + "repositorySiteName": "sitef6141", + "reserved": false, + "resourceConfig": { + "cpu": 1, + "memory": "2.0Gi" }, + "resourceGroup": "testrg123", + "scmSiteAlsoStopped": false, + "serverFarmId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/serverfarms/DefaultAsp", "siteConfig": { - "numberOfWorkers": 1, + "acrUseManagedIdentityCreds": false, + "alwaysOn": false, + "appCommandLine": "", + "autoHealEnabled": false, + "azureStorageAccounts": {}, "defaultDocuments": [ "Default.htm", "Default.html", @@ -194,67 +212,51 @@ "index.php", "hostingstart.html" ], + "detailedErrorLoggingEnabled": false, + "ftpsState": "AllAllowed", + "functionAppScaleLimit": 0, + "functionsRuntimeScaleMonitoringEnabled": false, + "http20Enabled": false, + "httpLoggingEnabled": false, + "linuxFxVersion": "", + "loadBalancing": "LeastRequests", + "logsDirectorySizeLimit": 35, + "managedPipelineMode": "Integrated", + "minTlsVersion": "1.2", + "minimumElasticInstanceCount": 0, "netFrameworkVersion": "v4.0", - "phpVersion": "5.6", - "pythonVersion": "", "nodeVersion": "", + "numberOfWorkers": 1, + "phpVersion": "5.6", "powerShellVersion": "", - "linuxFxVersion": "", - "requestTracingEnabled": false, + "pythonVersion": "", "remoteDebuggingEnabled": false, - "httpLoggingEnabled": false, - "acrUseManagedIdentityCreds": false, - "logsDirectorySizeLimit": 35, - "detailedErrorLoggingEnabled": false, + "requestTracingEnabled": false, + "scmMinTlsVersion": "1.2", "use32BitWorkerProcess": true, - "webSocketsEnabled": false, - "alwaysOn": false, - "appCommandLine": "", - "managedPipelineMode": "Integrated", "virtualApplications": [ { - "virtualPath": "/", "physicalPath": "site\\wwwroot", - "preloadEnabled": false + "preloadEnabled": false, + "virtualPath": "/" } ], - "loadBalancing": "LeastRequests", - "autoHealEnabled": false, "vnetName": "", - "vnetRouteAllEnabled": false, "vnetPrivatePortsCount": 0, - "http20Enabled": false, - "minTlsVersion": "1.2", - "scmMinTlsVersion": "1.2", - "ftpsState": "AllAllowed", - "functionAppScaleLimit": 0, - "functionsRuntimeScaleMonitoringEnabled": false, - "minimumElasticInstanceCount": 0, - "azureStorageAccounts": {} + "vnetRouteAllEnabled": false, + "webSocketsEnabled": false }, - "scmSiteAlsoStopped": false, - "clientAffinityEnabled": true, - "clientCertEnabled": false, - "clientCertMode": "Required", - "hostNamesDisabled": false, - "customDomainVerificationId": "7F3BB652450EF7AD0B6AA33064586E4A9CE823A46DF0B2EC6443A68086E84153", - "outboundIpAddresses": "70.37.102.201,20.225.43.144", - "possibleOutboundIpAddresses": "70.37.102.201,20.225.43.144,20.225.184.122,20.225.184.188", - "containerSize": 0, - "dailyMemoryTimeQuota": 0, - "resourceGroup": "testrg123", - "defaultHostName": "sitef6141.azurewebsites.net", - "httpsOnly": false, - "redundancyMode": "None", + "state": "Running", "storageAccountRequired": false, - "keyVaultReferenceIdentity": "SystemAssigned", - "workloadProfileName": "myd4wp", - "resourceConfig": { - "cpu": 1.0, - "memory": "2.0Gi" - } + "usageState": "Normal", + "workloadProfileName": "myd4wp" } + }, + "headers": { + "azure-asyncoperation": "https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/providers/Microsoft.Web/sites/sitef6141/operationResults/62e4d893-d233-4005-988e-a428d9f77076?api-version=2025-03-01" } } - } + }, + "operationId": "WebApps_CreateOrUpdate", + "title": "Create or Update web app" } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/CreateOrUpdateWebAppSlot.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/CreateOrUpdateWebAppSlot.json index 0e136dc8398a..bda1c3f4fde9 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/CreateOrUpdateWebAppSlot.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/CreateOrUpdateWebAppSlot.json @@ -1,66 +1,82 @@ { "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "testrg123", "name": "sitef6141", - "slot": "staging", "api-version": "2025-03-01", + "resourceGroupName": "testrg123", "siteEnvelope": { "kind": "app", "location": "East US", "properties": { "serverFarmId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/serverfarms/DefaultAsp" } - } + }, + "slot": "staging", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" }, "responses": { "200": { - "headers": {}, "body": { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/sitef6141/slots/staging", "name": "sitef6141/staging", "type": "Microsoft.Web/sites/slots", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/sitef6141/slots/staging", "kind": "app", "location": "East US", "properties": { - "state": "Running", - "hostNames": [ - "sitef6141-staging.azurewebsites.net" - ], - "repositorySiteName": "sitef6141", - "usageState": "Normal", + "availabilityState": "Normal", + "clientAffinityEnabled": true, + "clientCertEnabled": false, + "clientCertMode": "Required", + "containerSize": 0, + "customDomainVerificationId": "7F3BB652450EF7AD0B6AA33064586E4A9CE823A46DF0B2EC6443A68086E84153", + "dailyMemoryTimeQuota": 0, + "defaultHostName": "sitef6141.azurewebsites.net", "enabled": true, "enabledHostNames": [ "sitef6141-staging.azurewebsites.net", "sitef6141-staging.scm.azurewebsites.net" ], - "availabilityState": "Normal", "hostNameSslStates": [ { "name": "sitef6141-staging.azurewebsites.net", - "sslState": "Disabled", - "hostType": "Standard" + "hostType": "Standard", + "sslState": "Disabled" }, { "name": "sitef6141-staging.scm.azurewebsites.net", - "sslState": "Disabled", - "hostType": "Repository" + "hostType": "Repository", + "sslState": "Disabled" } ], - "serverFarmId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/serverfarms/DefaultAsp", - "reserved": false, - "isXenon": false, + "hostNames": [ + "sitef6141-staging.azurewebsites.net" + ], + "hostNamesDisabled": false, + "httpsOnly": false, "hyperV": false, + "isXenon": false, + "keyVaultReferenceIdentity": "SystemAssigned", "lastModifiedTimeUtc": "2020-03-04T17:33:11.641Z", + "outboundIpAddresses": "70.37.102.201,20.225.43.144", "outboundVnetRouting": { "allTraffic": false, "applicationTraffic": false, + "backupRestoreTraffic": false, "contentShareTraffic": false, - "imagePullTraffic": false, - "backupRestoreTraffic": false + "imagePullTraffic": false }, + "possibleOutboundIpAddresses": "70.37.102.201,20.225.43.144,20.225.184.122,20.225.184.188", + "redundancyMode": "None", + "repositorySiteName": "sitef6141", + "reserved": false, + "resourceGroup": "testrg123", + "scmSiteAlsoStopped": false, + "serverFarmId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/serverfarms/DefaultAsp", "siteConfig": { - "numberOfWorkers": 1, + "acrUseManagedIdentityCreds": false, + "alwaysOn": false, + "appCommandLine": "", + "autoHealEnabled": false, + "azureStorageAccounts": {}, "defaultDocuments": [ "Default.htm", "Default.html", @@ -72,112 +88,111 @@ "index.php", "hostingstart.html" ], + "detailedErrorLoggingEnabled": false, + "ftpsState": "AllAllowed", + "functionAppScaleLimit": 0, + "functionsRuntimeScaleMonitoringEnabled": false, + "http20Enabled": false, + "httpLoggingEnabled": false, + "linuxFxVersion": "", + "loadBalancing": "LeastRequests", + "logsDirectorySizeLimit": 35, + "managedPipelineMode": "Integrated", + "minTlsVersion": "1.2", + "minimumElasticInstanceCount": 0, "netFrameworkVersion": "v4.0", - "phpVersion": "5.6", - "pythonVersion": "", "nodeVersion": "", + "numberOfWorkers": 1, + "phpVersion": "5.6", "powerShellVersion": "", - "linuxFxVersion": "", - "requestTracingEnabled": false, + "pythonVersion": "", "remoteDebuggingEnabled": false, - "httpLoggingEnabled": false, - "acrUseManagedIdentityCreds": false, - "logsDirectorySizeLimit": 35, - "detailedErrorLoggingEnabled": false, + "requestTracingEnabled": false, + "scmMinTlsVersion": "1.2", "use32BitWorkerProcess": true, - "webSocketsEnabled": false, - "alwaysOn": false, - "appCommandLine": "", - "managedPipelineMode": "Integrated", "virtualApplications": [ { - "virtualPath": "/", "physicalPath": "site\\wwwroot", - "preloadEnabled": false + "preloadEnabled": false, + "virtualPath": "/" } ], - "loadBalancing": "LeastRequests", - "autoHealEnabled": false, "vnetName": "", - "vnetRouteAllEnabled": false, "vnetPrivatePortsCount": 0, - "http20Enabled": false, - "minTlsVersion": "1.2", - "scmMinTlsVersion": "1.2", - "ftpsState": "AllAllowed", - "functionAppScaleLimit": 0, - "functionsRuntimeScaleMonitoringEnabled": false, - "minimumElasticInstanceCount": 0, - "azureStorageAccounts": {} + "vnetRouteAllEnabled": false, + "webSocketsEnabled": false }, - "scmSiteAlsoStopped": false, - "clientAffinityEnabled": true, - "clientCertEnabled": false, - "clientCertMode": "Required", - "hostNamesDisabled": false, - "customDomainVerificationId": "7F3BB652450EF7AD0B6AA33064586E4A9CE823A46DF0B2EC6443A68086E84153", - "outboundIpAddresses": "70.37.102.201,20.225.43.144", - "possibleOutboundIpAddresses": "70.37.102.201,20.225.43.144,20.225.184.122,20.225.184.188", - "containerSize": 0, - "dailyMemoryTimeQuota": 0, - "resourceGroup": "testrg123", - "defaultHostName": "sitef6141.azurewebsites.net", - "httpsOnly": false, - "redundancyMode": "None", + "state": "Running", "storageAccountRequired": false, - "keyVaultReferenceIdentity": "SystemAssigned" + "usageState": "Normal" } - } + }, + "headers": {} }, "202": { - "headers": { - "azure-asyncoperation": "https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/providers/Microsoft.Web/sites/sitef6141/operationResults/62e4d893-d233-4005-988e-a428d9f77076?api-version=2025-03-01" - }, "body": { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/sitef6141/slots/staging", "name": "sitef6141/staging", "type": "Microsoft.Web/sites/slots", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/sitef6141/slots/staging", "kind": "app", "location": "East US", "properties": { - "state": "Running", - "hostNames": [ - "sitef6141-staging.azurewebsites.net" - ], - "repositorySiteName": "sitef6141", - "usageState": "Normal", + "availabilityState": "Normal", + "clientAffinityEnabled": true, + "clientAffinityProxyEnabled": true, + "clientCertEnabled": false, + "clientCertMode": "Required", + "containerSize": 0, + "customDomainVerificationId": "7F3BB652450EF7AD0B6AA33064586E4A9CE823A46DF0B2EC6443A68086E84153", + "dailyMemoryTimeQuota": 0, + "defaultHostName": "sitef6141-staging.azurewebsites.net", "enabled": true, "enabledHostNames": [ "sitef6141-staging.azurewebsites.net", "sitef6141-staging.scm.azurewebsites.net" ], - "availabilityState": "Normal", "hostNameSslStates": [ { "name": "sitef6141-staging.azurewebsites.net", - "sslState": "Disabled", - "hostType": "Standard" + "hostType": "Standard", + "sslState": "Disabled" }, { "name": "sitef6141-staging.scm.azurewebsites.net", - "sslState": "Disabled", - "hostType": "Repository" + "hostType": "Repository", + "sslState": "Disabled" } ], - "serverFarmId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/serverfarms/DefaultAsp", - "reserved": false, - "isXenon": false, + "hostNames": [ + "sitef6141-staging.azurewebsites.net" + ], + "hostNamesDisabled": false, + "httpsOnly": false, "hyperV": false, + "isXenon": false, + "keyVaultReferenceIdentity": "SystemAssigned", "lastModifiedTimeUtc": "2020-03-04T17:33:11.641Z", + "outboundIpAddresses": "70.37.102.201,20.225.43.144", "outboundVnetRouting": { "allTraffic": false, "applicationTraffic": false, + "backupRestoreTraffic": false, "contentShareTraffic": false, - "imagePullTraffic": false, - "backupRestoreTraffic": false + "imagePullTraffic": false }, + "possibleOutboundIpAddresses": "70.37.102.201,20.225.43.144,20.225.184.122,20.225.184.188", + "redundancyMode": "None", + "repositorySiteName": "sitef6141", + "reserved": false, + "resourceGroup": "testrg123", + "scmSiteAlsoStopped": false, + "serverFarmId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/serverfarms/DefaultAsp", "siteConfig": { - "numberOfWorkers": 1, + "acrUseManagedIdentityCreds": false, + "alwaysOn": false, + "appCommandLine": "", + "autoHealEnabled": false, + "azureStorageAccounts": {}, "defaultDocuments": [ "Default.htm", "Default.html", @@ -189,63 +204,50 @@ "index.php", "hostingstart.html" ], + "detailedErrorLoggingEnabled": false, + "ftpsState": "AllAllowed", + "functionAppScaleLimit": 0, + "functionsRuntimeScaleMonitoringEnabled": false, + "http20Enabled": false, + "httpLoggingEnabled": false, + "linuxFxVersion": "", + "loadBalancing": "LeastRequests", + "logsDirectorySizeLimit": 35, + "managedPipelineMode": "Integrated", + "minTlsVersion": "1.2", + "minimumElasticInstanceCount": 0, "netFrameworkVersion": "v4.0", - "phpVersion": "5.6", - "pythonVersion": "", "nodeVersion": "", + "numberOfWorkers": 1, + "phpVersion": "5.6", "powerShellVersion": "", - "linuxFxVersion": "", - "requestTracingEnabled": false, + "pythonVersion": "", "remoteDebuggingEnabled": false, - "httpLoggingEnabled": false, - "acrUseManagedIdentityCreds": false, - "logsDirectorySizeLimit": 35, - "detailedErrorLoggingEnabled": false, + "requestTracingEnabled": false, + "scmMinTlsVersion": "1.2", "use32BitWorkerProcess": true, - "webSocketsEnabled": false, - "alwaysOn": false, - "appCommandLine": "", - "managedPipelineMode": "Integrated", "virtualApplications": [ { - "virtualPath": "/", "physicalPath": "site\\wwwroot", - "preloadEnabled": false + "preloadEnabled": false, + "virtualPath": "/" } ], - "loadBalancing": "LeastRequests", - "autoHealEnabled": false, "vnetName": "", - "vnetRouteAllEnabled": false, "vnetPrivatePortsCount": 0, - "http20Enabled": false, - "minTlsVersion": "1.2", - "scmMinTlsVersion": "1.2", - "ftpsState": "AllAllowed", - "functionAppScaleLimit": 0, - "functionsRuntimeScaleMonitoringEnabled": false, - "minimumElasticInstanceCount": 0, - "azureStorageAccounts": {} + "vnetRouteAllEnabled": false, + "webSocketsEnabled": false }, - "scmSiteAlsoStopped": false, - "clientAffinityEnabled": true, - "clientAffinityProxyEnabled": true, - "clientCertEnabled": false, - "clientCertMode": "Required", - "hostNamesDisabled": false, - "customDomainVerificationId": "7F3BB652450EF7AD0B6AA33064586E4A9CE823A46DF0B2EC6443A68086E84153", - "outboundIpAddresses": "70.37.102.201,20.225.43.144", - "possibleOutboundIpAddresses": "70.37.102.201,20.225.43.144,20.225.184.122,20.225.184.188", - "containerSize": 0, - "dailyMemoryTimeQuota": 0, - "resourceGroup": "testrg123", - "defaultHostName": "sitef6141-staging.azurewebsites.net", - "httpsOnly": false, - "redundancyMode": "None", + "state": "Running", "storageAccountRequired": false, - "keyVaultReferenceIdentity": "SystemAssigned" + "usageState": "Normal" } + }, + "headers": { + "azure-asyncoperation": "https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/providers/Microsoft.Web/sites/sitef6141/operationResults/62e4d893-d233-4005-988e-a428d9f77076?api-version=2025-03-01" } } - } + }, + "operationId": "WebApps_CreateOrUpdateSlot", + "title": "Create or Update Web App Slot" } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/CreateUserRolesInvitationLink.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/CreateUserRolesInvitationLink.json index f00cb9a5bdac..8a684564ae49 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/CreateUserRolesInvitationLink.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/CreateUserRolesInvitationLink.json @@ -1,28 +1,30 @@ { "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "rg", "name": "testStaticSite0", "api-version": "2025-03-01", + "resourceGroupName": "rg", "staticSiteUserRolesInvitationEnvelope": { "properties": { "domain": "happy-sea-15afae3e.azurestaticwebsites.net", + "numHoursToExpiration": 1, "provider": "aad", - "userDetails": "username", "roles": "admin,contributor", - "numHoursToExpiration": 1 + "userDetails": "username" } - } + }, + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" }, "responses": { "200": { - "headers": {}, "body": { "properties": { - "invitationUrl": "https://happy-sea-15afae3e.azurestaticwebsites.net?invite=asdf", - "expiresOn": "2020-02-28T16:53:56.211Z" + "expiresOn": "2020-02-28T16:53:56.211Z", + "invitationUrl": "https://happy-sea-15afae3e.azurestaticwebsites.net?invite=asdf" } - } + }, + "headers": {} } - } + }, + "operationId": "StaticSites_CreateUserRolesInvitationLink", + "title": "Create an invitation link for a user for a static site" } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/DeleteAppServicePlan.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/DeleteAppServicePlan.json index a1a0ad256279..11866183298f 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/DeleteAppServicePlan.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/DeleteAppServicePlan.json @@ -1,12 +1,14 @@ { "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "testrg123", "name": "testsf6141", - "api-version": "2025-03-01" + "api-version": "2025-03-01", + "resourceGroupName": "testrg123", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" }, "responses": { "200": {}, "204": {} - } + }, + "operationId": "AppServicePlans_Delete", + "title": "Delete App Service plan" } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/DeleteAseCustomDnsSuffixConfiguration.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/DeleteAseCustomDnsSuffixConfiguration.json index cea27a4b0a5a..76e18ed4cf46 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/DeleteAseCustomDnsSuffixConfiguration.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/DeleteAseCustomDnsSuffixConfiguration.json @@ -1,18 +1,20 @@ { "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "test-rg", "name": "test-ase", - "api-version": "2025-03-01" + "api-version": "2025-03-01", + "resourceGroupName": "test-rg", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" }, "responses": { "200": { - "headers": {}, - "body": {} + "body": {}, + "headers": {} }, "204": { - "headers": {}, - "body": {} + "body": {}, + "headers": {} } - } + }, + "operationId": "AppServiceEnvironments_DeleteAseCustomDnsSuffixConfiguration", + "title": "Delete ASE custom DNS suffix configuration" } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/DeleteCertificate.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/DeleteCertificate.json index 9dfa9c594ba3..87c4269b34bf 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/DeleteCertificate.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/DeleteCertificate.json @@ -1,12 +1,14 @@ { "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "testrg123", "name": "testc6282", - "api-version": "2025-03-01" + "api-version": "2025-03-01", + "resourceGroupName": "testrg123", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" }, "responses": { "200": {}, "204": {} - } + }, + "operationId": "Certificates_Delete", + "title": "Delete Certificate" } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/DeleteDeployWorkflowArtifacts.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/DeleteDeployWorkflowArtifacts.json index a87a0d26b200..c0d2faf6fae5 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/DeleteDeployWorkflowArtifacts.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/DeleteDeployWorkflowArtifacts.json @@ -1,9 +1,9 @@ { "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "testrg123", "name": "testsite2", "api-version": "2025-03-01", + "resourceGroupName": "testrg123", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", "workflowArtifacts": { "filesToDelete": [ "test/workflow.json", @@ -13,5 +13,7 @@ }, "responses": { "200": {} - } + }, + "operationId": "WebApps_DeployWorkflowArtifacts", + "title": "Delete workflow artifacts" } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/DeleteSiteCertificate.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/DeleteSiteCertificate.json index d809a2d8b74a..2b2d9f4fb9a4 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/DeleteSiteCertificate.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/DeleteSiteCertificate.json @@ -1,13 +1,15 @@ { "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "testrg123", "name": "testSiteName", + "api-version": "2025-03-01", "certificateName": "testc6282", - "api-version": "2025-03-01" + "resourceGroupName": "testrg123", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" }, "responses": { "200": {}, "204": {} - } + }, + "operationId": "SiteCertificates_Delete", + "title": "Delete Certificate" } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/DeleteSiteCertificateSlot.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/DeleteSiteCertificateSlot.json index 5feea8ff9733..8c41761792a0 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/DeleteSiteCertificateSlot.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/DeleteSiteCertificateSlot.json @@ -1,14 +1,16 @@ { "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "testrg123", "name": "testSiteName", - "slot": "staging", + "api-version": "2025-03-01", "certificateName": "testc6282", - "api-version": "2025-03-01" + "resourceGroupName": "testrg123", + "slot": "staging", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" }, "responses": { "200": {}, "204": {} - } + }, + "operationId": "SiteCertificates_DeleteSlot", + "title": "Delete Certificate for slot" } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/DeleteSitePrivateEndpointConnection.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/DeleteSitePrivateEndpointConnection.json index 8ed3d812ae42..a0c67b232b71 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/DeleteSitePrivateEndpointConnection.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/DeleteSitePrivateEndpointConnection.json @@ -1,23 +1,25 @@ { "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "rg", "name": "testSite", + "api-version": "2025-03-01", "privateEndpointConnectionName": "connection", - "api-version": "2025-03-01" + "resourceGroupName": "rg", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" }, "responses": { "200": { "body": {} }, "202": { + "body": {}, "headers": { "azure-asyncoperation": "https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/providers/Microsoft.Web/locations/westus2/operationResults/62e4d893-d233-4005-988e-a428d9f77076?api-version=2019-01-01" - }, - "body": {} + } }, "204": { "body": {} } - } + }, + "operationId": "WebApps_DeletePrivateEndpointConnection", + "title": "Delete a private endpoint connection for a site." } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/DeleteSitePrivateEndpointConnectionSlot.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/DeleteSitePrivateEndpointConnectionSlot.json index 40312431b49c..1ea850105774 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/DeleteSitePrivateEndpointConnectionSlot.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/DeleteSitePrivateEndpointConnectionSlot.json @@ -1,24 +1,26 @@ { "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "rg", "name": "testSite", - "slot": "stage", + "api-version": "2025-03-01", "privateEndpointConnectionName": "connection", - "api-version": "2025-03-01" + "resourceGroupName": "rg", + "slot": "stage", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" }, "responses": { "200": { "body": {} }, "202": { + "body": {}, "headers": { "azure-asyncoperation": "https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/providers/Microsoft.Web/locations/westus2/operationResults/62e4d893-d233-4005-988e-a428d9f77076?api-version=2019-01-01" - }, - "body": {} + } }, "204": { "body": {} } - } + }, + "operationId": "WebApps_DeletePrivateEndpointConnectionSlot", + "title": "Delete a private endpoint connection for a site." } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/DeleteSitePrivateEndpointConnection_StaticSites.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/DeleteSitePrivateEndpointConnection_StaticSites.json new file mode 100644 index 000000000000..a7e06cb4b68d --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/DeleteSitePrivateEndpointConnection_StaticSites.json @@ -0,0 +1,25 @@ +{ + "parameters": { + "name": "testSite", + "api-version": "2025-03-01", + "privateEndpointConnectionName": "connection", + "resourceGroupName": "rg", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": {} + }, + "202": { + "body": {}, + "headers": { + "azure-asyncoperation": "https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/providers/Microsoft.Web/locations/westus2/operationResults/62e4d893-d233-4005-988e-a428d9f77076?api-version=2019-01-01" + } + }, + "204": { + "body": {} + } + }, + "operationId": "StaticSites_DeletePrivateEndpointConnection", + "title": "Delete a private endpoint connection for a site." +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/DeleteStaticSite.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/DeleteStaticSite.json index 20aa19422110..476c31ff890d 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/DeleteStaticSite.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/DeleteStaticSite.json @@ -1,9 +1,9 @@ { "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "rg", "name": "testStaticSite0", - "api-version": "2025-03-01" + "api-version": "2025-03-01", + "resourceGroupName": "rg", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" }, "responses": { "200": {}, @@ -12,5 +12,7 @@ "azure-asyncoperation": "https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/providers/Microsoft.Web/locations/westus2/operationResults/62e4d893-d233-4005-988e-a428d9f77076?api-version=2019-01-01" } } - } + }, + "operationId": "StaticSites_DeleteStaticSite", + "title": "Delete a static site" } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/DeleteStaticSiteBuild.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/DeleteStaticSiteBuild.json index 83e009757f24..ac5f26549648 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/DeleteStaticSiteBuild.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/DeleteStaticSiteBuild.json @@ -1,18 +1,20 @@ { "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "rg", "name": "testStaticSite0", + "api-version": "2025-03-01", "environmentName": "12", - "api-version": "2025-03-01" + "resourceGroupName": "rg", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" }, "responses": { "200": {}, - "204": {}, "202": { "headers": { "azure-asyncoperation": "https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/providers/Microsoft.Web/locations/westus2/operationResults/62e4d893-d233-4005-988e-a428d9f77076?api-version=2019-01-01" } - } - } + }, + "204": {} + }, + "operationId": "StaticSites_DeleteStaticSiteBuild", + "title": "Delete a static site build" } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/DeleteStaticSiteBuildDatabaseConnection.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/DeleteStaticSiteBuildDatabaseConnection.json index 25874b921cd0..2bf865daa43c 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/DeleteStaticSiteBuildDatabaseConnection.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/DeleteStaticSiteBuildDatabaseConnection.json @@ -1,13 +1,16 @@ { "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "rg", "name": "testStaticSite0", - "environmentName": "default", + "api-version": "2025-03-01", "databaseConnectionName": "default", - "api-version": "2025-03-01" + "environmentName": "default", + "resourceGroupName": "rg", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" }, "responses": { + "200": {}, "204": {} - } + }, + "operationId": "StaticSites_DeleteBuildDatabaseConnection", + "title": "Delete a database connection from a static site build." } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/DeleteStaticSiteCustomDomain.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/DeleteStaticSiteCustomDomain.json index ab5ebc240209..8931cc56736d 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/DeleteStaticSiteCustomDomain.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/DeleteStaticSiteCustomDomain.json @@ -1,10 +1,10 @@ { "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "rg", "name": "testStaticSite0", + "api-version": "2025-03-01", "domainName": "custom.domain.net", - "api-version": "2025-03-01" + "resourceGroupName": "rg", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" }, "responses": { "200": {}, @@ -13,5 +13,7 @@ "azure-asyncoperation": "https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/providers/Microsoft.Web/locations/westus2/operationResults/62e4d893-d233-4005-988e-a428d9f77076?api-version=2019-01-01" } } - } + }, + "operationId": "StaticSites_DeleteStaticSiteCustomDomain", + "title": "Delete a custom domain for a static site" } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/DeleteStaticSiteDatabaseConnection.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/DeleteStaticSiteDatabaseConnection.json index 57e661fb7d8f..c16516169ddb 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/DeleteStaticSiteDatabaseConnection.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/DeleteStaticSiteDatabaseConnection.json @@ -1,12 +1,15 @@ { "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "rg", "name": "testStaticSite0", + "api-version": "2025-03-01", "databaseConnectionName": "default", - "api-version": "2025-03-01" + "resourceGroupName": "rg", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" }, "responses": { + "200": {}, "204": {} - } + }, + "operationId": "StaticSites_DeleteDatabaseConnection", + "title": "Delete a database connection from a static site." } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/DeleteStaticSiteUser.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/DeleteStaticSiteUser.json index cc9dff561a78..a5f23dd2f3b6 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/DeleteStaticSiteUser.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/DeleteStaticSiteUser.json @@ -1,13 +1,15 @@ { "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "rg", "name": "testStaticSite0", + "api-version": "2025-03-01", "authprovider": "aad", - "userid": "1234", - "api-version": "2025-03-01" + "resourceGroupName": "rg", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "userid": "1234" }, "responses": { "200": {} - } + }, + "operationId": "StaticSites_DeleteStaticSiteUser", + "title": "Delete a user for a static site" } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/DeleteWebApp.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/DeleteWebApp.json index 781467512297..85503098f2e8 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/DeleteWebApp.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/DeleteWebApp.json @@ -1,13 +1,15 @@ { "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "testrg123", "name": "sitef6141", - "api-version": "2025-03-01" + "api-version": "2025-03-01", + "resourceGroupName": "testrg123", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" }, "responses": { "200": {}, "204": {}, "404": {} - } + }, + "operationId": "WebApps_Delete", + "title": "Delete Web app" } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/DeleteWebAppBackup.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/DeleteWebAppBackup.json index ccec6cd39f82..83d23f4a865a 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/DeleteWebAppBackup.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/DeleteWebAppBackup.json @@ -1,13 +1,15 @@ { "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "testrg123", "name": "sitef6141", + "api-version": "2025-03-01", "backupId": "12345", - "api-version": "2025-03-01" + "resourceGroupName": "testrg123", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" }, "responses": { "200": {}, "404": {} - } + }, + "operationId": "WebApps_DeleteBackup", + "title": "Delete web app backup" } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/DeleteWebAppSlot.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/DeleteWebAppSlot.json index 005477a84930..b9441612a79e 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/DeleteWebAppSlot.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/DeleteWebAppSlot.json @@ -1,14 +1,16 @@ { "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "testrg123", "name": "sitef6141", + "api-version": "2025-03-01", + "resourceGroupName": "testrg123", "slot": "staging", - "api-version": "2025-03-01" + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" }, "responses": { "200": {}, "204": {}, "404": {} - } + }, + "operationId": "WebApps_DeleteSlot", + "title": "Delete Web App Slot" } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/DetachStaticSite.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/DetachStaticSite.json index 20aa19422110..2a4d856b326d 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/DetachStaticSite.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/DetachStaticSite.json @@ -1,9 +1,9 @@ { "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "rg", "name": "testStaticSite0", - "api-version": "2025-03-01" + "api-version": "2025-03-01", + "resourceGroupName": "rg", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" }, "responses": { "200": {}, @@ -12,5 +12,7 @@ "azure-asyncoperation": "https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/providers/Microsoft.Web/locations/westus2/operationResults/62e4d893-d233-4005-988e-a428d9f77076?api-version=2019-01-01" } } - } + }, + "operationId": "StaticSites_DetachStaticSite", + "title": "Detach a static site" } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/DetachUserProvidedFunctionAppFromStaticSite.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/DetachUserProvidedFunctionAppFromStaticSite.json index b2dcf9cc0382..2f139d9282d1 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/DetachUserProvidedFunctionAppFromStaticSite.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/DetachUserProvidedFunctionAppFromStaticSite.json @@ -1,13 +1,15 @@ { "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "rg", "name": "testStaticSite0", + "api-version": "2025-03-01", "functionAppName": "testFunctionApp", - "api-version": "2025-03-01" + "resourceGroupName": "rg", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" }, "responses": { "200": {}, "204": {} - } + }, + "operationId": "StaticSites_DetachUserProvidedFunctionAppFromStaticSite", + "title": "Detach the user provided function app from the static site." } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/DetachUserProvidedFunctionAppFromStaticSiteBuild.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/DetachUserProvidedFunctionAppFromStaticSiteBuild.json index 161c8b09cf22..a6267bf6c031 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/DetachUserProvidedFunctionAppFromStaticSiteBuild.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/DetachUserProvidedFunctionAppFromStaticSiteBuild.json @@ -1,14 +1,16 @@ { "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "rg", "name": "testStaticSite0", + "api-version": "2025-03-01", "environmentName": "12", "functionAppName": "testFunctionApp", - "api-version": "2025-03-01" + "resourceGroupName": "rg", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" }, "responses": { "200": {}, "204": {} - } + }, + "operationId": "StaticSites_DetachUserProvidedFunctionAppFromStaticSiteBuild", + "title": "Detach the user provided function app from the static site build." } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/Diagnostics_ExecuteSiteAnalysis.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/Diagnostics_ExecuteSiteAnalysis.json index 470bc9d50972..0c0a3b489087 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/Diagnostics_ExecuteSiteAnalysis.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/Diagnostics_ExecuteSiteAnalysis.json @@ -1,32 +1,27 @@ { "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "analysisName": "apprestartanalyses", + "api-version": "2025-03-01", + "diagnosticCategory": "availability", "resourceGroupName": "Sample-WestUSResourceGroup", "siteName": "SampleApp", "slot": "Production", - "diagnosticCategory": "availability", - "analysisName": "apprestartanalyses", - "api-version": "2025-03-01" + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" }, "responses": { "200": { "body": { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/Sample-WestUSResourceGroup/providers/Microsoft.Web/sites/SampleApp/diagnostics/availability/analyses/apprestartanalyses", "name": "apprestartanalysis", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/Sample-WestUSResourceGroup/providers/Microsoft.Web/sites/SampleApp/diagnostics/availability/analyses/apprestartanalyses", "properties": { - "startTime": "2017-11-05T22:50:00Z", - "endTime": "2017-11-06T22:50:00Z", "abnormalTimePeriods": [ { - "startTime": "2017-11-05T22:50:00Z", "endTime": "2017-11-06T22:50:00Z", "events": [ { - "startTime": "2017-11-06T22:21:50Z", + "type": "ServiceIncident", "endTime": "2017-11-06T22:21:48Z", "message": "Your application process was restarted as application environment variables changed. This can most likely occur due to update in app settings or swap operation. This event occurred multiple times during the day.", - "source": null, - "priority": 0, "metaData": [ [ { @@ -39,88 +34,95 @@ } ] ], - "type": "ServiceIncident", - "solutions": [] + "priority": 0, + "solutions": [], + "source": null, + "startTime": "2017-11-06T22:21:50Z" } ], - "solutions": [] + "solutions": [], + "startTime": "2017-11-05T22:50:00Z" } ], + "endTime": "2017-11-06T22:50:00Z", + "nonCorrelatedDetectors": [], "payload": [ { - "source": "workerprocessrecycle", + "data": [], + "detectorMetaData": null, "metrics": [ { "name": "All Application Stop Events", - "unit": null, - "startTime": "2017-11-05T22:50:00Z", "endTime": "2017-11-06T22:50:00Z", + "startTime": "2017-11-05T22:50:00Z", "timeGrain": "00:05:00", + "unit": null, "values": [ { - "timestamp": "2017-11-06T00:00:00Z", "roleInstance": "RD00155D3C15BE", + "timestamp": "2017-11-06T00:00:00Z", "total": 2 }, { + "isAggregated": true, "timestamp": "2017-11-06T00:00:00Z", - "total": 2, - "isAggregated": true + "total": 2 }, { - "timestamp": "2017-11-06T00:10:00Z", "roleInstance": "RD00155D3C15C1", + "timestamp": "2017-11-06T00:10:00Z", "total": 2 }, { - "timestamp": "2017-11-06T00:10:00Z", "roleInstance": "RD00155D3BE0FB", + "timestamp": "2017-11-06T00:10:00Z", "total": 2 }, { + "isAggregated": true, "timestamp": "2017-11-06T00:10:00Z", - "total": 4, - "isAggregated": true + "total": 4 } ] }, { "name": "User Events", - "unit": "", - "startTime": "2017-11-05T22:50:00Z", "endTime": "2017-11-06T22:50:00Z", + "startTime": "2017-11-05T22:50:00Z", "timeGrain": "00:05:00", + "unit": "", "values": [ { + "isAggregated": true, "timestamp": "2017-11-06T22:20:00Z", - "total": 3, - "isAggregated": true + "total": 3 }, { - "timestamp": "2017-11-06T22:20:00Z", "roleInstance": "RD00155D3C09FC", + "timestamp": "2017-11-06T22:20:00Z", "total": 1 }, { - "timestamp": "2017-11-06T22:20:00Z", "roleInstance": "RD00155D3C2ADC", + "timestamp": "2017-11-06T22:20:00Z", "total": 1 }, { - "timestamp": "2017-11-06T22:20:00Z", "roleInstance": "RD00155D3C214E", + "timestamp": "2017-11-06T22:20:00Z", "total": 1 } ] } ], - "data": [], - "detectorMetaData": null + "source": "workerprocessrecycle" } ], - "nonCorrelatedDetectors": [] + "startTime": "2017-11-05T22:50:00Z" } } } - } + }, + "operationId": "Diagnostics_ExecuteSiteAnalysis", + "title": "Execute site analysis" } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/Diagnostics_ExecuteSiteAnalysisSlot.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/Diagnostics_ExecuteSiteAnalysisSlot.json index a4c0b84e126e..9bae41a22ad7 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/Diagnostics_ExecuteSiteAnalysisSlot.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/Diagnostics_ExecuteSiteAnalysisSlot.json @@ -1,32 +1,27 @@ { "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "analysisName": "apprestartanalyses", + "api-version": "2025-03-01", + "diagnosticCategory": "availability", "resourceGroupName": "Sample-WestUSResourceGroup", "siteName": "SampleApp", "slot": "staging", - "diagnosticCategory": "availability", - "analysisName": "apprestartanalyses", - "api-version": "2025-03-01" + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" }, "responses": { "200": { "body": { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/Sample-WestUSResourceGroup/providers/Microsoft.Web/sites/SampleApp/slots/staging/diagnostics/availability/analyses/apprestartanalyses", "name": "apprestartanalysis", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/Sample-WestUSResourceGroup/providers/Microsoft.Web/sites/SampleApp/slots/staging/diagnostics/availability/analyses/apprestartanalyses", "properties": { - "startTime": "2017-11-05T22:50:00Z", - "endTime": "2017-11-06T22:50:00Z", "abnormalTimePeriods": [ { - "startTime": "2017-11-05T22:50:00Z", "endTime": "2017-11-06T22:50:00Z", "events": [ { - "startTime": "2017-11-06T22:21:50Z", + "type": "ServiceIncident", "endTime": "2017-11-06T22:21:48Z", "message": "Your application process was restarted as application environment variables changed. This can most likely occur due to update in app settings or swap operation. This event occurred multiple times during the day.", - "source": null, - "priority": 0, "metaData": [ [ { @@ -39,88 +34,95 @@ } ] ], - "type": "ServiceIncident", - "solutions": [] + "priority": 0, + "solutions": [], + "source": null, + "startTime": "2017-11-06T22:21:50Z" } ], - "solutions": [] + "solutions": [], + "startTime": "2017-11-05T22:50:00Z" } ], + "endTime": "2017-11-06T22:50:00Z", + "nonCorrelatedDetectors": [], "payload": [ { - "source": "workerprocessrecycle", + "data": [], + "detectorMetaData": null, "metrics": [ { "name": "All Application Stop Events", - "unit": null, - "startTime": "2017-11-05T22:50:00Z", "endTime": "2017-11-06T22:50:00Z", + "startTime": "2017-11-05T22:50:00Z", "timeGrain": "00:05:00", + "unit": null, "values": [ { - "timestamp": "2017-11-06T00:00:00Z", "roleInstance": "RD00155D3C15BE", + "timestamp": "2017-11-06T00:00:00Z", "total": 2 }, { + "isAggregated": true, "timestamp": "2017-11-06T00:00:00Z", - "total": 2, - "isAggregated": true + "total": 2 }, { - "timestamp": "2017-11-06T00:10:00Z", "roleInstance": "RD00155D3C15C1", + "timestamp": "2017-11-06T00:10:00Z", "total": 2 }, { - "timestamp": "2017-11-06T00:10:00Z", "roleInstance": "RD00155D3BE0FB", + "timestamp": "2017-11-06T00:10:00Z", "total": 2 }, { + "isAggregated": true, "timestamp": "2017-11-06T00:10:00Z", - "total": 4, - "isAggregated": true + "total": 4 } ] }, { "name": "User Events", - "unit": "", - "startTime": "2017-11-05T22:50:00Z", "endTime": "2017-11-06T22:50:00Z", + "startTime": "2017-11-05T22:50:00Z", "timeGrain": "00:05:00", + "unit": "", "values": [ { + "isAggregated": true, "timestamp": "2017-11-06T22:20:00Z", - "total": 3, - "isAggregated": true + "total": 3 }, { - "timestamp": "2017-11-06T22:20:00Z", "roleInstance": "RD00155D3C09FC", + "timestamp": "2017-11-06T22:20:00Z", "total": 1 }, { - "timestamp": "2017-11-06T22:20:00Z", "roleInstance": "RD00155D3C2ADC", + "timestamp": "2017-11-06T22:20:00Z", "total": 1 }, { - "timestamp": "2017-11-06T22:20:00Z", "roleInstance": "RD00155D3C214E", + "timestamp": "2017-11-06T22:20:00Z", "total": 1 } ] } ], - "data": [], - "detectorMetaData": null + "source": "workerprocessrecycle" } ], - "nonCorrelatedDetectors": [] + "startTime": "2017-11-05T22:50:00Z" } } } - } + }, + "operationId": "Diagnostics_ExecuteSiteAnalysis", + "title": "Execute site slot analysis" } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/Diagnostics_ExecuteSiteAnalysisSlot_Slot.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/Diagnostics_ExecuteSiteAnalysisSlot_Slot.json new file mode 100644 index 000000000000..b9547c3dbead --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/Diagnostics_ExecuteSiteAnalysisSlot_Slot.json @@ -0,0 +1,128 @@ +{ + "parameters": { + "analysisName": "apprestartanalyses", + "api-version": "2025-03-01", + "diagnosticCategory": "availability", + "resourceGroupName": "Sample-WestUSResourceGroup", + "siteName": "SampleApp", + "slot": "staging", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": { + "name": "apprestartanalysis", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/Sample-WestUSResourceGroup/providers/Microsoft.Web/sites/SampleApp/slots/staging/diagnostics/availability/analyses/apprestartanalyses", + "properties": { + "abnormalTimePeriods": [ + { + "endTime": "2017-11-06T22:50:00Z", + "events": [ + { + "type": "ServiceIncident", + "endTime": "2017-11-06T22:21:48Z", + "message": "Your application process was restarted as application environment variables changed. This can most likely occur due to update in app settings or swap operation. This event occurred multiple times during the day.", + "metaData": [ + [ + { + "name": "feature", + "value": "auditlogs" + }, + { + "name": "displayedName", + "value": "Check Audit Logs" + } + ] + ], + "priority": 0, + "solutions": [], + "source": null, + "startTime": "2017-11-06T22:21:50Z" + } + ], + "solutions": [], + "startTime": "2017-11-05T22:50:00Z" + } + ], + "endTime": "2017-11-06T22:50:00Z", + "nonCorrelatedDetectors": [], + "payload": [ + { + "data": [], + "detectorMetaData": null, + "metrics": [ + { + "name": "All Application Stop Events", + "endTime": "2017-11-06T22:50:00Z", + "startTime": "2017-11-05T22:50:00Z", + "timeGrain": "00:05:00", + "unit": null, + "values": [ + { + "roleInstance": "RD00155D3C15BE", + "timestamp": "2017-11-06T00:00:00Z", + "total": 2 + }, + { + "isAggregated": true, + "timestamp": "2017-11-06T00:00:00Z", + "total": 2 + }, + { + "roleInstance": "RD00155D3C15C1", + "timestamp": "2017-11-06T00:10:00Z", + "total": 2 + }, + { + "roleInstance": "RD00155D3BE0FB", + "timestamp": "2017-11-06T00:10:00Z", + "total": 2 + }, + { + "isAggregated": true, + "timestamp": "2017-11-06T00:10:00Z", + "total": 4 + } + ] + }, + { + "name": "User Events", + "endTime": "2017-11-06T22:50:00Z", + "startTime": "2017-11-05T22:50:00Z", + "timeGrain": "00:05:00", + "unit": "", + "values": [ + { + "isAggregated": true, + "timestamp": "2017-11-06T22:20:00Z", + "total": 3 + }, + { + "roleInstance": "RD00155D3C09FC", + "timestamp": "2017-11-06T22:20:00Z", + "total": 1 + }, + { + "roleInstance": "RD00155D3C2ADC", + "timestamp": "2017-11-06T22:20:00Z", + "total": 1 + }, + { + "roleInstance": "RD00155D3C214E", + "timestamp": "2017-11-06T22:20:00Z", + "total": 1 + } + ] + } + ], + "source": "workerprocessrecycle" + } + ], + "startTime": "2017-11-05T22:50:00Z" + } + } + } + }, + "operationId": "Diagnostics_ExecuteSiteAnalysisSlot", + "title": "Execute site slot analysis" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/Diagnostics_ExecuteSiteAnalysis_Slot.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/Diagnostics_ExecuteSiteAnalysis_Slot.json new file mode 100644 index 000000000000..f2f846a8ef9d --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/Diagnostics_ExecuteSiteAnalysis_Slot.json @@ -0,0 +1,128 @@ +{ + "parameters": { + "analysisName": "apprestartanalyses", + "api-version": "2025-03-01", + "diagnosticCategory": "availability", + "resourceGroupName": "Sample-WestUSResourceGroup", + "siteName": "SampleApp", + "slot": "Production", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": { + "name": "apprestartanalysis", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/Sample-WestUSResourceGroup/providers/Microsoft.Web/sites/SampleApp/diagnostics/availability/analyses/apprestartanalyses", + "properties": { + "abnormalTimePeriods": [ + { + "endTime": "2017-11-06T22:50:00Z", + "events": [ + { + "type": "ServiceIncident", + "endTime": "2017-11-06T22:21:48Z", + "message": "Your application process was restarted as application environment variables changed. This can most likely occur due to update in app settings or swap operation. This event occurred multiple times during the day.", + "metaData": [ + [ + { + "name": "feature", + "value": "auditlogs" + }, + { + "name": "displayedName", + "value": "Check Audit Logs" + } + ] + ], + "priority": 0, + "solutions": [], + "source": null, + "startTime": "2017-11-06T22:21:50Z" + } + ], + "solutions": [], + "startTime": "2017-11-05T22:50:00Z" + } + ], + "endTime": "2017-11-06T22:50:00Z", + "nonCorrelatedDetectors": [], + "payload": [ + { + "data": [], + "detectorMetaData": null, + "metrics": [ + { + "name": "All Application Stop Events", + "endTime": "2017-11-06T22:50:00Z", + "startTime": "2017-11-05T22:50:00Z", + "timeGrain": "00:05:00", + "unit": null, + "values": [ + { + "roleInstance": "RD00155D3C15BE", + "timestamp": "2017-11-06T00:00:00Z", + "total": 2 + }, + { + "isAggregated": true, + "timestamp": "2017-11-06T00:00:00Z", + "total": 2 + }, + { + "roleInstance": "RD00155D3C15C1", + "timestamp": "2017-11-06T00:10:00Z", + "total": 2 + }, + { + "roleInstance": "RD00155D3BE0FB", + "timestamp": "2017-11-06T00:10:00Z", + "total": 2 + }, + { + "isAggregated": true, + "timestamp": "2017-11-06T00:10:00Z", + "total": 4 + } + ] + }, + { + "name": "User Events", + "endTime": "2017-11-06T22:50:00Z", + "startTime": "2017-11-05T22:50:00Z", + "timeGrain": "00:05:00", + "unit": "", + "values": [ + { + "isAggregated": true, + "timestamp": "2017-11-06T22:20:00Z", + "total": 3 + }, + { + "roleInstance": "RD00155D3C09FC", + "timestamp": "2017-11-06T22:20:00Z", + "total": 1 + }, + { + "roleInstance": "RD00155D3C2ADC", + "timestamp": "2017-11-06T22:20:00Z", + "total": 1 + }, + { + "roleInstance": "RD00155D3C214E", + "timestamp": "2017-11-06T22:20:00Z", + "total": 1 + } + ] + } + ], + "source": "workerprocessrecycle" + } + ], + "startTime": "2017-11-05T22:50:00Z" + } + } + } + }, + "operationId": "Diagnostics_ExecuteSiteAnalysisSlot", + "title": "Execute site analysis" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/Diagnostics_ExecuteSiteDetector.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/Diagnostics_ExecuteSiteDetector.json index 844c188d6ca5..4274a877b64b 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/Diagnostics_ExecuteSiteDetector.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/Diagnostics_ExecuteSiteDetector.json @@ -1,30 +1,32 @@ { "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "api-version": "2025-03-01", + "detectorName": "sitecrashes", + "diagnosticCategory": "availability", "resourceGroupName": "Sample-WestUSResourceGroup", "siteName": "SampleApp", "slot": "Production", - "diagnosticCategory": "availability", - "detectorName": "sitecrashes", - "api-version": "2025-03-01" + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" }, "responses": { "200": { "body": { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/Sample-WestUSResourceGroup/providers/Microsoft.Web/sites/SampleApp/diagnostics/availability/detectors/sitecrashes", "name": "sitecrashes", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/Sample-WestUSResourceGroup/providers/Microsoft.Web/sites/SampleApp/diagnostics/availability/detectors/sitecrashes", "properties": { - "startTime": "2017-11-05T22:50:00Z", - "endTime": "2017-11-06T22:50:00Z", "abnormalTimePeriods": [ { - "startTime": "2017-11-05T22:50:00Z", "endTime": "2017-11-06T22:50:00Z", - "solutions": [] + "solutions": [], + "startTime": "2017-11-05T22:50:00Z" } - ] + ], + "endTime": "2017-11-06T22:50:00Z", + "startTime": "2017-11-05T22:50:00Z" } } } - } + }, + "operationId": "Diagnostics_ExecuteSiteDetector", + "title": "Execute site detector" } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/Diagnostics_ExecuteSiteDetectorSlot.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/Diagnostics_ExecuteSiteDetectorSlot.json index ad83040fc39a..f4fea383e880 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/Diagnostics_ExecuteSiteDetectorSlot.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/Diagnostics_ExecuteSiteDetectorSlot.json @@ -1,30 +1,32 @@ { "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "api-version": "2025-03-01", + "detectorName": "sitecrashes", + "diagnosticCategory": "availability", "resourceGroupName": "Sample-WestUSResourceGroup", "siteName": "SampleApp", "slot": "staging", - "diagnosticCategory": "availability", - "detectorName": "sitecrashes", - "api-version": "2025-03-01" + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" }, "responses": { "200": { "body": { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/Sample-WestUSResourceGroup/providers/Microsoft.Web/sites/SampleApp/slots/staging/diagnostics/availability/detectors/sitecrashes", "name": "sitecrashes", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/Sample-WestUSResourceGroup/providers/Microsoft.Web/sites/SampleApp/slots/staging/diagnostics/availability/detectors/sitecrashes", "properties": { - "startTime": "2017-11-05T22:50:00Z", - "endTime": "2017-11-06T22:50:00Z", "abnormalTimePeriods": [ { - "startTime": "2017-11-05T22:50:00Z", "endTime": "2017-11-06T22:50:00Z", - "solutions": [] + "solutions": [], + "startTime": "2017-11-05T22:50:00Z" } - ] + ], + "endTime": "2017-11-06T22:50:00Z", + "startTime": "2017-11-05T22:50:00Z" } } } - } + }, + "operationId": "Diagnostics_ExecuteSiteDetector", + "title": "Execute site slot detector" } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/Diagnostics_ExecuteSiteDetectorSlot_Slot.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/Diagnostics_ExecuteSiteDetectorSlot_Slot.json new file mode 100644 index 000000000000..946e5f743487 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/Diagnostics_ExecuteSiteDetectorSlot_Slot.json @@ -0,0 +1,32 @@ +{ + "parameters": { + "api-version": "2025-03-01", + "detectorName": "sitecrashes", + "diagnosticCategory": "availability", + "resourceGroupName": "Sample-WestUSResourceGroup", + "siteName": "SampleApp", + "slot": "staging", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": { + "name": "sitecrashes", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/Sample-WestUSResourceGroup/providers/Microsoft.Web/sites/SampleApp/slots/staging/diagnostics/availability/detectors/sitecrashes", + "properties": { + "abnormalTimePeriods": [ + { + "endTime": "2017-11-06T22:50:00Z", + "solutions": [], + "startTime": "2017-11-05T22:50:00Z" + } + ], + "endTime": "2017-11-06T22:50:00Z", + "startTime": "2017-11-05T22:50:00Z" + } + } + } + }, + "operationId": "Diagnostics_ExecuteSiteDetectorSlot", + "title": "Execute site slot detector" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/Diagnostics_ExecuteSiteDetector_Slot.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/Diagnostics_ExecuteSiteDetector_Slot.json new file mode 100644 index 000000000000..c2bca36840a0 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/Diagnostics_ExecuteSiteDetector_Slot.json @@ -0,0 +1,32 @@ +{ + "parameters": { + "api-version": "2025-03-01", + "detectorName": "sitecrashes", + "diagnosticCategory": "availability", + "resourceGroupName": "Sample-WestUSResourceGroup", + "siteName": "SampleApp", + "slot": "Production", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": { + "name": "sitecrashes", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/Sample-WestUSResourceGroup/providers/Microsoft.Web/sites/SampleApp/diagnostics/availability/detectors/sitecrashes", + "properties": { + "abnormalTimePeriods": [ + { + "endTime": "2017-11-06T22:50:00Z", + "solutions": [], + "startTime": "2017-11-05T22:50:00Z" + } + ], + "endTime": "2017-11-06T22:50:00Z", + "startTime": "2017-11-05T22:50:00Z" + } + } + } + }, + "operationId": "Diagnostics_ExecuteSiteDetectorSlot", + "title": "Execute site detector" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/Diagnostics_GetHostingEnvironmentDetectorResponse.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/Diagnostics_GetHostingEnvironmentDetectorResponse.json index 2f88fb2cd99f..97589eb9b9a6 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/Diagnostics_GetHostingEnvironmentDetectorResponse.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/Diagnostics_GetHostingEnvironmentDetectorResponse.json @@ -1,50 +1,49 @@ { "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "Sample-WestUSResourceGroup", "name": "SampleAppServiceEnvironment", + "api-version": "2025-03-01", "detectorName": "runtimeavailability", - "api-version": "2025-03-01" + "resourceGroupName": "Sample-WestUSResourceGroup", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" }, "responses": { "200": { "body": { - "id": "/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/hostingEnvironments/SampleAppServiceEnvironment/detectors/runtimeavailability", "name": "runtimeavailability", + "id": "/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/hostingEnvironments/SampleAppServiceEnvironment/detectors/runtimeavailability", "properties": { - "metadata": { - "description": "This detector analyzes all the requests to all applications running on this app service environment.", - "category": "Availability and Performance" - }, "dataset": [ { + "renderingProperties": { + "description": "This detector breaks down the number of requests that your apps on this app service environment received for each status code.", + "title": "Requests by Status Code" + }, "table": { - "tableName": "Table_0", "columns": [ { "columnName": "PreciseTimeStamp", - "dataType": "DateTime", - "columnType": "datetime" + "columnType": "datetime", + "dataType": "DateTime" }, { "columnName": "count_Http2xx", - "dataType": "Int64", - "columnType": "long" + "columnType": "long", + "dataType": "Int64" }, { "columnName": "count_Http3xx", - "dataType": "Int64", - "columnType": "long" + "columnType": "long", + "dataType": "Int64" }, { "columnName": "count_Http4xx", - "dataType": "Int64", - "columnType": "long" + "columnType": "long", + "dataType": "Int64" }, { "columnName": "count_Http5xx", - "dataType": "Int64", - "columnType": "long" + "columnType": "long", + "dataType": "Int64" } ], "rows": [ @@ -118,16 +117,19 @@ "0", "0" ] - ] - }, - "renderingProperties": { - "title": "Requests by Status Code", - "description": "This detector breaks down the number of requests that your apps on this app service environment received for each status code." + ], + "tableName": "Table_0" } } - ] + ], + "metadata": { + "description": "This detector analyzes all the requests to all applications running on this app service environment.", + "category": "Availability and Performance" + } } } } - } + }, + "operationId": "Diagnostics_GetHostingEnvironmentDetectorResponse", + "title": "Get App Service Environment Detector Responses" } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/Diagnostics_GetSiteAnalysis.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/Diagnostics_GetSiteAnalysis.json index 7c3978e81a29..03aa37f201ea 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/Diagnostics_GetSiteAnalysis.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/Diagnostics_GetSiteAnalysis.json @@ -1,22 +1,24 @@ { "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "analysisName": "appanalysis", + "api-version": "2025-03-01", + "diagnosticCategory": "availability", "resourceGroupName": "Sample-WestUSResourceGroup", "siteName": "SampleApp", - "diagnosticCategory": "availability", - "analysisName": "appanalysis", "slot": "Production", - "api-version": "2025-03-01" + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" }, "responses": { "200": { "body": { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/Sample-WestUSResourceGroup/providers/Microsoft.Web/sites/SampleApp/slots/staging/diagnostics/availability/analyses/appanalysis", "name": "appanalysis", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/Sample-WestUSResourceGroup/providers/Microsoft.Web/sites/SampleApp/slots/staging/diagnostics/availability/analyses/appanalysis", "properties": { "description": "Determine causes of availability loss as well as solutions for these problems" } } } - } + }, + "operationId": "Diagnostics_GetSiteAnalysis", + "title": "Get App Analysis" } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/Diagnostics_GetSiteAnalysisSlot.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/Diagnostics_GetSiteAnalysisSlot.json index 07caf08aef22..92a1cd070a55 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/Diagnostics_GetSiteAnalysisSlot.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/Diagnostics_GetSiteAnalysisSlot.json @@ -1,22 +1,24 @@ { "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "analysisName": "appanalysis", + "api-version": "2025-03-01", + "diagnosticCategory": "availability", "resourceGroupName": "Sample-WestUSResourceGroup", "siteName": "SampleApp", "slot": "staging", - "diagnosticCategory": "availability", - "analysisName": "appanalysis", - "api-version": "2025-03-01" + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" }, "responses": { "200": { "body": { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/Sample-WestUSResourceGroup/providers/Microsoft.Web/sites/SampleApp/slots/staging/diagnostics/availability/analyses/appanalysis", "name": "appanalysis", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/Sample-WestUSResourceGroup/providers/Microsoft.Web/sites/SampleApp/slots/staging/diagnostics/availability/analyses/appanalysis", "properties": { "description": "Determine causes of availability loss as well as solutions for these problems" } } } - } + }, + "operationId": "Diagnostics_GetSiteAnalysis", + "title": "Get App Slot Analysis" } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/Diagnostics_GetSiteAnalysisSlot_Slot.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/Diagnostics_GetSiteAnalysisSlot_Slot.json new file mode 100644 index 000000000000..c1b554067c2a --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/Diagnostics_GetSiteAnalysisSlot_Slot.json @@ -0,0 +1,24 @@ +{ + "parameters": { + "analysisName": "appanalysis", + "api-version": "2025-03-01", + "diagnosticCategory": "availability", + "resourceGroupName": "Sample-WestUSResourceGroup", + "siteName": "SampleApp", + "slot": "staging", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": { + "name": "appanalysis", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/Sample-WestUSResourceGroup/providers/Microsoft.Web/sites/SampleApp/slots/staging/diagnostics/availability/analyses/appanalysis", + "properties": { + "description": "Determine causes of availability loss as well as solutions for these problems" + } + } + } + }, + "operationId": "Diagnostics_GetSiteAnalysisSlot", + "title": "Get App Slot Analysis" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/Diagnostics_GetSiteAnalysis_Slot.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/Diagnostics_GetSiteAnalysis_Slot.json new file mode 100644 index 000000000000..8945644a2185 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/Diagnostics_GetSiteAnalysis_Slot.json @@ -0,0 +1,24 @@ +{ + "parameters": { + "analysisName": "appanalysis", + "api-version": "2025-03-01", + "diagnosticCategory": "availability", + "resourceGroupName": "Sample-WestUSResourceGroup", + "siteName": "SampleApp", + "slot": "Production", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": { + "name": "appanalysis", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/Sample-WestUSResourceGroup/providers/Microsoft.Web/sites/SampleApp/slots/staging/diagnostics/availability/analyses/appanalysis", + "properties": { + "description": "Determine causes of availability loss as well as solutions for these problems" + } + } + } + }, + "operationId": "Diagnostics_GetSiteAnalysisSlot", + "title": "Get App Analysis" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/Diagnostics_GetSiteDetector.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/Diagnostics_GetSiteDetector.json index cd4f074cc403..e571c5694f77 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/Diagnostics_GetSiteDetector.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/Diagnostics_GetSiteDetector.json @@ -1,25 +1,27 @@ { "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "api-version": "2025-03-01", + "detectorName": "sitecrashes", + "diagnosticCategory": "availability", "resourceGroupName": "Sample-WestUSResourceGroup", "siteName": "SampleApp", "slot": "Production", - "diagnosticCategory": "availability", - "detectorName": "sitecrashes", - "api-version": "2025-03-01" + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" }, "responses": { "200": { "body": { - "id": "/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/sites/BuggyBakery/diagnostics/availability/detectors/sitecrashes", "name": "sitecrashes", + "id": "/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/sites/BuggyBakery/diagnostics/availability/detectors/sitecrashes", "properties": { - "displayName": "Site Crash Events", "description": null, - "rank": 9, - "isEnabled": true + "displayName": "Site Crash Events", + "isEnabled": true, + "rank": 9 } } } - } + }, + "operationId": "Diagnostics_GetSiteDetector", + "title": "Get App Detector" } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/Diagnostics_GetSiteDetectorResponse.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/Diagnostics_GetSiteDetectorResponse.json index b475a6735039..987fd1a8a43e 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/Diagnostics_GetSiteDetectorResponse.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/Diagnostics_GetSiteDetectorResponse.json @@ -1,51 +1,50 @@ { "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "api-version": "2025-03-01", + "detectorName": "runtimeavailability", "resourceGroupName": "Sample-WestUSResourceGroup", "siteName": "SampleApp", "slot": "staging", - "detectorName": "runtimeavailability", - "api-version": "2025-03-01" + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" }, "responses": { "200": { "body": { - "id": "/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/sites/BuggyBakery/detectors/runtimeavailability", "name": "runtimeavailability", + "id": "/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/sites/BuggyBakery/detectors/runtimeavailability", "properties": { - "metadata": { - "description": "This detector analyzes the requests to your application.", - "category": "Availability and Performance" - }, "dataset": [ { + "renderingProperties": { + "description": "This detector breaks down the number of requests that your app received for each status code.", + "title": "Requests by Status Code" + }, "table": { - "tableName": "Table_0", "columns": [ { "columnName": "PreciseTimeStamp", - "dataType": "DateTime", - "columnType": "datetime" + "columnType": "datetime", + "dataType": "DateTime" }, { "columnName": "count_Http2xx", - "dataType": "Int64", - "columnType": "long" + "columnType": "long", + "dataType": "Int64" }, { "columnName": "count_Http3xx", - "dataType": "Int64", - "columnType": "long" + "columnType": "long", + "dataType": "Int64" }, { "columnName": "count_Http4xx", - "dataType": "Int64", - "columnType": "long" + "columnType": "long", + "dataType": "Int64" }, { "columnName": "count_Http5xx", - "dataType": "Int64", - "columnType": "long" + "columnType": "long", + "dataType": "Int64" } ], "rows": [ @@ -119,16 +118,19 @@ "0", "0" ] - ] - }, - "renderingProperties": { - "title": "Requests by Status Code", - "description": "This detector breaks down the number of requests that your app received for each status code." + ], + "tableName": "Table_0" } } - ] + ], + "metadata": { + "description": "This detector analyzes the requests to your application.", + "category": "Availability and Performance" + } } } } - } + }, + "operationId": "Diagnostics_GetSiteDetectorResponse", + "title": "Get App Detector Response" } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/Diagnostics_GetSiteDetectorResponseSlot.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/Diagnostics_GetSiteDetectorResponseSlot.json index e1d21e974384..30fcd98a9470 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/Diagnostics_GetSiteDetectorResponseSlot.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/Diagnostics_GetSiteDetectorResponseSlot.json @@ -1,51 +1,50 @@ { "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "api-version": "2025-03-01", + "detectorName": "runtimeavailability", "resourceGroupName": "Sample-WestUSResourceGroup", "siteName": "SampleApp", "slot": "staging", - "detectorName": "runtimeavailability", - "api-version": "2025-03-01" + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" }, "responses": { "200": { "body": { - "id": "/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/sites/BuggyBakery/slots/staging/detectors/runtimeavailability", "name": "runtimeavailability", + "id": "/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/sites/BuggyBakery/slots/staging/detectors/runtimeavailability", "properties": { - "metadata": { - "description": "This detector analyzes the requests to your application.", - "category": "Availability and Performance" - }, "dataset": [ { + "renderingProperties": { + "description": "This detector breaks down the number of requests that your app received for each status code.", + "title": "Requests by Status Code" + }, "table": { - "tableName": "Table_0", "columns": [ { "columnName": "PreciseTimeStamp", - "dataType": "DateTime", - "columnType": "datetime" + "columnType": "datetime", + "dataType": "DateTime" }, { "columnName": "count_Http2xx", - "dataType": "Int64", - "columnType": "long" + "columnType": "long", + "dataType": "Int64" }, { "columnName": "count_Http3xx", - "dataType": "Int64", - "columnType": "long" + "columnType": "long", + "dataType": "Int64" }, { "columnName": "count_Http4xx", - "dataType": "Int64", - "columnType": "long" + "columnType": "long", + "dataType": "Int64" }, { "columnName": "count_Http5xx", - "dataType": "Int64", - "columnType": "long" + "columnType": "long", + "dataType": "Int64" } ], "rows": [ @@ -119,16 +118,19 @@ "0", "0" ] - ] - }, - "renderingProperties": { - "title": "Requests by Status Code", - "description": "This detector breaks down the number of requests that your app received for each status code." + ], + "tableName": "Table_0" } } - ] + ], + "metadata": { + "description": "This detector analyzes the requests to your application.", + "category": "Availability and Performance" + } } } } - } + }, + "operationId": "Diagnostics_GetSiteDetectorResponse", + "title": "Get App Slot Detector Response" } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/Diagnostics_GetSiteDetectorResponseSlot_Slot.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/Diagnostics_GetSiteDetectorResponseSlot_Slot.json new file mode 100644 index 000000000000..1d99cb84539c --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/Diagnostics_GetSiteDetectorResponseSlot_Slot.json @@ -0,0 +1,136 @@ +{ + "parameters": { + "api-version": "2025-03-01", + "detectorName": "runtimeavailability", + "resourceGroupName": "Sample-WestUSResourceGroup", + "siteName": "SampleApp", + "slot": "staging", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": { + "name": "runtimeavailability", + "id": "/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/sites/BuggyBakery/slots/staging/detectors/runtimeavailability", + "properties": { + "dataset": [ + { + "renderingProperties": { + "description": "This detector breaks down the number of requests that your app received for each status code.", + "title": "Requests by Status Code" + }, + "table": { + "columns": [ + { + "columnName": "PreciseTimeStamp", + "columnType": "datetime", + "dataType": "DateTime" + }, + { + "columnName": "count_Http2xx", + "columnType": "long", + "dataType": "Int64" + }, + { + "columnName": "count_Http3xx", + "columnType": "long", + "dataType": "Int64" + }, + { + "columnName": "count_Http4xx", + "columnType": "long", + "dataType": "Int64" + }, + { + "columnName": "count_Http5xx", + "columnType": "long", + "dataType": "Int64" + } + ], + "rows": [ + [ + "2018-03-27T00:25:00Z", + "772705", + "0", + "0", + "0" + ], + [ + "2018-03-27T00:30:00Z", + "787069", + "0", + "0", + "0" + ], + [ + "2018-03-27T00:35:00Z", + "781627", + "0", + "1", + "0" + ], + [ + "2018-03-27T00:40:00Z", + "785017", + "0", + "0", + "0" + ], + [ + "2018-03-27T00:45:00Z", + "783518", + "0", + "0", + "0" + ], + [ + "2018-03-27T00:50:00Z", + "785783", + "0", + "0", + "0" + ], + [ + "2018-03-27T00:55:00Z", + "772874", + "0", + "0", + "0" + ], + [ + "2018-03-27T01:00:00Z", + "787162", + "0", + "0", + "0" + ], + [ + "2018-03-27T01:05:00Z", + "782036", + "0", + "0", + "0" + ], + [ + "2018-03-27T01:10:00Z", + "784642", + "0", + "0", + "0" + ] + ], + "tableName": "Table_0" + } + } + ], + "metadata": { + "description": "This detector analyzes the requests to your application.", + "category": "Availability and Performance" + } + } + } + } + }, + "operationId": "Diagnostics_GetSiteDetectorResponseSlot", + "title": "Get App Slot Detector Response" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/Diagnostics_GetSiteDetectorResponse_Slot.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/Diagnostics_GetSiteDetectorResponse_Slot.json new file mode 100644 index 000000000000..3bd1c34aece7 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/Diagnostics_GetSiteDetectorResponse_Slot.json @@ -0,0 +1,136 @@ +{ + "parameters": { + "api-version": "2025-03-01", + "detectorName": "runtimeavailability", + "resourceGroupName": "Sample-WestUSResourceGroup", + "siteName": "SampleApp", + "slot": "staging", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": { + "name": "runtimeavailability", + "id": "/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/sites/BuggyBakery/detectors/runtimeavailability", + "properties": { + "dataset": [ + { + "renderingProperties": { + "description": "This detector breaks down the number of requests that your app received for each status code.", + "title": "Requests by Status Code" + }, + "table": { + "columns": [ + { + "columnName": "PreciseTimeStamp", + "columnType": "datetime", + "dataType": "DateTime" + }, + { + "columnName": "count_Http2xx", + "columnType": "long", + "dataType": "Int64" + }, + { + "columnName": "count_Http3xx", + "columnType": "long", + "dataType": "Int64" + }, + { + "columnName": "count_Http4xx", + "columnType": "long", + "dataType": "Int64" + }, + { + "columnName": "count_Http5xx", + "columnType": "long", + "dataType": "Int64" + } + ], + "rows": [ + [ + "2018-03-27T00:25:00Z", + "772705", + "0", + "0", + "0" + ], + [ + "2018-03-27T00:30:00Z", + "787069", + "0", + "0", + "0" + ], + [ + "2018-03-27T00:35:00Z", + "781627", + "0", + "1", + "0" + ], + [ + "2018-03-27T00:40:00Z", + "785017", + "0", + "0", + "0" + ], + [ + "2018-03-27T00:45:00Z", + "783518", + "0", + "0", + "0" + ], + [ + "2018-03-27T00:50:00Z", + "785783", + "0", + "0", + "0" + ], + [ + "2018-03-27T00:55:00Z", + "772874", + "0", + "0", + "0" + ], + [ + "2018-03-27T01:00:00Z", + "787162", + "0", + "0", + "0" + ], + [ + "2018-03-27T01:05:00Z", + "782036", + "0", + "0", + "0" + ], + [ + "2018-03-27T01:10:00Z", + "784642", + "0", + "0", + "0" + ] + ], + "tableName": "Table_0" + } + } + ], + "metadata": { + "description": "This detector analyzes the requests to your application.", + "category": "Availability and Performance" + } + } + } + } + }, + "operationId": "Diagnostics_GetSiteDetectorResponseSlot", + "title": "Get App Detector Response" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/Diagnostics_GetSiteDetectorSlot.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/Diagnostics_GetSiteDetectorSlot.json index 47eec859b724..efcd8aa86d7c 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/Diagnostics_GetSiteDetectorSlot.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/Diagnostics_GetSiteDetectorSlot.json @@ -1,25 +1,27 @@ { "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "api-version": "2025-03-01", + "detectorName": "sitecrashes", + "diagnosticCategory": "availability", "resourceGroupName": "Sample-WestUSResourceGroup", "siteName": "SampleApp", "slot": "staging", - "diagnosticCategory": "availability", - "detectorName": "sitecrashes", - "api-version": "2025-03-01" + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" }, "responses": { "200": { "body": { - "id": "/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/sites/BuggyBakery/slots/staging/diagnostics/availability/detectors/sitecrashes", "name": "sitecrashes", + "id": "/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/sites/BuggyBakery/slots/staging/diagnostics/availability/detectors/sitecrashes", "properties": { - "displayName": "Site Crash Events", "description": null, - "rank": 9, - "isEnabled": true + "displayName": "Site Crash Events", + "isEnabled": true, + "rank": 9 } } } - } + }, + "operationId": "Diagnostics_GetSiteDetector", + "title": "Get App Slot Detector" } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/Diagnostics_GetSiteDetectorSlot_Slot.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/Diagnostics_GetSiteDetectorSlot_Slot.json new file mode 100644 index 000000000000..30ab05ffda20 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/Diagnostics_GetSiteDetectorSlot_Slot.json @@ -0,0 +1,27 @@ +{ + "parameters": { + "api-version": "2025-03-01", + "detectorName": "sitecrashes", + "diagnosticCategory": "availability", + "resourceGroupName": "Sample-WestUSResourceGroup", + "siteName": "SampleApp", + "slot": "staging", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": { + "name": "sitecrashes", + "id": "/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/sites/BuggyBakery/slots/staging/diagnostics/availability/detectors/sitecrashes", + "properties": { + "description": null, + "displayName": "Site Crash Events", + "isEnabled": true, + "rank": 9 + } + } + } + }, + "operationId": "Diagnostics_GetSiteDetectorSlot", + "title": "Get App Slot Detector" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/Diagnostics_GetSiteDetector_Slot.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/Diagnostics_GetSiteDetector_Slot.json new file mode 100644 index 000000000000..78b3a4884526 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/Diagnostics_GetSiteDetector_Slot.json @@ -0,0 +1,27 @@ +{ + "parameters": { + "api-version": "2025-03-01", + "detectorName": "sitecrashes", + "diagnosticCategory": "availability", + "resourceGroupName": "Sample-WestUSResourceGroup", + "siteName": "SampleApp", + "slot": "Production", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": { + "name": "sitecrashes", + "id": "/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/sites/BuggyBakery/diagnostics/availability/detectors/sitecrashes", + "properties": { + "description": null, + "displayName": "Site Crash Events", + "isEnabled": true, + "rank": 9 + } + } + } + }, + "operationId": "Diagnostics_GetSiteDetectorSlot", + "title": "Get App Detector" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/Diagnostics_GetSiteDiagnosticCategory.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/Diagnostics_GetSiteDiagnosticCategory.json index 5177a785d0f6..867804ed14a1 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/Diagnostics_GetSiteDiagnosticCategory.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/Diagnostics_GetSiteDiagnosticCategory.json @@ -1,21 +1,23 @@ { "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "api-version": "2025-03-01", + "diagnosticCategory": "availability", "resourceGroupName": "Sample-WestUSResourceGroup", "siteName": "SampleApp", "slot": "Production", - "diagnosticCategory": "availability", - "api-version": "2025-03-01" + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" }, "responses": { "200": { "body": { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/Sample-WestUSResourceGroup/providers/Microsoft.Web/sites/SampleApp/diagnostics/availability", "name": "availability", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/Sample-WestUSResourceGroup/providers/Microsoft.Web/sites/SampleApp/diagnostics/availability", "properties": { "description": "Availability and Perfomance Diagnostics" } } } - } + }, + "operationId": "Diagnostics_GetSiteDiagnosticCategory", + "title": "Get App Diagnostic Category" } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/Diagnostics_GetSiteDiagnosticCategorySlot.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/Diagnostics_GetSiteDiagnosticCategorySlot.json index 1c1d64f97291..b983dbfe5ced 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/Diagnostics_GetSiteDiagnosticCategorySlot.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/Diagnostics_GetSiteDiagnosticCategorySlot.json @@ -1,21 +1,23 @@ { "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "api-version": "2025-03-01", + "diagnosticCategory": "availability", "resourceGroupName": "Sample-WestUSResourceGroup", "siteName": "SampleApp", "slot": "staging", - "diagnosticCategory": "availability", - "api-version": "2025-03-01" + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" }, "responses": { "200": { "body": { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/Sample-WestUSResourceGroup/providers/Microsoft.Web/sites/SampleApp/diagnostics/availability", "name": "availability", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/Sample-WestUSResourceGroup/providers/Microsoft.Web/sites/SampleApp/diagnostics/availability", "properties": { "description": "Availability and Perfomance Diagnostics" } } } - } + }, + "operationId": "Diagnostics_GetSiteDiagnosticCategory", + "title": "Get App Slot Diagnostic Category" } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/Diagnostics_GetSiteDiagnosticCategorySlot_Slot.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/Diagnostics_GetSiteDiagnosticCategorySlot_Slot.json new file mode 100644 index 000000000000..bf343ef322cf --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/Diagnostics_GetSiteDiagnosticCategorySlot_Slot.json @@ -0,0 +1,23 @@ +{ + "parameters": { + "api-version": "2025-03-01", + "diagnosticCategory": "availability", + "resourceGroupName": "Sample-WestUSResourceGroup", + "siteName": "SampleApp", + "slot": "staging", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": { + "name": "availability", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/Sample-WestUSResourceGroup/providers/Microsoft.Web/sites/SampleApp/diagnostics/availability", + "properties": { + "description": "Availability and Perfomance Diagnostics" + } + } + } + }, + "operationId": "Diagnostics_GetSiteDiagnosticCategorySlot", + "title": "Get App Slot Diagnostic Category" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/Diagnostics_GetSiteDiagnosticCategory_Slot.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/Diagnostics_GetSiteDiagnosticCategory_Slot.json new file mode 100644 index 000000000000..3091e05d5baa --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/Diagnostics_GetSiteDiagnosticCategory_Slot.json @@ -0,0 +1,23 @@ +{ + "parameters": { + "api-version": "2025-03-01", + "diagnosticCategory": "availability", + "resourceGroupName": "Sample-WestUSResourceGroup", + "siteName": "SampleApp", + "slot": "Production", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": { + "name": "availability", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/Sample-WestUSResourceGroup/providers/Microsoft.Web/sites/SampleApp/diagnostics/availability", + "properties": { + "description": "Availability and Perfomance Diagnostics" + } + } + } + }, + "operationId": "Diagnostics_GetSiteDiagnosticCategorySlot", + "title": "Get App Diagnostic Category" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/Diagnostics_ListHostingEnvironmentDetectorResponses.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/Diagnostics_ListHostingEnvironmentDetectorResponses.json index 120fee6123ca..0cff5a7e7c4e 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/Diagnostics_ListHostingEnvironmentDetectorResponses.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/Diagnostics_ListHostingEnvironmentDetectorResponses.json @@ -1,27 +1,29 @@ { "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "Sample-WestUSResourceGroup", "name": "SampleAppServiceEnvironment", - "api-version": "2025-03-01" + "api-version": "2025-03-01", + "resourceGroupName": "Sample-WestUSResourceGroup", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" }, "responses": { "200": { "body": { "value": [ { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/Sample-WestUSResourceGroup/providers/Microsoft.Web/hostingEnvironments/SampleAppServiceEnvironment/detectors/runtimeavailability", "name": "runtimeavailability", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/Sample-WestUSResourceGroup/providers/Microsoft.Web/hostingEnvironments/SampleAppServiceEnvironment/detectors/runtimeavailability", "properties": { + "dataset": [], "metadata": { "description": "This detector analyzes all the requests to all applications running on this app service environment.", "category": "Availability and Performance" - }, - "dataset": [] + } } } ] } } - } + }, + "operationId": "Diagnostics_ListHostingEnvironmentDetectorResponses", + "title": "Get App Service Environment Detector Responses" } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/Diagnostics_ListSiteAnalyses.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/Diagnostics_ListSiteAnalyses.json index 76362084c9a4..295ace6369fc 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/Diagnostics_ListSiteAnalyses.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/Diagnostics_ListSiteAnalyses.json @@ -1,47 +1,47 @@ { "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "api-version": "2025-03-01", + "diagnosticCategory": "availability", "resourceGroupName": "Sample-WestUSResourceGroup", "siteName": "SampleApp", "slot": "Production", - "diagnosticCategory": "availability", - "api-version": "2025-03-01" + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" }, "responses": { "200": { "body": { "value": [ { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/Sample-WestUSResourceGroup/providers/Microsoft.Web/sites/SampleApp/diagnostics/availability/analyses/appanalysis", "name": "appanalysis", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/Sample-WestUSResourceGroup/providers/Microsoft.Web/sites/SampleApp/diagnostics/availability/analyses/appanalysis", "properties": { "description": "Determine causes of availability loss as well as solutions for these problems" } }, { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/Sample-WestUSResourceGroup/providers/Microsoft.Web/sites/SampleApp/diagnostics/availability/analyses/apprestartanalyses", "name": "apprestartanalysis", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/Sample-WestUSResourceGroup/providers/Microsoft.Web/sites/SampleApp/diagnostics/availability/analyses/apprestartanalyses", "properties": { "description": "Find the reasons that your app restarted" } }, { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/Sample-WestUSResourceGroup/providers/Microsoft.Web/sites/SampleApp/diagnostics/availability/analyses/memoryanalysis", "name": "memoryanalysis", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/Sample-WestUSResourceGroup/providers/Microsoft.Web/sites/SampleApp/diagnostics/availability/analyses/memoryanalysis", "properties": { "description": "Detect issues with memory as well as suggest ways to troubleshoot memory problems" } }, { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/Sample-WestUSResourceGroup/providers/Microsoft.Web/sites/SampleApp/diagnostics/availability/analyses/tcpconnectionsanalysis", "name": "tcpconnectionsanalysis", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/Sample-WestUSResourceGroup/providers/Microsoft.Web/sites/SampleApp/diagnostics/availability/analyses/tcpconnectionsanalysis", "properties": { "description": "Analyze port usage and find out if a high number of connections is causing problems for your web app" } }, { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/Sample-WestUSResourceGroup/providers/Microsoft.Web/sites/SampleApp/diagnostics/availability/analyses/perfanalysis", "name": "perfanalysis", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/Sample-WestUSResourceGroup/providers/Microsoft.Web/sites/SampleApp/diagnostics/availability/analyses/perfanalysis", "properties": { "description": "Determine causes of performance degredation as well as solutions for these problems" } @@ -49,5 +49,7 @@ ] } } - } + }, + "operationId": "Diagnostics_ListSiteAnalyses", + "title": "List App Analyses" } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/Diagnostics_ListSiteAnalysesSlot.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/Diagnostics_ListSiteAnalysesSlot.json index d82b35778fd9..576368fbb2fc 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/Diagnostics_ListSiteAnalysesSlot.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/Diagnostics_ListSiteAnalysesSlot.json @@ -1,47 +1,47 @@ { "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "api-version": "2025-03-01", + "diagnosticCategory": "availability", "resourceGroupName": "Sample-WestUSResourceGroup", "siteName": "SampleApp", "slot": "staging", - "diagnosticCategory": "availability", - "api-version": "2025-03-01" + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" }, "responses": { "200": { "body": { "value": [ { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/Sample-WestUSResourceGroup/providers/Microsoft.Web/sites/SampleApp/slots/staging/diagnostics/availability/analyses/appanalysis", "name": "appanalysis", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/Sample-WestUSResourceGroup/providers/Microsoft.Web/sites/SampleApp/slots/staging/diagnostics/availability/analyses/appanalysis", "properties": { "description": "Determine causes of availability loss as well as solutions for these problems" } }, { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/Sample-WestUSResourceGroup/providers/Microsoft.Web/sites/SampleApp/slots/staging/diagnostics/availability/analyses/apprestartanalyses", "name": "apprestartanalysis", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/Sample-WestUSResourceGroup/providers/Microsoft.Web/sites/SampleApp/slots/staging/diagnostics/availability/analyses/apprestartanalyses", "properties": { "description": "Find the reasons that your app restarted" } }, { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/Sample-WestUSResourceGroup/providers/Microsoft.Web/sites/SampleApp/slots/staging/diagnostics/availability/analyses/memoryanalysis", "name": "memoryanalysis", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/Sample-WestUSResourceGroup/providers/Microsoft.Web/sites/SampleApp/slots/staging/diagnostics/availability/analyses/memoryanalysis", "properties": { "description": "Detect issues with memory as well as suggest ways to troubleshoot memory problems" } }, { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/Sample-WestUSResourceGroup/providers/Microsoft.Web/sites/SampleApp/slots/staging/diagnostics/availability/analyses/tcpconnectionsanalysis", "name": "tcpconnectionsanalysis", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/Sample-WestUSResourceGroup/providers/Microsoft.Web/sites/SampleApp/slots/staging/diagnostics/availability/analyses/tcpconnectionsanalysis", "properties": { "description": "Analyze port usage and find out if a high number of connections is causing problems for your web app" } }, { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/Sample-WestUSResourceGroup/providers/Microsoft.Web/sites/SampleApp/slots/staging/diagnostics/availability/analyses/perfanalysis", "name": "perfanalysis", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/Sample-WestUSResourceGroup/providers/Microsoft.Web/sites/SampleApp/slots/staging/diagnostics/availability/analyses/perfanalysis", "properties": { "description": "Determine causes of performance degredation as well as solutions for these problems" } @@ -49,5 +49,7 @@ ] } } - } + }, + "operationId": "Diagnostics_ListSiteAnalyses", + "title": "List App Slot Analyses" } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/Diagnostics_ListSiteAnalysesSlot_Slot.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/Diagnostics_ListSiteAnalysesSlot_Slot.json new file mode 100644 index 000000000000..8a1a0895ff2b --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/Diagnostics_ListSiteAnalysesSlot_Slot.json @@ -0,0 +1,55 @@ +{ + "parameters": { + "api-version": "2025-03-01", + "diagnosticCategory": "availability", + "resourceGroupName": "Sample-WestUSResourceGroup", + "siteName": "SampleApp", + "slot": "staging", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "appanalysis", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/Sample-WestUSResourceGroup/providers/Microsoft.Web/sites/SampleApp/slots/staging/diagnostics/availability/analyses/appanalysis", + "properties": { + "description": "Determine causes of availability loss as well as solutions for these problems" + } + }, + { + "name": "apprestartanalysis", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/Sample-WestUSResourceGroup/providers/Microsoft.Web/sites/SampleApp/slots/staging/diagnostics/availability/analyses/apprestartanalyses", + "properties": { + "description": "Find the reasons that your app restarted" + } + }, + { + "name": "memoryanalysis", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/Sample-WestUSResourceGroup/providers/Microsoft.Web/sites/SampleApp/slots/staging/diagnostics/availability/analyses/memoryanalysis", + "properties": { + "description": "Detect issues with memory as well as suggest ways to troubleshoot memory problems" + } + }, + { + "name": "tcpconnectionsanalysis", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/Sample-WestUSResourceGroup/providers/Microsoft.Web/sites/SampleApp/slots/staging/diagnostics/availability/analyses/tcpconnectionsanalysis", + "properties": { + "description": "Analyze port usage and find out if a high number of connections is causing problems for your web app" + } + }, + { + "name": "perfanalysis", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/Sample-WestUSResourceGroup/providers/Microsoft.Web/sites/SampleApp/slots/staging/diagnostics/availability/analyses/perfanalysis", + "properties": { + "description": "Determine causes of performance degredation as well as solutions for these problems" + } + } + ] + } + } + }, + "operationId": "Diagnostics_ListSiteAnalysesSlot", + "title": "List App Slot Analyses" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/Diagnostics_ListSiteAnalyses_Slot.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/Diagnostics_ListSiteAnalyses_Slot.json new file mode 100644 index 000000000000..68ae22ccc4a0 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/Diagnostics_ListSiteAnalyses_Slot.json @@ -0,0 +1,55 @@ +{ + "parameters": { + "api-version": "2025-03-01", + "diagnosticCategory": "availability", + "resourceGroupName": "Sample-WestUSResourceGroup", + "siteName": "SampleApp", + "slot": "Production", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "appanalysis", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/Sample-WestUSResourceGroup/providers/Microsoft.Web/sites/SampleApp/diagnostics/availability/analyses/appanalysis", + "properties": { + "description": "Determine causes of availability loss as well as solutions for these problems" + } + }, + { + "name": "apprestartanalysis", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/Sample-WestUSResourceGroup/providers/Microsoft.Web/sites/SampleApp/diagnostics/availability/analyses/apprestartanalyses", + "properties": { + "description": "Find the reasons that your app restarted" + } + }, + { + "name": "memoryanalysis", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/Sample-WestUSResourceGroup/providers/Microsoft.Web/sites/SampleApp/diagnostics/availability/analyses/memoryanalysis", + "properties": { + "description": "Detect issues with memory as well as suggest ways to troubleshoot memory problems" + } + }, + { + "name": "tcpconnectionsanalysis", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/Sample-WestUSResourceGroup/providers/Microsoft.Web/sites/SampleApp/diagnostics/availability/analyses/tcpconnectionsanalysis", + "properties": { + "description": "Analyze port usage and find out if a high number of connections is causing problems for your web app" + } + }, + { + "name": "perfanalysis", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/Sample-WestUSResourceGroup/providers/Microsoft.Web/sites/SampleApp/diagnostics/availability/analyses/perfanalysis", + "properties": { + "description": "Determine causes of performance degredation as well as solutions for these problems" + } + } + ] + } + } + }, + "operationId": "Diagnostics_ListSiteAnalysesSlot", + "title": "List App Analyses" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/Diagnostics_ListSiteDetectorResponses.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/Diagnostics_ListSiteDetectorResponses.json index f2b461741b67..0fe5fb90bf0a 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/Diagnostics_ListSiteDetectorResponses.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/Diagnostics_ListSiteDetectorResponses.json @@ -1,28 +1,30 @@ { "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "api-version": "2025-03-01", "resourceGroupName": "Sample-WestUSResourceGroup", "siteName": "SampleApp", "slot": "staging", - "api-version": "2025-03-01" + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" }, "responses": { "200": { "body": { "value": [ { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/Sample-WestUSResourceGroup/providers/Microsoft.Web/sites/SampleApp/detectors/runtimeavailability", "name": "runtimeavailability", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/Sample-WestUSResourceGroup/providers/Microsoft.Web/sites/SampleApp/detectors/runtimeavailability", "properties": { + "dataset": [], "metadata": { "description": "This detector analyzes the requests to your application.", "category": "Availability and Performance" - }, - "dataset": [] + } } } ] } } - } + }, + "operationId": "Diagnostics_ListSiteDetectorResponses", + "title": "Get App Detector Responses" } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/Diagnostics_ListSiteDetectorResponsesSlot.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/Diagnostics_ListSiteDetectorResponsesSlot.json index 8c01e393e647..97dcb6d2589f 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/Diagnostics_ListSiteDetectorResponsesSlot.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/Diagnostics_ListSiteDetectorResponsesSlot.json @@ -1,28 +1,30 @@ { "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "api-version": "2025-03-01", "resourceGroupName": "Sample-WestUSResourceGroup", "siteName": "SampleApp", "slot": "staging", - "api-version": "2025-03-01" + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" }, "responses": { "200": { "body": { "value": [ { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/Sample-WestUSResourceGroup/providers/Microsoft.Web/sites/SampleApp/slots/staging/detectors/runtimeavailability", "name": "runtimeavailability", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/Sample-WestUSResourceGroup/providers/Microsoft.Web/sites/SampleApp/slots/staging/detectors/runtimeavailability", "properties": { + "dataset": [], "metadata": { "description": "This detector analyzes the requests to your application.", "category": "Availability and Performance" - }, - "dataset": [] + } } } ] } } - } + }, + "operationId": "Diagnostics_ListSiteDetectorResponses", + "title": "Get App Slot Detector Responses" } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/Diagnostics_ListSiteDetectorResponsesSlot_Slot.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/Diagnostics_ListSiteDetectorResponsesSlot_Slot.json new file mode 100644 index 000000000000..232587e7a1ec --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/Diagnostics_ListSiteDetectorResponsesSlot_Slot.json @@ -0,0 +1,30 @@ +{ + "parameters": { + "api-version": "2025-03-01", + "resourceGroupName": "Sample-WestUSResourceGroup", + "siteName": "SampleApp", + "slot": "staging", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "runtimeavailability", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/Sample-WestUSResourceGroup/providers/Microsoft.Web/sites/SampleApp/slots/staging/detectors/runtimeavailability", + "properties": { + "dataset": [], + "metadata": { + "description": "This detector analyzes the requests to your application.", + "category": "Availability and Performance" + } + } + } + ] + } + } + }, + "operationId": "Diagnostics_ListSiteDetectorResponsesSlot", + "title": "Get App Slot Detector Responses" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/Diagnostics_ListSiteDetectorResponses_Slot.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/Diagnostics_ListSiteDetectorResponses_Slot.json new file mode 100644 index 000000000000..c6294b5ad7d8 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/Diagnostics_ListSiteDetectorResponses_Slot.json @@ -0,0 +1,30 @@ +{ + "parameters": { + "api-version": "2025-03-01", + "resourceGroupName": "Sample-WestUSResourceGroup", + "siteName": "SampleApp", + "slot": "staging", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "runtimeavailability", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/Sample-WestUSResourceGroup/providers/Microsoft.Web/sites/SampleApp/detectors/runtimeavailability", + "properties": { + "dataset": [], + "metadata": { + "description": "This detector analyzes the requests to your application.", + "category": "Availability and Performance" + } + } + } + ] + } + } + }, + "operationId": "Diagnostics_ListSiteDetectorResponsesSlot", + "title": "Get App Detector Responses" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/Diagnostics_ListSiteDetectors.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/Diagnostics_ListSiteDetectors.json index 4966865dfdf9..1c216becd855 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/Diagnostics_ListSiteDetectors.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/Diagnostics_ListSiteDetectors.json @@ -1,198 +1,200 @@ { "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "api-version": "2025-03-01", + "diagnosticCategory": "availability", "resourceGroupName": "Sample-WestUSResourceGroup", "siteName": "SampleApp", "slot": "Production", - "diagnosticCategory": "availability", - "api-version": "2025-03-01" + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" }, "responses": { "200": { "body": { "value": [ { - "id": "/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/sites/BuggyBakery/diagnostics/availability/detectors/servicehealth", "name": "servicehealth", + "id": "/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/sites/BuggyBakery/diagnostics/availability/detectors/servicehealth", "properties": { - "displayName": "Service Health", "description": null, - "rank": 1, - "isEnabled": true + "displayName": "Service Health", + "isEnabled": true, + "rank": 1 } }, { - "id": "/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/sites/BuggyBakery/diagnostics/availability/detectors/siteswap", "name": "siteswap", + "id": "/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/sites/BuggyBakery/diagnostics/availability/detectors/siteswap", "properties": { - "displayName": "Site Swap Operations", "description": null, - "rank": 8, - "isEnabled": true + "displayName": "Site Swap Operations", + "isEnabled": true, + "rank": 8 } }, { - "id": "/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/sites/BuggyBakery/diagnostics/availability/detectors/sitecrashes", "name": "sitecrashes", + "id": "/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/sites/BuggyBakery/diagnostics/availability/detectors/sitecrashes", "properties": { - "displayName": "Site Crash Events", "description": null, - "rank": 9, - "isEnabled": true + "displayName": "Site Crash Events", + "isEnabled": true, + "rank": 9 } }, { - "id": "/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/sites/BuggyBakery/diagnostics/availability/detectors/deployment", "name": "deployment", + "id": "/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/sites/BuggyBakery/diagnostics/availability/detectors/deployment", "properties": { - "displayName": "Site Deployments", "description": null, - "rank": 7, - "isEnabled": true + "displayName": "Site Deployments", + "isEnabled": true, + "rank": 7 } }, { - "id": "/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/sites/BuggyBakery/diagnostics/availability/detectors/sitecpuanalysis", "name": "sitecpuanalysis", + "id": "/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/sites/BuggyBakery/diagnostics/availability/detectors/sitecpuanalysis", "properties": { - "displayName": "CPU Analysis", "description": null, - "rank": 3, - "isEnabled": true + "displayName": "CPU Analysis", + "isEnabled": true, + "rank": 3 } }, { - "id": "/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/sites/BuggyBakery/diagnostics/availability/detectors/sitememoryanalysis", "name": "sitememoryanalysis", + "id": "/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/sites/BuggyBakery/diagnostics/availability/detectors/sitememoryanalysis", "properties": { - "displayName": "Physical Memory Analysis", "description": null, - "rank": 3, - "isEnabled": true + "displayName": "Physical Memory Analysis", + "isEnabled": true, + "rank": 3 } }, { - "id": "/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/sites/BuggyBakery/diagnostics/availability/detectors/committedmemoryusage", "name": "committedmemoryusage", + "id": "/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/sites/BuggyBakery/diagnostics/availability/detectors/committedmemoryusage", "properties": { - "displayName": "Committed Memory Usage", "description": null, - "rank": 7, - "isEnabled": true + "displayName": "Committed Memory Usage", + "isEnabled": true, + "rank": 7 } }, { - "id": "/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/sites/BuggyBakery/diagnostics/availability/detectors/pagefileoperations", "name": "pagefileoperations", + "id": "/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/sites/BuggyBakery/diagnostics/availability/detectors/pagefileoperations", "properties": { - "displayName": "Page File Operations", "description": null, - "rank": 3, - "isEnabled": true + "displayName": "Page File Operations", + "isEnabled": true, + "rank": 3 } }, { - "id": "/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/sites/BuggyBakery/diagnostics/availability/detectors/siterestartuserinitiated", "name": "siterestartuserinitiated", + "id": "/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/sites/BuggyBakery/diagnostics/availability/detectors/siterestartuserinitiated", "properties": { - "displayName": "User Initiated Site Restarts", "description": null, - "rank": 14, - "isEnabled": true + "displayName": "User Initiated Site Restarts", + "isEnabled": true, + "rank": 14 } }, { - "id": "/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/sites/BuggyBakery/diagnostics/availability/detectors/siterestartsettingupdate", "name": "siterestartsettingupdate", + "id": "/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/sites/BuggyBakery/diagnostics/availability/detectors/siterestartsettingupdate", "properties": { - "displayName": "Config Update Site Restarts", "description": null, - "rank": 12, - "isEnabled": true + "displayName": "Config Update Site Restarts", + "isEnabled": true, + "rank": 12 } }, { - "id": "/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/sites/BuggyBakery/diagnostics/availability/detectors/frebanalysis", "name": "frebanalysis", + "id": "/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/sites/BuggyBakery/diagnostics/availability/detectors/frebanalysis", "properties": { - "displayName": "Freb Logs Analysis", "description": null, - "rank": 6, - "isEnabled": true + "displayName": "Freb Logs Analysis", + "isEnabled": true, + "rank": 6 } }, { - "id": "/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/sites/BuggyBakery/diagnostics/availability/detectors/workeravailability", "name": "workeravailability", + "id": "/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/sites/BuggyBakery/diagnostics/availability/detectors/workeravailability", "properties": { - "displayName": "Worker Availability", "description": null, - "rank": 11, - "isEnabled": true + "displayName": "Worker Availability", + "isEnabled": true, + "rank": 11 } }, { - "id": "/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/sites/BuggyBakery/diagnostics/availability/detectors/sitelatency", "name": "sitelatency", + "id": "/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/sites/BuggyBakery/diagnostics/availability/detectors/sitelatency", "properties": { - "displayName": "Site Latency", "description": null, - "rank": 1005, - "isEnabled": false + "displayName": "Site Latency", + "isEnabled": false, + "rank": 1005 } }, { - "id": "/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/sites/BuggyBakery/diagnostics/availability/detectors/threadcount", "name": "threadcount", + "id": "/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/sites/BuggyBakery/diagnostics/availability/detectors/threadcount", "properties": { - "displayName": "Thread Count", "description": null, - "rank": 23, - "isEnabled": true + "displayName": "Thread Count", + "isEnabled": true, + "rank": 23 } }, { - "id": "/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/sites/BuggyBakery/diagnostics/availability/detectors/failedrequestsperuri", "name": "failedrequestsperuri", + "id": "/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/sites/BuggyBakery/diagnostics/availability/detectors/failedrequestsperuri", "properties": { - "displayName": "Failed Requests Per URI", "description": null, - "rank": 998, - "isEnabled": true + "displayName": "Failed Requests Per URI", + "isEnabled": true, + "rank": 998 } }, { - "id": "/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/sites/BuggyBakery/diagnostics/availability/detectors/autoheal", "name": "autoheal", + "id": "/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/sites/BuggyBakery/diagnostics/availability/detectors/autoheal", "properties": { - "displayName": "AutoHeal", "description": null, - "rank": 21, - "isEnabled": true + "displayName": "AutoHeal", + "isEnabled": true, + "rank": 21 } }, { - "id": "/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/sites/BuggyBakery/diagnostics/availability/detectors/loganalyzer", "name": "loganalyzer", + "id": "/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/sites/BuggyBakery/diagnostics/availability/detectors/loganalyzer", "properties": { - "displayName": "PHP Log Analyzer", "description": null, - "rank": 26, - "isEnabled": true + "displayName": "PHP Log Analyzer", + "isEnabled": true, + "rank": 26 } }, { - "id": "/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/sites/BuggyBakery/diagnostics/availability/detectors/aspnetcore", "name": "aspnetcore", + "id": "/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/sites/BuggyBakery/diagnostics/availability/detectors/aspnetcore", "properties": { - "displayName": "ASP.NET Core", "description": null, - "rank": 5, - "isEnabled": true + "displayName": "ASP.NET Core", + "isEnabled": true, + "rank": 5 } } ] } } - } + }, + "operationId": "Diagnostics_ListSiteDetectors", + "title": "List App Detectors" } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/Diagnostics_ListSiteDetectorsSlot.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/Diagnostics_ListSiteDetectorsSlot.json index a1c0c0d5b823..e8ba0e4ee2aa 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/Diagnostics_ListSiteDetectorsSlot.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/Diagnostics_ListSiteDetectorsSlot.json @@ -1,58 +1,60 @@ { "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "api-version": "2025-03-01", + "diagnosticCategory": "availability", "resourceGroupName": "Sample-WestUSResourceGroup", "siteName": "SampleApp", "slot": "staging", - "diagnosticCategory": "availability", - "api-version": "2025-03-01" + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" }, "responses": { "200": { "body": { "value": [ { - "id": "/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/sites/BuggyBakery/slots/staging/diagnostics/availability/detectors/servicehealth", "name": "servicehealth", + "id": "/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/sites/BuggyBakery/slots/staging/diagnostics/availability/detectors/servicehealth", "properties": { - "displayName": "Service Health", "description": null, - "rank": 1, - "isEnabled": true + "displayName": "Service Health", + "isEnabled": true, + "rank": 1 } }, { - "id": "/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/sites/BuggyBakery/slots/staging/diagnostics/availability/detectors/siteswap", "name": "siteswap", + "id": "/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/sites/BuggyBakery/slots/staging/diagnostics/availability/detectors/siteswap", "properties": { - "displayName": "Site Swap Operations", "description": null, - "rank": 8, - "isEnabled": true + "displayName": "Site Swap Operations", + "isEnabled": true, + "rank": 8 } }, { - "id": "/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/sites/BuggyBakery/slots/staging/diagnostics/availability/detectors/sitecrashes", "name": "sitecrashes", + "id": "/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/sites/BuggyBakery/slots/staging/diagnostics/availability/detectors/sitecrashes", "properties": { - "displayName": "Site Crash Events", "description": null, - "rank": 9, - "isEnabled": true + "displayName": "Site Crash Events", + "isEnabled": true, + "rank": 9 } }, { - "id": "/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/sites/BuggyBakery/slots/staging/diagnostics/availability/detectors/deployment", "name": "deployment", + "id": "/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/sites/BuggyBakery/slots/staging/diagnostics/availability/detectors/deployment", "properties": { - "displayName": "Site Deployments", "description": null, - "rank": 7, - "isEnabled": true + "displayName": "Site Deployments", + "isEnabled": true, + "rank": 7 } } ] } } - } + }, + "operationId": "Diagnostics_ListSiteDetectors", + "title": "List App Slot Detectors" } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/Diagnostics_ListSiteDetectorsSlot_Slot.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/Diagnostics_ListSiteDetectorsSlot_Slot.json new file mode 100644 index 000000000000..fe17710b78fc --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/Diagnostics_ListSiteDetectorsSlot_Slot.json @@ -0,0 +1,60 @@ +{ + "parameters": { + "api-version": "2025-03-01", + "diagnosticCategory": "availability", + "resourceGroupName": "Sample-WestUSResourceGroup", + "siteName": "SampleApp", + "slot": "staging", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "servicehealth", + "id": "/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/sites/BuggyBakery/slots/staging/diagnostics/availability/detectors/servicehealth", + "properties": { + "description": null, + "displayName": "Service Health", + "isEnabled": true, + "rank": 1 + } + }, + { + "name": "siteswap", + "id": "/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/sites/BuggyBakery/slots/staging/diagnostics/availability/detectors/siteswap", + "properties": { + "description": null, + "displayName": "Site Swap Operations", + "isEnabled": true, + "rank": 8 + } + }, + { + "name": "sitecrashes", + "id": "/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/sites/BuggyBakery/slots/staging/diagnostics/availability/detectors/sitecrashes", + "properties": { + "description": null, + "displayName": "Site Crash Events", + "isEnabled": true, + "rank": 9 + } + }, + { + "name": "deployment", + "id": "/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/sites/BuggyBakery/slots/staging/diagnostics/availability/detectors/deployment", + "properties": { + "description": null, + "displayName": "Site Deployments", + "isEnabled": true, + "rank": 7 + } + } + ] + } + } + }, + "operationId": "Diagnostics_ListSiteDetectorsSlot", + "title": "List App Slot Detectors" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/Diagnostics_ListSiteDetectors_Slot.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/Diagnostics_ListSiteDetectors_Slot.json new file mode 100644 index 000000000000..3dc91b004de2 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/Diagnostics_ListSiteDetectors_Slot.json @@ -0,0 +1,200 @@ +{ + "parameters": { + "api-version": "2025-03-01", + "diagnosticCategory": "availability", + "resourceGroupName": "Sample-WestUSResourceGroup", + "siteName": "SampleApp", + "slot": "Production", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "servicehealth", + "id": "/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/sites/BuggyBakery/diagnostics/availability/detectors/servicehealth", + "properties": { + "description": null, + "displayName": "Service Health", + "isEnabled": true, + "rank": 1 + } + }, + { + "name": "siteswap", + "id": "/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/sites/BuggyBakery/diagnostics/availability/detectors/siteswap", + "properties": { + "description": null, + "displayName": "Site Swap Operations", + "isEnabled": true, + "rank": 8 + } + }, + { + "name": "sitecrashes", + "id": "/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/sites/BuggyBakery/diagnostics/availability/detectors/sitecrashes", + "properties": { + "description": null, + "displayName": "Site Crash Events", + "isEnabled": true, + "rank": 9 + } + }, + { + "name": "deployment", + "id": "/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/sites/BuggyBakery/diagnostics/availability/detectors/deployment", + "properties": { + "description": null, + "displayName": "Site Deployments", + "isEnabled": true, + "rank": 7 + } + }, + { + "name": "sitecpuanalysis", + "id": "/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/sites/BuggyBakery/diagnostics/availability/detectors/sitecpuanalysis", + "properties": { + "description": null, + "displayName": "CPU Analysis", + "isEnabled": true, + "rank": 3 + } + }, + { + "name": "sitememoryanalysis", + "id": "/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/sites/BuggyBakery/diagnostics/availability/detectors/sitememoryanalysis", + "properties": { + "description": null, + "displayName": "Physical Memory Analysis", + "isEnabled": true, + "rank": 3 + } + }, + { + "name": "committedmemoryusage", + "id": "/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/sites/BuggyBakery/diagnostics/availability/detectors/committedmemoryusage", + "properties": { + "description": null, + "displayName": "Committed Memory Usage", + "isEnabled": true, + "rank": 7 + } + }, + { + "name": "pagefileoperations", + "id": "/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/sites/BuggyBakery/diagnostics/availability/detectors/pagefileoperations", + "properties": { + "description": null, + "displayName": "Page File Operations", + "isEnabled": true, + "rank": 3 + } + }, + { + "name": "siterestartuserinitiated", + "id": "/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/sites/BuggyBakery/diagnostics/availability/detectors/siterestartuserinitiated", + "properties": { + "description": null, + "displayName": "User Initiated Site Restarts", + "isEnabled": true, + "rank": 14 + } + }, + { + "name": "siterestartsettingupdate", + "id": "/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/sites/BuggyBakery/diagnostics/availability/detectors/siterestartsettingupdate", + "properties": { + "description": null, + "displayName": "Config Update Site Restarts", + "isEnabled": true, + "rank": 12 + } + }, + { + "name": "frebanalysis", + "id": "/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/sites/BuggyBakery/diagnostics/availability/detectors/frebanalysis", + "properties": { + "description": null, + "displayName": "Freb Logs Analysis", + "isEnabled": true, + "rank": 6 + } + }, + { + "name": "workeravailability", + "id": "/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/sites/BuggyBakery/diagnostics/availability/detectors/workeravailability", + "properties": { + "description": null, + "displayName": "Worker Availability", + "isEnabled": true, + "rank": 11 + } + }, + { + "name": "sitelatency", + "id": "/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/sites/BuggyBakery/diagnostics/availability/detectors/sitelatency", + "properties": { + "description": null, + "displayName": "Site Latency", + "isEnabled": false, + "rank": 1005 + } + }, + { + "name": "threadcount", + "id": "/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/sites/BuggyBakery/diagnostics/availability/detectors/threadcount", + "properties": { + "description": null, + "displayName": "Thread Count", + "isEnabled": true, + "rank": 23 + } + }, + { + "name": "failedrequestsperuri", + "id": "/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/sites/BuggyBakery/diagnostics/availability/detectors/failedrequestsperuri", + "properties": { + "description": null, + "displayName": "Failed Requests Per URI", + "isEnabled": true, + "rank": 998 + } + }, + { + "name": "autoheal", + "id": "/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/sites/BuggyBakery/diagnostics/availability/detectors/autoheal", + "properties": { + "description": null, + "displayName": "AutoHeal", + "isEnabled": true, + "rank": 21 + } + }, + { + "name": "loganalyzer", + "id": "/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/sites/BuggyBakery/diagnostics/availability/detectors/loganalyzer", + "properties": { + "description": null, + "displayName": "PHP Log Analyzer", + "isEnabled": true, + "rank": 26 + } + }, + { + "name": "aspnetcore", + "id": "/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/sites/BuggyBakery/diagnostics/availability/detectors/aspnetcore", + "properties": { + "description": null, + "displayName": "ASP.NET Core", + "isEnabled": true, + "rank": 5 + } + } + ] + } + } + }, + "operationId": "Diagnostics_ListSiteDetectorsSlot", + "title": "List App Detectors" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/Diagnostics_ListSiteDiagnosticCategories.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/Diagnostics_ListSiteDiagnosticCategories.json index 80ecfb889850..773404b3965a 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/Diagnostics_ListSiteDiagnosticCategories.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/Diagnostics_ListSiteDiagnosticCategories.json @@ -1,18 +1,18 @@ { "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "api-version": "2025-03-01", "resourceGroupName": "Sample-WestUSResourceGroup", "siteName": "SampleApp", "slot": "Production", - "api-version": "2025-03-01" + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" }, "responses": { "200": { "body": { "value": [ { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/Sample-WestUSResourceGroup/providers/Microsoft.Web/sites/SampleApp/diagnostics/availability", "name": "availability", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/Sample-WestUSResourceGroup/providers/Microsoft.Web/sites/SampleApp/diagnostics/availability", "properties": { "description": "Availability and Perfomance Diagnostics" } @@ -20,5 +20,7 @@ ] } } - } + }, + "operationId": "Diagnostics_ListSiteDiagnosticCategories", + "title": "List App Diagnostic Categories" } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/Diagnostics_ListSiteDiagnosticCategoriesSlot.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/Diagnostics_ListSiteDiagnosticCategoriesSlot.json index d22fa1e74eaa..6d3c2a97c6df 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/Diagnostics_ListSiteDiagnosticCategoriesSlot.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/Diagnostics_ListSiteDiagnosticCategoriesSlot.json @@ -1,18 +1,18 @@ { "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "api-version": "2025-03-01", "resourceGroupName": "Sample-WestUSResourceGroup", "siteName": "SampleApp", "slot": "staging", - "api-version": "2025-03-01" + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" }, "responses": { "200": { "body": { "value": [ { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/Sample-WestUSResourceGroup/providers/Microsoft.Web/sites/SampleApp/slots/staging/diagnostics/availability", "name": "availability", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/Sample-WestUSResourceGroup/providers/Microsoft.Web/sites/SampleApp/slots/staging/diagnostics/availability", "properties": { "description": "Availability and Perfomance Diagnostics" } @@ -20,5 +20,7 @@ ] } } - } + }, + "operationId": "Diagnostics_ListSiteDiagnosticCategories", + "title": "List App Slot Diagnostic Categories" } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/Diagnostics_ListSiteDiagnosticCategoriesSlot_Slot.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/Diagnostics_ListSiteDiagnosticCategoriesSlot_Slot.json new file mode 100644 index 000000000000..feaf24e11b07 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/Diagnostics_ListSiteDiagnosticCategoriesSlot_Slot.json @@ -0,0 +1,26 @@ +{ + "parameters": { + "api-version": "2025-03-01", + "resourceGroupName": "Sample-WestUSResourceGroup", + "siteName": "SampleApp", + "slot": "staging", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "availability", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/Sample-WestUSResourceGroup/providers/Microsoft.Web/sites/SampleApp/slots/staging/diagnostics/availability", + "properties": { + "description": "Availability and Perfomance Diagnostics" + } + } + ] + } + } + }, + "operationId": "Diagnostics_ListSiteDiagnosticCategoriesSlot", + "title": "List App Slot Diagnostic Categories" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/Diagnostics_ListSiteDiagnosticCategories_Slot.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/Diagnostics_ListSiteDiagnosticCategories_Slot.json new file mode 100644 index 000000000000..cab49be50f2e --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/Diagnostics_ListSiteDiagnosticCategories_Slot.json @@ -0,0 +1,26 @@ +{ + "parameters": { + "api-version": "2025-03-01", + "resourceGroupName": "Sample-WestUSResourceGroup", + "siteName": "SampleApp", + "slot": "Production", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "availability", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/Sample-WestUSResourceGroup/providers/Microsoft.Web/sites/SampleApp/diagnostics/availability", + "properties": { + "description": "Availability and Perfomance Diagnostics" + } + } + ] + } + } + }, + "operationId": "Diagnostics_ListSiteDiagnosticCategoriesSlot", + "title": "List App Diagnostic Categories" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GenerateStaticSiteWorkflowPreview.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GenerateStaticSiteWorkflowPreview.json index 644cb62e3e4e..54c3980652b2 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GenerateStaticSiteWorkflowPreview.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GenerateStaticSiteWorkflowPreview.json @@ -1,29 +1,31 @@ { "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "location": "West US 2", "api-version": "2025-03-01", + "location": "West US 2", "staticSitesWorkflowPreviewRequest": { "properties": { - "repositoryUrl": "https://github.com/username/RepoName", "branch": "master", "buildProperties": { - "appLocation": "app", "apiLocation": "api", - "appArtifactLocation": "build" - } + "appArtifactLocation": "build", + "appLocation": "app" + }, + "repositoryUrl": "https://github.com/username/RepoName" } - } + }, + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" }, "responses": { "200": { - "headers": {}, "body": { "properties": { "path": ".github/workflows/azure-static-web-apps-.yml", "contents": "base64encodedworkflowcontentspreview" } - } + }, + "headers": {} } - } + }, + "operationId": "StaticSites_PreviewWorkflow", + "title": "Generates a preview workflow file for the static site" } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetAllStaticSites.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetAllStaticSites.json index ea55d9c78391..0ad5ac19e9ff 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetAllStaticSites.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetAllStaticSites.json @@ -1,38 +1,40 @@ { "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "api-version": "2025-03-01" + "api-version": "2025-03-01", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" }, "responses": { "200": { - "headers": {}, "body": { + "nextLink": null, "value": [ { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/staticSites/testStaticSite0", "name": "testStaticSite0", "type": "Microsoft.Web/staticSites", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/staticSites/testStaticSite0", "location": "West US 2", "properties": { - "defaultHostname": "happy-sea-15afae3e.azurestaticwebsites.net", - "repositoryUrl": "https://github.com/username/repo", + "allowConfigFileUpdates": true, "branch": "demo", - "customDomains": [], - "privateEndpointConnections": [], "contentDistributionEndpoint": "", + "customDomains": [], + "defaultHostname": "happy-sea-15afae3e.azurestaticwebsites.net", "keyVaultReferenceIdentity": "SystemAssigned", - "userProvidedFunctionApps": [], + "privateEndpointConnections": [], + "repositoryUrl": "https://github.com/username/repo", "stagingEnvironmentPolicy": "Enabled", - "allowConfigFileUpdates": true + "userProvidedFunctionApps": [] }, "sku": { "name": "Standard", "tier": "Standard" } } - ], - "nextLink": null - } + ] + }, + "headers": {} } - } + }, + "operationId": "StaticSites_List", + "title": "Get all static sites in a subscription" } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetAppServicePlan.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetAppServicePlan.json index 452a014dc23f..295f0446dd31 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetAppServicePlan.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetAppServicePlan.json @@ -1,40 +1,42 @@ { "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "testrg123", "name": "testsf6141", - "api-version": "2025-03-01" + "api-version": "2025-03-01", + "resourceGroupName": "testrg123", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" }, "responses": { "200": { - "headers": {}, "body": { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/serverfarms/testsf6141", "name": "testsf6141", "type": "Microsoft.Web/serverfarms", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/serverfarms/testsf6141", "kind": "app", "location": "East US", "properties": { - "status": "Ready", - "maximumNumberOfWorkers": 20, - "numberOfWorkers": 19, "geoRegion": "East US", - "numberOfSites": 4, "isSpot": false, + "maximumNumberOfWorkers": 20, + "numberOfSites": 4, + "numberOfWorkers": 19, + "provisioningState": "Succeeded", "reserved": false, + "status": "Ready", "targetWorkerCount": 0, - "targetWorkerSizeId": 0, - "provisioningState": "Succeeded" + "targetWorkerSizeId": 0 }, "sku": { "name": "P1", - "tier": "Premium", - "size": "P1", + "capacity": 1, "family": "P", - "capacity": 1 + "size": "P1", + "tier": "Premium" } - } + }, + "headers": {} }, "404": {} - } + }, + "operationId": "AppServicePlans_Get", + "title": "Get App Service plan" } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetAseCustomDnsSuffixConfiguration.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetAseCustomDnsSuffixConfiguration.json index b24fed47f6be..f7b299c769cd 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetAseCustomDnsSuffixConfiguration.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetAseCustomDnsSuffixConfiguration.json @@ -1,25 +1,27 @@ { "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "test-rg", "name": "test-ase", - "api-version": "2025-03-01" + "api-version": "2025-03-01", + "resourceGroupName": "test-rg", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" }, "responses": { "200": { - "headers": {}, "body": { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-rg/providers/Microsoft.Web/hostingEnvironments/test-ase/configurations/customdnssuffix", "name": "customDnsSuffix", "type": "Microsoft.Web/hostingEnvironments/configurations/customdnssuffix", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-rg/providers/Microsoft.Web/hostingEnvironments/test-ase/configurations/customdnssuffix", "properties": { - "provisioningState": "Succeeded", - "provisioningDetails": null, - "dnsSuffix": "contoso.com", "certificateUrl": "https://test-kv.vault.azure.net/secrets/contosocert", - "keyVaultReferenceIdentity": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourcegroups/test-rg/providers/microsoft.managedidentity/userassignedidentities/test-user-mi" + "dnsSuffix": "contoso.com", + "keyVaultReferenceIdentity": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourcegroups/test-rg/providers/microsoft.managedidentity/userassignedidentities/test-user-mi", + "provisioningDetails": null, + "provisioningState": "Succeeded" } - } + }, + "headers": {} } - } + }, + "operationId": "AppServiceEnvironments_GetAseCustomDnsSuffixConfiguration", + "title": "Get ASE custom DNS suffix configuration" } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetAuthSettingsV2WithoutSecrets.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetAuthSettingsV2WithoutSecrets.json index 67b8cc77b7ad..43591437c9ca 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetAuthSettingsV2WithoutSecrets.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetAuthSettingsV2WithoutSecrets.json @@ -1,43 +1,48 @@ { "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "testrg123", "name": "sitef6141", - "api-version": "2025-03-01" + "api-version": "2025-03-01", + "resourceGroupName": "testrg123", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" }, "responses": { "200": { - "headers": {}, "body": { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/sitef6141/config/authsettingsv2", "name": "authsettingsv2", "type": "Microsoft.Web/sites/authsettingsv2", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/sitef6141/config/authsettingsv2", "kind": "app", "properties": { - "platform": { - "enabled": true, - "runtimeVersion": "~1", - "configFilePath": "/auth/config.json" - }, "globalValidation": { - "requireAuthentication": true, - "unauthenticatedClientAction": "Return403", "excludedPaths": [ "/nosecrets/Path" - ] + ], + "requireAuthentication": true, + "unauthenticatedClientAction": "Return403" + }, + "httpSettings": { + "forwardProxy": { + "convention": "Standard", + "customHostHeaderName": "authHeader", + "customProtoHeaderName": "customProtoHeader" + }, + "requireHttps": true, + "routes": { + "apiPrefix": "/authv2/" + } }, "identityProviders": { "google": { "enabled": true, - "registration": { - "clientId": "42d795a9-8abb-4d06-8534-39528af40f8e.apps.googleusercontent.com", - "clientSecretSettingName": "ClientSecret" - }, "login": { "scopes": [ "admin" ] }, + "registration": { + "clientId": "42d795a9-8abb-4d06-8534-39528af40f8e.apps.googleusercontent.com", + "clientSecretSettingName": "ClientSecret" + }, "validation": { "allowedAudiences": [ "https://example.com" @@ -46,17 +51,6 @@ } }, "login": { - "routes": { - "logoutEndpoint": "https://app.com/logout" - }, - "tokenStore": { - "enabled": true, - "tokenRefreshExtensionHours": 96, - "fileSystem": { - "directory": "/wwwroot/sites/example" - } - }, - "preserveUrlFragmentsForLogins": true, "allowedExternalRedirectUrls": [ "https://someurl.com" ], @@ -66,21 +60,29 @@ }, "nonce": { "validateNonce": true - } - }, - "httpSettings": { - "requireHttps": true, + }, + "preserveUrlFragmentsForLogins": true, "routes": { - "apiPrefix": "/authv2/" + "logoutEndpoint": "https://app.com/logout" }, - "forwardProxy": { - "convention": "Standard", - "customHostHeaderName": "authHeader", - "customProtoHeaderName": "customProtoHeader" + "tokenStore": { + "enabled": true, + "fileSystem": { + "directory": "/wwwroot/sites/example" + }, + "tokenRefreshExtensionHours": 96 } + }, + "platform": { + "configFilePath": "/auth/config.json", + "enabled": true, + "runtimeVersion": "~1" } } - } + }, + "headers": {} } - } + }, + "operationId": "WebApps_GetAuthSettingsV2WithoutSecrets", + "title": "List Auth Settings without Secrets" } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetCertificate.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetCertificate.json index f8a17d603fd7..6ab059d5bd2f 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetCertificate.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetCertificate.json @@ -1,30 +1,32 @@ { "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "testrg123", "name": "testc6282", - "api-version": "2025-03-01" + "api-version": "2025-03-01", + "resourceGroupName": "testrg123", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" }, "responses": { "200": { - "headers": {}, "body": { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/certificates/testc6282", "name": "testc6282", "type": "Microsoft.Web/certificates", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/certificates/testc6282", "location": "East US", "properties": { + "expirationDate": "2039-12-31T23:59:59+00:00", "friendlyName": "", - "subjectName": "ServerCert", "hostNames": [ "ServerCert" ], - "issuer": "CACert", "issueDate": "2015-11-12T23:40:25+00:00", - "expirationDate": "2039-12-31T23:59:59+00:00", + "issuer": "CACert", + "subjectName": "ServerCert", "thumbprint": "FE703D7411A44163B6D32B3AD9B03E175886EBFE" } - } + }, + "headers": {} } - } + }, + "operationId": "Certificates_Get", + "title": "Get Certificate" } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetDeletedWebApp.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetDeletedWebApp.json index 2813ecc317ae..161a4ffcde27 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetDeletedWebApp.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetDeletedWebApp.json @@ -1,27 +1,29 @@ { "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "api-version": "2025-03-01", "deletedSiteId": "9", - "api-version": "2025-03-01" + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" }, "responses": { "200": { - "headers": {}, "body": { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg1/providers/Microsoft.Web/locations/West US 2/deletedwebapps/wussite6", "name": "wussite6", "type": "Microsoft.Web/deletedSites", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg1/providers/Microsoft.Web/locations/West US 2/deletedwebapps/wussite6", "properties": { "deletedSiteId": 9, + "deletedSiteName": "wussite6", "deletedTimestamp": "2019-05-09T22:29:05.1337007", - "subscription": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "geoRegionName": "West US 2", + "kind": "app", "resourceGroup": "rg1", - "deletedSiteName": "wussite6", "slot": "Production", - "kind": "app", - "geoRegionName": "West US 2" + "subscription": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" } - } + }, + "headers": {} } - } + }, + "operationId": "Global_GetDeletedWebApp", + "title": "Get Deleted Web App" } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetDeletedWebAppByLocation.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetDeletedWebAppByLocation.json index 800585b5f920..ddad3cdaaab6 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetDeletedWebAppByLocation.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetDeletedWebAppByLocation.json @@ -1,28 +1,30 @@ { "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "location": "West US 2", + "api-version": "2025-03-01", "deletedSiteId": "9", - "api-version": "2025-03-01" + "location": "West US 2", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" }, "responses": { "200": { - "headers": {}, "body": { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg1/providers/Microsoft.Web/locations/West US 2/deletedwebapps/wussite6", "name": "wussite6", "type": "Microsoft.Web/locations/deletedSites", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg1/providers/Microsoft.Web/locations/West US 2/deletedwebapps/wussite6", "properties": { "deletedSiteId": 9, + "deletedSiteName": "wussite6", "deletedTimestamp": "2019-05-09T22:29:05.1337007", - "subscription": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "geoRegionName": "West US 2", + "kind": "app", "resourceGroup": "rg1", - "deletedSiteName": "wussite6", "slot": "Production", - "kind": "app", - "geoRegionName": "West US 2" + "subscription": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" } - } + }, + "headers": {} } - } + }, + "operationId": "DeletedWebApps_GetDeletedWebAppByLocation", + "title": "Get Deleted Web App by Location" } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetDeletedWebAppSnapshots.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetDeletedWebAppSnapshots.json index 746a6d8b2c74..1ab34c7e17b0 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetDeletedWebAppSnapshots.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetDeletedWebAppSnapshots.json @@ -1,12 +1,11 @@ { "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "api-version": "2025-03-01", "deletedSiteId": "9", - "api-version": "2025-03-01" + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" }, "responses": { "200": { - "headers": {}, "body": [ { "name": "wussite6", @@ -16,7 +15,10 @@ "time": "2019-05-09T22:29:05.1337007" } } - ] + ], + "headers": {} } - } + }, + "operationId": "Global_GetDeletedWebAppSnapshots", + "title": "Get Deleted Web App Snapshots" } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetFunctionAppStacks.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetFunctionAppStacks.json index 2f07625abb6f..c03708d7c63d 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetFunctionAppStacks.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetFunctionAppStacks.json @@ -4,142 +4,137 @@ }, "responses": { "200": { - "headers": {}, "body": { "value": [ { - "id": "/providers/Microsoft.Web/functionAppStacks/dotnet", "name": "dotnet", "type": "Microsoft.Web/functionAppStacks", + "id": "/providers/Microsoft.Web/functionAppStacks/dotnet", "properties": { "displayText": ".NET", - "value": "dotnet", - "preferredOs": "Windows", "majorVersions": [ { "displayText": ".NET Core 3", - "value": "3", "minorVersions": [ { "displayText": ".NET Core 3.1", - "value": "3.1", "stackSettings": { - "windowsRuntimeSettings": { - "runtimeVersion": "3.1", + "linuxRuntimeSettings": { "appInsightsSettings": { "isSupported": true }, - "remoteDebuggingSupported": false, + "appSettingsDictionary": { + "FUNCTIONS_WORKER_RUNTIME": "dotnet" + }, "gitHubActionSettings": { "isSupported": true, "supportedVersion": "3.1.301" }, - "appSettingsDictionary": { - "FUNCTIONS_WORKER_RUNTIME": "dotnet" - }, + "remoteDebuggingSupported": false, + "runtimeVersion": "dotnet|3.1", "siteConfigPropertiesDictionary": { - "use32BitWorkerProcess": true + "linuxFxVersion": "dotnet|3.1", + "use32BitWorkerProcess": false }, "supportedFunctionsExtensionVersions": [ "~3" ] }, - "linuxRuntimeSettings": { - "runtimeVersion": "dotnet|3.1", + "windowsRuntimeSettings": { "appInsightsSettings": { "isSupported": true }, - "remoteDebuggingSupported": false, + "appSettingsDictionary": { + "FUNCTIONS_WORKER_RUNTIME": "dotnet" + }, "gitHubActionSettings": { "isSupported": true, "supportedVersion": "3.1.301" }, - "appSettingsDictionary": { - "FUNCTIONS_WORKER_RUNTIME": "dotnet" - }, + "remoteDebuggingSupported": false, + "runtimeVersion": "3.1", "siteConfigPropertiesDictionary": { - "use32BitWorkerProcess": false, - "linuxFxVersion": "dotnet|3.1" + "use32BitWorkerProcess": true }, "supportedFunctionsExtensionVersions": [ "~3" ] } - } + }, + "value": "3.1" } - ] + ], + "value": "3" }, { "displayText": ".NET Core 2", - "value": "2", "minorVersions": [ { "displayText": ".NET Core 2.2", - "value": "2.2", "stackSettings": { - "windowsRuntimeSettings": { - "runtimeVersion": "2.2", + "linuxRuntimeSettings": { "appInsightsSettings": { "isSupported": true }, - "remoteDebuggingSupported": false, + "appSettingsDictionary": { + "FUNCTIONS_WORKER_RUNTIME": "dotnet" + }, "gitHubActionSettings": { "isSupported": true, "supportedVersion": "2.2.207" }, - "appSettingsDictionary": { - "FUNCTIONS_WORKER_RUNTIME": "dotnet" - }, + "remoteDebuggingSupported": false, + "runtimeVersion": "dotnet|2.2", "siteConfigPropertiesDictionary": { - "use32BitWorkerProcess": true + "linuxFxVersion": "dotnet|2.2", + "use32BitWorkerProcess": false }, "supportedFunctionsExtensionVersions": [ "~2" ] }, - "linuxRuntimeSettings": { - "runtimeVersion": "dotnet|2.2", + "windowsRuntimeSettings": { "appInsightsSettings": { "isSupported": true }, - "remoteDebuggingSupported": false, + "appSettingsDictionary": { + "FUNCTIONS_WORKER_RUNTIME": "dotnet" + }, "gitHubActionSettings": { "isSupported": true, "supportedVersion": "2.2.207" }, - "appSettingsDictionary": { - "FUNCTIONS_WORKER_RUNTIME": "dotnet" - }, + "remoteDebuggingSupported": false, + "runtimeVersion": "2.2", "siteConfigPropertiesDictionary": { - "use32BitWorkerProcess": false, - "linuxFxVersion": "dotnet|2.2" + "use32BitWorkerProcess": true }, "supportedFunctionsExtensionVersions": [ "~2" ] } - } + }, + "value": "2.2" } - ] + ], + "value": "2" }, { "displayText": ".NET Framework 4", - "value": "2", "minorVersions": [ { "displayText": ".NET Framework 4.7", - "value": "4.7", "stackSettings": { "windowsRuntimeSettings": { - "runtimeVersion": "4.7", - "remoteDebuggingSupported": false, "appInsightsSettings": { "isSupported": true }, + "appSettingsDictionary": {}, "gitHubActionSettings": { "isSupported": false }, - "appSettingsDictionary": {}, + "remoteDebuggingSupported": false, + "runtimeVersion": "4.7", "siteConfigPropertiesDictionary": { "use32BitWorkerProcess": true }, @@ -147,212 +142,212 @@ "~1" ] } - } + }, + "value": "4.7" } - ] + ], + "value": "2" } - ] + ], + "preferredOs": "Windows", + "value": "dotnet" } }, { - "id": "/providers/Microsoft.Web/functionAppStacks/node", "name": "node", "type": "Microsoft.Web/functionAppStacks", + "id": "/providers/Microsoft.Web/functionAppStacks/node", "properties": { "displayText": "Node.js", - "value": "node", - "preferredOs": "Windows", "majorVersions": [ { "displayText": "Node.js 14", - "value": "14", "minorVersions": [ { "displayText": "Node.js 14 LTS", - "value": "14 LTS", "stackSettings": { - "windowsRuntimeSettings": { - "runtimeVersion": "~14", - "isPreview": true, - "isHidden": true, - "remoteDebuggingSupported": false, + "linuxRuntimeSettings": { "appInsightsSettings": { "isSupported": true }, + "appSettingsDictionary": { + "FUNCTIONS_WORKER_RUNTIME": "node" + }, "gitHubActionSettings": { "isSupported": true, "supportedVersion": "14.x" }, - "appSettingsDictionary": { - "FUNCTIONS_WORKER_RUNTIME": "node", - "WEBSITE_NODE_DEFAULT_VERSION": "~14" - }, + "isHidden": true, + "isPreview": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "Node|14", "siteConfigPropertiesDictionary": { - "use32BitWorkerProcess": true + "linuxFxVersion": "Node|14", + "use32BitWorkerProcess": false }, "supportedFunctionsExtensionVersions": [ "~3" ] }, - "linuxRuntimeSettings": { - "runtimeVersion": "Node|14", - "isPreview": true, - "isHidden": true, - "remoteDebuggingSupported": false, + "windowsRuntimeSettings": { "appInsightsSettings": { "isSupported": true }, + "appSettingsDictionary": { + "FUNCTIONS_WORKER_RUNTIME": "node", + "WEBSITE_NODE_DEFAULT_VERSION": "~14" + }, "gitHubActionSettings": { "isSupported": true, "supportedVersion": "14.x" }, - "appSettingsDictionary": { - "FUNCTIONS_WORKER_RUNTIME": "node" - }, + "isHidden": true, + "isPreview": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "~14", "siteConfigPropertiesDictionary": { - "use32BitWorkerProcess": false, - "linuxFxVersion": "Node|14" + "use32BitWorkerProcess": true }, "supportedFunctionsExtensionVersions": [ "~3" ] } - } + }, + "value": "14 LTS" } - ] + ], + "value": "14" }, { "displayText": "Node.js 12", - "value": "12", "minorVersions": [ { "displayText": "Node.js 12 LTS", - "value": "12 LTS", "stackSettings": { - "windowsRuntimeSettings": { - "runtimeVersion": "~12", - "remoteDebuggingSupported": false, + "linuxRuntimeSettings": { "appInsightsSettings": { "isSupported": true }, + "appSettingsDictionary": { + "FUNCTIONS_WORKER_RUNTIME": "node" + }, "gitHubActionSettings": { "isSupported": true, "supportedVersion": "12.x" }, - "appSettingsDictionary": { - "FUNCTIONS_WORKER_RUNTIME": "node", - "WEBSITE_NODE_DEFAULT_VERSION": "~12" - }, + "remoteDebuggingSupported": false, + "runtimeVersion": "Node|12", "siteConfigPropertiesDictionary": { - "use32BitWorkerProcess": true + "linuxFxVersion": "Node|12", + "use32BitWorkerProcess": false }, "supportedFunctionsExtensionVersions": [ "~3" ] }, - "linuxRuntimeSettings": { - "runtimeVersion": "Node|12", - "remoteDebuggingSupported": false, + "windowsRuntimeSettings": { "appInsightsSettings": { "isSupported": true }, + "appSettingsDictionary": { + "FUNCTIONS_WORKER_RUNTIME": "node", + "WEBSITE_NODE_DEFAULT_VERSION": "~12" + }, "gitHubActionSettings": { "isSupported": true, "supportedVersion": "12.x" }, - "appSettingsDictionary": { - "FUNCTIONS_WORKER_RUNTIME": "node" - }, + "remoteDebuggingSupported": false, + "runtimeVersion": "~12", "siteConfigPropertiesDictionary": { - "use32BitWorkerProcess": false, - "linuxFxVersion": "Node|12" + "use32BitWorkerProcess": true }, "supportedFunctionsExtensionVersions": [ "~3" ] } - } + }, + "value": "12 LTS" } - ] + ], + "value": "12" }, { "displayText": "Node.js 10", - "value": "10", "minorVersions": [ { "displayText": "Node.js 10 LTS", - "value": "10 LTS", "stackSettings": { - "windowsRuntimeSettings": { - "runtimeVersion": "~10", - "remoteDebuggingSupported": false, + "linuxRuntimeSettings": { "appInsightsSettings": { "isSupported": true }, + "appSettingsDictionary": { + "FUNCTIONS_WORKER_RUNTIME": "node" + }, "gitHubActionSettings": { "isSupported": true, "supportedVersion": "10.x" }, - "appSettingsDictionary": { - "FUNCTIONS_WORKER_RUNTIME": "node", - "WEBSITE_NODE_DEFAULT_VERSION": "~10" - }, + "remoteDebuggingSupported": false, + "runtimeVersion": "Node|10", "siteConfigPropertiesDictionary": { - "use32BitWorkerProcess": true + "linuxFxVersion": "Node|10", + "use32BitWorkerProcess": false }, "supportedFunctionsExtensionVersions": [ "~2", "~3" ] }, - "linuxRuntimeSettings": { - "runtimeVersion": "Node|10", - "remoteDebuggingSupported": false, + "windowsRuntimeSettings": { "appInsightsSettings": { "isSupported": true }, + "appSettingsDictionary": { + "FUNCTIONS_WORKER_RUNTIME": "node", + "WEBSITE_NODE_DEFAULT_VERSION": "~10" + }, "gitHubActionSettings": { "isSupported": true, "supportedVersion": "10.x" }, - "appSettingsDictionary": { - "FUNCTIONS_WORKER_RUNTIME": "node" - }, + "remoteDebuggingSupported": false, + "runtimeVersion": "~10", "siteConfigPropertiesDictionary": { - "use32BitWorkerProcess": false, - "linuxFxVersion": "Node|10" + "use32BitWorkerProcess": true }, "supportedFunctionsExtensionVersions": [ "~2", "~3" ] } - } + }, + "value": "10 LTS" } - ] + ], + "value": "10" }, { "displayText": "Node.js 8", - "value": "8", "minorVersions": [ { "displayText": "Node.js 8 LTS", - "value": "8 LTS", "stackSettings": { "windowsRuntimeSettings": { - "runtimeVersion": "~8", - "remoteDebuggingSupported": false, "appInsightsSettings": { "isSupported": true }, - "gitHubActionSettings": { - "isSupported": true, - "supportedVersion": "8.x" - }, "appSettingsDictionary": { "FUNCTIONS_WORKER_RUNTIME": "node", "WEBSITE_NODE_DEFAULT_VERSION": "~8" }, + "gitHubActionSettings": { + "isSupported": true, + "supportedVersion": "8.x" + }, + "remoteDebuggingSupported": false, + "runtimeVersion": "~8", "siteConfigPropertiesDictionary": { "use32BitWorkerProcess": true }, @@ -360,30 +355,30 @@ "~2" ] } - } + }, + "value": "8 LTS" } - ] + ], + "value": "8" }, { "displayText": "Node.js 6", - "value": "6", "minorVersions": [ { "displayText": "Node.js 6 LTS", - "value": "6 LTS", "stackSettings": { "windowsRuntimeSettings": { - "runtimeVersion": "~6", - "remoteDebuggingSupported": false, "appInsightsSettings": { "isSupported": true }, - "gitHubActionSettings": { - "isSupported": false - }, "appSettingsDictionary": { "WEBSITE_NODE_DEFAULT_VERSION": "~6" }, + "gitHubActionSettings": { + "isSupported": false + }, + "remoteDebuggingSupported": false, + "runtimeVersion": "~6", "siteConfigPropertiesDictionary": { "use32BitWorkerProcess": true }, @@ -391,389 +386,396 @@ "~1" ] } - } + }, + "value": "6 LTS" } - ] + ], + "value": "6" } - ] + ], + "preferredOs": "Windows", + "value": "node" } }, { - "id": "/providers/Microsoft.Web/functionAppStacks/python", "name": "python", "type": "Microsoft.Web/functionAppStacks", + "id": "/providers/Microsoft.Web/functionAppStacks/python", "properties": { "displayText": "Python", - "value": "python", - "preferredOs": "Linux", "majorVersions": [ { "displayText": "Python 3", - "value": "3", "minorVersions": [ { "displayText": "Python 3.8", - "value": "3.8", "stackSettings": { "linuxRuntimeSettings": { - "runtimeVersion": "Python|3.8", - "remoteDebuggingSupported": false, "appInsightsSettings": { "isSupported": true }, + "appSettingsDictionary": { + "FUNCTIONS_WORKER_RUNTIME": "python" + }, "gitHubActionSettings": { "isSupported": true, "supportedVersion": "3.8" }, - "appSettingsDictionary": { - "FUNCTIONS_WORKER_RUNTIME": "python" - }, + "remoteDebuggingSupported": false, + "runtimeVersion": "Python|3.8", "siteConfigPropertiesDictionary": { - "use32BitWorkerProcess": false, - "linuxFxVersion": "Python|3.8" + "linuxFxVersion": "Python|3.8", + "use32BitWorkerProcess": false }, "supportedFunctionsExtensionVersions": [ "~3" ] } - } + }, + "value": "3.8" }, { "displayText": "Python 3.7", - "value": "3.7", "stackSettings": { "linuxRuntimeSettings": { - "runtimeVersion": "Python|3.7", - "remoteDebuggingSupported": false, "appInsightsSettings": { "isSupported": true }, + "appSettingsDictionary": { + "FUNCTIONS_WORKER_RUNTIME": "python" + }, "gitHubActionSettings": { "isSupported": true, "supportedVersion": "3.7" }, - "appSettingsDictionary": { - "FUNCTIONS_WORKER_RUNTIME": "python" - }, + "remoteDebuggingSupported": false, + "runtimeVersion": "Python|3.7", "siteConfigPropertiesDictionary": { - "use32BitWorkerProcess": false, - "linuxFxVersion": "Python|3.7" + "linuxFxVersion": "Python|3.7", + "use32BitWorkerProcess": false }, "supportedFunctionsExtensionVersions": [ "~2", "~3" ] } - } + }, + "value": "3.7" }, { "displayText": "Python 3.6", - "value": "3.6", "stackSettings": { "linuxRuntimeSettings": { - "runtimeVersion": "Python|3.6", - "remoteDebuggingSupported": false, "appInsightsSettings": { "isSupported": true }, + "appSettingsDictionary": { + "FUNCTIONS_WORKER_RUNTIME": "python" + }, "gitHubActionSettings": { "isSupported": true, "supportedVersion": "3.6" }, - "appSettingsDictionary": { - "FUNCTIONS_WORKER_RUNTIME": "python" - }, + "remoteDebuggingSupported": false, + "runtimeVersion": "Python|3.6", "siteConfigPropertiesDictionary": { - "use32BitWorkerProcess": false, - "linuxFxVersion": "Python|3.6" + "linuxFxVersion": "Python|3.6", + "use32BitWorkerProcess": false }, "supportedFunctionsExtensionVersions": [ "~2", "~3" ] } - } + }, + "value": "3.6" } - ] + ], + "value": "3" } - ] + ], + "preferredOs": "Linux", + "value": "python" } }, { - "id": "/providers/Microsoft.Web/functionAppStacks/java", "name": "java", "type": "Microsoft.Web/functionAppStacks", + "id": "/providers/Microsoft.Web/functionAppStacks/java", "properties": { "displayText": "Java", - "value": "java", - "preferredOs": "Windows", "majorVersions": [ { "displayText": "Java 11", - "value": "11", "minorVersions": [ { "displayText": "Java 11", - "value": "11.0", "stackSettings": { - "windowsRuntimeSettings": { - "runtimeVersion": "11", - "isAutoUpdate": true, - "remoteDebuggingSupported": false, + "linuxRuntimeSettings": { "appInsightsSettings": { "isSupported": true }, + "appSettingsDictionary": { + "FUNCTIONS_WORKER_RUNTIME": "java" + }, "gitHubActionSettings": { "isSupported": true, "supportedVersion": "11" }, - "appSettingsDictionary": { - "FUNCTIONS_WORKER_RUNTIME": "java" - }, + "isAutoUpdate": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "Java|11", "siteConfigPropertiesDictionary": { - "use32BitWorkerProcess": true, - "javaVersion": "11" + "linuxFxVersion": "Java|11", + "use32BitWorkerProcess": false }, "supportedFunctionsExtensionVersions": [ "~3" ] }, - "linuxRuntimeSettings": { - "runtimeVersion": "Java|11", - "isAutoUpdate": true, - "remoteDebuggingSupported": false, + "windowsRuntimeSettings": { "appInsightsSettings": { "isSupported": true }, + "appSettingsDictionary": { + "FUNCTIONS_WORKER_RUNTIME": "java" + }, "gitHubActionSettings": { "isSupported": true, "supportedVersion": "11" }, - "appSettingsDictionary": { - "FUNCTIONS_WORKER_RUNTIME": "java" - }, + "isAutoUpdate": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "11", "siteConfigPropertiesDictionary": { - "use32BitWorkerProcess": false, - "linuxFxVersion": "Java|11" + "javaVersion": "11", + "use32BitWorkerProcess": true }, "supportedFunctionsExtensionVersions": [ "~3" ] } - } + }, + "value": "11.0" } - ] + ], + "value": "11" }, { "displayText": "Java 8", - "value": "8", "minorVersions": [ { "displayText": "Java 8", - "value": "8.0", "stackSettings": { - "windowsRuntimeSettings": { - "runtimeVersion": "1.8", - "isAutoUpdate": true, - "isDefault": true, - "remoteDebuggingSupported": false, + "linuxRuntimeSettings": { "appInsightsSettings": { "isSupported": true }, + "appSettingsDictionary": { + "FUNCTIONS_WORKER_RUNTIME": "java" + }, "gitHubActionSettings": { "isSupported": true, "supportedVersion": "8" }, - "appSettingsDictionary": { - "FUNCTIONS_WORKER_RUNTIME": "java" - }, + "isAutoUpdate": true, + "isDefault": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "Java|8", "siteConfigPropertiesDictionary": { - "use32BitWorkerProcess": true, - "javaVersion": "1.8" + "linuxFxVersion": "Java|8", + "use32BitWorkerProcess": false }, "supportedFunctionsExtensionVersions": [ - "~2", "~3" ] }, - "linuxRuntimeSettings": { - "runtimeVersion": "Java|8", - "isAutoUpdate": true, - "isDefault": true, - "remoteDebuggingSupported": false, + "windowsRuntimeSettings": { "appInsightsSettings": { "isSupported": true }, + "appSettingsDictionary": { + "FUNCTIONS_WORKER_RUNTIME": "java" + }, "gitHubActionSettings": { "isSupported": true, "supportedVersion": "8" }, - "appSettingsDictionary": { - "FUNCTIONS_WORKER_RUNTIME": "java" - }, + "isAutoUpdate": true, + "isDefault": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "1.8", "siteConfigPropertiesDictionary": { - "use32BitWorkerProcess": false, - "linuxFxVersion": "Java|8" + "javaVersion": "1.8", + "use32BitWorkerProcess": true }, "supportedFunctionsExtensionVersions": [ + "~2", "~3" ] } - } + }, + "value": "8.0" } - ] + ], + "value": "8" } - ] + ], + "preferredOs": "Windows", + "value": "java" } }, { - "id": "/providers/Microsoft.Web/functionAppStacks/powershell", "name": "powershell", "type": "Microsoft.Web/functionAppStacks", + "id": "/providers/Microsoft.Web/functionAppStacks/powershell", "properties": { "displayText": "PowerShell Core", - "value": "powershell", - "preferredOs": "Windows", "majorVersions": [ { "displayText": "PowerShell 7", - "value": "7", "minorVersions": [ { "displayText": "PowerShell 7.0", - "value": "7.0", "stackSettings": { "windowsRuntimeSettings": { - "runtimeVersion": "~7", - "remoteDebuggingSupported": false, "appInsightsSettings": { "isSupported": true }, - "gitHubActionSettings": { - "isSupported": false - }, "appSettingsDictionary": { "FUNCTIONS_WORKER_RUNTIME": "powershell" }, + "gitHubActionSettings": { + "isSupported": false + }, + "remoteDebuggingSupported": false, + "runtimeVersion": "~7", "siteConfigPropertiesDictionary": { - "use32BitWorkerProcess": true, - "powerShellVersion": "~7" + "powerShellVersion": "~7", + "use32BitWorkerProcess": true }, "supportedFunctionsExtensionVersions": [ "~3" ] } - } + }, + "value": "7.0" } - ] + ], + "value": "7" }, { "displayText": "PowerShell Core 6", - "value": "6", "minorVersions": [ { "displayText": "PowerShell Core 6.2", - "value": "6.2", "stackSettings": { "windowsRuntimeSettings": { - "runtimeVersion": "~6", - "remoteDebuggingSupported": false, "appInsightsSettings": { "isSupported": true }, - "gitHubActionSettings": { - "isSupported": false - }, "appSettingsDictionary": { "FUNCTIONS_WORKER_RUNTIME": "powershell" }, - "siteConfigPropertiesDictionary": { - "use32BitWorkerProcess": true, - "powerShellVersion": "~6" + "endOfLifeDate": "2020-10-04T00:00:00+00:00", + "gitHubActionSettings": { + "isSupported": false }, "isDeprecated": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "~6", + "siteConfigPropertiesDictionary": { + "powerShellVersion": "~6", + "use32BitWorkerProcess": true + }, "supportedFunctionsExtensionVersions": [ "~2", "~3" - ], - "endOfLifeDate": "2020-10-04T00:00:00+00:00" + ] } - } + }, + "value": "6.2" } - ] + ], + "value": "6" } - ] + ], + "preferredOs": "Windows", + "value": "powershell" } }, { - "id": "/providers/Microsoft.Web/functionAppStacks/custom", "name": "custom", "type": "Microsoft.Web/functionAppStacks", + "id": "/providers/Microsoft.Web/functionAppStacks/custom", "properties": { "displayText": "Custom", - "value": "custom", - "preferredOs": "Windows", "majorVersions": [ { "displayText": "Custom", - "value": "custom", "minorVersions": [ { "displayText": "Custom Handler", - "value": "custom", "stackSettings": { - "windowsRuntimeSettings": { - "runtimeVersion": "custom", - "isPreview": true, + "linuxRuntimeSettings": { "appInsightsSettings": { "isSupported": true }, - "remoteDebuggingSupported": false, - "gitHubActionSettings": { - "isSupported": false - }, "appSettingsDictionary": { "FUNCTIONS_WORKER_RUNTIME": "custom" }, + "gitHubActionSettings": { + "isSupported": false + }, + "isPreview": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "", "siteConfigPropertiesDictionary": { - "use32BitWorkerProcess": true + "linuxFxVersion": "", + "use32BitWorkerProcess": false }, "supportedFunctionsExtensionVersions": [ "~3", "~2" ] }, - "linuxRuntimeSettings": { - "runtimeVersion": "", - "isPreview": true, + "windowsRuntimeSettings": { "appInsightsSettings": { "isSupported": true }, - "remoteDebuggingSupported": false, - "gitHubActionSettings": { - "isSupported": false - }, "appSettingsDictionary": { "FUNCTIONS_WORKER_RUNTIME": "custom" }, + "gitHubActionSettings": { + "isSupported": false + }, + "isPreview": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "custom", "siteConfigPropertiesDictionary": { - "use32BitWorkerProcess": false, - "linuxFxVersion": "" + "use32BitWorkerProcess": true }, "supportedFunctionsExtensionVersions": [ "~3", "~2" ] } - } + }, + "value": "custom" } - ] + ], + "value": "custom" } - ] + ], + "preferredOs": "Windows", + "value": "custom" } } ] - } + }, + "headers": {} } - } + }, + "operationId": "Provider_GetFunctionAppStacks", + "title": "Get Function App Stacks" } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetFunctionAppStacksForLocation.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetFunctionAppStacksForLocation.json index 973ceb85380f..02fac5cfccda 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetFunctionAppStacksForLocation.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetFunctionAppStacksForLocation.json @@ -1,147 +1,142 @@ { "parameters": { - "location": "westus", - "api-version": "2025-03-01" + "api-version": "2025-03-01", + "location": "westus" }, "responses": { "200": { - "headers": {}, "body": { "value": [ { - "id": "/providers/Microsoft.Web/locations/functionAppStacks/dotnet", "name": "dotnet", "type": "Microsoft.Web/locations/functionAppStacks", + "id": "/providers/Microsoft.Web/locations/functionAppStacks/dotnet", "location": "westus", "properties": { "displayText": ".NET", - "value": "dotnet", - "preferredOs": "Windows", "majorVersions": [ { "displayText": ".NET Core 3", - "value": "3", "minorVersions": [ { "displayText": ".NET Core 3.1", - "value": "3.1", "stackSettings": { - "windowsRuntimeSettings": { - "runtimeVersion": "3.1", + "linuxRuntimeSettings": { "appInsightsSettings": { "isSupported": true }, - "remoteDebuggingSupported": false, + "appSettingsDictionary": { + "FUNCTIONS_WORKER_RUNTIME": "dotnet" + }, "gitHubActionSettings": { "isSupported": true, "supportedVersion": "3.1.301" }, - "appSettingsDictionary": { - "FUNCTIONS_WORKER_RUNTIME": "dotnet" - }, + "remoteDebuggingSupported": false, + "runtimeVersion": "dotnet|3.1", "siteConfigPropertiesDictionary": { - "use32BitWorkerProcess": true + "linuxFxVersion": "dotnet|3.1", + "use32BitWorkerProcess": false }, "supportedFunctionsExtensionVersions": [ "~3" ] }, - "linuxRuntimeSettings": { - "runtimeVersion": "dotnet|3.1", + "windowsRuntimeSettings": { "appInsightsSettings": { "isSupported": true }, - "remoteDebuggingSupported": false, + "appSettingsDictionary": { + "FUNCTIONS_WORKER_RUNTIME": "dotnet" + }, "gitHubActionSettings": { "isSupported": true, "supportedVersion": "3.1.301" }, - "appSettingsDictionary": { - "FUNCTIONS_WORKER_RUNTIME": "dotnet" - }, + "remoteDebuggingSupported": false, + "runtimeVersion": "3.1", "siteConfigPropertiesDictionary": { - "use32BitWorkerProcess": false, - "linuxFxVersion": "dotnet|3.1" + "use32BitWorkerProcess": true }, "supportedFunctionsExtensionVersions": [ "~3" ] } - } + }, + "value": "3.1" } - ] + ], + "value": "3" }, { "displayText": ".NET Core 2", - "value": "2", "minorVersions": [ { "displayText": ".NET Core 2.2", - "value": "2.2", "stackSettings": { - "windowsRuntimeSettings": { - "runtimeVersion": "2.2", + "linuxRuntimeSettings": { "appInsightsSettings": { "isSupported": true }, - "remoteDebuggingSupported": false, + "appSettingsDictionary": { + "FUNCTIONS_WORKER_RUNTIME": "dotnet" + }, "gitHubActionSettings": { "isSupported": true, "supportedVersion": "2.2.207" }, - "appSettingsDictionary": { - "FUNCTIONS_WORKER_RUNTIME": "dotnet" - }, + "remoteDebuggingSupported": false, + "runtimeVersion": "dotnet|2.2", "siteConfigPropertiesDictionary": { - "use32BitWorkerProcess": true + "linuxFxVersion": "dotnet|2.2", + "use32BitWorkerProcess": false }, "supportedFunctionsExtensionVersions": [ "~2" ] }, - "linuxRuntimeSettings": { - "runtimeVersion": "dotnet|2.2", + "windowsRuntimeSettings": { "appInsightsSettings": { "isSupported": true }, - "remoteDebuggingSupported": false, + "appSettingsDictionary": { + "FUNCTIONS_WORKER_RUNTIME": "dotnet" + }, "gitHubActionSettings": { "isSupported": true, "supportedVersion": "2.2.207" }, - "appSettingsDictionary": { - "FUNCTIONS_WORKER_RUNTIME": "dotnet" - }, + "remoteDebuggingSupported": false, + "runtimeVersion": "2.2", "siteConfigPropertiesDictionary": { - "use32BitWorkerProcess": false, - "linuxFxVersion": "dotnet|2.2" + "use32BitWorkerProcess": true }, "supportedFunctionsExtensionVersions": [ "~2" ] } - } + }, + "value": "2.2" } - ] + ], + "value": "2" }, { "displayText": ".NET Framework 4", - "value": "2", "minorVersions": [ { "displayText": ".NET Framework 4.7", - "value": "4.7", "stackSettings": { "windowsRuntimeSettings": { - "runtimeVersion": "4.7", - "remoteDebuggingSupported": false, "appInsightsSettings": { "isSupported": true }, + "appSettingsDictionary": {}, "gitHubActionSettings": { "isSupported": false }, - "appSettingsDictionary": {}, + "remoteDebuggingSupported": false, + "runtimeVersion": "4.7", "siteConfigPropertiesDictionary": { "use32BitWorkerProcess": true }, @@ -149,213 +144,213 @@ "~1" ] } - } + }, + "value": "4.7" } - ] + ], + "value": "2" } - ] + ], + "preferredOs": "Windows", + "value": "dotnet" } }, { - "id": "/providers/Microsoft.Web/locations/functionAppStacks/node", "name": "node", "type": "Microsoft.Web/locations/functionAppStacks", + "id": "/providers/Microsoft.Web/locations/functionAppStacks/node", "location": "westus", "properties": { "displayText": "Node.js", - "value": "node", - "preferredOs": "Windows", "majorVersions": [ { "displayText": "Node.js 14", - "value": "14", "minorVersions": [ { "displayText": "Node.js 14 LTS", - "value": "14 LTS", "stackSettings": { - "windowsRuntimeSettings": { - "runtimeVersion": "~14", - "isPreview": true, - "isHidden": true, - "remoteDebuggingSupported": false, + "linuxRuntimeSettings": { "appInsightsSettings": { "isSupported": true }, + "appSettingsDictionary": { + "FUNCTIONS_WORKER_RUNTIME": "node" + }, "gitHubActionSettings": { "isSupported": true, "supportedVersion": "14.x" }, - "appSettingsDictionary": { - "FUNCTIONS_WORKER_RUNTIME": "node", - "WEBSITE_NODE_DEFAULT_VERSION": "~14" - }, + "isHidden": true, + "isPreview": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "Node|14", "siteConfigPropertiesDictionary": { - "use32BitWorkerProcess": true + "linuxFxVersion": "Node|14", + "use32BitWorkerProcess": false }, "supportedFunctionsExtensionVersions": [ "~3" ] }, - "linuxRuntimeSettings": { - "runtimeVersion": "Node|14", - "isPreview": true, - "isHidden": true, - "remoteDebuggingSupported": false, + "windowsRuntimeSettings": { "appInsightsSettings": { "isSupported": true }, + "appSettingsDictionary": { + "FUNCTIONS_WORKER_RUNTIME": "node", + "WEBSITE_NODE_DEFAULT_VERSION": "~14" + }, "gitHubActionSettings": { "isSupported": true, "supportedVersion": "14.x" }, - "appSettingsDictionary": { - "FUNCTIONS_WORKER_RUNTIME": "node" - }, + "isHidden": true, + "isPreview": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "~14", "siteConfigPropertiesDictionary": { - "use32BitWorkerProcess": false, - "linuxFxVersion": "Node|14" + "use32BitWorkerProcess": true }, "supportedFunctionsExtensionVersions": [ "~3" ] } - } + }, + "value": "14 LTS" } - ] + ], + "value": "14" }, { "displayText": "Node.js 12", - "value": "12", "minorVersions": [ { "displayText": "Node.js 12 LTS", - "value": "12 LTS", "stackSettings": { - "windowsRuntimeSettings": { - "runtimeVersion": "~12", - "remoteDebuggingSupported": false, + "linuxRuntimeSettings": { "appInsightsSettings": { "isSupported": true }, + "appSettingsDictionary": { + "FUNCTIONS_WORKER_RUNTIME": "node" + }, "gitHubActionSettings": { "isSupported": true, "supportedVersion": "12.x" }, - "appSettingsDictionary": { - "FUNCTIONS_WORKER_RUNTIME": "node", - "WEBSITE_NODE_DEFAULT_VERSION": "~12" - }, + "remoteDebuggingSupported": false, + "runtimeVersion": "Node|12", "siteConfigPropertiesDictionary": { - "use32BitWorkerProcess": true + "linuxFxVersion": "Node|12", + "use32BitWorkerProcess": false }, "supportedFunctionsExtensionVersions": [ "~3" ] }, - "linuxRuntimeSettings": { - "runtimeVersion": "Node|12", - "remoteDebuggingSupported": false, + "windowsRuntimeSettings": { "appInsightsSettings": { "isSupported": true }, + "appSettingsDictionary": { + "FUNCTIONS_WORKER_RUNTIME": "node", + "WEBSITE_NODE_DEFAULT_VERSION": "~12" + }, "gitHubActionSettings": { "isSupported": true, "supportedVersion": "12.x" }, - "appSettingsDictionary": { - "FUNCTIONS_WORKER_RUNTIME": "node" - }, + "remoteDebuggingSupported": false, + "runtimeVersion": "~12", "siteConfigPropertiesDictionary": { - "use32BitWorkerProcess": false, - "linuxFxVersion": "Node|12" + "use32BitWorkerProcess": true }, "supportedFunctionsExtensionVersions": [ "~3" ] } - } + }, + "value": "12 LTS" } - ] + ], + "value": "12" }, { "displayText": "Node.js 10", - "value": "10", "minorVersions": [ { "displayText": "Node.js 10 LTS", - "value": "10 LTS", "stackSettings": { - "windowsRuntimeSettings": { - "runtimeVersion": "~10", - "remoteDebuggingSupported": false, + "linuxRuntimeSettings": { "appInsightsSettings": { "isSupported": true }, + "appSettingsDictionary": { + "FUNCTIONS_WORKER_RUNTIME": "node" + }, "gitHubActionSettings": { "isSupported": true, "supportedVersion": "10.x" }, - "appSettingsDictionary": { - "FUNCTIONS_WORKER_RUNTIME": "node", - "WEBSITE_NODE_DEFAULT_VERSION": "~10" - }, + "remoteDebuggingSupported": false, + "runtimeVersion": "Node|10", "siteConfigPropertiesDictionary": { - "use32BitWorkerProcess": true + "linuxFxVersion": "Node|10", + "use32BitWorkerProcess": false }, "supportedFunctionsExtensionVersions": [ "~2", "~3" ] }, - "linuxRuntimeSettings": { - "runtimeVersion": "Node|10", - "remoteDebuggingSupported": false, + "windowsRuntimeSettings": { "appInsightsSettings": { "isSupported": true }, + "appSettingsDictionary": { + "FUNCTIONS_WORKER_RUNTIME": "node", + "WEBSITE_NODE_DEFAULT_VERSION": "~10" + }, "gitHubActionSettings": { "isSupported": true, "supportedVersion": "10.x" }, - "appSettingsDictionary": { - "FUNCTIONS_WORKER_RUNTIME": "node" - }, + "remoteDebuggingSupported": false, + "runtimeVersion": "~10", "siteConfigPropertiesDictionary": { - "use32BitWorkerProcess": false, - "linuxFxVersion": "Node|10" + "use32BitWorkerProcess": true }, "supportedFunctionsExtensionVersions": [ "~2", "~3" ] } - } + }, + "value": "10 LTS" } - ] + ], + "value": "10" }, { "displayText": "Node.js 8", - "value": "8", "minorVersions": [ { "displayText": "Node.js 8 LTS", - "value": "8 LTS", "stackSettings": { "windowsRuntimeSettings": { - "runtimeVersion": "~8", - "remoteDebuggingSupported": false, "appInsightsSettings": { "isSupported": true }, - "gitHubActionSettings": { - "isSupported": true, - "supportedVersion": "8.x" - }, "appSettingsDictionary": { "FUNCTIONS_WORKER_RUNTIME": "node", "WEBSITE_NODE_DEFAULT_VERSION": "~8" }, + "gitHubActionSettings": { + "isSupported": true, + "supportedVersion": "8.x" + }, + "remoteDebuggingSupported": false, + "runtimeVersion": "~8", "siteConfigPropertiesDictionary": { "use32BitWorkerProcess": true }, @@ -363,30 +358,30 @@ "~2" ] } - } + }, + "value": "8 LTS" } - ] + ], + "value": "8" }, { "displayText": "Node.js 6", - "value": "6", "minorVersions": [ { "displayText": "Node.js 6 LTS", - "value": "6 LTS", "stackSettings": { "windowsRuntimeSettings": { - "runtimeVersion": "~6", - "remoteDebuggingSupported": false, "appInsightsSettings": { "isSupported": true }, - "gitHubActionSettings": { - "isSupported": false - }, "appSettingsDictionary": { "WEBSITE_NODE_DEFAULT_VERSION": "~6" }, + "gitHubActionSettings": { + "isSupported": false + }, + "remoteDebuggingSupported": false, + "runtimeVersion": "~6", "siteConfigPropertiesDictionary": { "use32BitWorkerProcess": true }, @@ -394,393 +389,400 @@ "~1" ] } - } + }, + "value": "6 LTS" } - ] + ], + "value": "6" } - ] + ], + "preferredOs": "Windows", + "value": "node" } }, { - "id": "/providers/Microsoft.Web/locations/functionAppStacks/python", "name": "python", "type": "Microsoft.Web/locations/functionAppStacks", + "id": "/providers/Microsoft.Web/locations/functionAppStacks/python", "location": "westus", "properties": { "displayText": "Python", - "value": "python", - "preferredOs": "Linux", "majorVersions": [ { "displayText": "Python 3", - "value": "3", "minorVersions": [ { "displayText": "Python 3.8", - "value": "3.8", "stackSettings": { "linuxRuntimeSettings": { - "runtimeVersion": "Python|3.8", - "remoteDebuggingSupported": false, "appInsightsSettings": { "isSupported": true }, + "appSettingsDictionary": { + "FUNCTIONS_WORKER_RUNTIME": "python" + }, "gitHubActionSettings": { "isSupported": true, "supportedVersion": "3.8" }, - "appSettingsDictionary": { - "FUNCTIONS_WORKER_RUNTIME": "python" - }, + "remoteDebuggingSupported": false, + "runtimeVersion": "Python|3.8", "siteConfigPropertiesDictionary": { - "use32BitWorkerProcess": false, - "linuxFxVersion": "Python|3.8" + "linuxFxVersion": "Python|3.8", + "use32BitWorkerProcess": false }, "supportedFunctionsExtensionVersions": [ "~3" ] } - } + }, + "value": "3.8" }, { "displayText": "Python 3.7", - "value": "3.7", "stackSettings": { "linuxRuntimeSettings": { - "runtimeVersion": "Python|3.7", - "remoteDebuggingSupported": false, "appInsightsSettings": { "isSupported": true }, + "appSettingsDictionary": { + "FUNCTIONS_WORKER_RUNTIME": "python" + }, "gitHubActionSettings": { "isSupported": true, "supportedVersion": "3.7" }, - "appSettingsDictionary": { - "FUNCTIONS_WORKER_RUNTIME": "python" - }, + "remoteDebuggingSupported": false, + "runtimeVersion": "Python|3.7", "siteConfigPropertiesDictionary": { - "use32BitWorkerProcess": false, - "linuxFxVersion": "Python|3.7" + "linuxFxVersion": "Python|3.7", + "use32BitWorkerProcess": false }, "supportedFunctionsExtensionVersions": [ "~2", "~3" ] } - } + }, + "value": "3.7" }, { "displayText": "Python 3.6", - "value": "3.6", "stackSettings": { "linuxRuntimeSettings": { - "runtimeVersion": "Python|3.6", - "remoteDebuggingSupported": false, "appInsightsSettings": { "isSupported": true }, + "appSettingsDictionary": { + "FUNCTIONS_WORKER_RUNTIME": "python" + }, "gitHubActionSettings": { "isSupported": true, "supportedVersion": "3.6" }, - "appSettingsDictionary": { - "FUNCTIONS_WORKER_RUNTIME": "python" - }, + "remoteDebuggingSupported": false, + "runtimeVersion": "Python|3.6", "siteConfigPropertiesDictionary": { - "use32BitWorkerProcess": false, - "linuxFxVersion": "Python|3.6" + "linuxFxVersion": "Python|3.6", + "use32BitWorkerProcess": false }, "supportedFunctionsExtensionVersions": [ "~2", "~3" ] } - } + }, + "value": "3.6" } - ] + ], + "value": "3" } - ] + ], + "preferredOs": "Linux", + "value": "python" } }, { - "id": "/providers/Microsoft.Web/locations/functionAppStacks/java", "name": "java", "type": "Microsoft.Web/locations/functionAppStacks", + "id": "/providers/Microsoft.Web/locations/functionAppStacks/java", "location": "westus", "properties": { "displayText": "Java", - "value": "java", - "preferredOs": "Windows", "majorVersions": [ { "displayText": "Java 11", - "value": "11", "minorVersions": [ { "displayText": "Java 11", - "value": "11.0", "stackSettings": { - "windowsRuntimeSettings": { - "runtimeVersion": "11", - "isAutoUpdate": true, - "remoteDebuggingSupported": false, + "linuxRuntimeSettings": { "appInsightsSettings": { "isSupported": true }, + "appSettingsDictionary": { + "FUNCTIONS_WORKER_RUNTIME": "java" + }, "gitHubActionSettings": { "isSupported": true, "supportedVersion": "11" }, - "appSettingsDictionary": { - "FUNCTIONS_WORKER_RUNTIME": "java" - }, + "isAutoUpdate": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "Java|11", "siteConfigPropertiesDictionary": { - "use32BitWorkerProcess": true, - "javaVersion": "11" + "linuxFxVersion": "Java|11", + "use32BitWorkerProcess": false }, "supportedFunctionsExtensionVersions": [ "~3" ] }, - "linuxRuntimeSettings": { - "runtimeVersion": "Java|11", - "isAutoUpdate": true, - "remoteDebuggingSupported": false, + "windowsRuntimeSettings": { "appInsightsSettings": { "isSupported": true }, + "appSettingsDictionary": { + "FUNCTIONS_WORKER_RUNTIME": "java" + }, "gitHubActionSettings": { "isSupported": true, "supportedVersion": "11" }, - "appSettingsDictionary": { - "FUNCTIONS_WORKER_RUNTIME": "java" - }, + "isAutoUpdate": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "11", "siteConfigPropertiesDictionary": { - "use32BitWorkerProcess": false, - "linuxFxVersion": "Java|11" + "javaVersion": "11", + "use32BitWorkerProcess": true }, "supportedFunctionsExtensionVersions": [ "~3" ] } - } + }, + "value": "11.0" } - ] + ], + "value": "11" }, { "displayText": "Java 8", - "value": "8", "minorVersions": [ { "displayText": "Java 8", - "value": "8.0", "stackSettings": { - "windowsRuntimeSettings": { - "runtimeVersion": "1.8", - "isAutoUpdate": true, - "isDefault": true, - "remoteDebuggingSupported": false, + "linuxRuntimeSettings": { "appInsightsSettings": { "isSupported": true }, + "appSettingsDictionary": { + "FUNCTIONS_WORKER_RUNTIME": "java" + }, "gitHubActionSettings": { "isSupported": true, "supportedVersion": "8" }, - "appSettingsDictionary": { - "FUNCTIONS_WORKER_RUNTIME": "java" - }, + "isAutoUpdate": true, + "isDefault": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "Java|8", "siteConfigPropertiesDictionary": { - "use32BitWorkerProcess": true, - "javaVersion": "1.8" + "linuxFxVersion": "Java|8", + "use32BitWorkerProcess": false }, "supportedFunctionsExtensionVersions": [ - "~2", "~3" ] }, - "linuxRuntimeSettings": { - "runtimeVersion": "Java|8", - "isAutoUpdate": true, - "isDefault": true, - "remoteDebuggingSupported": false, + "windowsRuntimeSettings": { "appInsightsSettings": { "isSupported": true }, + "appSettingsDictionary": { + "FUNCTIONS_WORKER_RUNTIME": "java" + }, "gitHubActionSettings": { "isSupported": true, "supportedVersion": "8" }, - "appSettingsDictionary": { - "FUNCTIONS_WORKER_RUNTIME": "java" - }, + "isAutoUpdate": true, + "isDefault": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "1.8", "siteConfigPropertiesDictionary": { - "use32BitWorkerProcess": false, - "linuxFxVersion": "Java|8" + "javaVersion": "1.8", + "use32BitWorkerProcess": true }, "supportedFunctionsExtensionVersions": [ + "~2", "~3" ] } - } + }, + "value": "8.0" } - ] + ], + "value": "8" } - ] + ], + "preferredOs": "Windows", + "value": "java" } }, { - "id": "/providers/Microsoft.Web/locations/functionAppStacks/powershell", "name": "powershell", "type": "Microsoft.Web/locations/functionAppStacks", + "id": "/providers/Microsoft.Web/locations/functionAppStacks/powershell", "location": "westus", "properties": { "displayText": "PowerShell Core", - "value": "powershell", - "preferredOs": "Windows", "majorVersions": [ { "displayText": "PowerShell 7", - "value": "7", "minorVersions": [ { "displayText": "PowerShell 7.0", - "value": "7.0", "stackSettings": { "windowsRuntimeSettings": { - "runtimeVersion": "~7", - "remoteDebuggingSupported": false, "appInsightsSettings": { "isSupported": true }, - "gitHubActionSettings": { - "isSupported": false - }, "appSettingsDictionary": { "FUNCTIONS_WORKER_RUNTIME": "powershell" }, + "gitHubActionSettings": { + "isSupported": false + }, + "remoteDebuggingSupported": false, + "runtimeVersion": "~7", "siteConfigPropertiesDictionary": { - "use32BitWorkerProcess": true, - "powerShellVersion": "~7" + "powerShellVersion": "~7", + "use32BitWorkerProcess": true }, "supportedFunctionsExtensionVersions": [ "~3" ] } - } + }, + "value": "7.0" } - ] + ], + "value": "7" }, { "displayText": "PowerShell Core 6", - "value": "6", "minorVersions": [ { "displayText": "PowerShell Core 6.2", - "value": "6.2", "stackSettings": { "windowsRuntimeSettings": { - "runtimeVersion": "~6", - "remoteDebuggingSupported": false, "appInsightsSettings": { "isSupported": true }, - "gitHubActionSettings": { - "isSupported": false - }, "appSettingsDictionary": { "FUNCTIONS_WORKER_RUNTIME": "powershell" }, - "siteConfigPropertiesDictionary": { - "use32BitWorkerProcess": true, - "powerShellVersion": "~6" + "endOfLifeDate": "2020-10-04T00:00:00+00:00", + "gitHubActionSettings": { + "isSupported": false }, "isDeprecated": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "~6", + "siteConfigPropertiesDictionary": { + "powerShellVersion": "~6", + "use32BitWorkerProcess": true + }, "supportedFunctionsExtensionVersions": [ "~2", "~3" - ], - "endOfLifeDate": "2020-10-04T00:00:00+00:00" + ] } - } + }, + "value": "6.2" } - ] + ], + "value": "6" } - ] + ], + "preferredOs": "Windows", + "value": "powershell" } }, { - "id": "/providers/Microsoft.Web/locations/functionAppStacks/custom", "name": "custom", "type": "Microsoft.Web/locations/functionAppStacks", + "id": "/providers/Microsoft.Web/locations/functionAppStacks/custom", "location": "westus", "properties": { "displayText": "Custom", - "value": "custom", - "preferredOs": "Windows", "majorVersions": [ { "displayText": "Custom", - "value": "custom", "minorVersions": [ { "displayText": "Custom Handler", - "value": "custom", "stackSettings": { - "windowsRuntimeSettings": { - "runtimeVersion": "custom", - "isPreview": true, + "linuxRuntimeSettings": { "appInsightsSettings": { "isSupported": true }, - "remoteDebuggingSupported": false, - "gitHubActionSettings": { - "isSupported": false - }, "appSettingsDictionary": { "FUNCTIONS_WORKER_RUNTIME": "custom" }, + "gitHubActionSettings": { + "isSupported": false + }, + "isPreview": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "", "siteConfigPropertiesDictionary": { - "use32BitWorkerProcess": true + "linuxFxVersion": "", + "use32BitWorkerProcess": false }, "supportedFunctionsExtensionVersions": [ "~3", "~2" ] }, - "linuxRuntimeSettings": { - "runtimeVersion": "", - "isPreview": true, + "windowsRuntimeSettings": { "appInsightsSettings": { "isSupported": true }, - "remoteDebuggingSupported": false, - "gitHubActionSettings": { - "isSupported": false - }, "appSettingsDictionary": { "FUNCTIONS_WORKER_RUNTIME": "custom" }, + "gitHubActionSettings": { + "isSupported": false + }, + "isPreview": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "custom", "siteConfigPropertiesDictionary": { - "use32BitWorkerProcess": false, - "linuxFxVersion": "" + "use32BitWorkerProcess": true }, "supportedFunctionsExtensionVersions": [ "~3", "~2" ] } - } + }, + "value": "custom" } - ] + ], + "value": "custom" } - ] + ], + "preferredOs": "Windows", + "value": "custom" } } ] - } + }, + "headers": {} } - } + }, + "operationId": "Provider_GetFunctionAppStacksForLocation", + "title": "Get Locations Function App Stacks" } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetInboundNetworkDependenciesEndpoints.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetInboundNetworkDependenciesEndpoints.json index d349a6c43df4..b70cf2d4180b 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetInboundNetworkDependenciesEndpoints.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetInboundNetworkDependenciesEndpoints.json @@ -1,13 +1,14 @@ { "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "Sample-WestUSResourceGroup", "name": "SampleAse", - "api-version": "2025-03-01" + "api-version": "2025-03-01", + "resourceGroupName": "Sample-WestUSResourceGroup", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" }, "responses": { "200": { "body": { + "nextLink": null, "value": [ { "description": "App Service management", @@ -71,9 +72,10 @@ "All" ] } - ], - "nextLink": null + ] } } - } + }, + "operationId": "AppServiceEnvironments_GetInboundNetworkDependenciesEndpoints", + "title": "Get the network endpoints of all inbound dependencies of an App Service Environment." } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetKeyVaultReferencesForAppSetting.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetKeyVaultReferencesForAppSetting.json index fa94450f4aca..3d717c49253f 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetKeyVaultReferencesForAppSetting.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetKeyVaultReferencesForAppSetting.json @@ -1,22 +1,24 @@ { "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "testrg123", "name": "testc6282", + "api-version": "2025-03-01", "appSettingKey": "setting", - "api-version": "2025-03-01" + "resourceGroupName": "testrg123", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" }, "responses": { "200": { - "headers": {}, "body": { "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/testc6282/config/configreferences/appsettings/setting", "properties": { - "vaultName": "keyVaultName", "secretName": "secretName", - "secretVersion": "secretVersion" + "secretVersion": "secretVersion", + "vaultName": "keyVaultName" } - } + }, + "headers": {} } - } + }, + "operationId": "WebApps_GetAppSettingKeyVaultReference", + "title": "Get Azure Key Vault app setting reference" } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetKeyVaultReferencesForAppSettingSlot.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetKeyVaultReferencesForAppSettingSlot.json index c20ef53ebba4..5b7dfefc3e53 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetKeyVaultReferencesForAppSettingSlot.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetKeyVaultReferencesForAppSettingSlot.json @@ -1,23 +1,25 @@ { "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "testrg123", "name": "testc6282", - "slot": "stage", + "api-version": "2025-03-01", "appSettingKey": "setting", - "api-version": "2025-03-01" + "resourceGroupName": "testrg123", + "slot": "stage", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" }, "responses": { "200": { - "headers": {}, "body": { "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/testc6282/slots/stage/config/configreferences/appsettings/setting", "properties": { - "vaultName": "keyVaultName", "secretName": "secretName", - "secretVersion": "secretVersion" + "secretVersion": "secretVersion", + "vaultName": "keyVaultName" } - } + }, + "headers": {} } - } + }, + "operationId": "WebApps_GetAppSettingKeyVaultReferenceSlot", + "title": "Get Azure Key Vault slot app setting reference" } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetKeyVaultReferencesForAppSettings.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetKeyVaultReferencesForAppSettings.json index ee8f19278ff7..08febc80fcab 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetKeyVaultReferencesForAppSettings.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetKeyVaultReferencesForAppSettings.json @@ -1,33 +1,35 @@ { "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "testrg123", "name": "testc6282", - "api-version": "2025-03-01" + "api-version": "2025-03-01", + "resourceGroupName": "testrg123", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" }, "responses": { "200": { - "headers": {}, "body": { "value": [ { "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/testc6282/config/configreferences/appsettings/secretName", "properties": { - "vaultName": "keyVaultName", "secretName": "secretName", - "secretVersion": "secretVersion" + "secretVersion": "secretVersion", + "vaultName": "keyVaultName" } }, { "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/testc6282/config/configreferences/appsettings/secretName2", "properties": { - "vaultName": "keyVaultName", "secretName": "secretName2", - "secretVersion": "secretVersion2" + "secretVersion": "secretVersion2", + "vaultName": "keyVaultName" } } ] - } + }, + "headers": {} } - } + }, + "operationId": "WebApps_GetAppSettingsKeyVaultReferences", + "title": "Get Azure Key Vault references for app settings" } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetKeyVaultReferencesForAppSettingsSlot.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetKeyVaultReferencesForAppSettingsSlot.json index 82de9adf5a85..8546c8d09629 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetKeyVaultReferencesForAppSettingsSlot.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetKeyVaultReferencesForAppSettingsSlot.json @@ -1,34 +1,36 @@ { "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "testrg123", "name": "testc6282", + "api-version": "2025-03-01", + "resourceGroupName": "testrg123", "slot": "stage", - "api-version": "2025-03-01" + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" }, "responses": { "200": { - "headers": {}, "body": { "value": [ { "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/testc6282/slots/stage/config/configreferences/appsettings/secretName", "properties": { - "vaultName": "keyVaultName", "secretName": "secretName", - "secretVersion": "secretVersion" + "secretVersion": "secretVersion", + "vaultName": "keyVaultName" } }, { "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/testc6282/slots/stage/config/configreferences/appsettings/secretName2", "properties": { - "vaultName": "keyVaultName", "secretName": "secretName2", - "secretVersion": "secretVersion2" + "secretVersion": "secretVersion2", + "vaultName": "keyVaultName" } } ] - } + }, + "headers": {} } - } + }, + "operationId": "WebApps_GetAppSettingsKeyVaultReferencesSlot", + "title": "Get Azure Key Vault references for app settings for slot" } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetLinkedBackendForStaticSite.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetLinkedBackendForStaticSite.json index 83ef8bbf5397..7a3181b96475 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetLinkedBackendForStaticSite.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetLinkedBackendForStaticSite.json @@ -1,25 +1,27 @@ { "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "rg", "name": "testStaticSite0", + "api-version": "2025-03-01", "linkedBackendName": "testBackend", - "api-version": "2025-03-01" + "resourceGroupName": "rg", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" }, "responses": { "200": { - "headers": {}, "body": { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/staticSites/testStaticSite0/builds/default/linkedBackends/testBackend", "name": "testBackend", "type": "Microsoft.Web/staticSites/builds/linkedBackends", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/staticSites/testStaticSite0/builds/default/linkedBackends/testBackend", "properties": { "backendResourceId": "/subscription/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/backendRg/providers/Microsoft.Web/sites/testBackend", - "region": "West US 2", "createdOn": "2021-12-24T17:33:11.641Z", - "provisioningState": "Succeeded" + "provisioningState": "Succeeded", + "region": "West US 2" } - } + }, + "headers": {} } - } + }, + "operationId": "StaticSites_GetLinkedBackend", + "title": "Get details of the linked backend registered with a static site by name." } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetLinkedBackendForStaticSiteBuild.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetLinkedBackendForStaticSiteBuild.json index e48502e589f4..5b57408b0603 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetLinkedBackendForStaticSiteBuild.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetLinkedBackendForStaticSiteBuild.json @@ -1,26 +1,28 @@ { "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "rg", "name": "testStaticSite0", + "api-version": "2025-03-01", "environmentName": "default", "linkedBackendName": "testBackend", - "api-version": "2025-03-01" + "resourceGroupName": "rg", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" }, "responses": { "200": { - "headers": {}, "body": { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/staticSites/testStaticSite0/builds/default/linkedBackends/testBackend", "name": "testBackend", "type": "Microsoft.Web/staticSites/builds/linkedBackends", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/staticSites/testStaticSite0/builds/default/linkedBackends/testBackend", "properties": { "backendResourceId": "/subscription/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/backendRg/providers/Microsoft.Web/sites/testBackend", - "region": "West US 2", "createdOn": "2021-12-24T17:33:11.641Z", - "provisioningState": "Succeeded" + "provisioningState": "Succeeded", + "region": "West US 2" } - } + }, + "headers": {} } - } + }, + "operationId": "StaticSites_GetLinkedBackendForBuild", + "title": "Get details of the linked backend registered with a static site build by name." } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetLinkedBackendsForStaticSite.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetLinkedBackendsForStaticSite.json index c09b4a05f19f..2293bc6f80bd 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetLinkedBackendsForStaticSite.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetLinkedBackendsForStaticSite.json @@ -1,29 +1,31 @@ { "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "rg", "name": "testStaticSite0", - "api-version": "2025-03-01" + "api-version": "2025-03-01", + "resourceGroupName": "rg", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" }, "responses": { "200": { - "headers": {}, "body": { + "nextLink": null, "value": [ { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/staticSites/testStaticSite0/builds/default/linkedBackends/testBackend", "name": "testBackend", "type": "Microsoft.Web/staticSites/builds/linkedBackends", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/staticSites/testStaticSite0/builds/default/linkedBackends/testBackend", "properties": { "backendResourceId": "/subscription/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/functionRG/providers/Microsoft.Web/sites/testBackend", - "region": "West US 2", "createdOn": "2020-03-04T17:33:11.641Z", - "provisioningState": "Succeeded" + "provisioningState": "Succeeded", + "region": "West US 2" } } - ], - "nextLink": null - } + ] + }, + "headers": {} } - } + }, + "operationId": "StaticSites_GetLinkedBackends", + "title": "Get details of the linked backends registered with a static site." } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetLinkedBackendsForStaticSiteBuild.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetLinkedBackendsForStaticSiteBuild.json index ba6bad2ac594..918369152029 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetLinkedBackendsForStaticSiteBuild.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetLinkedBackendsForStaticSiteBuild.json @@ -1,31 +1,33 @@ { "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "rg", "name": "testStaticSite0", + "api-version": "2025-03-01", "environmentName": "default", "linkedBackendName": "testBackend", - "api-version": "2025-03-01" + "resourceGroupName": "rg", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" }, "responses": { "200": { - "headers": {}, "body": { + "nextLink": null, "value": [ { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/staticSites/testStaticSite0/builds/default/linkedBackends/testBackend", "name": "testBackend", "type": "Microsoft.Web/staticSites/builds/linkedBackends", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/staticSites/testStaticSite0/builds/default/linkedBackends/testBackend", "properties": { "backendResourceId": "/subscription/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/functionRG/providers/Microsoft.Web/sites/testBackend", - "region": "West US 2", "createdOn": "2020-03-04T17:33:11.641Z", - "provisioningState": "Succeeded" + "provisioningState": "Succeeded", + "region": "West US 2" } } - ], - "nextLink": null - } + ] + }, + "headers": {} } - } + }, + "operationId": "StaticSites_GetLinkedBackendsForBuild", + "title": "Get details of the linked backends registered with a static site build." } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetOutboundNetworkDependenciesEndpoints.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetOutboundNetworkDependenciesEndpoints.json index a29dfb038538..858a9920269a 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetOutboundNetworkDependenciesEndpoints.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetOutboundNetworkDependenciesEndpoints.json @@ -1,13 +1,14 @@ { "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "Sample-WestUSResourceGroup", "name": "SampleAse", - "api-version": "2025-03-01" + "api-version": "2025-03-01", + "resourceGroupName": "Sample-WestUSResourceGroup", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" }, "responses": { "200": { "body": { + "nextLink": null, "value": [ { "category": "Azure Storage", @@ -17,15 +18,15 @@ "endpointDetails": [ { "ipAddress": "52.183.104.36", - "port": 80, + "isAccessible": true, "latency": 42.0469, - "isAccessible": true + "port": 80 }, { "ipAddress": "52.183.104.36", - "port": 443, + "isAccessible": true, "latency": 41.7038, - "isAccessible": true + "port": 443 } ] }, @@ -34,15 +35,15 @@ "endpointDetails": [ { "ipAddress": "52.183.104.25", - "port": 80, + "isAccessible": true, "latency": 37.326, - "isAccessible": true + "port": 80 }, { "ipAddress": "52.183.104.25", - "port": 443, + "isAccessible": true, "latency": 37.513600000000004, - "isAccessible": true + "port": 443 } ] }, @@ -51,15 +52,15 @@ "endpointDetails": [ { "ipAddress": "52.183.104.26", - "port": 80, + "isAccessible": true, "latency": 32.789, - "isAccessible": true + "port": 80 }, { "ipAddress": "52.183.104.26", - "port": 443, + "isAccessible": true, "latency": 1.8702, - "isAccessible": true + "port": 443 } ] }, @@ -68,15 +69,15 @@ "endpointDetails": [ { "ipAddress": "52.183.104.28", - "port": 80, + "isAccessible": true, "latency": 36.7378, - "isAccessible": true + "port": 80 }, { "ipAddress": "52.183.104.28", - "port": 443, + "isAccessible": true, "latency": 36.7108, - "isAccessible": true + "port": 443 } ] }, @@ -85,15 +86,15 @@ "endpointDetails": [ { "ipAddress": "13.77.184.64", - "port": 80, + "isAccessible": true, "latency": 4.0261000000000005, - "isAccessible": true + "port": 80 }, { "ipAddress": "13.77.184.64", - "port": 443, + "isAccessible": true, "latency": 3.8264, - "isAccessible": true + "port": 443 } ] }, @@ -102,15 +103,15 @@ "endpointDetails": [ { "ipAddress": "13.77.184.73", - "port": 80, + "isAccessible": true, "latency": 40.8523, - "isAccessible": true + "port": 80 }, { "ipAddress": "13.77.184.73", - "port": 443, + "isAccessible": true, "latency": 40.7501, - "isAccessible": true + "port": 443 } ] }, @@ -119,15 +120,15 @@ "endpointDetails": [ { "ipAddress": "13.77.184.74", - "port": 80, + "isAccessible": true, "latency": 1.2071, - "isAccessible": true + "port": 80 }, { "ipAddress": "13.77.184.74", - "port": 443, + "isAccessible": true, "latency": 38.2975, - "isAccessible": true + "port": 443 } ] }, @@ -136,15 +137,15 @@ "endpointDetails": [ { "ipAddress": "13.77.184.76", - "port": 80, + "isAccessible": true, "latency": 59.383700000000005, - "isAccessible": true + "port": 80 }, { "ipAddress": "13.77.184.76", - "port": 443, + "isAccessible": true, "latency": 60.0775, - "isAccessible": true + "port": 443 } ] }, @@ -153,15 +154,15 @@ "endpointDetails": [ { "ipAddress": "13.77.184.64", - "port": 80, + "isAccessible": true, "latency": 3.5512, - "isAccessible": true + "port": 80 }, { "ipAddress": "13.77.184.64", - "port": 443, + "isAccessible": true, "latency": 2.6777, - "isAccessible": true + "port": 443 } ] }, @@ -170,15 +171,15 @@ "endpointDetails": [ { "ipAddress": "13.77.184.73", - "port": 80, + "isAccessible": true, "latency": 3.5204, - "isAccessible": true + "port": 80 }, { "ipAddress": "13.77.184.73", - "port": 443, + "isAccessible": true, "latency": 2.8193, - "isAccessible": true + "port": 443 } ] }, @@ -187,15 +188,15 @@ "endpointDetails": [ { "ipAddress": "13.77.184.74", - "port": 80, + "isAccessible": true, "latency": 3.2720000000000002, - "isAccessible": true + "port": 80 }, { "ipAddress": "13.77.184.74", - "port": 443, + "isAccessible": true, "latency": 3.0147, - "isAccessible": true + "port": 443 } ] }, @@ -204,15 +205,15 @@ "endpointDetails": [ { "ipAddress": "13.77.184.76", - "port": 80, + "isAccessible": true, "latency": 3.2387, - "isAccessible": true + "port": 80 }, { "ipAddress": "13.77.184.76", - "port": 443, + "isAccessible": true, "latency": 3.2804, - "isAccessible": true + "port": 443 } ] }, @@ -221,15 +222,15 @@ "endpointDetails": [ { "ipAddress": "13.66.176.16", - "port": 80, + "isAccessible": true, "latency": 43.025200000000005, - "isAccessible": true + "port": 80 }, { "ipAddress": "13.66.176.16", - "port": 443, + "isAccessible": true, "latency": 43.1683, - "isAccessible": true + "port": 443 } ] }, @@ -238,15 +239,15 @@ "endpointDetails": [ { "ipAddress": "13.66.176.25", - "port": 80, + "isAccessible": true, "latency": 41.8598, - "isAccessible": true + "port": 80 }, { "ipAddress": "13.66.176.25", - "port": 443, + "isAccessible": true, "latency": 41.9805, - "isAccessible": true + "port": 443 } ] }, @@ -255,15 +256,15 @@ "endpointDetails": [ { "ipAddress": "13.66.176.26", - "port": 80, + "isAccessible": true, "latency": 30.542900000000003, - "isAccessible": true + "port": 80 }, { "ipAddress": "13.66.176.26", - "port": 443, - "latency": 0.98320000000000007, - "isAccessible": true + "isAccessible": true, + "latency": 0.9832000000000001, + "port": 443 } ] }, @@ -272,15 +273,15 @@ "endpointDetails": [ { "ipAddress": "13.66.176.28", - "port": 80, + "isAccessible": true, "latency": 35.9562, - "isAccessible": true + "port": 80 }, { "ipAddress": "13.66.176.28", - "port": 443, + "isAccessible": true, "latency": 36.0643, - "isAccessible": true + "port": 443 } ] }, @@ -289,15 +290,15 @@ "endpointDetails": [ { "ipAddress": "13.77.184.64", - "port": 80, + "isAccessible": true, "latency": 3.2829, - "isAccessible": true + "port": 80 }, { "ipAddress": "13.77.184.64", - "port": 443, + "isAccessible": true, "latency": 2.3393, - "isAccessible": true + "port": 443 } ] }, @@ -306,15 +307,15 @@ "endpointDetails": [ { "ipAddress": "13.77.184.73", - "port": 80, + "isAccessible": true, "latency": 3.4103000000000003, - "isAccessible": true + "port": 80 }, { "ipAddress": "13.77.184.73", - "port": 443, + "isAccessible": true, "latency": 4.1032, - "isAccessible": true + "port": 443 } ] }, @@ -323,15 +324,15 @@ "endpointDetails": [ { "ipAddress": "13.77.184.74", - "port": 80, + "isAccessible": true, "latency": 3.1141, - "isAccessible": true + "port": 80 }, { "ipAddress": "13.77.184.74", - "port": 443, + "isAccessible": true, "latency": 3.0247, - "isAccessible": true + "port": 443 } ] }, @@ -340,15 +341,15 @@ "endpointDetails": [ { "ipAddress": "13.77.184.76", - "port": 80, + "isAccessible": true, "latency": 2.834, - "isAccessible": true + "port": 80 }, { "ipAddress": "13.77.184.76", - "port": 443, + "isAccessible": true, "latency": 2.8198000000000003, - "isAccessible": true + "port": 443 } ] }, @@ -357,15 +358,15 @@ "endpointDetails": [ { "ipAddress": "13.77.184.64", - "port": 80, + "isAccessible": true, "latency": 1.3855000000000002, - "isAccessible": true + "port": 80 }, { "ipAddress": "13.77.184.64", - "port": 443, + "isAccessible": true, "latency": 1.0594000000000001, - "isAccessible": true + "port": 443 } ] }, @@ -374,15 +375,15 @@ "endpointDetails": [ { "ipAddress": "13.77.184.73", - "port": 80, + "isAccessible": true, "latency": 2.4717000000000002, - "isAccessible": true + "port": 80 }, { "ipAddress": "13.77.184.73", - "port": 443, + "isAccessible": true, "latency": 2.4827, - "isAccessible": true + "port": 443 } ] }, @@ -391,15 +392,15 @@ "endpointDetails": [ { "ipAddress": "13.77.184.74", - "port": 80, + "isAccessible": true, "latency": 3.395, - "isAccessible": true + "port": 80 }, { "ipAddress": "13.77.184.74", - "port": 443, + "isAccessible": true, "latency": 3.1701, - "isAccessible": true + "port": 443 } ] }, @@ -408,15 +409,15 @@ "endpointDetails": [ { "ipAddress": "13.77.184.76", - "port": 80, + "isAccessible": true, "latency": 1.4308, - "isAccessible": true + "port": 80 }, { "ipAddress": "13.77.184.76", - "port": 443, + "isAccessible": true, "latency": 22.5866, - "isAccessible": true + "port": 443 } ] }, @@ -425,15 +426,15 @@ "endpointDetails": [ { "ipAddress": "13.77.184.64", - "port": 80, + "isAccessible": true, "latency": 2.5372, - "isAccessible": true + "port": 80 }, { "ipAddress": "13.77.184.64", - "port": 443, + "isAccessible": true, "latency": 2.4626, - "isAccessible": true + "port": 443 } ] }, @@ -442,15 +443,15 @@ "endpointDetails": [ { "ipAddress": "13.77.184.73", - "port": 80, + "isAccessible": true, "latency": 3.7873, - "isAccessible": true + "port": 80 }, { "ipAddress": "13.77.184.73", - "port": 443, + "isAccessible": true, "latency": 4.1911000000000005, - "isAccessible": true + "port": 443 } ] }, @@ -459,15 +460,15 @@ "endpointDetails": [ { "ipAddress": "13.77.184.74", - "port": 80, + "isAccessible": true, "latency": 2.9162000000000003, - "isAccessible": true + "port": 80 }, { "ipAddress": "13.77.184.74", - "port": 443, + "isAccessible": true, "latency": 2.7896, - "isAccessible": true + "port": 443 } ] }, @@ -476,15 +477,15 @@ "endpointDetails": [ { "ipAddress": "13.77.184.76", - "port": 80, + "isAccessible": true, "latency": 26.723100000000002, - "isAccessible": true + "port": 80 }, { "ipAddress": "13.77.184.76", - "port": 443, + "isAccessible": true, "latency": 26.735200000000003, - "isAccessible": true + "port": 443 } ] } @@ -498,9 +499,9 @@ "endpointDetails": [ { "ipAddress": "13.66.226.202", - "port": 1433, + "isAccessible": true, "latency": 1.5964, - "isAccessible": true + "port": 1433 } ] } @@ -514,9 +515,9 @@ "endpointDetails": [ { "ipAddress": "23.102.135.246", - "port": 443, + "isAccessible": true, "latency": 46.5764, - "isAccessible": true + "port": 443 } ] }, @@ -525,9 +526,9 @@ "endpointDetails": [ { "ipAddress": "23.102.135.247", - "port": 443, + "isAccessible": true, "latency": 47.408, - "isAccessible": true + "port": 443 } ] }, @@ -536,9 +537,9 @@ "endpointDetails": [ { "ipAddress": "52.151.25.45", - "port": 443, + "isAccessible": true, "latency": 3.9529, - "isAccessible": true + "port": 443 } ] } @@ -552,27 +553,27 @@ "endpointDetails": [ { "ipAddress": "20.190.133.83", - "port": 443, + "isAccessible": true, "latency": 3.2264, - "isAccessible": true + "port": 443 }, { "ipAddress": "20.190.133.81", - "port": 443, + "isAccessible": true, "latency": 3.2264, - "isAccessible": true + "port": 443 }, { "ipAddress": "20.190.133.67", - "port": 443, + "isAccessible": true, "latency": 3.2264, - "isAccessible": true + "port": 443 }, { "ipAddress": "40.126.5.34", - "port": 443, + "isAccessible": true, "latency": 3.2264, - "isAccessible": true + "port": 443 } ] } @@ -586,9 +587,9 @@ "endpointDetails": [ { "ipAddress": "13.66.225.188", - "port": 443, + "isAccessible": true, "latency": 3.3826, - "isAccessible": true + "port": 443 } ] }, @@ -597,9 +598,9 @@ "endpointDetails": [ { "ipAddress": "40.77.24.27", - "port": 443, + "isAccessible": true, "latency": 38.5647, - "isAccessible": true + "port": 443 } ] } @@ -613,27 +614,27 @@ "endpointDetails": [ { "ipAddress": "104.18.25.243", - "port": 80, + "isAccessible": true, "latency": 6.0651, - "isAccessible": true + "port": 80 }, { "ipAddress": "104.18.25.243", - "port": 443, + "isAccessible": true, "latency": 12.888, - "isAccessible": true + "port": 443 }, { "ipAddress": "104.18.24.243", - "port": 80, + "isAccessible": true, "latency": 6.0651, - "isAccessible": true + "port": 80 }, { "ipAddress": "104.18.24.243", - "port": 443, + "isAccessible": true, "latency": 12.888, - "isAccessible": true + "port": 443 } ] }, @@ -642,15 +643,15 @@ "endpointDetails": [ { "ipAddress": "152.199.4.33", - "port": 80, - "latency": 6.7429000000000006, - "isAccessible": true + "isAccessible": true, + "latency": 6.742900000000001, + "port": 80 }, { "ipAddress": "152.199.4.33", - "port": 443, - "latency": 7.4361000000000006, - "isAccessible": true + "isAccessible": true, + "latency": 7.436100000000001, + "port": 443 } ] }, @@ -659,27 +660,27 @@ "endpointDetails": [ { "ipAddress": "23.215.102.10", - "port": 80, + "isAccessible": true, "latency": 25.136200000000002, - "isAccessible": true + "port": 80 }, { "ipAddress": "23.215.102.10", - "port": 443, + "isAccessible": true, "latency": 25.0085, - "isAccessible": true + "port": 443 }, { "ipAddress": "23.215.102.42", - "port": 80, + "isAccessible": true, "latency": 25.136200000000002, - "isAccessible": true + "port": 80 }, { "ipAddress": "23.215.102.42", - "port": 443, + "isAccessible": true, "latency": 25.0085, - "isAccessible": true + "port": 443 } ] }, @@ -688,15 +689,15 @@ "endpointDetails": [ { "ipAddress": "23.49.13.56", - "port": 80, + "isAccessible": true, "latency": 7.9229, - "isAccessible": true + "port": 80 }, { "ipAddress": "23.49.13.56", - "port": 443, + "isAccessible": true, "latency": 8.4871, - "isAccessible": true + "port": 443 } ] }, @@ -705,15 +706,15 @@ "endpointDetails": [ { "ipAddress": "72.21.91.29", - "port": 80, + "isAccessible": true, "latency": 5.4074, - "isAccessible": true + "port": 80 }, { "ipAddress": "72.21.91.29", - "port": 443, + "isAccessible": true, "latency": 5.577, - "isAccessible": true + "port": 443 } ] }, @@ -722,15 +723,15 @@ "endpointDetails": [ { "ipAddress": "72.21.91.29", - "port": 80, + "isAccessible": true, "latency": 6.8989, - "isAccessible": true + "port": 80 }, { "ipAddress": "72.21.91.29", - "port": 443, - "latency": 5.6674000000000007, - "isAccessible": true + "isAccessible": true, + "latency": 5.667400000000001, + "port": 443 } ] }, @@ -739,27 +740,27 @@ "endpointDetails": [ { "ipAddress": "104.18.11.39", - "port": 80, + "isAccessible": true, "latency": 10.772400000000001, - "isAccessible": true + "port": 80 }, { "ipAddress": "104.18.11.39", - "port": 443, + "isAccessible": true, "latency": 10.7705, - "isAccessible": true + "port": 443 }, { "ipAddress": "104.18.10.39", - "port": 80, + "isAccessible": true, "latency": 10.772400000000001, - "isAccessible": true + "port": 80 }, { "ipAddress": "104.18.10.39", - "port": 443, + "isAccessible": true, "latency": 10.7705, - "isAccessible": true + "port": 443 } ] }, @@ -768,35 +769,36 @@ "endpointDetails": [ { "ipAddress": "54.69.98.161", - "port": 80, + "isAccessible": true, "latency": 47.532900000000005, - "isAccessible": true + "port": 80 }, { "ipAddress": "54.69.98.161", - "port": 443, + "isAccessible": true, "latency": 48.5362, - "isAccessible": true + "port": 443 }, { "ipAddress": "35.167.62.148", - "port": 80, + "isAccessible": true, "latency": 47.532900000000005, - "isAccessible": true + "port": 80 }, { "ipAddress": "35.167.62.148", - "port": 443, + "isAccessible": true, "latency": 48.5362, - "isAccessible": true + "port": 443 } ] } ] } - ], - "nextLink": null + ] } } - } + }, + "operationId": "AppServiceEnvironments_GetOutboundNetworkDependenciesEndpoints", + "title": "Get the network endpoints of all outbound dependencies of an App Service Environment." } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetPublishingCredentialsPolicy.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetPublishingCredentialsPolicy.json index 0afef6cff988..8ab9774ff709 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetPublishingCredentialsPolicy.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetPublishingCredentialsPolicy.json @@ -1,19 +1,21 @@ { "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "rg", "name": "testSite", - "api-version": "2025-03-01" + "api-version": "2025-03-01", + "resourceGroupName": "rg", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" }, "responses": { "200": { - "headers": {}, "body": { "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/sites/testSite/basicPublishingCredentialsPolicies/ftp", "properties": { "allow": false } - } + }, + "headers": {} } - } + }, + "operationId": "WebApps_GetScmAllowed", + "title": "Get SCM Allowed" } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetPublishingCredentialsPolicySlot.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetPublishingCredentialsPolicySlot.json index 01a2e508efc1..284cacbe0617 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetPublishingCredentialsPolicySlot.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetPublishingCredentialsPolicySlot.json @@ -1,20 +1,22 @@ { "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "rg", "name": "testSite", + "api-version": "2025-03-01", + "resourceGroupName": "rg", "slot": "stage", - "api-version": "2025-03-01" + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" }, "responses": { "200": { - "headers": {}, "body": { "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/sites/testSite/slots/stage/basicPublishingCredentialsPolicies/ftp", "properties": { "allow": false } - } + }, + "headers": {} } - } + }, + "operationId": "WebApps_GetScmAllowedSlot", + "title": "Get SCM Allowed" } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetPublishingCredentialsPolicySlot_FtpAllowedSlot.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetPublishingCredentialsPolicySlot_FtpAllowedSlot.json new file mode 100644 index 000000000000..235746ec5bbf --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetPublishingCredentialsPolicySlot_FtpAllowedSlot.json @@ -0,0 +1,22 @@ +{ + "parameters": { + "name": "testSite", + "api-version": "2025-03-01", + "resourceGroupName": "rg", + "slot": "stage", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/sites/testSite/slots/stage/basicPublishingCredentialsPolicies/ftp", + "properties": { + "allow": false + } + }, + "headers": {} + } + }, + "operationId": "WebApps_GetFtpAllowedSlot", + "title": "Get FTP Allowed" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetPublishingCredentialsPolicy_GetFtpAllowed.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetPublishingCredentialsPolicy_GetFtpAllowed.json new file mode 100644 index 000000000000..292636c3a270 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetPublishingCredentialsPolicy_GetFtpAllowed.json @@ -0,0 +1,21 @@ +{ + "parameters": { + "name": "testSite", + "api-version": "2025-03-01", + "resourceGroupName": "rg", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/sites/testSite/basicPublishingCredentialsPolicies/ftp", + "properties": { + "allow": false + } + }, + "headers": {} + } + }, + "operationId": "WebApps_GetFtpAllowed", + "title": "Get FTP Allowed" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetResourceHealthMetadataBySite.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetResourceHealthMetadataBySite.json index 58d53524c482..ed89a8fd065e 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetResourceHealthMetadataBySite.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetResourceHealthMetadataBySite.json @@ -1,23 +1,25 @@ { "parameters": { - "api-version": "2025-03-01", "name": "newsiteinnewASE-NCUS", - "slot": "Production", + "api-version": "2025-03-01", + "metadataName": "default", "resourceGroupName": "Default-Web-NorthCentralUS", - "subscriptionId": "4adb32ad-8327-4cbb-b775-b84b4465bb38", - "metadataName": "default" + "slot": "Production", + "subscriptionId": "4adb32ad-8327-4cbb-b775-b84b4465bb38" }, "responses": { "200": { "body": { + "name": "default", + "type": "Microsoft.Web/sites/resourceHealthMetadata", + "id": "/subscriptions/4adb32ad-8327-4cbb-b775-b84b4465bb38/resourceGroups/Default-Web-NorthCentralUS/providers/Microsoft.Web/sites/newsiteinnewASE-NCUS/resourceHealthMetadata/default", "properties": { "category": "Shared", "signalAvailability": true - }, - "id": "/subscriptions/4adb32ad-8327-4cbb-b775-b84b4465bb38/resourceGroups/Default-Web-NorthCentralUS/providers/Microsoft.Web/sites/newsiteinnewASE-NCUS/resourceHealthMetadata/default", - "name": "default", - "type": "Microsoft.Web/sites/resourceHealthMetadata" + } } } - } + }, + "operationId": "ResourceHealthMetadata_GetBySite", + "title": "Get ResourceHealthMetadata" } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetResourceHealthMetadataBySite_Slot.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetResourceHealthMetadataBySite_Slot.json new file mode 100644 index 000000000000..df8f306f875c --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetResourceHealthMetadataBySite_Slot.json @@ -0,0 +1,25 @@ +{ + "parameters": { + "name": "newsiteinnewASE-NCUS", + "api-version": "2025-03-01", + "metadataName": "default", + "resourceGroupName": "Default-Web-NorthCentralUS", + "slot": "Production", + "subscriptionId": "4adb32ad-8327-4cbb-b775-b84b4465bb38" + }, + "responses": { + "200": { + "body": { + "name": "default", + "type": "Microsoft.Web/sites/resourceHealthMetadata", + "id": "/subscriptions/4adb32ad-8327-4cbb-b775-b84b4465bb38/resourceGroups/Default-Web-NorthCentralUS/providers/Microsoft.Web/sites/newsiteinnewASE-NCUS/resourceHealthMetadata/default", + "properties": { + "category": "Shared", + "signalAvailability": true + } + } + } + }, + "operationId": "ResourceHealthMetadata_GetBySiteSlot", + "title": "Get ResourceHealthMetadata" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetSiteCertificate.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetSiteCertificate.json index 516d9052d08d..90ad1092b23a 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetSiteCertificate.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetSiteCertificate.json @@ -1,31 +1,33 @@ { "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "testrg123", "name": "testSiteName", + "api-version": "2025-03-01", "certificateName": "testc6282", - "api-version": "2025-03-01" + "resourceGroupName": "testrg123", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" }, "responses": { "200": { - "headers": {}, "body": { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/testSiteName/certificates/testc6282", "name": "testc6282", "type": "Microsoft.Web/sites/certificates", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/testSiteName/certificates/testc6282", "location": "East US", "properties": { + "expirationDate": "2039-12-31T23:59:59+00:00", "friendlyName": "", - "subjectName": "ServerCert", "hostNames": [ "ServerCert" ], - "issuer": "CACert", "issueDate": "2015-11-12T23:40:25+00:00", - "expirationDate": "2039-12-31T23:59:59+00:00", + "issuer": "CACert", + "subjectName": "ServerCert", "thumbprint": "FE703D7411A44163B6D32B3AD9B03E175886EBFE" } - } + }, + "headers": {} } - } + }, + "operationId": "SiteCertificates_Get", + "title": "Get Certificate" } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetSiteCertificateSlot.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetSiteCertificateSlot.json index 2a3996167ee7..fb46885b7981 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetSiteCertificateSlot.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetSiteCertificateSlot.json @@ -1,32 +1,34 @@ { "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "testrg123", "name": "testSiteName", - "slot": "staging", + "api-version": "2025-03-01", "certificateName": "testc6282", - "api-version": "2025-03-01" + "resourceGroupName": "testrg123", + "slot": "staging", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" }, "responses": { "200": { - "headers": {}, "body": { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/testSiteName/slots/staging/certificates/testc6282", "name": "testc6282", "type": "Microsoft.Web/sites/certificates", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/testSiteName/slots/staging/certificates/testc6282", "location": "East US", "properties": { + "expirationDate": "2039-12-31T23:59:59+00:00", "friendlyName": "", - "subjectName": "ServerCert", "hostNames": [ "ServerCert" ], - "issuer": "CACert", "issueDate": "2015-11-12T23:40:25+00:00", - "expirationDate": "2039-12-31T23:59:59+00:00", + "issuer": "CACert", + "subjectName": "ServerCert", "thumbprint": "FE703D7411A44163B6D32B3AD9B03E175886EBFE" } - } + }, + "headers": {} } - } + }, + "operationId": "SiteCertificates_GetSlot", + "title": "Get Site Certificate for a slot" } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetSiteConfig.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetSiteConfig.json index 9c9b791c368b..677da4a29644 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetSiteConfig.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetSiteConfig.json @@ -1,20 +1,23 @@ { "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "testrg123", "name": "sitef6141", - "api-version": "2025-03-01" + "api-version": "2025-03-01", + "resourceGroupName": "testrg123", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" }, "responses": { "200": { - "headers": {}, "body": { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/sitef6141/config/web", "name": "web", "type": "Microsoft.Web/sites/config", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/sitef6141/config/web", "kind": "app", "properties": { - "numberOfWorkers": 1, + "acrUseManagedIdentityCreds": false, + "alwaysOn": false, + "appCommandLine": "", + "autoHealEnabled": false, + "azureStorageAccounts": {}, "defaultDocuments": [ "Default.htm", "Default.html", @@ -26,45 +29,44 @@ "index.php", "hostingstart.html" ], + "detailedErrorLoggingEnabled": false, + "ftpsState": "AllAllowed", + "functionAppScaleLimit": 0, + "functionsRuntimeScaleMonitoringEnabled": false, + "http20Enabled": false, + "httpLoggingEnabled": false, + "linuxFxVersion": "", + "loadBalancing": "LeastRequests", + "logsDirectorySizeLimit": 35, + "managedPipelineMode": "Integrated", + "minTlsVersion": "1.2", + "minimumElasticInstanceCount": 0, "netFrameworkVersion": "v4.0", - "phpVersion": "5.6", - "pythonVersion": "", "nodeVersion": "", + "numberOfWorkers": 1, + "phpVersion": "5.6", "powerShellVersion": "", - "linuxFxVersion": "", - "requestTracingEnabled": false, + "pythonVersion": "", "remoteDebuggingEnabled": false, - "httpLoggingEnabled": false, - "acrUseManagedIdentityCreds": false, - "logsDirectorySizeLimit": 35, - "detailedErrorLoggingEnabled": false, + "requestTracingEnabled": false, + "scmMinTlsVersion": "1.2", "use32BitWorkerProcess": true, - "webSocketsEnabled": false, - "alwaysOn": false, - "appCommandLine": "", - "managedPipelineMode": "Integrated", "virtualApplications": [ { - "virtualPath": "/", "physicalPath": "site\\wwwroot", - "preloadEnabled": false + "preloadEnabled": false, + "virtualPath": "/" } ], - "loadBalancing": "LeastRequests", - "autoHealEnabled": false, "vnetName": "", - "vnetRouteAllEnabled": false, "vnetPrivatePortsCount": 0, - "http20Enabled": false, - "minTlsVersion": "1.2", - "scmMinTlsVersion": "1.2", - "ftpsState": "AllAllowed", - "functionAppScaleLimit": 0, - "functionsRuntimeScaleMonitoringEnabled": false, - "minimumElasticInstanceCount": 0, - "azureStorageAccounts": {} + "vnetRouteAllEnabled": false, + "webSocketsEnabled": false } - } + }, + "headers": {} } - } + }, + "operationId": "WebApps_GetConfiguration", + "title": "Get Site Config" } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetSiteDeploymentStatus.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetSiteDeploymentStatus.json index 1df9026d82de..3a684c5e1637 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetSiteDeploymentStatus.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetSiteDeploymentStatus.json @@ -1,45 +1,47 @@ { "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "rg", "name": "testSite", + "api-version": "2025-03-01", "deploymentStatusId": "eacfd68b-3bbd-4ad9-99c5-98614d89c8e5", - "api-version": "2025-03-01" + "resourceGroupName": "rg", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" }, "responses": { "200": { - "headers": {}, "body": { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/sites/testSite/deploymentStatus/eacfd68b-3bbd-4ad9-99c5-98614d89c8e5", "name": "eacfd68b-3bbd-4ad9-99c5-98614d89c8e5", "type": "Microsoft.Web/sites/deploymentStatus", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/sites/testSite/deploymentStatus/eacfd68b-3bbd-4ad9-99c5-98614d89c8e5", "properties": { "deploymentId": "eacfd68b-3bbd-4ad9-99c5-98614d89c8e5", - "status": "RuntimeSuccessful", + "errors": null, + "failedInstancesLogs": [], + "numberOfInstancesFailed": 0, "numberOfInstancesInProgress": 0, "numberOfInstancesSuccessful": 1, - "numberOfInstancesFailed": 0, - "failedInstancesLogs": [], - "errors": null + "status": "RuntimeSuccessful" } - } + }, + "headers": {} }, "202": { - "headers": {}, "body": { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/sites/testSite/deploymentStatus/eacfd68b-3bbd-4ad9-99c5-98614d89c8e5", "name": "eacfd68b-3bbd-4ad9-99c5-98614d89c8e5", "type": "Microsoft.Web/sites/deploymentStatus", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/sites/testSite/deploymentStatus/eacfd68b-3bbd-4ad9-99c5-98614d89c8e5", "properties": { "deploymentId": "eacfd68b-3bbd-4ad9-99c5-98614d89c8e5", - "status": "RuntimeStarting", + "errors": null, + "failedInstancesLogs": [], + "numberOfInstancesFailed": 0, "numberOfInstancesInProgress": 1, "numberOfInstancesSuccessful": 0, - "numberOfInstancesFailed": 0, - "failedInstancesLogs": [], - "errors": null + "status": "RuntimeStarting" } - } + }, + "headers": {} } - } + }, + "operationId": "WebApps_GetProductionSiteDeploymentStatus", + "title": "Get Deployment Status" } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetSiteDeploymentStatusSlot.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetSiteDeploymentStatusSlot.json index 8ce7124973e8..202c715226f8 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetSiteDeploymentStatusSlot.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetSiteDeploymentStatusSlot.json @@ -1,46 +1,48 @@ { "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "rg", "name": "testSite", - "slot": "stage", + "api-version": "2025-03-01", "deploymentStatusId": "eacfd68b-3bbd-4ad9-99c5-98614d89c8e5", - "api-version": "2025-03-01" + "resourceGroupName": "rg", + "slot": "stage", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" }, "responses": { "200": { - "headers": {}, "body": { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/sites/testSite/slots/stage/deploymentStatus/eacfd68b-3bbd-4ad9-99c5-98614d89c8e5", "name": "eacfd68b-3bbd-4ad9-99c5-98614d89c8e5", "type": "Microsoft.Web/sites/slots/deploymentStatus", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/sites/testSite/slots/stage/deploymentStatus/eacfd68b-3bbd-4ad9-99c5-98614d89c8e5", "properties": { "deploymentId": "eacfd68b-3bbd-4ad9-99c5-98614d89c8e5", - "status": "RuntimeSuccessful", + "errors": null, + "failedInstancesLogs": [], + "numberOfInstancesFailed": 0, "numberOfInstancesInProgress": 0, "numberOfInstancesSuccessful": 1, - "numberOfInstancesFailed": 0, - "failedInstancesLogs": [], - "errors": null + "status": "RuntimeSuccessful" } - } + }, + "headers": {} }, "202": { - "headers": {}, "body": { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/sites/testSite/slots/stage/deploymentStatus/eacfd68b-3bbd-4ad9-99c5-98614d89c8e5", "name": "eacfd68b-3bbd-4ad9-99c5-98614d89c8e5", "type": "Microsoft.Web/sites/slots/deploymentStatus", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/sites/testSite/slots/stage/deploymentStatus/eacfd68b-3bbd-4ad9-99c5-98614d89c8e5", "properties": { "deploymentId": "eacfd68b-3bbd-4ad9-99c5-98614d89c8e5", - "status": "RuntimeStarting", + "errors": null, + "failedInstancesLogs": [], + "numberOfInstancesFailed": 0, "numberOfInstancesInProgress": 1, "numberOfInstancesSuccessful": 0, - "numberOfInstancesFailed": 0, - "failedInstancesLogs": [], - "errors": null + "status": "RuntimeStarting" } - } + }, + "headers": {} } - } + }, + "operationId": "WebApps_GetSlotSiteDeploymentStatusSlot", + "title": "Get Deployment Status Slot" } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetSiteInstanceInfo.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetSiteInstanceInfo.json index 5a4711fc1011..31e317bd3fc2 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetSiteInstanceInfo.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetSiteInstanceInfo.json @@ -1,30 +1,32 @@ { "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "testrg123", "name": "tests346", + "api-version": "2025-03-01", "instanceId": "134987120", + "resourceGroupName": "testrg123", "slot": "staging", - "api-version": "2025-03-01" + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" }, "responses": { "200": { - "headers": {}, "body": { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/tests346/slot/staging/instances/134987120", "name": "134987120", "type": "Microsoft.Web/sites/instances", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/tests346/slot/staging/instances/134987120", "properties": { - "state": "READY", - "statusUrl": "https://sampleurl", - "detectorUrl": "testsec579", "containers": { "c1": { "currentTimeStamp": "2013-10-21T13:28:06.419Z" } - } + }, + "detectorUrl": "testsec579", + "state": "READY", + "statusUrl": "https://sampleurl" } - } + }, + "headers": {} } - } + }, + "operationId": "WebApps_GetInstanceInfo", + "title": "Get site instance info" } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetSiteInstanceInfo_Slot.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetSiteInstanceInfo_Slot.json new file mode 100644 index 000000000000..dd9ddcb5754f --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetSiteInstanceInfo_Slot.json @@ -0,0 +1,32 @@ +{ + "parameters": { + "name": "tests346", + "api-version": "2025-03-01", + "instanceId": "134987120", + "resourceGroupName": "testrg123", + "slot": "staging", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": { + "name": "134987120", + "type": "Microsoft.Web/sites/instances", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/tests346/slot/staging/instances/134987120", + "properties": { + "containers": { + "c1": { + "currentTimeStamp": "2013-10-21T13:28:06.419Z" + } + }, + "detectorUrl": "testsec579", + "state": "READY", + "statusUrl": "https://sampleurl" + } + }, + "headers": {} + } + }, + "operationId": "WebApps_GetInstanceInfoSlot", + "title": "Get site instance info" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetSitePrivateEndpointConnection.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetSitePrivateEndpointConnection.json index 738c5183cceb..d24356fff3f2 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetSitePrivateEndpointConnection.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetSitePrivateEndpointConnection.json @@ -1,28 +1,30 @@ { "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "rg", "name": "testSite", + "api-version": "2025-03-01", "privateEndpointConnectionName": "connection", - "api-version": "2025-03-01" + "resourceGroupName": "rg", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" }, "responses": { "200": { - "headers": {}, "body": { "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/sites/testSite/privateEndpointConnections/connection", "properties": { - "provisioningState": "Succeeded", "privateEndpoint": { "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Network/privateEndpoints/myPrivateEndpoint" }, "privateLinkServiceConnectionState": { - "status": "Approved", "description": "Approved by admin.", - "actionsRequired": "" - } + "actionsRequired": "", + "status": "Approved" + }, + "provisioningState": "Succeeded" } - } + }, + "headers": {} } - } + }, + "operationId": "WebApps_GetPrivateEndpointConnection", + "title": "Get a private endpoint connection for a site." } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetSitePrivateEndpointConnectionList.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetSitePrivateEndpointConnectionList.json index 42d4f871d924..700898a2135a 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetSitePrivateEndpointConnectionList.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetSitePrivateEndpointConnectionList.json @@ -1,32 +1,34 @@ { "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "rg", "name": "testStaticSite0", - "api-version": "2025-03-01" + "api-version": "2025-03-01", + "resourceGroupName": "rg", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" }, "responses": { "200": { - "headers": {}, "body": { + "nextLink": null, "value": [ { "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/sites/testSite/privateEndpointConnections/connection", "properties": { - "provisioningState": "Succeeded", "privateEndpoint": { "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Network/privateEndpoints/myPrivateEndpoint" }, "privateLinkServiceConnectionState": { - "status": "Approved", "description": "Approved by admin.", - "actionsRequired": "" - } + "actionsRequired": "", + "status": "Approved" + }, + "provisioningState": "Succeeded" } } - ], - "nextLink": null - } + ] + }, + "headers": {} } - } + }, + "operationId": "StaticSites_GetPrivateEndpointConnectionList", + "title": "Get a list of private endpoint connections associated with a site." } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetSitePrivateEndpointConnectionSlot.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetSitePrivateEndpointConnectionSlot.json index 529b00f204af..194bef3e03d7 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetSitePrivateEndpointConnectionSlot.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetSitePrivateEndpointConnectionSlot.json @@ -1,29 +1,31 @@ { "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "rg", "name": "testSite", - "slot": "stage", + "api-version": "2025-03-01", "privateEndpointConnectionName": "connection", - "api-version": "2025-03-01" + "resourceGroupName": "rg", + "slot": "stage", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" }, "responses": { "200": { - "headers": {}, "body": { "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/sites/testSite/slot/stage/privateEndpointConnections/connection", "properties": { - "provisioningState": "Succeeded", "privateEndpoint": { "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Network/privateEndpoints/myPrivateEndpoint" }, "privateLinkServiceConnectionState": { - "status": "Approved", "description": "Approved by admin.", - "actionsRequired": "" - } + "actionsRequired": "", + "status": "Approved" + }, + "provisioningState": "Succeeded" } - } + }, + "headers": {} } - } + }, + "operationId": "WebApps_GetPrivateEndpointConnectionSlot", + "title": "Get a private endpoint connection for a site." } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetSitePrivateEndpointConnection_StaticSites.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetSitePrivateEndpointConnection_StaticSites.json new file mode 100644 index 000000000000..413f236355d8 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetSitePrivateEndpointConnection_StaticSites.json @@ -0,0 +1,30 @@ +{ + "parameters": { + "name": "testSite", + "api-version": "2025-03-01", + "privateEndpointConnectionName": "connection", + "resourceGroupName": "rg", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/sites/testSite/privateEndpointConnections/connection", + "properties": { + "privateEndpoint": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Network/privateEndpoints/myPrivateEndpoint" + }, + "privateLinkServiceConnectionState": { + "description": "Approved by admin.", + "actionsRequired": "", + "status": "Approved" + }, + "provisioningState": "Succeeded" + } + }, + "headers": {} + } + }, + "operationId": "StaticSites_GetPrivateEndpointConnection", + "title": "Get a private endpoint connection for a site." +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetSitePrivateLinkResources.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetSitePrivateLinkResources.json index 872dc2549db6..210b21be9ff7 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetSitePrivateLinkResources.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetSitePrivateLinkResources.json @@ -1,19 +1,18 @@ { "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "rg", "name": "testSite", - "api-version": "2025-03-01" + "api-version": "2025-03-01", + "resourceGroupName": "rg", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" }, "responses": { "200": { - "headers": {}, "body": { "value": [ { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/sites/testSite/privateLinkResources/site", "name": "site", "type": "Microsoft.Web/sites/privateLinkResources", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/sites/testSite/privateLinkResources/site", "properties": { "groupId": "sites", "requiredMembers": [ @@ -25,7 +24,10 @@ } } ] - } + }, + "headers": {} } - } + }, + "operationId": "StaticSites_GetPrivateLinkResources", + "title": "Get private link resources of a site" } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetSitePrivateLinkResourcesSlot.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetSitePrivateLinkResourcesSlot.json index fc63a03c3e5a..99a143360a46 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetSitePrivateLinkResourcesSlot.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetSitePrivateLinkResourcesSlot.json @@ -1,20 +1,19 @@ { "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "rg", "name": "testSite", + "api-version": "2025-03-01", + "resourceGroupName": "rg", "slot": "stage", - "api-version": "2025-03-01" + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" }, "responses": { "200": { - "headers": {}, "body": { "value": [ { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/sites/testSite/privateLinkResources/site", "name": "site", "type": "Microsoft.Web/sites/privateLinkResources", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/sites/testSite/privateLinkResources/site", "properties": { "groupId": "sites", "requiredMembers": [ @@ -26,7 +25,10 @@ } } ] - } + }, + "headers": {} } - } + }, + "operationId": "WebApps_GetPrivateLinkResourcesSlot", + "title": "Get private link resources of a site" } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetSitePrivateLinkResources_WebApps.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetSitePrivateLinkResources_WebApps.json new file mode 100644 index 000000000000..b3aa1396a603 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetSitePrivateLinkResources_WebApps.json @@ -0,0 +1,33 @@ +{ + "parameters": { + "name": "testSite", + "api-version": "2025-03-01", + "resourceGroupName": "rg", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "site", + "type": "Microsoft.Web/sites/privateLinkResources", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/sites/testSite/privateLinkResources/site", + "properties": { + "groupId": "sites", + "requiredMembers": [ + "sites" + ], + "requiredZoneNames": [ + "privatelink.testsite.azurewebsites.net" + ] + } + } + ] + }, + "headers": {} + } + }, + "operationId": "WebApps_GetPrivateLinkResources", + "title": "Get private link resources of a site" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetStaticSite.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetStaticSite.json index 181aa0320132..47fd47ae9513 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetStaticSite.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetStaticSite.json @@ -1,43 +1,45 @@ { "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "rg", "name": "testStaticSite0", - "api-version": "2025-03-01" + "api-version": "2025-03-01", + "resourceGroupName": "rg", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" }, "responses": { "200": { - "headers": {}, "body": { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/staticSites/testStaticSite0", "name": "testStaticSite0", "type": "Microsoft.Web/staticSites", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/staticSites/testStaticSite0", "location": "West US 2", "properties": { - "defaultHostname": "happy-sea-15afae3e.azurestaticwebsites.net", - "repositoryUrl": "https://github.com/username/repo", + "allowConfigFileUpdates": true, "branch": "demo", - "customDomains": [], - "privateEndpointConnections": [], "contentDistributionEndpoint": "", + "customDomains": [], + "defaultHostname": "happy-sea-15afae3e.azurestaticwebsites.net", "keyVaultReferenceIdentity": "SystemAssigned", - "userProvidedFunctionApps": null, "linkedBackends": [ { "backendResourceId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.ApiManagement/service/apimService0", - "region": null, "createdOn": "2022-03-27T04:57:24.8058474", - "provisioningState": "Succeeded" + "provisioningState": "Succeeded", + "region": null } ], + "privateEndpointConnections": [], + "repositoryUrl": "https://github.com/username/repo", "stagingEnvironmentPolicy": "Enabled", - "allowConfigFileUpdates": true + "userProvidedFunctionApps": null }, "sku": { "name": "Basic", "tier": "Basic" } - } + }, + "headers": {} } - } + }, + "operationId": "StaticSites_GetStaticSite", + "title": "Get details for a static site" } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetStaticSiteBasicAuth.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetStaticSiteBasicAuth.json index 0d07771eae8d..cd5ecb6bf3ad 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetStaticSiteBasicAuth.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetStaticSiteBasicAuth.json @@ -1,24 +1,26 @@ { "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "rg", "name": "testStaticSite0", + "api-version": "2025-03-01", "basicAuthName": "default", - "api-version": "2025-03-01" + "resourceGroupName": "rg", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" }, "responses": { "200": { - "headers": {}, "body": { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/staticSites/testStaticSite0/basicAuth/default", "name": "default", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/staticSites/testStaticSite0/basicAuth/default", "properties": { - "environments": null, - "secretUrl": null, "applicableEnvironmentsMode": "AllEnvironments", - "secretState": "Password" + "environments": null, + "secretState": "Password", + "secretUrl": null } - } + }, + "headers": {} } - } + }, + "operationId": "StaticSites_GetBasicAuth", + "title": "Gets the basic auth properties for a static site." } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetStaticSiteBuild.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetStaticSiteBuild.json index a29c38288891..da56f75d9e9a 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetStaticSiteBuild.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetStaticSiteBuild.json @@ -1,35 +1,37 @@ { "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "rg", "name": "testStaticSite0", + "api-version": "2025-03-01", "environmentName": "12", - "api-version": "2025-03-01" + "resourceGroupName": "rg", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" }, "responses": { "200": { - "headers": {}, "body": { "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/staticSites/testStaticSite0/builds/12", "properties": { "buildId": "12", - "sourceBranch": "pr-branch", - "pullRequestTitle": "Update README.md", - "hostname": "happy-sea-15afae3e-12.westus2.azurestaticwebsites.net", "createdTimeUtc": "2020-03-04T17:33:11.641Z", + "hostname": "happy-sea-15afae3e-12.westus2.azurestaticwebsites.net", "lastUpdatedOn": "2020-03-04T17:33:11.641Z", - "status": "Uploading", - "userProvidedFunctionApps": null, "linkedBackends": [ { "backendResourceId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.ApiManagement/service/apimService0", - "region": null, "createdOn": "2022-03-27T04:57:24.8058474", - "provisioningState": "Succeeded" + "provisioningState": "Succeeded", + "region": null } - ] + ], + "pullRequestTitle": "Update README.md", + "sourceBranch": "pr-branch", + "status": "Uploading", + "userProvidedFunctionApps": null } - } + }, + "headers": {} } - } + }, + "operationId": "StaticSites_GetStaticSiteBuild", + "title": "Get a static site build" } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetStaticSiteBuildDatabaseConnection.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetStaticSiteBuildDatabaseConnection.json index 2db6e2f9f2d1..e30bbfa4bf66 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetStaticSiteBuildDatabaseConnection.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetStaticSiteBuildDatabaseConnection.json @@ -1,25 +1,27 @@ { "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "rg", "name": "testStaticSite0", - "environmentName": "default", + "api-version": "2025-03-01", "databaseConnectionName": "default", - "api-version": "2025-03-01" + "environmentName": "default", + "resourceGroupName": "rg", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" }, "responses": { "200": { - "headers": {}, "body": { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/staticSites/testStaticSite0/builds/default/databaseConnections/default", "name": "default", "type": "Microsoft.Web/staticSites/builds/databaseConnections", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/staticSites/testStaticSite0/builds/default/databaseConnections/default", "properties": { - "resourceId": "/subscription/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/databaseRG/providers/Microsoft.DocumentDB/databaseAccounts/exampleDatabaseName", "connectionIdentity": "SystemAssigned", - "region": "West US 2" + "region": "West US 2", + "resourceId": "/subscription/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/databaseRG/providers/Microsoft.DocumentDB/databaseAccounts/exampleDatabaseName" } - } + }, + "headers": {} } - } + }, + "operationId": "StaticSites_GetBuildDatabaseConnection", + "title": "Get overview of database connections for the static site build." } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetStaticSiteBuildDatabaseConnectionWithDetails.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetStaticSiteBuildDatabaseConnectionWithDetails.json index 22ea8cc2a478..6d50f8c2a03c 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetStaticSiteBuildDatabaseConnectionWithDetails.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetStaticSiteBuildDatabaseConnectionWithDetails.json @@ -1,38 +1,40 @@ { "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "rg", "name": "testStaticSite0", - "environmentName": "default", + "api-version": "2025-03-01", "databaseConnectionName": "default", - "api-version": "2025-03-01" + "environmentName": "default", + "resourceGroupName": "rg", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" }, "responses": { "200": { - "headers": {}, "body": { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/staticSites/testStaticSite0/builds/default/databaseConnections/default", "name": "default", "type": "Microsoft.Web/staticSites/builds/databaseConnections", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/staticSites/testStaticSite0/builds/default/databaseConnections/default", "properties": { - "resourceId": "/subscription/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/databaseRG/providers/Microsoft.DocumentDB/databaseAccounts/exampleDatabaseName", - "connectionIdentity": "SystemAssigned", - "connectionString": "AccountEndpoint=https://exampleDatabaseName.documents.azure.com:443/;Database=mydb;", - "region": "West US 2", "configurationFiles": [ { - "fileName": "staticwebapp.database.config.json", + "type": "configuration", "contents": "base64encodeddatabaseconfiguration", - "type": "configuration" + "fileName": "staticwebapp.database.config.json" }, { - "fileName": "staticwebapp.database.schema.gql", + "type": "graphqlschema", "contents": "base64encodeddatabasegraphqlschema", - "type": "graphqlschema" + "fileName": "staticwebapp.database.schema.gql" } - ] + ], + "connectionIdentity": "SystemAssigned", + "connectionString": "AccountEndpoint=https://exampleDatabaseName.documents.azure.com:443/;Database=mydb;", + "region": "West US 2", + "resourceId": "/subscription/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/databaseRG/providers/Microsoft.DocumentDB/databaseAccounts/exampleDatabaseName" } - } + }, + "headers": {} } - } + }, + "operationId": "StaticSites_GetBuildDatabaseConnectionWithDetails", + "title": "Get details of database connections for the static site build." } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetStaticSiteBuildDatabaseConnections.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetStaticSiteBuildDatabaseConnections.json index 2b62eaf58be1..6e31b0a5ab23 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetStaticSiteBuildDatabaseConnections.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetStaticSiteBuildDatabaseConnections.json @@ -1,29 +1,31 @@ { "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "rg", "name": "testStaticSite0", + "api-version": "2025-03-01", "environmentName": "default", - "api-version": "2025-03-01" + "resourceGroupName": "rg", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" }, "responses": { "200": { - "headers": {}, "body": { + "nextLink": null, "value": [ { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/staticSites/testStaticSite0/builds/default/databaseConnections/default", "name": "default", "type": "Microsoft.Web/staticSites/builds/databaseConnections", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/staticSites/testStaticSite0/builds/default/databaseConnections/default", "properties": { - "resourceId": "/subscription/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/databaseRG/providers/Microsoft.DocumentDB/databaseAccounts/exampleDatabaseName", "connectionIdentity": "SystemAssigned", - "region": "West US 2" + "region": "West US 2", + "resourceId": "/subscription/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/databaseRG/providers/Microsoft.DocumentDB/databaseAccounts/exampleDatabaseName" } } - ], - "nextLink": null - } + ] + }, + "headers": {} } - } + }, + "operationId": "StaticSites_GetBuildDatabaseConnections", + "title": "List overviews of database connections for the static site build." } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetStaticSiteBuildDatabaseConnectionsWithDetails.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetStaticSiteBuildDatabaseConnectionsWithDetails.json index 419f50feec08..c7596470f8ef 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetStaticSiteBuildDatabaseConnectionsWithDetails.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetStaticSiteBuildDatabaseConnectionsWithDetails.json @@ -1,42 +1,44 @@ { "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "rg", "name": "testStaticSite0", + "api-version": "2025-03-01", "environmentName": "default", - "api-version": "2025-03-01" + "resourceGroupName": "rg", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" }, "responses": { "200": { - "headers": {}, "body": { + "nextLink": null, "value": [ { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/staticSites/testStaticSite0/builds/default/databaseConnections/default", "name": "default", "type": "Microsoft.Web/staticSites/builds/databaseConnections", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/staticSites/testStaticSite0/builds/default/databaseConnections/default", "properties": { - "resourceId": "/subscription/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/databaseRG/providers/Microsoft.DocumentDB/databaseAccounts/exampleDatabaseName", - "connectionIdentity": "SystemAssigned", - "connectionString": "AccountEndpoint=https://exampleDatabaseName.documents.azure.com:443/;Database=mydb;", - "region": "West US 2", "configurationFiles": [ { - "fileName": "staticwebapp.database.config.json", + "type": "configuration", "contents": "base64encodeddatabaseconfiguration", - "type": "configuration" + "fileName": "staticwebapp.database.config.json" }, { - "fileName": "staticwebapp.database.schema.gql", + "type": "graphqlschema", "contents": "base64encodeddatabasegraphqlschema", - "type": "graphqlschema" + "fileName": "staticwebapp.database.schema.gql" } - ] + ], + "connectionIdentity": "SystemAssigned", + "connectionString": "AccountEndpoint=https://exampleDatabaseName.documents.azure.com:443/;Database=mydb;", + "region": "West US 2", + "resourceId": "/subscription/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/databaseRG/providers/Microsoft.DocumentDB/databaseAccounts/exampleDatabaseName" } } - ], - "nextLink": null - } + ] + }, + "headers": {} } - } + }, + "operationId": "StaticSites_GetBuildDatabaseConnectionsWithDetails", + "title": "List full details of database connections for the static site build." } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetStaticSiteBuilds.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetStaticSiteBuilds.json index 46c2c88f1950..cbc8e060621d 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetStaticSiteBuilds.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetStaticSiteBuilds.json @@ -1,53 +1,55 @@ { "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "rg", "name": "testStaticSite0", - "api-version": "2025-03-01" + "api-version": "2025-03-01", + "resourceGroupName": "rg", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" }, "responses": { "200": { - "headers": {}, "body": { + "nextLink": null, "value": [ { "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/staticSites/testStaticSite0/builds/default", "properties": { "buildId": "default", - "sourceBranch": "demo", - "pullRequestTitle": null, - "hostname": "happy-sea-15afae3e.azurestaticwebsites.net", "createdTimeUtc": "2020-03-04T17:33:11.641Z", + "hostname": "happy-sea-15afae3e.azurestaticwebsites.net", "lastUpdatedOn": "2020-03-04T17:33:11.641Z", + "linkedBackends": [], + "pullRequestTitle": null, + "sourceBranch": "demo", "status": "Ready", - "userProvidedFunctionApps": null, - "linkedBackends": [] + "userProvidedFunctionApps": null } }, { "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/staticSites/testStaticSite0/builds/12", "properties": { "buildId": "12", - "sourceBranch": "demo-patch2", - "pullRequestTitle": "Update README.md", - "hostname": "happy-sea-15afae3e-12.westus2.azurestaticwebsites.net", "createdTimeUtc": "2020-03-04T17:33:11.641Z", + "hostname": "happy-sea-15afae3e-12.westus2.azurestaticwebsites.net", "lastUpdatedOn": "2020-03-04T17:33:11.641Z", - "status": "Ready", - "userProvidedFunctionApps": null, "linkedBackends": [ { "backendResourceId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.ApiManagement/service/apimService0", - "region": null, "createdOn": "2022-03-27T04:57:24.8058474", - "provisioningState": "Succeeded" + "provisioningState": "Succeeded", + "region": null } - ] + ], + "pullRequestTitle": "Update README.md", + "sourceBranch": "demo-patch2", + "status": "Ready", + "userProvidedFunctionApps": null } } - ], - "nextLink": null - } + ] + }, + "headers": {} } - } + }, + "operationId": "StaticSites_GetStaticSiteBuilds", + "title": "Get all builds for a static site" } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetStaticSiteCustomDomain.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetStaticSiteCustomDomain.json index 257a36244f90..71ba2e49cdd9 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetStaticSiteCustomDomain.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetStaticSiteCustomDomain.json @@ -1,20 +1,22 @@ { "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "rg", "name": "testStaticSite0", + "api-version": "2025-03-01", "domainName": "custom.domain.net", - "api-version": "2025-03-01" + "resourceGroupName": "rg", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" }, "responses": { "200": { "body": { "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/staticSitesBuilds/testStaticSite0/customDomains/custom.domain.net", "properties": { - "domainName": "custom.domain.net", - "createdOn": "2020-03-04T17:33:11.641Z" + "createdOn": "2020-03-04T17:33:11.641Z", + "domainName": "custom.domain.net" } } } - } + }, + "operationId": "StaticSites_GetStaticSiteCustomDomain", + "title": "Get custom domain for a static site" } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetStaticSiteCustomDomains.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetStaticSiteCustomDomains.json index af07d95244c5..0f2e010de49b 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetStaticSiteCustomDomains.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetStaticSiteCustomDomains.json @@ -1,25 +1,27 @@ { "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "rg", "name": "testStaticSite0", - "api-version": "2025-03-01" + "api-version": "2025-03-01", + "resourceGroupName": "rg", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" }, "responses": { "200": { - "headers": {}, "body": { + "nextLink": null, "value": [ { "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/staticSitesBuilds/testStaticSite0/customDomains/custom.domain.net", "properties": { - "domainName": "custom.domain.net", - "createdOn": "2020-03-04T17:33:11.641Z" + "createdOn": "2020-03-04T17:33:11.641Z", + "domainName": "custom.domain.net" } } - ], - "nextLink": null - } + ] + }, + "headers": {} } - } + }, + "operationId": "StaticSites_ListStaticSiteCustomDomains", + "title": "List custom domains for a static site" } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetStaticSiteDatabaseConnection.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetStaticSiteDatabaseConnection.json index f46dc31c8e72..df5d865d638a 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetStaticSiteDatabaseConnection.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetStaticSiteDatabaseConnection.json @@ -1,24 +1,26 @@ { "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "rg", "name": "testStaticSite0", + "api-version": "2025-03-01", "databaseConnectionName": "default", - "api-version": "2025-03-01" + "resourceGroupName": "rg", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" }, "responses": { "200": { - "headers": {}, "body": { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/staticSites/testStaticSite0/databaseConnections/default", "name": "default", "type": "Microsoft.Web/staticSites/databaseConnections", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/staticSites/testStaticSite0/databaseConnections/default", "properties": { - "resourceId": "/subscription/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/databaseRG/providers/Microsoft.DocumentDB/databaseAccounts/exampleDatabaseName", "connectionIdentity": "SystemAssigned", - "region": "West US 2" + "region": "West US 2", + "resourceId": "/subscription/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/databaseRG/providers/Microsoft.DocumentDB/databaseAccounts/exampleDatabaseName" } - } + }, + "headers": {} } - } + }, + "operationId": "StaticSites_GetDatabaseConnection", + "title": "Get overview of database connections for the static site." } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetStaticSiteDatabaseConnectionWithDetails.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetStaticSiteDatabaseConnectionWithDetails.json index 6da8e80bd3fd..45f64b104f07 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetStaticSiteDatabaseConnectionWithDetails.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetStaticSiteDatabaseConnectionWithDetails.json @@ -1,37 +1,39 @@ { "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "rg", "name": "testStaticSite0", + "api-version": "2025-03-01", "databaseConnectionName": "default", - "api-version": "2025-03-01" + "resourceGroupName": "rg", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" }, "responses": { "200": { - "headers": {}, "body": { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/staticSites/testStaticSite0/databaseConnections/default", "name": "default", "type": "Microsoft.Web/staticSites/databaseConnections", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/staticSites/testStaticSite0/databaseConnections/default", "properties": { - "resourceId": "/subscription/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/databaseRG/providers/Microsoft.DocumentDB/databaseAccounts/exampleDatabaseName", - "connectionIdentity": "SystemAssigned", - "connectionString": "AccountEndpoint=https://exampleDatabaseName.documents.azure.com:443/;Database=mydb;", - "region": "West US 2", "configurationFiles": [ { - "fileName": "staticwebapp.database.config.json", + "type": "configuration", "contents": "base64encodeddatabaseconfiguration", - "type": "configuration" + "fileName": "staticwebapp.database.config.json" }, { - "fileName": "staticwebapp.database.schema.gql", + "type": "graphqlschema", "contents": "base64encodeddatabasegraphqlschema", - "type": "graphqlschema" + "fileName": "staticwebapp.database.schema.gql" } - ] + ], + "connectionIdentity": "SystemAssigned", + "connectionString": "AccountEndpoint=https://exampleDatabaseName.documents.azure.com:443/;Database=mydb;", + "region": "West US 2", + "resourceId": "/subscription/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/databaseRG/providers/Microsoft.DocumentDB/databaseAccounts/exampleDatabaseName" } - } + }, + "headers": {} } - } + }, + "operationId": "StaticSites_GetDatabaseConnectionWithDetails", + "title": "Get details of database connections for the static site." } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetStaticSiteDatabaseConnections.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetStaticSiteDatabaseConnections.json index 02d144a1b296..3fe25ba26c38 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetStaticSiteDatabaseConnections.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetStaticSiteDatabaseConnections.json @@ -1,28 +1,30 @@ { "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "rg", "name": "testStaticSite0", - "api-version": "2025-03-01" + "api-version": "2025-03-01", + "resourceGroupName": "rg", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" }, "responses": { "200": { - "headers": {}, "body": { + "nextLink": null, "value": [ { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/staticSites/testStaticSite0/databaseConnections/default", "name": "default", "type": "Microsoft.Web/staticSites/databaseConnections", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/staticSites/testStaticSite0/databaseConnections/default", "properties": { - "resourceId": "/subscription/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/databaseRG/providers/Microsoft.DocumentDB/databaseAccounts/exampleDatabaseName", "connectionIdentity": "SystemAssigned", - "region": "West US 2" + "region": "West US 2", + "resourceId": "/subscription/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/databaseRG/providers/Microsoft.DocumentDB/databaseAccounts/exampleDatabaseName" } } - ], - "nextLink": null - } + ] + }, + "headers": {} } - } + }, + "operationId": "StaticSites_GetDatabaseConnections", + "title": "List overviews of database connections for the static site." } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetStaticSiteDatabaseConnectionsWithDetails.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetStaticSiteDatabaseConnectionsWithDetails.json index 8e6723f64a04..8b77ae97694c 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetStaticSiteDatabaseConnectionsWithDetails.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetStaticSiteDatabaseConnectionsWithDetails.json @@ -1,41 +1,43 @@ { "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "rg", "name": "testStaticSite0", - "api-version": "2025-03-01" + "api-version": "2025-03-01", + "resourceGroupName": "rg", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" }, "responses": { "200": { - "headers": {}, "body": { + "nextLink": null, "value": [ { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/staticSites/testStaticSite0/databaseConnections/default", "name": "default", "type": "Microsoft.Web/staticSites/databaseConnections", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/staticSites/testStaticSite0/databaseConnections/default", "properties": { - "resourceId": "/subscription/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/databaseRG/providers/Microsoft.DocumentDB/databaseAccounts/exampleDatabaseName", - "connectionIdentity": "SystemAssigned", - "connectionString": "AccountEndpoint=https://exampleDatabaseName.documents.azure.com:443/;Database=mydb;", - "region": "West US 2", "configurationFiles": [ { - "fileName": "staticwebapp.database.config.json", + "type": "configuration", "contents": "base64encodeddatabaseconfiguration", - "type": "configuration" + "fileName": "staticwebapp.database.config.json" }, { - "fileName": "staticwebapp.database.schema.gql", + "type": "graphqlschema", "contents": "base64encodeddatabasegraphqlschema", - "type": "graphqlschema" + "fileName": "staticwebapp.database.schema.gql" } - ] + ], + "connectionIdentity": "SystemAssigned", + "connectionString": "AccountEndpoint=https://exampleDatabaseName.documents.azure.com:443/;Database=mydb;", + "region": "West US 2", + "resourceId": "/subscription/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/databaseRG/providers/Microsoft.DocumentDB/databaseAccounts/exampleDatabaseName" } } - ], - "nextLink": null - } + ] + }, + "headers": {} } - } + }, + "operationId": "StaticSites_GetDatabaseConnectionsWithDetails", + "title": "List full details of database connections for the static site." } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetStaticSites.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetStaticSites.json index a442ebbd02d9..bce10ad42e03 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetStaticSites.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetStaticSites.json @@ -1,40 +1,42 @@ { "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "api-version": "2025-03-01", "resourceGroupName": "rg", - "api-version": "2025-03-01" + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" }, "responses": { "200": { - "headers": {}, "body": { + "nextLink": null, "value": [ { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/staticSites/testStaticSite0", "name": "testStaticSite0", "type": "Microsoft.Web/staticSites", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/staticSites/testStaticSite0", "location": "West US 2", "properties": { - "defaultHostname": "happy-sea-15afae3e.azurestaticwebsites.net", - "repositoryUrl": "https://github.com/username/repo", + "allowConfigFileUpdates": true, "branch": "demo", - "customDomains": [], - "privateEndpointConnections": [], "contentDistributionEndpoint": "", + "customDomains": [], + "defaultHostname": "happy-sea-15afae3e.azurestaticwebsites.net", "keyVaultReferenceIdentity": "SystemAssigned", - "userProvidedFunctionApps": null, "linkedBackends": [], + "privateEndpointConnections": [], + "repositoryUrl": "https://github.com/username/repo", "stagingEnvironmentPolicy": "Enabled", - "allowConfigFileUpdates": true + "userProvidedFunctionApps": null }, "sku": { "name": "Standard", "tier": "Standard" } } - ], - "nextLink": null - } + ] + }, + "headers": {} } - } + }, + "operationId": "StaticSites_GetStaticSitesByResourceGroup", + "title": "Get static sites for a resource group" } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetSubscriptionOperationWithAsyncResponse.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetSubscriptionOperationWithAsyncResponse.json index cbe060e743de..61b66cb1b35e 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetSubscriptionOperationWithAsyncResponse.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetSubscriptionOperationWithAsyncResponse.json @@ -1,11 +1,13 @@ { "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "location": "West US", "operationId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab5d5", - "api-version": "2025-03-01" + "api-version": "2025-03-01", + "location": "West US", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" }, "responses": { "204": {} - } + }, + "operationId": "Global_GetSubscriptionOperationWithAsyncResponse", + "title": "Gets an operation in a subscription and given region" } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetUsagesInLocation.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetUsagesInLocation.json index 835cab99de68..fe3e0854e6fc 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetUsagesInLocation.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetUsagesInLocation.json @@ -1,27 +1,29 @@ { "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "api-version": "2025-03-01", "location": "West US", "quotaType": "regional", - "api-version": "2025-03-01" + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" }, "responses": { "200": { - "headers": {}, "body": { + "nextLink": null, "value": [ { - "unit": "Core Count", + "name": { + "localizedValue": "Cores usage in West US", + "value": "Cores usage in West US" + }, "currentValue": 55, "limit": 250, - "name": { - "value": "Cores usage in West US", - "localizedValue": "Cores usage in West US" - } + "unit": "Core Count" } - ], - "nextLink": null - } + ] + }, + "headers": {} } - } + }, + "operationId": "GetUsagesInLocation_list", + "title": "Get usages in location for subscription" } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetUserProvidedFunctionAppForStaticSite.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetUserProvidedFunctionAppForStaticSite.json index f93093952c90..a8540a0bfba5 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetUserProvidedFunctionAppForStaticSite.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetUserProvidedFunctionAppForStaticSite.json @@ -1,24 +1,26 @@ { "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "rg", "name": "testStaticSite0", + "api-version": "2025-03-01", "functionAppName": "testFunctionApp", - "api-version": "2025-03-01" + "resourceGroupName": "rg", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" }, "responses": { "200": { - "headers": {}, "body": { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/staticSites/testStaticSite0/builds/default/userProvidedFunctionApps/testFunctionApp", "name": "testFunctionApp", "type": "Microsoft.Web/staticSites/builds/userProvidedFunctionApps", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/staticSites/testStaticSite0/builds/default/userProvidedFunctionApps/testFunctionApp", "properties": { - "functionAppResourceId": "/subscription/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/functionRG/providers/Microsoft.Web/sites/testFunctionApp", + "createdOn": "2020-03-04T17:33:11.641Z", "functionAppRegion": "West US 2", - "createdOn": "2020-03-04T17:33:11.641Z" + "functionAppResourceId": "/subscription/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/functionRG/providers/Microsoft.Web/sites/testFunctionApp" } - } + }, + "headers": {} } - } + }, + "operationId": "StaticSites_GetUserProvidedFunctionAppForStaticSite", + "title": "Get details of the user provided function app registered with a static site." } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetUserProvidedFunctionAppForStaticSiteBuild.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetUserProvidedFunctionAppForStaticSiteBuild.json index 0c031480a879..d6d88f9ab322 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetUserProvidedFunctionAppForStaticSiteBuild.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetUserProvidedFunctionAppForStaticSiteBuild.json @@ -1,25 +1,27 @@ { "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "rg", "name": "testStaticSite0", + "api-version": "2025-03-01", "environmentName": "default", "functionAppName": "testFunctionApp", - "api-version": "2025-03-01" + "resourceGroupName": "rg", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" }, "responses": { "200": { - "headers": {}, "body": { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/staticSites/testStaticSite0/builds/default/userProvidedFunctionApps/testFunctionApp", "name": "testFunctionApp", "type": "Microsoft.Web/staticSites/builds/userProvidedFunctionApps", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/staticSites/testStaticSite0/builds/default/userProvidedFunctionApps/testFunctionApp", "properties": { - "functionAppResourceId": "/subscription/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/functionRG/providers/Microsoft.Web/sites/testFunctionApp", + "createdOn": "2020-03-04T17:33:11.641Z", "functionAppRegion": "West US 2", - "createdOn": "2020-03-04T17:33:11.641Z" + "functionAppResourceId": "/subscription/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/functionRG/providers/Microsoft.Web/sites/testFunctionApp" } - } + }, + "headers": {} } - } + }, + "operationId": "StaticSites_GetUserProvidedFunctionAppForStaticSiteBuild", + "title": "Get details of the user provided function app registered with a static site build." } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetUserProvidedFunctionAppsForStaticSite.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetUserProvidedFunctionAppsForStaticSite.json index 92d5f8aec496..41491028b0fb 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetUserProvidedFunctionAppsForStaticSite.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetUserProvidedFunctionAppsForStaticSite.json @@ -1,28 +1,30 @@ { "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "rg", "name": "testStaticSite0", - "api-version": "2025-03-01" + "api-version": "2025-03-01", + "resourceGroupName": "rg", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" }, "responses": { "200": { - "headers": {}, "body": { + "nextLink": null, "value": [ { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/staticSites/testStaticSite0/builds/default/userProvidedFunctionApps/testFunctionApp", "name": "testFunctionApp", "type": "Microsoft.Web/staticSites/builds/userProvidedFunctionApps", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/staticSites/testStaticSite0/builds/default/userProvidedFunctionApps/testFunctionApp", "properties": { - "functionAppResourceId": "/subscription/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/functionRG/providers/Microsoft.Web/sites/testFunctionApp", + "createdOn": "2020-03-04T17:33:11.641Z", "functionAppRegion": "West US 2", - "createdOn": "2020-03-04T17:33:11.641Z" + "functionAppResourceId": "/subscription/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/functionRG/providers/Microsoft.Web/sites/testFunctionApp" } } - ], - "nextLink": null - } + ] + }, + "headers": {} } - } + }, + "operationId": "StaticSites_GetUserProvidedFunctionAppsForStaticSite", + "title": "Get details of the user provided function apps registered with a static site." } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetUserProvidedFunctionAppsForStaticSiteBuild.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetUserProvidedFunctionAppsForStaticSiteBuild.json index d7f6e8e5c8ac..89da21ae459d 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetUserProvidedFunctionAppsForStaticSiteBuild.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetUserProvidedFunctionAppsForStaticSiteBuild.json @@ -1,29 +1,31 @@ { "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "rg", "name": "testStaticSite0", + "api-version": "2025-03-01", "environmentName": "default", - "api-version": "2025-03-01" + "resourceGroupName": "rg", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" }, "responses": { "200": { - "headers": {}, "body": { + "nextLink": null, "value": [ { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/staticSites/testStaticSite0/builds/default/userProvidedFunctionApps/testFunctionApp", "name": "testFunctionApp", "type": "Microsoft.Web/staticSites/builds/userProvidedFunctionApps", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/staticSites/testStaticSite0/builds/default/userProvidedFunctionApps/testFunctionApp", "properties": { - "functionAppResourceId": "/subscription/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/functionRG/providers/Microsoft.Web/sites/testFunctionApp", + "createdOn": "2020-03-04T17:33:11.641Z", "functionAppRegion": "West US 2", - "createdOn": "2020-03-04T17:33:11.641Z" + "functionAppResourceId": "/subscription/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/functionRG/providers/Microsoft.Web/sites/testFunctionApp" } } - ], - "nextLink": null - } + ] + }, + "headers": {} } - } + }, + "operationId": "StaticSites_GetUserProvidedFunctionAppsForStaticSiteBuild", + "title": "Get details of the user provided function apps registered with a static site build." } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetWebApp.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetWebApp.json index afcec4baa7e0..ac947763cc3b 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetWebApp.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetWebApp.json @@ -1,58 +1,78 @@ { "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "testrg123", "name": "sitef6141", - "api-version": "2025-03-01" + "api-version": "2025-03-01", + "resourceGroupName": "testrg123", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" }, "responses": { "200": { - "headers": {}, "body": { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/sitef6141", "name": "sitef6141", "type": "Microsoft.Web/sites", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/sitef6141", "kind": "app", "location": "East US", "properties": { - "state": "Running", - "hostNames": [ - "sitef6141.azurewebsites.net" - ], - "repositorySiteName": "sitef6141", - "usageState": "Normal", + "availabilityState": "Normal", + "clientAffinityEnabled": true, + "clientCertEnabled": false, + "clientCertMode": "Required", + "containerSize": 0, + "customDomainVerificationId": "7F3BB652450EF7AD0B6AA33064586E4A9CE823A46DF0B2EC6443A68086E84153", + "dailyMemoryTimeQuota": 0, + "defaultHostName": "sitef6141.azurewebsites.net", "enabled": true, "enabledHostNames": [ "sitef6141.azurewebsites.net", "sitef6141.scm.azurewebsites.net" ], - "availabilityState": "Normal", "hostNameSslStates": [ { "name": "sitef6141.azurewebsites.net", - "sslState": "Disabled", - "hostType": "Standard" + "hostType": "Standard", + "sslState": "Disabled" }, { "name": "sitef6141.scm.azurewebsites.net", - "sslState": "Disabled", - "hostType": "Repository" + "hostType": "Repository", + "sslState": "Disabled" } ], - "serverFarmId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/serverfarms/DefaultAsp", - "reserved": false, - "isXenon": false, + "hostNames": [ + "sitef6141.azurewebsites.net" + ], + "hostNamesDisabled": false, + "httpsOnly": false, "hyperV": false, + "isXenon": false, + "keyVaultReferenceIdentity": "SystemAssigned", "lastModifiedTimeUtc": "2020-03-04T17:33:11.641Z", + "outboundIpAddresses": "70.37.102.201,20.225.43.144", "outboundVnetRouting": { "allTraffic": false, "applicationTraffic": false, + "backupRestoreTraffic": false, "contentShareTraffic": false, - "imagePullTraffic": false, - "backupRestoreTraffic": false + "imagePullTraffic": false }, + "possibleOutboundIpAddresses": "70.37.102.201,20.225.43.144,20.225.184.122,20.225.184.188", + "redundancyMode": "None", + "repositorySiteName": "sitef6141", + "reserved": false, + "resourceConfig": { + "cpu": 1, + "memory": "2.0Gi" + }, + "resourceGroup": "testrg123", + "scmSiteAlsoStopped": false, + "serverFarmId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/serverfarms/DefaultAsp", "siteConfig": { - "numberOfWorkers": 1, + "acrUseManagedIdentityCreds": false, + "alwaysOn": false, + "appCommandLine": "", + "autoHealEnabled": false, + "azureStorageAccounts": {}, "defaultDocuments": [ "Default.htm", "Default.html", @@ -64,69 +84,51 @@ "index.php", "hostingstart.html" ], + "detailedErrorLoggingEnabled": false, + "ftpsState": "AllAllowed", + "functionAppScaleLimit": 0, + "functionsRuntimeScaleMonitoringEnabled": false, + "http20Enabled": false, + "httpLoggingEnabled": false, + "linuxFxVersion": "", + "loadBalancing": "LeastRequests", + "logsDirectorySizeLimit": 35, + "managedPipelineMode": "Integrated", + "minTlsVersion": "1.2", + "minimumElasticInstanceCount": 0, "netFrameworkVersion": "v4.0", - "phpVersion": "5.6", - "pythonVersion": "", "nodeVersion": "", + "numberOfWorkers": 1, + "phpVersion": "5.6", "powerShellVersion": "", - "linuxFxVersion": "", - "requestTracingEnabled": false, + "pythonVersion": "", "remoteDebuggingEnabled": false, - "httpLoggingEnabled": false, - "acrUseManagedIdentityCreds": false, - "logsDirectorySizeLimit": 35, - "detailedErrorLoggingEnabled": false, + "requestTracingEnabled": false, + "scmMinTlsVersion": "1.2", "use32BitWorkerProcess": true, - "webSocketsEnabled": false, - "alwaysOn": false, - "appCommandLine": "", - "managedPipelineMode": "Integrated", "virtualApplications": [ { - "virtualPath": "/", "physicalPath": "site\\wwwroot", - "preloadEnabled": false + "preloadEnabled": false, + "virtualPath": "/" } ], - "loadBalancing": "LeastRequests", - "autoHealEnabled": false, "vnetName": "", - "vnetRouteAllEnabled": false, "vnetPrivatePortsCount": 0, - "http20Enabled": false, - "minTlsVersion": "1.2", - "scmMinTlsVersion": "1.2", - "ftpsState": "AllAllowed", - "functionAppScaleLimit": 0, - "functionsRuntimeScaleMonitoringEnabled": false, - "minimumElasticInstanceCount": 0, - "azureStorageAccounts": {} + "vnetRouteAllEnabled": false, + "webSocketsEnabled": false }, - "scmSiteAlsoStopped": false, - "clientAffinityEnabled": true, - "clientCertEnabled": false, - "clientCertMode": "Required", - "hostNamesDisabled": false, - "customDomainVerificationId": "7F3BB652450EF7AD0B6AA33064586E4A9CE823A46DF0B2EC6443A68086E84153", - "outboundIpAddresses": "70.37.102.201,20.225.43.144", - "possibleOutboundIpAddresses": "70.37.102.201,20.225.43.144,20.225.184.122,20.225.184.188", - "containerSize": 0, - "dailyMemoryTimeQuota": 0, - "resourceGroup": "testrg123", - "defaultHostName": "sitef6141.azurewebsites.net", - "httpsOnly": false, - "redundancyMode": "None", + "sku": "Standard", + "state": "Running", "storageAccountRequired": false, - "keyVaultReferenceIdentity": "SystemAssigned", - "workloadProfileName": "myd4wp", - "resourceConfig": { - "cpu": 1.0, - "memory": "2.0Gi" - }, - "sku": "Standard" + "usageState": "Normal", + "workloadProfileName": "myd4wp" } - } + }, + "headers": {} }, "404": {} - } + }, + "operationId": "WebApps_Get", + "title": "Get Web App" } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetWebAppBackup.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetWebAppBackup.json index add4c38a4d2e..5aa010f64a60 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetWebAppBackup.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetWebAppBackup.json @@ -1,47 +1,49 @@ { "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "testrg123", "name": "sitef6141", + "api-version": "2025-03-01", "backupId": "12345", - "api-version": "2025-03-01" + "resourceGroupName": "testrg123", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" }, "responses": { "200": { - "headers": {}, "body": { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/sitef6141/backups/12345", "name": "sitef6141", "type": "Microsoft.Web/sites", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/sitef6141/backups/12345", "properties": { - "id": 12345, - "storageAccountUrl": "DefaultEndpointsProtocol=https;AccountName=storagesample;AccountKey=", - "blobName": "sitef6141_2025-03-01", - "name": "sitef6141_2025-03-01", - "status": "InProgress", - "sizeInBytes": 56091883, + "name": "sitef6141_2024-11-01", + "blobName": "sitef6141_2024-11-01", "created": "2022-09-03T17:33:11.641Z", - "log": "Succeeded", "databases": [ { - "databaseType": "SqlAzure", "name": "backenddb", + "connectionString": "DSN=data-source-name[;SERVER=value] [;PWD=value] [;UID=value] [;=]", "connectionStringName": "backend", - "connectionString": "DSN=data-source-name[;SERVER=value] [;PWD=value] [;UID=value] [;=]" + "databaseType": "SqlAzure" }, { - "databaseType": "SqlAzure", "name": "statsdb", + "connectionString": "DSN=data-source-name[;SERVER=value] [;PWD=value] [;UID=value] [;=]", "connectionStringName": "stats", - "connectionString": "DSN=data-source-name[;SERVER=value] [;PWD=value] [;UID=value] [;=]" + "databaseType": "SqlAzure" } ], - "scheduled": true, - "lastRestoreTimeStamp": "2022-09-04T17:33:11.641Z", "finishedTimeStamp": "2022-09-05T17:33:11.641Z", + "id": 12345, + "lastRestoreTimeStamp": "2022-09-04T17:33:11.641Z", + "log": "Succeeded", + "scheduled": true, + "sizeInBytes": 56091883, + "status": "InProgress", + "storageAccountUrl": "DefaultEndpointsProtocol=https;AccountName=storagesample;AccountKey=", "websiteSizeInBytes": 56091883 } - } + }, + "headers": {} } - } + }, + "operationId": "WebApps_GetBackupStatus", + "title": "Get web app backup" } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetWebAppBackupWithSecrets.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetWebAppBackupWithSecrets.json index 05336fe0c1b4..9ad278ec9fa5 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetWebAppBackupWithSecrets.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetWebAppBackupWithSecrets.json @@ -1,75 +1,77 @@ { "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "testrg123", "name": "sitef6141", - "backupId": "12345", "api-version": "2025-03-01", + "backupId": "12345", + "resourceGroupName": "testrg123", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", "request": { "properties": { - "storageAccountUrl": "DefaultEndpointsProtocol=https;AccountName=storagesample;AccountKey=", "backupName": "abcdwe", - "enabled": true, + "backupSchedule": { + "frequencyInterval": 7, + "frequencyUnit": "Day", + "keepAtLeastOneBackup": true, + "retentionPeriodInDays": 30, + "startTime": "2022-09-02T17:33:11.641Z" + }, "databases": [ { - "databaseType": "SqlAzure", "name": "backenddb", + "connectionString": "DSN=data-source-name[;SERVER=value] [;PWD=value] [;UID=value] [;=]", "connectionStringName": "backend", - "connectionString": "DSN=data-source-name[;SERVER=value] [;PWD=value] [;UID=value] [;=]" + "databaseType": "SqlAzure" }, { - "databaseType": "SqlAzure", "name": "statsdb", + "connectionString": "DSN=data-source-name[;SERVER=value] [;PWD=value] [;UID=value] [;=]", "connectionStringName": "stats", - "connectionString": "DSN=data-source-name[;SERVER=value] [;PWD=value] [;UID=value] [;=]" + "databaseType": "SqlAzure" } ], - "backupSchedule": { - "frequencyInterval": 7, - "frequencyUnit": "Day", - "keepAtLeastOneBackup": true, - "retentionPeriodInDays": 30, - "startTime": "2022-09-02T17:33:11.641Z" - } + "enabled": true, + "storageAccountUrl": "DefaultEndpointsProtocol=https;AccountName=storagesample;AccountKey=" } } }, "responses": { "200": { - "headers": {}, "body": { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/sitef6141/backups/12345", "name": "sitef6141", "type": "Microsoft.Web/sites", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/sitef6141/backups/12345", "properties": { - "id": 12345, - "storageAccountUrl": "DefaultEndpointsProtocol=https;AccountName=storagesample;AccountKey=", - "blobName": "sitef6141_2025-03-01", - "name": "sitef6141_2025-03-01", - "status": "InProgress", - "sizeInBytes": 56091883, + "name": "sitef6141_2024-11-01", + "blobName": "sitef6141_2024-11-01", "created": "2022-09-03T17:33:11.641Z", - "log": "Succeeded", "databases": [ { - "databaseType": "SqlAzure", "name": "backenddb", + "connectionString": "DSN=data-source-name[;SERVER=value] [;PWD=value] [;UID=value] [;=]", "connectionStringName": "backend", - "connectionString": "DSN=data-source-name[;SERVER=value] [;PWD=value] [;UID=value] [;=]" + "databaseType": "SqlAzure" }, { - "databaseType": "SqlAzure", "name": "statsdb", + "connectionString": "DSN=data-source-name[;SERVER=value] [;PWD=value] [;UID=value] [;=]", "connectionStringName": "stats", - "connectionString": "DSN=data-source-name[;SERVER=value] [;PWD=value] [;UID=value] [;=]" + "databaseType": "SqlAzure" } ], - "scheduled": true, - "lastRestoreTimeStamp": "2022-09-04T17:33:11.641Z", "finishedTimeStamp": "2022-09-05T17:33:11.641Z", + "id": 12345, + "lastRestoreTimeStamp": "2022-09-04T17:33:11.641Z", + "log": "Succeeded", + "scheduled": true, + "sizeInBytes": 56091883, + "status": "InProgress", + "storageAccountUrl": "DefaultEndpointsProtocol=https;AccountName=storagesample;AccountKey=", "websiteSizeInBytes": 56091883 } - } + }, + "headers": {} } - } + }, + "operationId": "WebApps_ListBackupStatusSecrets", + "title": "Get web app backup with secrets" } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetWebAppSlot.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetWebAppSlot.json index 8e8dabcca8eb..2a5e8d715e56 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetWebAppSlot.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetWebAppSlot.json @@ -1,59 +1,75 @@ { "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "testrg123", "name": "sitef6141", + "api-version": "2025-03-01", + "resourceGroupName": "testrg123", "slot": "staging", - "api-version": "2025-03-01" + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" }, "responses": { "200": { - "headers": {}, "body": { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/sitef6141/slots/staging", "name": "sitef6141/staging", "type": "Microsoft.Web/sites/slots", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/sitef6141/slots/staging", "kind": "app", "location": "East US", "properties": { - "state": "Running", - "hostNames": [ - "sitef6141-staging.azurewebsites.net" - ], - "repositorySiteName": "sitef6141", - "usageState": "Normal", + "availabilityState": "Normal", + "clientAffinityEnabled": true, + "clientCertEnabled": false, + "clientCertMode": "Required", + "containerSize": 0, + "customDomainVerificationId": "7F3BB652450EF7AD0B6AA33064586E4A9CE823A46DF0B2EC6443A68086E84153", + "dailyMemoryTimeQuota": 0, + "defaultHostName": "sitef6141-staging.azurewebsites.net", "enabled": true, "enabledHostNames": [ "sitef6141-staging.azurewebsites.net", "sitef6141-staging.scm.azurewebsites.net" ], - "availabilityState": "Normal", "hostNameSslStates": [ { "name": "sitef6141-staging.azurewebsites.net", - "sslState": "Disabled", - "hostType": "Standard" + "hostType": "Standard", + "sslState": "Disabled" }, { "name": "sitef6141-staging.scm.azurewebsites.net", - "sslState": "Disabled", - "hostType": "Repository" + "hostType": "Repository", + "sslState": "Disabled" } ], - "serverFarmId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/serverfarms/DefaultAsp", - "reserved": false, - "isXenon": false, + "hostNames": [ + "sitef6141-staging.azurewebsites.net" + ], + "hostNamesDisabled": false, + "httpsOnly": false, "hyperV": false, + "isXenon": false, + "keyVaultReferenceIdentity": "SystemAssigned", "lastModifiedTimeUtc": "2020-03-04T17:33:11.641Z", + "outboundIpAddresses": "70.37.102.201,20.225.43.144", "outboundVnetRouting": { "allTraffic": false, "applicationTraffic": false, + "backupRestoreTraffic": false, "contentShareTraffic": false, - "imagePullTraffic": false, - "backupRestoreTraffic": false + "imagePullTraffic": false }, + "possibleOutboundIpAddresses": "70.37.102.201,20.225.43.144,20.225.184.122,20.225.184.188", + "redundancyMode": "None", + "repositorySiteName": "sitef6141", + "reserved": false, + "resourceGroup": "testrg123", + "scmSiteAlsoStopped": false, + "serverFarmId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/serverfarms/DefaultAsp", "siteConfig": { - "numberOfWorkers": 1, + "acrUseManagedIdentityCreds": false, + "alwaysOn": false, + "appCommandLine": "", + "autoHealEnabled": false, + "azureStorageAccounts": {}, "defaultDocuments": [ "Default.htm", "Default.html", @@ -65,64 +81,50 @@ "index.php", "hostingstart.html" ], + "detailedErrorLoggingEnabled": false, + "ftpsState": "AllAllowed", + "functionAppScaleLimit": 0, + "functionsRuntimeScaleMonitoringEnabled": false, + "http20Enabled": false, + "httpLoggingEnabled": false, + "linuxFxVersion": "", + "loadBalancing": "LeastRequests", + "logsDirectorySizeLimit": 35, + "managedPipelineMode": "Integrated", + "minTlsVersion": "1.2", + "minimumElasticInstanceCount": 0, "netFrameworkVersion": "v4.0", - "phpVersion": "5.6", - "pythonVersion": "", "nodeVersion": "", + "numberOfWorkers": 1, + "phpVersion": "5.6", "powerShellVersion": "", - "linuxFxVersion": "", - "requestTracingEnabled": false, + "pythonVersion": "", "remoteDebuggingEnabled": false, - "httpLoggingEnabled": false, - "acrUseManagedIdentityCreds": false, - "logsDirectorySizeLimit": 35, - "detailedErrorLoggingEnabled": false, + "requestTracingEnabled": false, + "scmMinTlsVersion": "1.2", "use32BitWorkerProcess": true, - "webSocketsEnabled": false, - "alwaysOn": false, - "appCommandLine": "", - "managedPipelineMode": "Integrated", "virtualApplications": [ { - "virtualPath": "/", "physicalPath": "site\\wwwroot", - "preloadEnabled": false + "preloadEnabled": false, + "virtualPath": "/" } ], - "loadBalancing": "LeastRequests", - "autoHealEnabled": false, "vnetName": "", - "vnetRouteAllEnabled": false, "vnetPrivatePortsCount": 0, - "http20Enabled": false, - "minTlsVersion": "1.2", - "scmMinTlsVersion": "1.2", - "ftpsState": "AllAllowed", - "functionAppScaleLimit": 0, - "functionsRuntimeScaleMonitoringEnabled": false, - "minimumElasticInstanceCount": 0, - "azureStorageAccounts": {} + "vnetRouteAllEnabled": false, + "webSocketsEnabled": false }, - "scmSiteAlsoStopped": false, - "clientAffinityEnabled": true, - "clientCertEnabled": false, - "clientCertMode": "Required", - "hostNamesDisabled": false, - "customDomainVerificationId": "7F3BB652450EF7AD0B6AA33064586E4A9CE823A46DF0B2EC6443A68086E84153", - "outboundIpAddresses": "70.37.102.201,20.225.43.144", - "possibleOutboundIpAddresses": "70.37.102.201,20.225.43.144,20.225.184.122,20.225.184.188", - "containerSize": 0, - "dailyMemoryTimeQuota": 0, - "resourceGroup": "testrg123", - "defaultHostName": "sitef6141-staging.azurewebsites.net", - "httpsOnly": false, - "redundancyMode": "None", + "sku": "Standard", + "state": "Running", "storageAccountRequired": false, - "keyVaultReferenceIdentity": "SystemAssigned", - "sku": "Standard" + "usageState": "Normal" } - } + }, + "headers": {} }, "404": {} - } + }, + "operationId": "WebApps_GetSlot", + "title": "Get Web App Slot" } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetWebAppStacks.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetWebAppStacks.json index 623da38161b5..6082bfaf1d3f 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetWebAppStacks.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetWebAppStacks.json @@ -4,2912 +4,2914 @@ }, "responses": { "200": { - "headers": {}, "body": { "value": [ { - "id": "/providers/Microsoft.Web/webAppStacks/dotnet", "name": "dotnet", "type": "Microsoft.Web/webAppStacks", + "id": "/providers/Microsoft.Web/webAppStacks/dotnet", "properties": { "displayText": ".NET", - "value": "dotnet", - "preferredOs": "Windows", "majorVersions": [ { "displayText": ".NET 5", - "value": "5", "minorVersions": [ { "displayText": ".NET 5", - "value": "5", "stackSettings": { - "windowsRuntimeSettings": { - "runtimeVersion": "v5.0", - "isEarlyAccess": true, - "remoteDebuggingSupported": false, + "linuxRuntimeSettings": { "appInsightsSettings": { - "isSupported": true + "isSupported": false }, "gitHubActionSettings": { "isSupported": true, "supportedVersion": "5.0.x" - } - }, - "linuxRuntimeSettings": { - "runtimeVersion": "DOTNETCORE|5.0", + }, "isEarlyAccess": true, "remoteDebuggingSupported": false, + "runtimeVersion": "DOTNETCORE|5.0" + }, + "windowsRuntimeSettings": { "appInsightsSettings": { - "isSupported": false + "isSupported": true }, "gitHubActionSettings": { "isSupported": true, "supportedVersion": "5.0.x" - } + }, + "isEarlyAccess": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "v5.0" } - } + }, + "value": "5" } - ] + ], + "value": "5" }, { "displayText": ".NET Core 3", - "value": "3", "minorVersions": [ { "displayText": ".NET Core 3.1 (LTS)", - "value": "3.1", "stackSettings": { - "windowsRuntimeSettings": { - "runtimeVersion": "3.1", - "remoteDebuggingSupported": false, + "linuxRuntimeSettings": { "appInsightsSettings": { - "isSupported": true + "isSupported": false }, "gitHubActionSettings": { "isSupported": true, "supportedVersion": "3.1.301" - } - }, - "linuxRuntimeSettings": { - "runtimeVersion": "DOTNETCORE|3.1", + }, "remoteDebuggingSupported": false, + "runtimeVersion": "DOTNETCORE|3.1" + }, + "windowsRuntimeSettings": { "appInsightsSettings": { - "isSupported": false + "isSupported": true }, "gitHubActionSettings": { "isSupported": true, "supportedVersion": "3.1.301" - } + }, + "remoteDebuggingSupported": false, + "runtimeVersion": "3.1" } - } + }, + "value": "3.1" }, { "displayText": ".NET Core 3.0", - "value": "3.0", "stackSettings": { - "windowsRuntimeSettings": { - "runtimeVersion": "3.0", - "isDeprecated": true, - "remoteDebuggingSupported": false, + "linuxRuntimeSettings": { "appInsightsSettings": { "isSupported": false }, + "endOfLifeDate": "2020-04-03T00:00:00+00:00", "gitHubActionSettings": { "isSupported": true, "supportedVersion": "3.0.103" }, - "endOfLifeDate": "2020-04-03T00:00:00+00:00" - }, - "linuxRuntimeSettings": { - "runtimeVersion": "DOTNETCORE|3.0", "isDeprecated": true, "remoteDebuggingSupported": false, + "runtimeVersion": "DOTNETCORE|3.0" + }, + "windowsRuntimeSettings": { "appInsightsSettings": { "isSupported": false }, + "endOfLifeDate": "2020-04-03T00:00:00+00:00", "gitHubActionSettings": { "isSupported": true, "supportedVersion": "3.0.103" }, - "endOfLifeDate": "2020-04-03T00:00:00+00:00" + "isDeprecated": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "3.0" } - } + }, + "value": "3.0" } - ] + ], + "value": "3" }, { "displayText": ".NET Core 2", - "value": "dotnetcore2", "minorVersions": [ { "displayText": ".NET Core 2.2", - "value": "2.2", "stackSettings": { - "windowsRuntimeSettings": { - "runtimeVersion": "2.2", - "isDeprecated": true, - "remoteDebuggingSupported": false, + "linuxRuntimeSettings": { "appInsightsSettings": { "isSupported": false }, + "endOfLifeDate": "2020-01-23T00:00:00+00:00", "gitHubActionSettings": { "isSupported": true, "supportedVersion": "2.2.207" }, - "endOfLifeDate": "2020-01-23T00:00:00+00:00" - }, - "linuxRuntimeSettings": { - "runtimeVersion": "DOTNETCORE|2.2", "isDeprecated": true, "remoteDebuggingSupported": false, + "runtimeVersion": "DOTNETCORE|2.2" + }, + "windowsRuntimeSettings": { "appInsightsSettings": { "isSupported": false }, + "endOfLifeDate": "2020-01-23T00:00:00+00:00", "gitHubActionSettings": { "isSupported": true, "supportedVersion": "2.2.207" }, - "endOfLifeDate": "2020-01-23T00:00:00+00:00" + "isDeprecated": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "2.2" } - } + }, + "value": "2.2" }, { "displayText": ".NET Core 2.1 (LTS)", - "value": "2.1", "stackSettings": { - "windowsRuntimeSettings": { - "runtimeVersion": "2.1", - "remoteDebuggingSupported": false, + "linuxRuntimeSettings": { "appInsightsSettings": { - "isSupported": true + "isSupported": false }, + "endOfLifeDate": "2021-09-21T00:00:00+00:00", "gitHubActionSettings": { "isSupported": true, "supportedVersion": "2.1.807" }, - "endOfLifeDate": "2021-09-21T00:00:00+00:00" - }, - "linuxRuntimeSettings": { - "runtimeVersion": "DOTNETCORE|2.1", "remoteDebuggingSupported": false, + "runtimeVersion": "DOTNETCORE|2.1" + }, + "windowsRuntimeSettings": { "appInsightsSettings": { - "isSupported": false + "isSupported": true }, + "endOfLifeDate": "2021-09-21T00:00:00+00:00", "gitHubActionSettings": { "isSupported": true, "supportedVersion": "2.1.807" }, - "endOfLifeDate": "2021-09-21T00:00:00+00:00" + "remoteDebuggingSupported": false, + "runtimeVersion": "2.1" } - } + }, + "value": "2.1" }, { "displayText": ".NET Core 2.0", - "value": "2.0", "stackSettings": { - "windowsRuntimeSettings": { - "runtimeVersion": "2.0", - "isDeprecated": true, - "remoteDebuggingSupported": false, + "linuxRuntimeSettings": { "appInsightsSettings": { "isSupported": false }, + "endOfLifeDate": "2018-11-01T00:00:00+00:00", "gitHubActionSettings": { "isSupported": true, "supportedVersion": "2.1.202" }, - "endOfLifeDate": "2018-11-01T00:00:00+00:00" - }, - "linuxRuntimeSettings": { - "runtimeVersion": "DOTNETCORE|2.0", "isDeprecated": true, "remoteDebuggingSupported": false, + "runtimeVersion": "DOTNETCORE|2.0" + }, + "windowsRuntimeSettings": { "appInsightsSettings": { "isSupported": false }, + "endOfLifeDate": "2018-11-01T00:00:00+00:00", "gitHubActionSettings": { "isSupported": true, "supportedVersion": "2.1.202" }, - "endOfLifeDate": "2018-11-01T00:00:00+00:00" + "isDeprecated": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "2.0" } - } + }, + "value": "2.0" } - ] + ], + "value": "dotnetcore2" }, { "displayText": ".NET Core 1", - "value": "1", "minorVersions": [ { "displayText": ".NET Core 1.1", - "value": "1.1", "stackSettings": { - "windowsRuntimeSettings": { - "runtimeVersion": "1.1", - "isDeprecated": true, - "remoteDebuggingSupported": false, + "linuxRuntimeSettings": { "appInsightsSettings": { "isSupported": false }, + "endOfLifeDate": "2019-07-27T00:00:00+00:00", "gitHubActionSettings": { "isSupported": true, "supportedVersion": "1.1.14" }, - "endOfLifeDate": "2019-07-27T00:00:00+00:00" - }, - "linuxRuntimeSettings": { - "runtimeVersion": "DOTNETCORE|1.1", "isDeprecated": true, "remoteDebuggingSupported": false, + "runtimeVersion": "DOTNETCORE|1.1" + }, + "windowsRuntimeSettings": { "appInsightsSettings": { "isSupported": false }, + "endOfLifeDate": "2019-07-27T00:00:00+00:00", "gitHubActionSettings": { "isSupported": true, "supportedVersion": "1.1.14" }, - "endOfLifeDate": "2019-07-27T00:00:00+00:00" + "isDeprecated": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "1.1" } - } + }, + "value": "1.1" }, { "displayText": ".NET Core 1.0", - "value": "1.0", "stackSettings": { - "windowsRuntimeSettings": { - "runtimeVersion": "1.0", - "isDeprecated": true, - "remoteDebuggingSupported": false, + "linuxRuntimeSettings": { "appInsightsSettings": { "isSupported": false }, + "endOfLifeDate": "2019-07-27T00:00:00+00:00", "gitHubActionSettings": { "isSupported": true, "supportedVersion": "1.1.14" }, - "endOfLifeDate": "2019-07-27T00:00:00+00:00" - }, - "linuxRuntimeSettings": { - "runtimeVersion": "DOTNETCORE|1.0", "isDeprecated": true, "remoteDebuggingSupported": false, + "runtimeVersion": "DOTNETCORE|1.0" + }, + "windowsRuntimeSettings": { "appInsightsSettings": { "isSupported": false }, + "endOfLifeDate": "2019-07-27T00:00:00+00:00", "gitHubActionSettings": { "isSupported": true, "supportedVersion": "1.1.14" }, - "endOfLifeDate": "2019-07-27T00:00:00+00:00" + "isDeprecated": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "1.0" } - } + }, + "value": "1.0" } - ] + ], + "value": "1" }, { "displayText": "ASP.NET V4", - "value": "v4", "minorVersions": [ { "displayText": "ASP.NET V4.8", - "value": "v4.8", "stackSettings": { "windowsRuntimeSettings": { - "runtimeVersion": "v4.0", - "remoteDebuggingSupported": false, "appInsightsSettings": { "isSupported": true }, "gitHubActionSettings": { "isSupported": true, "supportedVersion": "3.1" - } + }, + "remoteDebuggingSupported": false, + "runtimeVersion": "v4.0" } - } + }, + "value": "v4.8" } - ] + ], + "value": "v4" }, { "displayText": "ASP.NET V3", - "value": "v3", "minorVersions": [ { "displayText": "ASP.NET V3.5", - "value": "v3.5", "stackSettings": { "windowsRuntimeSettings": { - "runtimeVersion": "v2.0", - "remoteDebuggingSupported": false, "appInsightsSettings": { "isSupported": true }, "gitHubActionSettings": { "isSupported": true, "supportedVersion": "2.1" - } + }, + "remoteDebuggingSupported": false, + "runtimeVersion": "v2.0" } - } + }, + "value": "v3.5" } - ] + ], + "value": "v3" } - ] + ], + "preferredOs": "Windows", + "value": "dotnet" } }, { - "id": "/providers/Microsoft.Web/webAppStacks/node", "name": "node", "type": "Microsoft.Web/webAppStacks", + "id": "/providers/Microsoft.Web/webAppStacks/node", "properties": { "displayText": "Node", - "value": "node", - "preferredOs": "Linux", "majorVersions": [ { "displayText": "Node LTS", - "value": "lts", "minorVersions": [ { "displayText": "Node LTS", - "value": "lts", "stackSettings": { "linuxRuntimeSettings": { - "runtimeVersion": "NODE|lts", - "isDeprecated": true, - "remoteDebuggingSupported": false, "appInsightsSettings": { "isSupported": true }, "gitHubActionSettings": { "isSupported": true - } + }, + "isDeprecated": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "NODE|lts" } - } + }, + "value": "lts" } - ] + ], + "value": "lts" }, { "displayText": "Node 14", - "value": "14", "minorVersions": [ { "displayText": "Node 14 LTS", - "value": "14-lts", "stackSettings": { "linuxRuntimeSettings": { - "runtimeVersion": "NODE|14-lts", - "remoteDebuggingSupported": false, "appInsightsSettings": { "isSupported": true }, + "endOfLifeDate": "2023-05-30T00:00:00+00:00", "gitHubActionSettings": { "isSupported": true, "supportedVersion": "14.x" }, "isPreview": true, - "endOfLifeDate": "2023-05-30T00:00:00+00:00" + "remoteDebuggingSupported": false, + "runtimeVersion": "NODE|14-lts" } - } + }, + "value": "14-lts" } - ] + ], + "value": "14" }, { "displayText": "Node 12", - "value": "12", "minorVersions": [ { "displayText": "Node 12 LTS", - "value": "12-lts", "stackSettings": { "linuxRuntimeSettings": { - "runtimeVersion": "NODE|12-lts", - "remoteDebuggingSupported": false, "appInsightsSettings": { "isSupported": true }, + "endOfLifeDate": "2022-05-01T00:00:00+00:00", "gitHubActionSettings": { "isSupported": true, "supportedVersion": "12.x" }, - "endOfLifeDate": "2022-05-01T00:00:00+00:00" + "remoteDebuggingSupported": false, + "runtimeVersion": "NODE|12-lts" }, "windowsRuntimeSettings": { - "runtimeVersion": "12.13.0", - "remoteDebuggingSupported": false, "appInsightsSettings": { "isSupported": true }, + "endOfLifeDate": "2022-05-01T00:00:00+00:00", "gitHubActionSettings": { "isSupported": true }, - "endOfLifeDate": "2022-05-01T00:00:00+00:00" + "remoteDebuggingSupported": false, + "runtimeVersion": "12.13.0" } - } + }, + "value": "12-lts" }, { "displayText": "Node 12.9", - "value": "12.9", "stackSettings": { "linuxRuntimeSettings": { - "runtimeVersion": "NODE|12.9", - "isDeprecated": true, - "remoteDebuggingSupported": true, "appInsightsSettings": { "isSupported": true }, + "endOfLifeDate": "2022-05-01T00:00:00+00:00", "gitHubActionSettings": { "isSupported": true, "supportedVersion": "12.x" }, - "endOfLifeDate": "2022-05-01T00:00:00+00:00" + "isDeprecated": true, + "remoteDebuggingSupported": true, + "runtimeVersion": "NODE|12.9" } - } + }, + "value": "12.9" } - ] + ], + "value": "12" }, { "displayText": "Node 10", - "value": "10", "minorVersions": [ { "displayText": "Node 10 LTS", - "value": "10-LTS", "stackSettings": { "linuxRuntimeSettings": { - "runtimeVersion": "NODE|10-lts", - "remoteDebuggingSupported": false, "appInsightsSettings": { "isSupported": true }, + "endOfLifeDate": "2021-05-01T00:00:00+00:00", "gitHubActionSettings": { "isSupported": true, "supportedVersion": "10.x" }, - "endOfLifeDate": "2021-05-01T00:00:00+00:00" + "remoteDebuggingSupported": false, + "runtimeVersion": "NODE|10-lts" } - } + }, + "value": "10-LTS" }, { "displayText": "Node 10.16", - "value": "10.16", "stackSettings": { "linuxRuntimeSettings": { - "runtimeVersion": "NODE|10.16", - "isDeprecated": true, - "remoteDebuggingSupported": false, "appInsightsSettings": { "isSupported": true }, + "endOfLifeDate": "2021-05-01T00:00:00+00:00", "gitHubActionSettings": { "isSupported": true, "supportedVersion": "10.x" }, - "endOfLifeDate": "2021-05-01T00:00:00+00:00" + "isDeprecated": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "NODE|10.16" } - } + }, + "value": "10.16" }, { "displayText": "Node 10.15", - "value": "10.15", "stackSettings": { "windowsRuntimeSettings": { - "runtimeVersion": "10.15.2", - "isPreview": true, - "isHidden": true, - "remoteDebuggingSupported": false, "appInsightsSettings": { "isSupported": false }, + "endOfLifeDate": "2021-05-01T00:00:00+00:00", "gitHubActionSettings": { "isSupported": true, "supportedVersion": "10.x" }, - "endOfLifeDate": "2021-05-01T00:00:00+00:00" + "isHidden": true, + "isPreview": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "10.15.2" } - } + }, + "value": "10.15" }, { "displayText": "Node 10.14", - "value": "10.14", "stackSettings": { "linuxRuntimeSettings": { - "runtimeVersion": "NODE|10.14", - "remoteDebuggingSupported": false, "appInsightsSettings": { "isSupported": true }, + "endOfLifeDate": "2021-05-01T00:00:00+00:00", "gitHubActionSettings": { "isSupported": true, "supportedVersion": "10.x" }, - "endOfLifeDate": "2021-05-01T00:00:00+00:00" + "remoteDebuggingSupported": false, + "runtimeVersion": "NODE|10.14" }, "windowsRuntimeSettings": { - "runtimeVersion": "10.14.1", - "remoteDebuggingSupported": false, "appInsightsSettings": { "isSupported": true }, + "endOfLifeDate": "2021-05-01T00:00:00+00:00", "gitHubActionSettings": { "isSupported": true, "supportedVersion": "10.x" }, - "endOfLifeDate": "2021-05-01T00:00:00+00:00" + "remoteDebuggingSupported": false, + "runtimeVersion": "10.14.1" } - } + }, + "value": "10.14" }, { "displayText": "Node 10.12", - "value": "10.12", "stackSettings": { "linuxRuntimeSettings": { - "runtimeVersion": "NODE|10.12", - "isDeprecated": true, - "remoteDebuggingSupported": false, "appInsightsSettings": { "isSupported": true }, + "endOfLifeDate": "2021-05-01T00:00:00+00:00", "gitHubActionSettings": { "isSupported": true, "supportedVersion": "10.x" }, - "endOfLifeDate": "2021-05-01T00:00:00+00:00" + "isDeprecated": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "NODE|10.12" } - } + }, + "value": "10.12" }, { "displayText": "Node 10.10", - "value": "10.10", "stackSettings": { "linuxRuntimeSettings": { - "runtimeVersion": "NODE|10.10", - "isDeprecated": true, - "remoteDebuggingSupported": false, "appInsightsSettings": { "isSupported": true }, + "endOfLifeDate": "2021-05-01T00:00:00+00:00", "gitHubActionSettings": { "isSupported": true, "supportedVersion": "10.x" }, - "endOfLifeDate": "2021-05-01T00:00:00+00:00" + "isDeprecated": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "NODE|10.10" }, "windowsRuntimeSettings": { - "runtimeVersion": "10.0.0", - "remoteDebuggingSupported": false, "appInsightsSettings": { "isSupported": true }, + "endOfLifeDate": "2021-05-01T00:00:00+00:00", "gitHubActionSettings": { "isSupported": true, "supportedVersion": "10.x" }, - "endOfLifeDate": "2021-05-01T00:00:00+00:00" + "remoteDebuggingSupported": false, + "runtimeVersion": "10.0.0" } - } + }, + "value": "10.10" }, { "displayText": "Node 10.6", - "value": "10.6", "stackSettings": { "linuxRuntimeSettings": { - "runtimeVersion": "NODE|10.6", - "remoteDebuggingSupported": false, "appInsightsSettings": { "isSupported": true }, + "endOfLifeDate": "2021-05-01T00:00:00+00:00", "gitHubActionSettings": { "isSupported": true, "supportedVersion": "10.x" }, - "endOfLifeDate": "2021-05-01T00:00:00+00:00" + "remoteDebuggingSupported": false, + "runtimeVersion": "NODE|10.6" }, "windowsRuntimeSettings": { - "runtimeVersion": "10.6.0", - "remoteDebuggingSupported": false, "appInsightsSettings": { "isSupported": true }, + "endOfLifeDate": "2021-05-01T00:00:00+00:00", "gitHubActionSettings": { "isSupported": true }, - "endOfLifeDate": "2021-05-01T00:00:00+00:00" + "remoteDebuggingSupported": false, + "runtimeVersion": "10.6.0" } - } + }, + "value": "10.6" }, { "displayText": "Node 10.1", - "value": "10.1", "stackSettings": { "linuxRuntimeSettings": { - "runtimeVersion": "NODE|10.1", - "remoteDebuggingSupported": false, "appInsightsSettings": { "isSupported": true }, + "endOfLifeDate": "2021-05-01T00:00:00+00:00", "gitHubActionSettings": { "isSupported": true, "supportedVersion": "10.x" }, - "endOfLifeDate": "2021-05-01T00:00:00+00:00" + "remoteDebuggingSupported": false, + "runtimeVersion": "NODE|10.1" } - } + }, + "value": "10.1" } - ] + ], + "value": "10" }, { "displayText": "Node 9", - "value": "9", "minorVersions": [ { "displayText": "Node 9.4", - "value": "9.4", "stackSettings": { "linuxRuntimeSettings": { - "runtimeVersion": "NODE|9.4", - "isDeprecated": true, - "remoteDebuggingSupported": false, "appInsightsSettings": { "isSupported": true }, + "endOfLifeDate": "2019-07-30T00:00:00+00:00", "gitHubActionSettings": { "isSupported": true }, - "endOfLifeDate": "2019-07-30T00:00:00+00:00" + "isDeprecated": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "NODE|9.4" } - } + }, + "value": "9.4" } - ] + ], + "value": "9" }, { "displayText": "Node 8", - "value": "8", "minorVersions": [ { "displayText": "Node 8 LTS", - "value": "8-lts", "stackSettings": { "linuxRuntimeSettings": { - "runtimeVersion": "NODE|8-lts", - "isDeprecated": true, - "remoteDebuggingSupported": false, "appInsightsSettings": { "isSupported": true }, + "endOfLifeDate": "2020-01-31T00:00:00+00:00", "gitHubActionSettings": { "isSupported": true }, - "endOfLifeDate": "2020-01-31T00:00:00+00:00" + "isDeprecated": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "NODE|8-lts" } - } + }, + "value": "8-lts" }, { "displayText": "Node 8.12", - "value": "8.12", "stackSettings": { "linuxRuntimeSettings": { - "runtimeVersion": "NODE|8.12", - "isDeprecated": true, - "remoteDebuggingSupported": false, "appInsightsSettings": { "isSupported": true }, + "endOfLifeDate": "2020-01-31T00:00:00+00:00", "gitHubActionSettings": { "isSupported": true }, - "endOfLifeDate": "2020-01-31T00:00:00+00:00" + "isDeprecated": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "NODE|8.12" } - } + }, + "value": "8.12" }, { "displayText": "Node 8.11", - "value": "8.11", "stackSettings": { "linuxRuntimeSettings": { - "runtimeVersion": "NODE|8.11", - "isDeprecated": true, - "remoteDebuggingSupported": false, "appInsightsSettings": { "isSupported": true }, + "endOfLifeDate": "2020-01-31T00:00:00+00:00", "gitHubActionSettings": { "isSupported": true }, - "endOfLifeDate": "2020-01-31T00:00:00+00:00" - }, - "windowsRuntimeSettings": { - "runtimeVersion": "8.11", "isDeprecated": true, "remoteDebuggingSupported": false, + "runtimeVersion": "NODE|8.11" + }, + "windowsRuntimeSettings": { "appInsightsSettings": { "isSupported": false }, + "endOfLifeDate": "2020-01-31T00:00:00+00:00", "gitHubActionSettings": { "isSupported": false }, - "endOfLifeDate": "2020-01-31T00:00:00+00:00" + "isDeprecated": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "8.11" } - } + }, + "value": "8.11" }, { "displayText": "Node 8.10", - "value": "8.10", "stackSettings": { "windowsRuntimeSettings": { - "runtimeVersion": "8.10", - "isDeprecated": true, - "remoteDebuggingSupported": false, "appInsightsSettings": { "isSupported": false }, + "endOfLifeDate": "2020-01-31T00:00:00+00:00", "gitHubActionSettings": { "isSupported": false }, - "endOfLifeDate": "2020-01-31T00:00:00+00:00" + "isDeprecated": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "8.10" } - } + }, + "value": "8.10" }, { "displayText": "Node 8.9", - "value": "8.9", "stackSettings": { "linuxRuntimeSettings": { - "runtimeVersion": "NODE|8.9", - "isDeprecated": true, - "remoteDebuggingSupported": false, "appInsightsSettings": { "isSupported": true }, + "endOfLifeDate": "2020-01-31T00:00:00+00:00", "gitHubActionSettings": { "isSupported": true }, - "endOfLifeDate": "2020-01-31T00:00:00+00:00" - }, - "windowsRuntimeSettings": { - "runtimeVersion": "8.9", "isDeprecated": true, "remoteDebuggingSupported": false, + "runtimeVersion": "NODE|8.9" + }, + "windowsRuntimeSettings": { "appInsightsSettings": { "isSupported": false }, + "endOfLifeDate": "2020-01-31T00:00:00+00:00", "gitHubActionSettings": { "isSupported": false }, - "endOfLifeDate": "2020-01-31T00:00:00+00:00" + "isDeprecated": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "8.9" } - } + }, + "value": "8.9" }, { "displayText": "Node 8.8", - "value": "8.8", "stackSettings": { "linuxRuntimeSettings": { - "runtimeVersion": "NODE|8.8", - "isDeprecated": true, - "remoteDebuggingSupported": false, "appInsightsSettings": { "isSupported": true }, + "endOfLifeDate": "2020-01-31T00:00:00+00:00", "gitHubActionSettings": { "isSupported": true }, - "endOfLifeDate": "2020-01-31T00:00:00+00:00" + "isDeprecated": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "NODE|8.8" } - } + }, + "value": "8.8" }, { "displayText": "Node 8.5", - "value": "8.5", "stackSettings": { "windowsRuntimeSettings": { - "runtimeVersion": "8.5", - "isDeprecated": true, - "remoteDebuggingSupported": false, "appInsightsSettings": { "isSupported": false }, + "endOfLifeDate": "2020-01-31T00:00:00+00:00", "gitHubActionSettings": { "isSupported": false }, - "endOfLifeDate": "2020-01-31T00:00:00+00:00" + "isDeprecated": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "8.5" } - } + }, + "value": "8.5" }, { "displayText": "Node 8.4", - "value": "8.4", "stackSettings": { "windowsRuntimeSettings": { - "runtimeVersion": "8.4", - "isDeprecated": true, - "remoteDebuggingSupported": false, "appInsightsSettings": { "isSupported": false }, + "endOfLifeDate": "2020-01-31T00:00:00+00:00", "gitHubActionSettings": { "isSupported": false }, - "endOfLifeDate": "2020-01-31T00:00:00+00:00" + "isDeprecated": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "8.4" } - } + }, + "value": "8.4" }, { "displayText": "Node 8.2", - "value": "8.2", "stackSettings": { "linuxRuntimeSettings": { - "runtimeVersion": "NODE|8.2", - "isDeprecated": true, - "remoteDebuggingSupported": false, "appInsightsSettings": { "isSupported": true }, + "endOfLifeDate": "2020-01-31T00:00:00+00:00", "gitHubActionSettings": { "isSupported": true }, - "endOfLifeDate": "2020-01-31T00:00:00+00:00" + "isDeprecated": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "NODE|8.2" } - } + }, + "value": "8.2" }, { "displayText": "Node 8.1", - "value": "8.1", "stackSettings": { "linuxRuntimeSettings": { - "runtimeVersion": "NODE|8.1", - "isDeprecated": true, - "remoteDebuggingSupported": false, "appInsightsSettings": { "isSupported": true }, + "endOfLifeDate": "2020-01-31T00:00:00+00:00", "gitHubActionSettings": { "isSupported": true }, - "endOfLifeDate": "2020-01-31T00:00:00+00:00" - }, - "windowsRuntimeSettings": { - "runtimeVersion": "8.1.4", "isDeprecated": true, "remoteDebuggingSupported": false, + "runtimeVersion": "NODE|8.1" + }, + "windowsRuntimeSettings": { "appInsightsSettings": { "isSupported": true }, + "endOfLifeDate": "2020-01-31T00:00:00+00:00", "gitHubActionSettings": { "isSupported": true }, - "endOfLifeDate": "2020-01-31T00:00:00+00:00" + "isDeprecated": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "8.1.4" } - } + }, + "value": "8.1" }, { "displayText": "Node 8.0", - "value": "8.0", "stackSettings": { "linuxRuntimeSettings": { - "runtimeVersion": "NODE|8.0", - "isDeprecated": true, - "remoteDebuggingSupported": false, "appInsightsSettings": { "isSupported": true }, + "endOfLifeDate": "2020-01-31T00:00:00+00:00", "gitHubActionSettings": { "isSupported": true }, - "endOfLifeDate": "2020-01-31T00:00:00+00:00" + "isDeprecated": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "NODE|8.0" } - } + }, + "value": "8.0" } - ] + ], + "value": "8" }, { "displayText": "Node 7", - "value": "7", "minorVersions": [ { "displayText": "Node 7.10", - "value": "7.10", "stackSettings": { "windowsRuntimeSettings": { - "runtimeVersion": "7.10.1", - "isDeprecated": true, - "remoteDebuggingSupported": false, "appInsightsSettings": { "isSupported": false }, + "endOfLifeDate": "2017-07-30T00:00:00+00:00", "gitHubActionSettings": { "isSupported": false }, - "endOfLifeDate": "2017-07-30T00:00:00+00:00" + "isDeprecated": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "7.10.1" } - } + }, + "value": "7.10" } - ] + ], + "value": "7" }, { "displayText": "Node 6", - "value": "6", "minorVersions": [ { "displayText": "Node 6 LTS", - "value": "6-LTS", "stackSettings": { "linuxRuntimeSettings": { - "runtimeVersion": "NODE|6-lts", - "isDeprecated": true, - "remoteDebuggingSupported": false, "appInsightsSettings": { "isSupported": true }, + "endOfLifeDate": "2019-05-30T00:00:00+00:00", "gitHubActionSettings": { "isSupported": true }, - "endOfLifeDate": "2019-05-30T00:00:00+00:00" + "isDeprecated": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "NODE|6-lts" } - } + }, + "value": "6-LTS" }, { "displayText": "Node 6.12", - "value": "6.12", "stackSettings": { "windowsRuntimeSettings": { - "runtimeVersion": "6.12", - "isDeprecated": true, - "remoteDebuggingSupported": false, "appInsightsSettings": { "isSupported": true }, + "endOfLifeDate": "2019-05-30T00:00:00+00:00", "gitHubActionSettings": { "isSupported": false }, - "endOfLifeDate": "2019-05-30T00:00:00+00:00" + "isDeprecated": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "6.12" } - } + }, + "value": "6.12" }, { "displayText": "Node 6.11", - "value": "6.11", "stackSettings": { "linuxRuntimeSettings": { - "runtimeVersion": "NODE|6.11", - "isDeprecated": true, - "remoteDebuggingSupported": false, "appInsightsSettings": { "isSupported": true }, + "endOfLifeDate": "2019-05-30T00:00:00+00:00", "gitHubActionSettings": { "isSupported": true }, - "endOfLifeDate": "2019-05-30T00:00:00+00:00" + "isDeprecated": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "NODE|6.11" } - } + }, + "value": "6.11" }, { "displayText": "Node 6.10", - "value": "6.10", "stackSettings": { "linuxRuntimeSettings": { - "runtimeVersion": "NODE|6.10", - "isDeprecated": true, - "remoteDebuggingSupported": false, "appInsightsSettings": { "isSupported": true }, + "endOfLifeDate": "2019-05-30T00:00:00+00:00", "gitHubActionSettings": { "isSupported": true }, - "endOfLifeDate": "2019-05-30T00:00:00+00:00" + "isDeprecated": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "NODE|6.10" } - } + }, + "value": "6.10" }, { "displayText": "Node 6.9", - "value": "6.9", "stackSettings": { "linuxRuntimeSettings": { - "runtimeVersion": "NODE|6.9", - "isDeprecated": true, - "remoteDebuggingSupported": false, "appInsightsSettings": { "isSupported": true }, + "endOfLifeDate": "2019-05-30T00:00:00+00:00", "gitHubActionSettings": { "isSupported": true }, - "endOfLifeDate": "2019-05-30T00:00:00+00:00" - }, - "windowsRuntimeSettings": { - "runtimeVersion": "6.9.5", "isDeprecated": true, "remoteDebuggingSupported": false, + "runtimeVersion": "NODE|6.9" + }, + "windowsRuntimeSettings": { "appInsightsSettings": { "isSupported": true }, + "endOfLifeDate": "2019-05-30T00:00:00+00:00", "gitHubActionSettings": { "isSupported": true }, - "endOfLifeDate": "2019-05-30T00:00:00+00:00" + "isDeprecated": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "6.9.5" } - } + }, + "value": "6.9" }, { "displayText": "Node 6.6", - "value": "6.6", "stackSettings": { "linuxRuntimeSettings": { - "runtimeVersion": "NODE|6.6", - "isDeprecated": true, - "remoteDebuggingSupported": false, "appInsightsSettings": { "isSupported": true }, + "endOfLifeDate": "2019-05-30T00:00:00+00:00", "gitHubActionSettings": { "isSupported": true }, - "endOfLifeDate": "2019-05-30T00:00:00+00:00" + "isDeprecated": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "NODE|6.6" } - } + }, + "value": "6.6" }, { "displayText": "Node 6.5", - "value": "6.5", "stackSettings": { "windowsRuntimeSettings": { - "runtimeVersion": "6.5.0", - "isDeprecated": true, - "remoteDebuggingSupported": false, "appInsightsSettings": { "isSupported": true }, + "endOfLifeDate": "2019-05-30T00:00:00+00:00", "gitHubActionSettings": { "isSupported": false }, - "endOfLifeDate": "2019-05-30T00:00:00+00:00" + "isDeprecated": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "6.5.0" } - } + }, + "value": "6.5" }, { "displayText": "Node 6.2", - "value": "6.2", "stackSettings": { "linuxRuntimeSettings": { - "runtimeVersion": "NODE|6.2", - "isDeprecated": true, - "remoteDebuggingSupported": false, "appInsightsSettings": { "isSupported": true }, + "endOfLifeDate": "2019-05-30T00:00:00+00:00", "gitHubActionSettings": { "isSupported": true }, - "endOfLifeDate": "2019-05-30T00:00:00+00:00" + "isDeprecated": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "NODE|6.2" } - } + }, + "value": "6.2" } - ] + ], + "value": "6" }, { "displayText": "Node 4", - "value": "4", "minorVersions": [ { "displayText": "Node 4.8", - "value": "4.8", "stackSettings": { "linuxRuntimeSettings": { - "runtimeVersion": "NODE|4.8", - "isDeprecated": true, - "remoteDebuggingSupported": false, "appInsightsSettings": { "isSupported": true }, + "endOfLifeDate": "2018-05-30T00:00:00+00:00", "gitHubActionSettings": { "isSupported": true }, - "endOfLifeDate": "2018-05-30T00:00:00+00:00" - }, - "windowsRuntimeSettings": { - "runtimeVersion": "4.8", "isDeprecated": true, "remoteDebuggingSupported": false, + "runtimeVersion": "NODE|4.8" + }, + "windowsRuntimeSettings": { "appInsightsSettings": { "isSupported": true }, + "endOfLifeDate": "2018-05-30T00:00:00+00:00", "gitHubActionSettings": { "isSupported": false }, - "endOfLifeDate": "2018-05-30T00:00:00+00:00" + "isDeprecated": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "4.8" } - } + }, + "value": "4.8" }, { "displayText": "Node 4.5", - "value": "4.5", "stackSettings": { "linuxRuntimeSettings": { - "runtimeVersion": "NODE|4.5", - "isDeprecated": true, - "remoteDebuggingSupported": false, "appInsightsSettings": { "isSupported": true }, + "endOfLifeDate": "2018-05-30T00:00:00+00:00", "gitHubActionSettings": { "isSupported": true }, - "endOfLifeDate": "2018-05-30T00:00:00+00:00" + "isDeprecated": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "NODE|4.5" } - } + }, + "value": "4.5" }, { "displayText": "Node 4.4", - "value": "4.4", "stackSettings": { "linuxRuntimeSettings": { - "runtimeVersion": "NODE|4.4", - "isDeprecated": true, - "remoteDebuggingSupported": false, "appInsightsSettings": { "isSupported": true }, + "endOfLifeDate": "2018-05-30T00:00:00+00:00", "gitHubActionSettings": { "isSupported": true }, - "endOfLifeDate": "2018-05-30T00:00:00+00:00" + "isDeprecated": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "NODE|4.4" } - } + }, + "value": "4.4" } - ] + ], + "value": "4" } - ] + ], + "preferredOs": "Linux", + "value": "node" } }, { - "id": "/providers/Microsoft.Web/webAppStacks/python", "name": "python", "type": "Microsoft.Web/webAppStacks", + "id": "/providers/Microsoft.Web/webAppStacks/python", "properties": { "displayText": "Python", - "value": "python", - "preferredOs": "Linux", "majorVersions": [ { "displayText": "Python 3", - "value": "3", "minorVersions": [ { "displayText": "Python 3.8", - "value": "3.8", "stackSettings": { "linuxRuntimeSettings": { - "runtimeVersion": "PYTHON|3.8", - "remoteDebuggingSupported": false, "appInsightsSettings": { "isSupported": false }, "gitHubActionSettings": { "isSupported": true, "supportedVersion": "3.8" - } + }, + "remoteDebuggingSupported": false, + "runtimeVersion": "PYTHON|3.8" } - } + }, + "value": "3.8" }, { "displayText": "Python 3.7", - "value": "3.7", "stackSettings": { "linuxRuntimeSettings": { - "runtimeVersion": "PYTHON|3.7", - "remoteDebuggingSupported": false, "appInsightsSettings": { "isSupported": false }, "gitHubActionSettings": { "isSupported": true, "supportedVersion": "3.7" - } + }, + "remoteDebuggingSupported": false, + "runtimeVersion": "PYTHON|3.7" } - } + }, + "value": "3.7" }, { "displayText": "Python 3.6", - "value": "3.6", "stackSettings": { "linuxRuntimeSettings": { - "runtimeVersion": "PYTHON|3.6", - "remoteDebuggingSupported": false, "appInsightsSettings": { "isSupported": false }, "gitHubActionSettings": { "isSupported": true, "supportedVersion": "3.6" - } + }, + "remoteDebuggingSupported": false, + "runtimeVersion": "PYTHON|3.6" }, "windowsRuntimeSettings": { - "runtimeVersion": "3.4.0", - "remoteDebuggingSupported": false, "appInsightsSettings": { "isSupported": true }, "gitHubActionSettings": { "isSupported": true, "supportedVersion": "3.6" - } + }, + "remoteDebuggingSupported": false, + "runtimeVersion": "3.4.0" } - } + }, + "value": "3.6" } - ] + ], + "value": "3" }, { "displayText": "Python 2", - "value": "2", "minorVersions": [ { "displayText": "Python 2.7", - "value": "2.7", "stackSettings": { "linuxRuntimeSettings": { - "runtimeVersion": "PYTHON|2.7", - "isDeprecated": true, - "remoteDebuggingSupported": false, "appInsightsSettings": { "isSupported": false }, + "endOfLifeDate": "2020-02-01T00:00:00+00:00", "gitHubActionSettings": { "isSupported": true, "supportedVersion": "2.7" }, - "endOfLifeDate": "2020-02-01T00:00:00+00:00" - }, - "windowsRuntimeSettings": { - "runtimeVersion": "2.7.3", "isDeprecated": true, "remoteDebuggingSupported": false, + "runtimeVersion": "PYTHON|2.7" + }, + "windowsRuntimeSettings": { "appInsightsSettings": { "isSupported": false }, + "endOfLifeDate": "2020-02-01T00:00:00+00:00", "gitHubActionSettings": { "isSupported": true, "supportedVersion": "2.7" }, - "endOfLifeDate": "2020-02-01T00:00:00+00:00" + "isDeprecated": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "2.7.3" } - } + }, + "value": "2.7" } - ] + ], + "value": "2" } - ] + ], + "preferredOs": "Linux", + "value": "python" } }, { - "id": "/providers/Microsoft.Web/webAppStacks/php", "name": "php", "type": "Microsoft.Web/webAppStacks", + "id": "/providers/Microsoft.Web/webAppStacks/php", "properties": { "displayText": "PHP", - "value": "php", - "preferredOs": "Linux", "majorVersions": [ { "displayText": "PHP 7", - "value": "7", "minorVersions": [ { "displayText": "PHP 7.4", - "value": "7.4", "stackSettings": { - "windowsRuntimeSettings": { - "runtimeVersion": "7.4", - "remoteDebuggingSupported": false, + "linuxRuntimeSettings": { "appInsightsSettings": { "isSupported": false }, + "endOfLifeDate": "2022-12-28T00:00:00+00:00", "gitHubActionSettings": { "isSupported": false }, - "endOfLifeDate": "2022-12-28T00:00:00+00:00" - }, - "linuxRuntimeSettings": { - "runtimeVersion": "PHP|7.4", "remoteDebuggingSupported": false, + "runtimeVersion": "PHP|7.4" + }, + "windowsRuntimeSettings": { "appInsightsSettings": { "isSupported": false }, + "endOfLifeDate": "2022-12-28T00:00:00+00:00", "gitHubActionSettings": { "isSupported": false }, - "endOfLifeDate": "2022-12-28T00:00:00+00:00" + "remoteDebuggingSupported": false, + "runtimeVersion": "7.4" } - } + }, + "value": "7.4" }, { "displayText": "PHP 7.3", - "value": "7.3", "stackSettings": { "linuxRuntimeSettings": { - "runtimeVersion": "PHP|7.3", - "remoteDebuggingSupported": false, "appInsightsSettings": { "isSupported": false }, + "endOfLifeDate": "2022-01-06T00:00:00+00:00", "gitHubActionSettings": { "isSupported": false }, - "endOfLifeDate": "2022-01-06T00:00:00+00:00" + "remoteDebuggingSupported": false, + "runtimeVersion": "PHP|7.3" }, "windowsRuntimeSettings": { - "runtimeVersion": "7.3", - "remoteDebuggingSupported": false, "appInsightsSettings": { "isSupported": false }, + "endOfLifeDate": "2022-01-06T00:00:00+00:00", "gitHubActionSettings": { "isSupported": false }, - "endOfLifeDate": "2022-01-06T00:00:00+00:00" + "remoteDebuggingSupported": false, + "runtimeVersion": "7.3" } - } + }, + "value": "7.3" }, { "displayText": "PHP 7.2", - "value": "7.2", "stackSettings": { "linuxRuntimeSettings": { - "runtimeVersion": "PHP|7.2", - "remoteDebuggingSupported": false, "appInsightsSettings": { "isSupported": false }, + "endOfLifeDate": "2020-12-30T00:00:00+00:00", "gitHubActionSettings": { "isSupported": false }, - "endOfLifeDate": "2020-12-30T00:00:00+00:00" + "remoteDebuggingSupported": false, + "runtimeVersion": "PHP|7.2" }, "windowsRuntimeSettings": { - "runtimeVersion": "7.2", - "remoteDebuggingSupported": false, "appInsightsSettings": { "isSupported": false }, + "endOfLifeDate": "2020-12-30T00:00:00+00:00", "gitHubActionSettings": { "isSupported": false }, - "endOfLifeDate": "2020-12-30T00:00:00+00:00" + "remoteDebuggingSupported": false, + "runtimeVersion": "7.2" } - } + }, + "value": "7.2" }, { "displayText": "PHP 7.1", - "value": "7.1", "stackSettings": { "windowsRuntimeSettings": { - "runtimeVersion": "7.1", - "isDeprecated": true, - "remoteDebuggingSupported": false, "appInsightsSettings": { "isSupported": false }, + "endOfLifeDate": "2020-03-01T00:00:00+00:00", "gitHubActionSettings": { "isSupported": false }, - "endOfLifeDate": "2020-03-01T00:00:00+00:00" + "isDeprecated": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "7.1" } - } + }, + "value": "7.1" }, { "displayText": "7.0", - "value": "7.0", "stackSettings": { "linuxRuntimeSettings": { - "runtimeVersion": "PHP|7.0", - "isDeprecated": true, - "remoteDebuggingSupported": false, "appInsightsSettings": { "isSupported": false }, + "endOfLifeDate": "2020-03-01T00:00:00+00:00", "gitHubActionSettings": { "isSupported": false }, - "endOfLifeDate": "2020-03-01T00:00:00+00:00" - }, - "windowsRuntimeSettings": { - "runtimeVersion": "7.0", "isDeprecated": true, "remoteDebuggingSupported": false, + "runtimeVersion": "PHP|7.0" + }, + "windowsRuntimeSettings": { "appInsightsSettings": { "isSupported": false }, + "endOfLifeDate": "2020-03-01T00:00:00+00:00", "gitHubActionSettings": { "isSupported": false }, - "endOfLifeDate": "2020-03-01T00:00:00+00:00" + "isDeprecated": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "7.0" } - } + }, + "value": "7.0" } - ] + ], + "value": "7" }, { "displayText": "PHP 5", - "value": "5", "minorVersions": [ { "displayText": "PHP 5.6", - "value": "5.6", "stackSettings": { "linuxRuntimeSettings": { - "runtimeVersion": "PHP|5.6", - "isDeprecated": true, - "remoteDebuggingSupported": false, "appInsightsSettings": { "isSupported": false }, + "endOfLifeDate": "2024-11-01T00:00:00+00:00", "gitHubActionSettings": { "isSupported": false }, - "endOfLifeDate": "2025-03-01T00:00:00+00:00" - }, - "windowsRuntimeSettings": { - "runtimeVersion": "5.6", "isDeprecated": true, "remoteDebuggingSupported": false, + "runtimeVersion": "PHP|5.6" + }, + "windowsRuntimeSettings": { "appInsightsSettings": { "isSupported": false }, + "endOfLifeDate": "2024-11-01T00:00:00+00:00", "gitHubActionSettings": { "isSupported": false }, - "endOfLifeDate": "2025-03-01T00:00:00+00:00" + "isDeprecated": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "5.6" } - } + }, + "value": "5.6" } - ] + ], + "value": "5" } - ] + ], + "preferredOs": "Linux", + "value": "php" } }, { - "id": "/providers/Microsoft.Web/webAppStacks/ruby", "name": "ruby", "type": "Microsoft.Web/webAppStacks", + "id": "/providers/Microsoft.Web/webAppStacks/ruby", "properties": { "displayText": "Ruby", - "value": "ruby", - "preferredOs": "Linux", "majorVersions": [ { "displayText": "Ruby 2", - "value": "2", "minorVersions": [ { "displayText": "Ruby 2.6", - "value": "2.6", "stackSettings": { "linuxRuntimeSettings": { - "runtimeVersion": "RUBY|2.6", - "remoteDebuggingSupported": false, "appInsightsSettings": { "isSupported": false }, "gitHubActionSettings": { "isSupported": false - } + }, + "remoteDebuggingSupported": false, + "runtimeVersion": "RUBY|2.6" } - } + }, + "value": "2.6" }, { "displayText": "Ruby 2.6.2", - "value": "2.6.2", "stackSettings": { "linuxRuntimeSettings": { - "runtimeVersion": "RUBY|2.6.2", - "remoteDebuggingSupported": false, "appInsightsSettings": { "isSupported": false }, "gitHubActionSettings": { "isSupported": false - } + }, + "remoteDebuggingSupported": false, + "runtimeVersion": "RUBY|2.6.2" } - } + }, + "value": "2.6.2" }, { "displayText": "Ruby 2.5", - "value": "2.5", "stackSettings": { "linuxRuntimeSettings": { - "runtimeVersion": "RUBY|2.5", - "remoteDebuggingSupported": false, "appInsightsSettings": { "isSupported": false }, "gitHubActionSettings": { "isSupported": false - } + }, + "remoteDebuggingSupported": false, + "runtimeVersion": "RUBY|2.5" } - } + }, + "value": "2.5" }, { "displayText": "Ruby 2.5.5", - "value": "2.5.5", "stackSettings": { "linuxRuntimeSettings": { - "runtimeVersion": "RUBY|2.5.5", - "remoteDebuggingSupported": false, "appInsightsSettings": { "isSupported": false }, "gitHubActionSettings": { "isSupported": false - } + }, + "remoteDebuggingSupported": false, + "runtimeVersion": "RUBY|2.5.5" } - } + }, + "value": "2.5.5" }, { "displayText": "Ruby 2.4", - "value": "2.4", "stackSettings": { "linuxRuntimeSettings": { - "runtimeVersion": "RUBY|2.4", - "isDeprecated": true, - "remoteDebuggingSupported": false, "appInsightsSettings": { "isSupported": false }, + "endOfLifeDate": "2020-05-01T00:00:00+00:00", "gitHubActionSettings": { "isSupported": false }, - "endOfLifeDate": "2020-05-01T00:00:00+00:00" + "isDeprecated": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "RUBY|2.4" } - } + }, + "value": "2.4" }, { "displayText": "Ruby 2.4.5", - "value": "2.4.5", "stackSettings": { "linuxRuntimeSettings": { - "runtimeVersion": "RUBY|2.4.5", - "isDeprecated": true, - "remoteDebuggingSupported": false, "appInsightsSettings": { "isSupported": false }, + "endOfLifeDate": "2020-05-01T00:00:00+00:00", "gitHubActionSettings": { "isSupported": false }, - "endOfLifeDate": "2020-05-01T00:00:00+00:00" + "isDeprecated": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "RUBY|2.4.5" } - } + }, + "value": "2.4.5" }, { "displayText": "Ruby 2.3", - "value": "2.3", "stackSettings": { "linuxRuntimeSettings": { - "runtimeVersion": "RUBY|2.3", - "isDeprecated": true, - "remoteDebuggingSupported": false, "appInsightsSettings": { "isSupported": false }, + "endOfLifeDate": "2019-05-01T00:00:00+00:00", "gitHubActionSettings": { "isSupported": false }, - "endOfLifeDate": "2019-05-01T00:00:00+00:00" + "isDeprecated": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "RUBY|2.3" } - } + }, + "value": "2.3" }, { "displayText": "Ruby 2.3.8", - "value": "2.3.8", "stackSettings": { "linuxRuntimeSettings": { - "runtimeVersion": "RUBY|2.3.8", - "isDeprecated": true, - "remoteDebuggingSupported": false, "appInsightsSettings": { "isSupported": false }, + "endOfLifeDate": "2019-05-01T00:00:00+00:00", "gitHubActionSettings": { "isSupported": false }, - "endOfLifeDate": "2019-05-01T00:00:00+00:00" + "isDeprecated": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "RUBY|2.3.8" } - } + }, + "value": "2.3.8" }, { "displayText": "Ruby 2.3.3", - "value": "2.3.3", "stackSettings": { "linuxRuntimeSettings": { - "runtimeVersion": "RUBY|2.3.3", - "remoteDebuggingSupported": false, - "isDeprecated": true, "appInsightsSettings": { "isSupported": false }, + "endOfLifeDate": "2019-05-01T00:00:00+00:00", "gitHubActionSettings": { "isSupported": false }, - "endOfLifeDate": "2019-05-01T00:00:00+00:00" + "isDeprecated": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "RUBY|2.3.3" } - } + }, + "value": "2.3.3" } - ] + ], + "value": "2" } - ] + ], + "preferredOs": "Linux", + "value": "ruby" } }, { - "id": "/providers/Microsoft.Web/webAppStacks/java", "name": "java", "type": "Microsoft.Web/webAppStacks", + "id": "/providers/Microsoft.Web/webAppStacks/java", "properties": { "displayText": "Java", - "value": "java", - "preferredOs": "Linux", "majorVersions": [ { "displayText": "Java 11", - "value": "11", "minorVersions": [ { "displayText": "Java 11", - "value": "11.0", "stackSettings": { "linuxRuntimeSettings": { - "runtimeVersion": "", - "isAutoUpdate": true, - "remoteDebuggingSupported": false, "appInsightsSettings": { "isSupported": false }, + "endOfLifeDate": "2026-10-01T00:00:00+00:00", "gitHubActionSettings": { "isSupported": true, "supportedVersion": "11" }, - "endOfLifeDate": "2026-10-01T00:00:00+00:00" - }, - "windowsRuntimeSettings": { - "runtimeVersion": "11", "isAutoUpdate": true, "remoteDebuggingSupported": false, + "runtimeVersion": "" + }, + "windowsRuntimeSettings": { "appInsightsSettings": { "isSupported": false }, + "endOfLifeDate": "2026-10-01T00:00:00+00:00", "gitHubActionSettings": { "isSupported": true, "supportedVersion": "11" }, - "endOfLifeDate": "2026-10-01T00:00:00+00:00" + "isAutoUpdate": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "11" } - } + }, + "value": "11.0" }, { "displayText": "Java 11.0.7", - "value": "11.0.7", "stackSettings": { "linuxRuntimeSettings": { - "runtimeVersion": "", - "remoteDebuggingSupported": false, "appInsightsSettings": { "isSupported": false }, + "endOfLifeDate": "2026-10-01T00:00:00+00:00", "gitHubActionSettings": { "isSupported": true, "supportedVersion": "11" }, - "endOfLifeDate": "2026-10-01T00:00:00+00:00" + "remoteDebuggingSupported": false, + "runtimeVersion": "" }, "windowsRuntimeSettings": { - "runtimeVersion": "11.0.7", - "remoteDebuggingSupported": false, "appInsightsSettings": { "isSupported": false }, + "endOfLifeDate": "2026-10-01T00:00:00+00:00", "gitHubActionSettings": { "isSupported": true, "supportedVersion": "11" }, - "endOfLifeDate": "2026-10-01T00:00:00+00:00" + "remoteDebuggingSupported": false, + "runtimeVersion": "11.0.7" } - } + }, + "value": "11.0.7" }, { "displayText": "Java 11.0.6", - "value": "11.0.6", "stackSettings": { "linuxRuntimeSettings": { - "runtimeVersion": "", - "remoteDebuggingSupported": false, "appInsightsSettings": { "isSupported": false }, + "endOfLifeDate": "2026-10-01T00:00:00+00:00", "gitHubActionSettings": { "isSupported": true, "supportedVersion": "11" }, - "endOfLifeDate": "2026-10-01T00:00:00+00:00" + "remoteDebuggingSupported": false, + "runtimeVersion": "" }, "windowsRuntimeSettings": { - "runtimeVersion": "11.0.6", - "remoteDebuggingSupported": false, "appInsightsSettings": { "isSupported": false }, + "endOfLifeDate": "2026-10-01T00:00:00+00:00", "gitHubActionSettings": { "isSupported": true, "supportedVersion": "11" }, - "endOfLifeDate": "2026-10-01T00:00:00+00:00" + "remoteDebuggingSupported": false, + "runtimeVersion": "11.0.6" } - } + }, + "value": "11.0.6" }, { "displayText": "Java 11.0.5", - "value": "11.0.5", "stackSettings": { "linuxRuntimeSettings": { - "runtimeVersion": "", - "remoteDebuggingSupported": false, "appInsightsSettings": { "isSupported": false }, + "endOfLifeDate": "2026-10-01T00:00:00+00:00", "gitHubActionSettings": { "isSupported": true, "supportedVersion": "11" }, - "endOfLifeDate": "2026-10-01T00:00:00+00:00" + "remoteDebuggingSupported": false, + "runtimeVersion": "" }, "windowsRuntimeSettings": { - "runtimeVersion": "11.0.5_ZULU", - "remoteDebuggingSupported": false, "appInsightsSettings": { "isSupported": false }, + "endOfLifeDate": "2026-10-01T00:00:00+00:00", "gitHubActionSettings": { "isSupported": true, "supportedVersion": "11" }, - "endOfLifeDate": "2026-10-01T00:00:00+00:00" + "remoteDebuggingSupported": false, + "runtimeVersion": "11.0.5_ZULU" } - } + }, + "value": "11.0.5" }, { "displayText": "Java 11.0.3", - "value": "11.0.3", "stackSettings": { "windowsRuntimeSettings": { - "runtimeVersion": "11.0.3_ZULU", - "remoteDebuggingSupported": false, "appInsightsSettings": { "isSupported": false }, + "endOfLifeDate": "2026-10-01T00:00:00+00:00", "gitHubActionSettings": { "isSupported": true, "supportedVersion": "11" }, - "endOfLifeDate": "2026-10-01T00:00:00+00:00" + "remoteDebuggingSupported": false, + "runtimeVersion": "11.0.3_ZULU" } - } + }, + "value": "11.0.3" }, { "displayText": "Java 11.0.2", - "value": "11.0.2", "stackSettings": { "windowsRuntimeSettings": { - "runtimeVersion": "11.0.2_ZULU", - "remoteDebuggingSupported": false, "appInsightsSettings": { "isSupported": false }, + "endOfLifeDate": "2026-10-01T00:00:00+00:00", "gitHubActionSettings": { "isSupported": true, "supportedVersion": "11" }, - "endOfLifeDate": "2026-10-01T00:00:00+00:00" + "remoteDebuggingSupported": false, + "runtimeVersion": "11.0.2_ZULU" } - } + }, + "value": "11.0.2" } - ] + ], + "value": "11" }, { "displayText": "Java 8", - "value": "8", "minorVersions": [ { "displayText": "Java 8", - "value": "8.0", "stackSettings": { "linuxRuntimeSettings": { - "runtimeVersion": "", - "isAutoUpdate": true, - "remoteDebuggingSupported": false, "appInsightsSettings": { "isSupported": false }, + "endOfLifeDate": "2025-04-01T00:00:00+00:00", "gitHubActionSettings": { "isSupported": true, "supportedVersion": "8" }, - "endOfLifeDate": "2025-04-01T00:00:00+00:00" - }, - "windowsRuntimeSettings": { - "runtimeVersion": "1.8", "isAutoUpdate": true, "remoteDebuggingSupported": false, + "runtimeVersion": "" + }, + "windowsRuntimeSettings": { "appInsightsSettings": { "isSupported": false }, + "endOfLifeDate": "2025-04-01T00:00:00+00:00", "gitHubActionSettings": { "isSupported": true, "supportedVersion": "8" }, - "endOfLifeDate": "2025-04-01T00:00:00+00:00" + "isAutoUpdate": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "1.8" } - } + }, + "value": "8.0" }, { "displayText": "Java 1.8.0_252", - "value": "8.0.252", "stackSettings": { "linuxRuntimeSettings": { - "runtimeVersion": "", - "remoteDebuggingSupported": false, "appInsightsSettings": { "isSupported": false }, + "endOfLifeDate": "2025-04-01T00:00:00+00:00", "gitHubActionSettings": { "isSupported": true, "supportedVersion": "8" }, - "endOfLifeDate": "2025-04-01T00:00:00+00:00" + "remoteDebuggingSupported": false, + "runtimeVersion": "" }, "windowsRuntimeSettings": { - "runtimeVersion": "1.8.0_252", - "remoteDebuggingSupported": false, "appInsightsSettings": { "isSupported": false }, + "endOfLifeDate": "2025-04-01T00:00:00+00:00", "gitHubActionSettings": { "isSupported": true, "supportedVersion": "8" }, - "endOfLifeDate": "2025-04-01T00:00:00+00:00" + "remoteDebuggingSupported": false, + "runtimeVersion": "1.8.0_252" } - } + }, + "value": "8.0.252" }, { "displayText": "Java 1.8.0_242", - "value": "8.0.242", "stackSettings": { "linuxRuntimeSettings": { - "runtimeVersion": "", - "remoteDebuggingSupported": false, "appInsightsSettings": { "isSupported": false }, + "endOfLifeDate": "2025-04-01T00:00:00+00:00", "gitHubActionSettings": { "isSupported": true, "supportedVersion": "8" }, - "endOfLifeDate": "2025-04-01T00:00:00+00:00" + "remoteDebuggingSupported": false, + "runtimeVersion": "" }, "windowsRuntimeSettings": { - "runtimeVersion": "1.8.0_242", - "remoteDebuggingSupported": false, "appInsightsSettings": { "isSupported": false }, + "endOfLifeDate": "2025-04-01T00:00:00+00:00", "gitHubActionSettings": { "isSupported": true, "supportedVersion": "8" }, - "endOfLifeDate": "2025-04-01T00:00:00+00:00" + "remoteDebuggingSupported": false, + "runtimeVersion": "1.8.0_242" } - } + }, + "value": "8.0.242" }, { "displayText": "Java 1.8.0_232", - "value": "8.0.232", "stackSettings": { "linuxRuntimeSettings": { - "runtimeVersion": "", - "remoteDebuggingSupported": false, "appInsightsSettings": { "isSupported": false }, + "endOfLifeDate": "2025-04-01T00:00:00+00:00", "gitHubActionSettings": { "isSupported": true, "supportedVersion": "8" }, - "endOfLifeDate": "2025-04-01T00:00:00+00:00" + "remoteDebuggingSupported": false, + "runtimeVersion": "" }, "windowsRuntimeSettings": { - "runtimeVersion": "1.8.0_232_ZULU", - "remoteDebuggingSupported": false, "appInsightsSettings": { "isSupported": false }, + "endOfLifeDate": "2025-04-01T00:00:00+00:00", "gitHubActionSettings": { "isSupported": true, "supportedVersion": "8" }, - "endOfLifeDate": "2025-04-01T00:00:00+00:00" + "remoteDebuggingSupported": false, + "runtimeVersion": "1.8.0_232_ZULU" } - } + }, + "value": "8.0.232" }, { "displayText": "Java 1.8.0_212", - "value": "8.0.212", "stackSettings": { "windowsRuntimeSettings": { - "runtimeVersion": "1.8.0_212_ZULU", - "remoteDebuggingSupported": false, "appInsightsSettings": { "isSupported": false }, + "endOfLifeDate": "2025-04-01T00:00:00+00:00", "gitHubActionSettings": { "isSupported": true, "supportedVersion": "8" }, - "endOfLifeDate": "2025-04-01T00:00:00+00:00" + "remoteDebuggingSupported": false, + "runtimeVersion": "1.8.0_212_ZULU" } - } + }, + "value": "8.0.212" }, { "displayText": "Java 1.8.0_202", - "value": "8.0.202", "stackSettings": { "windowsRuntimeSettings": { - "runtimeVersion": "1.8.0_202_ZULU", - "remoteDebuggingSupported": false, "appInsightsSettings": { "isSupported": false }, + "endOfLifeDate": "2025-04-01T00:00:00+00:00", "gitHubActionSettings": { "isSupported": true, "supportedVersion": "8" }, - "endOfLifeDate": "2025-04-01T00:00:00+00:00" + "remoteDebuggingSupported": false, + "runtimeVersion": "1.8.0_202_ZULU" } - } + }, + "value": "8.0.202" }, { "displayText": "Java 1.8.0_202 (Oracle)", - "value": "8.0.202 (Oracle)", "stackSettings": { "windowsRuntimeSettings": { - "runtimeVersion": "1.8.0_202", - "isDeprecated": true, - "remoteDebuggingSupported": false, "appInsightsSettings": { "isSupported": false }, "gitHubActionSettings": { "isSupported": true, "supportedVersion": "8" - } + }, + "isDeprecated": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "1.8.0_202" } - } + }, + "value": "8.0.202 (Oracle)" }, { "displayText": "Java 1.8.0_181", - "value": "8.0.181", "stackSettings": { "windowsRuntimeSettings": { - "runtimeVersion": "1.8.0_181_ZULU", - "remoteDebuggingSupported": false, "appInsightsSettings": { "isSupported": false }, + "endOfLifeDate": "2025-04-01T00:00:00+00:00", "gitHubActionSettings": { "isSupported": true, "supportedVersion": "8" }, - "endOfLifeDate": "2025-04-01T00:00:00+00:00" + "remoteDebuggingSupported": false, + "runtimeVersion": "1.8.0_181_ZULU" } - } + }, + "value": "8.0.181" }, { "displayText": "Java 1.8.0_181 (Oracle)", - "value": "8.0.181 (Oracle)", "stackSettings": { "windowsRuntimeSettings": { - "runtimeVersion": "1.8.0_181", - "isDeprecated": true, - "remoteDebuggingSupported": false, "appInsightsSettings": { "isSupported": false }, "gitHubActionSettings": { "isSupported": true, "supportedVersion": "8" - } + }, + "isDeprecated": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "1.8.0_181" } - } + }, + "value": "8.0.181 (Oracle)" }, { "displayText": "Java 1.8.0_172", - "value": "8.0.172", "stackSettings": { "windowsRuntimeSettings": { - "runtimeVersion": "1.8.0_172_ZULU", - "remoteDebuggingSupported": false, "appInsightsSettings": { "isSupported": false }, + "endOfLifeDate": "2025-04-01T00:00:00+00:00", "gitHubActionSettings": { "isSupported": true, "supportedVersion": "8" }, - "endOfLifeDate": "2025-04-01T00:00:00+00:00" + "remoteDebuggingSupported": false, + "runtimeVersion": "1.8.0_172_ZULU" } - } + }, + "value": "8.0.172" }, { "displayText": "Java 1.8.0_172 (Oracle)", - "value": "8.0.172 (Oracle)", "stackSettings": { "windowsRuntimeSettings": { - "runtimeVersion": "1.8.0_172", - "isDeprecated": true, - "remoteDebuggingSupported": false, "appInsightsSettings": { "isSupported": false }, "gitHubActionSettings": { "isSupported": true, "supportedVersion": "8" - } + }, + "isDeprecated": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "1.8.0_172" } - } + }, + "value": "8.0.172 (Oracle)" }, { "displayText": "Java 1.8.0_144", - "value": "8.0.144", "stackSettings": { "windowsRuntimeSettings": { - "runtimeVersion": "1.8.0_144", - "remoteDebuggingSupported": false, "appInsightsSettings": { "isSupported": false }, + "endOfLifeDate": "2025-04-01T00:00:00+00:00", "gitHubActionSettings": { "isSupported": true, "supportedVersion": "8" }, - "endOfLifeDate": "2025-04-01T00:00:00+00:00" + "remoteDebuggingSupported": false, + "runtimeVersion": "1.8.0_144" } - } + }, + "value": "8.0.144" }, { "displayText": "Java 1.8.0_111 (Oracle)", - "value": "8.0.111 (Oracle)", "stackSettings": { "windowsRuntimeSettings": { - "runtimeVersion": "1.8.0_111", - "isDeprecated": true, - "remoteDebuggingSupported": false, "appInsightsSettings": { "isSupported": false }, "gitHubActionSettings": { "isSupported": true, "supportedVersion": "8" - } + }, + "isDeprecated": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "1.8.0_111" } - } + }, + "value": "8.0.111 (Oracle)" }, { "displayText": "Java 1.8.0_102", - "value": "8.0.102", "stackSettings": { "windowsRuntimeSettings": { - "runtimeVersion": "1.8.0_102", - "remoteDebuggingSupported": false, "appInsightsSettings": { "isSupported": false }, + "endOfLifeDate": "2025-04-01T00:00:00+00:00", "gitHubActionSettings": { "isSupported": true, "supportedVersion": "8" }, - "endOfLifeDate": "2025-04-01T00:00:00+00:00" + "remoteDebuggingSupported": false, + "runtimeVersion": "1.8.0_102" } - } + }, + "value": "8.0.102" }, { "displayText": "Java 1.8.0_92", - "value": "8.0.92", "stackSettings": { "windowsRuntimeSettings": { - "runtimeVersion": "1.8.0_92", - "remoteDebuggingSupported": false, "appInsightsSettings": { "isSupported": false }, + "endOfLifeDate": "2025-04-01T00:00:00+00:00", "gitHubActionSettings": { "isSupported": true, "supportedVersion": "8" }, - "endOfLifeDate": "2025-04-01T00:00:00+00:00" + "remoteDebuggingSupported": false, + "runtimeVersion": "1.8.0_92" } - } + }, + "value": "8.0.92" }, { "displayText": "Java 1.8.0_73 (Oracle)", - "value": "8.0.73 (Oracle)", "stackSettings": { "windowsRuntimeSettings": { - "runtimeVersion": "1.8.0_73", - "isDeprecated": true, - "remoteDebuggingSupported": false, "appInsightsSettings": { "isSupported": false }, "gitHubActionSettings": { "isSupported": true, "supportedVersion": "8" - } + }, + "isDeprecated": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "1.8.0_73" } - } + }, + "value": "8.0.73 (Oracle)" }, { "displayText": "Java 1.8.0_60 (Oracle)", - "value": "8.0.60 (Oracle)", "stackSettings": { "windowsRuntimeSettings": { - "runtimeVersion": "1.8.0_60", - "isDeprecated": true, - "remoteDebuggingSupported": false, "appInsightsSettings": { "isSupported": false }, "gitHubActionSettings": { "isSupported": true, "supportedVersion": "8" - } + }, + "isDeprecated": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "1.8.0_60" } - } + }, + "value": "8.0.60 (Oracle)" }, { "displayText": "Java 1.8.0_25 (Oracle)", - "value": "8.0.25 (Oracle)", "stackSettings": { "windowsRuntimeSettings": { - "runtimeVersion": "1.8.0_25", - "isDeprecated": true, - "remoteDebuggingSupported": false, "appInsightsSettings": { "isSupported": false }, "gitHubActionSettings": { "isSupported": true, "supportedVersion": "8" - } + }, + "isDeprecated": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "1.8.0_25" } - } + }, + "value": "8.0.25 (Oracle)" } - ] + ], + "value": "8" }, { "displayText": "Java 7", - "value": "7", "minorVersions": [ { "displayText": "Java 7", - "value": "7.0", "stackSettings": { "windowsRuntimeSettings": { - "runtimeVersion": "1.7", - "isAutoUpdate": true, - "isDeprecated": true, - "remoteDebuggingSupported": false, "appInsightsSettings": { "isSupported": false }, + "endOfLifeDate": "2023-08-01T00:00:00+00:00", "gitHubActionSettings": { "isSupported": false }, - "endOfLifeDate": "2023-08-01T00:00:00+00:00" + "isAutoUpdate": true, + "isDeprecated": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "1.7" } - } + }, + "value": "7.0" }, { "displayText": "Java 1.7.0_262", - "value": "7.0.262", "stackSettings": { "windowsRuntimeSettings": { - "runtimeVersion": "1.7.0_262_ZULU", - "isDeprecated": true, - "remoteDebuggingSupported": false, "appInsightsSettings": { "isSupported": false }, + "endOfLifeDate": "2023-08-01T00:00:00+00:00", "gitHubActionSettings": { "isSupported": false }, - "endOfLifeDate": "2023-08-01T00:00:00+00:00" + "isDeprecated": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "1.7.0_262_ZULU" } - } + }, + "value": "7.0.262" }, { "displayText": "Java 1.7.0_242", - "value": "7.0.242", "stackSettings": { "windowsRuntimeSettings": { - "runtimeVersion": "1.7.0_242_ZULU", - "isDeprecated": true, - "remoteDebuggingSupported": false, "appInsightsSettings": { "isSupported": false }, + "endOfLifeDate": "2023-08-01T00:00:00+00:00", "gitHubActionSettings": { "isSupported": false }, - "endOfLifeDate": "2023-08-01T00:00:00+00:00" + "isDeprecated": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "1.7.0_242_ZULU" } - } + }, + "value": "7.0.242" }, { "displayText": "Java 1.7.0_222", - "value": "7.0.222", "stackSettings": { "windowsRuntimeSettings": { - "runtimeVersion": "1.7.0_222_ZULU", - "isDeprecated": true, - "remoteDebuggingSupported": false, "appInsightsSettings": { "isSupported": false }, + "endOfLifeDate": "2023-08-01T00:00:00+00:00", "gitHubActionSettings": { "isSupported": false }, - "endOfLifeDate": "2023-08-01T00:00:00+00:00" + "isDeprecated": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "1.7.0_222_ZULU" } - } + }, + "value": "7.0.222" }, { "displayText": "Java 1.7.0_191", - "value": "7.0.191", "stackSettings": { "windowsRuntimeSettings": { - "runtimeVersion": "1.7.0_191_ZULU", - "isDeprecated": true, - "remoteDebuggingSupported": false, "appInsightsSettings": { "isSupported": false }, + "endOfLifeDate": "2023-08-01T00:00:00+00:00", "gitHubActionSettings": { "isSupported": false }, - "endOfLifeDate": "2023-08-01T00:00:00+00:00" + "isDeprecated": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "1.7.0_191_ZULU" } - } + }, + "value": "7.0.191" }, { "displayText": "Java 1.7.0_80 (Oracle)", - "value": "7.0.80 (Oracle)", "stackSettings": { "windowsRuntimeSettings": { - "runtimeVersion": "1.7.0_80", - "isDeprecated": true, - "remoteDebuggingSupported": false, "appInsightsSettings": { "isSupported": false }, "gitHubActionSettings": { "isSupported": false - } + }, + "isDeprecated": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "1.7.0_80" } - } + }, + "value": "7.0.80 (Oracle)" }, { "displayText": "Java 1.7.0_71 (Oracle)", - "value": "7.0.71 (Oracle)", "stackSettings": { "windowsRuntimeSettings": { - "runtimeVersion": "1.7.0_71", - "isDeprecated": true, - "remoteDebuggingSupported": false, "appInsightsSettings": { "isSupported": false }, "gitHubActionSettings": { "isSupported": false - } + }, + "isDeprecated": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "1.7.0_71" } - } + }, + "value": "7.0.71 (Oracle)" }, { "displayText": "Java 1.7.0_51 (Oracle)", - "value": "7.0.51 (Oracle)", "stackSettings": { "windowsRuntimeSettings": { - "runtimeVersion": "1.7.0_51", - "isDeprecated": true, - "remoteDebuggingSupported": false, "appInsightsSettings": { "isSupported": false }, "gitHubActionSettings": { "isSupported": false - } + }, + "isDeprecated": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "1.7.0_51" } - } + }, + "value": "7.0.51 (Oracle)" } - ] + ], + "value": "7" } - ] + ], + "preferredOs": "Linux", + "value": "java" } }, { - "id": "/providers/Microsoft.Web/webAppStacks/javacontainers", "name": "javacontainers", "type": "Microsoft.Web/webAppStacks", + "id": "/providers/Microsoft.Web/webAppStacks/javacontainers", "properties": { "displayText": "Java Containers", - "value": "javacontainers", "majorVersions": [ { "displayText": "Java SE (Embedded Web Server)", - "value": "javase", "minorVersions": [ { "displayText": "Java SE (Embedded Web Server)", - "value": "SE", "stackSettings": { - "windowsContainerSettings": { - "javaContainer": "JAVA", - "javaContainerVersion": "SE", - "isAutoUpdate": true - }, "linuxContainerSettings": { + "isAutoUpdate": true, "java11Runtime": "JAVA|11-java11", - "java8Runtime": "JAVA|8-jre8", - "isAutoUpdate": true + "java8Runtime": "JAVA|8-jre8" + }, + "windowsContainerSettings": { + "isAutoUpdate": true, + "javaContainer": "JAVA", + "javaContainerVersion": "SE" } - } + }, + "value": "SE" }, { "displayText": "Java SE 11.0.7", - "value": "11.0.7", "stackSettings": { "linuxContainerSettings": { "java11Runtime": "JAVA|11.0.7" } - } + }, + "value": "11.0.7" }, { "displayText": "Java SE 11.0.6", - "value": "11.0.6", "stackSettings": { "linuxContainerSettings": { "java11Runtime": "JAVA|11.0.6" } - } + }, + "value": "11.0.6" }, { "displayText": "Java SE 11.0.5", - "value": "11.0.5", "stackSettings": { "linuxContainerSettings": { "java11Runtime": "JAVA|11.0.5" } - } + }, + "value": "11.0.5" }, { "displayText": "Java SE 8u252", - "value": "1.8.252", "stackSettings": { "linuxContainerSettings": { "java8Runtime": "JAVA|8u252" } - } + }, + "value": "1.8.252" }, { "displayText": "Java SE 8u242", - "value": "1.8.242", "stackSettings": { "linuxContainerSettings": { "java8Runtime": "JAVA|8u242" } - } + }, + "value": "1.8.242" }, { "displayText": "Java SE 8u232", - "value": "1.8.232", "stackSettings": { "linuxContainerSettings": { "java8Runtime": "JAVA|8u232" } - } + }, + "value": "1.8.232" } - ] + ], + "value": "javase" }, { "displayText": "JBoss EAP", - "value": "jbosseap", "minorVersions": [ { "displayText": "JBoss EAP 7.2", - "value": "7.2", "stackSettings": { "linuxContainerSettings": { - "java8Runtime": "JBOSSEAP|7.2-java8", - "isPreview": true + "isPreview": true, + "java8Runtime": "JBOSSEAP|7.2-java8" } - } + }, + "value": "7.2" } - ] + ], + "value": "jbosseap" }, { "displayText": "Tomcat 9.0", - "value": "tomcat9.0", "minorVersions": [ { "displayText": "Tomcat 9.0", - "value": "9.0", "stackSettings": { - "windowsContainerSettings": { - "javaContainer": "TOMCAT", - "javaContainerVersion": "9.0", - "isAutoUpdate": true - }, "linuxContainerSettings": { + "isAutoUpdate": true, "java11Runtime": "TOMCAT|9.0-java11", - "java8Runtime": "TOMCAT|9.0-jre8", - "isAutoUpdate": true + "java8Runtime": "TOMCAT|9.0-jre8" + }, + "windowsContainerSettings": { + "isAutoUpdate": true, + "javaContainer": "TOMCAT", + "javaContainerVersion": "9.0" } - } + }, + "value": "9.0" }, { "displayText": "Tomcat 9.0.37", - "value": "9.0.37", "stackSettings": { - "windowsContainerSettings": { - "javaContainer": "TOMCAT", - "javaContainerVersion": "9.0.37" - }, "linuxContainerSettings": { "java11Runtime": "TOMCAT|9.0.37-java11", "java8Runtime": "TOMCAT|9.0.37-java8" + }, + "windowsContainerSettings": { + "javaContainer": "TOMCAT", + "javaContainerVersion": "9.0.37" } - } + }, + "value": "9.0.37" }, { "displayText": "Tomcat 9.0.33", - "value": "9.0.33", "stackSettings": { "linuxContainerSettings": { "java11Runtime": "TOMCAT|9.0.33-java11", "java8Runtime": "TOMCAT|9.0.33-java8" } - } + }, + "value": "9.0.33" }, { "displayText": "Tomcat 9.0.31", - "value": "9.0.31", "stackSettings": { "windowsContainerSettings": { "javaContainer": "TOMCAT", "javaContainerVersion": "9.0.31" } - } + }, + "value": "9.0.31" }, { "displayText": "Tomcat 9.0.27", - "value": "9.0.27", "stackSettings": { "windowsContainerSettings": { "javaContainer": "TOMCAT", "javaContainerVersion": "9.0.27" } - } + }, + "value": "9.0.27" }, { "displayText": "Tomcat 9.0.21", - "value": "9.0.21", "stackSettings": { "windowsContainerSettings": { "javaContainer": "TOMCAT", "javaContainerVersion": "9.0.21" } - } + }, + "value": "9.0.21" }, { "displayText": "Tomcat 9.0.20", - "value": "9.0.20", "stackSettings": { "linuxContainerSettings": { "java11Runtime": "TOMCAT|9.0.20-java11", "java8Runtime": "TOMCAT|9.0.20-java8" } - } + }, + "value": "9.0.20" }, { "displayText": "Tomcat 9.0.14", - "value": "9.0.14", "stackSettings": { "windowsContainerSettings": { "javaContainer": "TOMCAT", "javaContainerVersion": "9.0.14" } - } + }, + "value": "9.0.14" }, { "displayText": "Tomcat 9.0.12", - "value": "9.0.12", "stackSettings": { "windowsContainerSettings": { "javaContainer": "TOMCAT", "javaContainerVersion": "9.0.12" } - } + }, + "value": "9.0.12" }, { "displayText": "Tomcat 9.0.8", - "value": "9.0.8", "stackSettings": { "windowsContainerSettings": { "javaContainer": "TOMCAT", "javaContainerVersion": "9.0.8" } - } + }, + "value": "9.0.8" }, { "displayText": "Tomcat 9.0.0", - "value": "9.0.0", "stackSettings": { "windowsContainerSettings": { "javaContainer": "TOMCAT", "javaContainerVersion": "9.0.0" } - } + }, + "value": "9.0.0" } - ] + ], + "value": "tomcat9.0" }, { "displayText": "Tomcat 8.5", - "value": "tomcat8.5", "minorVersions": [ { "displayText": "Tomcat 8.5", - "value": "8.5", "stackSettings": { - "windowsContainerSettings": { - "javaContainer": "TOMCAT", - "javaContainerVersion": "8.5", - "isAutoUpdate": true - }, "linuxContainerSettings": { + "isAutoUpdate": true, "java11Runtime": "TOMCAT|8.5-java11", - "java8Runtime": "TOMCAT|8.5-jre8", - "isAutoUpdate": true + "java8Runtime": "TOMCAT|8.5-jre8" + }, + "windowsContainerSettings": { + "isAutoUpdate": true, + "javaContainer": "TOMCAT", + "javaContainerVersion": "8.5" } - } + }, + "value": "8.5" }, { "displayText": "Tomcat 8.5.6", - "value": "8.5.6", "stackSettings": { "windowsContainerSettings": { "javaContainer": "TOMCAT", "javaContainerVersion": "8.5.6" } - } + }, + "value": "8.5.6" }, { "displayText": "Tomcat 8.5.57", - "value": "8.5.57", "stackSettings": { - "windowsContainerSettings": { - "javaContainer": "TOMCAT", - "javaContainerVersion": "8.5.57" - }, "linuxContainerSettings": { "java11Runtime": "TOMCAT|8.5.57-java11", "java8Runtime": "TOMCAT|8.5.57-java8" + }, + "windowsContainerSettings": { + "javaContainer": "TOMCAT", + "javaContainerVersion": "8.5.57" } - } + }, + "value": "8.5.57" }, { "displayText": "Tomcat 8.5.53", - "value": "8.5.53", "stackSettings": { "linuxContainerSettings": { "java11Runtime": "TOMCAT|8.5.53-java11", "java8Runtime": "TOMCAT|8.5.53-java8" } - } + }, + "value": "8.5.53" }, { "displayText": "Tomcat 8.5.51", - "value": "8.5.51", "stackSettings": { "windowsContainerSettings": { "javaContainer": "TOMCAT", "javaContainerVersion": "8.5.51" } - } + }, + "value": "8.5.51" }, { "displayText": "Tomcat 8.5.47", - "value": "8.5.47", "stackSettings": { "windowsContainerSettings": { "javaContainer": "TOMCAT", "javaContainerVersion": "8.5.47" } - } + }, + "value": "8.5.47" }, { "displayText": "Tomcat 8.5.42", - "value": "8.5.42", "stackSettings": { "windowsContainerSettings": { "javaContainer": "TOMCAT", "javaContainerVersion": "8.5.42" } - } + }, + "value": "8.5.42" }, { "displayText": "Tomcat 8.5.41", - "value": "8.5.41", "stackSettings": { "linuxContainerSettings": { "java11Runtime": "TOMCAT|8.5.41-java11", "java8Runtime": "TOMCAT|8.5.41-java8" } - } + }, + "value": "8.5.41" }, { "displayText": "Tomcat 8.5.37", - "value": "8.5.37", "stackSettings": { "windowsContainerSettings": { "javaContainer": "TOMCAT", "javaContainerVersion": "8.5.37" } - } + }, + "value": "8.5.37" }, { "displayText": "Tomcat 8.5.34", - "value": "8.5.34", "stackSettings": { "windowsContainerSettings": { "javaContainer": "TOMCAT", "javaContainerVersion": "8.5.34" } - } + }, + "value": "8.5.34" }, { "displayText": "Tomcat 8.5.31", - "value": "8.5.31", "stackSettings": { "windowsContainerSettings": { "javaContainer": "TOMCAT", "javaContainerVersion": "8.5.31" } - } + }, + "value": "8.5.31" }, { "displayText": "Tomcat 8.5.20", - "value": "8.5.20", "stackSettings": { "windowsContainerSettings": { "javaContainer": "TOMCAT", "javaContainerVersion": "8.5.20" } - } + }, + "value": "8.5.20" } - ] + ], + "value": "tomcat8.5" }, { "displayText": "Tomcat 8.0", - "value": "tomcat8.0", "minorVersions": [ { "displayText": "Tomcat 8.0", - "value": "8.0", "stackSettings": { "windowsContainerSettings": { + "isAutoUpdate": true, "javaContainer": "TOMCAT", - "javaContainerVersion": "8.0", - "isAutoUpdate": true + "javaContainerVersion": "8.0" } - } + }, + "value": "8.0" }, { "displayText": "Tomcat 8.0.53", - "value": "8.0.53", "stackSettings": { "windowsContainerSettings": { "javaContainer": "TOMCAT", "javaContainerVersion": "8.0.53" } - } + }, + "value": "8.0.53" }, { "displayText": "Tomcat 8.0.46", - "value": "8.0.46", "stackSettings": { "windowsContainerSettings": { "javaContainer": "TOMCAT", "javaContainerVersion": "8.0.46" } - } + }, + "value": "8.0.46" }, { "displayText": "Tomcat 8.0.23", - "value": "8.0.23", "stackSettings": { "windowsContainerSettings": { "javaContainer": "TOMCAT", "javaContainerVersion": "8.0.23" } - } + }, + "value": "8.0.23" } - ] + ], + "value": "tomcat8.0" }, { "displayText": "Tomcat 7.0", - "value": "tomcat7.0", "minorVersions": [ { "displayText": "Tomcat 7.0", - "value": "7.0", "stackSettings": { "windowsContainerSettings": { + "isAutoUpdate": true, "javaContainer": "TOMCAT", - "javaContainerVersion": "7.0", - "isAutoUpdate": true + "javaContainerVersion": "7.0" } - } + }, + "value": "7.0" }, { "displayText": "Tomcat 7.0.94", - "value": "7.0.94", "stackSettings": { "windowsContainerSettings": { "javaContainer": "TOMCAT", "javaContainerVersion": "7.0.94" } - } + }, + "value": "7.0.94" }, { "displayText": "Tomcat 7.0.81", - "value": "7.0.81", "stackSettings": { "windowsContainerSettings": { "javaContainer": "TOMCAT", "javaContainerVersion": "7.0.81" } - } + }, + "value": "7.0.81" }, { "displayText": "Tomcat 7.0.62", - "value": "7.0.62", "stackSettings": { "windowsContainerSettings": { "javaContainer": "TOMCAT", "javaContainerVersion": "7.0.62" } - } + }, + "value": "7.0.62" }, { "displayText": "Tomcat 7.0.50", - "value": "7.0.50", "stackSettings": { "windowsContainerSettings": { "javaContainer": "TOMCAT", "javaContainerVersion": "7.0.50" } - } + }, + "value": "7.0.50" } - ] + ], + "value": "tomcat7.0" }, { "displayText": "Jetty 9.3", - "value": "jetty9.3", "minorVersions": [ { "displayText": "Jetty 9.3", - "value": "9.3", "stackSettings": { "windowsContainerSettings": { - "javaContainer": "JETTY", - "javaContainerVersion": "9.3", "isAutoUpdate": true, - "isDeprecated": true + "isDeprecated": true, + "javaContainer": "JETTY", + "javaContainerVersion": "9.3" } - } + }, + "value": "9.3" }, { "displayText": "Jetty 9.3.25", - "value": "9.3.25", "stackSettings": { "windowsContainerSettings": { + "isDeprecated": true, "javaContainer": "JETTY", - "javaContainerVersion": "9.3.25", - "isDeprecated": true + "javaContainerVersion": "9.3.25" } - } + }, + "value": "9.3.25" }, { "displayText": "Jetty 9.3.13", - "value": "9.3.13", "stackSettings": { "windowsContainerSettings": { + "isDeprecated": true, "javaContainer": "JETTY", - "javaContainerVersion": "9.3.13", - "isDeprecated": true + "javaContainerVersion": "9.3.13" } - } + }, + "value": "9.3.13" } - ] + ], + "value": "jetty9.3" }, { "displayText": "Jetty 9.1", - "value": "jetty9.1", "minorVersions": [ { "displayText": "Jetty 9.1", - "value": "9.1", "stackSettings": { "windowsContainerSettings": { - "javaContainer": "JETTY", - "javaContainerVersion": "9.1", "isAutoUpdate": true, - "isDeprecated": true + "isDeprecated": true, + "javaContainer": "JETTY", + "javaContainerVersion": "9.1" } - } + }, + "value": "9.1" }, { "displayText": "Jetty 9.1.0", - "value": "9.1.0", "stackSettings": { "windowsContainerSettings": { + "isDeprecated": true, "javaContainer": "JETTY", - "javaContainerVersion": "9.1.0", - "isDeprecated": true + "javaContainerVersion": "9.1.0" } - } + }, + "value": "9.1.0" } - ] + ], + "value": "jetty9.1" }, { "displayText": "WildFly 14", - "value": "wildfly14", "minorVersions": [ { "displayText": "WildFly 14", - "value": "14", "stackSettings": { "linuxContainerSettings": { - "java8Runtime": "WILDFLY|14-jre8", + "isAutoUpdate": true, "isDeprecated": true, - "isAutoUpdate": true + "java8Runtime": "WILDFLY|14-jre8" } - } + }, + "value": "14" }, { "displayText": "WildFly 14.0.1", - "value": "14.0.1", "stackSettings": { "linuxContainerSettings": { "isDeprecated": true, "java8Runtime": "WILDFLY|14.0.1-java8" } - } + }, + "value": "14.0.1" } - ] + ], + "value": "wildfly14" } - ] + ], + "value": "javacontainers" } } ] - } + }, + "headers": {} } - } + }, + "operationId": "Provider_GetWebAppStacks", + "title": "Get Web App Stacks" } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetWebAppStacksForLocation.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetWebAppStacksForLocation.json index 9ae77a5fd990..51b84a0cbc2a 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetWebAppStacksForLocation.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetWebAppStacksForLocation.json @@ -1,2923 +1,2925 @@ { "parameters": { - "location": "westus", - "api-version": "2025-03-01" + "api-version": "2025-03-01", + "location": "westus" }, "responses": { "200": { - "headers": {}, "body": { "value": [ { - "id": "/providers/Microsoft.Web/locations/webAppStacks/dotnet", "name": "dotnet", "type": "Microsoft.Web/locations/webAppStacks", + "id": "/providers/Microsoft.Web/locations/webAppStacks/dotnet", "location": "westus", "properties": { "displayText": ".NET", - "value": "dotnet", - "preferredOs": "Windows", "majorVersions": [ { "displayText": ".NET 5", - "value": "5", "minorVersions": [ { "displayText": ".NET 5", - "value": "5", "stackSettings": { - "windowsRuntimeSettings": { - "runtimeVersion": "v5.0", - "isEarlyAccess": true, - "remoteDebuggingSupported": false, + "linuxRuntimeSettings": { "appInsightsSettings": { - "isSupported": true + "isSupported": false }, "gitHubActionSettings": { "isSupported": true, "supportedVersion": "5.0.x" - } - }, - "linuxRuntimeSettings": { - "runtimeVersion": "DOTNETCORE|5.0", + }, "isEarlyAccess": true, "remoteDebuggingSupported": false, + "runtimeVersion": "DOTNETCORE|5.0" + }, + "windowsRuntimeSettings": { "appInsightsSettings": { - "isSupported": false + "isSupported": true }, "gitHubActionSettings": { "isSupported": true, "supportedVersion": "5.0.x" - } + }, + "isEarlyAccess": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "v5.0" } - } + }, + "value": "5" } - ] + ], + "value": "5" }, { "displayText": ".NET Core 3", - "value": "3", "minorVersions": [ { "displayText": ".NET Core 3.1 (LTS)", - "value": "3.1", "stackSettings": { - "windowsRuntimeSettings": { - "runtimeVersion": "3.1", - "remoteDebuggingSupported": false, + "linuxRuntimeSettings": { "appInsightsSettings": { - "isSupported": true + "isSupported": false }, "gitHubActionSettings": { "isSupported": true, "supportedVersion": "3.1.301" - } - }, - "linuxRuntimeSettings": { - "runtimeVersion": "DOTNETCORE|3.1", + }, "remoteDebuggingSupported": false, + "runtimeVersion": "DOTNETCORE|3.1" + }, + "windowsRuntimeSettings": { "appInsightsSettings": { - "isSupported": false + "isSupported": true }, "gitHubActionSettings": { "isSupported": true, "supportedVersion": "3.1.301" - } + }, + "remoteDebuggingSupported": false, + "runtimeVersion": "3.1" } - } + }, + "value": "3.1" }, { "displayText": ".NET Core 3.0", - "value": "3.0", "stackSettings": { - "windowsRuntimeSettings": { - "runtimeVersion": "3.0", - "isDeprecated": true, - "remoteDebuggingSupported": false, + "linuxRuntimeSettings": { "appInsightsSettings": { "isSupported": false }, + "endOfLifeDate": "2020-04-03T00:00:00+00:00", "gitHubActionSettings": { "isSupported": true, "supportedVersion": "3.0.103" }, - "endOfLifeDate": "2020-04-03T00:00:00+00:00" - }, - "linuxRuntimeSettings": { - "runtimeVersion": "DOTNETCORE|3.0", "isDeprecated": true, "remoteDebuggingSupported": false, + "runtimeVersion": "DOTNETCORE|3.0" + }, + "windowsRuntimeSettings": { "appInsightsSettings": { "isSupported": false }, + "endOfLifeDate": "2020-04-03T00:00:00+00:00", "gitHubActionSettings": { "isSupported": true, "supportedVersion": "3.0.103" }, - "endOfLifeDate": "2020-04-03T00:00:00+00:00" + "isDeprecated": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "3.0" } - } + }, + "value": "3.0" } - ] + ], + "value": "3" }, { "displayText": ".NET Core 2", - "value": "dotnetcore2", "minorVersions": [ { "displayText": ".NET Core 2.2", - "value": "2.2", "stackSettings": { - "windowsRuntimeSettings": { - "runtimeVersion": "2.2", - "isDeprecated": true, - "remoteDebuggingSupported": false, + "linuxRuntimeSettings": { "appInsightsSettings": { "isSupported": false }, + "endOfLifeDate": "2020-01-23T00:00:00+00:00", "gitHubActionSettings": { "isSupported": true, "supportedVersion": "2.2.207" }, - "endOfLifeDate": "2020-01-23T00:00:00+00:00" - }, - "linuxRuntimeSettings": { - "runtimeVersion": "DOTNETCORE|2.2", "isDeprecated": true, "remoteDebuggingSupported": false, + "runtimeVersion": "DOTNETCORE|2.2" + }, + "windowsRuntimeSettings": { "appInsightsSettings": { "isSupported": false }, + "endOfLifeDate": "2020-01-23T00:00:00+00:00", "gitHubActionSettings": { "isSupported": true, "supportedVersion": "2.2.207" }, - "endOfLifeDate": "2020-01-23T00:00:00+00:00" + "isDeprecated": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "2.2" } - } + }, + "value": "2.2" }, { "displayText": ".NET Core 2.1 (LTS)", - "value": "2.1", "stackSettings": { - "windowsRuntimeSettings": { - "runtimeVersion": "2.1", - "remoteDebuggingSupported": false, + "linuxRuntimeSettings": { "appInsightsSettings": { - "isSupported": true + "isSupported": false }, + "endOfLifeDate": "2021-09-21T00:00:00+00:00", "gitHubActionSettings": { "isSupported": true, "supportedVersion": "2.1.807" }, - "endOfLifeDate": "2021-09-21T00:00:00+00:00" - }, - "linuxRuntimeSettings": { - "runtimeVersion": "DOTNETCORE|2.1", "remoteDebuggingSupported": false, + "runtimeVersion": "DOTNETCORE|2.1" + }, + "windowsRuntimeSettings": { "appInsightsSettings": { - "isSupported": false + "isSupported": true }, + "endOfLifeDate": "2021-09-21T00:00:00+00:00", "gitHubActionSettings": { "isSupported": true, "supportedVersion": "2.1.807" }, - "endOfLifeDate": "2021-09-21T00:00:00+00:00" + "remoteDebuggingSupported": false, + "runtimeVersion": "2.1" } - } + }, + "value": "2.1" }, { "displayText": ".NET Core 2.0", - "value": "2.0", "stackSettings": { - "windowsRuntimeSettings": { - "runtimeVersion": "2.0", - "isDeprecated": true, - "remoteDebuggingSupported": false, + "linuxRuntimeSettings": { "appInsightsSettings": { "isSupported": false }, + "endOfLifeDate": "2018-11-01T00:00:00+00:00", "gitHubActionSettings": { "isSupported": true, "supportedVersion": "2.1.202" }, - "endOfLifeDate": "2018-11-01T00:00:00+00:00" - }, - "linuxRuntimeSettings": { - "runtimeVersion": "DOTNETCORE|2.0", "isDeprecated": true, "remoteDebuggingSupported": false, + "runtimeVersion": "DOTNETCORE|2.0" + }, + "windowsRuntimeSettings": { "appInsightsSettings": { "isSupported": false }, + "endOfLifeDate": "2018-11-01T00:00:00+00:00", "gitHubActionSettings": { "isSupported": true, "supportedVersion": "2.1.202" }, - "endOfLifeDate": "2018-11-01T00:00:00+00:00" + "isDeprecated": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "2.0" } - } + }, + "value": "2.0" } - ] + ], + "value": "dotnetcore2" }, { "displayText": ".NET Core 1", - "value": "1", "minorVersions": [ { "displayText": ".NET Core 1.1", - "value": "1.1", "stackSettings": { - "windowsRuntimeSettings": { - "runtimeVersion": "1.1", - "isDeprecated": true, - "remoteDebuggingSupported": false, + "linuxRuntimeSettings": { "appInsightsSettings": { "isSupported": false }, + "endOfLifeDate": "2019-07-27T00:00:00+00:00", "gitHubActionSettings": { "isSupported": true, "supportedVersion": "1.1.14" }, - "endOfLifeDate": "2019-07-27T00:00:00+00:00" - }, - "linuxRuntimeSettings": { - "runtimeVersion": "DOTNETCORE|1.1", "isDeprecated": true, "remoteDebuggingSupported": false, + "runtimeVersion": "DOTNETCORE|1.1" + }, + "windowsRuntimeSettings": { "appInsightsSettings": { "isSupported": false }, + "endOfLifeDate": "2019-07-27T00:00:00+00:00", "gitHubActionSettings": { "isSupported": true, "supportedVersion": "1.1.14" }, - "endOfLifeDate": "2019-07-27T00:00:00+00:00" + "isDeprecated": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "1.1" } - } + }, + "value": "1.1" }, { "displayText": ".NET Core 1.0", - "value": "1.0", "stackSettings": { - "windowsRuntimeSettings": { - "runtimeVersion": "1.0", - "isDeprecated": true, - "remoteDebuggingSupported": false, + "linuxRuntimeSettings": { "appInsightsSettings": { "isSupported": false }, + "endOfLifeDate": "2019-07-27T00:00:00+00:00", "gitHubActionSettings": { "isSupported": true, "supportedVersion": "1.1.14" }, - "endOfLifeDate": "2019-07-27T00:00:00+00:00" - }, - "linuxRuntimeSettings": { - "runtimeVersion": "DOTNETCORE|1.0", "isDeprecated": true, "remoteDebuggingSupported": false, + "runtimeVersion": "DOTNETCORE|1.0" + }, + "windowsRuntimeSettings": { "appInsightsSettings": { "isSupported": false }, + "endOfLifeDate": "2019-07-27T00:00:00+00:00", "gitHubActionSettings": { "isSupported": true, "supportedVersion": "1.1.14" }, - "endOfLifeDate": "2019-07-27T00:00:00+00:00" + "isDeprecated": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "1.0" } - } + }, + "value": "1.0" } - ] + ], + "value": "1" }, { "displayText": "ASP.NET V4", - "value": "v4", "minorVersions": [ { "displayText": "ASP.NET V4.8", - "value": "v4.8", "stackSettings": { "windowsRuntimeSettings": { - "runtimeVersion": "v4.0", - "remoteDebuggingSupported": false, "appInsightsSettings": { "isSupported": true }, "gitHubActionSettings": { "isSupported": true, "supportedVersion": "3.1" - } + }, + "remoteDebuggingSupported": false, + "runtimeVersion": "v4.0" } - } + }, + "value": "v4.8" } - ] + ], + "value": "v4" }, { "displayText": "ASP.NET V3", - "value": "v3", "minorVersions": [ { "displayText": "ASP.NET V3.5", - "value": "v3.5", "stackSettings": { "windowsRuntimeSettings": { - "runtimeVersion": "v2.0", - "remoteDebuggingSupported": false, "appInsightsSettings": { "isSupported": true }, "gitHubActionSettings": { "isSupported": true, "supportedVersion": "2.1" - } + }, + "remoteDebuggingSupported": false, + "runtimeVersion": "v2.0" } - } + }, + "value": "v3.5" } - ] + ], + "value": "v3" } - ] + ], + "preferredOs": "Windows", + "value": "dotnet" } }, { - "id": "/providers/Microsoft.Web/locations/webAppStacks/node", "name": "node", "type": "Microsoft.Web/locations/webAppStacks", + "id": "/providers/Microsoft.Web/locations/webAppStacks/node", "location": "westus", "properties": { "displayText": "Node", - "value": "node", - "preferredOs": "Linux", "majorVersions": [ { "displayText": "Node LTS", - "value": "lts", "minorVersions": [ { "displayText": "Node LTS", - "value": "lts", "stackSettings": { "linuxRuntimeSettings": { - "runtimeVersion": "NODE|lts", - "isDeprecated": true, - "remoteDebuggingSupported": false, "appInsightsSettings": { "isSupported": true }, "gitHubActionSettings": { "isSupported": true - } + }, + "isDeprecated": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "NODE|lts" } - } + }, + "value": "lts" } - ] + ], + "value": "lts" }, { "displayText": "Node 14", - "value": "14", "minorVersions": [ { "displayText": "Node 14 LTS", - "value": "14-lts", "stackSettings": { "linuxRuntimeSettings": { - "runtimeVersion": "NODE|14-lts", - "remoteDebuggingSupported": false, "appInsightsSettings": { "isSupported": true }, + "endOfLifeDate": "2023-05-30T00:00:00+00:00", "gitHubActionSettings": { "isSupported": true, "supportedVersion": "14.x" }, "isPreview": true, - "endOfLifeDate": "2023-05-30T00:00:00+00:00" + "remoteDebuggingSupported": false, + "runtimeVersion": "NODE|14-lts" } - } + }, + "value": "14-lts" } - ] + ], + "value": "14" }, { "displayText": "Node 12", - "value": "12", "minorVersions": [ { "displayText": "Node 12 LTS", - "value": "12-lts", "stackSettings": { "linuxRuntimeSettings": { - "runtimeVersion": "NODE|12-lts", - "remoteDebuggingSupported": false, "appInsightsSettings": { "isSupported": true }, + "endOfLifeDate": "2022-05-01T00:00:00+00:00", "gitHubActionSettings": { "isSupported": true, "supportedVersion": "12.x" }, - "endOfLifeDate": "2022-05-01T00:00:00+00:00" + "remoteDebuggingSupported": false, + "runtimeVersion": "NODE|12-lts" }, "windowsRuntimeSettings": { - "runtimeVersion": "12.13.0", - "remoteDebuggingSupported": false, "appInsightsSettings": { "isSupported": true }, + "endOfLifeDate": "2022-05-01T00:00:00+00:00", "gitHubActionSettings": { "isSupported": true }, - "endOfLifeDate": "2022-05-01T00:00:00+00:00" + "remoteDebuggingSupported": false, + "runtimeVersion": "12.13.0" } - } + }, + "value": "12-lts" }, { "displayText": "Node 12.9", - "value": "12.9", "stackSettings": { "linuxRuntimeSettings": { - "runtimeVersion": "NODE|12.9", - "isDeprecated": true, - "remoteDebuggingSupported": true, "appInsightsSettings": { "isSupported": true }, + "endOfLifeDate": "2022-05-01T00:00:00+00:00", "gitHubActionSettings": { "isSupported": true, "supportedVersion": "12.x" }, - "endOfLifeDate": "2022-05-01T00:00:00+00:00" + "isDeprecated": true, + "remoteDebuggingSupported": true, + "runtimeVersion": "NODE|12.9" } - } + }, + "value": "12.9" } - ] + ], + "value": "12" }, { "displayText": "Node 10", - "value": "10", "minorVersions": [ { "displayText": "Node 10 LTS", - "value": "10-LTS", "stackSettings": { "linuxRuntimeSettings": { - "runtimeVersion": "NODE|10-lts", - "remoteDebuggingSupported": false, "appInsightsSettings": { "isSupported": true }, + "endOfLifeDate": "2021-05-01T00:00:00+00:00", "gitHubActionSettings": { "isSupported": true, "supportedVersion": "10.x" }, - "endOfLifeDate": "2021-05-01T00:00:00+00:00" + "remoteDebuggingSupported": false, + "runtimeVersion": "NODE|10-lts" } - } + }, + "value": "10-LTS" }, { "displayText": "Node 10.16", - "value": "10.16", "stackSettings": { "linuxRuntimeSettings": { - "runtimeVersion": "NODE|10.16", - "isDeprecated": true, - "remoteDebuggingSupported": false, "appInsightsSettings": { "isSupported": true }, + "endOfLifeDate": "2021-05-01T00:00:00+00:00", "gitHubActionSettings": { "isSupported": true, "supportedVersion": "10.x" }, - "endOfLifeDate": "2021-05-01T00:00:00+00:00" + "isDeprecated": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "NODE|10.16" } - } + }, + "value": "10.16" }, { "displayText": "Node 10.15", - "value": "10.15", "stackSettings": { "windowsRuntimeSettings": { - "runtimeVersion": "10.15.2", - "isPreview": true, - "isHidden": true, - "remoteDebuggingSupported": false, "appInsightsSettings": { "isSupported": false }, + "endOfLifeDate": "2021-05-01T00:00:00+00:00", "gitHubActionSettings": { "isSupported": true, "supportedVersion": "10.x" }, - "endOfLifeDate": "2021-05-01T00:00:00+00:00" + "isHidden": true, + "isPreview": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "10.15.2" } - } + }, + "value": "10.15" }, { "displayText": "Node 10.14", - "value": "10.14", "stackSettings": { "linuxRuntimeSettings": { - "runtimeVersion": "NODE|10.14", - "remoteDebuggingSupported": false, "appInsightsSettings": { "isSupported": true }, + "endOfLifeDate": "2021-05-01T00:00:00+00:00", "gitHubActionSettings": { "isSupported": true, "supportedVersion": "10.x" }, - "endOfLifeDate": "2021-05-01T00:00:00+00:00" + "remoteDebuggingSupported": false, + "runtimeVersion": "NODE|10.14" }, "windowsRuntimeSettings": { - "runtimeVersion": "10.14.1", - "remoteDebuggingSupported": false, "appInsightsSettings": { "isSupported": true }, + "endOfLifeDate": "2021-05-01T00:00:00+00:00", "gitHubActionSettings": { "isSupported": true, "supportedVersion": "10.x" }, - "endOfLifeDate": "2021-05-01T00:00:00+00:00" + "remoteDebuggingSupported": false, + "runtimeVersion": "10.14.1" } - } + }, + "value": "10.14" }, { "displayText": "Node 10.12", - "value": "10.12", "stackSettings": { "linuxRuntimeSettings": { - "runtimeVersion": "NODE|10.12", - "isDeprecated": true, - "remoteDebuggingSupported": false, "appInsightsSettings": { "isSupported": true }, + "endOfLifeDate": "2021-05-01T00:00:00+00:00", "gitHubActionSettings": { "isSupported": true, "supportedVersion": "10.x" }, - "endOfLifeDate": "2021-05-01T00:00:00+00:00" + "isDeprecated": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "NODE|10.12" } - } + }, + "value": "10.12" }, { "displayText": "Node 10.10", - "value": "10.10", "stackSettings": { "linuxRuntimeSettings": { - "runtimeVersion": "NODE|10.10", - "isDeprecated": true, - "remoteDebuggingSupported": false, "appInsightsSettings": { "isSupported": true }, + "endOfLifeDate": "2021-05-01T00:00:00+00:00", "gitHubActionSettings": { "isSupported": true, "supportedVersion": "10.x" }, - "endOfLifeDate": "2021-05-01T00:00:00+00:00" + "isDeprecated": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "NODE|10.10" }, "windowsRuntimeSettings": { - "runtimeVersion": "10.0.0", - "remoteDebuggingSupported": false, "appInsightsSettings": { "isSupported": true }, + "endOfLifeDate": "2021-05-01T00:00:00+00:00", "gitHubActionSettings": { "isSupported": true, "supportedVersion": "10.x" }, - "endOfLifeDate": "2021-05-01T00:00:00+00:00" + "remoteDebuggingSupported": false, + "runtimeVersion": "10.0.0" } - } + }, + "value": "10.10" }, { "displayText": "Node 10.6", - "value": "10.6", "stackSettings": { "linuxRuntimeSettings": { - "runtimeVersion": "NODE|10.6", - "remoteDebuggingSupported": false, "appInsightsSettings": { "isSupported": true }, + "endOfLifeDate": "2021-05-01T00:00:00+00:00", "gitHubActionSettings": { "isSupported": true, "supportedVersion": "10.x" }, - "endOfLifeDate": "2021-05-01T00:00:00+00:00" + "remoteDebuggingSupported": false, + "runtimeVersion": "NODE|10.6" }, "windowsRuntimeSettings": { - "runtimeVersion": "10.6.0", - "remoteDebuggingSupported": false, "appInsightsSettings": { "isSupported": true }, + "endOfLifeDate": "2021-05-01T00:00:00+00:00", "gitHubActionSettings": { "isSupported": true }, - "endOfLifeDate": "2021-05-01T00:00:00+00:00" + "remoteDebuggingSupported": false, + "runtimeVersion": "10.6.0" } - } + }, + "value": "10.6" }, { "displayText": "Node 10.1", - "value": "10.1", "stackSettings": { "linuxRuntimeSettings": { - "runtimeVersion": "NODE|10.1", - "remoteDebuggingSupported": false, "appInsightsSettings": { "isSupported": true }, + "endOfLifeDate": "2021-05-01T00:00:00+00:00", "gitHubActionSettings": { "isSupported": true, "supportedVersion": "10.x" }, - "endOfLifeDate": "2021-05-01T00:00:00+00:00" + "remoteDebuggingSupported": false, + "runtimeVersion": "NODE|10.1" } - } + }, + "value": "10.1" } - ] + ], + "value": "10" }, { "displayText": "Node 9", - "value": "9", "minorVersions": [ { "displayText": "Node 9.4", - "value": "9.4", "stackSettings": { "linuxRuntimeSettings": { - "runtimeVersion": "NODE|9.4", - "isDeprecated": true, - "remoteDebuggingSupported": false, "appInsightsSettings": { "isSupported": true }, + "endOfLifeDate": "2019-07-30T00:00:00+00:00", "gitHubActionSettings": { "isSupported": true }, - "endOfLifeDate": "2019-07-30T00:00:00+00:00" + "isDeprecated": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "NODE|9.4" } - } + }, + "value": "9.4" } - ] + ], + "value": "9" }, { "displayText": "Node 8", - "value": "8", "minorVersions": [ { "displayText": "Node 8 LTS", - "value": "8-lts", "stackSettings": { "linuxRuntimeSettings": { - "runtimeVersion": "NODE|8-lts", - "isDeprecated": true, - "remoteDebuggingSupported": false, "appInsightsSettings": { "isSupported": true }, + "endOfLifeDate": "2020-01-31T00:00:00+00:00", "gitHubActionSettings": { "isSupported": true }, - "endOfLifeDate": "2020-01-31T00:00:00+00:00" + "isDeprecated": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "NODE|8-lts" } - } + }, + "value": "8-lts" }, { "displayText": "Node 8.12", - "value": "8.12", "stackSettings": { "linuxRuntimeSettings": { - "runtimeVersion": "NODE|8.12", - "isDeprecated": true, - "remoteDebuggingSupported": false, "appInsightsSettings": { "isSupported": true }, + "endOfLifeDate": "2020-01-31T00:00:00+00:00", "gitHubActionSettings": { "isSupported": true }, - "endOfLifeDate": "2020-01-31T00:00:00+00:00" + "isDeprecated": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "NODE|8.12" } - } + }, + "value": "8.12" }, { "displayText": "Node 8.11", - "value": "8.11", "stackSettings": { "linuxRuntimeSettings": { - "runtimeVersion": "NODE|8.11", - "isDeprecated": true, - "remoteDebuggingSupported": false, "appInsightsSettings": { "isSupported": true }, + "endOfLifeDate": "2020-01-31T00:00:00+00:00", "gitHubActionSettings": { "isSupported": true }, - "endOfLifeDate": "2020-01-31T00:00:00+00:00" - }, - "windowsRuntimeSettings": { - "runtimeVersion": "8.11", "isDeprecated": true, "remoteDebuggingSupported": false, + "runtimeVersion": "NODE|8.11" + }, + "windowsRuntimeSettings": { "appInsightsSettings": { "isSupported": false }, + "endOfLifeDate": "2020-01-31T00:00:00+00:00", "gitHubActionSettings": { "isSupported": false }, - "endOfLifeDate": "2020-01-31T00:00:00+00:00" + "isDeprecated": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "8.11" } - } + }, + "value": "8.11" }, { "displayText": "Node 8.10", - "value": "8.10", "stackSettings": { "windowsRuntimeSettings": { - "runtimeVersion": "8.10", - "isDeprecated": true, - "remoteDebuggingSupported": false, "appInsightsSettings": { "isSupported": false }, + "endOfLifeDate": "2020-01-31T00:00:00+00:00", "gitHubActionSettings": { "isSupported": false }, - "endOfLifeDate": "2020-01-31T00:00:00+00:00" + "isDeprecated": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "8.10" } - } + }, + "value": "8.10" }, { "displayText": "Node 8.9", - "value": "8.9", "stackSettings": { "linuxRuntimeSettings": { - "runtimeVersion": "NODE|8.9", - "isDeprecated": true, - "remoteDebuggingSupported": false, "appInsightsSettings": { "isSupported": true }, + "endOfLifeDate": "2020-01-31T00:00:00+00:00", "gitHubActionSettings": { "isSupported": true }, - "endOfLifeDate": "2020-01-31T00:00:00+00:00" - }, - "windowsRuntimeSettings": { - "runtimeVersion": "8.9", "isDeprecated": true, "remoteDebuggingSupported": false, + "runtimeVersion": "NODE|8.9" + }, + "windowsRuntimeSettings": { "appInsightsSettings": { "isSupported": false }, + "endOfLifeDate": "2020-01-31T00:00:00+00:00", "gitHubActionSettings": { "isSupported": false }, - "endOfLifeDate": "2020-01-31T00:00:00+00:00" + "isDeprecated": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "8.9" } - } + }, + "value": "8.9" }, { "displayText": "Node 8.8", - "value": "8.8", "stackSettings": { "linuxRuntimeSettings": { - "runtimeVersion": "NODE|8.8", - "isDeprecated": true, - "remoteDebuggingSupported": false, "appInsightsSettings": { "isSupported": true }, + "endOfLifeDate": "2020-01-31T00:00:00+00:00", "gitHubActionSettings": { "isSupported": true }, - "endOfLifeDate": "2020-01-31T00:00:00+00:00" + "isDeprecated": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "NODE|8.8" } - } + }, + "value": "8.8" }, { "displayText": "Node 8.5", - "value": "8.5", "stackSettings": { "windowsRuntimeSettings": { - "runtimeVersion": "8.5", - "isDeprecated": true, - "remoteDebuggingSupported": false, "appInsightsSettings": { "isSupported": false }, + "endOfLifeDate": "2020-01-31T00:00:00+00:00", "gitHubActionSettings": { "isSupported": false }, - "endOfLifeDate": "2020-01-31T00:00:00+00:00" + "isDeprecated": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "8.5" } - } + }, + "value": "8.5" }, { "displayText": "Node 8.4", - "value": "8.4", "stackSettings": { "windowsRuntimeSettings": { - "runtimeVersion": "8.4", - "isDeprecated": true, - "remoteDebuggingSupported": false, "appInsightsSettings": { "isSupported": false }, + "endOfLifeDate": "2020-01-31T00:00:00+00:00", "gitHubActionSettings": { "isSupported": false }, - "endOfLifeDate": "2020-01-31T00:00:00+00:00" + "isDeprecated": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "8.4" } - } + }, + "value": "8.4" }, { "displayText": "Node 8.2", - "value": "8.2", "stackSettings": { "linuxRuntimeSettings": { - "runtimeVersion": "NODE|8.2", - "isDeprecated": true, - "remoteDebuggingSupported": false, "appInsightsSettings": { "isSupported": true }, + "endOfLifeDate": "2020-01-31T00:00:00+00:00", "gitHubActionSettings": { "isSupported": true }, - "endOfLifeDate": "2020-01-31T00:00:00+00:00" + "isDeprecated": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "NODE|8.2" } - } + }, + "value": "8.2" }, { "displayText": "Node 8.1", - "value": "8.1", "stackSettings": { "linuxRuntimeSettings": { - "runtimeVersion": "NODE|8.1", - "isDeprecated": true, - "remoteDebuggingSupported": false, "appInsightsSettings": { "isSupported": true }, + "endOfLifeDate": "2020-01-31T00:00:00+00:00", "gitHubActionSettings": { "isSupported": true }, - "endOfLifeDate": "2020-01-31T00:00:00+00:00" - }, - "windowsRuntimeSettings": { - "runtimeVersion": "8.1.4", "isDeprecated": true, "remoteDebuggingSupported": false, + "runtimeVersion": "NODE|8.1" + }, + "windowsRuntimeSettings": { "appInsightsSettings": { "isSupported": true }, + "endOfLifeDate": "2020-01-31T00:00:00+00:00", "gitHubActionSettings": { "isSupported": true }, - "endOfLifeDate": "2020-01-31T00:00:00+00:00" + "isDeprecated": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "8.1.4" } - } + }, + "value": "8.1" }, { "displayText": "Node 8.0", - "value": "8.0", "stackSettings": { "linuxRuntimeSettings": { - "runtimeVersion": "NODE|8.0", - "isDeprecated": true, - "remoteDebuggingSupported": false, "appInsightsSettings": { "isSupported": true }, + "endOfLifeDate": "2020-01-31T00:00:00+00:00", "gitHubActionSettings": { "isSupported": true }, - "endOfLifeDate": "2020-01-31T00:00:00+00:00" + "isDeprecated": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "NODE|8.0" } - } + }, + "value": "8.0" } - ] + ], + "value": "8" }, { "displayText": "Node 7", - "value": "7", "minorVersions": [ { "displayText": "Node 7.10", - "value": "7.10", "stackSettings": { "windowsRuntimeSettings": { - "runtimeVersion": "7.10.1", - "isDeprecated": true, - "remoteDebuggingSupported": false, "appInsightsSettings": { "isSupported": false }, + "endOfLifeDate": "2017-07-30T00:00:00+00:00", "gitHubActionSettings": { "isSupported": false }, - "endOfLifeDate": "2017-07-30T00:00:00+00:00" + "isDeprecated": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "7.10.1" } - } + }, + "value": "7.10" } - ] + ], + "value": "7" }, { "displayText": "Node 6", - "value": "6", "minorVersions": [ { "displayText": "Node 6 LTS", - "value": "6-LTS", "stackSettings": { "linuxRuntimeSettings": { - "runtimeVersion": "NODE|6-lts", - "isDeprecated": true, - "remoteDebuggingSupported": false, "appInsightsSettings": { "isSupported": true }, + "endOfLifeDate": "2019-05-30T00:00:00+00:00", "gitHubActionSettings": { "isSupported": true }, - "endOfLifeDate": "2019-05-30T00:00:00+00:00" + "isDeprecated": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "NODE|6-lts" } - } + }, + "value": "6-LTS" }, { "displayText": "Node 6.12", - "value": "6.12", "stackSettings": { "windowsRuntimeSettings": { - "runtimeVersion": "6.12", - "isDeprecated": true, - "remoteDebuggingSupported": false, "appInsightsSettings": { "isSupported": true }, + "endOfLifeDate": "2019-05-30T00:00:00+00:00", "gitHubActionSettings": { "isSupported": false }, - "endOfLifeDate": "2019-05-30T00:00:00+00:00" + "isDeprecated": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "6.12" } - } + }, + "value": "6.12" }, { "displayText": "Node 6.11", - "value": "6.11", "stackSettings": { "linuxRuntimeSettings": { - "runtimeVersion": "NODE|6.11", - "isDeprecated": true, - "remoteDebuggingSupported": false, "appInsightsSettings": { "isSupported": true }, + "endOfLifeDate": "2019-05-30T00:00:00+00:00", "gitHubActionSettings": { "isSupported": true }, - "endOfLifeDate": "2019-05-30T00:00:00+00:00" + "isDeprecated": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "NODE|6.11" } - } + }, + "value": "6.11" }, { "displayText": "Node 6.10", - "value": "6.10", "stackSettings": { "linuxRuntimeSettings": { - "runtimeVersion": "NODE|6.10", - "isDeprecated": true, - "remoteDebuggingSupported": false, "appInsightsSettings": { "isSupported": true }, + "endOfLifeDate": "2019-05-30T00:00:00+00:00", "gitHubActionSettings": { "isSupported": true }, - "endOfLifeDate": "2019-05-30T00:00:00+00:00" + "isDeprecated": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "NODE|6.10" } - } + }, + "value": "6.10" }, { "displayText": "Node 6.9", - "value": "6.9", "stackSettings": { "linuxRuntimeSettings": { - "runtimeVersion": "NODE|6.9", - "isDeprecated": true, - "remoteDebuggingSupported": false, "appInsightsSettings": { "isSupported": true }, + "endOfLifeDate": "2019-05-30T00:00:00+00:00", "gitHubActionSettings": { "isSupported": true }, - "endOfLifeDate": "2019-05-30T00:00:00+00:00" - }, - "windowsRuntimeSettings": { - "runtimeVersion": "6.9.5", "isDeprecated": true, "remoteDebuggingSupported": false, + "runtimeVersion": "NODE|6.9" + }, + "windowsRuntimeSettings": { "appInsightsSettings": { "isSupported": true }, + "endOfLifeDate": "2019-05-30T00:00:00+00:00", "gitHubActionSettings": { "isSupported": true }, - "endOfLifeDate": "2019-05-30T00:00:00+00:00" + "isDeprecated": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "6.9.5" } - } + }, + "value": "6.9" }, { "displayText": "Node 6.6", - "value": "6.6", "stackSettings": { "linuxRuntimeSettings": { - "runtimeVersion": "NODE|6.6", - "isDeprecated": true, - "remoteDebuggingSupported": false, "appInsightsSettings": { "isSupported": true }, + "endOfLifeDate": "2019-05-30T00:00:00+00:00", "gitHubActionSettings": { "isSupported": true }, - "endOfLifeDate": "2019-05-30T00:00:00+00:00" + "isDeprecated": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "NODE|6.6" } - } + }, + "value": "6.6" }, { "displayText": "Node 6.5", - "value": "6.5", "stackSettings": { "windowsRuntimeSettings": { - "runtimeVersion": "6.5.0", - "isDeprecated": true, - "remoteDebuggingSupported": false, "appInsightsSettings": { "isSupported": true }, + "endOfLifeDate": "2019-05-30T00:00:00+00:00", "gitHubActionSettings": { "isSupported": false }, - "endOfLifeDate": "2019-05-30T00:00:00+00:00" + "isDeprecated": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "6.5.0" } - } + }, + "value": "6.5" }, { "displayText": "Node 6.2", - "value": "6.2", "stackSettings": { "linuxRuntimeSettings": { - "runtimeVersion": "NODE|6.2", - "isDeprecated": true, - "remoteDebuggingSupported": false, "appInsightsSettings": { "isSupported": true }, + "endOfLifeDate": "2019-05-30T00:00:00+00:00", "gitHubActionSettings": { "isSupported": true }, - "endOfLifeDate": "2019-05-30T00:00:00+00:00" + "isDeprecated": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "NODE|6.2" } - } + }, + "value": "6.2" } - ] + ], + "value": "6" }, { "displayText": "Node 4", - "value": "4", "minorVersions": [ { "displayText": "Node 4.8", - "value": "4.8", "stackSettings": { "linuxRuntimeSettings": { - "runtimeVersion": "NODE|4.8", - "isDeprecated": true, - "remoteDebuggingSupported": false, "appInsightsSettings": { "isSupported": true }, + "endOfLifeDate": "2018-05-30T00:00:00+00:00", "gitHubActionSettings": { "isSupported": true }, - "endOfLifeDate": "2018-05-30T00:00:00+00:00" - }, - "windowsRuntimeSettings": { - "runtimeVersion": "4.8", "isDeprecated": true, "remoteDebuggingSupported": false, + "runtimeVersion": "NODE|4.8" + }, + "windowsRuntimeSettings": { "appInsightsSettings": { "isSupported": true }, + "endOfLifeDate": "2018-05-30T00:00:00+00:00", "gitHubActionSettings": { "isSupported": false }, - "endOfLifeDate": "2018-05-30T00:00:00+00:00" + "isDeprecated": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "4.8" } - } + }, + "value": "4.8" }, { "displayText": "Node 4.5", - "value": "4.5", "stackSettings": { "linuxRuntimeSettings": { - "runtimeVersion": "NODE|4.5", - "isDeprecated": true, - "remoteDebuggingSupported": false, "appInsightsSettings": { "isSupported": true }, + "endOfLifeDate": "2018-05-30T00:00:00+00:00", "gitHubActionSettings": { "isSupported": true }, - "endOfLifeDate": "2018-05-30T00:00:00+00:00" + "isDeprecated": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "NODE|4.5" } - } + }, + "value": "4.5" }, { "displayText": "Node 4.4", - "value": "4.4", "stackSettings": { "linuxRuntimeSettings": { - "runtimeVersion": "NODE|4.4", - "isDeprecated": true, - "remoteDebuggingSupported": false, "appInsightsSettings": { "isSupported": true }, + "endOfLifeDate": "2018-05-30T00:00:00+00:00", "gitHubActionSettings": { "isSupported": true }, - "endOfLifeDate": "2018-05-30T00:00:00+00:00" + "isDeprecated": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "NODE|4.4" } - } + }, + "value": "4.4" } - ] + ], + "value": "4" } - ] + ], + "preferredOs": "Linux", + "value": "node" } }, { - "id": "/providers/Microsoft.Web/locations/webAppStacks/python", "name": "python", "type": "Microsoft.Web/locations/webAppStacks", + "id": "/providers/Microsoft.Web/locations/webAppStacks/python", "location": "westus", "properties": { "displayText": "Python", - "value": "python", - "preferredOs": "Linux", "majorVersions": [ { "displayText": "Python 3", - "value": "3", "minorVersions": [ { "displayText": "Python 3.8", - "value": "3.8", "stackSettings": { "linuxRuntimeSettings": { - "runtimeVersion": "PYTHON|3.8", - "remoteDebuggingSupported": false, "appInsightsSettings": { "isSupported": false }, "gitHubActionSettings": { "isSupported": true, "supportedVersion": "3.8" - } + }, + "remoteDebuggingSupported": false, + "runtimeVersion": "PYTHON|3.8" } - } + }, + "value": "3.8" }, { "displayText": "Python 3.7", - "value": "3.7", "stackSettings": { "linuxRuntimeSettings": { - "runtimeVersion": "PYTHON|3.7", - "remoteDebuggingSupported": false, "appInsightsSettings": { "isSupported": false }, "gitHubActionSettings": { "isSupported": true, "supportedVersion": "3.7" - } + }, + "remoteDebuggingSupported": false, + "runtimeVersion": "PYTHON|3.7" } - } + }, + "value": "3.7" }, { "displayText": "Python 3.6", - "value": "3.6", "stackSettings": { "linuxRuntimeSettings": { - "runtimeVersion": "PYTHON|3.6", - "remoteDebuggingSupported": false, "appInsightsSettings": { "isSupported": false }, "gitHubActionSettings": { "isSupported": true, "supportedVersion": "3.6" - } + }, + "remoteDebuggingSupported": false, + "runtimeVersion": "PYTHON|3.6" }, "windowsRuntimeSettings": { - "runtimeVersion": "3.4.0", - "remoteDebuggingSupported": false, "appInsightsSettings": { "isSupported": true }, "gitHubActionSettings": { "isSupported": true, "supportedVersion": "3.6" - } + }, + "remoteDebuggingSupported": false, + "runtimeVersion": "3.4.0" } - } + }, + "value": "3.6" } - ] + ], + "value": "3" }, { "displayText": "Python 2", - "value": "2", "minorVersions": [ { "displayText": "Python 2.7", - "value": "2.7", "stackSettings": { "linuxRuntimeSettings": { - "runtimeVersion": "PYTHON|2.7", - "isDeprecated": true, - "remoteDebuggingSupported": false, "appInsightsSettings": { "isSupported": false }, + "endOfLifeDate": "2020-02-01T00:00:00+00:00", "gitHubActionSettings": { "isSupported": true, "supportedVersion": "2.7" }, - "endOfLifeDate": "2020-02-01T00:00:00+00:00" - }, - "windowsRuntimeSettings": { - "runtimeVersion": "2.7.3", "isDeprecated": true, "remoteDebuggingSupported": false, + "runtimeVersion": "PYTHON|2.7" + }, + "windowsRuntimeSettings": { "appInsightsSettings": { "isSupported": false }, + "endOfLifeDate": "2020-02-01T00:00:00+00:00", "gitHubActionSettings": { "isSupported": true, "supportedVersion": "2.7" }, - "endOfLifeDate": "2020-02-01T00:00:00+00:00" + "isDeprecated": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "2.7.3" } - } + }, + "value": "2.7" } - ] + ], + "value": "2" } - ] + ], + "preferredOs": "Linux", + "value": "python" } }, { - "id": "/providers/Microsoft.Web/locations/webAppStacks/php", "name": "php", "type": "Microsoft.Web/locations/webAppStacks", + "id": "/providers/Microsoft.Web/locations/webAppStacks/php", "location": "westus", "properties": { "displayText": "PHP", - "value": "php", - "preferredOs": "Linux", "majorVersions": [ { "displayText": "PHP 7", - "value": "7", "minorVersions": [ { "displayText": "PHP 7.4", - "value": "7.4", "stackSettings": { - "windowsRuntimeSettings": { - "runtimeVersion": "7.4", - "remoteDebuggingSupported": false, + "linuxRuntimeSettings": { "appInsightsSettings": { "isSupported": false }, + "endOfLifeDate": "2022-12-28T00:00:00+00:00", "gitHubActionSettings": { "isSupported": false }, - "endOfLifeDate": "2022-12-28T00:00:00+00:00" - }, - "linuxRuntimeSettings": { - "runtimeVersion": "PHP|7.4", "remoteDebuggingSupported": false, + "runtimeVersion": "PHP|7.4" + }, + "windowsRuntimeSettings": { "appInsightsSettings": { "isSupported": false }, + "endOfLifeDate": "2022-12-28T00:00:00+00:00", "gitHubActionSettings": { "isSupported": false }, - "endOfLifeDate": "2022-12-28T00:00:00+00:00" + "remoteDebuggingSupported": false, + "runtimeVersion": "7.4" } - } + }, + "value": "7.4" }, { "displayText": "PHP 7.3", - "value": "7.3", "stackSettings": { "linuxRuntimeSettings": { - "runtimeVersion": "PHP|7.3", - "remoteDebuggingSupported": false, "appInsightsSettings": { "isSupported": false }, + "endOfLifeDate": "2022-01-06T00:00:00+00:00", "gitHubActionSettings": { "isSupported": false }, - "endOfLifeDate": "2022-01-06T00:00:00+00:00" + "remoteDebuggingSupported": false, + "runtimeVersion": "PHP|7.3" }, "windowsRuntimeSettings": { - "runtimeVersion": "7.3", - "remoteDebuggingSupported": false, "appInsightsSettings": { "isSupported": false }, + "endOfLifeDate": "2022-01-06T00:00:00+00:00", "gitHubActionSettings": { "isSupported": false }, - "endOfLifeDate": "2022-01-06T00:00:00+00:00" + "remoteDebuggingSupported": false, + "runtimeVersion": "7.3" } - } + }, + "value": "7.3" }, { "displayText": "PHP 7.2", - "value": "7.2", "stackSettings": { "linuxRuntimeSettings": { - "runtimeVersion": "PHP|7.2", - "remoteDebuggingSupported": false, "appInsightsSettings": { "isSupported": false }, + "endOfLifeDate": "2020-12-30T00:00:00+00:00", "gitHubActionSettings": { "isSupported": false }, - "endOfLifeDate": "2020-12-30T00:00:00+00:00" + "remoteDebuggingSupported": false, + "runtimeVersion": "PHP|7.2" }, "windowsRuntimeSettings": { - "runtimeVersion": "7.2", - "remoteDebuggingSupported": false, "appInsightsSettings": { "isSupported": false }, + "endOfLifeDate": "2020-12-30T00:00:00+00:00", "gitHubActionSettings": { "isSupported": false }, - "endOfLifeDate": "2020-12-30T00:00:00+00:00" + "remoteDebuggingSupported": false, + "runtimeVersion": "7.2" } - } + }, + "value": "7.2" }, { "displayText": "PHP 7.1", - "value": "7.1", "stackSettings": { "windowsRuntimeSettings": { - "runtimeVersion": "7.1", - "isDeprecated": true, - "remoteDebuggingSupported": false, "appInsightsSettings": { "isSupported": false }, + "endOfLifeDate": "2020-03-01T00:00:00+00:00", "gitHubActionSettings": { "isSupported": false }, - "endOfLifeDate": "2020-03-01T00:00:00+00:00" + "isDeprecated": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "7.1" } - } + }, + "value": "7.1" }, { "displayText": "7.0", - "value": "7.0", "stackSettings": { "linuxRuntimeSettings": { - "runtimeVersion": "PHP|7.0", - "isDeprecated": true, - "remoteDebuggingSupported": false, "appInsightsSettings": { "isSupported": false }, + "endOfLifeDate": "2020-03-01T00:00:00+00:00", "gitHubActionSettings": { "isSupported": false }, - "endOfLifeDate": "2020-03-01T00:00:00+00:00" - }, - "windowsRuntimeSettings": { - "runtimeVersion": "7.0", "isDeprecated": true, "remoteDebuggingSupported": false, + "runtimeVersion": "PHP|7.0" + }, + "windowsRuntimeSettings": { "appInsightsSettings": { "isSupported": false }, + "endOfLifeDate": "2020-03-01T00:00:00+00:00", "gitHubActionSettings": { "isSupported": false }, - "endOfLifeDate": "2020-03-01T00:00:00+00:00" + "isDeprecated": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "7.0" } - } + }, + "value": "7.0" } - ] + ], + "value": "7" }, { "displayText": "PHP 5", - "value": "5", "minorVersions": [ { "displayText": "PHP 5.6", - "value": "5.6", "stackSettings": { "linuxRuntimeSettings": { - "runtimeVersion": "PHP|5.6", - "isDeprecated": true, - "remoteDebuggingSupported": false, "appInsightsSettings": { "isSupported": false }, + "endOfLifeDate": "2024-11-01T00:00:00+00:00", "gitHubActionSettings": { "isSupported": false }, - "endOfLifeDate": "2025-03-01T00:00:00+00:00" - }, - "windowsRuntimeSettings": { - "runtimeVersion": "5.6", "isDeprecated": true, "remoteDebuggingSupported": false, + "runtimeVersion": "PHP|5.6" + }, + "windowsRuntimeSettings": { "appInsightsSettings": { "isSupported": false }, + "endOfLifeDate": "2024-11-01T00:00:00+00:00", "gitHubActionSettings": { "isSupported": false }, - "endOfLifeDate": "2025-03-01T00:00:00+00:00" + "isDeprecated": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "5.6" } - } + }, + "value": "5.6" } - ] + ], + "value": "5" } - ] + ], + "preferredOs": "Linux", + "value": "php" } }, { - "id": "/providers/Microsoft.Web/locations/webAppStacks/ruby", "name": "ruby", "type": "Microsoft.Web/locations/webAppStacks", + "id": "/providers/Microsoft.Web/locations/webAppStacks/ruby", "location": "westus", "properties": { "displayText": "Ruby", - "value": "ruby", - "preferredOs": "Linux", "majorVersions": [ { "displayText": "Ruby 2", - "value": "2", "minorVersions": [ { "displayText": "Ruby 2.6", - "value": "2.6", "stackSettings": { "linuxRuntimeSettings": { - "runtimeVersion": "RUBY|2.6", - "remoteDebuggingSupported": false, "appInsightsSettings": { "isSupported": false }, "gitHubActionSettings": { "isSupported": false - } + }, + "remoteDebuggingSupported": false, + "runtimeVersion": "RUBY|2.6" } - } + }, + "value": "2.6" }, { "displayText": "Ruby 2.6.2", - "value": "2.6.2", "stackSettings": { "linuxRuntimeSettings": { - "runtimeVersion": "RUBY|2.6.2", - "remoteDebuggingSupported": false, "appInsightsSettings": { "isSupported": false }, "gitHubActionSettings": { "isSupported": false - } + }, + "remoteDebuggingSupported": false, + "runtimeVersion": "RUBY|2.6.2" } - } + }, + "value": "2.6.2" }, { "displayText": "Ruby 2.5", - "value": "2.5", "stackSettings": { "linuxRuntimeSettings": { - "runtimeVersion": "RUBY|2.5", - "remoteDebuggingSupported": false, "appInsightsSettings": { "isSupported": false }, "gitHubActionSettings": { "isSupported": false - } + }, + "remoteDebuggingSupported": false, + "runtimeVersion": "RUBY|2.5" } - } + }, + "value": "2.5" }, { "displayText": "Ruby 2.5.5", - "value": "2.5.5", "stackSettings": { "linuxRuntimeSettings": { - "runtimeVersion": "RUBY|2.5.5", - "remoteDebuggingSupported": false, "appInsightsSettings": { "isSupported": false }, "gitHubActionSettings": { "isSupported": false - } + }, + "remoteDebuggingSupported": false, + "runtimeVersion": "RUBY|2.5.5" } - } + }, + "value": "2.5.5" }, { "displayText": "Ruby 2.4", - "value": "2.4", "stackSettings": { "linuxRuntimeSettings": { - "runtimeVersion": "RUBY|2.4", - "isDeprecated": true, - "remoteDebuggingSupported": false, "appInsightsSettings": { "isSupported": false }, + "endOfLifeDate": "2020-05-01T00:00:00+00:00", "gitHubActionSettings": { "isSupported": false }, - "endOfLifeDate": "2020-05-01T00:00:00+00:00" + "isDeprecated": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "RUBY|2.4" } - } + }, + "value": "2.4" }, { "displayText": "Ruby 2.4.5", - "value": "2.4.5", "stackSettings": { "linuxRuntimeSettings": { - "runtimeVersion": "RUBY|2.4.5", - "isDeprecated": true, - "remoteDebuggingSupported": false, "appInsightsSettings": { "isSupported": false }, + "endOfLifeDate": "2020-05-01T00:00:00+00:00", "gitHubActionSettings": { "isSupported": false }, - "endOfLifeDate": "2020-05-01T00:00:00+00:00" + "isDeprecated": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "RUBY|2.4.5" } - } + }, + "value": "2.4.5" }, { "displayText": "Ruby 2.3", - "value": "2.3", "stackSettings": { "linuxRuntimeSettings": { - "runtimeVersion": "RUBY|2.3", - "isDeprecated": true, - "remoteDebuggingSupported": false, "appInsightsSettings": { "isSupported": false }, + "endOfLifeDate": "2019-05-01T00:00:00+00:00", "gitHubActionSettings": { "isSupported": false }, - "endOfLifeDate": "2019-05-01T00:00:00+00:00" + "isDeprecated": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "RUBY|2.3" } - } + }, + "value": "2.3" }, { "displayText": "Ruby 2.3.8", - "value": "2.3.8", "stackSettings": { "linuxRuntimeSettings": { - "runtimeVersion": "RUBY|2.3.8", - "isDeprecated": true, - "remoteDebuggingSupported": false, "appInsightsSettings": { "isSupported": false }, + "endOfLifeDate": "2019-05-01T00:00:00+00:00", "gitHubActionSettings": { "isSupported": false }, - "endOfLifeDate": "2019-05-01T00:00:00+00:00" + "isDeprecated": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "RUBY|2.3.8" } - } + }, + "value": "2.3.8" }, { "displayText": "Ruby 2.3.3", - "value": "2.3.3", "stackSettings": { "linuxRuntimeSettings": { - "runtimeVersion": "RUBY|2.3.3", - "remoteDebuggingSupported": false, - "isDeprecated": true, "appInsightsSettings": { "isSupported": false }, + "endOfLifeDate": "2019-05-01T00:00:00+00:00", "gitHubActionSettings": { "isSupported": false }, - "endOfLifeDate": "2019-05-01T00:00:00+00:00" + "isDeprecated": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "RUBY|2.3.3" } - } + }, + "value": "2.3.3" } - ] + ], + "value": "2" } - ] + ], + "preferredOs": "Linux", + "value": "ruby" } }, { - "id": "/providers/Microsoft.Web/locations/webAppStacks/java", "name": "java", "type": "Microsoft.Web/locations/webAppStacks", + "id": "/providers/Microsoft.Web/locations/webAppStacks/java", "location": "westus", "properties": { "displayText": "Java", - "value": "java", - "preferredOs": "Linux", "majorVersions": [ { "displayText": "Java 11", - "value": "11", "minorVersions": [ { "displayText": "Java 11", - "value": "11.0", "stackSettings": { "linuxRuntimeSettings": { - "runtimeVersion": "", - "isAutoUpdate": true, - "remoteDebuggingSupported": false, "appInsightsSettings": { "isSupported": false }, + "endOfLifeDate": "2026-10-01T00:00:00+00:00", "gitHubActionSettings": { "isSupported": true, "supportedVersion": "11" }, - "endOfLifeDate": "2026-10-01T00:00:00+00:00" - }, - "windowsRuntimeSettings": { - "runtimeVersion": "11", "isAutoUpdate": true, "remoteDebuggingSupported": false, + "runtimeVersion": "" + }, + "windowsRuntimeSettings": { "appInsightsSettings": { "isSupported": false }, + "endOfLifeDate": "2026-10-01T00:00:00+00:00", "gitHubActionSettings": { "isSupported": true, "supportedVersion": "11" }, - "endOfLifeDate": "2026-10-01T00:00:00+00:00" + "isAutoUpdate": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "11" } - } + }, + "value": "11.0" }, { "displayText": "Java 11.0.7", - "value": "11.0.7", "stackSettings": { "linuxRuntimeSettings": { - "runtimeVersion": "", - "remoteDebuggingSupported": false, "appInsightsSettings": { "isSupported": false }, + "endOfLifeDate": "2026-10-01T00:00:00+00:00", "gitHubActionSettings": { "isSupported": true, "supportedVersion": "11" }, - "endOfLifeDate": "2026-10-01T00:00:00+00:00" + "remoteDebuggingSupported": false, + "runtimeVersion": "" }, "windowsRuntimeSettings": { - "runtimeVersion": "11.0.7", - "remoteDebuggingSupported": false, "appInsightsSettings": { "isSupported": false }, + "endOfLifeDate": "2026-10-01T00:00:00+00:00", "gitHubActionSettings": { "isSupported": true, "supportedVersion": "11" }, - "endOfLifeDate": "2026-10-01T00:00:00+00:00" + "remoteDebuggingSupported": false, + "runtimeVersion": "11.0.7" } - } + }, + "value": "11.0.7" }, { "displayText": "Java 11.0.6", - "value": "11.0.6", "stackSettings": { "linuxRuntimeSettings": { - "runtimeVersion": "", - "remoteDebuggingSupported": false, "appInsightsSettings": { "isSupported": false }, + "endOfLifeDate": "2026-10-01T00:00:00+00:00", "gitHubActionSettings": { "isSupported": true, "supportedVersion": "11" }, - "endOfLifeDate": "2026-10-01T00:00:00+00:00" + "remoteDebuggingSupported": false, + "runtimeVersion": "" }, "windowsRuntimeSettings": { - "runtimeVersion": "11.0.6", - "remoteDebuggingSupported": false, "appInsightsSettings": { "isSupported": false }, + "endOfLifeDate": "2026-10-01T00:00:00+00:00", "gitHubActionSettings": { "isSupported": true, "supportedVersion": "11" }, - "endOfLifeDate": "2026-10-01T00:00:00+00:00" + "remoteDebuggingSupported": false, + "runtimeVersion": "11.0.6" } - } + }, + "value": "11.0.6" }, { "displayText": "Java 11.0.5", - "value": "11.0.5", "stackSettings": { "linuxRuntimeSettings": { - "runtimeVersion": "", - "remoteDebuggingSupported": false, "appInsightsSettings": { "isSupported": false }, + "endOfLifeDate": "2026-10-01T00:00:00+00:00", "gitHubActionSettings": { "isSupported": true, "supportedVersion": "11" }, - "endOfLifeDate": "2026-10-01T00:00:00+00:00" + "remoteDebuggingSupported": false, + "runtimeVersion": "" }, "windowsRuntimeSettings": { - "runtimeVersion": "11.0.5_ZULU", - "remoteDebuggingSupported": false, "appInsightsSettings": { "isSupported": false }, + "endOfLifeDate": "2026-10-01T00:00:00+00:00", "gitHubActionSettings": { "isSupported": true, "supportedVersion": "11" }, - "endOfLifeDate": "2026-10-01T00:00:00+00:00" + "remoteDebuggingSupported": false, + "runtimeVersion": "11.0.5_ZULU" } - } + }, + "value": "11.0.5" }, { "displayText": "Java 11.0.3", - "value": "11.0.3", "stackSettings": { "windowsRuntimeSettings": { - "runtimeVersion": "11.0.3_ZULU", - "remoteDebuggingSupported": false, "appInsightsSettings": { "isSupported": false }, + "endOfLifeDate": "2026-10-01T00:00:00+00:00", "gitHubActionSettings": { "isSupported": true, "supportedVersion": "11" }, - "endOfLifeDate": "2026-10-01T00:00:00+00:00" + "remoteDebuggingSupported": false, + "runtimeVersion": "11.0.3_ZULU" } - } + }, + "value": "11.0.3" }, { "displayText": "Java 11.0.2", - "value": "11.0.2", "stackSettings": { "windowsRuntimeSettings": { - "runtimeVersion": "11.0.2_ZULU", - "remoteDebuggingSupported": false, "appInsightsSettings": { "isSupported": false }, + "endOfLifeDate": "2026-10-01T00:00:00+00:00", "gitHubActionSettings": { "isSupported": true, "supportedVersion": "11" }, - "endOfLifeDate": "2026-10-01T00:00:00+00:00" + "remoteDebuggingSupported": false, + "runtimeVersion": "11.0.2_ZULU" } - } + }, + "value": "11.0.2" } - ] + ], + "value": "11" }, { "displayText": "Java 8", - "value": "8", "minorVersions": [ { "displayText": "Java 8", - "value": "8.0", "stackSettings": { "linuxRuntimeSettings": { - "runtimeVersion": "", - "isAutoUpdate": true, - "remoteDebuggingSupported": false, "appInsightsSettings": { "isSupported": false }, + "endOfLifeDate": "2025-04-01T00:00:00+00:00", "gitHubActionSettings": { "isSupported": true, "supportedVersion": "8" }, - "endOfLifeDate": "2025-04-01T00:00:00+00:00" - }, - "windowsRuntimeSettings": { - "runtimeVersion": "1.8", "isAutoUpdate": true, "remoteDebuggingSupported": false, + "runtimeVersion": "" + }, + "windowsRuntimeSettings": { "appInsightsSettings": { "isSupported": false }, + "endOfLifeDate": "2025-04-01T00:00:00+00:00", "gitHubActionSettings": { "isSupported": true, "supportedVersion": "8" }, - "endOfLifeDate": "2025-04-01T00:00:00+00:00" + "isAutoUpdate": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "1.8" } - } + }, + "value": "8.0" }, { "displayText": "Java 1.8.0_252", - "value": "8.0.252", "stackSettings": { "linuxRuntimeSettings": { - "runtimeVersion": "", - "remoteDebuggingSupported": false, "appInsightsSettings": { "isSupported": false }, + "endOfLifeDate": "2025-04-01T00:00:00+00:00", "gitHubActionSettings": { "isSupported": true, "supportedVersion": "8" }, - "endOfLifeDate": "2025-04-01T00:00:00+00:00" + "remoteDebuggingSupported": false, + "runtimeVersion": "" }, "windowsRuntimeSettings": { - "runtimeVersion": "1.8.0_252", - "remoteDebuggingSupported": false, "appInsightsSettings": { "isSupported": false }, + "endOfLifeDate": "2025-04-01T00:00:00+00:00", "gitHubActionSettings": { "isSupported": true, "supportedVersion": "8" }, - "endOfLifeDate": "2025-04-01T00:00:00+00:00" + "remoteDebuggingSupported": false, + "runtimeVersion": "1.8.0_252" } - } + }, + "value": "8.0.252" }, { "displayText": "Java 1.8.0_242", - "value": "8.0.242", "stackSettings": { "linuxRuntimeSettings": { - "runtimeVersion": "", - "remoteDebuggingSupported": false, "appInsightsSettings": { "isSupported": false }, + "endOfLifeDate": "2025-04-01T00:00:00+00:00", "gitHubActionSettings": { "isSupported": true, "supportedVersion": "8" }, - "endOfLifeDate": "2025-04-01T00:00:00+00:00" + "remoteDebuggingSupported": false, + "runtimeVersion": "" }, "windowsRuntimeSettings": { - "runtimeVersion": "1.8.0_242", - "remoteDebuggingSupported": false, "appInsightsSettings": { "isSupported": false }, + "endOfLifeDate": "2025-04-01T00:00:00+00:00", "gitHubActionSettings": { "isSupported": true, "supportedVersion": "8" }, - "endOfLifeDate": "2025-04-01T00:00:00+00:00" + "remoteDebuggingSupported": false, + "runtimeVersion": "1.8.0_242" } - } + }, + "value": "8.0.242" }, { "displayText": "Java 1.8.0_232", - "value": "8.0.232", "stackSettings": { "linuxRuntimeSettings": { - "runtimeVersion": "", - "remoteDebuggingSupported": false, "appInsightsSettings": { "isSupported": false }, + "endOfLifeDate": "2025-04-01T00:00:00+00:00", "gitHubActionSettings": { "isSupported": true, "supportedVersion": "8" }, - "endOfLifeDate": "2025-04-01T00:00:00+00:00" + "remoteDebuggingSupported": false, + "runtimeVersion": "" }, "windowsRuntimeSettings": { - "runtimeVersion": "1.8.0_232_ZULU", - "remoteDebuggingSupported": false, "appInsightsSettings": { "isSupported": false }, + "endOfLifeDate": "2025-04-01T00:00:00+00:00", "gitHubActionSettings": { "isSupported": true, "supportedVersion": "8" }, - "endOfLifeDate": "2025-04-01T00:00:00+00:00" + "remoteDebuggingSupported": false, + "runtimeVersion": "1.8.0_232_ZULU" } - } + }, + "value": "8.0.232" }, { "displayText": "Java 1.8.0_212", - "value": "8.0.212", "stackSettings": { "windowsRuntimeSettings": { - "runtimeVersion": "1.8.0_212_ZULU", - "remoteDebuggingSupported": false, "appInsightsSettings": { "isSupported": false }, + "endOfLifeDate": "2025-04-01T00:00:00+00:00", "gitHubActionSettings": { "isSupported": true, "supportedVersion": "8" }, - "endOfLifeDate": "2025-04-01T00:00:00+00:00" + "remoteDebuggingSupported": false, + "runtimeVersion": "1.8.0_212_ZULU" } - } + }, + "value": "8.0.212" }, { "displayText": "Java 1.8.0_202", - "value": "8.0.202", "stackSettings": { "windowsRuntimeSettings": { - "runtimeVersion": "1.8.0_202_ZULU", - "remoteDebuggingSupported": false, "appInsightsSettings": { "isSupported": false }, + "endOfLifeDate": "2025-04-01T00:00:00+00:00", "gitHubActionSettings": { "isSupported": true, "supportedVersion": "8" }, - "endOfLifeDate": "2025-04-01T00:00:00+00:00" + "remoteDebuggingSupported": false, + "runtimeVersion": "1.8.0_202_ZULU" } - } + }, + "value": "8.0.202" }, { "displayText": "Java 1.8.0_202 (Oracle)", - "value": "8.0.202 (Oracle)", "stackSettings": { "windowsRuntimeSettings": { - "runtimeVersion": "1.8.0_202", - "isDeprecated": true, - "remoteDebuggingSupported": false, "appInsightsSettings": { "isSupported": false }, "gitHubActionSettings": { "isSupported": true, "supportedVersion": "8" - } + }, + "isDeprecated": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "1.8.0_202" } - } + }, + "value": "8.0.202 (Oracle)" }, { "displayText": "Java 1.8.0_181", - "value": "8.0.181", "stackSettings": { "windowsRuntimeSettings": { - "runtimeVersion": "1.8.0_181_ZULU", - "remoteDebuggingSupported": false, "appInsightsSettings": { "isSupported": false }, + "endOfLifeDate": "2025-04-01T00:00:00+00:00", "gitHubActionSettings": { "isSupported": true, "supportedVersion": "8" }, - "endOfLifeDate": "2025-04-01T00:00:00+00:00" + "remoteDebuggingSupported": false, + "runtimeVersion": "1.8.0_181_ZULU" } - } + }, + "value": "8.0.181" }, { "displayText": "Java 1.8.0_181 (Oracle)", - "value": "8.0.181 (Oracle)", "stackSettings": { "windowsRuntimeSettings": { - "runtimeVersion": "1.8.0_181", - "isDeprecated": true, - "remoteDebuggingSupported": false, "appInsightsSettings": { "isSupported": false }, "gitHubActionSettings": { "isSupported": true, "supportedVersion": "8" - } + }, + "isDeprecated": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "1.8.0_181" } - } + }, + "value": "8.0.181 (Oracle)" }, { "displayText": "Java 1.8.0_172", - "value": "8.0.172", "stackSettings": { "windowsRuntimeSettings": { - "runtimeVersion": "1.8.0_172_ZULU", - "remoteDebuggingSupported": false, "appInsightsSettings": { "isSupported": false }, + "endOfLifeDate": "2025-04-01T00:00:00+00:00", "gitHubActionSettings": { "isSupported": true, "supportedVersion": "8" }, - "endOfLifeDate": "2025-04-01T00:00:00+00:00" + "remoteDebuggingSupported": false, + "runtimeVersion": "1.8.0_172_ZULU" } - } + }, + "value": "8.0.172" }, { "displayText": "Java 1.8.0_172 (Oracle)", - "value": "8.0.172 (Oracle)", "stackSettings": { "windowsRuntimeSettings": { - "runtimeVersion": "1.8.0_172", - "isDeprecated": true, - "remoteDebuggingSupported": false, "appInsightsSettings": { "isSupported": false }, "gitHubActionSettings": { "isSupported": true, "supportedVersion": "8" - } + }, + "isDeprecated": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "1.8.0_172" } - } + }, + "value": "8.0.172 (Oracle)" }, { "displayText": "Java 1.8.0_144", - "value": "8.0.144", "stackSettings": { "windowsRuntimeSettings": { - "runtimeVersion": "1.8.0_144", - "remoteDebuggingSupported": false, "appInsightsSettings": { "isSupported": false }, + "endOfLifeDate": "2025-04-01T00:00:00+00:00", "gitHubActionSettings": { "isSupported": true, "supportedVersion": "8" }, - "endOfLifeDate": "2025-04-01T00:00:00+00:00" + "remoteDebuggingSupported": false, + "runtimeVersion": "1.8.0_144" } - } + }, + "value": "8.0.144" }, { "displayText": "Java 1.8.0_111 (Oracle)", - "value": "8.0.111 (Oracle)", "stackSettings": { "windowsRuntimeSettings": { - "runtimeVersion": "1.8.0_111", - "isDeprecated": true, - "remoteDebuggingSupported": false, "appInsightsSettings": { "isSupported": false }, "gitHubActionSettings": { "isSupported": true, "supportedVersion": "8" - } + }, + "isDeprecated": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "1.8.0_111" } - } + }, + "value": "8.0.111 (Oracle)" }, { "displayText": "Java 1.8.0_102", - "value": "8.0.102", "stackSettings": { "windowsRuntimeSettings": { - "runtimeVersion": "1.8.0_102", - "remoteDebuggingSupported": false, "appInsightsSettings": { "isSupported": false }, + "endOfLifeDate": "2025-04-01T00:00:00+00:00", "gitHubActionSettings": { "isSupported": true, "supportedVersion": "8" }, - "endOfLifeDate": "2025-04-01T00:00:00+00:00" + "remoteDebuggingSupported": false, + "runtimeVersion": "1.8.0_102" } - } + }, + "value": "8.0.102" }, { "displayText": "Java 1.8.0_92", - "value": "8.0.92", "stackSettings": { "windowsRuntimeSettings": { - "runtimeVersion": "1.8.0_92", - "remoteDebuggingSupported": false, "appInsightsSettings": { "isSupported": false }, + "endOfLifeDate": "2025-04-01T00:00:00+00:00", "gitHubActionSettings": { "isSupported": true, "supportedVersion": "8" }, - "endOfLifeDate": "2025-04-01T00:00:00+00:00" + "remoteDebuggingSupported": false, + "runtimeVersion": "1.8.0_92" } - } + }, + "value": "8.0.92" }, { "displayText": "Java 1.8.0_73 (Oracle)", - "value": "8.0.73 (Oracle)", "stackSettings": { "windowsRuntimeSettings": { - "runtimeVersion": "1.8.0_73", - "isDeprecated": true, - "remoteDebuggingSupported": false, "appInsightsSettings": { "isSupported": false }, "gitHubActionSettings": { "isSupported": true, "supportedVersion": "8" - } + }, + "isDeprecated": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "1.8.0_73" } - } + }, + "value": "8.0.73 (Oracle)" }, { "displayText": "Java 1.8.0_60 (Oracle)", - "value": "8.0.60 (Oracle)", "stackSettings": { "windowsRuntimeSettings": { - "runtimeVersion": "1.8.0_60", - "isDeprecated": true, - "remoteDebuggingSupported": false, "appInsightsSettings": { "isSupported": false }, "gitHubActionSettings": { "isSupported": true, "supportedVersion": "8" - } + }, + "isDeprecated": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "1.8.0_60" } - } + }, + "value": "8.0.60 (Oracle)" }, { "displayText": "Java 1.8.0_25 (Oracle)", - "value": "8.0.25 (Oracle)", "stackSettings": { "windowsRuntimeSettings": { - "runtimeVersion": "1.8.0_25", - "isDeprecated": true, - "remoteDebuggingSupported": false, "appInsightsSettings": { "isSupported": false }, "gitHubActionSettings": { "isSupported": true, "supportedVersion": "8" - } + }, + "isDeprecated": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "1.8.0_25" } - } + }, + "value": "8.0.25 (Oracle)" } - ] + ], + "value": "8" }, { "displayText": "Java 7", - "value": "7", "minorVersions": [ { "displayText": "Java 7", - "value": "7.0", "stackSettings": { "windowsRuntimeSettings": { - "runtimeVersion": "1.7", - "isAutoUpdate": true, - "isDeprecated": true, - "remoteDebuggingSupported": false, "appInsightsSettings": { "isSupported": false }, + "endOfLifeDate": "2023-08-01T00:00:00+00:00", "gitHubActionSettings": { "isSupported": false }, - "endOfLifeDate": "2023-08-01T00:00:00+00:00" + "isAutoUpdate": true, + "isDeprecated": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "1.7" } - } + }, + "value": "7.0" }, { "displayText": "Java 1.7.0_262", - "value": "7.0.262", "stackSettings": { "windowsRuntimeSettings": { - "runtimeVersion": "1.7.0_262_ZULU", - "isDeprecated": true, - "remoteDebuggingSupported": false, "appInsightsSettings": { "isSupported": false }, + "endOfLifeDate": "2023-08-01T00:00:00+00:00", "gitHubActionSettings": { "isSupported": false }, - "endOfLifeDate": "2023-08-01T00:00:00+00:00" + "isDeprecated": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "1.7.0_262_ZULU" } - } + }, + "value": "7.0.262" }, { "displayText": "Java 1.7.0_242", - "value": "7.0.242", "stackSettings": { "windowsRuntimeSettings": { - "runtimeVersion": "1.7.0_242_ZULU", - "isDeprecated": true, - "remoteDebuggingSupported": false, "appInsightsSettings": { "isSupported": false }, + "endOfLifeDate": "2023-08-01T00:00:00+00:00", "gitHubActionSettings": { "isSupported": false }, - "endOfLifeDate": "2023-08-01T00:00:00+00:00" + "isDeprecated": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "1.7.0_242_ZULU" } - } + }, + "value": "7.0.242" }, { "displayText": "Java 1.7.0_222", - "value": "7.0.222", "stackSettings": { "windowsRuntimeSettings": { - "runtimeVersion": "1.7.0_222_ZULU", - "isDeprecated": true, - "remoteDebuggingSupported": false, "appInsightsSettings": { "isSupported": false }, + "endOfLifeDate": "2023-08-01T00:00:00+00:00", "gitHubActionSettings": { "isSupported": false }, - "endOfLifeDate": "2023-08-01T00:00:00+00:00" + "isDeprecated": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "1.7.0_222_ZULU" } - } + }, + "value": "7.0.222" }, { "displayText": "Java 1.7.0_191", - "value": "7.0.191", "stackSettings": { "windowsRuntimeSettings": { - "runtimeVersion": "1.7.0_191_ZULU", - "isDeprecated": true, - "remoteDebuggingSupported": false, "appInsightsSettings": { "isSupported": false }, + "endOfLifeDate": "2023-08-01T00:00:00+00:00", "gitHubActionSettings": { "isSupported": false }, - "endOfLifeDate": "2023-08-01T00:00:00+00:00" + "isDeprecated": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "1.7.0_191_ZULU" } - } + }, + "value": "7.0.191" }, { "displayText": "Java 1.7.0_80 (Oracle)", - "value": "7.0.80 (Oracle)", "stackSettings": { "windowsRuntimeSettings": { - "runtimeVersion": "1.7.0_80", - "isDeprecated": true, - "remoteDebuggingSupported": false, "appInsightsSettings": { "isSupported": false }, "gitHubActionSettings": { "isSupported": false - } + }, + "isDeprecated": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "1.7.0_80" } - } + }, + "value": "7.0.80 (Oracle)" }, { "displayText": "Java 1.7.0_71 (Oracle)", - "value": "7.0.71 (Oracle)", "stackSettings": { "windowsRuntimeSettings": { - "runtimeVersion": "1.7.0_71", - "isDeprecated": true, - "remoteDebuggingSupported": false, "appInsightsSettings": { "isSupported": false }, "gitHubActionSettings": { "isSupported": false - } + }, + "isDeprecated": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "1.7.0_71" } - } + }, + "value": "7.0.71 (Oracle)" }, { "displayText": "Java 1.7.0_51 (Oracle)", - "value": "7.0.51 (Oracle)", "stackSettings": { "windowsRuntimeSettings": { - "runtimeVersion": "1.7.0_51", - "isDeprecated": true, - "remoteDebuggingSupported": false, "appInsightsSettings": { "isSupported": false }, "gitHubActionSettings": { "isSupported": false - } + }, + "isDeprecated": true, + "remoteDebuggingSupported": false, + "runtimeVersion": "1.7.0_51" } - } + }, + "value": "7.0.51 (Oracle)" } - ] + ], + "value": "7" } - ] + ], + "preferredOs": "Linux", + "value": "java" } }, { - "id": "/providers/Microsoft.Web/locations/webAppStacks/javacontainers", "name": "javacontainers", "type": "Microsoft.Web/locations/webAppStacks", + "id": "/providers/Microsoft.Web/locations/webAppStacks/javacontainers", "location": "westus", "properties": { "displayText": "Java Containers", - "value": "javacontainers", "majorVersions": [ { "displayText": "Java SE (Embedded Web Server)", - "value": "javase", "minorVersions": [ { "displayText": "Java SE (Embedded Web Server)", - "value": "SE", "stackSettings": { - "windowsContainerSettings": { - "javaContainer": "JAVA", - "javaContainerVersion": "SE", - "isAutoUpdate": true - }, "linuxContainerSettings": { + "isAutoUpdate": true, "java11Runtime": "JAVA|11-java11", - "java8Runtime": "JAVA|8-jre8", - "isAutoUpdate": true + "java8Runtime": "JAVA|8-jre8" + }, + "windowsContainerSettings": { + "isAutoUpdate": true, + "javaContainer": "JAVA", + "javaContainerVersion": "SE" } - } + }, + "value": "SE" }, { "displayText": "Java SE 11.0.7", - "value": "11.0.7", "stackSettings": { "linuxContainerSettings": { "java11Runtime": "JAVA|11.0.7" } - } + }, + "value": "11.0.7" }, { "displayText": "Java SE 11.0.6", - "value": "11.0.6", "stackSettings": { "linuxContainerSettings": { "java11Runtime": "JAVA|11.0.6" } - } + }, + "value": "11.0.6" }, { "displayText": "Java SE 11.0.5", - "value": "11.0.5", "stackSettings": { "linuxContainerSettings": { "java11Runtime": "JAVA|11.0.5" } - } + }, + "value": "11.0.5" }, { "displayText": "Java SE 8u252", - "value": "1.8.252", "stackSettings": { "linuxContainerSettings": { "java8Runtime": "JAVA|8u252" } - } + }, + "value": "1.8.252" }, { "displayText": "Java SE 8u242", - "value": "1.8.242", "stackSettings": { "linuxContainerSettings": { "java8Runtime": "JAVA|8u242" } - } + }, + "value": "1.8.242" }, { "displayText": "Java SE 8u232", - "value": "1.8.232", "stackSettings": { "linuxContainerSettings": { "java8Runtime": "JAVA|8u232" } - } + }, + "value": "1.8.232" } - ] + ], + "value": "javase" }, { "displayText": "JBoss EAP", - "value": "jbosseap", "minorVersions": [ { "displayText": "JBoss EAP 7.2", - "value": "7.2", "stackSettings": { "linuxContainerSettings": { - "java8Runtime": "JBOSSEAP|7.2-java8", - "isPreview": true + "isPreview": true, + "java8Runtime": "JBOSSEAP|7.2-java8" } - } + }, + "value": "7.2" } - ] + ], + "value": "jbosseap" }, { "displayText": "Tomcat 9.0", - "value": "tomcat9.0", "minorVersions": [ { "displayText": "Tomcat 9.0", - "value": "9.0", "stackSettings": { - "windowsContainerSettings": { - "javaContainer": "TOMCAT", - "javaContainerVersion": "9.0", - "isAutoUpdate": true - }, "linuxContainerSettings": { + "isAutoUpdate": true, "java11Runtime": "TOMCAT|9.0-java11", - "java8Runtime": "TOMCAT|9.0-jre8", - "isAutoUpdate": true + "java8Runtime": "TOMCAT|9.0-jre8" + }, + "windowsContainerSettings": { + "isAutoUpdate": true, + "javaContainer": "TOMCAT", + "javaContainerVersion": "9.0" } - } + }, + "value": "9.0" }, { "displayText": "Tomcat 9.0.37", - "value": "9.0.37", "stackSettings": { - "windowsContainerSettings": { - "javaContainer": "TOMCAT", - "javaContainerVersion": "9.0.37" - }, "linuxContainerSettings": { "java11Runtime": "TOMCAT|9.0.37-java11", "java8Runtime": "TOMCAT|9.0.37-java8" + }, + "windowsContainerSettings": { + "javaContainer": "TOMCAT", + "javaContainerVersion": "9.0.37" } - } + }, + "value": "9.0.37" }, { "displayText": "Tomcat 9.0.33", - "value": "9.0.33", "stackSettings": { "linuxContainerSettings": { "java11Runtime": "TOMCAT|9.0.33-java11", "java8Runtime": "TOMCAT|9.0.33-java8" } - } + }, + "value": "9.0.33" }, { "displayText": "Tomcat 9.0.31", - "value": "9.0.31", "stackSettings": { "windowsContainerSettings": { "javaContainer": "TOMCAT", "javaContainerVersion": "9.0.31" } - } + }, + "value": "9.0.31" }, { "displayText": "Tomcat 9.0.27", - "value": "9.0.27", "stackSettings": { "windowsContainerSettings": { "javaContainer": "TOMCAT", "javaContainerVersion": "9.0.27" } - } + }, + "value": "9.0.27" }, { "displayText": "Tomcat 9.0.21", - "value": "9.0.21", "stackSettings": { "windowsContainerSettings": { "javaContainer": "TOMCAT", "javaContainerVersion": "9.0.21" } - } + }, + "value": "9.0.21" }, { "displayText": "Tomcat 9.0.20", - "value": "9.0.20", "stackSettings": { "linuxContainerSettings": { "java11Runtime": "TOMCAT|9.0.20-java11", "java8Runtime": "TOMCAT|9.0.20-java8" } - } + }, + "value": "9.0.20" }, { "displayText": "Tomcat 9.0.14", - "value": "9.0.14", "stackSettings": { "windowsContainerSettings": { "javaContainer": "TOMCAT", "javaContainerVersion": "9.0.14" } - } + }, + "value": "9.0.14" }, { "displayText": "Tomcat 9.0.12", - "value": "9.0.12", "stackSettings": { "windowsContainerSettings": { "javaContainer": "TOMCAT", "javaContainerVersion": "9.0.12" } - } + }, + "value": "9.0.12" }, { "displayText": "Tomcat 9.0.8", - "value": "9.0.8", "stackSettings": { "windowsContainerSettings": { "javaContainer": "TOMCAT", "javaContainerVersion": "9.0.8" } - } + }, + "value": "9.0.8" }, { "displayText": "Tomcat 9.0.0", - "value": "9.0.0", "stackSettings": { "windowsContainerSettings": { "javaContainer": "TOMCAT", "javaContainerVersion": "9.0.0" } - } + }, + "value": "9.0.0" } - ] + ], + "value": "tomcat9.0" }, { "displayText": "Tomcat 8.5", - "value": "tomcat8.5", "minorVersions": [ { "displayText": "Tomcat 8.5", - "value": "8.5", "stackSettings": { - "windowsContainerSettings": { - "javaContainer": "TOMCAT", - "javaContainerVersion": "8.5", - "isAutoUpdate": true - }, "linuxContainerSettings": { + "isAutoUpdate": true, "java11Runtime": "TOMCAT|8.5-java11", - "java8Runtime": "TOMCAT|8.5-jre8", - "isAutoUpdate": true + "java8Runtime": "TOMCAT|8.5-jre8" + }, + "windowsContainerSettings": { + "isAutoUpdate": true, + "javaContainer": "TOMCAT", + "javaContainerVersion": "8.5" } - } + }, + "value": "8.5" }, { "displayText": "Tomcat 8.5.6", - "value": "8.5.6", "stackSettings": { "windowsContainerSettings": { "javaContainer": "TOMCAT", "javaContainerVersion": "8.5.6" } - } + }, + "value": "8.5.6" }, { "displayText": "Tomcat 8.5.57", - "value": "8.5.57", "stackSettings": { - "windowsContainerSettings": { - "javaContainer": "TOMCAT", - "javaContainerVersion": "8.5.57" - }, "linuxContainerSettings": { "java11Runtime": "TOMCAT|8.5.57-java11", "java8Runtime": "TOMCAT|8.5.57-java8" + }, + "windowsContainerSettings": { + "javaContainer": "TOMCAT", + "javaContainerVersion": "8.5.57" } - } + }, + "value": "8.5.57" }, { "displayText": "Tomcat 8.5.53", - "value": "8.5.53", "stackSettings": { "linuxContainerSettings": { "java11Runtime": "TOMCAT|8.5.53-java11", "java8Runtime": "TOMCAT|8.5.53-java8" } - } + }, + "value": "8.5.53" }, { "displayText": "Tomcat 8.5.51", - "value": "8.5.51", "stackSettings": { "windowsContainerSettings": { "javaContainer": "TOMCAT", "javaContainerVersion": "8.5.51" } - } + }, + "value": "8.5.51" }, { "displayText": "Tomcat 8.5.47", - "value": "8.5.47", "stackSettings": { "windowsContainerSettings": { "javaContainer": "TOMCAT", "javaContainerVersion": "8.5.47" } - } + }, + "value": "8.5.47" }, { "displayText": "Tomcat 8.5.42", - "value": "8.5.42", "stackSettings": { "windowsContainerSettings": { "javaContainer": "TOMCAT", "javaContainerVersion": "8.5.42" } - } + }, + "value": "8.5.42" }, { "displayText": "Tomcat 8.5.41", - "value": "8.5.41", "stackSettings": { "linuxContainerSettings": { "java11Runtime": "TOMCAT|8.5.41-java11", "java8Runtime": "TOMCAT|8.5.41-java8" } - } + }, + "value": "8.5.41" }, { "displayText": "Tomcat 8.5.37", - "value": "8.5.37", "stackSettings": { "windowsContainerSettings": { "javaContainer": "TOMCAT", "javaContainerVersion": "8.5.37" } - } + }, + "value": "8.5.37" }, { "displayText": "Tomcat 8.5.34", - "value": "8.5.34", "stackSettings": { "windowsContainerSettings": { "javaContainer": "TOMCAT", "javaContainerVersion": "8.5.34" } - } + }, + "value": "8.5.34" }, { "displayText": "Tomcat 8.5.31", - "value": "8.5.31", "stackSettings": { "windowsContainerSettings": { "javaContainer": "TOMCAT", "javaContainerVersion": "8.5.31" } - } + }, + "value": "8.5.31" }, { "displayText": "Tomcat 8.5.20", - "value": "8.5.20", "stackSettings": { "windowsContainerSettings": { "javaContainer": "TOMCAT", "javaContainerVersion": "8.5.20" } - } + }, + "value": "8.5.20" } - ] + ], + "value": "tomcat8.5" }, { "displayText": "Tomcat 8.0", - "value": "tomcat8.0", "minorVersions": [ { "displayText": "Tomcat 8.0", - "value": "8.0", "stackSettings": { "windowsContainerSettings": { + "isAutoUpdate": true, "javaContainer": "TOMCAT", - "javaContainerVersion": "8.0", - "isAutoUpdate": true + "javaContainerVersion": "8.0" } - } + }, + "value": "8.0" }, { "displayText": "Tomcat 8.0.53", - "value": "8.0.53", "stackSettings": { "windowsContainerSettings": { "javaContainer": "TOMCAT", "javaContainerVersion": "8.0.53" } - } + }, + "value": "8.0.53" }, { "displayText": "Tomcat 8.0.46", - "value": "8.0.46", "stackSettings": { "windowsContainerSettings": { "javaContainer": "TOMCAT", "javaContainerVersion": "8.0.46" } - } + }, + "value": "8.0.46" }, { "displayText": "Tomcat 8.0.23", - "value": "8.0.23", "stackSettings": { "windowsContainerSettings": { "javaContainer": "TOMCAT", "javaContainerVersion": "8.0.23" } - } + }, + "value": "8.0.23" } - ] + ], + "value": "tomcat8.0" }, { "displayText": "Tomcat 7.0", - "value": "tomcat7.0", "minorVersions": [ { "displayText": "Tomcat 7.0", - "value": "7.0", "stackSettings": { "windowsContainerSettings": { + "isAutoUpdate": true, "javaContainer": "TOMCAT", - "javaContainerVersion": "7.0", - "isAutoUpdate": true + "javaContainerVersion": "7.0" } - } + }, + "value": "7.0" }, { "displayText": "Tomcat 7.0.94", - "value": "7.0.94", "stackSettings": { "windowsContainerSettings": { "javaContainer": "TOMCAT", "javaContainerVersion": "7.0.94" } - } + }, + "value": "7.0.94" }, { "displayText": "Tomcat 7.0.81", - "value": "7.0.81", "stackSettings": { "windowsContainerSettings": { "javaContainer": "TOMCAT", "javaContainerVersion": "7.0.81" } - } + }, + "value": "7.0.81" }, { "displayText": "Tomcat 7.0.62", - "value": "7.0.62", "stackSettings": { "windowsContainerSettings": { "javaContainer": "TOMCAT", "javaContainerVersion": "7.0.62" } - } + }, + "value": "7.0.62" }, { "displayText": "Tomcat 7.0.50", - "value": "7.0.50", "stackSettings": { "windowsContainerSettings": { "javaContainer": "TOMCAT", "javaContainerVersion": "7.0.50" } - } + }, + "value": "7.0.50" } - ] + ], + "value": "tomcat7.0" }, { "displayText": "Jetty 9.3", - "value": "jetty9.3", "minorVersions": [ { "displayText": "Jetty 9.3", - "value": "9.3", "stackSettings": { "windowsContainerSettings": { - "javaContainer": "JETTY", - "javaContainerVersion": "9.3", "isAutoUpdate": true, - "isDeprecated": true + "isDeprecated": true, + "javaContainer": "JETTY", + "javaContainerVersion": "9.3" } - } + }, + "value": "9.3" }, { "displayText": "Jetty 9.3.25", - "value": "9.3.25", "stackSettings": { "windowsContainerSettings": { + "isDeprecated": true, "javaContainer": "JETTY", - "javaContainerVersion": "9.3.25", - "isDeprecated": true + "javaContainerVersion": "9.3.25" } - } + }, + "value": "9.3.25" }, { "displayText": "Jetty 9.3.13", - "value": "9.3.13", "stackSettings": { "windowsContainerSettings": { + "isDeprecated": true, "javaContainer": "JETTY", - "javaContainerVersion": "9.3.13", - "isDeprecated": true + "javaContainerVersion": "9.3.13" } - } + }, + "value": "9.3.13" } - ] + ], + "value": "jetty9.3" }, { "displayText": "Jetty 9.1", - "value": "jetty9.1", "minorVersions": [ { "displayText": "Jetty 9.1", - "value": "9.1", "stackSettings": { "windowsContainerSettings": { - "javaContainer": "JETTY", - "javaContainerVersion": "9.1", "isAutoUpdate": true, - "isDeprecated": true + "isDeprecated": true, + "javaContainer": "JETTY", + "javaContainerVersion": "9.1" } - } + }, + "value": "9.1" }, { "displayText": "Jetty 9.1.0", - "value": "9.1.0", "stackSettings": { "windowsContainerSettings": { + "isDeprecated": true, "javaContainer": "JETTY", - "javaContainerVersion": "9.1.0", - "isDeprecated": true + "javaContainerVersion": "9.1.0" } - } + }, + "value": "9.1.0" } - ] + ], + "value": "jetty9.1" }, { "displayText": "WildFly 14", - "value": "wildfly14", "minorVersions": [ { "displayText": "WildFly 14", - "value": "14", "stackSettings": { "linuxContainerSettings": { - "java8Runtime": "WILDFLY|14-jre8", + "isAutoUpdate": true, "isDeprecated": true, - "isAutoUpdate": true + "java8Runtime": "WILDFLY|14-jre8" } - } + }, + "value": "14" }, { "displayText": "WildFly 14.0.1", - "value": "14.0.1", "stackSettings": { "linuxContainerSettings": { "isDeprecated": true, "java8Runtime": "WILDFLY|14.0.1-java8" } - } + }, + "value": "14.0.1" } - ] + ], + "value": "wildfly14" } - ] + ], + "value": "javacontainers" } } ] - } + }, + "headers": {} } - } + }, + "operationId": "Provider_GetWebAppStacksForLocation", + "title": "Get Locations Web App Stacks" } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetWebSiteNetworkTraceOperation.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetWebSiteNetworkTraceOperation.json index c4f16dba4d11..c60e14c5082a 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetWebSiteNetworkTraceOperation.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetWebSiteNetworkTraceOperation.json @@ -1,35 +1,37 @@ { "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "testrg123", "name": "SampleApp", - "slot": "Production", "operationId": "c291433b-53ad-4c49-8cae-0a293eae1c6d", - "api-version": "2025-03-01" + "api-version": "2025-03-01", + "resourceGroupName": "testrg123", + "slot": "Production", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" }, "responses": { "200": { - "headers": {}, "body": [ { "path": "D:\\home\\LogFiles\\networktrace\\10.0.0.1_2018_02_01T00_00_00.zip", - "status": "Succeeded", - "message": "Trace file has been saved as D:\\home\\LogFiles\\networktrace\\10.0.0.1_2018_02_01T00_00_00.zip" + "message": "Trace file has been saved as D:\\home\\LogFiles\\networktrace\\10.0.0.1_2018_02_01T00_00_00.zip", + "status": "Succeeded" } - ] + ], + "headers": {} }, "202": { - "headers": { - "location": "https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/SampleApp/networktraces/current/operationresults/c291433b-53ad-4c49-8cae-0a293eae1c6d", - "azure-asyncoperation": "https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/SampleApp/networktraces/current/operationresults/c291433b-53ad-4c49-8cae-0a293eae1c6d" - }, "body": [ { "path": "D:\\home\\LogFiles\\networktrace\\10.0.0.1_2018_02_01T00_00_00.zip", - "status": "Succeeded", - "message": "Trace file has been saved as D:\\home\\LogFiles\\networktrace\\10.0.0.1_2018_02_01T00_00_00.zip" + "message": "Trace file has been saved as D:\\home\\LogFiles\\networktrace\\10.0.0.1_2018_02_01T00_00_00.zip", + "status": "Succeeded" } - ] + ], + "headers": { + "azure-asyncoperation": "https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/SampleApp/networktraces/current/operationresults/c291433b-53ad-4c49-8cae-0a293eae1c6d", + "location": "https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/SampleApp/networktraces/current/operationresults/c291433b-53ad-4c49-8cae-0a293eae1c6d" + } } - } + }, + "operationId": "WebApps_GetNetworkTraceOperation", + "title": "Get the current status of a network trace operation for a site" } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetWebSiteNetworkTraceOperation_Slot.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetWebSiteNetworkTraceOperation_Slot.json new file mode 100644 index 000000000000..107526341fd7 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetWebSiteNetworkTraceOperation_Slot.json @@ -0,0 +1,37 @@ +{ + "parameters": { + "name": "SampleApp", + "operationId": "c291433b-53ad-4c49-8cae-0a293eae1c6d", + "api-version": "2025-03-01", + "resourceGroupName": "testrg123", + "slot": "Production", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": [ + { + "path": "D:\\home\\LogFiles\\networktrace\\10.0.0.1_2018_02_01T00_00_00.zip", + "message": "Trace file has been saved as D:\\home\\LogFiles\\networktrace\\10.0.0.1_2018_02_01T00_00_00.zip", + "status": "Succeeded" + } + ], + "headers": {} + }, + "202": { + "body": [ + { + "path": "D:\\home\\LogFiles\\networktrace\\10.0.0.1_2018_02_01T00_00_00.zip", + "message": "Trace file has been saved as D:\\home\\LogFiles\\networktrace\\10.0.0.1_2018_02_01T00_00_00.zip", + "status": "Succeeded" + } + ], + "headers": { + "azure-asyncoperation": "https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/SampleApp/networktraces/current/operationresults/c291433b-53ad-4c49-8cae-0a293eae1c6d", + "location": "https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/SampleApp/networktraces/current/operationresults/c291433b-53ad-4c49-8cae-0a293eae1c6d" + } + } + }, + "operationId": "WebApps_GetNetworkTraceOperationSlot", + "title": "Get the current status of a network trace operation for a site" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetWebSiteNetworkTraceOperation_SlotV2.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetWebSiteNetworkTraceOperation_SlotV2.json new file mode 100644 index 000000000000..ea75df54cb02 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetWebSiteNetworkTraceOperation_SlotV2.json @@ -0,0 +1,37 @@ +{ + "parameters": { + "name": "SampleApp", + "operationId": "c291433b-53ad-4c49-8cae-0a293eae1c6d", + "api-version": "2025-03-01", + "resourceGroupName": "testrg123", + "slot": "Production", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": [ + { + "path": "D:\\home\\LogFiles\\networktrace\\10.0.0.1_2018_02_01T00_00_00.zip", + "message": "Trace file has been saved as D:\\home\\LogFiles\\networktrace\\10.0.0.1_2018_02_01T00_00_00.zip", + "status": "Succeeded" + } + ], + "headers": {} + }, + "202": { + "body": [ + { + "path": "D:\\home\\LogFiles\\networktrace\\10.0.0.1_2018_02_01T00_00_00.zip", + "message": "Trace file has been saved as D:\\home\\LogFiles\\networktrace\\10.0.0.1_2018_02_01T00_00_00.zip", + "status": "Succeeded" + } + ], + "headers": { + "azure-asyncoperation": "https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/SampleApp/networktraces/current/operationresults/c291433b-53ad-4c49-8cae-0a293eae1c6d", + "location": "https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/SampleApp/networktraces/current/operationresults/c291433b-53ad-4c49-8cae-0a293eae1c6d" + } + } + }, + "operationId": "WebApps_GetNetworkTraceOperationSlotV2", + "title": "Get the current status of a network trace operation for a site" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetWebSiteNetworkTraceOperation_V2.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetWebSiteNetworkTraceOperation_V2.json new file mode 100644 index 000000000000..07eb89978c9d --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetWebSiteNetworkTraceOperation_V2.json @@ -0,0 +1,37 @@ +{ + "parameters": { + "name": "SampleApp", + "operationId": "c291433b-53ad-4c49-8cae-0a293eae1c6d", + "api-version": "2025-03-01", + "resourceGroupName": "testrg123", + "slot": "Production", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": [ + { + "path": "D:\\home\\LogFiles\\networktrace\\10.0.0.1_2018_02_01T00_00_00.zip", + "message": "Trace file has been saved as D:\\home\\LogFiles\\networktrace\\10.0.0.1_2018_02_01T00_00_00.zip", + "status": "Succeeded" + } + ], + "headers": {} + }, + "202": { + "body": [ + { + "path": "D:\\home\\LogFiles\\networktrace\\10.0.0.1_2018_02_01T00_00_00.zip", + "message": "Trace file has been saved as D:\\home\\LogFiles\\networktrace\\10.0.0.1_2018_02_01T00_00_00.zip", + "status": "Succeeded" + } + ], + "headers": { + "azure-asyncoperation": "https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/SampleApp/networktraces/current/operationresults/c291433b-53ad-4c49-8cae-0a293eae1c6d", + "location": "https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/SampleApp/networktraces/current/operationresults/c291433b-53ad-4c49-8cae-0a293eae1c6d" + } + } + }, + "operationId": "WebApps_GetNetworkTraceOperationV2", + "title": "Get the current status of a network trace operation for a site" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetWebSiteNetworkTraces.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetWebSiteNetworkTraces.json index fb0550ddf6f6..ef8e40aa51a2 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetWebSiteNetworkTraces.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetWebSiteNetworkTraces.json @@ -1,22 +1,24 @@ { "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "testrg123", "name": "SampleApp", - "slot": "Production", "operationId": "c291433b-53ad-4c49-8cae-0a293eae1c6d", - "api-version": "2025-03-01" + "api-version": "2025-03-01", + "resourceGroupName": "testrg123", + "slot": "Production", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" }, "responses": { "200": { - "headers": {}, "body": [ { "path": "D:\\home\\LogFiles\\networktrace\\10.0.0.1_2018_02_01T00_00_00.zip", - "status": "Succeeded", - "message": "Trace file has been saved as D:\\home\\LogFiles\\networktrace\\10.0.0.1_2018_02_01T00_00_00.zip" + "message": "Trace file has been saved as D:\\home\\LogFiles\\networktrace\\10.0.0.1_2018_02_01T00_00_00.zip", + "status": "Succeeded" } - ] + ], + "headers": {} } - } + }, + "operationId": "WebApps_GetNetworkTraces", + "title": "Get NetworkTraces for a site" } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetWebSiteNetworkTraces_GetNetworkTracesSlotV2.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetWebSiteNetworkTraces_GetNetworkTracesSlotV2.json new file mode 100644 index 000000000000..6936c63fa1f0 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetWebSiteNetworkTraces_GetNetworkTracesSlotV2.json @@ -0,0 +1,24 @@ +{ + "parameters": { + "name": "SampleApp", + "operationId": "c291433b-53ad-4c49-8cae-0a293eae1c6d", + "api-version": "2025-03-01", + "resourceGroupName": "testrg123", + "slot": "Production", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": [ + { + "path": "D:\\home\\LogFiles\\networktrace\\10.0.0.1_2018_02_01T00_00_00.zip", + "message": "Trace file has been saved as D:\\home\\LogFiles\\networktrace\\10.0.0.1_2018_02_01T00_00_00.zip", + "status": "Succeeded" + } + ], + "headers": {} + } + }, + "operationId": "WebApps_GetNetworkTracesSlotV2", + "title": "Get NetworkTraces for a site" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetWebSiteNetworkTraces_Slot.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetWebSiteNetworkTraces_Slot.json new file mode 100644 index 000000000000..31cc2f330d11 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetWebSiteNetworkTraces_Slot.json @@ -0,0 +1,24 @@ +{ + "parameters": { + "name": "SampleApp", + "operationId": "c291433b-53ad-4c49-8cae-0a293eae1c6d", + "api-version": "2025-03-01", + "resourceGroupName": "testrg123", + "slot": "Production", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": [ + { + "path": "D:\\home\\LogFiles\\networktrace\\10.0.0.1_2018_02_01T00_00_00.zip", + "message": "Trace file has been saved as D:\\home\\LogFiles\\networktrace\\10.0.0.1_2018_02_01T00_00_00.zip", + "status": "Succeeded" + } + ], + "headers": {} + } + }, + "operationId": "WebApps_GetNetworkTracesSlot", + "title": "Get NetworkTraces for a site" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetWebSiteNetworkTraces_SlotV2.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetWebSiteNetworkTraces_SlotV2.json new file mode 100644 index 000000000000..fbe44ee5cc37 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetWebSiteNetworkTraces_SlotV2.json @@ -0,0 +1,24 @@ +{ + "parameters": { + "name": "SampleApp", + "operationId": "c291433b-53ad-4c49-8cae-0a293eae1c6d", + "api-version": "2025-03-01", + "resourceGroupName": "testrg123", + "slot": "Production", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": [ + { + "path": "D:\\home\\LogFiles\\networktrace\\10.0.0.1_2018_02_01T00_00_00.zip", + "message": "Trace file has been saved as D:\\home\\LogFiles\\networktrace\\10.0.0.1_2018_02_01T00_00_00.zip", + "status": "Succeeded" + } + ], + "headers": {} + } + }, + "operationId": "WebApps_GetNetworkTracesV2", + "title": "Get NetworkTraces for a site" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetWorkflow.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetWorkflow.json index f297ee485c9a..3b1c0dbc3c11 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetWorkflow.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetWorkflow.json @@ -1,50 +1,49 @@ { "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "testrg123", "name": "testsite2", - "workflowName": "stateful1", + "api-version": "2025-03-01", + "resourceGroupName": "testrg123", "slot": "staging", - "api-version": "2025-03-01" + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "workflowName": "stateful1" }, "responses": { "200": { - "headers": {}, "body": { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/testsite2/workflows/stateful1", "name": "testsite2/stateful1", "type": "Microsoft.Web/sites/workflows", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/testsite2/workflows/stateful1", "kind": "Stateful", "location": "USAAnywhere", "properties": { "files": { - "workflow.json": { - "definition": { - "$schema": "https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#", - "actions": {}, - "contentVersion": "1.0.0.0", - "outputs": {}, - "parameters": {}, - "triggers": {} - } - }, "connections.json": { "managedApiConnections": { "office365": { "api": { "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/providers/Microsoft.Web/locations/brazilsouth/managedApis/office365" }, + "authentication": { + "type": "Raw", + "parameter": "@appsetting('office365-connectionKey')", + "scheme": "Key" + }, "connection": { "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/connections/office365-1" }, - "connectionRuntimeUrl": "string", - "authentication": { - "type": "Raw", - "scheme": "Key", - "parameter": "@appsetting('office365-connectionKey')" - } + "connectionRuntimeUrl": "string" } } + }, + "workflow.json": { + "definition": { + "$schema": "https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#", + "actions": {}, + "contentVersion": "1.0.0.0", + "outputs": {}, + "parameters": {}, + "triggers": {} + } } }, "flowState": "Enabled", @@ -52,8 +51,11 @@ "state": "Healthy" } } - } + }, + "headers": {} }, "404": {} - } + }, + "operationId": "WebApps_GetWorkflow", + "title": "GET a workflow" } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetWorkflow_Slot.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetWorkflow_Slot.json new file mode 100644 index 000000000000..c4d746b0fd5c --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/GetWorkflow_Slot.json @@ -0,0 +1,61 @@ +{ + "parameters": { + "name": "testsite2", + "api-version": "2025-03-01", + "resourceGroupName": "testrg123", + "slot": "staging", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "workflowName": "stateful1" + }, + "responses": { + "200": { + "body": { + "name": "testsite2/stateful1", + "type": "Microsoft.Web/sites/workflows", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/testsite2/workflows/stateful1", + "kind": "Stateful", + "location": "USAAnywhere", + "properties": { + "files": { + "connections.json": { + "managedApiConnections": { + "office365": { + "api": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/providers/Microsoft.Web/locations/brazilsouth/managedApis/office365" + }, + "authentication": { + "type": "Raw", + "parameter": "@appsetting('office365-connectionKey')", + "scheme": "Key" + }, + "connection": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/connections/office365-1" + }, + "connectionRuntimeUrl": "string" + } + } + }, + "workflow.json": { + "definition": { + "$schema": "https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#", + "actions": {}, + "contentVersion": "1.0.0.0", + "outputs": {}, + "parameters": {}, + "triggers": {} + } + } + }, + "flowState": "Enabled", + "health": { + "state": "Healthy" + } + } + }, + "headers": {} + }, + "404": {} + }, + "operationId": "WebApps_GetInstanceWorkflowSlot", + "title": "GET a workflow Slot" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/KubeEnvironments_CreateOrUpdate.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/KubeEnvironments_CreateOrUpdate.json index dc26420d43a6..2567f1ec5c04 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/KubeEnvironments_CreateOrUpdate.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/KubeEnvironments_CreateOrUpdate.json @@ -1,68 +1,70 @@ { "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "examplerg", "name": "testkubeenv", "api-version": "2025-03-01", - "kind": "kubernetes", - "location": "East US", "extendedLocation": { "name": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/examplerg/providers/Microsoft.ExtendedLocation/customLocations/testcustomlocation", "type": "customLocation" }, + "kind": "kubernetes", "kubeEnvironmentEnvelope": { "location": "East US", "properties": { "staticIp": "1.2.3.4" } - } + }, + "location": "East US", + "resourceGroupName": "examplerg", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" }, "responses": { "200": { "body": { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/examplerg/providers/Microsoft.Web/kubeEnvironments/testkubeenv", "name": "testkubeenv", "type": "Microsoft.Web/kubeEnvironments", - "location": "East US", "extendedLocation": { "name": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/examplerg/providers/Microsoft.ExtendedLocation/customLocations/testcustomlocation", "type": "customLocation" }, - "tags": {}, + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/examplerg/providers/Microsoft.Web/kubeEnvironments/testkubeenv", + "location": "East US", "properties": { - "provisioningState": "Succeeded", + "aksResourceID": "test", + "appLogsConfiguration": null, + "arcConfiguration": null, + "defaultDomain": "testkubeenv.k4apps.io", "deploymentErrors": null, "internalLoadBalancerEnabled": false, - "defaultDomain": "testkubeenv.k4apps.io", - "staticIp": "1.2.3.4", - "arcConfiguration": null, - "appLogsConfiguration": null, - "aksResourceID": "test" - } + "provisioningState": "Succeeded", + "staticIp": "1.2.3.4" + }, + "tags": {} } }, "201": { "body": { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/examplerg/providers/Microsoft.Web/kubeEnvironments/testkubeenv", "name": "testkubeenv", "type": "Microsoft.Web/kubeEnvironments", - "location": "East US", "extendedLocation": { "name": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/examplerg/providers/Microsoft.ExtendedLocation/customLocations/testcustomlocation", "type": "customLocation" }, - "tags": {}, + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/examplerg/providers/Microsoft.Web/kubeEnvironments/testkubeenv", + "location": "East US", "properties": { - "provisioningState": "InitializationInProgress", + "aksResourceID": "test", + "appLogsConfiguration": null, + "arcConfiguration": null, + "defaultDomain": "testkubeenv.k4apps.io", "deploymentErrors": null, "internalLoadBalancerEnabled": false, - "defaultDomain": "testkubeenv.k4apps.io", - "staticIp": "1.2.3.4", - "arcConfiguration": null, - "appLogsConfiguration": null, - "aksResourceID": "test" - } + "provisioningState": "InitializationInProgress", + "staticIp": "1.2.3.4" + }, + "tags": {} } } - } + }, + "operationId": "KubeEnvironments_CreateOrUpdate", + "title": "Create kube environments" } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/KubeEnvironments_Delete.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/KubeEnvironments_Delete.json index 1458c9b17b9c..7881789bee3f 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/KubeEnvironments_Delete.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/KubeEnvironments_Delete.json @@ -1,15 +1,15 @@ { "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "examplerg", "name": "examplekenv", "api-version": "2025-03-01", - "kind": "kubernetes", - "location": "East US", "extendedLocation": { "name": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/examplerg/providers/Microsoft.ExtendedLocation/customLocations/testcustomlocation", "type": "customLocation" - } + }, + "kind": "kubernetes", + "location": "East US", + "resourceGroupName": "examplerg", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" }, "responses": { "200": {}, @@ -19,5 +19,7 @@ } }, "204": {} - } + }, + "operationId": "KubeEnvironments_Delete", + "title": "Delete kube environment by name" } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/KubeEnvironments_Get.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/KubeEnvironments_Get.json index ebc664edde02..c4e3ffd46e9d 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/KubeEnvironments_Get.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/KubeEnvironments_Get.json @@ -1,38 +1,40 @@ { "parameters": { - "subscriptionId": "8efdecc5-919e-44eb-b179-915dca89ebf9", - "resourceGroupName": "examplerg", "name": "jlaw-demo1", - "location": "North Central US", + "api-version": "2025-03-01", "extendedLocation": { "name": "/subscriptions/8efdecc5-919e-44eb-b179-915dca89ebf9/resourceGroups/examplerg/providers/Microsoft.ExtendedLocation/customLocations/testcustomlocation", "type": "customLocation" }, - "api-version": "2025-03-01" + "location": "North Central US", + "resourceGroupName": "examplerg", + "subscriptionId": "8efdecc5-919e-44eb-b179-915dca89ebf9" }, "responses": { "200": { "body": { - "id": "/subscriptions/8efdecc5-919e-44eb-b179-915dca89ebf9/resourceGroups/examplerg/providers/Microsoft.Web/kubeEnvironments/jlaw-demo1", "name": "jlaw-demo1", "type": "Microsoft.Web/kubeEnvironments", - "location": "North Central US", "extendedLocation": { "name": "/subscriptions/8efdecc5-919e-44eb-b179-915dca89ebf9/resourceGroups/examplerg/providers/Microsoft.ExtendedLocation/customLocations/testcustomlocation", "type": "customLocation" }, - "tags": {}, + "id": "/subscriptions/8efdecc5-919e-44eb-b179-915dca89ebf9/resourceGroups/examplerg/providers/Microsoft.Web/kubeEnvironments/jlaw-demo1", + "location": "North Central US", "properties": { - "provisioningState": "Succeeded", + "aksResourceID": "/subscriptions/8efdecc5-919e-44eb-b179-915dca89ebf9/resourceGroups/examplerg/providers/Microsoft.ContainerService/managedClusters/jlaw-demo1", + "appLogsConfiguration": null, + "arcConfiguration": null, + "defaultDomain": "jlaw-demo1.k4apps.io", "deploymentErrors": null, "internalLoadBalancerEnabled": false, - "defaultDomain": "jlaw-demo1.k4apps.io", - "staticIp": "20.42.33.145", - "arcConfiguration": null, - "appLogsConfiguration": null, - "aksResourceID": "/subscriptions/8efdecc5-919e-44eb-b179-915dca89ebf9/resourceGroups/examplerg/providers/Microsoft.ContainerService/managedClusters/jlaw-demo1" - } + "provisioningState": "Succeeded", + "staticIp": "20.42.33.145" + }, + "tags": {} } } - } + }, + "operationId": "KubeEnvironments_Get", + "title": "Get kube environments by name" } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/KubeEnvironments_ListByResourceGroup.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/KubeEnvironments_ListByResourceGroup.json index 62c6cd971cb7..2765d815b2a0 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/KubeEnvironments_ListByResourceGroup.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/KubeEnvironments_ListByResourceGroup.json @@ -1,56 +1,58 @@ { "parameters": { - "subscriptionId": "8efdecc5-919e-44eb-b179-915dca89ebf9", - "resourceGroupName": "examplerg", "name": "Samplek8se", - "api-version": "2025-03-01" + "api-version": "2025-03-01", + "resourceGroupName": "examplerg", + "subscriptionId": "8efdecc5-919e-44eb-b179-915dca89ebf9" }, "responses": { "200": { "body": { "value": [ { - "id": "/subscriptions/8efdecc5-919e-44eb-b179-915dca89ebf9/resourceGroups/examplerg/providers/Microsoft.Web/kubeEnvironments/jlaw-demo1", "name": "jlaw-demo1", "type": "Microsoft.Web/kubeEnvironments", - "location": "North Central US", "extendedLocation": { "name": "/subscriptions/8efdecc5-919e-44eb-b179-915dca89ebf9/resourceGroups/examplerg/providers/Microsoft.ExtendedLocation/customLocations/testcustomlocation", "type": "customLocation" }, - "tags": {}, + "id": "/subscriptions/8efdecc5-919e-44eb-b179-915dca89ebf9/resourceGroups/examplerg/providers/Microsoft.Web/kubeEnvironments/jlaw-demo1", + "location": "North Central US", "properties": { - "provisioningState": "Succeeded", + "appLogsConfiguration": null, + "arcConfiguration": null, + "defaultDomain": "jlaw-demo1.k4apps.io", "deploymentErrors": null, "internalLoadBalancerEnabled": false, - "defaultDomain": "jlaw-demo1.k4apps.io", - "staticIp": "20.42.33.145", - "arcConfiguration": null, - "appLogsConfiguration": null - } + "provisioningState": "Succeeded", + "staticIp": "20.42.33.145" + }, + "tags": {} }, { - "id": "/subscriptions/8efdecc5-919e-44eb-b179-915dca89ebf9/resourceGroups/examplerg/providers/Microsoft.Web/kubeEnvironments/demo1", "name": "demo1", "type": "Microsoft.Web/kubeEnvironments", - "location": "North Central US", "extendedLocation": { "name": "/subscriptions/8efdecc5-919e-44eb-b179-915dca89ebf9/resourceGroups/examplerg/providers/Microsoft.ExtendedLocation/customLocations/testcustomlocation", "type": "customLocation" }, - "tags": {}, + "id": "/subscriptions/8efdecc5-919e-44eb-b179-915dca89ebf9/resourceGroups/examplerg/providers/Microsoft.Web/kubeEnvironments/demo1", + "location": "North Central US", "properties": { - "provisioningState": "Succeeded", + "appLogsConfiguration": null, + "arcConfiguration": null, + "defaultDomain": "demo1.k4apps.io", "deploymentErrors": null, "internalLoadBalancerEnabled": false, - "defaultDomain": "demo1.k4apps.io", - "staticIp": "52.142.21.61", - "arcConfiguration": null, - "appLogsConfiguration": null - } + "provisioningState": "Succeeded", + "staticIp": "52.142.21.61" + }, + "tags": {} } ] } } - } + }, + "operationId": "KubeEnvironments_ListByResourceGroup", + "title": "List kube environments by resource group" } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/KubeEnvironments_ListBySubscription.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/KubeEnvironments_ListBySubscription.json index 3e2eaf01ba3f..492b6189c27b 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/KubeEnvironments_ListBySubscription.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/KubeEnvironments_ListBySubscription.json @@ -1,48 +1,50 @@ { "parameters": { - "subscriptionId": "8efdecc5-919e-44eb-b179-915dca89ebf9", - "resourceGroupName": "examplerg", "name": "examplekenv", - "api-version": "2025-03-01" + "api-version": "2025-03-01", + "resourceGroupName": "examplerg", + "subscriptionId": "8efdecc5-919e-44eb-b179-915dca89ebf9" }, "responses": { "200": { "body": { "value": [ { - "id": "/subscriptions/8efdecc5-919e-44eb-b179-915dca89ebf9/resourceGroups/examplerg/providers/Microsoft.Web/kubeEnvironments/jlaw-demo1", "name": "jlaw-demo1", "type": "Microsoft.Web/kubeEnvironments", + "id": "/subscriptions/8efdecc5-919e-44eb-b179-915dca89ebf9/resourceGroups/examplerg/providers/Microsoft.Web/kubeEnvironments/jlaw-demo1", "location": "North Central US", - "tags": {}, "properties": { - "provisioningState": "Succeeded", + "appLogsConfiguration": null, + "arcConfiguration": null, + "defaultDomain": "jlaw-demo1.k4apps.io", "deploymentErrors": null, "internalLoadBalancerEnabled": false, - "defaultDomain": "jlaw-demo1.k4apps.io", - "staticIp": "20.42.33.145", - "arcConfiguration": null, - "appLogsConfiguration": null - } + "provisioningState": "Succeeded", + "staticIp": "20.42.33.145" + }, + "tags": {} }, { - "id": "/subscriptions/8efdecc5-919e-44eb-b179-915dca89ebf9/resourceGroups/DemoRG/providers/Microsoft.Web/kubeEnvironments/demo1", "name": "demo1", "type": "Microsoft.Web/kubeEnvironments", + "id": "/subscriptions/8efdecc5-919e-44eb-b179-915dca89ebf9/resourceGroups/DemoRG/providers/Microsoft.Web/kubeEnvironments/demo1", "location": "North Central US", - "tags": {}, "properties": { - "provisioningState": "Succeeded", + "appLogsConfiguration": null, + "arcConfiguration": null, + "defaultDomain": "demo1.k4apps.io", "deploymentErrors": null, "internalLoadBalancerEnabled": false, - "defaultDomain": "demo1.k4apps.io", - "staticIp": "52.142.21.61", - "arcConfiguration": null, - "appLogsConfiguration": null - } + "provisioningState": "Succeeded", + "staticIp": "52.142.21.61" + }, + "tags": {} } ] } } - } + }, + "operationId": "KubeEnvironments_ListBySubscription", + "title": "List kube environments by subscription" } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/KubeEnvironments_Update.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/KubeEnvironments_Update.json index a3bc5fa63bec..2befad91db61 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/KubeEnvironments_Update.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/KubeEnvironments_Update.json @@ -1,67 +1,69 @@ { "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "examplerg", "name": "testkubeenv", "api-version": "2025-03-01", - "kind": "kubernetes", - "location": "East US", "extendedLocation": { "name": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/examplerg/providers/Microsoft.ExtendedLocation/customLocations/testcustomlocation", "type": "customLocation" }, + "kind": "kubernetes", "kubeEnvironmentEnvelope": { "properties": { "staticIp": "1.2.3.4" } - } + }, + "location": "East US", + "resourceGroupName": "examplerg", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" }, "responses": { "200": { "body": { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/examplerg/providers/Microsoft.Web/kubeEnvironments/testkubeenv", "name": "testkubeenv", "type": "Microsoft.Web/kubeEnvironments", - "location": "East US", "extendedLocation": { "name": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/examplerg/providers/Microsoft.ExtendedLocation/customLocations/testcustomlocation", "type": "customLocation" }, - "tags": {}, + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/examplerg/providers/Microsoft.Web/kubeEnvironments/testkubeenv", + "location": "East US", "properties": { - "provisioningState": "Succeeded", + "aksResourceID": "test", + "appLogsConfiguration": null, + "arcConfiguration": null, + "defaultDomain": "testkubeenv.k4apps.io", "deploymentErrors": null, "internalLoadBalancerEnabled": false, - "defaultDomain": "testkubeenv.k4apps.io", - "staticIp": "1.2.3.4", - "arcConfiguration": null, - "appLogsConfiguration": null, - "aksResourceID": "test" - } + "provisioningState": "Succeeded", + "staticIp": "1.2.3.4" + }, + "tags": {} } }, "201": { "body": { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/examplerg/providers/Microsoft.Web/kubeEnvironments/testkubeenv", "name": "testkubeenv", "type": "Microsoft.Web/kubeEnvironments", - "location": "East US", "extendedLocation": { "name": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/examplerg/providers/Microsoft.ExtendedLocation/customLocations/testcustomlocation", "type": "customLocation" }, - "tags": {}, + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/examplerg/providers/Microsoft.Web/kubeEnvironments/testkubeenv", + "location": "East US", "properties": { - "provisioningState": "InitializationInProgress", + "aksResourceID": "test", + "appLogsConfiguration": null, + "arcConfiguration": null, + "defaultDomain": "testkubeenv.k4apps.io", "deploymentErrors": null, "internalLoadBalancerEnabled": false, - "defaultDomain": "testkubeenv.k4apps.io", - "staticIp": "1.2.3.4", - "arcConfiguration": null, - "appLogsConfiguration": null, - "aksResourceID": "test" - } + "provisioningState": "InitializationInProgress", + "staticIp": "1.2.3.4" + }, + "tags": {} } } - } + }, + "operationId": "KubeEnvironments_Update", + "title": "Update kube environments" } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/LinkBackendToStaticSite.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/LinkBackendToStaticSite.json index b059b7e9aa7b..55f5c21694c1 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/LinkBackendToStaticSite.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/LinkBackendToStaticSite.json @@ -1,31 +1,33 @@ { "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "rg", "name": "testStaticSite0", - "linkedBackendName": "testBackend", "api-version": "2025-03-01", + "linkedBackendName": "testBackend", + "resourceGroupName": "rg", "staticSiteLinkedBackendEnvelope": { "properties": { "backendResourceId": "/subscription/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/backendRg/providers/Microsoft.Web/sites/testBackend", "region": "West US 2" } - } + }, + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" }, "responses": { "200": { - "headers": {}, "body": { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/staticSites/testStaticSite0/builds/default/linkedBackends/testBackend", "name": "testBackend", "type": "Microsoft.Web/staticSites/builds/linkedBackends", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/staticSites/testStaticSite0/builds/default/linkedBackends/testBackend", "properties": { "backendResourceId": "/subscription/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/backendRg/providers/Microsoft.Web/sites/testBackend", - "region": "West US 2", "createdOn": "2021-12-24T17:33:11.641Z", - "provisioningState": "Succeeded" + "provisioningState": "Succeeded", + "region": "West US 2" } - } + }, + "headers": {} } - } + }, + "operationId": "StaticSites_LinkBackend", + "title": "Link a backend to a static site" } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/LinkBackendToStaticSiteBuild.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/LinkBackendToStaticSiteBuild.json index 41e6902575ed..afe418c39fc6 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/LinkBackendToStaticSiteBuild.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/LinkBackendToStaticSiteBuild.json @@ -1,32 +1,34 @@ { "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "rg", "name": "testStaticSite0", + "api-version": "2025-03-01", "environmentName": "default", "linkedBackendName": "testBackend", - "api-version": "2025-03-01", + "resourceGroupName": "rg", "staticSiteLinkedBackendEnvelope": { "properties": { "backendResourceId": "/subscription/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/backendRg/providers/Microsoft.Web/sites/testBackend", "region": "West US 2" } - } + }, + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" }, "responses": { "200": { - "headers": {}, "body": { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/staticSites/testStaticSite0/builds/default/linkedBackends/testBackend", "name": "testBackend", "type": "Microsoft.Web/staticSites/builds/linkedBackends", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/staticSites/testStaticSite0/builds/default/linkedBackends/testBackend", "properties": { "backendResourceId": "/subscription/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/backendRg/providers/Microsoft.Web/sites/testBackend", - "region": "West US 2", "createdOn": "2021-12-24T17:33:11.641Z", - "provisioningState": "Succeeded" + "provisioningState": "Succeeded", + "region": "West US 2" } - } + }, + "headers": {} } - } + }, + "operationId": "StaticSites_LinkBackendToBuild", + "title": "Link a backend to a static site build" } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/ListAppServicePlans.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/ListAppServicePlans.json index e6763414a139..af4801d15175 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/ListAppServicePlans.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/ListAppServicePlans.json @@ -1,67 +1,69 @@ { "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "api-version": "2025-03-01" + "api-version": "2025-03-01", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" }, "responses": { "200": { - "headers": {}, "body": { "value": [ { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/serverfarms/testsf6141", "name": "testsf6141", "type": "Microsoft.Web/serverfarms", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/serverfarms/testsf6141", "kind": "app", "location": "East US", "properties": { - "status": "Ready", - "maximumNumberOfWorkers": 20, - "numberOfWorkers": 19, "geoRegion": "East US", - "numberOfSites": 4, "isSpot": false, + "maximumNumberOfWorkers": 20, + "numberOfSites": 4, + "numberOfWorkers": 19, + "provisioningState": "Succeeded", "reserved": false, + "status": "Ready", "targetWorkerCount": 0, - "targetWorkerSizeId": 0, - "provisioningState": "Succeeded" + "targetWorkerSizeId": 0 }, "sku": { "name": "P1", - "tier": "Premium", - "size": "P1", + "capacity": 1, "family": "P", - "capacity": 1 + "size": "P1", + "tier": "Premium" } }, { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/serverfarms/testsf7252", "name": "testsf7252", "type": "Microsoft.Web/serverfarms", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/serverfarms/testsf7252", "kind": "app", "location": "East US", "properties": { - "status": "Ready", - "maximumNumberOfWorkers": 20, - "numberOfWorkers": 19, "geoRegion": "East US", - "numberOfSites": 4, "isSpot": false, + "maximumNumberOfWorkers": 20, + "numberOfSites": 4, + "numberOfWorkers": 19, + "provisioningState": "Succeeded", "reserved": false, + "status": "Ready", "targetWorkerCount": 0, - "targetWorkerSizeId": 0, - "provisioningState": "Succeeded" + "targetWorkerSizeId": 0 }, "sku": { "name": "P1", - "tier": "Premium", - "size": "P1", + "capacity": 1, "family": "P", - "capacity": 1 + "size": "P1", + "tier": "Premium" } } ] - } + }, + "headers": {} } - } + }, + "operationId": "AppServicePlans_List", + "title": "List App Service plans" } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/ListAppServicePlansByResourceGroup.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/ListAppServicePlansByResourceGroup.json index 119689e06170..cfdd1d47809f 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/ListAppServicePlansByResourceGroup.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/ListAppServicePlansByResourceGroup.json @@ -1,68 +1,70 @@ { "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "api-version": "2025-03-01", "resourceGroupName": "testrg123", - "api-version": "2025-03-01" + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" }, "responses": { "200": { - "headers": {}, "body": { "value": [ { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/serverfarms/testsf6141", "name": "testsf6141", "type": "Microsoft.Web/serverfarms", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/serverfarms/testsf6141", "kind": "app", "location": "East US", "properties": { - "status": "Ready", - "maximumNumberOfWorkers": 20, - "numberOfWorkers": 19, "geoRegion": "East US", - "numberOfSites": 4, "isSpot": false, + "maximumNumberOfWorkers": 20, + "numberOfSites": 4, + "numberOfWorkers": 19, + "provisioningState": "Succeeded", "reserved": false, + "status": "Ready", "targetWorkerCount": 0, - "targetWorkerSizeId": 0, - "provisioningState": "Succeeded" + "targetWorkerSizeId": 0 }, "sku": { "name": "P1", - "tier": "Premium", - "size": "P1", + "capacity": 1, "family": "P", - "capacity": 1 + "size": "P1", + "tier": "Premium" } }, { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/serverfarms/testsf7252", "name": "testsf7252", "type": "Microsoft.Web/serverfarms", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/serverfarms/testsf7252", "kind": "app", "location": "East US", "properties": { - "status": "Ready", - "maximumNumberOfWorkers": 20, - "numberOfWorkers": 19, "geoRegion": "East US", - "numberOfSites": 4, "isSpot": false, + "maximumNumberOfWorkers": 20, + "numberOfSites": 4, + "numberOfWorkers": 19, + "provisioningState": "Succeeded", "reserved": false, + "status": "Ready", "targetWorkerCount": 0, - "targetWorkerSizeId": 0, - "provisioningState": "Succeeded" + "targetWorkerSizeId": 0 }, "sku": { "name": "P1", - "tier": "Premium", - "size": "P1", + "capacity": 1, "family": "P", - "capacity": 1 + "size": "P1", + "tier": "Premium" } } ] - } + }, + "headers": {} } - } + }, + "operationId": "AppServicePlans_ListByResourceGroup", + "title": "List App Service plans by resource group" } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/ListAppSettings.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/ListAppSettings.json index 49140ae5e6a1..e160e5809457 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/ListAppSettings.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/ListAppSettings.json @@ -1,23 +1,25 @@ { "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "testrg123", "name": "sitef6141", - "api-version": "2025-03-01" + "api-version": "2025-03-01", + "resourceGroupName": "testrg123", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" }, "responses": { "200": { - "headers": {}, "body": { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/sitef6141/config/appsettings", "name": "appsettings", "type": "Microsoft.Web/sites/config", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/sitef6141/config/appsettings", "kind": "app", "properties": { "Setting1": "Value1", "Setting2": "Value2" } - } + }, + "headers": {} } - } + }, + "operationId": "WebApps_ListApplicationSettings", + "title": "List App Settings" } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/ListAseRegions.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/ListAseRegions.json index c9edb7ff2f8c..41cfe5a424f3 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/ListAseRegions.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/ListAseRegions.json @@ -1,54 +1,56 @@ { "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "api-version": "2025-03-01" + "api-version": "2025-03-01", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" }, "responses": { "200": { - "headers": {}, "body": { "value": [ { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/providers/Microsoft.Web/aseRegions", "type": "Microsoft.Web/aseRegions", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/providers/Microsoft.Web/aseRegions", "properties": { - "displayName": "southcentralus", - "standard": true, - "dedicatedHost": true, - "zoneRedundant": true, + "availableOS": [ + "Windows", + "Linux", + "HyperV" + ], "availableSku": [ "I1v2", "I2v2", "I3v2" ], - "availableOS": [ - "Windows", - "Linux", - "HyperV" - ] + "dedicatedHost": true, + "displayName": "southcentralus", + "standard": true, + "zoneRedundant": true } }, { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/providers/Microsoft.Web/aseRegions", "type": "Microsoft.Web/aseRegions", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/providers/Microsoft.Web/aseRegions", "properties": { - "displayName": "northcentralus", - "standard": true, - "dedicatedHost": true, - "zoneRedundant": true, + "availableOS": [ + "Windows", + "Linux" + ], "availableSku": [ "I1v4", "I2v2", "I3v2" ], - "availableOS": [ - "Windows", - "Linux" - ] + "dedicatedHost": true, + "displayName": "northcentralus", + "standard": true, + "zoneRedundant": true } } ] - } + }, + "headers": {} } - } + }, + "operationId": "ListAseRegions", + "title": "List aseregions" } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/ListAuthSettings.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/ListAuthSettings.json index 6592bf756be7..280b37af9e50 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/ListAuthSettings.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/ListAuthSettings.json @@ -1,32 +1,34 @@ { "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "testrg123", "name": "sitef6141", - "api-version": "2025-03-01" + "api-version": "2025-03-01", + "resourceGroupName": "testrg123", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" }, "responses": { "200": { - "headers": {}, "body": { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/sitef6141/config/authsettings", "name": "authsettings", "type": "Microsoft.Web/sites/authsettings", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/sitef6141/config/authsettings", "kind": "app", "properties": { - "enabled": true, - "runtimeVersion": "~1", - "unauthenticatedClientAction": "RedirectToLoginPage", - "tokenStoreEnabled": true, "allowedExternalRedirectUrls": [ "sitef6141.customdomain.net", "sitef6141.customdomain.info" ], + "clientId": "42d795a9-8abb-4d06-8534-39528af40f8e.apps.googleusercontent.com", "defaultProvider": "Google", + "enabled": true, + "runtimeVersion": "~1", "tokenRefreshExtensionHours": 120, - "clientId": "42d795a9-8abb-4d06-8534-39528af40f8e.apps.googleusercontent.com" + "tokenStoreEnabled": true, + "unauthenticatedClientAction": "RedirectToLoginPage" } - } + }, + "headers": {} } - } + }, + "operationId": "WebApps_GetAuthSettings", + "title": "List Auth Settings" } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/ListAuthSettingsV2.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/ListAuthSettingsV2.json index 67b8cc77b7ad..011ef259daba 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/ListAuthSettingsV2.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/ListAuthSettingsV2.json @@ -1,43 +1,48 @@ { "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "testrg123", "name": "sitef6141", - "api-version": "2025-03-01" + "api-version": "2025-03-01", + "resourceGroupName": "testrg123", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" }, "responses": { "200": { - "headers": {}, "body": { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/sitef6141/config/authsettingsv2", "name": "authsettingsv2", "type": "Microsoft.Web/sites/authsettingsv2", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/sitef6141/config/authsettingsv2", "kind": "app", "properties": { - "platform": { - "enabled": true, - "runtimeVersion": "~1", - "configFilePath": "/auth/config.json" - }, "globalValidation": { - "requireAuthentication": true, - "unauthenticatedClientAction": "Return403", "excludedPaths": [ "/nosecrets/Path" - ] + ], + "requireAuthentication": true, + "unauthenticatedClientAction": "Return403" + }, + "httpSettings": { + "forwardProxy": { + "convention": "Standard", + "customHostHeaderName": "authHeader", + "customProtoHeaderName": "customProtoHeader" + }, + "requireHttps": true, + "routes": { + "apiPrefix": "/authv2/" + } }, "identityProviders": { "google": { "enabled": true, - "registration": { - "clientId": "42d795a9-8abb-4d06-8534-39528af40f8e.apps.googleusercontent.com", - "clientSecretSettingName": "ClientSecret" - }, "login": { "scopes": [ "admin" ] }, + "registration": { + "clientId": "42d795a9-8abb-4d06-8534-39528af40f8e.apps.googleusercontent.com", + "clientSecretSettingName": "ClientSecret" + }, "validation": { "allowedAudiences": [ "https://example.com" @@ -46,17 +51,6 @@ } }, "login": { - "routes": { - "logoutEndpoint": "https://app.com/logout" - }, - "tokenStore": { - "enabled": true, - "tokenRefreshExtensionHours": 96, - "fileSystem": { - "directory": "/wwwroot/sites/example" - } - }, - "preserveUrlFragmentsForLogins": true, "allowedExternalRedirectUrls": [ "https://someurl.com" ], @@ -66,21 +60,29 @@ }, "nonce": { "validateNonce": true - } - }, - "httpSettings": { - "requireHttps": true, + }, + "preserveUrlFragmentsForLogins": true, "routes": { - "apiPrefix": "/authv2/" + "logoutEndpoint": "https://app.com/logout" }, - "forwardProxy": { - "convention": "Standard", - "customHostHeaderName": "authHeader", - "customProtoHeaderName": "customProtoHeader" + "tokenStore": { + "enabled": true, + "fileSystem": { + "directory": "/wwwroot/sites/example" + }, + "tokenRefreshExtensionHours": 96 } + }, + "platform": { + "configFilePath": "/auth/config.json", + "enabled": true, + "runtimeVersion": "~1" } } - } + }, + "headers": {} } - } + }, + "operationId": "WebApps_GetAuthSettingsV2", + "title": "List Auth Settings V2" } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/ListCertificates.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/ListCertificates.json index a5a2e8458dd0..51354729f635 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/ListCertificates.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/ListCertificates.json @@ -1,49 +1,51 @@ { "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "api-version": "2025-03-01" + "api-version": "2025-03-01", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" }, "responses": { "200": { - "headers": {}, "body": { "value": [ { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/certificates/testc6282", "name": "testc6282", "type": "Microsoft.Web/certificates", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/certificates/testc6282", "location": "East US", "properties": { + "expirationDate": "2039-12-31T23:59:59+00:00", "friendlyName": "", - "subjectName": "ServerCert", "hostNames": [ "ServerCert" ], - "issuer": "CACert", "issueDate": "2015-11-12T23:40:25+00:00", - "expirationDate": "2039-12-31T23:59:59+00:00", + "issuer": "CACert", + "subjectName": "ServerCert", "thumbprint": "FE703D7411A44163B6D32B3AD9B03E175886EBFE" } }, { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/certificates/testc4912", "name": "testc4912", "type": "Microsoft.Web/certificates", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/certificates/testc4912", "location": "West US", "properties": { + "expirationDate": "2040-12-31T23:59:59+00:00", "friendlyName": "", - "subjectName": "ServerCert2", "hostNames": [ "ServerCert2" ], - "issuer": "CACert", "issueDate": "2015-12-12T23:40:25+00:00", - "expirationDate": "2040-12-31T23:59:59+00:00", + "issuer": "CACert", + "subjectName": "ServerCert2", "thumbprint": "FE703D7411A44163B6D32B3AD9B0490D5886EBFE" } } ] - } + }, + "headers": {} } - } + }, + "operationId": "Certificates_List", + "title": "List Certificates for subscription" } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/ListCertificatesByResourceGroup.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/ListCertificatesByResourceGroup.json index ab73bc9438f4..1145066d9a38 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/ListCertificatesByResourceGroup.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/ListCertificatesByResourceGroup.json @@ -1,50 +1,52 @@ { "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "api-version": "2025-03-01", "resourceGroupName": "testrg123", - "api-version": "2025-03-01" + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" }, "responses": { "200": { - "headers": {}, "body": { "value": [ { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/certificates/testc6282", "name": "testc6282", "type": "Microsoft.Web/certificates", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/certificates/testc6282", "location": "East US", "properties": { + "expirationDate": "2039-12-31T23:59:59+00:00", "friendlyName": "", - "subjectName": "ServerCert", "hostNames": [ "ServerCert" ], - "issuer": "CACert", "issueDate": "2015-11-12T23:40:25+00:00", - "expirationDate": "2039-12-31T23:59:59+00:00", + "issuer": "CACert", + "subjectName": "ServerCert", "thumbprint": "FE703D7411A44163B6D32B3AD9B03E175886EBFE" } }, { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/certificates/testc4912", "name": "testc4912", "type": "Microsoft.Web/certificates", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/certificates/testc4912", "location": "West US", "properties": { + "expirationDate": "2040-12-31T23:59:59+00:00", "friendlyName": "", - "subjectName": "ServerCert2", "hostNames": [ "ServerCert2" ], - "issuer": "CACert", "issueDate": "2015-12-12T23:40:25+00:00", - "expirationDate": "2040-12-31T23:59:59+00:00", + "issuer": "CACert", + "subjectName": "ServerCert2", "thumbprint": "FE703D7411A44163B6D32B3AD9B0490D5886EBFE" } } ] - } + }, + "headers": {} } - } + }, + "operationId": "Certificates_ListByResourceGroup", + "title": "List Certificates by resource group" } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/ListCustomHostNameSites.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/ListCustomHostNameSites.json index a38c70bb6bcb..0afce067683c 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/ListCustomHostNameSites.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/ListCustomHostNameSites.json @@ -1,17 +1,17 @@ { "parameters": { - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "api-version": "2025-03-01" + "api-version": "2025-03-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { - "headers": {}, "body": { + "nextLink": null, "value": [ { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Web/customhostnameSites/mywebapp.azurewebsites.net", "name": "mywebapp.azurewebsites.net", "type": "Microsoft.Web/customhostnameSites", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Web/customhostnameSites/mywebapp.azurewebsites.net", "properties": { "customHostname": "mywebapp.azurewebsites.net", "region": "West US", @@ -23,9 +23,9 @@ } }, { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Web/customhostnameSites/www.example.com", "name": "www.example.com", "type": "Microsoft.Web/customhostnameSites", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Web/customhostnameSites/www.example.com", "properties": { "customHostname": "www.example.com", "region": "West US 2", @@ -42,9 +42,11 @@ ] } } - ], - "nextLink": null - } + ] + }, + "headers": {} } - } + }, + "operationId": "ListCustomHostNameSites", + "title": "Get custom hostnames under subscription" } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/ListCustomSpecificHostNameSites.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/ListCustomSpecificHostNameSites.json index da814ab317e8..582287624268 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/ListCustomSpecificHostNameSites.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/ListCustomSpecificHostNameSites.json @@ -1,18 +1,18 @@ { "parameters": { - "subscriptionId": "00000000-0000-0000-0000-000000000000", + "api-version": "2025-03-01", "hostname": "www.example.com", - "api-version": "2025-03-01" + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { - "headers": {}, "body": { + "nextLink": null, "value": [ { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Web/customhostnameSites/www.example.com", "name": "www.example.com", "type": "Microsoft.Web/customhostnameSites", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Web/customhostnameSites/www.example.com", "properties": { "customHostname": "www.example.com", "region": "West US 2", @@ -29,9 +29,11 @@ ] } } - ], - "nextLink": null - } + ] + }, + "headers": {} } - } + }, + "operationId": "ListCustomHostNameSites", + "title": "Get specific custom hostname under subscription" } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/ListDeletedWebAppsByLocation.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/ListDeletedWebAppsByLocation.json index 005c16beec93..90da67028052 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/ListDeletedWebAppsByLocation.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/ListDeletedWebAppsByLocation.json @@ -1,32 +1,34 @@ { "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "api-version": "2025-03-01", "location": "West US 2", - "api-version": "2025-03-01" + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" }, "responses": { "200": { - "headers": {}, "body": { + "nextLink": null, "value": [ { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg1/providers/Microsoft.Web/locations/West US 2/deletedwebapps/wussite6", "name": "wussite6", "type": "Microsoft.Web/locations/deletedSites", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg1/providers/Microsoft.Web/locations/West US 2/deletedwebapps/wussite6", "properties": { "deletedSiteId": 9, + "deletedSiteName": "wussite6", "deletedTimestamp": "2019-05-09T22:29:05.1337007", - "subscription": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "geoRegionName": "West US 2", + "kind": "app", "resourceGroup": "rg1", - "deletedSiteName": "wussite6", "slot": "Production", - "kind": "app", - "geoRegionName": "West US 2" + "subscription": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" } } - ], - "nextLink": null - } + ] + }, + "headers": {} } - } + }, + "operationId": "DeletedWebApps_ListByLocation", + "title": "List Deleted Web App by Location" } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/ListOperations.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/ListOperations.json index 9904af8c49d1..3ec3331f59a0 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/ListOperations.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/ListOperations.json @@ -4,3576 +4,3575 @@ }, "responses": { "200": { - "headers": {}, "body": { "value": [ { "name": "Microsoft.Web/sites/Read", "display": { - "provider": "Microsoft Web Apps", - "resource": "Web App", + "description": "Get the properties of a Web App", "operation": "Get Web App", - "description": "Get the properties of a Web App" + "provider": "Microsoft Web Apps", + "resource": "Web App" }, "origin": "user,system" }, { "name": "Microsoft.Web/sites/Write", "display": { - "provider": "Microsoft Web Apps", - "resource": "Web App", + "description": "Create a new Web App or update an existing one", "operation": "Create or Update Web App", - "description": "Create a new Web App or update an existing one" + "provider": "Microsoft Web Apps", + "resource": "Web App" }, "origin": "user,system" }, { "name": "Microsoft.Web/sites/slots/Write", "display": { - "provider": "Microsoft Web Apps", - "resource": "Web App Slot", + "description": "Create a new Web App Slot or update an existing one", "operation": "Create or Update Web App Slot", - "description": "Create a new Web App Slot or update an existing one" + "provider": "Microsoft Web Apps", + "resource": "Web App Slot" }, "origin": "user,system" }, { "name": "Microsoft.Web/sites/Delete", "display": { - "provider": "Microsoft Web Apps", - "resource": "Web App", + "description": "Delete an existing Web App", "operation": "Delete Web App", - "description": "Delete an existing Web App" + "provider": "Microsoft Web Apps", + "resource": "Web App" }, "origin": "user,system" }, { "name": "Microsoft.Web/sites/slots/Delete", "display": { - "provider": "Microsoft Web Apps", - "resource": "Web App Slot", + "description": "Delete an existing Web App Slot", "operation": "Delete Web App Slot", - "description": "Delete an existing Web App Slot" + "provider": "Microsoft Web Apps", + "resource": "Web App Slot" }, "origin": "user,system" }, { "name": "Microsoft.Web/sites/slots/config/Read", "display": { - "provider": "Microsoft Web Apps", - "resource": "Web App Slot", + "description": "Get Web App Slot's configuration settings", "operation": "Get Web App Slot Configuration", - "description": "Get Web App Slot's configuration settings" + "provider": "Microsoft Web Apps", + "resource": "Web App Slot" }, "origin": "user,system" }, { "name": "Microsoft.Web/sites/config/Read", "display": { - "provider": "Microsoft Web Apps", - "resource": "Web App", + "description": "Get Web App configuration settings", "operation": "Get Web App Configuration", - "description": "Get Web App configuration settings" + "provider": "Microsoft Web Apps", + "resource": "Web App" }, "origin": "user,system" }, { "name": "Microsoft.Web/sites/config/list/Action", "display": { - "provider": "Microsoft Web Apps", - "resource": "Web App", + "description": "List Web App's security sensitive settings, such as publishing credentials, app settings and connection strings", "operation": "List Web App Security Sensitive Settings", - "description": "List Web App's security sensitive settings, such as publishing credentials, app settings and connection strings" + "provider": "Microsoft Web Apps", + "resource": "Web App" }, "origin": "user,system" }, { "name": "Microsoft.Web/sites/slots/config/list/Action", "display": { - "provider": "Microsoft Web Apps", - "resource": "Web App Slot", + "description": "List Web App Slot's security sensitive settings, such as publishing credentials, app settings and connection strings", "operation": "List Web App Slot Security Sensitive Settings", - "description": "List Web App Slot's security sensitive settings, such as publishing credentials, app settings and connection strings" + "provider": "Microsoft Web Apps", + "resource": "Web App Slot" }, "origin": "user,system" }, { "name": "Microsoft.Web/sites/config/Write", "display": { - "provider": "Microsoft Web Apps", - "resource": "Web App", + "description": "Update Web App's configuration settings", "operation": "Update Web App Configuration", - "description": "Update Web App's configuration settings" + "provider": "Microsoft Web Apps", + "resource": "Web App" }, "origin": "user,system" }, { "name": "Microsoft.Web/sites/slots/config/Write", "display": { - "provider": "Microsoft Web Apps", - "resource": "Web App Slot", + "description": "Update Web App Slot's configuration settings", "operation": "Update Web App Slot Configuration", - "description": "Update Web App Slot's configuration settings" + "provider": "Microsoft Web Apps", + "resource": "Web App Slot" }, "origin": "user,system" }, { "name": "Microsoft.Web/sites/sourcecontrols/Read", "display": { - "provider": "Microsoft Web Apps", - "resource": "Web App", + "description": "Get Web App's source control configuration settings", "operation": "Get Web App Source Control Configuration", - "description": "Get Web App's source control configuration settings" + "provider": "Microsoft Web Apps", + "resource": "Web App" }, "origin": "user,system" }, { "name": "Microsoft.Web/sites/slots/sourcecontrols/Read", "display": { - "provider": "Microsoft Web Apps", - "resource": "Web App Slot", + "description": "Get Web App Slot's source control configuration settings", "operation": "Get Web App Slot Source Control Configuration", - "description": "Get Web App Slot's source control configuration settings" + "provider": "Microsoft Web Apps", + "resource": "Web App Slot" }, "origin": "user,system" }, { "name": "Microsoft.Web/sites/sourcecontrols/Write", "display": { - "provider": "Microsoft Web Apps", - "resource": "Web App", + "description": "Update Web App's source control configuration settings", "operation": "Update Web App Source Control Configuration", - "description": "Update Web App's source control configuration settings" + "provider": "Microsoft Web Apps", + "resource": "Web App" }, "origin": "user,system" }, { "name": "Microsoft.Web/sites/slots/sourcecontrols/Write", "display": { - "provider": "Microsoft Web Apps", - "resource": "Web App Slot", + "description": "Update Web App Slot's source control configuration settings", "operation": "Update Web App Slot Source Control Configuration", - "description": "Update Web App Slot's source control configuration settings" + "provider": "Microsoft Web Apps", + "resource": "Web App Slot" }, "origin": "user,system" }, { "name": "Microsoft.Web/sites/sourcecontrols/Delete", "display": { - "provider": "Microsoft Web Apps", - "resource": "Web App", + "description": "Delete Web App's source control configuration settings", "operation": "Delete Web App Source Control Configuration", - "description": "Delete Web App's source control configuration settings" + "provider": "Microsoft Web Apps", + "resource": "Web App" }, "origin": "user,system" }, { "name": "Microsoft.Web/sites/slots/sourcecontrols/Delete", "display": { - "provider": "Microsoft Web Apps", - "resource": "Web App Slot", + "description": "Delete Web App Slot's source control configuration settings", "operation": "Delete Web App Slot Source Control Configuration", - "description": "Delete Web App Slot's source control configuration settings" + "provider": "Microsoft Web Apps", + "resource": "Web App Slot" }, "origin": "user,system" }, { "name": "Microsoft.Web/sites/backup/Action", "display": { - "provider": "Microsoft Web Apps", - "resource": "Web App", + "description": "Create a new web app backup", "operation": "Create Web App Backup", - "description": "Create a new web app backup" + "provider": "Microsoft Web Apps", + "resource": "Web App" }, "origin": "user,system" }, { "name": "Microsoft.Web/sites/slots/backup/Action", "display": { - "provider": "Microsoft Web Apps", - "resource": "Web App Slot", + "description": "Create new Web App Slot backup.", "operation": "Create Web App Slot Backup", - "description": "Create new Web App Slot backup." + "provider": "Microsoft Web Apps", + "resource": "Web App Slot" }, "origin": "user,system" }, { "name": "Microsoft.Web/sites/backups/Read", "display": { - "provider": "Microsoft Web Apps", - "resource": "Web App", + "description": "Get the properties of a web app's backup", "operation": "Get Web App Backup", - "description": "Get the properties of a web app's backup" + "provider": "Microsoft Web Apps", + "resource": "Web App" }, "origin": "user,system" }, { "name": "Microsoft.Web/sites/slots/backups/Read", "display": { - "provider": "Microsoft Web Apps", - "resource": "Web App Slot", + "description": "Get the properties of a web app slots' backup", "operation": "List Web App Slot Backups", - "description": "Get the properties of a web app slots' backup" + "provider": "Microsoft Web Apps", + "resource": "Web App Slot" }, "origin": "user,system" }, { "name": "Microsoft.Web/sites/publishxml/Action", "display": { - "provider": "Microsoft Web Apps", - "resource": "Web App", + "description": "Get publishing profile xml for a Web App", "operation": "Get Web App Publishing Profile", - "description": "Get publishing profile xml for a Web App" + "provider": "Microsoft Web Apps", + "resource": "Web App" }, "origin": "user,system" }, { "name": "Microsoft.Web/sites/slots/publishxml/Action", "display": { - "provider": "Microsoft Web Apps", - "resource": "Web App Slot", + "description": "Get publishing profile xml for Web App Slot", "operation": "Get Web App Slot Publishing Profile", - "description": "Get publishing profile xml for Web App Slot" + "provider": "Microsoft Web Apps", + "resource": "Web App Slot" }, "origin": "user,system" }, { "name": "Microsoft.Web/sites/publish/Action", "display": { - "provider": "Microsoft Web Apps", - "resource": "Web App", + "description": "Publish a Web App", "operation": "Publish Web App", - "description": "Publish a Web App" + "provider": "Microsoft Web Apps", + "resource": "Web App" }, "origin": "user,system" }, { "name": "Microsoft.Web/sites/slots/publish/Action", "display": { - "provider": "Microsoft Web Apps", - "resource": "Web App Slot", + "description": "Publish a Web App Slot", "operation": "Publish Web App Slot", - "description": "Publish a Web App Slot" + "provider": "Microsoft Web Apps", + "resource": "Web App Slot" }, "origin": "user,system" }, { "name": "Microsoft.Web/sites/restart/Action", "display": { - "provider": "Microsoft Web Apps", - "resource": "Web App", + "description": "Restart a Web App", "operation": "Restart Web App", - "description": "Restart a Web App" + "provider": "Microsoft Web Apps", + "resource": "Web App" }, "origin": "user,system" }, { "name": "Microsoft.Web/sites/slots/restart/Action", "display": { - "provider": "Microsoft Web Apps", - "resource": "Web App Slot", + "description": "Restart a Web App Slot", "operation": "Restart Web App Slot", - "description": "Restart a Web App Slot" + "provider": "Microsoft Web Apps", + "resource": "Web App Slot" }, "origin": "user,system" }, { "name": "Microsoft.Web/sites/start/Action", "display": { - "provider": "Microsoft Web Apps", - "resource": "Web App", + "description": "Start a Web App", "operation": "Start Web App", - "description": "Start a Web App" + "provider": "Microsoft Web Apps", + "resource": "Web App" }, "origin": "user,system" }, { "name": "Microsoft.Web/sites/slots/start/Action", "display": { - "provider": "Microsoft Web Apps", - "resource": "Web App Slot", + "description": "Start a Web App Slot", "operation": "Start Web App Slot", - "description": "Start a Web App Slot" + "provider": "Microsoft Web Apps", + "resource": "Web App Slot" }, "origin": "user,system" }, { "name": "Microsoft.Web/sites/stop/Action", "display": { - "provider": "Microsoft Web Apps", - "resource": "Web App", + "description": "Stop a Web App", "operation": "Stop Web App", - "description": "Stop a Web App" + "provider": "Microsoft Web Apps", + "resource": "Web App" }, "origin": "user,system" }, { "name": "Microsoft.Web/sites/slots/stop/Action", "display": { - "provider": "Microsoft Web Apps", - "resource": "Web App Slot", + "description": "Stop a Web App Slot", "operation": "Stop Web App Slot", - "description": "Stop a Web App Slot" + "provider": "Microsoft Web Apps", + "resource": "Web App Slot" }, "origin": "user,system" }, { "name": "Microsoft.Web/sites/slotsswap/Action", "display": { - "provider": "Microsoft Web Apps", - "resource": "Web App", + "description": "Swap Web App deployment slots", "operation": "Swap Web App Slots", - "description": "Swap Web App deployment slots" + "provider": "Microsoft Web Apps", + "resource": "Web App" }, "origin": "user,system" }, { "name": "Microsoft.Web/sites/slots/slotsswap/Action", "display": { - "provider": "Microsoft Web Apps", - "resource": "Web App Slot", + "description": "Swap Web App deployment slots", "operation": "Swap Web App Slots", - "description": "Swap Web App deployment slots" + "provider": "Microsoft Web Apps", + "resource": "Web App Slot" }, "origin": "user,system" }, { "name": "Microsoft.Web/sites/slotsdiffs/Action", "display": { - "provider": "Microsoft Web Apps", - "resource": "Web App", + "description": "Get differences in configuration between web app and slots", "operation": "Get Web App Slots Differences", - "description": "Get differences in configuration between web app and slots" + "provider": "Microsoft Web Apps", + "resource": "Web App" }, "origin": "user,system" }, { "name": "Microsoft.Web/sites/slots/slotsdiffs/Action", "display": { - "provider": "Microsoft Web Apps", - "resource": "Web App Slot", + "description": "Get differences in configuration between web app and slots", "operation": "Get Web App Slots Differences", - "description": "Get differences in configuration between web app and slots" + "provider": "Microsoft Web Apps", + "resource": "Web App Slot" }, "origin": "user,system" }, { "name": "Microsoft.Web/sites/applySlotConfig/Action", "display": { - "provider": "Microsoft Web Apps", - "resource": "Web App", + "description": "Apply web app slot configuration from target slot to the current web app", "operation": "Apply Web App Configuration", - "description": "Apply web app slot configuration from target slot to the current web app" + "provider": "Microsoft Web Apps", + "resource": "Web App" }, "origin": "user,system" }, { "name": "Microsoft.Web/sites/slots/applySlotConfig/Action", "display": { - "provider": "Microsoft Web Apps", - "resource": "Web App Slot", + "description": "Apply web app slot configuration from target slot to the current slot.", "operation": "Apply Web App Slot Configuration", - "description": "Apply web app slot configuration from target slot to the current slot." + "provider": "Microsoft Web Apps", + "resource": "Web App Slot" }, "origin": "user,system" }, { "name": "Microsoft.Web/sites/resetSlotConfig/Action", "display": { - "provider": "Microsoft Web Apps", - "resource": "Web App", + "description": "Reset web app configuration", "operation": "Reset Web App Configuration", - "description": "Reset web app configuration" + "provider": "Microsoft Web Apps", + "resource": "Web App" }, "origin": "user,system" }, { "name": "Microsoft.Web/sites/slots/resetSlotConfig/Action", "display": { - "provider": "Microsoft Web Apps", - "resource": "Web App Slot", + "description": "Reset web app slot configuration", "operation": "Reset Web App Slot Configuration", - "description": "Reset web app slot configuration" + "provider": "Microsoft Web Apps", + "resource": "Web App Slot" }, "origin": "user,system" }, { "name": "Microsoft.Web/sites/slots/Read", "display": { - "provider": "Microsoft Web Apps", - "resource": "Web App Slot", + "description": "Get the properties of a Web App deployment slot", "operation": "Get Web App Deployment Slot", - "description": "Get the properties of a Web App deployment slot" + "provider": "Microsoft Web Apps", + "resource": "Web App Slot" }, "origin": "user,system" }, { "name": "Microsoft.Web/serverfarms/Read", "display": { - "provider": "Microsoft Web Apps", - "resource": "App Service Plan", + "description": "Get the properties on an App Service Plan", "operation": "Get App Service Plan", - "description": "Get the properties on an App Service Plan" + "provider": "Microsoft Web Apps", + "resource": "App Service Plan" }, "origin": "user,system" }, { "name": "Microsoft.Web/serverfarms/Write", "display": { - "provider": "Microsoft Web Apps", - "resource": "App Service Plan", + "description": "Create a new App Service Plan or update an existing one", "operation": "Create or Update App Service Plan", - "description": "Create a new App Service Plan or update an existing one" + "provider": "Microsoft Web Apps", + "resource": "App Service Plan" }, "origin": "user,system" }, { "name": "Microsoft.Web/serverfarms/Delete", "display": { - "provider": "Microsoft Web Apps", - "resource": "App Service Plan", + "description": "Delete an existing App Service Plan", "operation": "Delete App Service Plan", - "description": "Delete an existing App Service Plan" + "provider": "Microsoft Web Apps", + "resource": "App Service Plan" }, "origin": "user,system" }, { "name": "Microsoft.Web/serverfarms/restartSites/Action", "display": { - "provider": "Microsoft Web Apps", - "resource": "App Service Plan", + "description": "Restart all Web Apps in an App Service Plan", "operation": "Restart Web Apps", - "description": "Restart all Web Apps in an App Service Plan" + "provider": "Microsoft Web Apps", + "resource": "App Service Plan" }, "origin": "user,system" }, { "name": "Microsoft.Web/certificates/Read", "display": { - "provider": "Microsoft Web Apps", - "resource": "Certificate", + "description": "Get the list of certificates.", "operation": "Get Certificates", - "description": "Get the list of certificates." + "provider": "Microsoft Web Apps", + "resource": "Certificate" }, "origin": "user,system" }, { "name": "Microsoft.Web/certificates/Write", "display": { - "provider": "Microsoft Web Apps", - "resource": "Certificate", + "description": "Add a new certificate or update an existing one.", "operation": "Add or Update Certificate", - "description": "Add a new certificate or update an existing one." + "provider": "Microsoft Web Apps", + "resource": "Certificate" }, "origin": "user,system" }, { "name": "Microsoft.Web/certificates/Delete", "display": { - "provider": "Microsoft Web Apps", - "resource": "Certificate", + "description": "Delete an existing certificate.", "operation": "Delete Certificate", - "description": "Delete an existing certificate." + "provider": "Microsoft Web Apps", + "resource": "Certificate" }, "origin": "user,system" }, { "name": "Microsoft.Web/aseRegions/Read", "display": { - "provider": "Microsoft Web Apps", - "resource": "ASE Region", + "description": "Get the list of ASE regions.", "operation": "Get ASE Regions", - "description": "Get the list of ASE regions." + "provider": "Microsoft Web Apps", + "resource": "ASE Region" }, "origin": "user,system" }, { "name": "Microsoft.Web/geoRegions/Read", "display": { - "provider": "Microsoft Web Apps", - "resource": "Geo Region", + "description": "Get the list of Geo regions.", "operation": "Get Geo Regions", - "description": "Get the list of Geo regions." + "provider": "Microsoft Web Apps", + "resource": "Geo Region" }, "origin": "user,system" }, { "name": "Microsoft.Web/listSitesAssignedToHostName/Read", "display": { - "provider": "Microsoft Web Apps", - "resource": "Site Name", + "description": "Get names of sites assigned to hostname.", "operation": "Get sites assigned to hostname", - "description": "Get names of sites assigned to hostname." + "provider": "Microsoft Web Apps", + "resource": "Site Name" }, "origin": "user,system" }, { "name": "Microsoft.Web/hostingEnvironments/Read", "display": { - "provider": "Microsoft Web Apps", - "resource": "App Service Environment", + "description": "Get the properties of an App Service Environment", "operation": "Get App Service Environment", - "description": "Get the properties of an App Service Environment" + "provider": "Microsoft Web Apps", + "resource": "App Service Environment" }, "origin": "user,system" }, { "name": "Microsoft.Web/hostingEnvironments/Write", "display": { - "provider": "Microsoft Web Apps", - "resource": "App Service Environment", + "description": "Create a new App Service Environment or update existing one", "operation": "Create or Update App Service Environment", - "description": "Create a new App Service Environment or update existing one" + "provider": "Microsoft Web Apps", + "resource": "App Service Environment" }, "origin": "user,system" }, { "name": "Microsoft.Web/hostingEnvironments/Delete", "display": { - "provider": "Microsoft Web Apps", - "resource": "App Service Environment", + "description": "Delete an App Service Environment", "operation": "Delete App Service Environment", - "description": "Delete an App Service Environment" + "provider": "Microsoft Web Apps", + "resource": "App Service Environment" }, "origin": "user,system" }, { "name": "Microsoft.Web/hostingEnvironments/reboot/Action", "display": { - "provider": "Microsoft Web Apps", - "resource": "App Service Environment", + "description": "Reboot all machines in an App Service Environment", "operation": "Reboot an App Service Environment", - "description": "Reboot all machines in an App Service Environment" + "provider": "Microsoft Web Apps", + "resource": "App Service Environment" }, "origin": "user,system" }, { "name": "Microsoft.Web/hostingEnvironments/multiRolePools/Read", "display": { - "provider": "Microsoft Web Apps", - "resource": "App Service Environment FrontEnd Pool", + "description": "Get the properties of a FrontEnd Pool in an App Service Environment", "operation": "Get FrontEnd Pool", - "description": "Get the properties of a FrontEnd Pool in an App Service Environment" + "provider": "Microsoft Web Apps", + "resource": "App Service Environment FrontEnd Pool" }, "origin": "user,system" }, { "name": "Microsoft.Web/hostingEnvironments/multiRolePools/Write", "display": { - "provider": "Microsoft Web Apps", - "resource": "App Service Environment FrontEnd Pool", + "description": "Create a new FrontEnd Pool in an App Service Environment or update an existing one", "operation": "Create or Update FrontEnd Pool", - "description": "Create a new FrontEnd Pool in an App Service Environment or update an existing one" + "provider": "Microsoft Web Apps", + "resource": "App Service Environment FrontEnd Pool" }, "origin": "user,system" }, { "name": "Microsoft.Web/hostingEnvironments/workerPools/Read", "display": { - "provider": "Microsoft Web Apps", - "resource": "App Service Environment Worker Pool", + "description": "Get the properties of a Worker Pool in an App Service Environment", "operation": "Get Worker Pool", - "description": "Get the properties of a Worker Pool in an App Service Environment" + "provider": "Microsoft Web Apps", + "resource": "App Service Environment Worker Pool" }, "origin": "user,system" }, { "name": "Microsoft.Web/hostingEnvironments/workerPools/Write", "display": { - "provider": "Microsoft Web Apps", - "resource": "App Service Environment Worker Pool", + "description": "Create a new Worker Pool in an App Service Environment or update an existing one", "operation": "Create or Update Worker Pool", - "description": "Create a new Worker Pool in an App Service Environment or update an existing one" + "provider": "Microsoft Web Apps", + "resource": "App Service Environment Worker Pool" }, "origin": "user,system" }, { "name": "Microsoft.Web/connections/Read", "display": { - "provider": "Microsoft Web Apps", - "resource": "Connections", + "description": "Get the list of Connections.", "operation": "Get Connections", - "description": "Get the list of Connections." + "provider": "Microsoft Web Apps", + "resource": "Connections" }, "origin": "user,system" }, { "name": "Microsoft.Web/connections/Write", "display": { - "provider": "Microsoft Web Apps", - "resource": "Connections", + "description": "Creates or updates a Connection.", "operation": "Add or Update Connection", - "description": "Creates or updates a Connection." + "provider": "Microsoft Web Apps", + "resource": "Connections" }, "origin": "user,system" }, { "name": "Microsoft.Web/connections/Delete", "display": { - "provider": "Microsoft Web Apps", - "resource": "Connections", + "description": "Deletes a Connection.", "operation": "Delete Connection", - "description": "Deletes a Connection." + "provider": "Microsoft Web Apps", + "resource": "Connections" }, "origin": "user,system" }, { "name": "Microsoft.Web/connections/Join/Action", "display": { - "provider": "Microsoft Web Apps", - "resource": "Connections", + "description": "Joins a Connection.", "operation": "Join Connection", - "description": "Joins a Connection." + "provider": "Microsoft Web Apps", + "resource": "Connections" }, "origin": "user,system" }, { "name": "Microsoft.Web/connectionGateways/Read", "display": { - "provider": "Microsoft Web Apps", - "resource": "Connection Gateways", + "description": "Get the list of Connection Gateways.", "operation": "Get Connection Gateways", - "description": "Get the list of Connection Gateways." + "provider": "Microsoft Web Apps", + "resource": "Connection Gateways" }, "origin": "user,system" }, { "name": "Microsoft.Web/connectionGateways/Write", "display": { - "provider": "Microsoft Web Apps", - "resource": "Connection Gateways", + "description": "Creates or updates a Connection Gateway.", "operation": "Add or Update Connection Gateways", - "description": "Creates or updates a Connection Gateway." + "provider": "Microsoft Web Apps", + "resource": "Connection Gateways" }, "origin": "user,system" }, { "name": "Microsoft.Web/connectionGateways/Delete", "display": { - "provider": "Microsoft Web Apps", - "resource": "Connection Gateways", + "description": "Deletes a Connection Gateway.", "operation": "Delete Connection Gateway", - "description": "Deletes a Connection Gateway." + "provider": "Microsoft Web Apps", + "resource": "Connection Gateways" }, "origin": "user,system" }, { "name": "Microsoft.Web/connectionGateways/Join/Action", "display": { - "provider": "Microsoft Web Apps", - "resource": "Connection Gateways", + "description": "Joins a Connection Gateway.", "operation": "Join Connection Gateway", - "description": "Joins a Connection Gateway." + "provider": "Microsoft Web Apps", + "resource": "Connection Gateways" }, "origin": "user,system" }, { "name": "Microsoft.Web/recommendations/Read", "display": { - "provider": "Microsoft Web Apps", - "resource": "Recommendation", + "description": "Get the list of recommendations for subscriptions.", "operation": "Get recommendations", - "description": "Get the list of recommendations for subscriptions." + "provider": "Microsoft Web Apps", + "resource": "Recommendation" }, "origin": "user,system" }, { "name": "Microsoft.Web/sites/recommendations/Read", "display": { - "provider": "Microsoft Web Apps", - "resource": "Recommendation", + "description": "Get the list of recommendations for web app.", "operation": "Get recommendations for web app", - "description": "Get the list of recommendations for web app." + "provider": "Microsoft Web Apps", + "resource": "Recommendation" }, "origin": "user,system" }, { "name": "microsoft.web/availablestacks/read", "display": { - "provider": "Microsoft Web Apps", - "resource": "Available Stacks", + "description": "Get Available Stacks.", "operation": "Get Available Stacks", - "description": "Get Available Stacks." + "provider": "Microsoft Web Apps", + "resource": "Available Stacks" }, "origin": "user,system" }, { "name": "microsoft.web/functionappstacks/read", "display": { - "provider": "Microsoft Web Apps", - "resource": "Function App Stacks", + "description": "Get Function App Stacks.", "operation": "Get Function App Stacks", - "description": "Get Function App Stacks." + "provider": "Microsoft Web Apps", + "resource": "Function App Stacks" }, "origin": "user,system" }, { "name": "microsoft.web/webappstacks/read", "display": { - "provider": "Microsoft Web Apps", - "resource": "Web App Stacks", + "description": "Get Web App Stacks.", "operation": "Get Web App Stacks", - "description": "Get Web App Stacks." + "provider": "Microsoft Web Apps", + "resource": "Web App Stacks" }, "origin": "user,system" }, { "name": "microsoft.web/checknameavailability/read", "display": { - "provider": "Microsoft Web Apps", - "resource": "Check Name Availability", + "description": "Check if resource name is available.", "operation": "Get Check Name Availability", - "description": "Check if resource name is available." + "provider": "Microsoft Web Apps", + "resource": "Check Name Availability" }, "origin": "user,system" }, { "name": "microsoft.web/locations/checknameavailability/read", "display": { - "provider": "Microsoft Web Apps", - "resource": "DNL Check Name Availability", + "description": "Check if resource name is available for DNL apps.", "operation": "Get Check Name Availability", - "description": "Check if resource name is available for DNL apps." + "provider": "Microsoft Web Apps", + "resource": "DNL Check Name Availability" }, "origin": "user,system" }, { "name": "microsoft.web/classicmobileservices/read", "display": { - "provider": "Microsoft Web Apps", - "resource": "Classic Mobile Services", + "description": "Get Classic Mobile Services.", "operation": "Get Classic Mobile Services", - "description": "Get Classic Mobile Services." + "provider": "Microsoft Web Apps", + "resource": "Classic Mobile Services" }, "origin": "user,system" }, { "name": "microsoft.web/connections/confirmconsentcode/action", "display": { - "provider": "Microsoft Web Apps", - "resource": "Connections", + "description": "Confirm Connections Consent Code.", "operation": "Confirm Connections Consent Code", - "description": "Confirm Connections Consent Code." + "provider": "Microsoft Web Apps", + "resource": "Connections" }, "origin": "user,system" }, { "name": "microsoft.web/connections/listconsentlinks/action", "display": { - "provider": "Microsoft Web Apps", - "resource": "Connections", + "description": "List Consent Links for Connections.", "operation": "List Consent Links for Connections", - "description": "List Consent Links for Connections." + "provider": "Microsoft Web Apps", + "resource": "Connections" }, "origin": "user,system" }, { "name": "microsoft.web/deploymentlocations/read", "display": { - "provider": "Microsoft Web Apps", - "resource": "Deployment Locations", + "description": "Get Deployment Locations.", "operation": "Get Deployment Locations", - "description": "Get Deployment Locations." + "provider": "Microsoft Web Apps", + "resource": "Deployment Locations" }, "origin": "user,system" }, { "name": "microsoft.web/hostingenvironments/capacities/read", "display": { - "provider": "Microsoft Web Apps", - "resource": "Hosting Environments Capacities", + "description": "Get Hosting Environments Capacities.", "operation": "Get Hosting Environments Capacities", - "description": "Get Hosting Environments Capacities." + "provider": "Microsoft Web Apps", + "resource": "Hosting Environments Capacities" }, "origin": "user,system" }, { "name": "microsoft.web/hostingenvironments/diagnostics/read", "display": { - "provider": "Microsoft Web Apps", - "resource": "Hosting Environments Diagnostics", + "description": "Get Hosting Environments Diagnostics.", "operation": "Get Hosting Environments Diagnostics", - "description": "Get Hosting Environments Diagnostics." + "provider": "Microsoft Web Apps", + "resource": "Hosting Environments Diagnostics" }, "origin": "user,system" }, { "name": "microsoft.web/hostingenvironments/metricdefinitions/read", "display": { - "provider": "Microsoft Web Apps", - "resource": "Hosting Environments Metric Definitions", + "description": "Get Hosting Environments Metric Definitions.", "operation": "Get Hosting Environments Metric Definitions", - "description": "Get Hosting Environments Metric Definitions." + "provider": "Microsoft Web Apps", + "resource": "Hosting Environments Metric Definitions" }, "origin": "user,system" }, { "name": "microsoft.web/hostingenvironments/multirolepools/metricdefinitions/read", "display": { - "provider": "Microsoft Web Apps", - "resource": "Hosting Environments MultiRole Pools Metric Definitions", + "description": "Get Hosting Environments MultiRole Pools Metric Definitions.", "operation": "Get Hosting Environments MultiRole Pools Metric Definitions", - "description": "Get Hosting Environments MultiRole Pools Metric Definitions." + "provider": "Microsoft Web Apps", + "resource": "Hosting Environments MultiRole Pools Metric Definitions" }, "origin": "user,system" }, { "name": "microsoft.web/hostingenvironments/multirolepools/metrics/read", "display": { - "provider": "Microsoft Web Apps", - "resource": "Hosting Environments MultiRole Pools Metrics", + "description": "Get Hosting Environments MultiRole Pools Metrics.", "operation": "Get Hosting Environments MultiRole Pools Metrics", - "description": "Get Hosting Environments MultiRole Pools Metrics." + "provider": "Microsoft Web Apps", + "resource": "Hosting Environments MultiRole Pools Metrics" }, "origin": "user,system" }, { "name": "microsoft.web/hostingenvironments/multirolepools/skus/read", "display": { - "provider": "Microsoft Web Apps", - "resource": "Hosting Environments MultiRole Pools SKUs", + "description": "Get Hosting Environments MultiRole Pools SKUs.", "operation": "Get Hosting Environments MultiRole Pools SKUs", - "description": "Get Hosting Environments MultiRole Pools SKUs." + "provider": "Microsoft Web Apps", + "resource": "Hosting Environments MultiRole Pools SKUs" }, "origin": "user,system" }, { "name": "microsoft.web/hostingenvironments/multirolepools/usages/read", "display": { - "provider": "Microsoft Web Apps", - "resource": "Hosting Environments MultiRole Pools Usages", + "description": "Get Hosting Environments MultiRole Pools Usages.", "operation": "Get Hosting Environments MultiRole Pools Usages", - "description": "Get Hosting Environments MultiRole Pools Usages." + "provider": "Microsoft Web Apps", + "resource": "Hosting Environments MultiRole Pools Usages" }, "origin": "user,system" }, { "name": "microsoft.web/hostingenvironments/operations/read", "display": { - "provider": "Microsoft Web Apps", - "resource": "Hosting Environments Operations", + "description": "Get Hosting Environments Operations.", "operation": "Get Hosting Environments Operations", - "description": "Get Hosting Environments Operations." + "provider": "Microsoft Web Apps", + "resource": "Hosting Environments Operations" }, "origin": "user,system" }, { "name": "microsoft.web/hostingenvironments/resume/action", "display": { - "provider": "Microsoft Web Apps", - "resource": "Hosting Environments", + "description": "Resume Hosting Environments.", "operation": "Resume Hosting Environments", - "description": "Resume Hosting Environments." + "provider": "Microsoft Web Apps", + "resource": "Hosting Environments" }, "origin": "user,system" }, { "name": "microsoft.web/hostingenvironments/serverfarms/read", "display": { - "provider": "Microsoft Web Apps", - "resource": "Hosting Environments App Service Plans", + "description": "Get Hosting Environments App Service Plans.", "operation": "Get Hosting Environments App Service Plans", - "description": "Get Hosting Environments App Service Plans." + "provider": "Microsoft Web Apps", + "resource": "Hosting Environments App Service Plans" }, "origin": "user,system" }, { "name": "microsoft.web/hostingenvironments/sites/read", "display": { - "provider": "Microsoft Web Apps", - "resource": "Hosting Environments Web Apps", + "description": "Get Hosting Environments Web Apps.", "operation": "Get Hosting Environments Web Apps", - "description": "Get Hosting Environments Web Apps." + "provider": "Microsoft Web Apps", + "resource": "Hosting Environments Web Apps" }, "origin": "user,system" }, { "name": "microsoft.web/hostingenvironments/suspend/action", "display": { - "provider": "Microsoft Web Apps", - "resource": "Hosting Environments", + "description": "Suspend Hosting Environments.", "operation": "Suspend Hosting Environments", - "description": "Suspend Hosting Environments." + "provider": "Microsoft Web Apps", + "resource": "Hosting Environments" }, "origin": "user,system" }, { "name": "microsoft.web/hostingenvironments/usages/read", "display": { - "provider": "Microsoft Web Apps", - "resource": "Hosting Environments Usages", + "description": "Get Hosting Environments Usages.", "operation": "Get Hosting Environments Usages", - "description": "Get Hosting Environments Usages." + "provider": "Microsoft Web Apps", + "resource": "Hosting Environments Usages" }, "origin": "user,system" }, { "name": "microsoft.web/hostingenvironments/workerpools/metricdefinitions/read", "display": { - "provider": "Microsoft Web Apps", - "resource": "Hosting Environments Workerpools Metric Definitions", + "description": "Get Hosting Environments Workerpools Metric Definitions.", "operation": "Get Hosting Environments Workerpools Metric Definitions", - "description": "Get Hosting Environments Workerpools Metric Definitions." + "provider": "Microsoft Web Apps", + "resource": "Hosting Environments Workerpools Metric Definitions" }, "origin": "user,system" }, { "name": "microsoft.web/hostingenvironments/workerpools/metrics/read", "display": { - "provider": "Microsoft Web Apps", - "resource": "Hosting Environments Workerpools Metrics", + "description": "Get Hosting Environments Workerpools Metrics.", "operation": "Get Hosting Environments Workerpools Metrics", - "description": "Get Hosting Environments Workerpools Metrics." + "provider": "Microsoft Web Apps", + "resource": "Hosting Environments Workerpools Metrics" }, "origin": "user,system" }, { "name": "microsoft.web/hostingenvironments/workerpools/skus/read", "display": { - "provider": "Microsoft Web Apps", - "resource": "Hosting Environments Workerpools SKUs", + "description": "Get Hosting Environments Workerpools SKUs.", "operation": "Get Hosting Environments Workerpools SKUs", - "description": "Get Hosting Environments Workerpools SKUs." + "provider": "Microsoft Web Apps", + "resource": "Hosting Environments Workerpools SKUs" }, "origin": "user,system" }, { "name": "microsoft.web/hostingenvironments/workerpools/usages/read", "display": { - "provider": "Microsoft Web Apps", - "resource": "Hosting Environments Workerpools Usages", + "description": "Get Hosting Environments Workerpools Usages.", "operation": "Get Hosting Environments Workerpools Usages", - "description": "Get Hosting Environments Workerpools Usages." + "provider": "Microsoft Web Apps", + "resource": "Hosting Environments Workerpools Usages" }, "origin": "user,system" }, { "name": "microsoft.web/ishostingenvironmentnameavailable/read", "display": { - "provider": "Microsoft Web Apps", - "resource": "Hosting Environment Name", + "description": "Get if Hosting Environment Name is available.", "operation": "Check if Hosting Environment Name is available", - "description": "Get if Hosting Environment Name is available." + "provider": "Microsoft Web Apps", + "resource": "Hosting Environment Name" }, "origin": "user,system" }, { "name": "microsoft.web/ishostnameavailable/read", "display": { - "provider": "Microsoft Web Apps", - "resource": "Hostname", + "description": "Check if Hostname is Available.", "operation": "Check if Hostname is Available", - "description": "Check if Hostname is Available." + "provider": "Microsoft Web Apps", + "resource": "Hostname" }, "origin": "user,system" }, { "name": "microsoft.web/isusernameavailable/read", "display": { - "provider": "Microsoft Web Apps", - "resource": "Username", + "description": "Check if Username is available.", "operation": "Check if Username is available", - "description": "Check if Username is available." + "provider": "Microsoft Web Apps", + "resource": "Username" }, "origin": "user,system" }, { "name": "microsoft.web/locations/apioperations/read", "display": { - "provider": "Microsoft Web Apps", - "resource": "Locations API Operations", + "description": "Get Locations API Operations.", "operation": "Get Locations API Operations", - "description": "Get Locations API Operations." + "provider": "Microsoft Web Apps", + "resource": "Locations API Operations" }, "origin": "user,system" }, { "name": "microsoft.web/locations/connectiongatewayinstallations/read", "display": { - "provider": "Microsoft Web Apps", - "resource": "Locations Connection Gateway Installations", + "description": "Get Locations Connection Gateway Installations.", "operation": "Get Locations Connection Gateway Installations", - "description": "Get Locations Connection Gateway Installations." + "provider": "Microsoft Web Apps", + "resource": "Locations Connection Gateway Installations" }, "origin": "user,system" }, { "name": "microsoft.web/locations/functionappstacks/read", "display": { - "provider": "Microsoft Web Apps", - "resource": "Locations Function App Stacks", + "description": "Get Locations Function App Stacks.", "operation": "Get Locations Function App Stacks", - "description": "Get Locations Function App Stacks." + "provider": "Microsoft Web Apps", + "resource": "Locations Function App Stacks" }, "origin": "user,system" }, { "name": "microsoft.web/locations/webappstacks/read", "display": { - "provider": "Microsoft Web Apps", - "resource": "Locations Web App Stacks", + "description": "Get Locations Web App Stacks.", "operation": "Get Locations Web App Stacks", - "description": "Get Locations Web App Stacks." + "provider": "Microsoft Web Apps", + "resource": "Locations Web App Stacks" }, "origin": "user,system" }, { "name": "microsoft.web/locations/managedapis/read", "display": { - "provider": "Microsoft Web Apps", - "resource": "Locations Managed APIs", + "description": "Get Locations Managed APIs.", "operation": "Get Locations Managed APIs", - "description": "Get Locations Managed APIs." + "provider": "Microsoft Web Apps", + "resource": "Locations Managed APIs" }, "origin": "user,system" }, { "name": "microsoft.web/operations/read", "display": { - "provider": "Microsoft Web Apps", - "resource": "Operations", + "description": "Get Operations.", "operation": "Get Operations", - "description": "Get Operations." + "provider": "Microsoft Web Apps", + "resource": "Operations" }, "origin": "user,system" }, { "name": "microsoft.web/publishingusers/read", "display": { - "provider": "Microsoft Web Apps", - "resource": "Publishing Users", + "description": "Get Publishing Users.", "operation": "Get Publishing Users", - "description": "Get Publishing Users." + "provider": "Microsoft Web Apps", + "resource": "Publishing Users" }, "origin": "user,system" }, { "name": "microsoft.web/publishingusers/write", "display": { - "provider": "Microsoft Web Apps", - "resource": "Publishing Users", + "description": "Update Publishing Users.", "operation": "Update Publishing Users", - "description": "Update Publishing Users." + "provider": "Microsoft Web Apps", + "resource": "Publishing Users" }, "origin": "user,system" }, { "name": "microsoft.web/serverfarms/capabilities/read", "display": { - "provider": "Microsoft Web Apps", - "resource": "App Service Plans Capabilities", + "description": "Get App Service Plans Capabilities.", "operation": "Get App Service Plans Capabilities", - "description": "Get App Service Plans Capabilities." + "provider": "Microsoft Web Apps", + "resource": "App Service Plans Capabilities" }, "origin": "user,system" }, { "name": "microsoft.web/serverfarms/firstpartyapps/settings/delete", "display": { - "provider": "Microsoft Web Apps", - "resource": "App Service Plans First Party Apps Settings", + "description": "Delete App Service Plans First Party Apps Settings.", "operation": "Delete App Service Plans First Party Apps Settings", - "description": "Delete App Service Plans First Party Apps Settings." + "provider": "Microsoft Web Apps", + "resource": "App Service Plans First Party Apps Settings" }, "origin": "user,system" }, { "name": "microsoft.web/serverfarms/firstpartyapps/settings/read", "display": { - "provider": "Microsoft Web Apps", - "resource": "App Service Plans First Party Apps Settings", + "description": "Get App Service Plans First Party Apps Settings.", "operation": "Get App Service Plans First Party Apps Settings", - "description": "Get App Service Plans First Party Apps Settings." + "provider": "Microsoft Web Apps", + "resource": "App Service Plans First Party Apps Settings" }, "origin": "user,system" }, { "name": "microsoft.web/serverfarms/firstpartyapps/settings/write", "display": { - "provider": "Microsoft Web Apps", - "resource": "App Service Plans First Party Apps Settings", + "description": "Update App Service Plans First Party Apps Settings.", "operation": "Update App Service Plans First Party Apps Settings", - "description": "Update App Service Plans First Party Apps Settings." + "provider": "Microsoft Web Apps", + "resource": "App Service Plans First Party Apps Settings" }, "origin": "user,system" }, { "name": "microsoft.web/serverfarms/hybridconnectionnamespaces/relays/sites/read", "display": { - "provider": "Microsoft Web Apps", - "resource": "App Service Plans Hybrid Connection Namespaces Relays Web Apps", + "description": "Get App Service Plans Hybrid Connection Namespaces Relays Web Apps.", "operation": "Get App Service Plans Hybrid Connection Namespaces Relays Web Apps", - "description": "Get App Service Plans Hybrid Connection Namespaces Relays Web Apps." + "provider": "Microsoft Web Apps", + "resource": "App Service Plans Hybrid Connection Namespaces Relays Web Apps" }, "origin": "user,system" }, { "name": "microsoft.web/serverfarms/hybridconnectionplanlimits/read", "display": { - "provider": "Microsoft Web Apps", - "resource": "App Service Plans Hybrid Connection Plan Limits", + "description": "Get App Service Plans Hybrid Connection Plan Limits.", "operation": "Get App Service Plans Hybrid Connection Plan Limits", - "description": "Get App Service Plans Hybrid Connection Plan Limits." + "provider": "Microsoft Web Apps", + "resource": "App Service Plans Hybrid Connection Plan Limits" }, "origin": "user,system" }, { "name": "microsoft.web/serverfarms/hybridconnectionrelays/read", "display": { - "provider": "Microsoft Web Apps", - "resource": "App Service Plans Hybrid Connection Relays", + "description": "Get App Service Plans Hybrid Connection Relays.", "operation": "Get App Service Plans Hybrid Connection Relays", - "description": "Get App Service Plans Hybrid Connection Relays." + "provider": "Microsoft Web Apps", + "resource": "App Service Plans Hybrid Connection Relays" }, "origin": "user,system" }, { "name": "microsoft.web/serverfarms/metricdefinitions/read", "display": { - "provider": "Microsoft Web Apps", - "resource": "App Service Plans Metric Definitions", + "description": "Get App Service Plans Metric Definitions.", "operation": "Get App Service Plans Metric Definitions", - "description": "Get App Service Plans Metric Definitions." + "provider": "Microsoft Web Apps", + "resource": "App Service Plans Metric Definitions" }, "origin": "user,system" }, { "name": "microsoft.web/serverfarms/metrics/read", "display": { - "provider": "Microsoft Web Apps", - "resource": "App Service Plans Metrics", + "description": "Get App Service Plans Metrics.", "operation": "Get App Service Plans Metrics", - "description": "Get App Service Plans Metrics." + "provider": "Microsoft Web Apps", + "resource": "App Service Plans Metrics" }, "origin": "user,system" }, { "name": "microsoft.web/serverfarms/operationresults/read", "display": { - "provider": "Microsoft Web Apps", - "resource": "App Service Plans Operation Results", + "description": "Get App Service Plans Operation Results.", "operation": "Get App Service Plans Operation Results", - "description": "Get App Service Plans Operation Results." + "provider": "Microsoft Web Apps", + "resource": "App Service Plans Operation Results" }, "origin": "user,system" }, { "name": "microsoft.web/serverfarms/sites/read", "display": { - "provider": "Microsoft Web Apps", - "resource": "App Service Plans Web Apps", + "description": "Get App Service Plans Web Apps.", "operation": "Get App Service Plans Web Apps", - "description": "Get App Service Plans Web Apps." + "provider": "Microsoft Web Apps", + "resource": "App Service Plans Web Apps" }, "origin": "user,system" }, { "name": "microsoft.web/serverfarms/skus/read", "display": { - "provider": "Microsoft Web Apps", - "resource": "App Service Plans SKUs", + "description": "Get App Service Plans SKUs.", "operation": "Get App Service Plans SKUs", - "description": "Get App Service Plans SKUs." + "provider": "Microsoft Web Apps", + "resource": "App Service Plans SKUs" }, "origin": "user,system" }, { "name": "microsoft.web/serverfarms/usages/read", "display": { - "provider": "Microsoft Web Apps", - "resource": "App Service Plans Usages", + "description": "Get App Service Plans Usages.", "operation": "Get App Service Plans Usages", - "description": "Get App Service Plans Usages." + "provider": "Microsoft Web Apps", + "resource": "App Service Plans Usages" }, "origin": "user,system" }, { "name": "microsoft.web/serverfarms/virtualnetworkconnections/gateways/write", "display": { - "provider": "Microsoft Web Apps", - "resource": "App Service Plans Virtual Network Connections Gateways", + "description": "Update App Service Plans Virtual Network Connections Gateways.", "operation": "Update App Service Plans Virtual Network Connections Gateways", - "description": "Update App Service Plans Virtual Network Connections Gateways." + "provider": "Microsoft Web Apps", + "resource": "App Service Plans Virtual Network Connections Gateways" }, "origin": "user,system" }, { "name": "microsoft.web/serverfarms/virtualnetworkconnections/read", "display": { - "provider": "Microsoft Web Apps", - "resource": "App Service Plans Virtual Network Connections", + "description": "Get App Service Plans Virtual Network Connections.", "operation": "Get App Service Plans Virtual Network Connections", - "description": "Get App Service Plans Virtual Network Connections." + "provider": "Microsoft Web Apps", + "resource": "App Service Plans Virtual Network Connections" }, "origin": "user,system" }, { "name": "microsoft.web/serverfarms/virtualnetworkconnections/routes/delete", "display": { - "provider": "Microsoft Web Apps", - "resource": "App Service Plans Virtual Network Connections Routes", + "description": "Delete App Service Plans Virtual Network Connections Routes.", "operation": "Delete App Service Plans Virtual Network Connections Routes", - "description": "Delete App Service Plans Virtual Network Connections Routes." + "provider": "Microsoft Web Apps", + "resource": "App Service Plans Virtual Network Connections Routes" }, "origin": "user,system" }, { "name": "microsoft.web/serverfarms/virtualnetworkconnections/routes/read", "display": { - "provider": "Microsoft Web Apps", - "resource": "App Service Plans Virtual Network Connections Routes", + "description": "Get App Service Plans Virtual Network Connections Routes.", "operation": "Get App Service Plans Virtual Network Connections Routes", - "description": "Get App Service Plans Virtual Network Connections Routes." + "provider": "Microsoft Web Apps", + "resource": "App Service Plans Virtual Network Connections Routes" }, "origin": "user,system" }, { "name": "microsoft.web/serverfarms/virtualnetworkconnections/routes/write", "display": { - "provider": "Microsoft Web Apps", - "resource": "App Service Plans Virtual Network Connections Routes", + "description": "Update App Service Plans Virtual Network Connections Routes.", "operation": "Update App Service Plans Virtual Network Connections Routes", - "description": "Update App Service Plans Virtual Network Connections Routes." + "provider": "Microsoft Web Apps", + "resource": "App Service Plans Virtual Network Connections Routes" }, "origin": "user,system" }, { "name": "microsoft.web/serverfarms/workers/reboot/action", "display": { - "provider": "Microsoft Web Apps", - "resource": "App Service Plans Workers", + "description": "Reboot App Service Plans Workers.", "operation": "Reboot App Service Plans Workers", - "description": "Reboot App Service Plans Workers." + "provider": "Microsoft Web Apps", + "resource": "App Service Plans Workers" }, "origin": "user,system" }, { "name": "microsoft.web/sites/analyzecustomhostname/read", "display": { - "provider": "Microsoft Web Apps", - "resource": "Custom Hostname", + "description": "Analyze Custom Hostname.", "operation": "Analyze Custom Hostname", - "description": "Analyze Custom Hostname." + "provider": "Microsoft Web Apps", + "resource": "Custom Hostname" }, "origin": "user,system" }, { "name": "microsoft.web/sites/backup/read", "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Backup", + "description": "Get Web Apps Backup.", "operation": "Get Web Apps Backup", - "description": "Get Web Apps Backup." + "provider": "Microsoft Web Apps", + "resource": "Web Apps Backup" }, "origin": "user,system" }, { "name": "microsoft.web/sites/backup/write", "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Backup", + "description": "Update Web Apps Backup.", "operation": "Update Web Apps Backup", - "description": "Update Web Apps Backup." + "provider": "Microsoft Web Apps", + "resource": "Web Apps Backup" }, "origin": "user,system" }, { "name": "microsoft.web/sites/backups/list/action", "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Backups", + "description": "List Web Apps Backups.", "operation": "List Web Apps Backups", - "description": "List Web Apps Backups." + "provider": "Microsoft Web Apps", + "resource": "Web Apps Backups" }, "origin": "user,system" }, { "name": "microsoft.web/sites/backups/restore/action", "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Backups", + "description": "Restore Web Apps Backups.", "operation": "Restore Web Apps Backups", - "description": "Restore Web Apps Backups." + "provider": "Microsoft Web Apps", + "resource": "Web Apps Backups" }, "origin": "user,system" }, { "name": "microsoft.web/sites/config/delete", "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Config", + "description": "Delete Web Apps Config.", "operation": "Delete Web Apps Config", - "description": "Delete Web Apps Config." + "provider": "Microsoft Web Apps", + "resource": "Web Apps Config" }, "origin": "user,system" }, { "name": "microsoft.web/sites/continuouswebjobs/delete", "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Continuous Web Jobs", + "description": "Delete Web Apps Continuous Web Jobs.", "operation": "Delete Web Apps Continuous Web Jobs", - "description": "Delete Web Apps Continuous Web Jobs." + "provider": "Microsoft Web Apps", + "resource": "Web Apps Continuous Web Jobs" }, "origin": "user,system" }, { "name": "microsoft.web/sites/continuouswebjobs/read", "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Continuous Web Jobs", + "description": "Get Web Apps Continuous Web Jobs.", "operation": "Get Web Apps Continuous Web Jobs", - "description": "Get Web Apps Continuous Web Jobs." + "provider": "Microsoft Web Apps", + "resource": "Web Apps Continuous Web Jobs" }, "origin": "user,system" }, { "name": "microsoft.web/sites/continuouswebjobs/start/action", "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Continuous Web Jobs", + "description": "Start Web Apps Continuous Web Jobs.", "operation": "Start Web Apps Continuous Web Jobs", - "description": "Start Web Apps Continuous Web Jobs." + "provider": "Microsoft Web Apps", + "resource": "Web Apps Continuous Web Jobs" }, "origin": "user,system" }, { "name": "microsoft.web/sites/continuouswebjobs/stop/action", "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Continuous Web Jobs", + "description": "Stop Web Apps Continuous Web Jobs.", "operation": "Stop Web Apps Continuous Web Jobs", - "description": "Stop Web Apps Continuous Web Jobs." + "provider": "Microsoft Web Apps", + "resource": "Web Apps Continuous Web Jobs" }, "origin": "user,system" }, { "name": "microsoft.web/sites/deployments/delete", "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Deployments", + "description": "Delete Web Apps Deployments.", "operation": "Delete Web Apps Deployments", - "description": "Delete Web Apps Deployments." + "provider": "Microsoft Web Apps", + "resource": "Web Apps Deployments" }, "origin": "user,system" }, { "name": "microsoft.web/sites/deployments/log/read", "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Deployments Log", + "description": "Get Web Apps Deployments Log.", "operation": "Get Web Apps Deployments Log", - "description": "Get Web Apps Deployments Log." + "provider": "Microsoft Web Apps", + "resource": "Web Apps Deployments Log" }, "origin": "user,system" }, { "name": "microsoft.web/sites/deployments/read", "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Deployments", + "description": "Get Web Apps Deployments.", "operation": "Get Web Apps Deployments", - "description": "Get Web Apps Deployments." + "provider": "Microsoft Web Apps", + "resource": "Web Apps Deployments" }, "origin": "user,system" }, { "name": "microsoft.web/sites/deployments/write", "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Deployments", + "description": "Update Web Apps Deployments.", "operation": "Update Web Apps Deployments", - "description": "Update Web Apps Deployments." + "provider": "Microsoft Web Apps", + "resource": "Web Apps Deployments" }, "origin": "user,system" }, { "name": "microsoft.web/sites/diagnostics/frebanalysis/read", "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Diagnostics FREB Analysis", + "description": "Get Web Apps Diagnostics FREB Analysis.", "operation": "Get Web Apps Diagnostics FREB Analysis", - "description": "Get Web Apps Diagnostics FREB Analysis." + "provider": "Microsoft Web Apps", + "resource": "Web Apps Diagnostics FREB Analysis" }, "origin": "user,system" }, { "name": "microsoft.web/sites/slots/diagnostics/frebanalysis/read", "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Slots Diagnostics FREB Analysis", + "description": "Get Web Apps Slots Diagnostics FREB Analysis.", "operation": "Get Web Apps Slots Diagnostics FREB Analysis", - "description": "Get Web Apps Slots Diagnostics FREB Analysis." + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Diagnostics FREB Analysis" }, "origin": "user,system" }, { "name": "microsoft.web/sites/diagnostics/read", "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Diagnostics Category", + "description": "Get Web Apps Diagnostics Categories.", "operation": "Get Web Apps Diagnostics Category", - "description": "Get Web Apps Diagnostics Categories." + "provider": "Microsoft Web Apps", + "resource": "Web Apps Diagnostics Category" }, "origin": "user,system" }, { "name": "microsoft.web/sites/diagnostics/runtimeavailability/read", "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Diagnostics Runtime Availability", + "description": "Get Web Apps Diagnostics Runtime Availability.", "operation": "Get Web Apps Diagnostics Runtime Availability", - "description": "Get Web Apps Diagnostics Runtime Availability." + "provider": "Microsoft Web Apps", + "resource": "Web Apps Diagnostics Runtime Availability" }, "origin": "user,system" }, { "name": "microsoft.web/sites/diagnostics/servicehealth/read", "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Diagnostics Service Health", + "description": "Get Web Apps Diagnostics Service Health.", "operation": "Get Web Apps Diagnostics Service Health", - "description": "Get Web Apps Diagnostics Service Health." + "provider": "Microsoft Web Apps", + "resource": "Web Apps Diagnostics Service Health" }, "origin": "user,system" }, { "name": "microsoft.web/sites/diagnostics/workeravailability/read", "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Diagnostics Workeravailability", + "description": "Get Web Apps Diagnostics Workeravailability.", "operation": "Get Web Apps Diagnostics Workeravailability", - "description": "Get Web Apps Diagnostics Workeravailability." + "provider": "Microsoft Web Apps", + "resource": "Web Apps Diagnostics Workeravailability" }, "origin": "user,system" }, { "name": "microsoft.web/sites/slots/diagnostics/workeravailability/read", "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Slots Diagnostics Workeravailability", + "description": "Get Web Apps Slots Diagnostics Workeravailability.", "operation": "Get Web Apps Slots Diagnostics Workeravailability", - "description": "Get Web Apps Slots Diagnostics Workeravailability." + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Diagnostics Workeravailability" }, "origin": "user,system" }, { "name": "microsoft.web/sites/diagnostics/workerprocessrecycle/read", "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Diagnostics Worker Process Recycle", + "description": "Get Web Apps Diagnostics Worker Process Recycle.", "operation": "Get Web Apps Diagnostics Worker Process Recycle", - "description": "Get Web Apps Diagnostics Worker Process Recycle." + "provider": "Microsoft Web Apps", + "resource": "Web Apps Diagnostics Worker Process Recycle" }, "origin": "user,system" }, { "name": "microsoft.web/sites/slots/diagnostics/workerprocessrecycle/read", "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Slots Diagnostics Worker Process Recycle", + "description": "Get Web Apps Slots Diagnostics Worker Process Recycle.", "operation": "Get Web Apps Slots Diagnostics Worker Process Recycle", - "description": "Get Web Apps Slots Diagnostics Worker Process Recycle." + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Diagnostics Worker Process Recycle" }, "origin": "user,system" }, { "name": "microsoft.web/sites/diagnostics/aspnetcore/read", "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Diagnostics ASP.NET Core", + "description": "Get Web Apps Diagnostics for ASP.NET Core app.", "operation": "Get Web Apps Diagnostics ASP.NET Core", - "description": "Get Web Apps Diagnostics for ASP.NET Core app." + "provider": "Microsoft Web Apps", + "resource": "Web Apps Diagnostics ASP.NET Core" }, "origin": "user,system" }, { "name": "microsoft.web/sites/slots/diagnostics/aspnetcore/read", "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Slots Diagnostics ASP.NET Core", + "description": "Get Web Apps Slots Diagnostics for ASP.NET Core app.", "operation": "Get Web Apps Slots Diagnostics ASP.NET Core", - "description": "Get Web Apps Slots Diagnostics for ASP.NET Core app." + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Diagnostics ASP.NET Core" }, "origin": "user,system" }, { "name": "microsoft.web/sites/domainownershipidentifiers/read", "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Domain Ownership Identifiers", + "description": "Get Web Apps Domain Ownership Identifiers.", "operation": "Get Web Apps Domain Ownership Identifiers", - "description": "Get Web Apps Domain Ownership Identifiers." + "provider": "Microsoft Web Apps", + "resource": "Web Apps Domain Ownership Identifiers" }, "origin": "user,system" }, { "name": "microsoft.web/sites/domainownershipidentifiers/write", "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Domain Ownership Identifiers", + "description": "Update Web Apps Domain Ownership Identifiers.", "operation": "Update Web Apps Domain Ownership Identifiers", - "description": "Update Web Apps Domain Ownership Identifiers." + "provider": "Microsoft Web Apps", + "resource": "Web Apps Domain Ownership Identifiers" }, "origin": "user,system" }, { "name": "microsoft.web/sites/functions/action", "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps", + "description": "Functions Web Apps.", "operation": "Functions Web Apps", - "description": "Functions Web Apps." + "provider": "Microsoft Web Apps", + "resource": "Web Apps" }, "origin": "user,system" }, { "name": "microsoft.web/sites/functions/delete", "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Functions", + "description": "Delete Web Apps Functions.", "operation": "Delete Web Apps Functions", - "description": "Delete Web Apps Functions." + "provider": "Microsoft Web Apps", + "resource": "Web Apps Functions" }, "origin": "user,system" }, { "name": "microsoft.web/sites/functions/listsecrets/action", "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Functions", + "description": "List Secrets Web Apps Functions.", "operation": "List Secrets Web Apps Functions", - "description": "List Secrets Web Apps Functions." + "provider": "Microsoft Web Apps", + "resource": "Web Apps Functions" }, "origin": "user,system" }, { "name": "microsoft.web/sites/functions/read", "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Functions", + "description": "Get Web Apps Functions.", "operation": "Get Web Apps Functions", - "description": "Get Web Apps Functions." + "provider": "Microsoft Web Apps", + "resource": "Web Apps Functions" }, "origin": "user,system" }, { "name": "microsoft.web/sites/functions/write", "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Functions", + "description": "Update Web Apps Functions.", "operation": "Update Web Apps Functions", - "description": "Update Web Apps Functions." + "provider": "Microsoft Web Apps", + "resource": "Web Apps Functions" }, "origin": "user,system" }, { "name": "microsoft.web/sites/hostnamebindings/delete", "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Hostname Bindings", + "description": "Delete Web Apps Hostname Bindings.", "operation": "Delete Web Apps Hostname Bindings", - "description": "Delete Web Apps Hostname Bindings." + "provider": "Microsoft Web Apps", + "resource": "Web Apps Hostname Bindings" }, "origin": "user,system" }, { "name": "microsoft.web/sites/hostnamebindings/read", "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Hostname Bindings", + "description": "Get Web Apps Hostname Bindings.", "operation": "Get Web Apps Hostname Bindings", - "description": "Get Web Apps Hostname Bindings." + "provider": "Microsoft Web Apps", + "resource": "Web Apps Hostname Bindings" }, "origin": "user,system" }, { "name": "microsoft.web/sites/hostnamebindings/write", "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Hostname Bindings", + "description": "Update Web Apps Hostname Bindings.", "operation": "Update Web Apps Hostname Bindings", - "description": "Update Web Apps Hostname Bindings." + "provider": "Microsoft Web Apps", + "resource": "Web Apps Hostname Bindings" }, "origin": "user,system" }, { "name": "microsoft.web/sites/hybridconnection/delete", "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Hybrid Connection", + "description": "Delete Web Apps Hybrid Connection.", "operation": "Delete Web Apps Hybrid Connection", - "description": "Delete Web Apps Hybrid Connection." + "provider": "Microsoft Web Apps", + "resource": "Web Apps Hybrid Connection" }, "origin": "user,system" }, { "name": "microsoft.web/sites/hybridconnection/read", "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Hybrid Connection", + "description": "Get Web Apps Hybrid Connection.", "operation": "Get Web Apps Hybrid Connection", - "description": "Get Web Apps Hybrid Connection." + "provider": "Microsoft Web Apps", + "resource": "Web Apps Hybrid Connection" }, "origin": "user,system" }, { "name": "microsoft.web/sites/hybridconnection/write", "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Hybrid Connection", + "description": "Update Web Apps Hybrid Connection.", "operation": "Update Web Apps Hybrid Connection", - "description": "Update Web Apps Hybrid Connection." + "provider": "Microsoft Web Apps", + "resource": "Web Apps Hybrid Connection" }, "origin": "user,system" }, { "name": "microsoft.web/sites/hybridconnectionrelays/read", "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Hybrid Connection Relays", + "description": "Get Web Apps Hybrid Connection Relays.", "operation": "Get Web Apps Hybrid Connection Relays", - "description": "Get Web Apps Hybrid Connection Relays." + "provider": "Microsoft Web Apps", + "resource": "Web Apps Hybrid Connection Relays" }, "origin": "user,system" }, { "name": "microsoft.web/sites/instances/deployments/read", "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Instances Deployments", + "description": "Get Web Apps Instances Deployments.", "operation": "Get Web Apps Instances Deployments", - "description": "Get Web Apps Instances Deployments." + "provider": "Microsoft Web Apps", + "resource": "Web Apps Instances Deployments" }, "origin": "user,system" }, { "name": "microsoft.web/sites/instances/processes/delete", "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Instances Processes", + "description": "Delete Web Apps Instances Processes.", "operation": "Delete Web Apps Instances Processes", - "description": "Delete Web Apps Instances Processes." + "provider": "Microsoft Web Apps", + "resource": "Web Apps Instances Processes" }, "origin": "user,system" }, { "name": "microsoft.web/sites/instances/processes/read", "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Instances Processes", + "description": "Get Web Apps Instances Processes.", "operation": "Get Web Apps Instances Processes", - "description": "Get Web Apps Instances Processes." + "provider": "Microsoft Web Apps", + "resource": "Web Apps Instances Processes" }, "origin": "user,system" }, { "name": "microsoft.web/sites/instances/read", "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Instances", + "description": "Get Web Apps Instances.", "operation": "Get Web Apps Instances", - "description": "Get Web Apps Instances." + "provider": "Microsoft Web Apps", + "resource": "Web Apps Instances" }, "origin": "user,system" }, { "name": "microsoft.web/sites/listsyncfunctiontriggerstatus/action", "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps", + "description": "List Sync Function Trigger Status Web Apps.", "operation": "List Sync Function Trigger Status Web Apps", - "description": "List Sync Function Trigger Status Web Apps." + "provider": "Microsoft Web Apps", + "resource": "Web Apps" }, "origin": "user,system" }, { "name": "microsoft.web/sites/metricdefinitions/read", "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Metric Definitions", + "description": "Get Web Apps Metric Definitions.", "operation": "Get Web Apps Metric Definitions", - "description": "Get Web Apps Metric Definitions." + "provider": "Microsoft Web Apps", + "resource": "Web Apps Metric Definitions" }, "origin": "user,system" }, { "name": "microsoft.web/sites/metrics/read", "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Metrics", + "description": "Get Web Apps Metrics.", "operation": "Get Web Apps Metrics", - "description": "Get Web Apps Metrics." + "provider": "Microsoft Web Apps", + "resource": "Web Apps Metrics" }, "origin": "user,system" }, { "name": "microsoft.web/sites/networktrace/action", "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps", + "description": "Network Trace Web Apps.", "operation": "Network Trace Web Apps", - "description": "Network Trace Web Apps." + "provider": "Microsoft Web Apps", + "resource": "Web Apps" }, "origin": "user,system" }, { "name": "microsoft.web/sites/newpassword/action", "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps", + "description": "Newpassword Web Apps.", "operation": "Newpassword Web Apps", - "description": "Newpassword Web Apps." + "provider": "Microsoft Web Apps", + "resource": "Web Apps" }, "origin": "user,system" }, { "name": "microsoft.web/sites/operationresults/read", "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Operation Results", + "description": "Get Web Apps Operation Results.", "operation": "Get Web Apps Operation Results", - "description": "Get Web Apps Operation Results." + "provider": "Microsoft Web Apps", + "resource": "Web Apps Operation Results" }, "origin": "user,system" }, { "name": "microsoft.web/sites/perfcounters/read", "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Performance Counters", + "description": "Get Web Apps Performance Counters.", "operation": "Get Web Apps Performance Counters", - "description": "Get Web Apps Performance Counters." + "provider": "Microsoft Web Apps", + "resource": "Web Apps Performance Counters" }, "origin": "user,system" }, { "name": "microsoft.web/sites/premieraddons/delete", "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Premier Addons", + "description": "Delete Web Apps Premier Addons.", "operation": "Delete Web Apps Premier Addons", - "description": "Delete Web Apps Premier Addons." + "provider": "Microsoft Web Apps", + "resource": "Web Apps Premier Addons" }, "origin": "user,system" }, { "name": "microsoft.web/sites/premieraddons/read", "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Premier Addons", + "description": "Get Web Apps Premier Addons.", "operation": "Get Web Apps Premier Addons", - "description": "Get Web Apps Premier Addons." + "provider": "Microsoft Web Apps", + "resource": "Web Apps Premier Addons" }, "origin": "user,system" }, { "name": "microsoft.web/sites/premieraddons/write", "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Premier Addons", + "description": "Update Web Apps Premier Addons.", "operation": "Update Web Apps Premier Addons", - "description": "Update Web Apps Premier Addons." + "provider": "Microsoft Web Apps", + "resource": "Web Apps Premier Addons" }, "origin": "user,system" }, { "name": "microsoft.web/sites/publishxml/read", "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Publishing XML", + "description": "Get Web Apps Publishing XML.", "operation": "Get Web Apps Publishing XML", - "description": "Get Web Apps Publishing XML." + "provider": "Microsoft Web Apps", + "resource": "Web Apps Publishing XML" }, "origin": "user,system" }, { "name": "microsoft.web/sites/recommendationhistory/read", "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Recommendation History", + "description": "Get Web Apps Recommendation History.", "operation": "Get Web Apps Recommendation History", - "description": "Get Web Apps Recommendation History." + "provider": "Microsoft Web Apps", + "resource": "Web Apps Recommendation History" }, "origin": "user,system" }, { "name": "microsoft.web/sites/recommendations/disable/action", "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Recommendations", + "description": "Disable Web Apps Recommendations.", "operation": "Disable Web Apps Recommendations", - "description": "Disable Web Apps Recommendations." + "provider": "Microsoft Web Apps", + "resource": "Web Apps Recommendations" }, "origin": "user,system" }, { "name": "microsoft.web/sites/restore/read", "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Restore", + "description": "Get Web Apps Restore.", "operation": "Get Web Apps Restore", - "description": "Get Web Apps Restore." + "provider": "Microsoft Web Apps", + "resource": "Web Apps Restore" }, "origin": "user,system" }, { "name": "microsoft.web/sites/slots/analyzecustomhostname/read", "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Slots Analyze Custom Hostname", + "description": "Get Web Apps Slots Analyze Custom Hostname.", "operation": "Get Web Apps Slots Analyze Custom Hostname", - "description": "Get Web Apps Slots Analyze Custom Hostname." + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Analyze Custom Hostname" }, "origin": "user,system" }, { "name": "microsoft.web/sites/slots/backup/write", "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Slots Backup", + "description": "Update Web Apps Slots Backup.", "operation": "Update Web Apps Slots Backup", - "description": "Update Web Apps Slots Backup." + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Backup" }, "origin": "user,system" }, { "name": "microsoft.web/sites/slots/backups/list/action", "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Slots Backups", + "description": "List Web Apps Slots Backups.", "operation": "List Web Apps Slots Backups", - "description": "List Web Apps Slots Backups." + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Backups" }, "origin": "user,system" }, { "name": "microsoft.web/sites/slots/backups/restore/action", "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Slots Backups", + "description": "Restore Web Apps Slots Backups.", "operation": "Restore Web Apps Slots Backups", - "description": "Restore Web Apps Slots Backups." + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Backups" }, "origin": "user,system" }, { "name": "microsoft.web/sites/slots/config/delete", "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Slots Config", + "description": "Delete Web Apps Slots Config.", "operation": "Delete Web Apps Slots Config", - "description": "Delete Web Apps Slots Config." + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Config" }, "origin": "user,system" }, { "name": "microsoft.web/sites/slots/continuouswebjobs/delete", "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Slots Continuous Web Jobs", + "description": "Delete Web Apps Slots Continuous Web Jobs.", "operation": "Delete Web Apps Slots Continuous Web Jobs", - "description": "Delete Web Apps Slots Continuous Web Jobs." + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Continuous Web Jobs" }, "origin": "user,system" }, { "name": "microsoft.web/sites/slots/continuouswebjobs/read", "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Slots Continuous Web Jobs", + "description": "Get Web Apps Slots Continuous Web Jobs.", "operation": "Get Web Apps Slots Continuous Web Jobs", - "description": "Get Web Apps Slots Continuous Web Jobs." + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Continuous Web Jobs" }, "origin": "user,system" }, { "name": "microsoft.web/sites/slots/continuouswebjobs/start/action", "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Slots Continuous Web Jobs", + "description": "Start Web Apps Slots Continuous Web Jobs.", "operation": "Start Web Apps Slots Continuous Web Jobs", - "description": "Start Web Apps Slots Continuous Web Jobs." + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Continuous Web Jobs" }, "origin": "user,system" }, { "name": "microsoft.web/sites/slots/continuouswebjobs/stop/action", "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Slots Continuous Web Jobs", + "description": "Stop Web Apps Slots Continuous Web Jobs.", "operation": "Stop Web Apps Slots Continuous Web Jobs", - "description": "Stop Web Apps Slots Continuous Web Jobs." + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Continuous Web Jobs" }, "origin": "user,system" }, { "name": "microsoft.web/sites/slots/deployments/delete", "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Slots Deployments", + "description": "Delete Web Apps Slots Deployments.", "operation": "Delete Web Apps Slots Deployments", - "description": "Delete Web Apps Slots Deployments." + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Deployments" }, "origin": "user,system" }, { "name": "microsoft.web/sites/slots/deployments/log/read", "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Slots Deployments Log", + "description": "Get Web Apps Slots Deployments Log.", "operation": "Get Web Apps Slots Deployments Log", - "description": "Get Web Apps Slots Deployments Log." + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Deployments Log" }, "origin": "user,system" }, { "name": "microsoft.web/sites/slots/deployments/read", "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Slots Deployments", + "description": "Get Web Apps Slots Deployments.", "operation": "Get Web Apps Slots Deployments", - "description": "Get Web Apps Slots Deployments." + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Deployments" }, "origin": "user,system" }, { "name": "microsoft.web/sites/slots/deployments/write", "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Slots Deployments", + "description": "Update Web Apps Slots Deployments.", "operation": "Update Web Apps Slots Deployments", - "description": "Update Web Apps Slots Deployments." + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Deployments" }, "origin": "user,system" }, { "name": "microsoft.web/sites/slots/hostnamebindings/delete", "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Slots Hostname Bindings", + "description": "Delete Web Apps Slots Hostname Bindings.", "operation": "Delete Web Apps Slots Hostname Bindings", - "description": "Delete Web Apps Slots Hostname Bindings." + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Hostname Bindings" }, "origin": "user,system" }, { "name": "microsoft.web/sites/slots/hostnamebindings/read", "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Slots Hostname Bindings", + "description": "Get Web Apps Slots Hostname Bindings.", "operation": "Get Web Apps Slots Hostname Bindings", - "description": "Get Web Apps Slots Hostname Bindings." + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Hostname Bindings" }, "origin": "user,system" }, { "name": "microsoft.web/sites/slots/hostnamebindings/write", "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Slots Hostname Bindings", + "description": "Update Web Apps Slots Hostname Bindings.", "operation": "Update Web Apps Slots Hostname Bindings", - "description": "Update Web Apps Slots Hostname Bindings." + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Hostname Bindings" }, "origin": "user,system" }, { "name": "microsoft.web/sites/slots/hybridconnection/delete", "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Slots Hybrid Connection", + "description": "Delete Web Apps Slots Hybrid Connection.", "operation": "Delete Web Apps Slots Hybrid Connection", - "description": "Delete Web Apps Slots Hybrid Connection." + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Hybrid Connection" }, "origin": "user,system" }, { "name": "microsoft.web/sites/slots/hybridconnection/read", "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Slots Hybrid Connection", + "description": "Get Web Apps Slots Hybrid Connection.", "operation": "Get Web Apps Slots Hybrid Connection", - "description": "Get Web Apps Slots Hybrid Connection." + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Hybrid Connection" }, "origin": "user,system" }, { "name": "microsoft.web/sites/slots/hybridconnection/write", "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Slots Hybrid Connection", + "description": "Update Web Apps Slots Hybrid Connection.", "operation": "Update Web Apps Slots Hybrid Connection", - "description": "Update Web Apps Slots Hybrid Connection." + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Hybrid Connection" }, "origin": "user,system" }, { "name": "microsoft.web/sites/slots/instances/deployments/read", "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Slots Instances Deployments", + "description": "Get Web Apps Slots Instances Deployments.", "operation": "Get Web Apps Slots Instances Deployments", - "description": "Get Web Apps Slots Instances Deployments." + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Instances Deployments" }, "origin": "user,system" }, { "name": "microsoft.web/sites/slots/instances/processes/read", "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Slots Instances Processes", + "description": "Get Web Apps Slots Instances Processes.", "operation": "Get Web Apps Slots Instances Processes", - "description": "Get Web Apps Slots Instances Processes." + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Instances Processes" }, "origin": "user,system" }, { "name": "microsoft.web/sites/slots/instances/read", "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Slots Instances", + "description": "Get Web Apps Slots Instances.", "operation": "Get Web Apps Slots Instances", - "description": "Get Web Apps Slots Instances." + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Instances" }, "origin": "user,system" }, { "name": "microsoft.web/sites/slots/metricdefinitions/read", "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Slots Metric Definitions", + "description": "Get Web Apps Slots Metric Definitions.", "operation": "Get Web Apps Slots Metric Definitions", - "description": "Get Web Apps Slots Metric Definitions." + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Metric Definitions" }, "origin": "user,system" }, { "name": "microsoft.web/sites/slots/metrics/read", "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Slots Metrics", + "description": "Get Web Apps Slots Metrics.", "operation": "Get Web Apps Slots Metrics", - "description": "Get Web Apps Slots Metrics." + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Metrics" }, "origin": "user,system" }, { "name": "microsoft.web/sites/slots/newpassword/action", "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Slots", + "description": "Newpassword Web Apps Slots.", "operation": "Newpassword Web Apps Slots", - "description": "Newpassword Web Apps Slots." + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots" }, "origin": "user,system" }, { "name": "microsoft.web/sites/slots/operationresults/read", "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Slots Operation Results", + "description": "Get Web Apps Slots Operation Results.", "operation": "Get Web Apps Slots Operation Results", - "description": "Get Web Apps Slots Operation Results." + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Operation Results" }, "origin": "user,system" }, { "name": "microsoft.web/sites/slots/phplogging/read", "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Slots Phplogging", + "description": "Get Web Apps Slots Phplogging.", "operation": "Get Web Apps Slots Phplogging", - "description": "Get Web Apps Slots Phplogging." + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Phplogging" }, "origin": "user,system" }, { "name": "microsoft.web/sites/slots/premieraddons/delete", "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Slots Premier Addons", + "description": "Delete Web Apps Slots Premier Addons.", "operation": "Delete Web Apps Slots Premier Addons", - "description": "Delete Web Apps Slots Premier Addons." + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Premier Addons" }, "origin": "user,system" }, { "name": "microsoft.web/sites/slots/premieraddons/read", "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Slots Premier Addons", + "description": "Get Web Apps Slots Premier Addons.", "operation": "Get Web Apps Slots Premier Addons", - "description": "Get Web Apps Slots Premier Addons." + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Premier Addons" }, "origin": "user,system" }, { "name": "microsoft.web/sites/slots/premieraddons/write", "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Slots Premier Addons", + "description": "Update Web Apps Slots Premier Addons.", "operation": "Update Web Apps Slots Premier Addons", - "description": "Update Web Apps Slots Premier Addons." + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Premier Addons" }, "origin": "user,system" }, { "name": "microsoft.web/sites/slots/restore/read", "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Slots Restore", + "description": "Get Web Apps Slots Restore.", "operation": "Get Web Apps Slots Restore", - "description": "Get Web Apps Slots Restore." + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Restore" }, "origin": "user,system" }, { "name": "microsoft.web/sites/slots/sync/action", "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Slots", + "description": "Sync Web Apps Slots.", "operation": "Sync Web Apps Slots", - "description": "Sync Web Apps Slots." + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots" }, "origin": "user,system" }, { "name": "microsoft.web/sites/slots/triggeredwebjobs/delete", "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Slots Triggered WebJobs", + "description": "Delete Web Apps Slots Triggered WebJobs.", "operation": "Delete Web Apps Slots Triggered WebJobs", - "description": "Delete Web Apps Slots Triggered WebJobs." + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Triggered WebJobs" }, "origin": "user,system" }, { "name": "microsoft.web/sites/slots/triggeredwebjobs/read", "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Slots Triggered WebJobs", + "description": "Get Web Apps Slots Triggered WebJobs.", "operation": "Get Web Apps Slots Triggered WebJobs", - "description": "Get Web Apps Slots Triggered WebJobs." + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Triggered WebJobs" }, "origin": "user,system" }, { "name": "microsoft.web/sites/slots/triggeredwebjobs/run/action", "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Slots Triggered WebJobs", + "description": "Run Web Apps Slots Triggered WebJobs.", "operation": "Run Web Apps Slots Triggered WebJobs", - "description": "Run Web Apps Slots Triggered WebJobs." + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Triggered WebJobs" }, "origin": "user,system" }, { "name": "microsoft.web/sites/slots/usages/read", "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Slots Usages", + "description": "Get Web Apps Slots Usages.", "operation": "Get Web Apps Slots Usages", - "description": "Get Web Apps Slots Usages." + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Usages" }, "origin": "user,system" }, { "name": "microsoft.web/sites/slots/virtualnetworkconnections/delete", "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Slots Virtual Network Connections", + "description": "Delete Web Apps Slots Virtual Network Connections.", "operation": "Delete Web Apps Slots Virtual Network Connections", - "description": "Delete Web Apps Slots Virtual Network Connections." + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Virtual Network Connections" }, "origin": "user,system" }, { "name": "microsoft.web/sites/slots/virtualnetworkconnections/gateways/write", "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Slots Virtual Network Connections Gateways", + "description": "Update Web Apps Slots Virtual Network Connections Gateways.", "operation": "Update Web Apps Slots Virtual Network Connections Gateways", - "description": "Update Web Apps Slots Virtual Network Connections Gateways." + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Virtual Network Connections Gateways" }, "origin": "user,system" }, { "name": "microsoft.web/sites/slots/virtualnetworkconnections/read", "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Slots Virtual Network Connections", + "description": "Get Web Apps Slots Virtual Network Connections.", "operation": "Get Web Apps Slots Virtual Network Connections", - "description": "Get Web Apps Slots Virtual Network Connections." + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Virtual Network Connections" }, "origin": "user,system" }, { "name": "microsoft.web/sites/slots/virtualnetworkconnections/write", "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Slots Virtual Network Connections", + "description": "Update Web Apps Slots Virtual Network Connections.", "operation": "Update Web Apps Slots Virtual Network Connections", - "description": "Update Web Apps Slots Virtual Network Connections." + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Virtual Network Connections" }, "origin": "user,system" }, { "name": "microsoft.web/sites/slots/webjobs/read", "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Slots WebJobs", + "description": "Get Web Apps Slots WebJobs.", "operation": "Get Web Apps Slots WebJobs", - "description": "Get Web Apps Slots WebJobs." + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots WebJobs" }, "origin": "user,system" }, { "name": "microsoft.web/sites/snapshots/read", "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Snapshots", + "description": "Get Web Apps Snapshots.", "operation": "Get Web Apps Snapshots", - "description": "Get Web Apps Snapshots." + "provider": "Microsoft Web Apps", + "resource": "Web Apps Snapshots" }, "origin": "user,system" }, { "name": "microsoft.web/sites/sync/action", "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps", + "description": "Sync Web Apps.", "operation": "Sync Web Apps", - "description": "Sync Web Apps." + "provider": "Microsoft Web Apps", + "resource": "Web Apps" }, "origin": "user,system" }, { "name": "microsoft.web/sites/triggeredwebjobs/delete", "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Triggered WebJobs", + "description": "Delete Web Apps Triggered WebJobs.", "operation": "Delete Web Apps Triggered WebJobs", - "description": "Delete Web Apps Triggered WebJobs." + "provider": "Microsoft Web Apps", + "resource": "Web Apps Triggered WebJobs" }, "origin": "user,system" }, { "name": "microsoft.web/sites/triggeredwebjobs/read", "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Triggered WebJobs", + "description": "Get Web Apps Triggered WebJobs.", "operation": "Get Web Apps Triggered WebJobs", - "description": "Get Web Apps Triggered WebJobs." + "provider": "Microsoft Web Apps", + "resource": "Web Apps Triggered WebJobs" }, "origin": "user,system" }, { "name": "microsoft.web/sites/triggeredwebjobs/run/action", "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Triggered WebJobs", + "description": "Run Web Apps Triggered WebJobs.", "operation": "Run Web Apps Triggered WebJobs", - "description": "Run Web Apps Triggered WebJobs." + "provider": "Microsoft Web Apps", + "resource": "Web Apps Triggered WebJobs" }, "origin": "user,system" }, { "name": "microsoft.web/sites/usages/read", "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Usages", + "description": "Get Web Apps Usages.", "operation": "Get Web Apps Usages", - "description": "Get Web Apps Usages." + "provider": "Microsoft Web Apps", + "resource": "Web Apps Usages" }, "origin": "user,system" }, { "name": "microsoft.web/sites/virtualnetworkconnections/delete", "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Virtual Network Connections", + "description": "Delete Web Apps Virtual Network Connections.", "operation": "Delete Web Apps Virtual Network Connections", - "description": "Delete Web Apps Virtual Network Connections." + "provider": "Microsoft Web Apps", + "resource": "Web Apps Virtual Network Connections" }, "origin": "user,system" }, { "name": "microsoft.web/sites/virtualnetworkconnections/gateways/read", "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Virtual Network Connections Gateways", + "description": "Get Web Apps Virtual Network Connections Gateways.", "operation": "Get Web Apps Virtual Network Connections Gateways", - "description": "Get Web Apps Virtual Network Connections Gateways." + "provider": "Microsoft Web Apps", + "resource": "Web Apps Virtual Network Connections Gateways" }, "origin": "user,system" }, { "name": "microsoft.web/sites/virtualnetworkconnections/gateways/write", "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Virtual Network Connections Gateways", + "description": "Update Web Apps Virtual Network Connections Gateways.", "operation": "Update Web Apps Virtual Network Connections Gateways", - "description": "Update Web Apps Virtual Network Connections Gateways." + "provider": "Microsoft Web Apps", + "resource": "Web Apps Virtual Network Connections Gateways" }, "origin": "user,system" }, { "name": "microsoft.web/sites/virtualnetworkconnections/read", "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Virtual Network Connections", + "description": "Get Web Apps Virtual Network Connections.", "operation": "Get Web Apps Virtual Network Connections", - "description": "Get Web Apps Virtual Network Connections." + "provider": "Microsoft Web Apps", + "resource": "Web Apps Virtual Network Connections" }, "origin": "user,system" }, { "name": "microsoft.web/sites/virtualnetworkconnections/write", "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Virtual Network Connections", + "description": "Update Web Apps Virtual Network Connections.", "operation": "Update Web Apps Virtual Network Connections", - "description": "Update Web Apps Virtual Network Connections." + "provider": "Microsoft Web Apps", + "resource": "Web Apps Virtual Network Connections" }, "origin": "user,system" }, { "name": "microsoft.web/sites/webjobs/read", "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps WebJobs", + "description": "Get Web Apps WebJobs.", "operation": "Get Web Apps WebJobs", - "description": "Get Web Apps WebJobs." + "provider": "Microsoft Web Apps", + "resource": "Web Apps WebJobs" }, "origin": "user,system" }, { "name": "microsoft.web/skus/read", "display": { - "provider": "Microsoft Web Apps", - "resource": "SKUs", + "description": "Get SKUs.", "operation": "Get SKUs", - "description": "Get SKUs." + "provider": "Microsoft Web Apps", + "resource": "SKUs" }, "origin": "user,system" }, { "name": "microsoft.web/sourcecontrols/read", "display": { - "provider": "Microsoft Web Apps", - "resource": "Source Controls", + "description": "Get Source Controls.", "operation": "Get Source Controls", - "description": "Get Source Controls." + "provider": "Microsoft Web Apps", + "resource": "Source Controls" }, "origin": "user,system" }, { "name": "microsoft.web/sourcecontrols/write", "display": { - "provider": "Microsoft Web Apps", - "resource": "Source Controls", + "description": "Update Source Controls.", "operation": "Update Source Controls", - "description": "Update Source Controls." + "provider": "Microsoft Web Apps", + "resource": "Source Controls" }, "origin": "user,system" }, { "name": "microsoft.web/unregister/action", "display": { - "provider": "Microsoft Web Apps", - "resource": "Microsoft.Web resource provider", + "description": "Unregister Microsoft.Web resource provider for the subscription.", "operation": "Unregister Microsoft.Web resource provider", - "description": "Unregister Microsoft.Web resource provider for the subscription." + "provider": "Microsoft Web Apps", + "resource": "Microsoft.Web resource provider" }, "origin": "user,system" }, { "name": "microsoft.web/validate/action", "display": { - "provider": "Microsoft Web Apps", - "resource": "", + "description": "Validate .", "operation": "Validate ", - "description": "Validate ." + "provider": "Microsoft Web Apps", + "resource": "" }, "origin": "user,system" }, { "name": "microsoft.web/register/action", "display": { - "provider": "Microsoft Web Apps", - "resource": "Microsoft.Web resource provider", + "description": "Register Microsoft.Web resource provider for the subscription.", "operation": "Register Microsoft.Web resource provider", - "description": "Register Microsoft.Web resource provider for the subscription." + "provider": "Microsoft Web Apps", + "resource": "Microsoft.Web resource provider" }, "origin": "user,system" }, { "name": "microsoft.web/serverfarms/hybridconnectionnamespaces/relays/read", "display": { - "provider": "Microsoft Web Apps", - "resource": "App Service Plans Hybrid Connection Namespaces Relays", + "description": "Get App Service Plans Hybrid Connection Namespaces Relays.", "operation": "Get App Service Plans Hybrid Connection Namespaces Relays", - "description": "Get App Service Plans Hybrid Connection Namespaces Relays." + "provider": "Microsoft Web Apps", + "resource": "App Service Plans Hybrid Connection Namespaces Relays" }, "origin": "user,system" }, { "name": "microsoft.web/sites/backups/delete", "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Backups", + "description": "Delete Web Apps Backups.", "operation": "Delete Web Apps Backups", - "description": "Delete Web Apps Backups." + "provider": "Microsoft Web Apps", + "resource": "Web Apps Backups" }, "origin": "user,system" }, { "name": "microsoft.web/sites/hybridconnectionnamespaces/relays/delete", "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Hybrid Connection Namespaces Relays", + "description": "Delete Web Apps Hybrid Connection Namespaces Relays.", "operation": "Delete Web Apps Hybrid Connection Namespaces Relays", - "description": "Delete Web Apps Hybrid Connection Namespaces Relays." + "provider": "Microsoft Web Apps", + "resource": "Web Apps Hybrid Connection Namespaces Relays" }, "origin": "user,system" }, { "name": "microsoft.web/sites/hybridconnectionnamespaces/relays/listkeys/action", "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Hybrid Connection Namespaces Relays", + "description": "List Keys Web Apps Hybrid Connection Namespaces Relays.", "operation": "List Keys Web Apps Hybrid Connection Namespaces Relays", - "description": "List Keys Web Apps Hybrid Connection Namespaces Relays." + "provider": "Microsoft Web Apps", + "resource": "Web Apps Hybrid Connection Namespaces Relays" }, "origin": "user,system" }, { "name": "microsoft.web/sites/hybridconnectionnamespaces/relays/write", "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Hybrid Connection Namespaces Relays", + "description": "Update Web Apps Hybrid Connection Namespaces Relays.", "operation": "Update Web Apps Hybrid Connection Namespaces Relays", - "description": "Update Web Apps Hybrid Connection Namespaces Relays." + "provider": "Microsoft Web Apps", + "resource": "Web Apps Hybrid Connection Namespaces Relays" }, "origin": "user,system" }, { "name": "microsoft.web/sites/metricsdefinitions/read", "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Metrics Definitions", + "description": "Get Web Apps Metrics Definitions.", "operation": "Get Web Apps Metrics Definitions", - "description": "Get Web Apps Metrics Definitions." + "provider": "Microsoft Web Apps", + "resource": "Web Apps Metrics Definitions" }, "origin": "user,system" }, { "name": "microsoft.web/sites/migratemysql/action", "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps", + "description": "Migrate MySql Web Apps.", "operation": "Migrate MySql Web Apps", - "description": "Migrate MySql Web Apps." + "provider": "Microsoft Web Apps", + "resource": "Web Apps" }, "origin": "user,system" }, { "name": "microsoft.web/sites/migratemysql/read", "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Migrate MySql", + "description": "Get Web Apps Migrate MySql.", "operation": "Get Web Apps Migrate MySql", - "description": "Get Web Apps Migrate MySql." + "provider": "Microsoft Web Apps", + "resource": "Web Apps Migrate MySql" }, "origin": "user,system" }, { "name": "microsoft.web/sites/recover/action", "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps", + "description": "Recover Web Apps.", "operation": "Recover Web Apps", - "description": "Recover Web Apps." + "provider": "Microsoft Web Apps", + "resource": "Web Apps" }, "origin": "user,system" }, { "name": "microsoft.web/sites/siteextensions/delete", "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Site Extensions", + "description": "Delete Web Apps Site Extensions.", "operation": "Delete Web Apps Site Extensions", - "description": "Delete Web Apps Site Extensions." + "provider": "Microsoft Web Apps", + "resource": "Web Apps Site Extensions" }, "origin": "user,system" }, { "name": "microsoft.web/sites/siteextensions/read", "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Site Extensions", + "description": "Get Web Apps Site Extensions.", "operation": "Get Web Apps Site Extensions", - "description": "Get Web Apps Site Extensions." + "provider": "Microsoft Web Apps", + "resource": "Web Apps Site Extensions" }, "origin": "user,system" }, { "name": "microsoft.web/sites/siteextensions/write", "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Site Extensions", + "description": "Update Web Apps Site Extensions.", "operation": "Update Web Apps Site Extensions", - "description": "Update Web Apps Site Extensions." + "provider": "Microsoft Web Apps", + "resource": "Web Apps Site Extensions" }, "origin": "user,system" }, { "name": "microsoft.web/sites/slots/backup/read", "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Slots Backup", + "description": "Get Web Apps Slots Backup.", "operation": "Get Web Apps Slots Backup", - "description": "Get Web Apps Slots Backup." + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Backup" }, "origin": "user,system" }, { "name": "microsoft.web/sites/slots/hybridconnectionrelays/read", "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Slots Hybrid Connection Relays", + "description": "Get Web Apps Slots Hybrid Connection Relays.", "operation": "Get Web Apps Slots Hybrid Connection Relays", - "description": "Get Web Apps Slots Hybrid Connection Relays." + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Hybrid Connection Relays" }, "origin": "user,system" }, { "name": "microsoft.web/sites/slots/siteextensions/delete", "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Slots Site Extensions", + "description": "Delete Web Apps Slots Site Extensions.", "operation": "Delete Web Apps Slots Site Extensions", - "description": "Delete Web Apps Slots Site Extensions." + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Site Extensions" }, "origin": "user,system" }, { "name": "microsoft.web/sites/slots/siteextensions/read", "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Slots Site Extensions", + "description": "Get Web Apps Slots Site Extensions.", "operation": "Get Web Apps Slots Site Extensions", - "description": "Get Web Apps Slots Site Extensions." + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Site Extensions" }, "origin": "user,system" }, { "name": "microsoft.web/sites/slots/siteextensions/write", "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Slots Site Extensions", + "description": "Update Web Apps Slots Site Extensions.", "operation": "Update Web Apps Slots Site Extensions", - "description": "Update Web Apps Slots Site Extensions." + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Site Extensions" }, "origin": "user,system" }, { "name": "microsoft.web/sites/slots/snapshots/read", "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Slots Snapshots", + "description": "Get Web Apps Slots Snapshots.", "operation": "Get Web Apps Slots Snapshots", - "description": "Get Web Apps Slots Snapshots." + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Snapshots" }, "origin": "user,system" }, { "name": "microsoft.web/sites/syncfunctiontriggers/action", "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps", + "description": "Sync Function Triggers for Web Apps.", "operation": "Sync Function Triggers for Web Apps", - "description": "Sync Function Triggers for Web Apps." + "provider": "Microsoft Web Apps", + "resource": "Web Apps" }, "origin": "user,system" }, { "name": "microsoft.web/sites/triggeredwebjobs/history/read", "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Triggered WebJobs History", + "description": "Get Web Apps Triggered WebJobs History.", "operation": "Get Web Apps Triggered WebJobs History", - "description": "Get Web Apps Triggered WebJobs History." + "provider": "Microsoft Web Apps", + "resource": "Web Apps Triggered WebJobs History" }, "origin": "user,system" }, { "name": "microsoft.web/connectiongateways/liststatus/action", "display": { - "provider": "Microsoft Web Apps", - "resource": "Connection Gateways", + "description": "List Status Connection Gateways.", "operation": "List Status Connection Gateways", - "description": "List Status Connection Gateways." + "provider": "Microsoft Web Apps", + "resource": "Connection Gateways" }, "origin": "user,system" }, { "name": "microsoft.web/serverfarms/hybridconnectionnamespaces/relays/delete", "display": { - "provider": "Microsoft Web Apps", - "resource": "App Service Plans Hybrid Connection Namespaces Relays", + "description": "Delete App Service Plans Hybrid Connection Namespaces Relays.", "operation": "Delete App Service Plans Hybrid Connection Namespaces Relays", - "description": "Delete App Service Plans Hybrid Connection Namespaces Relays." + "provider": "Microsoft Web Apps", + "resource": "App Service Plans Hybrid Connection Namespaces Relays" }, "origin": "user,system" }, { "name": "microsoft.web/sites/diagnostics/deployment/read", "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Diagnostics Deployment", + "description": "Get Web Apps Diagnostics Deployment.", "operation": "Get Web Apps Diagnostics Deployment", - "description": "Get Web Apps Diagnostics Deployment." + "provider": "Microsoft Web Apps", + "resource": "Web Apps Diagnostics Deployment" }, "origin": "user,system" }, { "name": "microsoft.web/sites/diagnostics/sitecpuanalysis/read", "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Diagnostics Site CPU Analysis", + "description": "Get Web Apps Diagnostics Site CPU Analysis.", "operation": "Get Web Apps Diagnostics Site CPU Analysis", - "description": "Get Web Apps Diagnostics Site CPU Analysis." + "provider": "Microsoft Web Apps", + "resource": "Web Apps Diagnostics Site CPU Analysis" }, "origin": "user,system" }, { "name": "microsoft.web/sites/diagnostics/sitelatency/read", "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Diagnostics Site Latency", + "description": "Get Web Apps Diagnostics Site Latency.", "operation": "Get Web Apps Diagnostics Site Latency", - "description": "Get Web Apps Diagnostics Site Latency." + "provider": "Microsoft Web Apps", + "resource": "Web Apps Diagnostics Site Latency" }, "origin": "user,system" }, { "name": "microsoft.web/sites/diagnostics/sitememoryanalysis/read", "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Diagnostics Site Memory Analysis", + "description": "Get Web Apps Diagnostics Site Memory Analysis.", "operation": "Get Web Apps Diagnostics Site Memory Analysis", - "description": "Get Web Apps Diagnostics Site Memory Analysis." + "provider": "Microsoft Web Apps", + "resource": "Web Apps Diagnostics Site Memory Analysis" }, "origin": "user,system" }, { "name": "microsoft.web/sites/diagnostics/threadcount/read", "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Diagnostics Thread Count", + "description": "Get Web Apps Diagnostics Thread Count.", "operation": "Get Web Apps Diagnostics Thread Count", - "description": "Get Web Apps Diagnostics Thread Count." + "provider": "Microsoft Web Apps", + "resource": "Web Apps Diagnostics Thread Count" }, "origin": "user,system" }, { "name": "microsoft.web/sites/slots/diagnostics/deployment/read", "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Slots Diagnostics Deployment", + "description": "Get Web Apps Slots Diagnostics Deployment.", "operation": "Get Web Apps Slots Diagnostics Deployment", - "description": "Get Web Apps Slots Diagnostics Deployment." + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Diagnostics Deployment" }, "origin": "user,system" }, { "name": "microsoft.web/sites/slots/diagnostics/sitecpuanalysis/read", "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Slots Diagnostics Site CPU Analysis", + "description": "Get Web Apps Slots Diagnostics Site CPU Analysis.", "operation": "Get Web Apps Slots Diagnostics Site CPU Analysis", - "description": "Get Web Apps Slots Diagnostics Site CPU Analysis." + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Diagnostics Site CPU Analysis" }, "origin": "user,system" }, { "name": "microsoft.web/sites/slots/diagnostics/sitelatency/read", "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Slots Diagnostics Site Latency", + "description": "Get Web Apps Slots Diagnostics Site Latency.", "operation": "Get Web Apps Slots Diagnostics Site Latency", - "description": "Get Web Apps Slots Diagnostics Site Latency." + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Diagnostics Site Latency" }, "origin": "user,system" }, { "name": "microsoft.web/sites/slots/diagnostics/sitememoryanalysis/read", "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Slots Diagnostics Site Memory Analysis", + "description": "Get Web Apps Slots Diagnostics Site Memory Analysis.", "operation": "Get Web Apps Slots Diagnostics Site Memory Analysis", - "description": "Get Web Apps Slots Diagnostics Site Memory Analysis." + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Diagnostics Site Memory Analysis" }, "origin": "user,system" }, { "name": "microsoft.web/sites/slots/diagnostics/threadcount/read", "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Slots Diagnostics Thread Count", + "description": "Get Web Apps Slots Diagnostics Thread Count.", "operation": "Get Web Apps Slots Diagnostics Thread Count", - "description": "Get Web Apps Slots Diagnostics Thread Count." + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Diagnostics Thread Count" }, "origin": "user,system" }, { "name": "microsoft.web/sites/functions/masterkey/read", "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Functions Masterkey", + "description": "Get Web Apps Functions Masterkey.", "operation": "Get Web Apps Functions Masterkey", - "description": "Get Web Apps Functions Masterkey." + "provider": "Microsoft Web Apps", + "resource": "Web Apps Functions Masterkey" }, "origin": "user,system" }, { "name": "microsoft.web/sites/hybridconnectionnamespaces/relays/read", "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Hybrid Connection Namespaces Relays", + "description": "Get Web Apps Hybrid Connection Namespaces Relays.", "operation": "Get Web Apps Hybrid Connection Namespaces Relays", - "description": "Get Web Apps Hybrid Connection Namespaces Relays." + "provider": "Microsoft Web Apps", + "resource": "Web Apps Hybrid Connection Namespaces Relays" }, "origin": "user,system" }, { "name": "microsoft.web/sites/instances/extensions/read", "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Instances Extensions", + "description": "Get Web Apps Instances Extensions.", "operation": "Get Web Apps Instances Extensions", - "description": "Get Web Apps Instances Extensions." + "provider": "Microsoft Web Apps", + "resource": "Web Apps Instances Extensions" }, "origin": "user,system" }, { "name": "microsoft.web/sites/operations/read", "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Operations", + "description": "Get Web Apps Operations.", "operation": "Get Web Apps Operations", - "description": "Get Web Apps Operations." + "provider": "Microsoft Web Apps", + "resource": "Web Apps Operations" }, "origin": "user,system" }, { "name": "microsoft.web/sites/resourcehealthmetadata/read", "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Resource Health Metadata", + "description": "Get Web Apps Resource Health Metadata.", "operation": "Get Web Apps Resource Health Metadata", - "description": "Get Web Apps Resource Health Metadata." + "provider": "Microsoft Web Apps", + "resource": "Web Apps Resource Health Metadata" }, "origin": "user,system" }, { "name": "microsoft.web/sites/slots/backups/delete", "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Slots Backups", + "description": "Delete Web Apps Slots Backups.", "operation": "Delete Web Apps Slots Backups", - "description": "Delete Web Apps Slots Backups." + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Backups" }, "origin": "user,system" }, { "name": "microsoft.web/sites/slots/domainownershipidentifiers/read", "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Slots Domain Ownership Identifiers", + "description": "Get Web Apps Slots Domain Ownership Identifiers.", "operation": "Get Web Apps Slots Domain Ownership Identifiers", - "description": "Get Web Apps Slots Domain Ownership Identifiers." + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Domain Ownership Identifiers" }, "origin": "user,system" }, { "name": "microsoft.web/sites/slots/hybridconnectionnamespaces/relays/delete", "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Slots Hybrid Connection Namespaces Relays", + "description": "Delete Web Apps Slots Hybrid Connection Namespaces Relays.", "operation": "Delete Web Apps Slots Hybrid Connection Namespaces Relays", - "description": "Delete Web Apps Slots Hybrid Connection Namespaces Relays." + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Hybrid Connection Namespaces Relays" }, "origin": "user,system" }, { "name": "microsoft.web/sites/slots/hybridconnectionnamespaces/relays/write", "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Slots Hybrid Connection Namespaces Relays", + "description": "Update Web Apps Slots Hybrid Connection Namespaces Relays.", "operation": "Update Web Apps Slots Hybrid Connection Namespaces Relays", - "description": "Update Web Apps Slots Hybrid Connection Namespaces Relays." + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Hybrid Connection Namespaces Relays" }, "origin": "user,system" }, { "name": "microsoft.web/sites/slots/operations/read", "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Slots Operations", + "description": "Get Web Apps Slots Operations.", "operation": "Get Web Apps Slots Operations", - "description": "Get Web Apps Slots Operations." + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Operations" }, "origin": "user,system" }, { "name": "microsoft.web/sites/slots/perfcounters/read", "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Slots Performance Counters", + "description": "Get Web Apps Slots Performance Counters.", "operation": "Get Web Apps Slots Performance Counters", - "description": "Get Web Apps Slots Performance Counters." + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Performance Counters" }, "origin": "user,system" }, { "name": "microsoft.web/sites/slots/resourcehealthmetadata/read", "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Slots Resource Health Metadata", + "description": "Get Web Apps Slots Resource Health Metadata.", "operation": "Get Web Apps Slots Resource Health Metadata", - "description": "Get Web Apps Slots Resource Health Metadata." + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Resource Health Metadata" }, "origin": "user,system" }, { "name": "microsoft.web/apimanagementaccounts/apiacls/read", "display": { - "provider": "Microsoft Web Apps", - "resource": "Api Management Accounts Apiacls", + "description": "Get Api Management Accounts Apiacls.", "operation": "Get Api Management Accounts Apiacls", - "description": "Get Api Management Accounts Apiacls." + "provider": "Microsoft Web Apps", + "resource": "Api Management Accounts Apiacls" }, "origin": "user,system" }, { "name": "microsoft.web/apimanagementaccounts/apis/connections/read", "display": { - "provider": "Microsoft Web Apps", - "resource": "Api Management Accounts APIs Connections", + "description": "Get Api Management Accounts APIs Connections.", "operation": "Get Api Management Accounts APIs Connections", - "description": "Get Api Management Accounts APIs Connections." + "provider": "Microsoft Web Apps", + "resource": "Api Management Accounts APIs Connections" }, "origin": "user,system" }, { "name": "microsoft.web/apimanagementaccounts/apis/read", "display": { - "provider": "Microsoft Web Apps", - "resource": "Api Management Accounts APIs", + "description": "Get Api Management Accounts APIs.", "operation": "Get Api Management Accounts APIs", - "description": "Get Api Management Accounts APIs." + "provider": "Microsoft Web Apps", + "resource": "Api Management Accounts APIs" }, "origin": "user,system" }, { "name": "microsoft.web/apimanagementaccounts/connectionacls/read", "display": { - "provider": "Microsoft Web Apps", - "resource": "Api Management Accounts Connectionacls", + "description": "Get Api Management Accounts Connectionacls.", "operation": "Get Api Management Accounts Connectionacls", - "description": "Get Api Management Accounts Connectionacls." + "provider": "Microsoft Web Apps", + "resource": "Api Management Accounts Connectionacls" }, "origin": "user,system" }, { "name": "microsoft.web/apimanagementaccounts/apis/apiacls/delete", "display": { - "provider": "Microsoft Web Apps", - "resource": "Api Management Accounts APIs Apiacls", + "description": "Delete Api Management Accounts APIs Apiacls.", "operation": "Delete Api Management Accounts APIs Apiacls", - "description": "Delete Api Management Accounts APIs Apiacls." + "provider": "Microsoft Web Apps", + "resource": "Api Management Accounts APIs Apiacls" }, "origin": "user,system" }, { "name": "microsoft.web/apimanagementaccounts/apis/apiacls/read", "display": { - "provider": "Microsoft Web Apps", - "resource": "Api Management Accounts APIs Apiacls", + "description": "Get Api Management Accounts APIs Apiacls.", "operation": "Get Api Management Accounts APIs Apiacls", - "description": "Get Api Management Accounts APIs Apiacls." + "provider": "Microsoft Web Apps", + "resource": "Api Management Accounts APIs Apiacls" }, "origin": "user,system" }, { "name": "microsoft.web/apimanagementaccounts/apis/apiacls/write", "display": { - "provider": "Microsoft Web Apps", - "resource": "Api Management Accounts APIs Apiacls", + "description": "Update Api Management Accounts APIs Apiacls.", "operation": "Update Api Management Accounts APIs Apiacls", - "description": "Update Api Management Accounts APIs Apiacls." + "provider": "Microsoft Web Apps", + "resource": "Api Management Accounts APIs Apiacls" }, "origin": "user,system" }, { "name": "microsoft.web/apimanagementaccounts/apis/connectionacls/read", "display": { - "provider": "Microsoft Web Apps", - "resource": "Api Management Accounts APIs Connectionacls", + "description": "Get Api Management Accounts APIs Connectionacls.", "operation": "Get Api Management Accounts APIs Connectionacls", - "description": "Get Api Management Accounts APIs Connectionacls." + "provider": "Microsoft Web Apps", + "resource": "Api Management Accounts APIs Connectionacls" }, "origin": "user,system" }, { "name": "microsoft.web/apimanagementaccounts/apis/connections/confirmconsentcode/action", "display": { - "provider": "Microsoft Web Apps", - "resource": "Api Management Accounts APIs Connections", + "description": "Confirm Consent Code Api Management Accounts APIs Connections.", "operation": "Confirm Consent Code Api Management Accounts APIs Connections", - "description": "Confirm Consent Code Api Management Accounts APIs Connections." + "provider": "Microsoft Web Apps", + "resource": "Api Management Accounts APIs Connections" }, "origin": "user,system" }, { "name": "microsoft.web/apimanagementaccounts/apis/connections/connectionacls/delete", "display": { - "provider": "Microsoft Web Apps", - "resource": "Api Management Accounts APIs Connections Connectionacls", + "description": "Delete Api Management Accounts APIs Connections Connectionacls.", "operation": "Delete Api Management Accounts APIs Connections Connectionacls", - "description": "Delete Api Management Accounts APIs Connections Connectionacls." + "provider": "Microsoft Web Apps", + "resource": "Api Management Accounts APIs Connections Connectionacls" }, "origin": "user,system" }, { "name": "microsoft.web/apimanagementaccounts/apis/connections/connectionacls/read", "display": { - "provider": "Microsoft Web Apps", - "resource": "Api Management Accounts APIs Connections Connectionacls", + "description": "Get Api Management Accounts APIs Connections Connectionacls.", "operation": "Get Api Management Accounts APIs Connections Connectionacls", - "description": "Get Api Management Accounts APIs Connections Connectionacls." + "provider": "Microsoft Web Apps", + "resource": "Api Management Accounts APIs Connections Connectionacls" }, "origin": "user,system" }, { "name": "microsoft.web/apimanagementaccounts/apis/connections/connectionacls/write", "display": { - "provider": "Microsoft Web Apps", - "resource": "Api Management Accounts APIs Connections Connectionacls", + "description": "Update Api Management Accounts APIs Connections Connectionacls.", "operation": "Update Api Management Accounts APIs Connections Connectionacls", - "description": "Update Api Management Accounts APIs Connections Connectionacls." + "provider": "Microsoft Web Apps", + "resource": "Api Management Accounts APIs Connections Connectionacls" }, "origin": "user,system" }, { "name": "microsoft.web/apimanagementaccounts/apis/connections/delete", "display": { - "provider": "Microsoft Web Apps", - "resource": "Api Management Accounts APIs Connections", + "description": "Delete Api Management Accounts APIs Connections.", "operation": "Delete Api Management Accounts APIs Connections", - "description": "Delete Api Management Accounts APIs Connections." + "provider": "Microsoft Web Apps", + "resource": "Api Management Accounts APIs Connections" }, "origin": "user,system" }, { "name": "microsoft.web/apimanagementaccounts/apis/connections/getconsentlinks/action", "display": { - "provider": "Microsoft Web Apps", - "resource": "Api Management Accounts APIs Connections", + "description": "Get Consent Links for Api Management Accounts APIs Connections.", "operation": "Get Consent Links for Api Management Accounts APIs Connections", - "description": "Get Consent Links for Api Management Accounts APIs Connections." + "provider": "Microsoft Web Apps", + "resource": "Api Management Accounts APIs Connections" }, "origin": "user,system" }, { "name": "microsoft.web/apimanagementaccounts/apis/connections/write", "display": { - "provider": "Microsoft Web Apps", - "resource": "Api Management Accounts APIs Connections", + "description": "Update Api Management Accounts APIs Connections.", "operation": "Update Api Management Accounts APIs Connections", - "description": "Update Api Management Accounts APIs Connections." + "provider": "Microsoft Web Apps", + "resource": "Api Management Accounts APIs Connections" }, "origin": "user,system" }, { "name": "microsoft.web/apimanagementaccounts/apis/delete", "display": { - "provider": "Microsoft Web Apps", - "resource": "Api Management Accounts APIs", + "description": "Delete Api Management Accounts APIs.", "operation": "Delete Api Management Accounts APIs", - "description": "Delete Api Management Accounts APIs." + "provider": "Microsoft Web Apps", + "resource": "Api Management Accounts APIs" }, "origin": "user,system" }, { "name": "microsoft.web/apimanagementaccounts/apis/localizeddefinitions/delete", "display": { - "provider": "Microsoft Web Apps", - "resource": "Api Management Accounts APIs Localized Definitions", + "description": "Delete Api Management Accounts APIs Localized Definitions.", "operation": "Delete Api Management Accounts APIs Localized Definitions", - "description": "Delete Api Management Accounts APIs Localized Definitions." + "provider": "Microsoft Web Apps", + "resource": "Api Management Accounts APIs Localized Definitions" }, "origin": "user,system" }, { "name": "microsoft.web/apimanagementaccounts/apis/localizeddefinitions/read", "display": { - "provider": "Microsoft Web Apps", - "resource": "Api Management Accounts APIs Localized Definitions", + "description": "Get Api Management Accounts APIs Localized Definitions.", "operation": "Get Api Management Accounts APIs Localized Definitions", - "description": "Get Api Management Accounts APIs Localized Definitions." + "provider": "Microsoft Web Apps", + "resource": "Api Management Accounts APIs Localized Definitions" }, "origin": "user,system" }, { "name": "microsoft.web/apimanagementaccounts/apis/localizeddefinitions/write", "display": { - "provider": "Microsoft Web Apps", - "resource": "Api Management Accounts APIs Localized Definitions", + "description": "Update Api Management Accounts APIs Localized Definitions.", "operation": "Update Api Management Accounts APIs Localized Definitions", - "description": "Update Api Management Accounts APIs Localized Definitions." + "provider": "Microsoft Web Apps", + "resource": "Api Management Accounts APIs Localized Definitions" }, "origin": "user,system" }, { "name": "microsoft.web/apimanagementaccounts/apis/write", "display": { - "provider": "Microsoft Web Apps", - "resource": "Api Management Accounts APIs", + "description": "Update Api Management Accounts APIs.", "operation": "Update Api Management Accounts APIs", - "description": "Update Api Management Accounts APIs." + "provider": "Microsoft Web Apps", + "resource": "Api Management Accounts APIs" }, "origin": "user,system" }, { "name": "microsoft.web/apimanagementaccounts/apis/connections/listconnectionkeys/action", "display": { - "provider": "Microsoft Web Apps", - "resource": "Api Management Accounts APIs Connections", + "description": "List Connection Keys Api Management Accounts APIs Connections.", "operation": "List Connection Keys Api Management Accounts APIs Connections", - "description": "List Connection Keys Api Management Accounts APIs Connections." + "provider": "Microsoft Web Apps", + "resource": "Api Management Accounts APIs Connections" }, "origin": "user,system" }, { "name": "microsoft.web/apimanagementaccounts/apis/connections/listsecrets/action", "display": { - "provider": "Microsoft Web Apps", - "resource": "Api Management Accounts APIs Connections", + "description": "List Secrets Api Management Accounts APIs Connections.", "operation": "List Secrets Api Management Accounts APIs Connections", - "description": "List Secrets Api Management Accounts APIs Connections." + "provider": "Microsoft Web Apps", + "resource": "Api Management Accounts APIs Connections" }, "origin": "user,system" }, { "name": "microsoft.web/sites/diagnostics/deployments/read", "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Diagnostics Deployments", + "description": "Get Web Apps Diagnostics Deployments.", "operation": "Get Web Apps Diagnostics Deployments", - "description": "Get Web Apps Diagnostics Deployments." + "provider": "Microsoft Web Apps", + "resource": "Web Apps Diagnostics Deployments" }, "origin": "user,system" }, { "name": "microsoft.web/sites/slots/diagnostics/deployments/read", "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Slots Diagnostics Deployments", + "description": "Get Web Apps Slots Diagnostics Deployments.", "operation": "Get Web Apps Slots Diagnostics Deployments", - "description": "Get Web Apps Slots Diagnostics Deployments." + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Diagnostics Deployments" }, "origin": "user,system" }, { "name": "microsoft.web/sites/diagnostics/loganalyzer/read", "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Diagnostics Log Analyzer", + "description": "Get Web Apps Diagnostics Log Analyzer.", "operation": "Get Web Apps Diagnostics Log Analyzer", - "description": "Get Web Apps Diagnostics Log Analyzer." + "provider": "Microsoft Web Apps", + "resource": "Web Apps Diagnostics Log Analyzer" }, "origin": "user,system" }, { "name": "microsoft.web/sites/slots/diagnostics/loganalyzer/read", "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Slots Diagnostics Log Analyzer", + "description": "Get Web Apps Slots Diagnostics Log Analyzer.", "operation": "Get Web Apps Slots Diagnostics Log Analyzer", - "description": "Get Web Apps Slots Diagnostics Log Analyzer." + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Diagnostics Log Analyzer" }, "origin": "user,system" }, { "name": "microsoft.web/sites/diagnostics/sitecrashes/read", "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Diagnostics Site Crashes", + "description": "Get Web Apps Diagnostics Site Crashes.", "operation": "Get Web Apps Diagnostics Site Crashes", - "description": "Get Web Apps Diagnostics Site Crashes." + "provider": "Microsoft Web Apps", + "resource": "Web Apps Diagnostics Site Crashes" }, "origin": "user,system" }, { "name": "microsoft.web/sites/slots/diagnostics/sitecrashes/read", "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Slots Diagnostics Site Crashes", + "description": "Get Web Apps Slots Diagnostics Site Crashes.", "operation": "Get Web Apps Slots Diagnostics Site Crashes", - "description": "Get Web Apps Slots Diagnostics Site Crashes." + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Diagnostics Site Crashes" }, "origin": "user,system" }, { "name": "microsoft.web/sites/diagnostics/siterestartsettingupdate/read", "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Diagnostics Site Restart Setting Update", + "description": "Get Web Apps Diagnostics Site Restart Setting Update.", "operation": "Get Web Apps Diagnostics Site Restart Setting Update", - "description": "Get Web Apps Diagnostics Site Restart Setting Update." + "provider": "Microsoft Web Apps", + "resource": "Web Apps Diagnostics Site Restart Setting Update" }, "origin": "user,system" }, { "name": "microsoft.web/sites/slots/diagnostics/siterestartsettingupdate/read", "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Slots Diagnostics Site Restart Setting Update", + "description": "Get Web Apps Slots Diagnostics Site Restart Setting Update.", "operation": "Get Web Apps Slots Diagnostics Site Restart Setting Update", - "description": "Get Web Apps Slots Diagnostics Site Restart Setting Update." + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Diagnostics Site Restart Setting Update" }, "origin": "user,system" }, { "name": "microsoft.web/sites/diagnostics/siterestartuserinitiated/read", "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Diagnostics Site Restart User Initiated", + "description": "Get Web Apps Diagnostics Site Restart User Initiated.", "operation": "Get Web Apps Diagnostics Site Restart User Initiated", - "description": "Get Web Apps Diagnostics Site Restart User Initiated." + "provider": "Microsoft Web Apps", + "resource": "Web Apps Diagnostics Site Restart User Initiated" }, "origin": "user,system" }, { "name": "microsoft.web/sites/slots/diagnostics/siterestartuserinitiated/read", "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Slots Diagnostics Site Restart User Initiated", + "description": "Get Web Apps Slots Diagnostics Site Restart User Initiated.", "operation": "Get Web Apps Slots Diagnostics Site Restart User Initiated", - "description": "Get Web Apps Slots Diagnostics Site Restart User Initiated." + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Diagnostics Site Restart User Initiated" }, "origin": "user,system" }, { "name": "microsoft.web/sites/diagnostics/siteswap/read", "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Diagnostics Site Swap", + "description": "Get Web Apps Diagnostics Site Swap.", "operation": "Get Web Apps Diagnostics Site Swap", - "description": "Get Web Apps Diagnostics Site Swap." + "provider": "Microsoft Web Apps", + "resource": "Web Apps Diagnostics Site Swap" }, "origin": "user,system" }, { "name": "microsoft.web/sites/slots/diagnostics/siteswap/read", "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Slots Diagnostics Site Swap", + "description": "Get Web Apps Slots Diagnostics Site Swap.", "operation": "Get Web Apps Slots Diagnostics Site Swap", - "description": "Get Web Apps Slots Diagnostics Site Swap." + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Diagnostics Site Swap" }, "origin": "user,system" }, { "name": "microsoft.web/sites/functions/token/read", "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Functions Token", + "description": "Get Web Apps Functions Token.", "operation": "Get Web Apps Functions Token", - "description": "Get Web Apps Functions Token." + "provider": "Microsoft Web Apps", + "resource": "Web Apps Functions Token" }, "origin": "user,system" }, { "name": "microsoft.web/sites/instances/deployments/delete", "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Instances Deployments", + "description": "Delete Web Apps Instances Deployments.", "operation": "Delete Web Apps Instances Deployments", - "description": "Delete Web Apps Instances Deployments." + "provider": "Microsoft Web Apps", + "resource": "Web Apps Instances Deployments" }, "origin": "user,system" }, { "name": "microsoft.web/sites/processes/read", "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Processes", + "description": "Get Web Apps Processes.", "operation": "Get Web Apps Processes", - "description": "Get Web Apps Processes." + "provider": "Microsoft Web Apps", + "resource": "Web Apps Processes" }, "origin": "user,system" }, { "name": "microsoft.web/sites/publiccertificates/delete", "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Public Certificates", + "description": "Delete Web Apps Public Certificates.", "operation": "Delete Web Apps Public Certificates", - "description": "Delete Web Apps Public Certificates." + "provider": "Microsoft Web Apps", + "resource": "Web Apps Public Certificates" }, "origin": "user,system" }, { "name": "microsoft.web/sites/publiccertificates/read", "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Public Certificates", + "description": "Get Web Apps Public Certificates.", "operation": "Get Web Apps Public Certificates", - "description": "Get Web Apps Public Certificates." + "provider": "Microsoft Web Apps", + "resource": "Web Apps Public Certificates" }, "origin": "user,system" }, { "name": "microsoft.web/sites/publiccertificates/write", "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Public Certificates", + "description": "Update Web Apps Public Certificates.", "operation": "Update Web Apps Public Certificates", - "description": "Update Web Apps Public Certificates." + "provider": "Microsoft Web Apps", + "resource": "Web Apps Public Certificates" }, "origin": "user,system" }, { "name": "microsoft.web/sites/slots/networktrace/action", "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Slots", + "description": "Network Trace Web Apps Slots.", "operation": "Network Trace Web Apps Slots", - "description": "Network Trace Web Apps Slots." + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots" }, "origin": "user,system" }, { "name": "microsoft.web/sites/diagnostics/autoheal/read", "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Diagnostics Autoheal", + "description": "Get Web Apps Diagnostics Autoheal.", "operation": "Get Web Apps Diagnostics Autoheal", - "description": "Get Web Apps Diagnostics Autoheal." + "provider": "Microsoft Web Apps", + "resource": "Web Apps Diagnostics Autoheal" }, "origin": "user,system" }, { "name": "microsoft.web/sites/slots/diagnostics/autoheal/read", "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Slots Diagnostics Autoheal", + "description": "Get Web Apps Slots Diagnostics Autoheal.", "operation": "Get Web Apps Slots Diagnostics Autoheal", - "description": "Get Web Apps Slots Diagnostics Autoheal." + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Diagnostics Autoheal" }, "origin": "user,system" }, { "name": "microsoft.web/sites/slots/diagnostics/read", "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Slots Diagnostics", + "description": "Get Web Apps Slots Diagnostics.", "operation": "Get Web Apps Slots Diagnostics", - "description": "Get Web Apps Slots Diagnostics." + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Diagnostics" }, "origin": "user,system" }, { "name": "microsoft.web/sites/slots/diagnostics/runtimeavailability/read", "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Slots Diagnostics Runtime Availability", + "description": "Get Web Apps Slots Diagnostics Runtime Availability.", "operation": "Get Web Apps Slots Diagnostics Runtime Availability", - "description": "Get Web Apps Slots Diagnostics Runtime Availability." + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Diagnostics Runtime Availability" }, "origin": "user,system" }, { "name": "microsoft.web/sites/slots/diagnostics/servicehealth/read", "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Slots Diagnostics Service Health", + "description": "Get Web Apps Slots Diagnostics Service Health.", "operation": "Get Web Apps Slots Diagnostics Service Health", - "description": "Get Web Apps Slots Diagnostics Service Health." + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Diagnostics Service Health" }, "origin": "user,system" }, { "name": "microsoft.web/sites/slots/diagnostics/sitelatency/read", "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Slots Diagnostics Site Latency", + "description": "Get Web Apps Slots Diagnostics Site Latency.", "operation": "Get Web Apps Slots Diagnostics Site Latency", - "description": "Get Web Apps Slots Diagnostics Site Latency." + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Diagnostics Site Latency" }, "origin": "user,system" }, { "name": "microsoft.web/sites/slots/migratemysql/read", "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Slots Migrate MySql", + "description": "Get Web Apps Slots Migrate MySql.", "operation": "Get Web Apps Slots Migrate MySql", - "description": "Get Web Apps Slots Migrate MySql." + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Migrate MySql" }, "origin": "user,system" }, { "name": "microsoft.web/sites/providers/Microsoft.Insights/diagnosticSettings/read", "display": { - "provider": "Microsoft Web Apps", - "resource": "Diagnostic setting for Web App", + "description": "Gets the diagnostic setting for the resource", "operation": "Read diagnostic setting", - "description": "Gets the diagnostic setting for the resource" + "provider": "Microsoft Web Apps", + "resource": "Diagnostic setting for Web App" }, "origin": "system" }, { "name": "microsoft.web/sites/providers/Microsoft.Insights/diagnosticSettings/write", "display": { - "provider": "Microsoft Web Apps", - "resource": "Diagnostic setting for Web App", + "description": "Creates or updates the diagnostic setting for the resource", "operation": "Write diagnostic setting", - "description": "Creates or updates the diagnostic setting for the resource" + "provider": "Microsoft Web Apps", + "resource": "Diagnostic setting for Web App" }, "origin": "system" }, { "name": "microsoft.web/sites/slots/providers/Microsoft.Insights/diagnosticSettings/read", "display": { - "provider": "Microsoft Web Apps", - "resource": "Diagnostic setting for Web App slot", + "description": "Gets the diagnostic setting for the resource", "operation": "Read diagnostic setting", - "description": "Gets the diagnostic setting for the resource" + "provider": "Microsoft Web Apps", + "resource": "Diagnostic setting for Web App slot" }, "origin": "system" }, { "name": "microsoft.web/sites/slots/providers/Microsoft.Insights/diagnosticSettings/write", "display": { - "provider": "Microsoft Web Apps", - "resource": "Diagnostic setting for Web App slot", + "description": "Creates or updates the diagnostic setting for the resource", "operation": "Write diagnostic setting", - "description": "Creates or updates the diagnostic setting for the resource" + "provider": "Microsoft Web Apps", + "resource": "Diagnostic setting for Web App slot" }, "origin": "system" }, { "name": "microsoft.web/serverfarms/providers/Microsoft.Insights/diagnosticSettings/read", "display": { - "provider": "Microsoft Web Apps", - "resource": "Diagnostic setting for App Service plan", + "description": "Gets the diagnostic setting for the resource", "operation": "Read diagnostic setting", - "description": "Gets the diagnostic setting for the resource" + "provider": "Microsoft Web Apps", + "resource": "Diagnostic setting for App Service plan" }, "origin": "system" }, { "name": "microsoft.web/serverfarms/providers/Microsoft.Insights/diagnosticSettings/write", "display": { - "provider": "Microsoft Web Apps", - "resource": "Diagnostic setting for App Service plan", + "description": "Creates or updates the diagnostic setting for the resource", "operation": "Write diagnostic setting", - "description": "Creates or updates the diagnostic setting for the resource" + "provider": "Microsoft Web Apps", + "resource": "Diagnostic setting for App Service plan" }, "origin": "system" }, { "name": "microsoft.web/hostingenvironments/providers/Microsoft.Insights/diagnosticSettings/read", "display": { - "provider": "Microsoft Web Apps", - "resource": "Diagnostic setting for App Service Environment", + "description": "Gets the diagnostic setting for the resource", "operation": "Read diagnostic setting", - "description": "Gets the diagnostic setting for the resource" + "provider": "Microsoft Web Apps", + "resource": "Diagnostic setting for App Service Environment" }, "origin": "system" }, { "name": "microsoft.web/hostingenvironments/providers/Microsoft.Insights/diagnosticSettings/write", "display": { - "provider": "Microsoft Web Apps", - "resource": "Diagnostic setting for App Service Environment", + "description": "Creates or updates the diagnostic setting for the resource", "operation": "Write diagnostic setting", - "description": "Creates or updates the diagnostic setting for the resource" + "provider": "Microsoft Web Apps", + "resource": "Diagnostic setting for App Service Environment" }, "origin": "system" }, { "name": "microsoft.web/billingmeters/read", "display": { - "provider": "Microsoft Web Apps", - "resource": "Billing meters for Microsoft Web Apps", + "description": "Get list of billing meters.", "operation": "Read billing meters", - "description": "Get list of billing meters." + "provider": "Microsoft Web Apps", + "resource": "Billing meters for Microsoft Web Apps" }, "origin": "system" }, { "name": "microsoft.web/sites/slots/instances/processes/delete", "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Slots Instances Processes", + "description": "Delete Web Apps Slots Instances Processes.", "operation": "Delete Web Apps Slots Instances Processes", - "description": "Delete Web Apps Slots Instances Processes." + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Instances Processes" }, "origin": "user,system" }, { "name": "microsoft.web/sites/restore/write", "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps", + "description": "Restore Web Apps.", "operation": "Restore Web Apps", - "description": "Restore Web Apps." + "provider": "Microsoft Web Apps", + "resource": "Web Apps" }, "origin": "user,system" }, { "name": "microsoft.web/sites/instances/extensions/log/read", "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Instances Extensions Log", + "description": "Get Web Apps Instances Extensions Log.", "operation": "Get Web Apps Instances Extensions Log", - "description": "Get Web Apps Instances Extensions Log." + "provider": "Microsoft Web Apps", + "resource": "Web Apps Instances Extensions Log" }, "origin": "user,system" }, { "name": "microsoft.web/customapis/write", "display": { - "provider": "Microsoft Web Apps", - "resource": "Custom APIs", + "description": "Update Custom APIs.", "operation": "Update Custom APIs", - "description": "Update Custom APIs." + "provider": "Microsoft Web Apps", + "resource": "Custom APIs" }, "origin": "user,system" }, { "name": "microsoft.web/customapis/read", "display": { - "provider": "Microsoft Web Apps", - "resource": "Custom APIs", + "description": "Get Custom APIs.", "operation": "Get Custom APIs", - "description": "Get Custom APIs." + "provider": "Microsoft Web Apps", + "resource": "Custom APIs" }, "origin": "user,system" }, { "name": "microsoft.web/sites/diagnostics/failedrequestsperuri/read", "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Diagnostics Failed Requests Per Uri", + "description": "Get Web Apps Diagnostics Failed Requests Per Uri.", "operation": "Get Web Apps Diagnostics Failed Requests Per Uri", - "description": "Get Web Apps Diagnostics Failed Requests Per Uri." + "provider": "Microsoft Web Apps", + "resource": "Web Apps Diagnostics Failed Requests Per Uri" }, "origin": "user,system" }, { "name": "microsoft.web/sites/slots/restore/write", "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Slots", + "description": "Restore Web Apps Slots.", "operation": "Restore Web Apps Slots", - "description": "Restore Web Apps Slots." + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots" }, "origin": "user,system" }, { "name": "microsoft.web/sites/diagnostics/detectors/read", "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Diagnostics Detector", + "description": "Get Web Apps Diagnostics Detector.", "operation": "Get Web Apps Diagnostics Detector", - "description": "Get Web Apps Diagnostics Detector." + "provider": "Microsoft Web Apps", + "resource": "Web Apps Diagnostics Detector" }, "origin": "user,system" }, { "name": "microsoft.web/sites/diagnostics/analyses/read", "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Diagnostics Analysis", + "description": "Get Web Apps Diagnostics Analysis.", "operation": "Get Web Apps Diagnostics Analysis", - "description": "Get Web Apps Diagnostics Analysis." + "provider": "Microsoft Web Apps", + "resource": "Web Apps Diagnostics Analysis" }, "origin": "user,system" }, { "name": "microsoft.web/sites/slots/diagnostics/analyses/read", "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Slots Diagnostics Analysis", + "description": "Get Web Apps Slots Diagnostics Analysis.", "operation": "Get Web Apps Slots Diagnostics Analysis", - "description": "Get Web Apps Slots Diagnostics Analysis." + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Diagnostics Analysis" }, "origin": "user,system" }, { "name": "microsoft.web/sites/slots/diagnostics/detectors/read", "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Slots Diagnostics Detector", + "description": "Get Web Apps Slots Diagnostics Detector.", "operation": "Get Web Apps Slots Diagnostics Detector", - "description": "Get Web Apps Slots Diagnostics Detector." + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Diagnostics Detector" }, "origin": "user,system" }, { "name": "microsoft.web/sites/diagnostics/analyses/execute/Action", "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Diagnostics Analysis", + "description": "Run Web Apps Diagnostics Analysis.", "operation": "Run Web Apps Diagnostics Analysis", - "description": "Run Web Apps Diagnostics Analysis." + "provider": "Microsoft Web Apps", + "resource": "Web Apps Diagnostics Analysis" }, "origin": "user,system" }, { "name": "microsoft.web/sites/diagnostics/detectors/execute/Action", "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Diagnostics Detector", + "description": "Run Web Apps Diagnostics Detector.", "operation": "Run Web Apps Diagnostics Detector", - "description": "Run Web Apps Diagnostics Detector." + "provider": "Microsoft Web Apps", + "resource": "Web Apps Diagnostics Detector" }, "origin": "user,system" }, { "name": "microsoft.web/sites/slots/diagnostics/analyses/execute/Action", "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Slots Diagnostics Analysis", + "description": "Run Web Apps Slots Diagnostics Analysis.", "operation": "Run Web Apps Slots Diagnostics Analysis", - "description": "Run Web Apps Slots Diagnostics Analysis." + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Diagnostics Analysis" }, "origin": "user,system" }, { "name": "microsoft.web/sites/slots/diagnostics/detectors/execute/Action", "display": { - "provider": "Microsoft Web Apps", - "resource": "Web Apps Slots Diagnostics Detector", + "description": "Run Web Apps Slots Diagnostics Detector.", "operation": "Run Web Apps Slots Diagnostics Detector", - "description": "Run Web Apps Slots Diagnostics Detector." + "provider": "Microsoft Web Apps", + "resource": "Web Apps Slots Diagnostics Detector" }, "origin": "user,system" }, { "name": "Microsoft.Web/serverfarms/providers/Microsoft.Insights/metricDefinitions/Read", "display": { - "provider": "Microsoft.Web", - "resource": "The metric definition of App Service Plan", + "description": "Gets the available metrics for App Service Plan", "operation": "Read App Service Plan metric definitions", - "description": "Gets the available metrics for App Service Plan" + "provider": "Microsoft.Web", + "resource": "The metric definition of App Service Plan" }, "origin": "system", "properties": { @@ -3581,49 +3580,21 @@ "metricSpecifications": [ { "name": "CpuPercentage", - "displayName": "CPU Percentage", - "displayDescription": "CPU Percentage", - "unit": "Percent", "aggregationType": "Average", - "supportsInstanceLevelAggregation": false, - "enableRegionalMdmAccount": false, - "metricFilterPattern": "^(?!functionapp).*$", - "fillGapWithZero": true, - "isInternal": false, - "dimensions": [ - { - "name": "Instance", - "displayName": "Instance", - "internalName": "ServerName", - "toBeExportedForShoebox": true - } - ], "availabilities": [ { - "timeGrain": "PT1M", - "blobDuration": "P2D" + "blobDuration": "P2D", + "timeGrain": "PT1M" }, { - "timeGrain": "PT1H", - "blobDuration": "P30D" + "blobDuration": "P30D", + "timeGrain": "PT1H" }, { - "timeGrain": "P1D", - "blobDuration": "P90D" + "blobDuration": "P90D", + "timeGrain": "P1D" } - ] - }, - { - "name": "MemoryPercentage", - "displayName": "Memory Percentage", - "displayDescription": "Memory Percentage", - "unit": "Percent", - "aggregationType": "Average", - "supportsInstanceLevelAggregation": false, - "enableRegionalMdmAccount": false, - "metricFilterPattern": "^(?!functionapp).*$", - "fillGapWithZero": true, - "isInternal": false, + ], "dimensions": [ { "name": "Instance", @@ -3632,32 +3603,32 @@ "toBeExportedForShoebox": true } ], + "displayDescription": "CPU Percentage", + "displayName": "CPU Percentage", + "enableRegionalMdmAccount": false, + "fillGapWithZero": true, + "isInternal": false, + "metricFilterPattern": "^(?!functionapp).*$", + "supportsInstanceLevelAggregation": false, + "unit": "Percent" + }, + { + "name": "MemoryPercentage", + "aggregationType": "Average", "availabilities": [ { - "timeGrain": "PT1M", - "blobDuration": "P2D" + "blobDuration": "P2D", + "timeGrain": "PT1M" }, { - "timeGrain": "PT1H", - "blobDuration": "P30D" + "blobDuration": "P30D", + "timeGrain": "PT1H" }, { - "timeGrain": "P1D", - "blobDuration": "P90D" + "blobDuration": "P90D", + "timeGrain": "P1D" } - ] - }, - { - "name": "DiskQueueLength", - "displayName": "Disk Queue Length", - "displayDescription": "Disk Queue Length", - "unit": "Count", - "aggregationType": "Average", - "supportsInstanceLevelAggregation": false, - "enableRegionalMdmAccount": false, - "metricFilterPattern": "^(?!functionapp).*$", - "fillGapWithZero": true, - "isInternal": false, + ], "dimensions": [ { "name": "Instance", @@ -3666,32 +3637,32 @@ "toBeExportedForShoebox": true } ], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "P2D" - }, - { - "timeGrain": "PT1H", - "blobDuration": "P30D" - }, - { - "timeGrain": "P1D", - "blobDuration": "P90D" - } - ] - }, - { - "name": "HttpQueueLength", - "displayName": "Http Queue Length", - "displayDescription": "Http Queue Length", - "unit": "Count", - "aggregationType": "Average", - "supportsInstanceLevelAggregation": false, + "displayDescription": "Memory Percentage", + "displayName": "Memory Percentage", "enableRegionalMdmAccount": false, - "metricFilterPattern": "^(?!functionapp).*$", "fillGapWithZero": true, "isInternal": false, + "metricFilterPattern": "^(?!functionapp).*$", + "supportsInstanceLevelAggregation": false, + "unit": "Percent" + }, + { + "name": "DiskQueueLength", + "aggregationType": "Average", + "availabilities": [ + { + "blobDuration": "P2D", + "timeGrain": "PT1M" + }, + { + "blobDuration": "P30D", + "timeGrain": "PT1H" + }, + { + "blobDuration": "P90D", + "timeGrain": "P1D" + } + ], "dimensions": [ { "name": "Instance", @@ -3700,32 +3671,32 @@ "toBeExportedForShoebox": true } ], + "displayDescription": "Disk Queue Length", + "displayName": "Disk Queue Length", + "enableRegionalMdmAccount": false, + "fillGapWithZero": true, + "isInternal": false, + "metricFilterPattern": "^(?!functionapp).*$", + "supportsInstanceLevelAggregation": false, + "unit": "Count" + }, + { + "name": "HttpQueueLength", + "aggregationType": "Average", "availabilities": [ { - "timeGrain": "PT1M", - "blobDuration": "P2D" + "blobDuration": "P2D", + "timeGrain": "PT1M" }, { - "timeGrain": "PT1H", - "blobDuration": "P30D" + "blobDuration": "P30D", + "timeGrain": "PT1H" }, { - "timeGrain": "P1D", - "blobDuration": "P90D" + "blobDuration": "P90D", + "timeGrain": "P1D" } - ] - }, - { - "name": "BytesReceived", - "displayName": "Data In", - "displayDescription": "Data In", - "unit": "Bytes", - "aggregationType": "Total", - "supportsInstanceLevelAggregation": false, - "enableRegionalMdmAccount": false, - "metricFilterPattern": "^(?!functionapp).*$", - "fillGapWithZero": true, - "isInternal": false, + ], "dimensions": [ { "name": "Instance", @@ -3734,32 +3705,32 @@ "toBeExportedForShoebox": true } ], + "displayDescription": "Http Queue Length", + "displayName": "Http Queue Length", + "enableRegionalMdmAccount": false, + "fillGapWithZero": true, + "isInternal": false, + "metricFilterPattern": "^(?!functionapp).*$", + "supportsInstanceLevelAggregation": false, + "unit": "Count" + }, + { + "name": "BytesReceived", + "aggregationType": "Total", "availabilities": [ { - "timeGrain": "PT1M", - "blobDuration": "P2D" + "blobDuration": "P2D", + "timeGrain": "PT1M" }, { - "timeGrain": "PT1H", - "blobDuration": "P30D" + "blobDuration": "P30D", + "timeGrain": "PT1H" }, { - "timeGrain": "P1D", - "blobDuration": "P90D" + "blobDuration": "P90D", + "timeGrain": "P1D" } - ] - }, - { - "name": "BytesSent", - "displayName": "Data Out", - "displayDescription": "Data Out", - "unit": "Bytes", - "aggregationType": "Total", - "supportsInstanceLevelAggregation": false, - "enableRegionalMdmAccount": false, - "metricFilterPattern": "^(?!functionapp).*$", - "fillGapWithZero": true, - "isInternal": false, + ], "dimensions": [ { "name": "Instance", @@ -3768,20 +3739,48 @@ "toBeExportedForShoebox": true } ], + "displayDescription": "Data In", + "displayName": "Data In", + "enableRegionalMdmAccount": false, + "fillGapWithZero": true, + "isInternal": false, + "metricFilterPattern": "^(?!functionapp).*$", + "supportsInstanceLevelAggregation": false, + "unit": "Bytes" + }, + { + "name": "BytesSent", + "aggregationType": "Total", "availabilities": [ { - "timeGrain": "PT1M", - "blobDuration": "P2D" + "blobDuration": "P2D", + "timeGrain": "PT1M" }, { - "timeGrain": "PT1H", - "blobDuration": "P30D" + "blobDuration": "P30D", + "timeGrain": "PT1H" }, { - "timeGrain": "P1D", - "blobDuration": "P90D" + "blobDuration": "P90D", + "timeGrain": "P1D" } - ] + ], + "dimensions": [ + { + "name": "Instance", + "displayName": "Instance", + "internalName": "ServerName", + "toBeExportedForShoebox": true + } + ], + "displayDescription": "Data Out", + "displayName": "Data Out", + "enableRegionalMdmAccount": false, + "fillGapWithZero": true, + "isInternal": false, + "metricFilterPattern": "^(?!functionapp).*$", + "supportsInstanceLevelAggregation": false, + "unit": "Bytes" } ] } @@ -3790,10 +3789,10 @@ { "name": "Microsoft.Web/sites/providers/Microsoft.Insights/metricDefinitions/Read", "display": { - "provider": "Microsoft.Web", - "resource": "The metric definition of Web App", + "description": "Gets the available metrics for Web App", "operation": "Read Web App metric definitions", - "description": "Gets the available metrics for Web App" + "provider": "Microsoft.Web", + "resource": "The metric definition of Web App" }, "origin": "system", "properties": { @@ -3801,49 +3800,21 @@ "metricSpecifications": [ { "name": "CpuTime", - "displayName": "CPU Time", - "displayDescription": "CPU Time", - "unit": "Seconds", "aggregationType": "Total", - "supportsInstanceLevelAggregation": false, - "enableRegionalMdmAccount": false, - "metricFilterPattern": "^(?!functionapp).*$", - "fillGapWithZero": true, - "isInternal": false, - "dimensions": [ - { - "name": "Instance", - "displayName": "Instance", - "internalName": "ServerName", - "toBeExportedForShoebox": true - } - ], "availabilities": [ { - "timeGrain": "PT1M", - "blobDuration": "P2D" + "blobDuration": "P2D", + "timeGrain": "PT1M" }, { - "timeGrain": "PT1H", - "blobDuration": "P30D" + "blobDuration": "P30D", + "timeGrain": "PT1H" }, { - "timeGrain": "P1D", - "blobDuration": "P90D" + "blobDuration": "P90D", + "timeGrain": "P1D" } - ] - }, - { - "name": "Requests", - "displayName": "Requests", - "displayDescription": "Requests", - "unit": "Count", - "aggregationType": "Total", - "supportsInstanceLevelAggregation": false, - "enableRegionalMdmAccount": false, - "metricFilterPattern": "^(?!functionapp).*$", - "fillGapWithZero": true, - "isInternal": false, + ], "dimensions": [ { "name": "Instance", @@ -3852,31 +3823,32 @@ "toBeExportedForShoebox": true } ], + "displayDescription": "CPU Time", + "displayName": "CPU Time", + "enableRegionalMdmAccount": false, + "fillGapWithZero": true, + "isInternal": false, + "metricFilterPattern": "^(?!functionapp).*$", + "supportsInstanceLevelAggregation": false, + "unit": "Seconds" + }, + { + "name": "Requests", + "aggregationType": "Total", "availabilities": [ { - "timeGrain": "PT1M", - "blobDuration": "P2D" + "blobDuration": "P2D", + "timeGrain": "PT1M" }, { - "timeGrain": "PT1H", - "blobDuration": "P30D" + "blobDuration": "P30D", + "timeGrain": "PT1H" }, { - "timeGrain": "P1D", - "blobDuration": "P90D" + "blobDuration": "P90D", + "timeGrain": "P1D" } - ] - }, - { - "name": "BytesReceived", - "displayName": "Data In", - "displayDescription": "Data In", - "unit": "Bytes", - "aggregationType": "Total", - "supportsInstanceLevelAggregation": false, - "enableRegionalMdmAccount": false, - "fillGapWithZero": true, - "isInternal": false, + ], "dimensions": [ { "name": "Instance", @@ -3885,31 +3857,32 @@ "toBeExportedForShoebox": true } ], + "displayDescription": "Requests", + "displayName": "Requests", + "enableRegionalMdmAccount": false, + "fillGapWithZero": true, + "isInternal": false, + "metricFilterPattern": "^(?!functionapp).*$", + "supportsInstanceLevelAggregation": false, + "unit": "Count" + }, + { + "name": "BytesReceived", + "aggregationType": "Total", "availabilities": [ { - "timeGrain": "PT1M", - "blobDuration": "P2D" + "blobDuration": "P2D", + "timeGrain": "PT1M" }, { - "timeGrain": "PT1H", - "blobDuration": "P30D" + "blobDuration": "P30D", + "timeGrain": "PT1H" }, { - "timeGrain": "P1D", - "blobDuration": "P90D" + "blobDuration": "P90D", + "timeGrain": "P1D" } - ] - }, - { - "name": "BytesSent", - "displayName": "Data Out", - "displayDescription": "Data Out", - "unit": "Bytes", - "aggregationType": "Total", - "supportsInstanceLevelAggregation": false, - "enableRegionalMdmAccount": false, - "fillGapWithZero": true, - "isInternal": false, + ], "dimensions": [ { "name": "Instance", @@ -3918,32 +3891,31 @@ "toBeExportedForShoebox": true } ], + "displayDescription": "Data In", + "displayName": "Data In", + "enableRegionalMdmAccount": false, + "fillGapWithZero": true, + "isInternal": false, + "supportsInstanceLevelAggregation": false, + "unit": "Bytes" + }, + { + "name": "BytesSent", + "aggregationType": "Total", "availabilities": [ { - "timeGrain": "PT1M", - "blobDuration": "P2D" + "blobDuration": "P2D", + "timeGrain": "PT1M" }, { - "timeGrain": "PT1H", - "blobDuration": "P30D" + "blobDuration": "P30D", + "timeGrain": "PT1H" }, { - "timeGrain": "P1D", - "blobDuration": "P90D" + "blobDuration": "P90D", + "timeGrain": "P1D" } - ] - }, - { - "name": "Http101", - "displayName": "Http 101", - "displayDescription": "Http 101", - "unit": "Count", - "aggregationType": "Total", - "supportsInstanceLevelAggregation": false, - "enableRegionalMdmAccount": false, - "metricFilterPattern": "^(?!functionapp).*$", - "fillGapWithZero": true, - "isInternal": false, + ], "dimensions": [ { "name": "Instance", @@ -3952,32 +3924,31 @@ "toBeExportedForShoebox": true } ], + "displayDescription": "Data Out", + "displayName": "Data Out", + "enableRegionalMdmAccount": false, + "fillGapWithZero": true, + "isInternal": false, + "supportsInstanceLevelAggregation": false, + "unit": "Bytes" + }, + { + "name": "Http101", + "aggregationType": "Total", "availabilities": [ { - "timeGrain": "PT1M", - "blobDuration": "P2D" + "blobDuration": "P2D", + "timeGrain": "PT1M" }, { - "timeGrain": "PT1H", - "blobDuration": "P30D" + "blobDuration": "P30D", + "timeGrain": "PT1H" }, { - "timeGrain": "P1D", - "blobDuration": "P90D" + "blobDuration": "P90D", + "timeGrain": "P1D" } - ] - }, - { - "name": "Http2xx", - "displayName": "Http 2xx", - "displayDescription": "Http 2xx", - "unit": "Count", - "aggregationType": "Total", - "supportsInstanceLevelAggregation": false, - "enableRegionalMdmAccount": false, - "metricFilterPattern": "^(?!functionapp).*$", - "fillGapWithZero": true, - "isInternal": false, + ], "dimensions": [ { "name": "Instance", @@ -3986,32 +3957,32 @@ "toBeExportedForShoebox": true } ], + "displayDescription": "Http 101", + "displayName": "Http 101", + "enableRegionalMdmAccount": false, + "fillGapWithZero": true, + "isInternal": false, + "metricFilterPattern": "^(?!functionapp).*$", + "supportsInstanceLevelAggregation": false, + "unit": "Count" + }, + { + "name": "Http2xx", + "aggregationType": "Total", "availabilities": [ { - "timeGrain": "PT1M", - "blobDuration": "P2D" + "blobDuration": "P2D", + "timeGrain": "PT1M" }, { - "timeGrain": "PT1H", - "blobDuration": "P30D" + "blobDuration": "P30D", + "timeGrain": "PT1H" }, { - "timeGrain": "P1D", - "blobDuration": "P90D" + "blobDuration": "P90D", + "timeGrain": "P1D" } - ] - }, - { - "name": "Http3xx", - "displayName": "Http 3xx", - "displayDescription": "Http 3xx", - "unit": "Count", - "aggregationType": "Total", - "supportsInstanceLevelAggregation": false, - "enableRegionalMdmAccount": false, - "metricFilterPattern": "^(?!functionapp).*$", - "fillGapWithZero": true, - "isInternal": false, + ], "dimensions": [ { "name": "Instance", @@ -4020,32 +3991,32 @@ "toBeExportedForShoebox": true } ], + "displayDescription": "Http 2xx", + "displayName": "Http 2xx", + "enableRegionalMdmAccount": false, + "fillGapWithZero": true, + "isInternal": false, + "metricFilterPattern": "^(?!functionapp).*$", + "supportsInstanceLevelAggregation": false, + "unit": "Count" + }, + { + "name": "Http3xx", + "aggregationType": "Total", "availabilities": [ { - "timeGrain": "PT1M", - "blobDuration": "P2D" + "blobDuration": "P2D", + "timeGrain": "PT1M" }, { - "timeGrain": "PT1H", - "blobDuration": "P30D" + "blobDuration": "P30D", + "timeGrain": "PT1H" }, { - "timeGrain": "P1D", - "blobDuration": "P90D" + "blobDuration": "P90D", + "timeGrain": "P1D" } - ] - }, - { - "name": "Http401", - "displayName": "Http 401", - "displayDescription": "Http 401", - "unit": "Count", - "aggregationType": "Total", - "supportsInstanceLevelAggregation": false, - "enableRegionalMdmAccount": false, - "metricFilterPattern": "^(?!functionapp).*$", - "fillGapWithZero": true, - "isInternal": false, + ], "dimensions": [ { "name": "Instance", @@ -4054,32 +4025,32 @@ "toBeExportedForShoebox": true } ], + "displayDescription": "Http 3xx", + "displayName": "Http 3xx", + "enableRegionalMdmAccount": false, + "fillGapWithZero": true, + "isInternal": false, + "metricFilterPattern": "^(?!functionapp).*$", + "supportsInstanceLevelAggregation": false, + "unit": "Count" + }, + { + "name": "Http401", + "aggregationType": "Total", "availabilities": [ { - "timeGrain": "PT1M", - "blobDuration": "P2D" + "blobDuration": "P2D", + "timeGrain": "PT1M" }, { - "timeGrain": "PT1H", - "blobDuration": "P30D" + "blobDuration": "P30D", + "timeGrain": "PT1H" }, { - "timeGrain": "P1D", - "blobDuration": "P90D" + "blobDuration": "P90D", + "timeGrain": "P1D" } - ] - }, - { - "name": "Http403", - "displayName": "Http 403", - "displayDescription": "Http 403", - "unit": "Count", - "aggregationType": "Total", - "supportsInstanceLevelAggregation": false, - "enableRegionalMdmAccount": false, - "metricFilterPattern": "^(?!functionapp).*$", - "fillGapWithZero": true, - "isInternal": false, + ], "dimensions": [ { "name": "Instance", @@ -4088,32 +4059,32 @@ "toBeExportedForShoebox": true } ], + "displayDescription": "Http 401", + "displayName": "Http 401", + "enableRegionalMdmAccount": false, + "fillGapWithZero": true, + "isInternal": false, + "metricFilterPattern": "^(?!functionapp).*$", + "supportsInstanceLevelAggregation": false, + "unit": "Count" + }, + { + "name": "Http403", + "aggregationType": "Total", "availabilities": [ { - "timeGrain": "PT1M", - "blobDuration": "P2D" + "blobDuration": "P2D", + "timeGrain": "PT1M" }, { - "timeGrain": "PT1H", - "blobDuration": "P30D" + "blobDuration": "P30D", + "timeGrain": "PT1H" }, { - "timeGrain": "P1D", - "blobDuration": "P90D" + "blobDuration": "P90D", + "timeGrain": "P1D" } - ] - }, - { - "name": "Http404", - "displayName": "Http 404", - "displayDescription": "Http 404", - "unit": "Count", - "aggregationType": "Total", - "supportsInstanceLevelAggregation": false, - "enableRegionalMdmAccount": false, - "metricFilterPattern": "^(?!functionapp).*$", - "fillGapWithZero": true, - "isInternal": false, + ], "dimensions": [ { "name": "Instance", @@ -4122,32 +4093,32 @@ "toBeExportedForShoebox": true } ], + "displayDescription": "Http 403", + "displayName": "Http 403", + "enableRegionalMdmAccount": false, + "fillGapWithZero": true, + "isInternal": false, + "metricFilterPattern": "^(?!functionapp).*$", + "supportsInstanceLevelAggregation": false, + "unit": "Count" + }, + { + "name": "Http404", + "aggregationType": "Total", "availabilities": [ { - "timeGrain": "PT1M", - "blobDuration": "P2D" + "blobDuration": "P2D", + "timeGrain": "PT1M" }, { - "timeGrain": "PT1H", - "blobDuration": "P30D" + "blobDuration": "P30D", + "timeGrain": "PT1H" }, { - "timeGrain": "P1D", - "blobDuration": "P90D" + "blobDuration": "P90D", + "timeGrain": "P1D" } - ] - }, - { - "name": "Http406", - "displayName": "Http 406", - "displayDescription": "Http 406", - "unit": "Count", - "aggregationType": "Total", - "supportsInstanceLevelAggregation": false, - "enableRegionalMdmAccount": false, - "metricFilterPattern": "^(?!functionapp).*$", - "fillGapWithZero": true, - "isInternal": false, + ], "dimensions": [ { "name": "Instance", @@ -4156,32 +4127,32 @@ "toBeExportedForShoebox": true } ], + "displayDescription": "Http 404", + "displayName": "Http 404", + "enableRegionalMdmAccount": false, + "fillGapWithZero": true, + "isInternal": false, + "metricFilterPattern": "^(?!functionapp).*$", + "supportsInstanceLevelAggregation": false, + "unit": "Count" + }, + { + "name": "Http406", + "aggregationType": "Total", "availabilities": [ { - "timeGrain": "PT1M", - "blobDuration": "P2D" + "blobDuration": "P2D", + "timeGrain": "PT1M" }, { - "timeGrain": "PT1H", - "blobDuration": "P30D" + "blobDuration": "P30D", + "timeGrain": "PT1H" }, { - "timeGrain": "P1D", - "blobDuration": "P90D" + "blobDuration": "P90D", + "timeGrain": "P1D" } - ] - }, - { - "name": "Http4xx", - "displayName": "Http 4xx", - "displayDescription": "Http 4xx", - "unit": "Count", - "aggregationType": "Total", - "supportsInstanceLevelAggregation": false, - "enableRegionalMdmAccount": false, - "metricFilterPattern": "^(?!functionapp).*$", - "fillGapWithZero": true, - "isInternal": false, + ], "dimensions": [ { "name": "Instance", @@ -4190,31 +4161,32 @@ "toBeExportedForShoebox": true } ], + "displayDescription": "Http 406", + "displayName": "Http 406", + "enableRegionalMdmAccount": false, + "fillGapWithZero": true, + "isInternal": false, + "metricFilterPattern": "^(?!functionapp).*$", + "supportsInstanceLevelAggregation": false, + "unit": "Count" + }, + { + "name": "Http4xx", + "aggregationType": "Total", "availabilities": [ { - "timeGrain": "PT1M", - "blobDuration": "P2D" + "blobDuration": "P2D", + "timeGrain": "PT1M" }, { - "timeGrain": "PT1H", - "blobDuration": "P30D" + "blobDuration": "P30D", + "timeGrain": "PT1H" }, { - "timeGrain": "P1D", - "blobDuration": "P90D" + "blobDuration": "P90D", + "timeGrain": "P1D" } - ] - }, - { - "name": "Http5xx", - "displayName": "Http Server Errors", - "displayDescription": "Http Server Errors", - "unit": "Count", - "aggregationType": "Total", - "supportsInstanceLevelAggregation": false, - "enableRegionalMdmAccount": false, - "fillGapWithZero": true, - "isInternal": false, + ], "dimensions": [ { "name": "Instance", @@ -4223,31 +4195,32 @@ "toBeExportedForShoebox": true } ], + "displayDescription": "Http 4xx", + "displayName": "Http 4xx", + "enableRegionalMdmAccount": false, + "fillGapWithZero": true, + "isInternal": false, + "metricFilterPattern": "^(?!functionapp).*$", + "supportsInstanceLevelAggregation": false, + "unit": "Count" + }, + { + "name": "Http5xx", + "aggregationType": "Total", "availabilities": [ { - "timeGrain": "PT1M", - "blobDuration": "P2D" + "blobDuration": "P2D", + "timeGrain": "PT1M" }, { - "timeGrain": "PT1H", - "blobDuration": "P30D" + "blobDuration": "P30D", + "timeGrain": "PT1H" }, { - "timeGrain": "P1D", - "blobDuration": "P90D" + "blobDuration": "P90D", + "timeGrain": "P1D" } - ] - }, - { - "name": "MemoryWorkingSet", - "displayName": "Memory working set", - "displayDescription": "Memory working set", - "unit": "Bytes", - "aggregationType": "Average", - "supportsInstanceLevelAggregation": false, - "enableRegionalMdmAccount": false, - "fillGapWithZero": true, - "isInternal": false, + ], "dimensions": [ { "name": "Instance", @@ -4256,31 +4229,31 @@ "toBeExportedForShoebox": true } ], + "displayDescription": "Http Server Errors", + "displayName": "Http Server Errors", + "enableRegionalMdmAccount": false, + "fillGapWithZero": true, + "isInternal": false, + "supportsInstanceLevelAggregation": false, + "unit": "Count" + }, + { + "name": "MemoryWorkingSet", + "aggregationType": "Average", "availabilities": [ { - "timeGrain": "PT1M", - "blobDuration": "P2D" + "blobDuration": "P2D", + "timeGrain": "PT1M" }, { - "timeGrain": "PT1H", - "blobDuration": "P30D" + "blobDuration": "P30D", + "timeGrain": "PT1H" }, { - "timeGrain": "P1D", - "blobDuration": "P90D" + "blobDuration": "P90D", + "timeGrain": "P1D" } - ] - }, - { - "name": "AverageMemoryWorkingSet", - "displayName": "Average memory working set", - "displayDescription": "Average memory working set", - "unit": "Bytes", - "aggregationType": "Average", - "supportsInstanceLevelAggregation": false, - "enableRegionalMdmAccount": false, - "fillGapWithZero": true, - "isInternal": false, + ], "dimensions": [ { "name": "Instance", @@ -4289,32 +4262,31 @@ "toBeExportedForShoebox": true } ], + "displayDescription": "Memory working set", + "displayName": "Memory working set", + "enableRegionalMdmAccount": false, + "fillGapWithZero": true, + "isInternal": false, + "supportsInstanceLevelAggregation": false, + "unit": "Bytes" + }, + { + "name": "AverageMemoryWorkingSet", + "aggregationType": "Average", "availabilities": [ { - "timeGrain": "PT1M", - "blobDuration": "P2D" + "blobDuration": "P2D", + "timeGrain": "PT1M" }, { - "timeGrain": "PT1H", - "blobDuration": "P30D" + "blobDuration": "P30D", + "timeGrain": "PT1H" }, { - "timeGrain": "P1D", - "blobDuration": "P90D" + "blobDuration": "P90D", + "timeGrain": "P1D" } - ] - }, - { - "name": "AverageResponseTime", - "displayName": "Average Response Time", - "displayDescription": "Average Response Time", - "unit": "Seconds", - "aggregationType": "Average", - "supportsInstanceLevelAggregation": false, - "enableRegionalMdmAccount": false, - "metricFilterPattern": "^(?!functionapp).*$", - "fillGapWithZero": true, - "isInternal": false, + ], "dimensions": [ { "name": "Instance", @@ -4323,32 +4295,31 @@ "toBeExportedForShoebox": true } ], + "displayDescription": "Average memory working set", + "displayName": "Average memory working set", + "enableRegionalMdmAccount": false, + "fillGapWithZero": true, + "isInternal": false, + "supportsInstanceLevelAggregation": false, + "unit": "Bytes" + }, + { + "name": "AverageResponseTime", + "aggregationType": "Average", "availabilities": [ { - "timeGrain": "PT1M", - "blobDuration": "P2D" + "blobDuration": "P2D", + "timeGrain": "PT1M" }, { - "timeGrain": "PT1H", - "blobDuration": "P30D" + "blobDuration": "P30D", + "timeGrain": "PT1H" }, { - "timeGrain": "P1D", - "blobDuration": "P90D" + "blobDuration": "P90D", + "timeGrain": "P1D" } - ] - }, - { - "name": "FunctionExecutionUnits", - "displayName": "Function Execution Units", - "displayDescription": "Function Execution Units", - "unit": "Count", - "aggregationType": "Total", - "supportsInstanceLevelAggregation": false, - "enableRegionalMdmAccount": false, - "metricFilterPattern": "(?i:functionapp)", - "fillGapWithZero": true, - "isInternal": false, + ], "dimensions": [ { "name": "Instance", @@ -4357,32 +4328,32 @@ "toBeExportedForShoebox": true } ], + "displayDescription": "Average Response Time", + "displayName": "Average Response Time", + "enableRegionalMdmAccount": false, + "fillGapWithZero": true, + "isInternal": false, + "metricFilterPattern": "^(?!functionapp).*$", + "supportsInstanceLevelAggregation": false, + "unit": "Seconds" + }, + { + "name": "FunctionExecutionUnits", + "aggregationType": "Total", "availabilities": [ { - "timeGrain": "PT1M", - "blobDuration": "P2D" + "blobDuration": "P2D", + "timeGrain": "PT1M" }, { - "timeGrain": "PT1H", - "blobDuration": "P30D" + "blobDuration": "P30D", + "timeGrain": "PT1H" }, { - "timeGrain": "P1D", - "blobDuration": "P90D" + "blobDuration": "P90D", + "timeGrain": "P1D" } - ] - }, - { - "name": "FunctionExecutionCount", - "displayName": "Function Execution Count", - "displayDescription": "Function Execution Count", - "unit": "Count", - "aggregationType": "Total", - "supportsInstanceLevelAggregation": false, - "enableRegionalMdmAccount": false, - "metricFilterPattern": "(?i:functionapp)", - "fillGapWithZero": true, - "isInternal": false, + ], "dimensions": [ { "name": "Instance", @@ -4391,20 +4362,48 @@ "toBeExportedForShoebox": true } ], + "displayDescription": "Function Execution Units", + "displayName": "Function Execution Units", + "enableRegionalMdmAccount": false, + "fillGapWithZero": true, + "isInternal": false, + "metricFilterPattern": "(?i:functionapp)", + "supportsInstanceLevelAggregation": false, + "unit": "Count" + }, + { + "name": "FunctionExecutionCount", + "aggregationType": "Total", "availabilities": [ { - "timeGrain": "PT1M", - "blobDuration": "P2D" + "blobDuration": "P2D", + "timeGrain": "PT1M" }, { - "timeGrain": "PT1H", - "blobDuration": "P30D" + "blobDuration": "P30D", + "timeGrain": "PT1H" }, { - "timeGrain": "P1D", - "blobDuration": "P90D" + "blobDuration": "P90D", + "timeGrain": "P1D" + } + ], + "dimensions": [ + { + "name": "Instance", + "displayName": "Instance", + "internalName": "ServerName", + "toBeExportedForShoebox": true } - ] + ], + "displayDescription": "Function Execution Count", + "displayName": "Function Execution Count", + "enableRegionalMdmAccount": false, + "fillGapWithZero": true, + "isInternal": false, + "metricFilterPattern": "(?i:functionapp)", + "supportsInstanceLevelAggregation": false, + "unit": "Count" } ] } @@ -4413,10 +4412,10 @@ { "name": "Microsoft.Web/sites/slots/providers/Microsoft.Insights/metricDefinitions/Read", "display": { - "provider": "Microsoft.Web", - "resource": "The metric definition of Web App Slot", + "description": "Gets the available metrics for Web App Slot", "operation": "Read Web App Slot metric definitions", - "description": "Gets the available metrics for Web App Slot" + "provider": "Microsoft.Web", + "resource": "The metric definition of Web App Slot" }, "origin": "system", "properties": { @@ -4424,49 +4423,21 @@ "metricSpecifications": [ { "name": "CpuTime", - "displayName": "CPU Time", - "displayDescription": "CPU Time", - "unit": "Seconds", "aggregationType": "Total", - "supportsInstanceLevelAggregation": false, - "enableRegionalMdmAccount": false, - "metricFilterPattern": "^(?!functionapp).*$", - "fillGapWithZero": true, - "isInternal": false, - "dimensions": [ - { - "name": "Instance", - "displayName": "Instance", - "internalName": "ServerName", - "toBeExportedForShoebox": true - } - ], "availabilities": [ { - "timeGrain": "PT1M", - "blobDuration": "P2D" + "blobDuration": "P2D", + "timeGrain": "PT1M" }, { - "timeGrain": "PT1H", - "blobDuration": "P30D" + "blobDuration": "P30D", + "timeGrain": "PT1H" }, { - "timeGrain": "P1D", - "blobDuration": "P90D" + "blobDuration": "P90D", + "timeGrain": "P1D" } - ] - }, - { - "name": "Requests", - "displayName": "Requests", - "displayDescription": "Requests", - "unit": "Count", - "aggregationType": "Total", - "supportsInstanceLevelAggregation": false, - "enableRegionalMdmAccount": false, - "metricFilterPattern": "^(?!functionapp).*$", - "fillGapWithZero": true, - "isInternal": false, + ], "dimensions": [ { "name": "Instance", @@ -4475,31 +4446,32 @@ "toBeExportedForShoebox": true } ], + "displayDescription": "CPU Time", + "displayName": "CPU Time", + "enableRegionalMdmAccount": false, + "fillGapWithZero": true, + "isInternal": false, + "metricFilterPattern": "^(?!functionapp).*$", + "supportsInstanceLevelAggregation": false, + "unit": "Seconds" + }, + { + "name": "Requests", + "aggregationType": "Total", "availabilities": [ { - "timeGrain": "PT1M", - "blobDuration": "P2D" + "blobDuration": "P2D", + "timeGrain": "PT1M" }, { - "timeGrain": "PT1H", - "blobDuration": "P30D" + "blobDuration": "P30D", + "timeGrain": "PT1H" }, { - "timeGrain": "P1D", - "blobDuration": "P90D" + "blobDuration": "P90D", + "timeGrain": "P1D" } - ] - }, - { - "name": "BytesReceived", - "displayName": "Data In", - "displayDescription": "Data In", - "unit": "Bytes", - "aggregationType": "Total", - "supportsInstanceLevelAggregation": false, - "enableRegionalMdmAccount": false, - "fillGapWithZero": true, - "isInternal": false, + ], "dimensions": [ { "name": "Instance", @@ -4508,31 +4480,32 @@ "toBeExportedForShoebox": true } ], + "displayDescription": "Requests", + "displayName": "Requests", + "enableRegionalMdmAccount": false, + "fillGapWithZero": true, + "isInternal": false, + "metricFilterPattern": "^(?!functionapp).*$", + "supportsInstanceLevelAggregation": false, + "unit": "Count" + }, + { + "name": "BytesReceived", + "aggregationType": "Total", "availabilities": [ { - "timeGrain": "PT1M", - "blobDuration": "P2D" + "blobDuration": "P2D", + "timeGrain": "PT1M" }, { - "timeGrain": "PT1H", - "blobDuration": "P30D" + "blobDuration": "P30D", + "timeGrain": "PT1H" }, { - "timeGrain": "P1D", - "blobDuration": "P90D" + "blobDuration": "P90D", + "timeGrain": "P1D" } - ] - }, - { - "name": "BytesSent", - "displayName": "Data Out", - "displayDescription": "Data Out", - "unit": "Bytes", - "aggregationType": "Total", - "supportsInstanceLevelAggregation": false, - "enableRegionalMdmAccount": false, - "fillGapWithZero": true, - "isInternal": false, + ], "dimensions": [ { "name": "Instance", @@ -4541,32 +4514,31 @@ "toBeExportedForShoebox": true } ], + "displayDescription": "Data In", + "displayName": "Data In", + "enableRegionalMdmAccount": false, + "fillGapWithZero": true, + "isInternal": false, + "supportsInstanceLevelAggregation": false, + "unit": "Bytes" + }, + { + "name": "BytesSent", + "aggregationType": "Total", "availabilities": [ { - "timeGrain": "PT1M", - "blobDuration": "P2D" + "blobDuration": "P2D", + "timeGrain": "PT1M" }, { - "timeGrain": "PT1H", - "blobDuration": "P30D" + "blobDuration": "P30D", + "timeGrain": "PT1H" }, { - "timeGrain": "P1D", - "blobDuration": "P90D" + "blobDuration": "P90D", + "timeGrain": "P1D" } - ] - }, - { - "name": "Http101", - "displayName": "Http 101", - "displayDescription": "Http 101", - "unit": "Count", - "aggregationType": "Total", - "supportsInstanceLevelAggregation": false, - "enableRegionalMdmAccount": false, - "metricFilterPattern": "^(?!functionapp).*$", - "fillGapWithZero": true, - "isInternal": false, + ], "dimensions": [ { "name": "Instance", @@ -4575,32 +4547,31 @@ "toBeExportedForShoebox": true } ], + "displayDescription": "Data Out", + "displayName": "Data Out", + "enableRegionalMdmAccount": false, + "fillGapWithZero": true, + "isInternal": false, + "supportsInstanceLevelAggregation": false, + "unit": "Bytes" + }, + { + "name": "Http101", + "aggregationType": "Total", "availabilities": [ { - "timeGrain": "PT1M", - "blobDuration": "P2D" + "blobDuration": "P2D", + "timeGrain": "PT1M" }, { - "timeGrain": "PT1H", - "blobDuration": "P30D" + "blobDuration": "P30D", + "timeGrain": "PT1H" }, { - "timeGrain": "P1D", - "blobDuration": "P90D" + "blobDuration": "P90D", + "timeGrain": "P1D" } - ] - }, - { - "name": "Http2xx", - "displayName": "Http 2xx", - "displayDescription": "Http 2xx", - "unit": "Count", - "aggregationType": "Total", - "supportsInstanceLevelAggregation": false, - "enableRegionalMdmAccount": false, - "metricFilterPattern": "^(?!functionapp).*$", - "fillGapWithZero": true, - "isInternal": false, + ], "dimensions": [ { "name": "Instance", @@ -4609,32 +4580,32 @@ "toBeExportedForShoebox": true } ], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "P2D" - }, - { - "timeGrain": "PT1H", - "blobDuration": "P30D" - }, - { - "timeGrain": "P1D", - "blobDuration": "P90D" - } - ] - }, - { - "name": "Http3xx", - "displayName": "Http 3xx", - "displayDescription": "Http 3xx", - "unit": "Count", - "aggregationType": "Total", - "supportsInstanceLevelAggregation": false, + "displayDescription": "Http 101", + "displayName": "Http 101", "enableRegionalMdmAccount": false, - "metricFilterPattern": "^(?!functionapp).*$", "fillGapWithZero": true, "isInternal": false, + "metricFilterPattern": "^(?!functionapp).*$", + "supportsInstanceLevelAggregation": false, + "unit": "Count" + }, + { + "name": "Http2xx", + "aggregationType": "Total", + "availabilities": [ + { + "blobDuration": "P2D", + "timeGrain": "PT1M" + }, + { + "blobDuration": "P30D", + "timeGrain": "PT1H" + }, + { + "blobDuration": "P90D", + "timeGrain": "P1D" + } + ], "dimensions": [ { "name": "Instance", @@ -4643,32 +4614,32 @@ "toBeExportedForShoebox": true } ], + "displayDescription": "Http 2xx", + "displayName": "Http 2xx", + "enableRegionalMdmAccount": false, + "fillGapWithZero": true, + "isInternal": false, + "metricFilterPattern": "^(?!functionapp).*$", + "supportsInstanceLevelAggregation": false, + "unit": "Count" + }, + { + "name": "Http3xx", + "aggregationType": "Total", "availabilities": [ { - "timeGrain": "PT1M", - "blobDuration": "P2D" + "blobDuration": "P2D", + "timeGrain": "PT1M" }, { - "timeGrain": "PT1H", - "blobDuration": "P30D" + "blobDuration": "P30D", + "timeGrain": "PT1H" }, { - "timeGrain": "P1D", - "blobDuration": "P90D" + "blobDuration": "P90D", + "timeGrain": "P1D" } - ] - }, - { - "name": "Http401", - "displayName": "Http 401", - "displayDescription": "Http 401", - "unit": "Count", - "aggregationType": "Total", - "supportsInstanceLevelAggregation": false, - "enableRegionalMdmAccount": false, - "metricFilterPattern": "^(?!functionapp).*$", - "fillGapWithZero": true, - "isInternal": false, + ], "dimensions": [ { "name": "Instance", @@ -4677,32 +4648,32 @@ "toBeExportedForShoebox": true } ], + "displayDescription": "Http 3xx", + "displayName": "Http 3xx", + "enableRegionalMdmAccount": false, + "fillGapWithZero": true, + "isInternal": false, + "metricFilterPattern": "^(?!functionapp).*$", + "supportsInstanceLevelAggregation": false, + "unit": "Count" + }, + { + "name": "Http401", + "aggregationType": "Total", "availabilities": [ { - "timeGrain": "PT1M", - "blobDuration": "P2D" + "blobDuration": "P2D", + "timeGrain": "PT1M" }, { - "timeGrain": "PT1H", - "blobDuration": "P30D" + "blobDuration": "P30D", + "timeGrain": "PT1H" }, { - "timeGrain": "P1D", - "blobDuration": "P90D" + "blobDuration": "P90D", + "timeGrain": "P1D" } - ] - }, - { - "name": "Http403", - "displayName": "Http 403", - "displayDescription": "Http 403", - "unit": "Count", - "aggregationType": "Total", - "supportsInstanceLevelAggregation": false, - "enableRegionalMdmAccount": false, - "metricFilterPattern": "^(?!functionapp).*$", - "fillGapWithZero": true, - "isInternal": false, + ], "dimensions": [ { "name": "Instance", @@ -4711,32 +4682,32 @@ "toBeExportedForShoebox": true } ], + "displayDescription": "Http 401", + "displayName": "Http 401", + "enableRegionalMdmAccount": false, + "fillGapWithZero": true, + "isInternal": false, + "metricFilterPattern": "^(?!functionapp).*$", + "supportsInstanceLevelAggregation": false, + "unit": "Count" + }, + { + "name": "Http403", + "aggregationType": "Total", "availabilities": [ { - "timeGrain": "PT1M", - "blobDuration": "P2D" + "blobDuration": "P2D", + "timeGrain": "PT1M" }, { - "timeGrain": "PT1H", - "blobDuration": "P30D" + "blobDuration": "P30D", + "timeGrain": "PT1H" }, { - "timeGrain": "P1D", - "blobDuration": "P90D" + "blobDuration": "P90D", + "timeGrain": "P1D" } - ] - }, - { - "name": "Http404", - "displayName": "Http 404", - "displayDescription": "Http 404", - "unit": "Count", - "aggregationType": "Total", - "supportsInstanceLevelAggregation": false, - "enableRegionalMdmAccount": false, - "metricFilterPattern": "^(?!functionapp).*$", - "fillGapWithZero": true, - "isInternal": false, + ], "dimensions": [ { "name": "Instance", @@ -4745,32 +4716,32 @@ "toBeExportedForShoebox": true } ], + "displayDescription": "Http 403", + "displayName": "Http 403", + "enableRegionalMdmAccount": false, + "fillGapWithZero": true, + "isInternal": false, + "metricFilterPattern": "^(?!functionapp).*$", + "supportsInstanceLevelAggregation": false, + "unit": "Count" + }, + { + "name": "Http404", + "aggregationType": "Total", "availabilities": [ { - "timeGrain": "PT1M", - "blobDuration": "P2D" + "blobDuration": "P2D", + "timeGrain": "PT1M" }, { - "timeGrain": "PT1H", - "blobDuration": "P30D" + "blobDuration": "P30D", + "timeGrain": "PT1H" }, { - "timeGrain": "P1D", - "blobDuration": "P90D" + "blobDuration": "P90D", + "timeGrain": "P1D" } - ] - }, - { - "name": "Http406", - "displayName": "Http 406", - "displayDescription": "Http 406", - "unit": "Count", - "aggregationType": "Total", - "supportsInstanceLevelAggregation": false, - "enableRegionalMdmAccount": false, - "metricFilterPattern": "^(?!functionapp).*$", - "fillGapWithZero": true, - "isInternal": false, + ], "dimensions": [ { "name": "Instance", @@ -4779,32 +4750,32 @@ "toBeExportedForShoebox": true } ], + "displayDescription": "Http 404", + "displayName": "Http 404", + "enableRegionalMdmAccount": false, + "fillGapWithZero": true, + "isInternal": false, + "metricFilterPattern": "^(?!functionapp).*$", + "supportsInstanceLevelAggregation": false, + "unit": "Count" + }, + { + "name": "Http406", + "aggregationType": "Total", "availabilities": [ { - "timeGrain": "PT1M", - "blobDuration": "P2D" + "blobDuration": "P2D", + "timeGrain": "PT1M" }, { - "timeGrain": "PT1H", - "blobDuration": "P30D" + "blobDuration": "P30D", + "timeGrain": "PT1H" }, { - "timeGrain": "P1D", - "blobDuration": "P90D" + "blobDuration": "P90D", + "timeGrain": "P1D" } - ] - }, - { - "name": "Http4xx", - "displayName": "Http 4xx", - "displayDescription": "Http 4xx", - "unit": "Count", - "aggregationType": "Total", - "supportsInstanceLevelAggregation": false, - "enableRegionalMdmAccount": false, - "metricFilterPattern": "^(?!functionapp).*$", - "fillGapWithZero": true, - "isInternal": false, + ], "dimensions": [ { "name": "Instance", @@ -4813,31 +4784,32 @@ "toBeExportedForShoebox": true } ], + "displayDescription": "Http 406", + "displayName": "Http 406", + "enableRegionalMdmAccount": false, + "fillGapWithZero": true, + "isInternal": false, + "metricFilterPattern": "^(?!functionapp).*$", + "supportsInstanceLevelAggregation": false, + "unit": "Count" + }, + { + "name": "Http4xx", + "aggregationType": "Total", "availabilities": [ { - "timeGrain": "PT1M", - "blobDuration": "P2D" + "blobDuration": "P2D", + "timeGrain": "PT1M" }, { - "timeGrain": "PT1H", - "blobDuration": "P30D" + "blobDuration": "P30D", + "timeGrain": "PT1H" }, { - "timeGrain": "P1D", - "blobDuration": "P90D" + "blobDuration": "P90D", + "timeGrain": "P1D" } - ] - }, - { - "name": "Http5xx", - "displayName": "Http Server Errors", - "displayDescription": "Http Server Errors", - "unit": "Count", - "aggregationType": "Total", - "supportsInstanceLevelAggregation": false, - "enableRegionalMdmAccount": false, - "fillGapWithZero": true, - "isInternal": false, + ], "dimensions": [ { "name": "Instance", @@ -4846,31 +4818,32 @@ "toBeExportedForShoebox": true } ], + "displayDescription": "Http 4xx", + "displayName": "Http 4xx", + "enableRegionalMdmAccount": false, + "fillGapWithZero": true, + "isInternal": false, + "metricFilterPattern": "^(?!functionapp).*$", + "supportsInstanceLevelAggregation": false, + "unit": "Count" + }, + { + "name": "Http5xx", + "aggregationType": "Total", "availabilities": [ { - "timeGrain": "PT1M", - "blobDuration": "P2D" + "blobDuration": "P2D", + "timeGrain": "PT1M" }, { - "timeGrain": "PT1H", - "blobDuration": "P30D" + "blobDuration": "P30D", + "timeGrain": "PT1H" }, { - "timeGrain": "P1D", - "blobDuration": "P90D" + "blobDuration": "P90D", + "timeGrain": "P1D" } - ] - }, - { - "name": "MemoryWorkingSet", - "displayName": "Memory working set", - "displayDescription": "Memory working set", - "unit": "Bytes", - "aggregationType": "Average", - "supportsInstanceLevelAggregation": false, - "enableRegionalMdmAccount": false, - "fillGapWithZero": true, - "isInternal": false, + ], "dimensions": [ { "name": "Instance", @@ -4879,31 +4852,31 @@ "toBeExportedForShoebox": true } ], + "displayDescription": "Http Server Errors", + "displayName": "Http Server Errors", + "enableRegionalMdmAccount": false, + "fillGapWithZero": true, + "isInternal": false, + "supportsInstanceLevelAggregation": false, + "unit": "Count" + }, + { + "name": "MemoryWorkingSet", + "aggregationType": "Average", "availabilities": [ { - "timeGrain": "PT1M", - "blobDuration": "P2D" + "blobDuration": "P2D", + "timeGrain": "PT1M" }, { - "timeGrain": "PT1H", - "blobDuration": "P30D" + "blobDuration": "P30D", + "timeGrain": "PT1H" }, { - "timeGrain": "P1D", - "blobDuration": "P90D" + "blobDuration": "P90D", + "timeGrain": "P1D" } - ] - }, - { - "name": "AverageMemoryWorkingSet", - "displayName": "Average memory working set", - "displayDescription": "Average memory working set", - "unit": "Bytes", - "aggregationType": "Average", - "supportsInstanceLevelAggregation": false, - "enableRegionalMdmAccount": false, - "fillGapWithZero": true, - "isInternal": false, + ], "dimensions": [ { "name": "Instance", @@ -4912,32 +4885,31 @@ "toBeExportedForShoebox": true } ], + "displayDescription": "Memory working set", + "displayName": "Memory working set", + "enableRegionalMdmAccount": false, + "fillGapWithZero": true, + "isInternal": false, + "supportsInstanceLevelAggregation": false, + "unit": "Bytes" + }, + { + "name": "AverageMemoryWorkingSet", + "aggregationType": "Average", "availabilities": [ { - "timeGrain": "PT1M", - "blobDuration": "P2D" + "blobDuration": "P2D", + "timeGrain": "PT1M" }, { - "timeGrain": "PT1H", - "blobDuration": "P30D" + "blobDuration": "P30D", + "timeGrain": "PT1H" }, { - "timeGrain": "P1D", - "blobDuration": "P90D" + "blobDuration": "P90D", + "timeGrain": "P1D" } - ] - }, - { - "name": "AverageResponseTime", - "displayName": "Average Response Time", - "displayDescription": "Average Response Time", - "unit": "Seconds", - "aggregationType": "Average", - "supportsInstanceLevelAggregation": false, - "enableRegionalMdmAccount": false, - "metricFilterPattern": "^(?!functionapp).*$", - "fillGapWithZero": true, - "isInternal": false, + ], "dimensions": [ { "name": "Instance", @@ -4946,32 +4918,31 @@ "toBeExportedForShoebox": true } ], + "displayDescription": "Average memory working set", + "displayName": "Average memory working set", + "enableRegionalMdmAccount": false, + "fillGapWithZero": true, + "isInternal": false, + "supportsInstanceLevelAggregation": false, + "unit": "Bytes" + }, + { + "name": "AverageResponseTime", + "aggregationType": "Average", "availabilities": [ { - "timeGrain": "PT1M", - "blobDuration": "P2D" + "blobDuration": "P2D", + "timeGrain": "PT1M" }, { - "timeGrain": "PT1H", - "blobDuration": "P30D" + "blobDuration": "P30D", + "timeGrain": "PT1H" }, { - "timeGrain": "P1D", - "blobDuration": "P90D" + "blobDuration": "P90D", + "timeGrain": "P1D" } - ] - }, - { - "name": "FunctionExecutionUnits", - "displayName": "Function Execution Units", - "displayDescription": "Function Execution Units", - "unit": "Count", - "aggregationType": "Total", - "supportsInstanceLevelAggregation": false, - "enableRegionalMdmAccount": false, - "metricFilterPattern": "(?i:functionapp)", - "fillGapWithZero": true, - "isInternal": false, + ], "dimensions": [ { "name": "Instance", @@ -4980,32 +4951,32 @@ "toBeExportedForShoebox": true } ], + "displayDescription": "Average Response Time", + "displayName": "Average Response Time", + "enableRegionalMdmAccount": false, + "fillGapWithZero": true, + "isInternal": false, + "metricFilterPattern": "^(?!functionapp).*$", + "supportsInstanceLevelAggregation": false, + "unit": "Seconds" + }, + { + "name": "FunctionExecutionUnits", + "aggregationType": "Total", "availabilities": [ { - "timeGrain": "PT1M", - "blobDuration": "P2D" + "blobDuration": "P2D", + "timeGrain": "PT1M" }, { - "timeGrain": "PT1H", - "blobDuration": "P30D" + "blobDuration": "P30D", + "timeGrain": "PT1H" }, - { - "timeGrain": "P1D", - "blobDuration": "P90D" - } - ] - }, - { - "name": "FunctionExecutionCount", - "displayName": "Function Execution Count", - "displayDescription": "Function Execution Count", - "unit": "Count", - "aggregationType": "Total", - "supportsInstanceLevelAggregation": false, - "enableRegionalMdmAccount": false, - "metricFilterPattern": "(?i:functionapp)", - "fillGapWithZero": true, - "isInternal": false, + { + "blobDuration": "P90D", + "timeGrain": "P1D" + } + ], "dimensions": [ { "name": "Instance", @@ -5014,20 +4985,48 @@ "toBeExportedForShoebox": true } ], + "displayDescription": "Function Execution Units", + "displayName": "Function Execution Units", + "enableRegionalMdmAccount": false, + "fillGapWithZero": true, + "isInternal": false, + "metricFilterPattern": "(?i:functionapp)", + "supportsInstanceLevelAggregation": false, + "unit": "Count" + }, + { + "name": "FunctionExecutionCount", + "aggregationType": "Total", "availabilities": [ { - "timeGrain": "PT1M", - "blobDuration": "P2D" + "blobDuration": "P2D", + "timeGrain": "PT1M" }, { - "timeGrain": "PT1H", - "blobDuration": "P30D" + "blobDuration": "P30D", + "timeGrain": "PT1H" }, { - "timeGrain": "P1D", - "blobDuration": "P90D" + "blobDuration": "P90D", + "timeGrain": "P1D" + } + ], + "dimensions": [ + { + "name": "Instance", + "displayName": "Instance", + "internalName": "ServerName", + "toBeExportedForShoebox": true } - ] + ], + "displayDescription": "Function Execution Count", + "displayName": "Function Execution Count", + "enableRegionalMdmAccount": false, + "fillGapWithZero": true, + "isInternal": false, + "metricFilterPattern": "(?i:functionapp)", + "supportsInstanceLevelAggregation": false, + "unit": "Count" } ] } @@ -5036,10 +5035,10 @@ { "name": "Microsoft.Web/hostingEnvironments/multiRolePools/providers/Microsoft.Insights/metricDefinitions/Read", "display": { - "provider": "Microsoft.Web", - "resource": "The metric definition of App Service Environment MultiRole", + "description": "Gets the available metrics for App Service Environment MultiRole", "operation": "Read App Service Environment MultiRole metric definitions", - "description": "Gets the available metrics for App Service Environment MultiRole" + "provider": "Microsoft.Web", + "resource": "The metric definition of App Service Environment MultiRole" }, "origin": "system", "properties": { @@ -5047,14 +5046,21 @@ "metricSpecifications": [ { "name": "Requests", - "displayName": "Requests", - "displayDescription": "Requests", - "unit": "Count", "aggregationType": "Total", - "supportsInstanceLevelAggregation": false, - "enableRegionalMdmAccount": false, - "fillGapWithZero": true, - "isInternal": false, + "availabilities": [ + { + "blobDuration": "P2D", + "timeGrain": "PT1M" + }, + { + "blobDuration": "P30D", + "timeGrain": "PT1H" + }, + { + "blobDuration": "P90D", + "timeGrain": "P1D" + } + ], "dimensions": [ { "name": "Instance", @@ -5063,31 +5069,31 @@ "toBeExportedForShoebox": true } ], + "displayDescription": "Requests", + "displayName": "Requests", + "enableRegionalMdmAccount": false, + "fillGapWithZero": true, + "isInternal": false, + "supportsInstanceLevelAggregation": false, + "unit": "Count" + }, + { + "name": "BytesReceived", + "aggregationType": "Total", "availabilities": [ { - "timeGrain": "PT1M", - "blobDuration": "P2D" + "blobDuration": "P2D", + "timeGrain": "PT1M" }, { - "timeGrain": "PT1H", - "blobDuration": "P30D" + "blobDuration": "P30D", + "timeGrain": "PT1H" }, { - "timeGrain": "P1D", - "blobDuration": "P90D" + "blobDuration": "P90D", + "timeGrain": "P1D" } - ] - }, - { - "name": "BytesReceived", - "displayName": "Data In", - "displayDescription": "Data In", - "unit": "Bytes", - "aggregationType": "Total", - "supportsInstanceLevelAggregation": false, - "enableRegionalMdmAccount": false, - "fillGapWithZero": true, - "isInternal": false, + ], "dimensions": [ { "name": "Instance", @@ -5096,31 +5102,31 @@ "toBeExportedForShoebox": true } ], + "displayDescription": "Data In", + "displayName": "Data In", + "enableRegionalMdmAccount": false, + "fillGapWithZero": true, + "isInternal": false, + "supportsInstanceLevelAggregation": false, + "unit": "Bytes" + }, + { + "name": "BytesSent", + "aggregationType": "Total", "availabilities": [ { - "timeGrain": "PT1M", - "blobDuration": "P2D" + "blobDuration": "P2D", + "timeGrain": "PT1M" }, { - "timeGrain": "PT1H", - "blobDuration": "P30D" + "blobDuration": "P30D", + "timeGrain": "PT1H" }, { - "timeGrain": "P1D", - "blobDuration": "P90D" + "blobDuration": "P90D", + "timeGrain": "P1D" } - ] - }, - { - "name": "BytesSent", - "displayName": "Data Out", - "displayDescription": "Data Out", - "unit": "Bytes", - "aggregationType": "Total", - "supportsInstanceLevelAggregation": false, - "enableRegionalMdmAccount": false, - "fillGapWithZero": true, - "isInternal": false, + ], "dimensions": [ { "name": "Instance", @@ -5129,31 +5135,31 @@ "toBeExportedForShoebox": true } ], + "displayDescription": "Data Out", + "displayName": "Data Out", + "enableRegionalMdmAccount": false, + "fillGapWithZero": true, + "isInternal": false, + "supportsInstanceLevelAggregation": false, + "unit": "Bytes" + }, + { + "name": "Http101", + "aggregationType": "Total", "availabilities": [ { - "timeGrain": "PT1M", - "blobDuration": "P2D" + "blobDuration": "P2D", + "timeGrain": "PT1M" }, { - "timeGrain": "PT1H", - "blobDuration": "P30D" + "blobDuration": "P30D", + "timeGrain": "PT1H" }, { - "timeGrain": "P1D", - "blobDuration": "P90D" + "blobDuration": "P90D", + "timeGrain": "P1D" } - ] - }, - { - "name": "Http101", - "displayName": "Http 101", - "displayDescription": "Http 101", - "unit": "Count", - "aggregationType": "Total", - "supportsInstanceLevelAggregation": false, - "enableRegionalMdmAccount": false, - "fillGapWithZero": true, - "isInternal": false, + ], "dimensions": [ { "name": "Instance", @@ -5162,31 +5168,31 @@ "toBeExportedForShoebox": true } ], + "displayDescription": "Http 101", + "displayName": "Http 101", + "enableRegionalMdmAccount": false, + "fillGapWithZero": true, + "isInternal": false, + "supportsInstanceLevelAggregation": false, + "unit": "Count" + }, + { + "name": "Http2xx", + "aggregationType": "Total", "availabilities": [ { - "timeGrain": "PT1M", - "blobDuration": "P2D" + "blobDuration": "P2D", + "timeGrain": "PT1M" }, { - "timeGrain": "PT1H", - "blobDuration": "P30D" + "blobDuration": "P30D", + "timeGrain": "PT1H" }, { - "timeGrain": "P1D", - "blobDuration": "P90D" + "blobDuration": "P90D", + "timeGrain": "P1D" } - ] - }, - { - "name": "Http2xx", - "displayName": "Http 2xx", - "displayDescription": "Http 2xx", - "unit": "Count", - "aggregationType": "Total", - "supportsInstanceLevelAggregation": false, - "enableRegionalMdmAccount": false, - "fillGapWithZero": true, - "isInternal": false, + ], "dimensions": [ { "name": "Instance", @@ -5195,31 +5201,31 @@ "toBeExportedForShoebox": true } ], + "displayDescription": "Http 2xx", + "displayName": "Http 2xx", + "enableRegionalMdmAccount": false, + "fillGapWithZero": true, + "isInternal": false, + "supportsInstanceLevelAggregation": false, + "unit": "Count" + }, + { + "name": "Http3xx", + "aggregationType": "Total", "availabilities": [ { - "timeGrain": "PT1M", - "blobDuration": "P2D" + "blobDuration": "P2D", + "timeGrain": "PT1M" }, { - "timeGrain": "PT1H", - "blobDuration": "P30D" + "blobDuration": "P30D", + "timeGrain": "PT1H" }, { - "timeGrain": "P1D", - "blobDuration": "P90D" + "blobDuration": "P90D", + "timeGrain": "P1D" } - ] - }, - { - "name": "Http3xx", - "displayName": "Http 3xx", - "displayDescription": "Http 3xx", - "unit": "Count", - "aggregationType": "Total", - "supportsInstanceLevelAggregation": false, - "enableRegionalMdmAccount": false, - "fillGapWithZero": true, - "isInternal": false, + ], "dimensions": [ { "name": "Instance", @@ -5228,31 +5234,31 @@ "toBeExportedForShoebox": true } ], + "displayDescription": "Http 3xx", + "displayName": "Http 3xx", + "enableRegionalMdmAccount": false, + "fillGapWithZero": true, + "isInternal": false, + "supportsInstanceLevelAggregation": false, + "unit": "Count" + }, + { + "name": "Http401", + "aggregationType": "Total", "availabilities": [ { - "timeGrain": "PT1M", - "blobDuration": "P2D" + "blobDuration": "P2D", + "timeGrain": "PT1M" }, { - "timeGrain": "PT1H", - "blobDuration": "P30D" + "blobDuration": "P30D", + "timeGrain": "PT1H" }, { - "timeGrain": "P1D", - "blobDuration": "P90D" + "blobDuration": "P90D", + "timeGrain": "P1D" } - ] - }, - { - "name": "Http401", - "displayName": "Http 401", - "displayDescription": "Http 401", - "unit": "Count", - "aggregationType": "Total", - "supportsInstanceLevelAggregation": false, - "enableRegionalMdmAccount": false, - "fillGapWithZero": true, - "isInternal": false, + ], "dimensions": [ { "name": "Instance", @@ -5261,31 +5267,31 @@ "toBeExportedForShoebox": true } ], + "displayDescription": "Http 401", + "displayName": "Http 401", + "enableRegionalMdmAccount": false, + "fillGapWithZero": true, + "isInternal": false, + "supportsInstanceLevelAggregation": false, + "unit": "Count" + }, + { + "name": "Http403", + "aggregationType": "Total", "availabilities": [ { - "timeGrain": "PT1M", - "blobDuration": "P2D" + "blobDuration": "P2D", + "timeGrain": "PT1M" }, { - "timeGrain": "PT1H", - "blobDuration": "P30D" + "blobDuration": "P30D", + "timeGrain": "PT1H" }, { - "timeGrain": "P1D", - "blobDuration": "P90D" + "blobDuration": "P90D", + "timeGrain": "P1D" } - ] - }, - { - "name": "Http403", - "displayName": "Http 403", - "displayDescription": "Http 403", - "unit": "Count", - "aggregationType": "Total", - "supportsInstanceLevelAggregation": false, - "enableRegionalMdmAccount": false, - "fillGapWithZero": true, - "isInternal": false, + ], "dimensions": [ { "name": "Instance", @@ -5294,31 +5300,31 @@ "toBeExportedForShoebox": true } ], + "displayDescription": "Http 403", + "displayName": "Http 403", + "enableRegionalMdmAccount": false, + "fillGapWithZero": true, + "isInternal": false, + "supportsInstanceLevelAggregation": false, + "unit": "Count" + }, + { + "name": "Http404", + "aggregationType": "Total", "availabilities": [ { - "timeGrain": "PT1M", - "blobDuration": "P2D" + "blobDuration": "P2D", + "timeGrain": "PT1M" }, { - "timeGrain": "PT1H", - "blobDuration": "P30D" + "blobDuration": "P30D", + "timeGrain": "PT1H" }, { - "timeGrain": "P1D", - "blobDuration": "P90D" + "blobDuration": "P90D", + "timeGrain": "P1D" } - ] - }, - { - "name": "Http404", - "displayName": "Http 404", - "displayDescription": "Http 404", - "unit": "Count", - "aggregationType": "Total", - "supportsInstanceLevelAggregation": false, - "enableRegionalMdmAccount": false, - "fillGapWithZero": true, - "isInternal": false, + ], "dimensions": [ { "name": "Instance", @@ -5327,31 +5333,31 @@ "toBeExportedForShoebox": true } ], + "displayDescription": "Http 404", + "displayName": "Http 404", + "enableRegionalMdmAccount": false, + "fillGapWithZero": true, + "isInternal": false, + "supportsInstanceLevelAggregation": false, + "unit": "Count" + }, + { + "name": "Http406", + "aggregationType": "Total", "availabilities": [ { - "timeGrain": "PT1M", - "blobDuration": "P2D" + "blobDuration": "P2D", + "timeGrain": "PT1M" }, { - "timeGrain": "PT1H", - "blobDuration": "P30D" + "blobDuration": "P30D", + "timeGrain": "PT1H" }, { - "timeGrain": "P1D", - "blobDuration": "P90D" + "blobDuration": "P90D", + "timeGrain": "P1D" } - ] - }, - { - "name": "Http406", - "displayName": "Http 406", - "displayDescription": "Http 406", - "unit": "Count", - "aggregationType": "Total", - "supportsInstanceLevelAggregation": false, - "enableRegionalMdmAccount": false, - "fillGapWithZero": true, - "isInternal": false, + ], "dimensions": [ { "name": "Instance", @@ -5360,31 +5366,31 @@ "toBeExportedForShoebox": true } ], + "displayDescription": "Http 406", + "displayName": "Http 406", + "enableRegionalMdmAccount": false, + "fillGapWithZero": true, + "isInternal": false, + "supportsInstanceLevelAggregation": false, + "unit": "Count" + }, + { + "name": "Http4xx", + "aggregationType": "Total", "availabilities": [ { - "timeGrain": "PT1M", - "blobDuration": "P2D" + "blobDuration": "P2D", + "timeGrain": "PT1M" }, { - "timeGrain": "PT1H", - "blobDuration": "P30D" + "blobDuration": "P30D", + "timeGrain": "PT1H" }, { - "timeGrain": "P1D", - "blobDuration": "P90D" - } - ] - }, - { - "name": "Http4xx", - "displayName": "Http 4xx", - "displayDescription": "Http 4xx", - "unit": "Count", - "aggregationType": "Total", - "supportsInstanceLevelAggregation": false, - "enableRegionalMdmAccount": false, - "fillGapWithZero": true, - "isInternal": false, + "blobDuration": "P90D", + "timeGrain": "P1D" + } + ], "dimensions": [ { "name": "Instance", @@ -5393,31 +5399,31 @@ "toBeExportedForShoebox": true } ], + "displayDescription": "Http 4xx", + "displayName": "Http 4xx", + "enableRegionalMdmAccount": false, + "fillGapWithZero": true, + "isInternal": false, + "supportsInstanceLevelAggregation": false, + "unit": "Count" + }, + { + "name": "Http5xx", + "aggregationType": "Total", "availabilities": [ { - "timeGrain": "PT1M", - "blobDuration": "P2D" + "blobDuration": "P2D", + "timeGrain": "PT1M" }, { - "timeGrain": "PT1H", - "blobDuration": "P30D" + "blobDuration": "P30D", + "timeGrain": "PT1H" }, { - "timeGrain": "P1D", - "blobDuration": "P90D" + "blobDuration": "P90D", + "timeGrain": "P1D" } - ] - }, - { - "name": "Http5xx", - "displayName": "Http Server Errors", - "displayDescription": "Http Server Errors", - "unit": "Count", - "aggregationType": "Total", - "supportsInstanceLevelAggregation": false, - "enableRegionalMdmAccount": false, - "fillGapWithZero": true, - "isInternal": false, + ], "dimensions": [ { "name": "Instance", @@ -5426,31 +5432,31 @@ "toBeExportedForShoebox": true } ], + "displayDescription": "Http Server Errors", + "displayName": "Http Server Errors", + "enableRegionalMdmAccount": false, + "fillGapWithZero": true, + "isInternal": false, + "supportsInstanceLevelAggregation": false, + "unit": "Count" + }, + { + "name": "AverageResponseTime", + "aggregationType": "Average", "availabilities": [ { - "timeGrain": "PT1M", - "blobDuration": "P2D" + "blobDuration": "P2D", + "timeGrain": "PT1M" }, { - "timeGrain": "PT1H", - "blobDuration": "P30D" + "blobDuration": "P30D", + "timeGrain": "PT1H" }, { - "timeGrain": "P1D", - "blobDuration": "P90D" + "blobDuration": "P90D", + "timeGrain": "P1D" } - ] - }, - { - "name": "AverageResponseTime", - "displayName": "Average Response Time", - "displayDescription": "Average Response Time", - "unit": "Seconds", - "aggregationType": "Average", - "supportsInstanceLevelAggregation": false, - "enableRegionalMdmAccount": false, - "fillGapWithZero": true, - "isInternal": false, + ], "dimensions": [ { "name": "Instance", @@ -5459,31 +5465,31 @@ "toBeExportedForShoebox": true } ], + "displayDescription": "Average Response Time", + "displayName": "Average Response Time", + "enableRegionalMdmAccount": false, + "fillGapWithZero": true, + "isInternal": false, + "supportsInstanceLevelAggregation": false, + "unit": "Seconds" + }, + { + "name": "CpuPercentage", + "aggregationType": "Average", "availabilities": [ { - "timeGrain": "PT1M", - "blobDuration": "P2D" + "blobDuration": "P2D", + "timeGrain": "PT1M" }, { - "timeGrain": "PT1H", - "blobDuration": "P30D" + "blobDuration": "P30D", + "timeGrain": "PT1H" }, { - "timeGrain": "P1D", - "blobDuration": "P90D" + "blobDuration": "P90D", + "timeGrain": "P1D" } - ] - }, - { - "name": "CpuPercentage", - "displayName": "CPU Percentage", - "displayDescription": "CPU Percentage", - "unit": "Percent", - "aggregationType": "Average", - "supportsInstanceLevelAggregation": false, - "enableRegionalMdmAccount": false, - "fillGapWithZero": true, - "isInternal": false, + ], "dimensions": [ { "name": "Instance", @@ -5492,31 +5498,31 @@ "toBeExportedForShoebox": true } ], + "displayDescription": "CPU Percentage", + "displayName": "CPU Percentage", + "enableRegionalMdmAccount": false, + "fillGapWithZero": true, + "isInternal": false, + "supportsInstanceLevelAggregation": false, + "unit": "Percent" + }, + { + "name": "MemoryPercentage", + "aggregationType": "Average", "availabilities": [ { - "timeGrain": "PT1M", - "blobDuration": "P2D" + "blobDuration": "P2D", + "timeGrain": "PT1M" }, { - "timeGrain": "PT1H", - "blobDuration": "P30D" + "blobDuration": "P30D", + "timeGrain": "PT1H" }, { - "timeGrain": "P1D", - "blobDuration": "P90D" + "blobDuration": "P90D", + "timeGrain": "P1D" } - ] - }, - { - "name": "MemoryPercentage", - "displayName": "Memory Percentage", - "displayDescription": "Memory Percentage", - "unit": "Percent", - "aggregationType": "Average", - "supportsInstanceLevelAggregation": false, - "enableRegionalMdmAccount": false, - "fillGapWithZero": true, - "isInternal": false, + ], "dimensions": [ { "name": "Instance", @@ -5525,31 +5531,31 @@ "toBeExportedForShoebox": true } ], + "displayDescription": "Memory Percentage", + "displayName": "Memory Percentage", + "enableRegionalMdmAccount": false, + "fillGapWithZero": true, + "isInternal": false, + "supportsInstanceLevelAggregation": false, + "unit": "Percent" + }, + { + "name": "DiskQueueLength", + "aggregationType": "Average", "availabilities": [ { - "timeGrain": "PT1M", - "blobDuration": "P2D" + "blobDuration": "P2D", + "timeGrain": "PT1M" }, { - "timeGrain": "PT1H", - "blobDuration": "P30D" + "blobDuration": "P30D", + "timeGrain": "PT1H" }, { - "timeGrain": "P1D", - "blobDuration": "P90D" + "blobDuration": "P90D", + "timeGrain": "P1D" } - ] - }, - { - "name": "DiskQueueLength", - "displayName": "Disk Queue Length", - "displayDescription": "Disk Queue Length", - "unit": "Count", - "aggregationType": "Average", - "supportsInstanceLevelAggregation": false, - "enableRegionalMdmAccount": false, - "fillGapWithZero": true, - "isInternal": false, + ], "dimensions": [ { "name": "Instance", @@ -5558,31 +5564,31 @@ "toBeExportedForShoebox": true } ], + "displayDescription": "Disk Queue Length", + "displayName": "Disk Queue Length", + "enableRegionalMdmAccount": false, + "fillGapWithZero": true, + "isInternal": false, + "supportsInstanceLevelAggregation": false, + "unit": "Count" + }, + { + "name": "HttpQueueLength", + "aggregationType": "Average", "availabilities": [ { - "timeGrain": "PT1M", - "blobDuration": "P2D" + "blobDuration": "P2D", + "timeGrain": "PT1M" }, { - "timeGrain": "PT1H", - "blobDuration": "P30D" + "blobDuration": "P30D", + "timeGrain": "PT1H" }, { - "timeGrain": "P1D", - "blobDuration": "P90D" + "blobDuration": "P90D", + "timeGrain": "P1D" } - ] - }, - { - "name": "HttpQueueLength", - "displayName": "Http Queue Length", - "displayDescription": "Http Queue Length", - "unit": "Count", - "aggregationType": "Average", - "supportsInstanceLevelAggregation": false, - "enableRegionalMdmAccount": false, - "fillGapWithZero": true, - "isInternal": false, + ], "dimensions": [ { "name": "Instance", @@ -5591,31 +5597,31 @@ "toBeExportedForShoebox": true } ], + "displayDescription": "Http Queue Length", + "displayName": "Http Queue Length", + "enableRegionalMdmAccount": false, + "fillGapWithZero": true, + "isInternal": false, + "supportsInstanceLevelAggregation": false, + "unit": "Count" + }, + { + "name": "ActiveRequests", + "aggregationType": "Total", "availabilities": [ { - "timeGrain": "PT1M", - "blobDuration": "P2D" + "blobDuration": "P2D", + "timeGrain": "PT1M" }, { - "timeGrain": "PT1H", - "blobDuration": "P30D" + "blobDuration": "P30D", + "timeGrain": "PT1H" }, { - "timeGrain": "P1D", - "blobDuration": "P90D" + "blobDuration": "P90D", + "timeGrain": "P1D" } - ] - }, - { - "name": "ActiveRequests", - "displayName": "Active Requests", - "displayDescription": "Active Requests", - "unit": "Count", - "aggregationType": "Total", - "supportsInstanceLevelAggregation": false, - "enableRegionalMdmAccount": false, - "fillGapWithZero": true, - "isInternal": false, + ], "dimensions": [ { "name": "Instance", @@ -5624,120 +5630,113 @@ "toBeExportedForShoebox": true } ], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "P2D" - }, - { - "timeGrain": "PT1H", - "blobDuration": "P30D" - }, - { - "timeGrain": "P1D", - "blobDuration": "P90D" - } - ] + "displayDescription": "Active Requests", + "displayName": "Active Requests", + "enableRegionalMdmAccount": false, + "fillGapWithZero": true, + "isInternal": false, + "supportsInstanceLevelAggregation": false, + "unit": "Count" }, { "name": "TotalFrontEnds", - "displayName": "Total Front Ends", - "displayDescription": "Total Front Ends", - "unit": "Count", "aggregationType": "Average", - "supportsInstanceLevelAggregation": false, - "enableRegionalMdmAccount": false, - "fillGapWithZero": true, - "isInternal": false, "availabilities": [ { - "timeGrain": "PT1M", - "blobDuration": "P2D" + "blobDuration": "P2D", + "timeGrain": "PT1M" }, { - "timeGrain": "PT1H", - "blobDuration": "P30D" + "blobDuration": "P30D", + "timeGrain": "PT1H" }, { - "timeGrain": "P1D", - "blobDuration": "P90D" + "blobDuration": "P90D", + "timeGrain": "P1D" } - ] + ], + "displayDescription": "Total Front Ends", + "displayName": "Total Front Ends", + "enableRegionalMdmAccount": false, + "fillGapWithZero": true, + "isInternal": false, + "supportsInstanceLevelAggregation": false, + "unit": "Count" }, { "name": "SmallAppServicePlanInstances", - "displayName": "Small App Service Plan Workers", - "displayDescription": "Small App Service Plan Workers", - "unit": "Count", "aggregationType": "Average", - "supportsInstanceLevelAggregation": false, - "enableRegionalMdmAccount": false, - "fillGapWithZero": true, - "isInternal": false, "availabilities": [ { - "timeGrain": "PT1M", - "blobDuration": "P2D" + "blobDuration": "P2D", + "timeGrain": "PT1M" }, { - "timeGrain": "PT1H", - "blobDuration": "P30D" + "blobDuration": "P30D", + "timeGrain": "PT1H" }, { - "timeGrain": "P1D", - "blobDuration": "P90D" + "blobDuration": "P90D", + "timeGrain": "P1D" } - ] + ], + "displayDescription": "Small App Service Plan Workers", + "displayName": "Small App Service Plan Workers", + "enableRegionalMdmAccount": false, + "fillGapWithZero": true, + "isInternal": false, + "supportsInstanceLevelAggregation": false, + "unit": "Count" }, { "name": "MediumAppServicePlanInstances", - "displayName": "Medium App Service Plan Workers", - "displayDescription": "Medium App Service Plan Workers", - "unit": "Count", "aggregationType": "Average", - "supportsInstanceLevelAggregation": false, - "enableRegionalMdmAccount": false, - "fillGapWithZero": true, - "isInternal": false, "availabilities": [ { - "timeGrain": "PT1M", - "blobDuration": "P2D" + "blobDuration": "P2D", + "timeGrain": "PT1M" }, { - "timeGrain": "PT1H", - "blobDuration": "P30D" + "blobDuration": "P30D", + "timeGrain": "PT1H" }, { - "timeGrain": "P1D", - "blobDuration": "P90D" + "blobDuration": "P90D", + "timeGrain": "P1D" } - ] + ], + "displayDescription": "Medium App Service Plan Workers", + "displayName": "Medium App Service Plan Workers", + "enableRegionalMdmAccount": false, + "fillGapWithZero": true, + "isInternal": false, + "supportsInstanceLevelAggregation": false, + "unit": "Count" }, { "name": "LargeAppServicePlanInstances", - "displayName": "Large App Service Plan Workers", - "displayDescription": "Large App Service Plan Workers", - "unit": "Count", "aggregationType": "Average", - "supportsInstanceLevelAggregation": false, - "enableRegionalMdmAccount": false, - "fillGapWithZero": true, - "isInternal": false, "availabilities": [ { - "timeGrain": "PT1M", - "blobDuration": "P2D" + "blobDuration": "P2D", + "timeGrain": "PT1M" }, { - "timeGrain": "PT1H", - "blobDuration": "P30D" + "blobDuration": "P30D", + "timeGrain": "PT1H" }, { - "timeGrain": "P1D", - "blobDuration": "P90D" + "blobDuration": "P90D", + "timeGrain": "P1D" } - ] + ], + "displayDescription": "Large App Service Plan Workers", + "displayName": "Large App Service Plan Workers", + "enableRegionalMdmAccount": false, + "fillGapWithZero": true, + "isInternal": false, + "supportsInstanceLevelAggregation": false, + "unit": "Count" } ] } @@ -5746,10 +5745,10 @@ { "name": "Microsoft.Web/hostingEnvironments/workerPools/providers/Microsoft.Insights/metricDefinitions/Read", "display": { - "provider": "Microsoft.Web", - "resource": "The metric definition of App Service Environment WorkerPool", + "description": "Gets the available metrics for App Service Environment WorkerPool", "operation": "Read App Service Environment WorkerPool metric definitions", - "description": "Gets the available metrics for App Service Environment WorkerPool" + "provider": "Microsoft.Web", + "resource": "The metric definition of App Service Environment WorkerPool" }, "origin": "system", "properties": { @@ -5757,85 +5756,88 @@ "metricSpecifications": [ { "name": "WorkersTotal", - "displayName": "Total Workers", - "displayDescription": "Total Workers", - "unit": "Count", "aggregationType": "Average", - "supportsInstanceLevelAggregation": false, - "enableRegionalMdmAccount": false, - "fillGapWithZero": true, - "isInternal": false, "availabilities": [ { - "timeGrain": "PT1M", - "blobDuration": "P2D" + "blobDuration": "P2D", + "timeGrain": "PT1M" }, { - "timeGrain": "PT1H", - "blobDuration": "P30D" + "blobDuration": "P30D", + "timeGrain": "PT1H" }, { - "timeGrain": "P1D", - "blobDuration": "P90D" + "blobDuration": "P90D", + "timeGrain": "P1D" } - ] + ], + "displayDescription": "Total Workers", + "displayName": "Total Workers", + "enableRegionalMdmAccount": false, + "fillGapWithZero": true, + "isInternal": false, + "supportsInstanceLevelAggregation": false, + "unit": "Count" }, { "name": "WorkersAvailable", - "displayName": "Available Workers", - "displayDescription": "Available Workers", - "unit": "Count", "aggregationType": "Average", - "supportsInstanceLevelAggregation": false, - "enableRegionalMdmAccount": false, - "fillGapWithZero": true, - "isInternal": false, "availabilities": [ { - "timeGrain": "PT1M", - "blobDuration": "P2D" + "blobDuration": "P2D", + "timeGrain": "PT1M" }, { - "timeGrain": "PT1H", - "blobDuration": "P30D" + "blobDuration": "P30D", + "timeGrain": "PT1H" }, { - "timeGrain": "P1D", - "blobDuration": "P90D" + "blobDuration": "P90D", + "timeGrain": "P1D" } - ] + ], + "displayDescription": "Available Workers", + "displayName": "Available Workers", + "enableRegionalMdmAccount": false, + "fillGapWithZero": true, + "isInternal": false, + "supportsInstanceLevelAggregation": false, + "unit": "Count" }, { "name": "WorkersUsed", - "displayName": "Used Workers", - "displayDescription": "Used Workers", - "unit": "Count", "aggregationType": "Average", - "supportsInstanceLevelAggregation": false, - "enableRegionalMdmAccount": false, - "fillGapWithZero": true, - "isInternal": false, "availabilities": [ { - "timeGrain": "PT1M", - "blobDuration": "P2D" + "blobDuration": "P2D", + "timeGrain": "PT1M" }, { - "timeGrain": "PT1H", - "blobDuration": "P30D" + "blobDuration": "P30D", + "timeGrain": "PT1H" }, { - "timeGrain": "P1D", - "blobDuration": "P90D" + "blobDuration": "P90D", + "timeGrain": "P1D" } - ] + ], + "displayDescription": "Used Workers", + "displayName": "Used Workers", + "enableRegionalMdmAccount": false, + "fillGapWithZero": true, + "isInternal": false, + "supportsInstanceLevelAggregation": false, + "unit": "Count" } ] } } } ] - } + }, + "headers": {} } - } + }, + "operationId": "Provider_ListOperations", + "title": "List operations" } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/ListPublishingCredentialsPolicies.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/ListPublishingCredentialsPolicies.json index cf5312de32f4..4b5164b98d34 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/ListPublishingCredentialsPolicies.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/ListPublishingCredentialsPolicies.json @@ -1,33 +1,35 @@ { "parameters": { - "subscriptionId": "3fb8d758-2e2c-42e9-a528-a8acdfe87237", - "resourceGroupName": "testrg123", "name": "testsite", - "api-version": "2025-03-01" + "api-version": "2025-03-01", + "resourceGroupName": "testrg123", + "subscriptionId": "3fb8d758-2e2c-42e9-a528-a8acdfe87237" }, "responses": { "200": { - "headers": {}, "body": { "value": [ { - "id": "/subscriptions/3fb8d758-2e2c-42e9-a528-a8acdfe87237/resourceGroups/testrg123/providers/Microsoft.Web/sites/testsite/basicPublishingCredentialsPolicies/ftp", "name": "ftp", "type": "Microsoft.Web/sites/basicPublishingCredentialsPolicies", + "id": "/subscriptions/3fb8d758-2e2c-42e9-a528-a8acdfe87237/resourceGroups/testrg123/providers/Microsoft.Web/sites/testsite/basicPublishingCredentialsPolicies/ftp", "properties": { "allow": true } }, { - "id": "/subscriptions/3fb8d758-2e2c-42e9-a528-a8acdfe87237/resourceGroups/testrg123/providers/Microsoft.Web/sites/testsite/basicPublishingCredentialsPolicies/scm", "name": "scm", "type": "Microsoft.Web/sites/basicPublishingCredentialsPolicies", + "id": "/subscriptions/3fb8d758-2e2c-42e9-a528-a8acdfe87237/resourceGroups/testrg123/providers/Microsoft.Web/sites/testsite/basicPublishingCredentialsPolicies/scm", "properties": { "allow": true } } ] - } + }, + "headers": {} } - } + }, + "operationId": "WebApps_ListBasicPublishingCredentialsPolicies", + "title": "List Publishing Credentials Policies" } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/ListPublishingCredentialsPoliciesSlot.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/ListPublishingCredentialsPoliciesSlot.json index 36c06955c816..f6b70a225edd 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/ListPublishingCredentialsPoliciesSlot.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/ListPublishingCredentialsPoliciesSlot.json @@ -1,34 +1,36 @@ { "parameters": { - "subscriptionId": "3fb8d758-2e2c-42e9-a528-a8acdfe87237", - "resourceGroupName": "testrg123", "name": "testsite", + "api-version": "2025-03-01", + "resourceGroupName": "testrg123", "slot": "staging", - "api-version": "2025-03-01" + "subscriptionId": "3fb8d758-2e2c-42e9-a528-a8acdfe87237" }, "responses": { "200": { - "headers": {}, "body": { "value": [ { - "id": "/subscriptions/3fb8d758-2e2c-42e9-a528-a8acdfe87237/resourceGroups/testrg123/providers/Microsoft.Web/sites/testsite/slots/staging/basicPublishingCredentialsPolicies/ftp", "name": "ftp", "type": "Microsoft.Web/sites/slots/basicPublishingCredentialsPolicies", + "id": "/subscriptions/3fb8d758-2e2c-42e9-a528-a8acdfe87237/resourceGroups/testrg123/providers/Microsoft.Web/sites/testsite/slots/staging/basicPublishingCredentialsPolicies/ftp", "properties": { "allow": true } }, { - "id": "/subscriptions/3fb8d758-2e2c-42e9-a528-a8acdfe87237/resourceGroups/testrg123/providers/Microsoft.Web/sites/testsite/slots/staging/basicPublishingCredentialsPolicies/scm", "name": "scm", "type": "Microsoft.Web/sites/slots/basicPublishingCredentialsPolicies", + "id": "/subscriptions/3fb8d758-2e2c-42e9-a528-a8acdfe87237/resourceGroups/testrg123/providers/Microsoft.Web/sites/testsite/slots/staging/basicPublishingCredentialsPolicies/scm", "properties": { "allow": true } } ] - } + }, + "headers": {} } - } + }, + "operationId": "WebApps_ListBasicPublishingCredentialsPoliciesSlot", + "title": "List Publishing Credentials Policies" } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/ListResourceHealthMetadataByResourceGroup.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/ListResourceHealthMetadataByResourceGroup.json index 786fe0e807b4..71c2618eccea 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/ListResourceHealthMetadataByResourceGroup.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/ListResourceHealthMetadataByResourceGroup.json @@ -9,17 +9,18 @@ "body": { "value": [ { + "name": "default", + "type": "Microsoft.Web/sites/resourceHealthMetadata", + "id": "/subscriptions/4adb32ad-8327-4cbb-b775-b84b4465bb38/resourceGroups/Default-Web-NorthCentralUS/providers/Microsoft.Web/sites/newsiteinnewASE-NCUS/resourceHealthMetadata/default", "properties": { "category": "Shared", "signalAvailability": true - }, - "id": "/subscriptions/4adb32ad-8327-4cbb-b775-b84b4465bb38/resourceGroups/Default-Web-NorthCentralUS/providers/Microsoft.Web/sites/newsiteinnewASE-NCUS/resourceHealthMetadata/default", - "name": "default", - "type": "Microsoft.Web/sites/resourceHealthMetadata" + } } - ], - "nextLink": "" + ] } } - } + }, + "operationId": "ResourceHealthMetadata_ListByResourceGroup", + "title": "List ResourceHealthMetadata for a resource group" } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/ListResourceHealthMetadataBySite.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/ListResourceHealthMetadataBySite.json index acfb65169491..4aef6a528104 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/ListResourceHealthMetadataBySite.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/ListResourceHealthMetadataBySite.json @@ -1,9 +1,9 @@ { "parameters": { - "api-version": "2025-03-01", "name": "newsiteinnewASE-NCUS", - "slot": "Production", + "api-version": "2025-03-01", "resourceGroupName": "Default-Web-NorthCentralUS", + "slot": "Production", "subscriptionId": "4adb32ad-8327-4cbb-b775-b84b4465bb38" }, "responses": { @@ -11,17 +11,18 @@ "body": { "value": [ { + "name": "default", + "type": "Microsoft.Web/sites/resourceHealthMetadata", + "id": "/subscriptions/4adb32ad-8327-4cbb-b775-b84b4465bb38/resourceGroups/Default-Web-NorthCentralUS/providers/Microsoft.Web/sites/newsiteinnewASE-NCUS/resourceHealthMetadata/default", "properties": { "category": "Shared", "signalAvailability": true - }, - "id": "/subscriptions/4adb32ad-8327-4cbb-b775-b84b4465bb38/resourceGroups/Default-Web-NorthCentralUS/providers/Microsoft.Web/sites/newsiteinnewASE-NCUS/resourceHealthMetadata/default", - "name": "default", - "type": "Microsoft.Web/sites/resourceHealthMetadata" + } } - ], - "nextLink": "" + ] } } - } + }, + "operationId": "ResourceHealthMetadata_ListBySite", + "title": "List ResourceHealthMetadata for a site" } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/ListResourceHealthMetadataBySite_Slot.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/ListResourceHealthMetadataBySite_Slot.json new file mode 100644 index 000000000000..d2787fdd89d4 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/ListResourceHealthMetadataBySite_Slot.json @@ -0,0 +1,28 @@ +{ + "parameters": { + "name": "newsiteinnewASE-NCUS", + "api-version": "2025-03-01", + "resourceGroupName": "Default-Web-NorthCentralUS", + "slot": "Production", + "subscriptionId": "4adb32ad-8327-4cbb-b775-b84b4465bb38" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "default", + "type": "Microsoft.Web/sites/resourceHealthMetadata", + "id": "/subscriptions/4adb32ad-8327-4cbb-b775-b84b4465bb38/resourceGroups/Default-Web-NorthCentralUS/providers/Microsoft.Web/sites/newsiteinnewASE-NCUS/resourceHealthMetadata/default", + "properties": { + "category": "Shared", + "signalAvailability": true + } + } + ] + } + } + }, + "operationId": "ResourceHealthMetadata_ListBySiteSlot", + "title": "List ResourceHealthMetadata for a site" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/ListResourceHealthMetadataBySubscription.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/ListResourceHealthMetadataBySubscription.json index 3d547874684f..ea033a4e9b26 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/ListResourceHealthMetadataBySubscription.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/ListResourceHealthMetadataBySubscription.json @@ -8,17 +8,18 @@ "body": { "value": [ { + "name": "default", + "type": "Microsoft.Web/sites/resourceHealthMetadata", + "id": "/subscriptions/4adb32ad-8327-4cbb-b775-b84b4465bb38/resourceGroups/Default-Web-NorthCentralUS/providers/Microsoft.Web/sites/newsiteinnewASE-NCUS/resourceHealthMetadata/default", "properties": { "category": "Shared", "signalAvailability": true - }, - "id": "/subscriptions/4adb32ad-8327-4cbb-b775-b84b4465bb38/resourceGroups/Default-Web-NorthCentralUS/providers/Microsoft.Web/sites/newsiteinnewASE-NCUS/resourceHealthMetadata/default", - "name": "default", - "type": "Microsoft.Web/sites/resourceHealthMetadata" + } } - ], - "nextLink": "" + ] } } - } + }, + "operationId": "ResourceHealthMetadata_List", + "title": "List ResourceHealthMetadata for a subscription" } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/ListSiteBackupsSlot.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/ListSiteBackupsSlot.json new file mode 100644 index 000000000000..9665616ba693 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/ListSiteBackupsSlot.json @@ -0,0 +1,30 @@ +{ + "parameters": { + "name": "tests346", + "api-version": "2025-03-01", + "resourceGroupName": "testrg123", + "slot": "staging", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "tests346/staging", + "type": "Microsoft.Web/sites/slots", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/tests346/slot/staging", + "properties": { + "blobName": "blob1", + "status": "InProgress", + "storageAccountUrl": "https://blobstorage.windows.net" + } + } + ] + }, + "headers": {} + } + }, + "operationId": "WebApps_ListSiteBackupsSlot", + "title": "List backups" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/ListSiteCertificatesByResourceGroup.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/ListSiteCertificatesByResourceGroup.json index 8641ee7ad0ae..61aab0de7c11 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/ListSiteCertificatesByResourceGroup.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/ListSiteCertificatesByResourceGroup.json @@ -1,51 +1,53 @@ { "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "testrg123", "name": "testSiteName", - "api-version": "2025-03-01" + "api-version": "2025-03-01", + "resourceGroupName": "testrg123", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" }, "responses": { "200": { - "headers": {}, "body": { "value": [ { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/testSiteName/certificates/testc6282", "name": "testc6282", "type": "Microsoft.Web/sites/certificates", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/testSiteName/certificates/testc6282", "location": "East US", "properties": { + "expirationDate": "2039-12-31T23:59:59+00:00", "friendlyName": "", - "subjectName": "ServerCert", "hostNames": [ "ServerCert" ], - "issuer": "CACert", "issueDate": "2015-11-12T23:40:25+00:00", - "expirationDate": "2039-12-31T23:59:59+00:00", + "issuer": "CACert", + "subjectName": "ServerCert", "thumbprint": "FE703D7411A44163B6D32B3AD9B03E175886EBFE" } }, { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/testSiteName/certificates/testc4912", "name": "testc4912", "type": "Microsoft.Web/sites/certificates", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/testSiteName/certificates/testc4912", "location": "West US", "properties": { + "expirationDate": "2040-12-31T23:59:59+00:00", "friendlyName": "", - "subjectName": "ServerCert2", "hostNames": [ "ServerCert2" ], - "issuer": "CACert", "issueDate": "2015-12-12T23:40:25+00:00", - "expirationDate": "2040-12-31T23:59:59+00:00", + "issuer": "CACert", + "subjectName": "ServerCert2", "thumbprint": "FE703D7411A44163B6D32B3AD9B0490D5886EBFE" } } ] - } + }, + "headers": {} } - } + }, + "operationId": "SiteCertificates_List", + "title": "List Certificates by resource group" } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/ListSiteCertificatesByResourceGroupSlot.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/ListSiteCertificatesByResourceGroupSlot.json index 101c47c2c9af..54000217b212 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/ListSiteCertificatesByResourceGroupSlot.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/ListSiteCertificatesByResourceGroupSlot.json @@ -1,52 +1,54 @@ { "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "testrg123", "name": "testSiteName", + "api-version": "2025-03-01", + "resourceGroupName": "testrg123", "slot": "staging", - "api-version": "2025-03-01" + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" }, "responses": { "200": { - "headers": {}, "body": { "value": [ { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/testSiteName/slots/staging/certificates/testc6282", "name": "testc6282", "type": "Microsoft.Web/sites/certificates", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/testSiteName/slots/staging/certificates/testc6282", "location": "East US", "properties": { + "expirationDate": "2039-12-31T23:59:59+00:00", "friendlyName": "", - "subjectName": "ServerCert", "hostNames": [ "ServerCert" ], - "issuer": "CACert", "issueDate": "2015-11-12T23:40:25+00:00", - "expirationDate": "2039-12-31T23:59:59+00:00", + "issuer": "CACert", + "subjectName": "ServerCert", "thumbprint": "FE703D7411A44163B6D32B3AD9B03E175886EBFE" } }, { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/testSiteName/slots/staging/certificates/testc4912", "name": "testc4912", "type": "Microsoft.Web/sites/certificates", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/testSiteName/slots/staging/certificates/testc4912", "location": "West US", "properties": { + "expirationDate": "2040-12-31T23:59:59+00:00", "friendlyName": "", - "subjectName": "ServerCert2", "hostNames": [ "ServerCert2" ], - "issuer": "CACert", "issueDate": "2015-12-12T23:40:25+00:00", - "expirationDate": "2040-12-31T23:59:59+00:00", + "issuer": "CACert", + "subjectName": "ServerCert2", "thumbprint": "FE703D7411A44163B6D32B3AD9B0490D5886EBFE" } } ] - } + }, + "headers": {} } - } + }, + "operationId": "SiteCertificates_ListSlot", + "title": "List Certificates by resource group for a slot" } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/ListSiteDeploymentStatus.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/ListSiteDeploymentStatus.json index 5474dfeaca97..22c1f1e62c4f 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/ListSiteDeploymentStatus.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/ListSiteDeploymentStatus.json @@ -1,17 +1,19 @@ { "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "rg", "name": "testSite", - "api-version": "2025-03-01" + "api-version": "2025-03-01", + "resourceGroupName": "rg", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" }, "responses": { "200": { - "headers": {}, "body": { - "value": [], - "nextLink": null - } + "nextLink": null, + "value": [] + }, + "headers": {} } - } + }, + "operationId": "WebApps_ListProductionSiteDeploymentStatuses", + "title": "List Deployment Status" } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/ListSiteDeploymentStatusSlot.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/ListSiteDeploymentStatusSlot.json index 8ae73dec95af..dad6b6313056 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/ListSiteDeploymentStatusSlot.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/ListSiteDeploymentStatusSlot.json @@ -1,18 +1,20 @@ { "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "rg", "name": "testSite", + "api-version": "2025-03-01", + "resourceGroupName": "rg", "slot": "stage", - "api-version": "2025-03-01" + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" }, "responses": { "200": { - "headers": {}, "body": { - "value": [], - "nextLink": null - } + "nextLink": null, + "value": [] + }, + "headers": {} } - } + }, + "operationId": "WebApps_ListSlotSiteDeploymentStatusesSlot", + "title": "List Deployment Status Slot" } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/ListSlotBackups.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/ListSlotBackups.json index eae86ca67b92..f7b08d4c22d7 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/ListSlotBackups.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/ListSlotBackups.json @@ -1,28 +1,30 @@ { "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "testrg123", "name": "tests346", + "api-version": "2025-03-01", + "resourceGroupName": "testrg123", "slot": "staging", - "api-version": "2025-03-01" + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" }, "responses": { "200": { - "headers": {}, "body": { "value": [ { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/tests346/slot/staging", "name": "tests346/staging", "type": "Microsoft.Web/sites/slots", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/tests346/slot/staging", "properties": { - "storageAccountUrl": "https://blobstorage.windows.net", "blobName": "blob1", - "status": "InProgress" + "status": "InProgress", + "storageAccountUrl": "https://blobstorage.windows.net" } } ] - } + }, + "headers": {} } - } + }, + "operationId": "WebApps_ListSiteBackups", + "title": "List backups" } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/ListStaticSiteAppSettings.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/ListStaticSiteAppSettings.json index 8aea9cdee256..e5f9d5dd0260 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/ListStaticSiteAppSettings.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/ListStaticSiteAppSettings.json @@ -1,19 +1,21 @@ { "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "rg", "name": "testStaticSite0", - "api-version": "2025-03-01" + "api-version": "2025-03-01", + "resourceGroupName": "rg", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" }, "responses": { "200": { - "headers": {}, "body": { "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/staticSites/testStaticSite0/appSettings", "properties": { "setting0": "someVal" } - } + }, + "headers": {} } - } + }, + "operationId": "StaticSites_ListStaticSiteAppSettings", + "title": "Get app settings of a static site" } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/ListStaticSiteBasicAuth.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/ListStaticSiteBasicAuth.json index 3142c4507587..32721e001a1a 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/ListStaticSiteBasicAuth.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/ListStaticSiteBasicAuth.json @@ -1,27 +1,28 @@ { "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "rg", "name": "testStaticSite0", - "api-version": "2025-03-01" + "api-version": "2025-03-01", + "resourceGroupName": "rg", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" }, "responses": { "200": { "body": { "value": [ { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/staticSites/testStaticSite0/basicAuth/default", "name": "default", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/staticSites/testStaticSite0/basicAuth/default", "properties": { - "environments": null, - "secretUrl": null, "applicableEnvironmentsMode": "AllEnvironments", - "secretState": "Password" + "environments": null, + "secretState": "Password", + "secretUrl": null } } - ], - "nextLink": "" + ] } } - } + }, + "operationId": "StaticSites_ListBasicAuth", + "title": "Lists the basic auth properties for a static site." } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/ListStaticSiteBuildAppSettings.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/ListStaticSiteBuildAppSettings.json index c50ffcffda75..0d7fc299ea9c 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/ListStaticSiteBuildAppSettings.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/ListStaticSiteBuildAppSettings.json @@ -1,20 +1,22 @@ { "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "rg", "name": "testStaticSite0", + "api-version": "2025-03-01", "environmentName": "12", - "api-version": "2025-03-01" + "resourceGroupName": "rg", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" }, "responses": { "200": { - "headers": {}, "body": { "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/staticSites/testStaticSite0/builds/12/config/appSettings", "properties": { "setting0": "someVal" } - } + }, + "headers": {} } - } + }, + "operationId": "StaticSites_ListStaticSiteBuildAppSettings", + "title": "Get app settings of a static site build" } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/ListStaticSiteBuildFunctionAppSettings.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/ListStaticSiteBuildFunctionAppSettings.json index c50ffcffda75..fd0cce9629fe 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/ListStaticSiteBuildFunctionAppSettings.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/ListStaticSiteBuildFunctionAppSettings.json @@ -1,20 +1,22 @@ { "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "rg", "name": "testStaticSite0", + "api-version": "2025-03-01", "environmentName": "12", - "api-version": "2025-03-01" + "resourceGroupName": "rg", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" }, "responses": { "200": { - "headers": {}, "body": { "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/staticSites/testStaticSite0/builds/12/config/appSettings", "properties": { "setting0": "someVal" } - } + }, + "headers": {} } - } + }, + "operationId": "StaticSites_ListStaticSiteBuildFunctionAppSettings", + "title": "Get function app settings of a static site build" } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/ListStaticSiteBuildFunctions.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/ListStaticSiteBuildFunctions.json index ddf777d5f741..2641e85b001d 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/ListStaticSiteBuildFunctions.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/ListStaticSiteBuildFunctions.json @@ -1,15 +1,15 @@ { "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "rg", "name": "testStaticSite0", + "api-version": "2025-03-01", "environmentName": "default", - "api-version": "2025-03-01" + "resourceGroupName": "rg", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" }, "responses": { "200": { - "headers": {}, "body": { + "nextLink": null, "value": [ { "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/staticSites/testStaticSite0/builds/default/functions/GetList", @@ -18,9 +18,11 @@ "triggerType": "HttpTrigger" } } - ], - "nextLink": null - } + ] + }, + "headers": {} } - } + }, + "operationId": "StaticSites_ListStaticSiteBuildFunctions", + "title": "Gets the functions of a particular static site build" } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/ListStaticSiteConfiguredRoles.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/ListStaticSiteConfiguredRoles.json index 52cc47702b0c..f40dbbc932c0 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/ListStaticSiteConfiguredRoles.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/ListStaticSiteConfiguredRoles.json @@ -1,20 +1,22 @@ { "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "rg", "name": "testStaticSite0", - "api-version": "2025-03-01" + "api-version": "2025-03-01", + "resourceGroupName": "rg", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" }, "responses": { "200": { - "headers": {}, "body": { "properties": [ "authenticated", "anonymous", "customRole1" ] - } + }, + "headers": {} } - } + }, + "operationId": "StaticSites_ListStaticSiteConfiguredRoles", + "title": "Lists the configured roles for a static site" } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/ListStaticSiteFunctionAppSettings.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/ListStaticSiteFunctionAppSettings.json index 14d476a68599..3511c9742200 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/ListStaticSiteFunctionAppSettings.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/ListStaticSiteFunctionAppSettings.json @@ -1,19 +1,21 @@ { "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "rg", "name": "testStaticSite0", - "api-version": "2025-03-01" + "api-version": "2025-03-01", + "resourceGroupName": "rg", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" }, "responses": { "200": { - "headers": {}, "body": { "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/staticSites/testStaticSite0/config/appsettings", "properties": { "setting0": "someVal" } - } + }, + "headers": {} } - } + }, + "operationId": "StaticSites_ListStaticSiteFunctionAppSettings", + "title": "Get function app settings of a static site" } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/ListStaticSiteFunctions.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/ListStaticSiteFunctions.json index 2e747663a25c..4d6956d48976 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/ListStaticSiteFunctions.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/ListStaticSiteFunctions.json @@ -1,14 +1,14 @@ { "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "rg", "name": "testStaticSite0", - "api-version": "2025-03-01" + "api-version": "2025-03-01", + "resourceGroupName": "rg", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" }, "responses": { "200": { - "headers": {}, "body": { + "nextLink": null, "value": [ { "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/staticSites/testStaticSite0/functions/GetList", @@ -17,9 +17,11 @@ "triggerType": "HttpTrigger" } } - ], - "nextLink": null - } + ] + }, + "headers": {} } - } + }, + "operationId": "StaticSites_ListStaticSiteFunctions", + "title": "Gets the functions of a static site" } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/ListStaticSiteSecrets.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/ListStaticSiteSecrets.json index d5d60acd2e35..5d91a2457644 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/ListStaticSiteSecrets.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/ListStaticSiteSecrets.json @@ -1,18 +1,20 @@ { "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "rg", "name": "testStaticSite0", - "api-version": "2025-03-01" + "api-version": "2025-03-01", + "resourceGroupName": "rg", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" }, "responses": { "200": { - "headers": {}, "body": { "properties": { "dnsOwnershipKey": "ownershipKey123123" } - } + }, + "headers": {} } - } + }, + "operationId": "StaticSites_ListStaticSiteSecrets", + "title": "List secrets for a static site" } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/ListStaticSiteUsers.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/ListStaticSiteUsers.json index 917e8bd0022a..2ed39e231316 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/ListStaticSiteUsers.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/ListStaticSiteUsers.json @@ -1,28 +1,30 @@ { "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "rg", "name": "testStaticSite0", + "api-version": "2025-03-01", "authprovider": "all", - "api-version": "2025-03-01" + "resourceGroupName": "rg", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" }, "responses": { "200": { - "headers": {}, "body": { + "nextLink": null, "value": [ { "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/staticSites/testStaticSite0/authproviders/all/users/1234", "properties": { - "provider": "aad", - "userId": "1234", "displayName": "username", - "roles": "admin,anonymous,authenticated" + "provider": "aad", + "roles": "admin,anonymous,authenticated", + "userId": "1234" } } - ], - "nextLink": null - } + ] + }, + "headers": {} } - } + }, + "operationId": "StaticSites_ListStaticSiteUsers", + "title": "List users for a static site" } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/ListWebAppBackups.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/ListWebAppBackups.json index de65de794289..ad597833edd8 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/ListWebAppBackups.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/ListWebAppBackups.json @@ -1,50 +1,52 @@ { "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "testrg123", "name": "sitef6141", - "api-version": "2025-03-01" + "api-version": "2025-03-01", + "resourceGroupName": "testrg123", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" }, "responses": { "200": { - "headers": {}, "body": { "value": [ { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/sitef6141/backups/12345", "name": "sitef6141", "type": "Microsoft.Web/sites", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/sitef6141/backups/12345", "properties": { - "id": 12345, - "storageAccountUrl": "DefaultEndpointsProtocol=https;AccountName=storagesample;AccountKey=", - "blobName": "sitef6141_2025-03-01", - "name": "sitef6141_2025-03-01", - "status": "InProgress", - "sizeInBytes": 56091883, + "name": "sitef6141_2024-11-01", + "blobName": "sitef6141_2024-11-01", "created": "2022-09-03T17:33:11.641Z", - "log": "Succeeded", "databases": [ { - "databaseType": "SqlAzure", "name": "backenddb", + "connectionString": "DSN=data-source-name[;SERVER=value] [;PWD=value] [;UID=value] [;=]", "connectionStringName": "backend", - "connectionString": "DSN=data-source-name[;SERVER=value] [;PWD=value] [;UID=value] [;=]" + "databaseType": "SqlAzure" }, { - "databaseType": "SqlAzure", "name": "statsdb", + "connectionString": "DSN=data-source-name[;SERVER=value] [;PWD=value] [;UID=value] [;=]", "connectionStringName": "stats", - "connectionString": "DSN=data-source-name[;SERVER=value] [;PWD=value] [;UID=value] [;=]" + "databaseType": "SqlAzure" } ], - "scheduled": true, - "lastRestoreTimeStamp": "2022-09-04T17:33:11.641Z", "finishedTimeStamp": "2022-09-05T17:33:11.641Z", + "id": 12345, + "lastRestoreTimeStamp": "2022-09-04T17:33:11.641Z", + "log": "Succeeded", + "scheduled": true, + "sizeInBytes": 56091883, + "status": "InProgress", + "storageAccountUrl": "DefaultEndpointsProtocol=https;AccountName=storagesample;AccountKey=", "websiteSizeInBytes": 56091883 } } ] - } + }, + "headers": {} } - } + }, + "operationId": "WebApps_ListBackups", + "title": "List web app backups" } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/ListWebAppConfigurations.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/ListWebAppConfigurations.json index 53eb1f307a49..92a46a5cc04a 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/ListWebAppConfigurations.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/ListWebAppConfigurations.json @@ -1,22 +1,25 @@ { "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "testrg123", "name": "sitef6141", - "api-version": "2025-03-01" + "api-version": "2025-03-01", + "resourceGroupName": "testrg123", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" }, "responses": { "200": { - "headers": {}, "body": { "value": [ { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/sitef6141/config/web", "name": "web", "type": "Microsoft.Web/sites/config", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/sitef6141/config/web", "kind": "app", "properties": { - "numberOfWorkers": 1, + "acrUseManagedIdentityCreds": false, + "alwaysOn": false, + "appCommandLine": "", + "autoHealEnabled": false, + "azureStorageAccounts": {}, "defaultDocuments": [ "Default.htm", "Default.html", @@ -28,47 +31,46 @@ "index.php", "hostingstart.html" ], + "detailedErrorLoggingEnabled": false, + "ftpsState": "AllAllowed", + "functionAppScaleLimit": 0, + "functionsRuntimeScaleMonitoringEnabled": false, + "http20Enabled": false, + "httpLoggingEnabled": false, + "linuxFxVersion": "", + "loadBalancing": "LeastRequests", + "logsDirectorySizeLimit": 35, + "managedPipelineMode": "Integrated", + "minTlsVersion": "1.2", + "minimumElasticInstanceCount": 0, "netFrameworkVersion": "v4.0", - "phpVersion": "5.6", - "pythonVersion": "", "nodeVersion": "", + "numberOfWorkers": 1, + "phpVersion": "5.6", "powerShellVersion": "", - "linuxFxVersion": "", - "requestTracingEnabled": false, + "pythonVersion": "", "remoteDebuggingEnabled": false, - "httpLoggingEnabled": false, - "acrUseManagedIdentityCreds": false, - "logsDirectorySizeLimit": 35, - "detailedErrorLoggingEnabled": false, + "requestTracingEnabled": false, + "scmMinTlsVersion": "1.2", "use32BitWorkerProcess": true, - "webSocketsEnabled": false, - "alwaysOn": false, - "appCommandLine": "", - "managedPipelineMode": "Integrated", "virtualApplications": [ { - "virtualPath": "/", "physicalPath": "site\\wwwroot", - "preloadEnabled": false + "preloadEnabled": false, + "virtualPath": "/" } ], - "loadBalancing": "LeastRequests", - "autoHealEnabled": false, "vnetName": "", - "vnetRouteAllEnabled": false, "vnetPrivatePortsCount": 0, - "http20Enabled": false, - "minTlsVersion": "1.2", - "scmMinTlsVersion": "1.2", - "ftpsState": "AllAllowed", - "functionAppScaleLimit": 0, - "functionsRuntimeScaleMonitoringEnabled": false, - "minimumElasticInstanceCount": 0, - "azureStorageAccounts": {} + "vnetRouteAllEnabled": false, + "webSocketsEnabled": false } } ] - } + }, + "headers": {} } - } + }, + "operationId": "WebApps_ListConfigurations", + "title": "List web app configurations" } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/ListWebAppSlots.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/ListWebAppSlots.json index de2828537694..da7d901eda36 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/ListWebAppSlots.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/ListWebAppSlots.json @@ -237,5 +237,7 @@ ] } } - } + }, + "operationId": "WebApps_ListSlots", + "title": "List Web App Slots" } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/ListWebApps.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/ListWebApps.json index bf6d8ed4b0fe..ea027b169bc3 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/ListWebApps.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/ListWebApps.json @@ -1,58 +1,78 @@ { "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "api-version": "2025-03-01" + "api-version": "2025-03-01", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" }, "responses": { "200": { - "headers": {}, "body": { "value": [ { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/sitef6141", "name": "sitef6141", "type": "Microsoft.Web/sites", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/sitef6141", "kind": "app", "location": "East US", "properties": { - "state": "Running", - "hostNames": [ - "sitef6141.azurewebsites.net" - ], - "repositorySiteName": "sitef6141", - "usageState": "Normal", + "availabilityState": "Normal", + "clientAffinityEnabled": true, + "clientCertEnabled": false, + "clientCertMode": "Required", + "containerSize": 0, + "customDomainVerificationId": "7F3BB652450EF7AD0B6AA33064586E4A9CE823A46DF0B2EC6443A68086E84153", + "dailyMemoryTimeQuota": 0, + "defaultHostName": "sitef6141.azurewebsites.net", "enabled": true, "enabledHostNames": [ "sitef6141.azurewebsites.net", "sitef6141.scm.azurewebsites.net" ], - "availabilityState": "Normal", "hostNameSslStates": [ { "name": "sitef6141.azurewebsites.net", - "sslState": "Disabled", - "hostType": "Standard" + "hostType": "Standard", + "sslState": "Disabled" }, { "name": "sitef6141.scm.azurewebsites.net", - "sslState": "Disabled", - "hostType": "Repository" + "hostType": "Repository", + "sslState": "Disabled" } ], - "serverFarmId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/serverfarms/DefaultAsp", - "reserved": false, - "isXenon": false, + "hostNames": [ + "sitef6141.azurewebsites.net" + ], + "hostNamesDisabled": false, + "httpsOnly": false, "hyperV": false, + "isXenon": false, + "keyVaultReferenceIdentity": "SystemAssigned", "lastModifiedTimeUtc": "2020-03-04T17:33:11.641Z", + "outboundIpAddresses": "70.37.102.201,20.225.43.144", "outboundVnetRouting": { "allTraffic": false, "applicationTraffic": false, + "backupRestoreTraffic": false, "contentShareTraffic": false, - "imagePullTraffic": false, - "backupRestoreTraffic": false + "imagePullTraffic": false }, + "possibleOutboundIpAddresses": "70.37.102.201,20.225.43.144,20.225.184.122,20.225.184.188", + "redundancyMode": "None", + "repositorySiteName": "sitef6141", + "reserved": false, + "resourceConfig": { + "cpu": 1, + "memory": "2.0Gi" + }, + "resourceGroup": "testrg123", + "scmSiteAlsoStopped": false, + "serverFarmId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/serverfarms/DefaultAsp", "siteConfig": { - "numberOfWorkers": 1, + "acrUseManagedIdentityCreds": false, + "alwaysOn": false, + "appCommandLine": "", + "autoHealEnabled": false, + "azureStorageAccounts": {}, "defaultDocuments": [ "Default.htm", "Default.html", @@ -64,112 +84,112 @@ "index.php", "hostingstart.html" ], + "detailedErrorLoggingEnabled": false, + "ftpsState": "AllAllowed", + "functionAppScaleLimit": 0, + "functionsRuntimeScaleMonitoringEnabled": false, + "http20Enabled": false, + "httpLoggingEnabled": false, + "linuxFxVersion": "", + "loadBalancing": "LeastRequests", + "logsDirectorySizeLimit": 35, + "managedPipelineMode": "Integrated", + "minTlsVersion": "1.2", + "minimumElasticInstanceCount": 0, "netFrameworkVersion": "v4.0", - "phpVersion": "5.6", - "pythonVersion": "", "nodeVersion": "", + "numberOfWorkers": 1, + "phpVersion": "5.6", "powerShellVersion": "", - "linuxFxVersion": "", - "requestTracingEnabled": false, + "pythonVersion": "", "remoteDebuggingEnabled": false, - "httpLoggingEnabled": false, - "acrUseManagedIdentityCreds": false, - "logsDirectorySizeLimit": 35, - "detailedErrorLoggingEnabled": false, + "requestTracingEnabled": false, + "scmMinTlsVersion": "1.2", "use32BitWorkerProcess": true, - "webSocketsEnabled": false, - "alwaysOn": false, - "appCommandLine": "", - "managedPipelineMode": "Integrated", "virtualApplications": [ { - "virtualPath": "/", "physicalPath": "site\\wwwroot", - "preloadEnabled": false + "preloadEnabled": false, + "virtualPath": "/" } ], - "loadBalancing": "LeastRequests", - "autoHealEnabled": false, "vnetName": "", - "vnetRouteAllEnabled": false, "vnetPrivatePortsCount": 0, - "http20Enabled": false, - "minTlsVersion": "1.2", - "scmMinTlsVersion": "1.2", - "ftpsState": "AllAllowed", - "functionAppScaleLimit": 0, - "functionsRuntimeScaleMonitoringEnabled": false, - "minimumElasticInstanceCount": 0, - "azureStorageAccounts": {} + "vnetRouteAllEnabled": false, + "webSocketsEnabled": false }, - "scmSiteAlsoStopped": false, - "clientAffinityEnabled": true, - "clientCertEnabled": false, - "clientCertMode": "Required", - "hostNamesDisabled": false, - "customDomainVerificationId": "7F3BB652450EF7AD0B6AA33064586E4A9CE823A46DF0B2EC6443A68086E84153", - "outboundIpAddresses": "70.37.102.201,20.225.43.144", - "possibleOutboundIpAddresses": "70.37.102.201,20.225.43.144,20.225.184.122,20.225.184.188", - "containerSize": 0, - "dailyMemoryTimeQuota": 0, - "resourceGroup": "testrg123", - "defaultHostName": "sitef6141.azurewebsites.net", - "httpsOnly": false, - "redundancyMode": "None", + "state": "Running", "storageAccountRequired": false, - "keyVaultReferenceIdentity": "SystemAssigned", - "workloadProfileName": "myd4wp", - "resourceConfig": { - "cpu": 1.0, - "memory": "2.0Gi" - } + "usageState": "Normal", + "workloadProfileName": "myd4wp" } }, { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/sitef7252", "name": "sitef7252", "type": "Microsoft.Web/sites", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/sitef7252", "kind": "app", "location": "East US", "properties": { - "state": "Running", - "hostNames": [ - "sitef7252.azurewebsites.net" - ], - "repositorySiteName": "sitef7252", - "usageState": "Normal", + "availabilityState": "Normal", + "clientAffinityEnabled": true, + "clientCertEnabled": false, + "clientCertMode": "Required", + "containerSize": 0, + "customDomainVerificationId": "7F3BB652450EF7AD0B6AA33064586E4A9CE823A46DF0B2EC6443A68086E84153", + "dailyMemoryTimeQuota": 0, + "defaultHostName": "sitef7252.azurewebsites.net", "enabled": true, "enabledHostNames": [ "sitef7252.azurewebsites.net", "sitef7252.scm.azurewebsites.net" ], - "availabilityState": "Normal", "hostNameSslStates": [ { "name": "sitef7252.azurewebsites.net", - "sslState": "Disabled", - "hostType": "Standard" + "hostType": "Standard", + "sslState": "Disabled" }, { "name": "sitef7252.scm.azurewebsites.net", - "sslState": "Disabled", - "hostType": "Repository" + "hostType": "Repository", + "sslState": "Disabled" } ], - "serverFarmId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/serverfarms/DefaultAsp", - "reserved": false, - "isXenon": false, + "hostNames": [ + "sitef7252.azurewebsites.net" + ], + "hostNamesDisabled": false, + "httpsOnly": false, "hyperV": false, + "isXenon": false, + "keyVaultReferenceIdentity": "SystemAssigned", "lastModifiedTimeUtc": "2020-03-04T17:33:11.641Z", + "outboundIpAddresses": "70.37.102.201,20.225.43.144", "outboundVnetRouting": { "allTraffic": false, "applicationTraffic": false, + "backupRestoreTraffic": false, "contentShareTraffic": false, - "imagePullTraffic": false, - "backupRestoreTraffic": false + "imagePullTraffic": false }, + "possibleOutboundIpAddresses": "70.37.102.201,20.225.43.144,20.225.184.122,20.225.184.188", + "redundancyMode": "None", + "repositorySiteName": "sitef7252", + "reserved": false, + "resourceConfig": { + "cpu": 1, + "memory": "2.0Gi" + }, + "resourceGroup": "testrg123", + "scmSiteAlsoStopped": false, + "serverFarmId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/serverfarms/DefaultAsp", "siteConfig": { - "numberOfWorkers": 1, + "acrUseManagedIdentityCreds": false, + "alwaysOn": false, + "appCommandLine": "", + "autoHealEnabled": false, + "azureStorageAccounts": {}, "defaultDocuments": [ "Default.htm", "Default.html", @@ -181,69 +201,51 @@ "index.php", "hostingstart.html" ], + "detailedErrorLoggingEnabled": false, + "ftpsState": "AllAllowed", + "functionAppScaleLimit": 0, + "functionsRuntimeScaleMonitoringEnabled": false, + "http20Enabled": false, + "httpLoggingEnabled": false, + "linuxFxVersion": "", + "loadBalancing": "LeastRequests", + "logsDirectorySizeLimit": 35, + "managedPipelineMode": "Integrated", + "minTlsVersion": "1.2", + "minimumElasticInstanceCount": 0, "netFrameworkVersion": "v4.0", - "phpVersion": "5.6", - "pythonVersion": "", "nodeVersion": "", + "numberOfWorkers": 1, + "phpVersion": "5.6", "powerShellVersion": "", - "linuxFxVersion": "", - "requestTracingEnabled": false, + "pythonVersion": "", "remoteDebuggingEnabled": false, - "httpLoggingEnabled": false, - "acrUseManagedIdentityCreds": false, - "logsDirectorySizeLimit": 35, - "detailedErrorLoggingEnabled": false, + "requestTracingEnabled": false, + "scmMinTlsVersion": "1.2", "use32BitWorkerProcess": true, - "webSocketsEnabled": false, - "alwaysOn": false, - "appCommandLine": "", - "managedPipelineMode": "Integrated", "virtualApplications": [ { - "virtualPath": "/", "physicalPath": "site\\wwwroot", - "preloadEnabled": false + "preloadEnabled": false, + "virtualPath": "/" } ], - "loadBalancing": "LeastRequests", - "autoHealEnabled": false, "vnetName": "", - "vnetRouteAllEnabled": false, "vnetPrivatePortsCount": 0, - "http20Enabled": false, - "minTlsVersion": "1.2", - "scmMinTlsVersion": "1.2", - "ftpsState": "AllAllowed", - "functionAppScaleLimit": 0, - "functionsRuntimeScaleMonitoringEnabled": false, - "minimumElasticInstanceCount": 0, - "azureStorageAccounts": {} + "vnetRouteAllEnabled": false, + "webSocketsEnabled": false }, - "scmSiteAlsoStopped": false, - "clientAffinityEnabled": true, - "clientCertEnabled": false, - "clientCertMode": "Required", - "hostNamesDisabled": false, - "customDomainVerificationId": "7F3BB652450EF7AD0B6AA33064586E4A9CE823A46DF0B2EC6443A68086E84153", - "outboundIpAddresses": "70.37.102.201,20.225.43.144", - "possibleOutboundIpAddresses": "70.37.102.201,20.225.43.144,20.225.184.122,20.225.184.188", - "containerSize": 0, - "dailyMemoryTimeQuota": 0, - "resourceGroup": "testrg123", - "defaultHostName": "sitef7252.azurewebsites.net", - "httpsOnly": false, - "redundancyMode": "None", + "state": "Running", "storageAccountRequired": false, - "keyVaultReferenceIdentity": "SystemAssigned", - "workloadProfileName": "myd4wp", - "resourceConfig": { - "cpu": 1.0, - "memory": "2.0Gi" - } + "usageState": "Normal", + "workloadProfileName": "myd4wp" } } ] - } + }, + "headers": {} } - } + }, + "operationId": "WebApps_List", + "title": "List Web apps for subscription" } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/ListWebAppsByResourceGroup.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/ListWebAppsByResourceGroup.json index bf99c21982b1..504aff0d5a0e 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/ListWebAppsByResourceGroup.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/ListWebAppsByResourceGroup.json @@ -1,59 +1,79 @@ { "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "api-version": "2025-03-01", "resourceGroupName": "testrg123", - "api-version": "2025-03-01" + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" }, "responses": { "200": { - "headers": {}, "body": { "value": [ { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/sitef6141", "name": "sitef6141", "type": "Microsoft.Web/sites", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/sitef6141", "kind": "app", "location": "East US", "properties": { - "state": "Running", - "hostNames": [ - "sitef6141.azurewebsites.net" - ], - "repositorySiteName": "sitef6141", - "usageState": "Normal", + "availabilityState": "Normal", + "clientAffinityEnabled": true, + "clientCertEnabled": false, + "clientCertMode": "Required", + "containerSize": 0, + "customDomainVerificationId": "7F3BB652450EF7AD0B6AA33064586E4A9CE823A46DF0B2EC6443A68086E84153", + "dailyMemoryTimeQuota": 0, + "defaultHostName": "sitef6141.azurewebsites.net", "enabled": true, "enabledHostNames": [ "sitef6141.azurewebsites.net", "sitef6141.scm.azurewebsites.net" ], - "availabilityState": "Normal", "hostNameSslStates": [ { "name": "sitef6141.azurewebsites.net", - "sslState": "Disabled", - "hostType": "Standard" + "hostType": "Standard", + "sslState": "Disabled" }, { "name": "sitef6141.scm.azurewebsites.net", - "sslState": "Disabled", - "hostType": "Repository" + "hostType": "Repository", + "sslState": "Disabled" } ], - "serverFarmId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/serverfarms/DefaultAsp", - "reserved": false, - "isXenon": false, + "hostNames": [ + "sitef6141.azurewebsites.net" + ], + "hostNamesDisabled": false, + "httpsOnly": false, "hyperV": false, + "isXenon": false, + "keyVaultReferenceIdentity": "SystemAssigned", "lastModifiedTimeUtc": "2020-03-04T17:33:11.641Z", + "outboundIpAddresses": "70.37.102.201,20.225.43.144", "outboundVnetRouting": { "allTraffic": false, "applicationTraffic": false, + "backupRestoreTraffic": false, "contentShareTraffic": false, - "imagePullTraffic": false, - "backupRestoreTraffic": false + "imagePullTraffic": false }, + "possibleOutboundIpAddresses": "70.37.102.201,20.225.43.144,20.225.184.122,20.225.184.188", + "redundancyMode": "None", + "repositorySiteName": "sitef6141", + "reserved": false, + "resourceConfig": { + "cpu": 1, + "memory": "2.0Gi" + }, + "resourceGroup": "testrg123", + "scmSiteAlsoStopped": false, + "serverFarmId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/serverfarms/DefaultAsp", "siteConfig": { - "numberOfWorkers": 1, + "acrUseManagedIdentityCreds": false, + "alwaysOn": false, + "appCommandLine": "", + "autoHealEnabled": false, + "azureStorageAccounts": {}, "defaultDocuments": [ "Default.htm", "Default.html", @@ -65,112 +85,112 @@ "index.php", "hostingstart.html" ], + "detailedErrorLoggingEnabled": false, + "ftpsState": "AllAllowed", + "functionAppScaleLimit": 0, + "functionsRuntimeScaleMonitoringEnabled": false, + "http20Enabled": false, + "httpLoggingEnabled": false, + "linuxFxVersion": "", + "loadBalancing": "LeastRequests", + "logsDirectorySizeLimit": 35, + "managedPipelineMode": "Integrated", + "minTlsVersion": "1.2", + "minimumElasticInstanceCount": 0, "netFrameworkVersion": "v4.0", - "phpVersion": "5.6", - "pythonVersion": "", "nodeVersion": "", + "numberOfWorkers": 1, + "phpVersion": "5.6", "powerShellVersion": "", - "linuxFxVersion": "", - "requestTracingEnabled": false, + "pythonVersion": "", "remoteDebuggingEnabled": false, - "httpLoggingEnabled": false, - "acrUseManagedIdentityCreds": false, - "logsDirectorySizeLimit": 35, - "detailedErrorLoggingEnabled": false, + "requestTracingEnabled": false, + "scmMinTlsVersion": "1.2", "use32BitWorkerProcess": true, - "webSocketsEnabled": false, - "alwaysOn": false, - "appCommandLine": "", - "managedPipelineMode": "Integrated", "virtualApplications": [ { - "virtualPath": "/", "physicalPath": "site\\wwwroot", - "preloadEnabled": false + "preloadEnabled": false, + "virtualPath": "/" } ], - "loadBalancing": "LeastRequests", - "autoHealEnabled": false, "vnetName": "", - "vnetRouteAllEnabled": false, "vnetPrivatePortsCount": 0, - "http20Enabled": false, - "minTlsVersion": "1.2", - "scmMinTlsVersion": "1.2", - "ftpsState": "AllAllowed", - "functionAppScaleLimit": 0, - "functionsRuntimeScaleMonitoringEnabled": false, - "minimumElasticInstanceCount": 0, - "azureStorageAccounts": {} + "vnetRouteAllEnabled": false, + "webSocketsEnabled": false }, - "scmSiteAlsoStopped": false, - "clientAffinityEnabled": true, - "clientCertEnabled": false, - "clientCertMode": "Required", - "hostNamesDisabled": false, - "customDomainVerificationId": "7F3BB652450EF7AD0B6AA33064586E4A9CE823A46DF0B2EC6443A68086E84153", - "outboundIpAddresses": "70.37.102.201,20.225.43.144", - "possibleOutboundIpAddresses": "70.37.102.201,20.225.43.144,20.225.184.122,20.225.184.188", - "containerSize": 0, - "dailyMemoryTimeQuota": 0, - "resourceGroup": "testrg123", - "defaultHostName": "sitef6141.azurewebsites.net", - "httpsOnly": false, - "redundancyMode": "None", + "state": "Running", "storageAccountRequired": false, - "keyVaultReferenceIdentity": "SystemAssigned", - "workloadProfileName": "myd4wp", - "resourceConfig": { - "cpu": 1.0, - "memory": "2.0Gi" - } + "usageState": "Normal", + "workloadProfileName": "myd4wp" } }, { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/sitef7252", "name": "sitef7252", "type": "Microsoft.Web/sites", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/sitef7252", "kind": "app", "location": "East US", "properties": { - "state": "Running", - "hostNames": [ - "sitef7252.azurewebsites.net" - ], - "repositorySiteName": "sitef7252", - "usageState": "Normal", + "availabilityState": "Normal", + "clientAffinityEnabled": true, + "clientCertEnabled": false, + "clientCertMode": "Required", + "containerSize": 0, + "customDomainVerificationId": "7F3BB652450EF7AD0B6AA33064586E4A9CE823A46DF0B2EC6443A68086E84153", + "dailyMemoryTimeQuota": 0, + "defaultHostName": "sitef7252.azurewebsites.net", "enabled": true, "enabledHostNames": [ "sitef7252.azurewebsites.net", "sitef7252.scm.azurewebsites.net" ], - "availabilityState": "Normal", "hostNameSslStates": [ { "name": "sitef7252.azurewebsites.net", - "sslState": "Disabled", - "hostType": "Standard" + "hostType": "Standard", + "sslState": "Disabled" }, { "name": "sitef7252.scm.azurewebsites.net", - "sslState": "Disabled", - "hostType": "Repository" + "hostType": "Repository", + "sslState": "Disabled" } ], - "serverFarmId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/serverfarms/DefaultAsp", - "reserved": false, - "isXenon": false, + "hostNames": [ + "sitef7252.azurewebsites.net" + ], + "hostNamesDisabled": false, + "httpsOnly": false, "hyperV": false, + "isXenon": false, + "keyVaultReferenceIdentity": "SystemAssigned", "lastModifiedTimeUtc": "2020-03-04T17:33:11.641Z", + "outboundIpAddresses": "70.37.102.201,20.225.43.144", "outboundVnetRouting": { "allTraffic": false, "applicationTraffic": false, + "backupRestoreTraffic": false, "contentShareTraffic": false, - "imagePullTraffic": false, - "backupRestoreTraffic": false + "imagePullTraffic": false }, + "possibleOutboundIpAddresses": "70.37.102.201,20.225.43.144,20.225.184.122,20.225.184.188", + "redundancyMode": "None", + "repositorySiteName": "sitef7252", + "reserved": false, + "resourceConfig": { + "cpu": 1, + "memory": "2.0Gi" + }, + "resourceGroup": "testrg123", + "scmSiteAlsoStopped": false, + "serverFarmId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/serverfarms/DefaultAsp", "siteConfig": { - "numberOfWorkers": 1, + "acrUseManagedIdentityCreds": false, + "alwaysOn": false, + "appCommandLine": "", + "autoHealEnabled": false, + "azureStorageAccounts": {}, "defaultDocuments": [ "Default.htm", "Default.html", @@ -182,69 +202,51 @@ "index.php", "hostingstart.html" ], + "detailedErrorLoggingEnabled": false, + "ftpsState": "AllAllowed", + "functionAppScaleLimit": 0, + "functionsRuntimeScaleMonitoringEnabled": false, + "http20Enabled": false, + "httpLoggingEnabled": false, + "linuxFxVersion": "", + "loadBalancing": "LeastRequests", + "logsDirectorySizeLimit": 35, + "managedPipelineMode": "Integrated", + "minTlsVersion": "1.2", + "minimumElasticInstanceCount": 0, "netFrameworkVersion": "v4.0", - "phpVersion": "5.6", - "pythonVersion": "", "nodeVersion": "", + "numberOfWorkers": 1, + "phpVersion": "5.6", "powerShellVersion": "", - "linuxFxVersion": "", - "requestTracingEnabled": false, + "pythonVersion": "", "remoteDebuggingEnabled": false, - "httpLoggingEnabled": false, - "acrUseManagedIdentityCreds": false, - "logsDirectorySizeLimit": 35, - "detailedErrorLoggingEnabled": false, + "requestTracingEnabled": false, + "scmMinTlsVersion": "1.2", "use32BitWorkerProcess": true, - "webSocketsEnabled": false, - "alwaysOn": false, - "appCommandLine": "", - "managedPipelineMode": "Integrated", "virtualApplications": [ { - "virtualPath": "/", "physicalPath": "site\\wwwroot", - "preloadEnabled": false + "preloadEnabled": false, + "virtualPath": "/" } ], - "loadBalancing": "LeastRequests", - "autoHealEnabled": false, "vnetName": "", - "vnetRouteAllEnabled": false, "vnetPrivatePortsCount": 0, - "http20Enabled": false, - "minTlsVersion": "1.2", - "scmMinTlsVersion": "1.2", - "ftpsState": "AllAllowed", - "functionAppScaleLimit": 0, - "functionsRuntimeScaleMonitoringEnabled": false, - "minimumElasticInstanceCount": 0, - "azureStorageAccounts": {} + "vnetRouteAllEnabled": false, + "webSocketsEnabled": false }, - "scmSiteAlsoStopped": false, - "clientAffinityEnabled": true, - "clientCertEnabled": false, - "clientCertMode": "Required", - "hostNamesDisabled": false, - "customDomainVerificationId": "7F3BB652450EF7AD0B6AA33064586E4A9CE823A46DF0B2EC6443A68086E84153", - "outboundIpAddresses": "70.37.102.201,20.225.43.144", - "possibleOutboundIpAddresses": "70.37.102.201,20.225.43.144,20.225.184.122,20.225.184.188", - "containerSize": 0, - "dailyMemoryTimeQuota": 0, - "resourceGroup": "testrg123", - "defaultHostName": "sitef7252.azurewebsites.net", - "httpsOnly": false, - "redundancyMode": "None", + "state": "Running", "storageAccountRequired": false, - "keyVaultReferenceIdentity": "SystemAssigned", - "workloadProfileName": "myd4wp", - "resourceConfig": { - "cpu": 1.0, - "memory": "2.0Gi" - } + "usageState": "Normal", + "workloadProfileName": "myd4wp" } } ] - } + }, + "headers": {} } - } + }, + "operationId": "WebApps_ListByResourceGroup", + "title": "List Web Apps by Resource group" } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/ListWorkflows.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/ListWorkflows.json index 5e6dba1504ed..75096bca4342 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/ListWorkflows.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/ListWorkflows.json @@ -1,22 +1,22 @@ { "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "testrg123", "name": "testsite2", + "api-version": "2025-03-01", + "resourceGroupName": "testrg123", "slot": "staging", - "api-version": "2025-03-01" + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" }, "responses": { "200": { - "headers": {}, "body": { + "nextLink": null, "value": [ { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/testsite2/workflows/a1", "name": "testsite2/a1", "type": "Microsoft.Web/sites/workflows", - "location": "USAAnywhere", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/testsite2/workflows/a1", "kind": "Stateful", + "location": "USAAnywhere", "properties": { "flowState": "Enabled", "health": { @@ -25,25 +25,27 @@ } }, { - "id": "/subscriptions/testsub/resourceGroups/testrg/providers/Microsoft.Web/sites/testsite2/workflows/stateful2", "name": "testsite2/stateful2", "type": "Microsoft.Web/sites/workflows", - "location": "USAAnywhere", + "id": "/subscriptions/testsub/resourceGroups/testrg/providers/Microsoft.Web/sites/testsite2/workflows/stateful2", "kind": "Stateful", + "location": "USAAnywhere", "properties": { "flowState": "Enabled", "health": { - "state": "Unhealthy", "error": { "code": "InvalidWorkflowJson", "message": "Invalid character after parsing property name. Expected ':' but got: \". Path '', line 2, position 2." - } + }, + "state": "Unhealthy" } } } - ], - "nextLink": null - } + ] + }, + "headers": {} } - } + }, + "operationId": "WebApps_ListWorkflows", + "title": "List the workflows" } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/ListWorkflowsConfigurationConnections.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/ListWorkflowsConfigurationConnections.json index 1951655ba431..409513b6b9e7 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/ListWorkflowsConfigurationConnections.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/ListWorkflowsConfigurationConnections.json @@ -1,19 +1,18 @@ { "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "testrg123", "name": "testsite2", - "slot": "staging", + "api-version": "2025-03-01", "configurationName": "connections", - "api-version": "2025-03-01" + "resourceGroupName": "testrg123", + "slot": "staging", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" }, "responses": { "200": { - "headers": {}, "body": { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/testsite2/workflowconfigurations/connections", "name": "testsite2/connections", "type": "Microsoft.Web/sites/workflowsconfiguration", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/testsite2/workflowconfigurations/connections", "location": "USAAnywhere", "properties": { "files": { @@ -23,15 +22,15 @@ "api": { "id": "string" }, + "authentication": { + "type": "Raw", + "parameter": "@appsetting('office365-connectionKey')", + "scheme": "Key" + }, "connection": { "id": "string" }, - "connectionRuntimeUrl": "string", - "authentication": { - "type": "Raw", - "scheme": "Key", - "parameter": "@appsetting('office365-connectionKey')" - } + "connectionRuntimeUrl": "string" } } } @@ -40,7 +39,10 @@ "state": "Healthy" } } - } + }, + "headers": {} } - } + }, + "operationId": "WebApps_ListWorkflowsConnections", + "title": "List the Instance Workflows Configuration Connections" } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/ListWorkflowsConfigurationConnections_Slot.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/ListWorkflowsConfigurationConnections_Slot.json new file mode 100644 index 000000000000..7308946a8675 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/ListWorkflowsConfigurationConnections_Slot.json @@ -0,0 +1,48 @@ +{ + "parameters": { + "name": "testsite2", + "api-version": "2025-03-01", + "configurationName": "connections", + "resourceGroupName": "testrg123", + "slot": "staging", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": { + "name": "testsite2/connections", + "type": "Microsoft.Web/sites/workflowsconfiguration", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/testsite2/workflowconfigurations/connections", + "location": "USAAnywhere", + "properties": { + "files": { + "connections.json": { + "managedApiConnections": { + "office365": { + "api": { + "id": "string" + }, + "authentication": { + "type": "Raw", + "parameter": "@appsetting('office365-connectionKey')", + "scheme": "Key" + }, + "connection": { + "id": "string" + }, + "connectionRuntimeUrl": "string" + } + } + } + }, + "health": { + "state": "Healthy" + } + } + }, + "headers": {} + } + }, + "operationId": "WebApps_ListWorkflowsConnectionsSlot", + "title": "List the Instance Workflows Configuration Connections Slot" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/ListWorkflows_Slot.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/ListWorkflows_Slot.json new file mode 100644 index 000000000000..2998835b44c6 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/ListWorkflows_Slot.json @@ -0,0 +1,51 @@ +{ + "parameters": { + "name": "testsite2", + "api-version": "2025-03-01", + "resourceGroupName": "testrg123", + "slot": "staging", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": { + "nextLink": null, + "value": [ + { + "name": "testsite2/a1", + "type": "Microsoft.Web/sites/workflows", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/testsite2/workflows/a1", + "kind": "Stateful", + "location": "USAAnywhere", + "properties": { + "flowState": "Enabled", + "health": { + "state": "Healthy" + } + } + }, + { + "name": "testsite2/stateful2", + "type": "Microsoft.Web/sites/workflows", + "id": "/subscriptions/testsub/resourceGroups/testrg/providers/Microsoft.Web/sites/testsite2/workflows/stateful2", + "kind": "Stateful", + "location": "USAAnywhere", + "properties": { + "flowState": "Enabled", + "health": { + "error": { + "code": "InvalidWorkflowJson", + "message": "Invalid character after parsing property name. Expected ':' but got: \". Path '', line 2, position 2." + }, + "state": "Unhealthy" + } + } + } + ] + }, + "headers": {} + } + }, + "operationId": "WebApps_ListInstanceWorkflowsSlot", + "title": "List the workflows Slot" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/PatchAppServicePlan.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/PatchAppServicePlan.json index a4067861122d..f87051470881 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/PatchAppServicePlan.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/PatchAppServicePlan.json @@ -1,72 +1,74 @@ { "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "testrg123", "name": "testsf6141", "api-version": "2025-03-01", "appServicePlan": { "kind": "app", "properties": {} - } + }, + "resourceGroupName": "testrg123", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" }, "responses": { "200": { - "headers": {}, "body": { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/serverfarms/testsf6141", "name": "testsf6141", "type": "Microsoft.Web/serverfarms", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/serverfarms/testsf6141", "kind": "app", "location": "East US", "properties": { - "status": "Ready", - "maximumNumberOfWorkers": 20, "geoRegion": "East US", + "maximumNumberOfWorkers": 20, "numberOfSites": 4, + "provisioningState": "Succeeded", "reserved": false, + "status": "Ready", "targetWorkerCount": 0, - "targetWorkerSizeId": 0, - "provisioningState": "Succeeded" + "targetWorkerSizeId": 0 }, "sku": { "name": "P1", - "tier": "Premium", - "size": "P1", + "capacity": 1, "family": "P", - "capacity": 1 + "size": "P1", + "tier": "Premium" } - } + }, + "headers": {} }, "202": { - "headers": { - "location": "https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/serverfarms/testsf6141/operationresults/F0C6B8EC-0D53-432C-913B-1CD9E8CDE3A0", - "azure-asyncoperation": "https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/serverfarms/testsf6141/operationresults/F0C6B8EC-0D53-432C-913B-1CD9E8CDE3A0" - }, "body": { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/serverfarms/testsf6141", "name": "testsf6141", "type": "Microsoft.Web/serverfarms", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/serverfarms/testsf6141", "kind": "app", "location": "East US", "properties": { - "status": "Ready", - "maximumNumberOfWorkers": 20, "geoRegion": "East US", - "numberOfSites": 4, "isSpot": false, + "maximumNumberOfWorkers": 20, + "numberOfSites": 4, + "provisioningState": "Succeeded", "reserved": false, + "status": "Ready", "targetWorkerCount": 0, - "targetWorkerSizeId": 0, - "provisioningState": "Succeeded" + "targetWorkerSizeId": 0 }, "sku": { "name": "P1", - "tier": "Premium", - "size": "P1", + "capacity": 1, "family": "P", - "capacity": 1 + "size": "P1", + "tier": "Premium" } + }, + "headers": { + "azure-asyncoperation": "https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/serverfarms/testsf6141/operationresults/F0C6B8EC-0D53-432C-913B-1CD9E8CDE3A0", + "location": "https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/serverfarms/testsf6141/operationresults/F0C6B8EC-0D53-432C-913B-1CD9E8CDE3A0" } } - } + }, + "operationId": "AppServicePlans_Update", + "title": "Patch Service plan" } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/PatchCertificate.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/PatchCertificate.json index 1bb5f92147e5..bbad03f7f79c 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/PatchCertificate.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/PatchCertificate.json @@ -1,36 +1,38 @@ { "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "testrg123", "name": "testc6282", "api-version": "2025-03-01", "certificateEnvelope": { "properties": { "keyVaultId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.KeyVault/vaults/testKV" } - } + }, + "resourceGroupName": "testrg123", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" }, "responses": { "200": { - "headers": {}, "body": { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/certificates/testc6282", "name": "testc6282", "type": "Microsoft.Web/certificates", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/certificates/testc6282", "location": "East US", "properties": { + "expirationDate": "2039-12-31T23:59:59+00:00", "friendlyName": "", - "subjectName": "ServerCert", "hostNames": [ "ServerCert" ], - "issuer": "CACert", "issueDate": "2015-11-12T23:40:25+00:00", - "expirationDate": "2039-12-31T23:59:59+00:00", - "thumbprint": "FE703D7411A44163B6D32B3AD9B03E175886EBFE", - "keyVaultId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.KeyVault/vaults/testKV" + "issuer": "CACert", + "keyVaultId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.KeyVault/vaults/testKV", + "subjectName": "ServerCert", + "thumbprint": "FE703D7411A44163B6D32B3AD9B03E175886EBFE" } - } + }, + "headers": {} } - } + }, + "operationId": "Certificates_Update", + "title": "Patch Certificate" } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/PatchSiteCertificate.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/PatchSiteCertificate.json index 6b5c56ca9315..5d2d93d9af7f 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/PatchSiteCertificate.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/PatchSiteCertificate.json @@ -1,37 +1,39 @@ { "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "testrg123", - "certificateName": "testc6282", "name": "testSiteName", "api-version": "2025-03-01", "certificateEnvelope": { "properties": { "keyVaultId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.KeyVault/vaults/testKV" } - } + }, + "certificateName": "testc6282", + "resourceGroupName": "testrg123", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" }, "responses": { "200": { - "headers": {}, "body": { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/testSiteName/certificates/testc6282", "name": "testc6282", "type": "Microsoft.Web/sites/certificates", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/testSiteName/certificates/testc6282", "location": "East US", "properties": { + "expirationDate": "2039-12-31T23:59:59+00:00", "friendlyName": "", - "subjectName": "ServerCert", "hostNames": [ "ServerCert" ], - "issuer": "CACert", "issueDate": "2015-11-12T23:40:25+00:00", - "expirationDate": "2039-12-31T23:59:59+00:00", - "thumbprint": "FE703D7411A44163B6D32B3AD9B03E175886EBFE", - "keyVaultId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.KeyVault/vaults/testKV" + "issuer": "CACert", + "keyVaultId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.KeyVault/vaults/testKV", + "subjectName": "ServerCert", + "thumbprint": "FE703D7411A44163B6D32B3AD9B03E175886EBFE" } - } + }, + "headers": {} } - } + }, + "operationId": "SiteCertificates_Update", + "title": "Patch Certificate" } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/PatchSiteCertificateSlot.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/PatchSiteCertificateSlot.json index 9c4880f2721f..aaac61373651 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/PatchSiteCertificateSlot.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/PatchSiteCertificateSlot.json @@ -1,38 +1,40 @@ { "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "testrg123", - "certificateName": "testc6282", "name": "testSiteName", - "slot": "staging", "api-version": "2025-03-01", "certificateEnvelope": { "properties": { "keyVaultId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.KeyVault/vaults/testKV" } - } + }, + "certificateName": "testc6282", + "resourceGroupName": "testrg123", + "slot": "staging", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" }, "responses": { "200": { - "headers": {}, "body": { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/testSiteName/slots/staging/certificates/testc6282", "name": "testc6282", "type": "Microsoft.Web/sites/certificates", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/testSiteName/slots/staging/certificates/testc6282", "location": "East US", "properties": { + "expirationDate": "2039-12-31T23:59:59+00:00", "friendlyName": "", - "subjectName": "ServerCert", "hostNames": [ "ServerCert" ], - "issuer": "CACert", "issueDate": "2015-11-12T23:40:25+00:00", - "expirationDate": "2039-12-31T23:59:59+00:00", - "thumbprint": "FE703D7411A44163B6D32B3AD9B03E175886EBFE", - "keyVaultId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.KeyVault/vaults/testKV" + "issuer": "CACert", + "keyVaultId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.KeyVault/vaults/testKV", + "subjectName": "ServerCert", + "thumbprint": "FE703D7411A44163B6D32B3AD9B03E175886EBFE" } - } + }, + "headers": {} } - } + }, + "operationId": "SiteCertificates_UpdateSlot", + "title": "Patch Certificate for slot" } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/PatchStaticSite.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/PatchStaticSite.json index 38a0a8416949..8446385b4e78 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/PatchStaticSite.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/PatchStaticSite.json @@ -1,65 +1,67 @@ { "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "rg", "name": "testStaticSite0", "api-version": "2025-03-01", + "resourceGroupName": "rg", "staticSiteEnvelope": { "properties": {} - } + }, + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" }, "responses": { "200": { - "headers": {}, "body": { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/staticSites/testStaticSite0", "name": "testStaticSite0", "type": "Microsoft.Web/staticSites", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/staticSites/testStaticSite0", "location": "West US 2", "properties": { - "defaultHostname": "happy-sea-15afae3e.azurestaticwebsites.net", - "repositoryUrl": "https://github.com/username/RepoName", + "allowConfigFileUpdates": true, "branch": "demo", - "customDomains": [], - "privateEndpointConnections": [], "contentDistributionEndpoint": "", + "customDomains": [], + "defaultHostname": "happy-sea-15afae3e.azurestaticwebsites.net", "keyVaultReferenceIdentity": "SystemAssigned", - "userProvidedFunctionApps": [], + "privateEndpointConnections": [], + "repositoryUrl": "https://github.com/username/RepoName", "stagingEnvironmentPolicy": "Enabled", - "allowConfigFileUpdates": true + "userProvidedFunctionApps": [] }, "sku": { "name": "Basic", "tier": "Basic" } - } + }, + "headers": {} }, "202": { - "headers": { - "azure-asyncoperation": "https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/providers/Microsoft.Web/locations/westus2/operationResults/62e4d893-d233-4005-988e-a428d9f77076?api-version=2019-01-01" - }, "body": { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/staticSites/testStaticSite0", "name": "testStaticSite0", "type": "Microsoft.Web/staticSites", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/staticSites/testStaticSite0", "location": "West US 2", "properties": { - "defaultHostname": "happy-sea-15afae3e.azurestaticwebsites.net", - "repositoryUrl": "https://github.com/username/RepoName", + "allowConfigFileUpdates": true, "branch": "demo", - "customDomains": [], - "privateEndpointConnections": [], "contentDistributionEndpoint": "", + "customDomains": [], + "defaultHostname": "happy-sea-15afae3e.azurestaticwebsites.net", "keyVaultReferenceIdentity": "SystemAssigned", - "userProvidedFunctionApps": [], + "privateEndpointConnections": [], + "repositoryUrl": "https://github.com/username/RepoName", "stagingEnvironmentPolicy": "Enabled", - "allowConfigFileUpdates": true + "userProvidedFunctionApps": [] }, "sku": { "name": "Basic", "tier": "Basic" } + }, + "headers": { + "azure-asyncoperation": "https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/providers/Microsoft.Web/locations/westus2/operationResults/62e4d893-d233-4005-988e-a428d9f77076?api-version=2019-01-01" } } - } + }, + "operationId": "StaticSites_UpdateStaticSite", + "title": "Patch a static site" } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/PatchStaticSiteBuildDatabaseConnection.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/PatchStaticSiteBuildDatabaseConnection.json index cf1e6fe8e972..d72d20e653fd 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/PatchStaticSiteBuildDatabaseConnection.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/PatchStaticSiteBuildDatabaseConnection.json @@ -1,28 +1,30 @@ { "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "rg", "name": "testStaticSite0", - "environmentName": "default", - "databaseConnectionName": "default", "api-version": "2025-03-01", + "databaseConnectionName": "default", "databaseConnectionRequestEnvelope": { "properties": {} - } + }, + "environmentName": "default", + "resourceGroupName": "rg", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" }, "responses": { "200": { - "headers": {}, "body": { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/staticSites/testStaticSite0/builds/default/databaseConnections/default", "name": "default", "type": "Microsoft.Web/staticSites/builds/databaseConnections", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/staticSites/testStaticSite0/builds/default/databaseConnections/default", "properties": { - "resourceId": "/subscription/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/databaseRG/providers/Microsoft.DocumentDB/databaseAccounts/exampleDatabaseName", "connectionIdentity": "SystemAssigned", - "region": "West US 2" + "region": "West US 2", + "resourceId": "/subscription/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/databaseRG/providers/Microsoft.DocumentDB/databaseAccounts/exampleDatabaseName" } - } + }, + "headers": {} } - } + }, + "operationId": "StaticSites_UpdateBuildDatabaseConnection", + "title": "Patch a database connection for a static site build" } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/PatchStaticSiteDatabaseConnection.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/PatchStaticSiteDatabaseConnection.json index 418dae11d9ac..d0400d400f59 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/PatchStaticSiteDatabaseConnection.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/PatchStaticSiteDatabaseConnection.json @@ -1,27 +1,29 @@ { "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "rg", "name": "testStaticSite0", - "databaseConnectionName": "default", "api-version": "2025-03-01", + "databaseConnectionName": "default", "databaseConnectionRequestEnvelope": { "properties": {} - } + }, + "resourceGroupName": "rg", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" }, "responses": { "200": { - "headers": {}, "body": { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/staticSites/testStaticSite0/databaseConnections/default", "name": "default", "type": "Microsoft.Web/staticSites/databaseConnections", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/staticSites/testStaticSite0/databaseConnections/default", "properties": { - "resourceId": "/subscription/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/databaseRG/providers/Microsoft.DocumentDB/databaseAccounts/exampleDatabaseName", "connectionIdentity": "SystemAssigned", - "region": "West US 2" + "region": "West US 2", + "resourceId": "/subscription/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/databaseRG/providers/Microsoft.DocumentDB/databaseAccounts/exampleDatabaseName" } - } + }, + "headers": {} } - } + }, + "operationId": "StaticSites_UpdateDatabaseConnection", + "title": "Patch a database connection for a static site" } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/PostDeployWorkflowArtifacts.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/PostDeployWorkflowArtifacts.json index 1fca626dab3c..fb2a70949a06 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/PostDeployWorkflowArtifacts.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/PostDeployWorkflowArtifacts.json @@ -1,11 +1,28 @@ { "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "testrg123", "name": "testsite2", "api-version": "2025-03-01", + "resourceGroupName": "testrg123", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", "workflowArtifacts": { + "appSettings": { + "eventHub_connectionString": "Endpoint=sb://example.servicebus.windows.net/;SharedAccessKeyName=RootManageSharedAccessKey;SharedAccessKey=EXAMPLE1a2b3c4d5e6fEXAMPLE=" + }, "files": { + "connections.json": { + "managedApiConnections": {}, + "serviceProviderConnections": { + "eventHub": { + "displayName": "example1", + "parameterValues": { + "connectionString": "@appsetting('eventHub_connectionString')" + }, + "serviceProvider": { + "id": "/serviceProviders/eventHub" + } + } + } + }, "test1/workflow.json": { "definition": { "$schema": "https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#", @@ -14,44 +31,29 @@ "outputs": {}, "triggers": { "When_events_are_available_in_Event_hub": { + "type": "ServiceProvider", "inputs": { "parameters": { "eventHubName": "test123" }, "serviceProviderConfiguration": { - "connectionName": "eventHub", "operationId": "receiveEvents", + "connectionName": "eventHub", "serviceProviderId": "/serviceProviders/eventHub" } }, - "splitOn": "@triggerOutputs()?['body']", - "type": "ServiceProvider" + "splitOn": "@triggerOutputs()?['body']" } } }, "kind": "Stateful" - }, - "connections.json": { - "serviceProviderConnections": { - "eventHub": { - "parameterValues": { - "connectionString": "@appsetting('eventHub_connectionString')" - }, - "serviceProvider": { - "id": "/serviceProviders/eventHub" - }, - "displayName": "example1" - } - }, - "managedApiConnections": {} } - }, - "appSettings": { - "eventHub_connectionString": "Endpoint=sb://example.servicebus.windows.net/;SharedAccessKeyName=RootManageSharedAccessKey;SharedAccessKey=EXAMPLE1a2b3c4d5e6fEXAMPLE=" } } }, "responses": { "200": {} - } + }, + "operationId": "WebApps_DeployWorkflowArtifacts", + "title": "Deploys workflow artifacts" } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/PostDeployWorkflowArtifactsSlot.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/PostDeployWorkflowArtifactsSlot.json index ceb08626bd7b..17a9120b0b41 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/PostDeployWorkflowArtifactsSlot.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/PostDeployWorkflowArtifactsSlot.json @@ -1,12 +1,29 @@ { "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "testrg123", "name": "testsite2", - "slot": "testsSlot", "api-version": "2025-03-01", + "resourceGroupName": "testrg123", + "slot": "testsSlot", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", "workflowArtifacts": { + "appSettings": { + "eventHub_connectionString": "Endpoint=sb://example.servicebus.windows.net/;SharedAccessKeyName=RootManageSharedAccessKey;SharedAccessKey=EXAMPLE1a2b3c4d5e6fEXAMPLE=" + }, "files": { + "connections.json": { + "managedApiConnections": {}, + "serviceProviderConnections": { + "eventHub": { + "displayName": "example1", + "parameterValues": { + "connectionString": "@appsetting('eventHub_connectionString')" + }, + "serviceProvider": { + "id": "/serviceProviders/eventHub" + } + } + } + }, "test1/workflow.json": { "definition": { "$schema": "https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#", @@ -15,44 +32,29 @@ "outputs": {}, "triggers": { "When_events_are_available_in_Event_hub": { + "type": "ServiceProvider", "inputs": { "parameters": { "eventHubName": "test123" }, "serviceProviderConfiguration": { - "connectionName": "eventHub", "operationId": "receiveEvents", + "connectionName": "eventHub", "serviceProviderId": "/serviceProviders/eventHub" } }, - "splitOn": "@triggerOutputs()?['body']", - "type": "ServiceProvider" + "splitOn": "@triggerOutputs()?['body']" } } }, "kind": "Stateful" - }, - "connections.json": { - "serviceProviderConnections": { - "eventHub": { - "parameterValues": { - "connectionString": "@appsetting('eventHub_connectionString')" - }, - "serviceProvider": { - "id": "/serviceProviders/eventHub" - }, - "displayName": "example1" - } - }, - "managedApiConnections": {} } - }, - "appSettings": { - "eventHub_connectionString": "Endpoint=sb://example.servicebus.windows.net/;SharedAccessKeyName=RootManageSharedAccessKey;SharedAccessKey=EXAMPLE1a2b3c4d5e6fEXAMPLE=" } } }, "responses": { "200": {} - } + }, + "operationId": "WebApps_DeployWorkflowArtifactsSlot", + "title": "Deploys workflow artifacts slot" } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/RegisterUserProvidedFunctionAppWithStaticSite.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/RegisterUserProvidedFunctionAppWithStaticSite.json index 6ac8519da487..f7b59b1cc2f7 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/RegisterUserProvidedFunctionAppWithStaticSite.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/RegisterUserProvidedFunctionAppWithStaticSite.json @@ -1,46 +1,48 @@ { "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "rg", "name": "testStaticSite0", + "api-version": "2025-03-01", "functionAppName": "testFunctionApp", "isForced": "true", - "api-version": "2025-03-01", + "resourceGroupName": "rg", "staticSiteUserProvidedFunctionEnvelope": { "properties": { - "functionAppResourceId": "/subscription/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/functionRG/providers/Microsoft.Web/sites/testFunctionApp", - "functionAppRegion": "West US 2" + "functionAppRegion": "West US 2", + "functionAppResourceId": "/subscription/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/functionRG/providers/Microsoft.Web/sites/testFunctionApp" } - } + }, + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" }, "responses": { "200": { - "headers": {}, "body": { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/staticSites/testStaticSite0/builds/default/userProvidedFunctionApps/testFunctionApp", "name": "testFunctionApp", "type": "Microsoft.Web/staticSites/builds/userProvidedFunctionApps", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/staticSites/testStaticSite0/builds/default/userProvidedFunctionApps/testFunctionApp", "properties": { - "functionAppResourceId": "/subscription/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/functionRG/providers/Microsoft.Web/sites/testFunctionApp", + "createdOn": "2020-03-04T17:33:11.641Z", "functionAppRegion": "West US 2", - "createdOn": "2020-03-04T17:33:11.641Z" + "functionAppResourceId": "/subscription/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/functionRG/providers/Microsoft.Web/sites/testFunctionApp" } - } + }, + "headers": {} }, "202": { - "headers": { - "azure-asyncoperation": "https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/providers/Microsoft.Web/locations/westus2/operationResults/62e4d893-d233-4005-988e-a428d9f77076?api-version=2019-01-01" - }, "body": { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/staticSites/testStaticSite0/builds/default/userProvidedFunctionApps/testFunctionApp", "name": "testFunctionApp", "type": "Microsoft.Web/staticSites/builds/userProvidedFunctionApps", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/staticSites/testStaticSite0/builds/default/userProvidedFunctionApps/testFunctionApp", "properties": { - "functionAppResourceId": "/subscription/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/functionRG/providers/Microsoft.Web/sites/testFunctionApp", + "createdOn": "2020-03-04T17:33:11.641Z", "functionAppRegion": "West US 2", - "createdOn": "2020-03-04T17:33:11.641Z" + "functionAppResourceId": "/subscription/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/functionRG/providers/Microsoft.Web/sites/testFunctionApp" } + }, + "headers": { + "azure-asyncoperation": "https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/providers/Microsoft.Web/locations/westus2/operationResults/62e4d893-d233-4005-988e-a428d9f77076?api-version=2019-01-01" } } - } + }, + "operationId": "StaticSites_RegisterUserProvidedFunctionAppWithStaticSite", + "title": "Register a user provided function app with a static site" } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/RegisterUserProvidedFunctionAppWithStaticSiteBuild.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/RegisterUserProvidedFunctionAppWithStaticSiteBuild.json index 7dad94f2bc4b..83742aeb671c 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/RegisterUserProvidedFunctionAppWithStaticSiteBuild.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/RegisterUserProvidedFunctionAppWithStaticSiteBuild.json @@ -1,47 +1,49 @@ { "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "rg", "name": "testStaticSite0", + "api-version": "2025-03-01", "environmentName": "default", "functionAppName": "testFunctionApp", "isForced": "true", - "api-version": "2025-03-01", + "resourceGroupName": "rg", "staticSiteUserProvidedFunctionEnvelope": { "properties": { - "functionAppResourceId": "/subscription/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/functionRG/providers/Microsoft.Web/sites/testFunctionApp", - "functionAppRegion": "West US 2" + "functionAppRegion": "West US 2", + "functionAppResourceId": "/subscription/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/functionRG/providers/Microsoft.Web/sites/testFunctionApp" } - } + }, + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" }, "responses": { "200": { - "headers": {}, "body": { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/staticSites/testStaticSite0/builds/default/userProvidedFunctionApps/testFunctionApp", "name": "testFunctionApp", "type": "Microsoft.Web/staticSites/builds/userProvidedFunctionApps", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/staticSites/testStaticSite0/builds/default/userProvidedFunctionApps/testFunctionApp", "properties": { - "functionAppResourceId": "/subscription/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/functionRG/providers/Microsoft.Web/sites/testFunctionApp", + "createdOn": "2020-03-04T17:33:11.641Z", "functionAppRegion": "West US 2", - "createdOn": "2020-03-04T17:33:11.641Z" + "functionAppResourceId": "/subscription/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/functionRG/providers/Microsoft.Web/sites/testFunctionApp" } - } + }, + "headers": {} }, "202": { - "headers": { - "azure-asyncoperation": "https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/providers/Microsoft.Web/locations/westus2/operationResults/62e4d893-d233-4005-988e-a428d9f77076?api-version=2019-01-01" - }, "body": { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/staticSites/testStaticSite0/builds/default/userProvidedFunctionApps/testFunctionApp", "name": "testFunctionApp", "type": "Microsoft.Web/staticSites/builds/userProvidedFunctionApps", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/staticSites/testStaticSite0/builds/default/userProvidedFunctionApps/testFunctionApp", "properties": { - "functionAppResourceId": "/subscription/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/functionRG/providers/Microsoft.Web/sites/testFunctionApp", + "createdOn": "2020-03-04T17:33:11.641Z", "functionAppRegion": "West US 2", - "createdOn": "2020-03-04T17:33:11.641Z" + "functionAppResourceId": "/subscription/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/functionRG/providers/Microsoft.Web/sites/testFunctionApp" } + }, + "headers": { + "azure-asyncoperation": "https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/providers/Microsoft.Web/locations/westus2/operationResults/62e4d893-d233-4005-988e-a428d9f77076?api-version=2019-01-01" } } - } + }, + "operationId": "StaticSites_RegisterUserProvidedFunctionAppWithStaticSiteBuild", + "title": "Register a user provided function app with a static site build" } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/ResetStaticSiteApiKey.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/ResetStaticSiteApiKey.json index 610ffc656027..f8c84d539d89 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/ResetStaticSiteApiKey.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/ResetStaticSiteApiKey.json @@ -1,17 +1,19 @@ { "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "rg", "name": "testStaticSite0", "api-version": "2025-03-01", "resetPropertiesEnvelope": { "properties": { - "shouldUpdateRepository": true, - "repositoryToken": "repoToken123" + "repositoryToken": "repoToken123", + "shouldUpdateRepository": true } - } + }, + "resourceGroupName": "rg", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" }, "responses": { "200": {} - } + }, + "operationId": "StaticSites_ResetStaticSiteApiKey", + "title": "Reset the api key for a static site" } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/RestoreWebAppBackup.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/RestoreWebAppBackup.json index 1f4b6bedb172..13ca1f0762f0 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/RestoreWebAppBackup.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/RestoreWebAppBackup.json @@ -1,29 +1,29 @@ { "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "testrg123", "name": "sitef6141", - "backupId": "123244", "api-version": "2025-03-01", + "backupId": "123244", + "resourceGroupName": "testrg123", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", "request": { "properties": { - "storageAccountUrl": "DefaultEndpointsProtocol=https;AccountName=storagesample;AccountKey=", - "overwrite": true, - "siteName": "sitef6141", "databases": [ { - "databaseType": "SqlAzure", "name": "backenddb", + "connectionString": "DSN=data-source-name[;SERVER=value] [;PWD=value] [;UID=value] [;=]", "connectionStringName": "backend", - "connectionString": "DSN=data-source-name[;SERVER=value] [;PWD=value] [;UID=value] [;=]" + "databaseType": "SqlAzure" }, { - "databaseType": "SqlAzure", "name": "statsdb", + "connectionString": "DSN=data-source-name[;SERVER=value] [;PWD=value] [;UID=value] [;=]", "connectionStringName": "stats", - "connectionString": "DSN=data-source-name[;SERVER=value] [;PWD=value] [;UID=value] [;=]" + "databaseType": "SqlAzure" } - ] + ], + "overwrite": true, + "siteName": "sitef6141", + "storageAccountUrl": "DefaultEndpointsProtocol=https;AccountName=storagesample;AccountKey=" } } }, @@ -34,5 +34,7 @@ "azure-asyncoperation": "https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/providers/Microsoft.Web/sites/sitef6141/operationResults/62e4d893-d233-4005-988e-a428d9f77076?api-version=2025-03-01" } } - } + }, + "operationId": "WebApps_Restore", + "title": "Restore web app from backup" } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/StartWebSiteNetworkTraceOperation.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/StartWebSiteNetworkTraceOperation.json index fc8b4b874c63..b2bd4cd9a087 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/StartWebSiteNetworkTraceOperation.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/StartWebSiteNetworkTraceOperation.json @@ -1,35 +1,37 @@ { "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "testrg123", "name": "SampleApp", - "slot": "Production", + "api-version": "2025-03-01", "durationInSeconds": 60, - "api-version": "2025-03-01" + "resourceGroupName": "testrg123", + "slot": "Production", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" }, "responses": { "200": { - "headers": {}, "body": [ { "path": "D:\\home\\LogFiles\\networktrace\\10.0.0.1_2018_02_01T00_00_00.zip", - "status": "Succeeded", - "message": "Trace file has been saved as D:\\home\\LogFiles\\networktrace\\10.0.0.1_2018_02_01T00_00_00.zip" + "message": "Trace file has been saved as D:\\home\\LogFiles\\networktrace\\10.0.0.1_2018_02_01T00_00_00.zip", + "status": "Succeeded" } - ] + ], + "headers": {} }, "202": { - "headers": { - "location": "https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/SampleApp/operationresults/c291433b-53ad-4c49-8cae-0a293eae1c6d", - "azure-asyncoperation": "https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/SampleApp/operationresults/c291433b-53ad-4c49-8cae-0a293eae1c6d" - }, "body": [ { "path": "D:\\home\\LogFiles\\networktrace\\10.0.0.1_2018_02_01T00_00_00.zip", - "status": "Succeeded", - "message": "Trace file has been saved as D:\\home\\LogFiles\\networktrace\\10.0.0.1_2018_02_01T00_00_00.zip" + "message": "Trace file has been saved as D:\\home\\LogFiles\\networktrace\\10.0.0.1_2018_02_01T00_00_00.zip", + "status": "Succeeded" } - ] + ], + "headers": { + "azure-asyncoperation": "https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/SampleApp/operationresults/c291433b-53ad-4c49-8cae-0a293eae1c6d", + "location": "https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/SampleApp/operationresults/c291433b-53ad-4c49-8cae-0a293eae1c6d" + } } - } + }, + "operationId": "WebApps_StartWebSiteNetworkTraceOperation", + "title": "Start a new network trace operation for a site" } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/StartWebSiteNetworkTraceOperation_Slot.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/StartWebSiteNetworkTraceOperation_Slot.json new file mode 100644 index 000000000000..00ea19b8d44b --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/StartWebSiteNetworkTraceOperation_Slot.json @@ -0,0 +1,37 @@ +{ + "parameters": { + "name": "SampleApp", + "api-version": "2025-03-01", + "durationInSeconds": 60, + "resourceGroupName": "testrg123", + "slot": "Production", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": [ + { + "path": "D:\\home\\LogFiles\\networktrace\\10.0.0.1_2018_02_01T00_00_00.zip", + "message": "Trace file has been saved as D:\\home\\LogFiles\\networktrace\\10.0.0.1_2018_02_01T00_00_00.zip", + "status": "Succeeded" + } + ], + "headers": {} + }, + "202": { + "body": [ + { + "path": "D:\\home\\LogFiles\\networktrace\\10.0.0.1_2018_02_01T00_00_00.zip", + "message": "Trace file has been saved as D:\\home\\LogFiles\\networktrace\\10.0.0.1_2018_02_01T00_00_00.zip", + "status": "Succeeded" + } + ], + "headers": { + "azure-asyncoperation": "https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/SampleApp/operationresults/c291433b-53ad-4c49-8cae-0a293eae1c6d", + "location": "https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/SampleApp/operationresults/c291433b-53ad-4c49-8cae-0a293eae1c6d" + } + } + }, + "operationId": "WebApps_StartWebSiteNetworkTraceOperationSlot", + "title": "Start a new network trace operation for a site" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/StartWebSiteNetworkTraceOperation_StartNetworkTrace.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/StartWebSiteNetworkTraceOperation_StartNetworkTrace.json new file mode 100644 index 000000000000..32ad98ca1e51 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/StartWebSiteNetworkTraceOperation_StartNetworkTrace.json @@ -0,0 +1,37 @@ +{ + "parameters": { + "name": "SampleApp", + "api-version": "2025-03-01", + "durationInSeconds": 60, + "resourceGroupName": "testrg123", + "slot": "Production", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": [ + { + "path": "D:\\home\\LogFiles\\networktrace\\10.0.0.1_2018_02_01T00_00_00.zip", + "message": "Trace file has been saved as D:\\home\\LogFiles\\networktrace\\10.0.0.1_2018_02_01T00_00_00.zip", + "status": "Succeeded" + } + ], + "headers": {} + }, + "202": { + "body": [ + { + "path": "D:\\home\\LogFiles\\networktrace\\10.0.0.1_2018_02_01T00_00_00.zip", + "message": "Trace file has been saved as D:\\home\\LogFiles\\networktrace\\10.0.0.1_2018_02_01T00_00_00.zip", + "status": "Succeeded" + } + ], + "headers": { + "azure-asyncoperation": "https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/SampleApp/operationresults/c291433b-53ad-4c49-8cae-0a293eae1c6d", + "location": "https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/SampleApp/operationresults/c291433b-53ad-4c49-8cae-0a293eae1c6d" + } + } + }, + "operationId": "WebApps_StartNetworkTrace", + "title": "Start a new network trace operation for a site" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/StartWebSiteNetworkTraceOperation_StartNetworkTraceSlot.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/StartWebSiteNetworkTraceOperation_StartNetworkTraceSlot.json new file mode 100644 index 000000000000..697552c8c1b4 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/StartWebSiteNetworkTraceOperation_StartNetworkTraceSlot.json @@ -0,0 +1,37 @@ +{ + "parameters": { + "name": "SampleApp", + "api-version": "2025-03-01", + "durationInSeconds": 60, + "resourceGroupName": "testrg123", + "slot": "Production", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": [ + { + "path": "D:\\home\\LogFiles\\networktrace\\10.0.0.1_2018_02_01T00_00_00.zip", + "message": "Trace file has been saved as D:\\home\\LogFiles\\networktrace\\10.0.0.1_2018_02_01T00_00_00.zip", + "status": "Succeeded" + } + ], + "headers": {} + }, + "202": { + "body": [ + { + "path": "D:\\home\\LogFiles\\networktrace\\10.0.0.1_2018_02_01T00_00_00.zip", + "message": "Trace file has been saved as D:\\home\\LogFiles\\networktrace\\10.0.0.1_2018_02_01T00_00_00.zip", + "status": "Succeeded" + } + ], + "headers": { + "azure-asyncoperation": "https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/SampleApp/operationresults/c291433b-53ad-4c49-8cae-0a293eae1c6d", + "location": "https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/SampleApp/operationresults/c291433b-53ad-4c49-8cae-0a293eae1c6d" + } + } + }, + "operationId": "WebApps_StartNetworkTraceSlot", + "title": "Start a new network trace operation for a site" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/StaticSiteBuildZipDeploy.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/StaticSiteBuildZipDeploy.json index f441a988791c..99cd304ccf38 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/StaticSiteBuildZipDeploy.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/StaticSiteBuildZipDeploy.json @@ -1,19 +1,19 @@ { "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "rg", "name": "testStaticSite0", - "environmentName": "12", "api-version": "2025-03-01", + "environmentName": "12", + "resourceGroupName": "rg", "staticSiteZipDeploymentEnvelope": { "properties": { - "appZipUrl": "https://[examplestorageaccount].com/happy-sea-15afae3e-master-81828877/app-zipdeploy.zip", "apiZipUrl": "https://[examplestorageaccount].com/happy-sea-15afae3e-master-81828877/api-zipdeploy.zip", + "appZipUrl": "https://[examplestorageaccount].com/happy-sea-15afae3e-master-81828877/app-zipdeploy.zip", "deploymentTitle": "Update index.html", - "provider": "testProvider", - "functionLanguage": "testFunctionLanguage" + "functionLanguage": "testFunctionLanguage", + "provider": "testProvider" } - } + }, + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" }, "responses": { "200": {}, @@ -22,5 +22,7 @@ "azure-asyncoperation": "https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/providers/Microsoft.Web/locations/westus2/operationResults/62e4d893-d233-4005-988e-a428d9f77076?api-version=2019-01-01" } } - } + }, + "operationId": "StaticSites_CreateZipDeploymentForStaticSiteBuild", + "title": "Deploy a site from a zipped package to a particular static site build" } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/StaticSiteZipDeploy.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/StaticSiteZipDeploy.json index 7238f90180cd..852f0ec8a793 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/StaticSiteZipDeploy.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/StaticSiteZipDeploy.json @@ -1,18 +1,18 @@ { "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "rg", "name": "testStaticSite0", "api-version": "2025-03-01", + "resourceGroupName": "rg", "staticSiteZipDeploymentEnvelope": { "properties": { - "appZipUrl": "https://[examplestorageaccount].com/happy-sea-15afae3e-master-81828877/app-zipdeploy.zip", "apiZipUrl": "https://[examplestorageaccount].com/happy-sea-15afae3e-master-81828877/api-zipdeploy.zip", + "appZipUrl": "https://[examplestorageaccount].com/happy-sea-15afae3e-master-81828877/app-zipdeploy.zip", "deploymentTitle": "Update index.html", - "provider": "testProvider", - "functionLanguage": "testFunctionLanguage" + "functionLanguage": "testFunctionLanguage", + "provider": "testProvider" } - } + }, + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" }, "responses": { "200": {}, @@ -21,5 +21,7 @@ "azure-asyncoperation": "https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/providers/Microsoft.Web/locations/westus2/operationResults/62e4d893-d233-4005-988e-a428d9f77076?api-version=2019-01-01" } } - } + }, + "operationId": "StaticSites_CreateZipDeploymentForStaticSite", + "title": "Deploy a site from a zipped package" } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/StopWebSiteNetworkTrace.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/StopWebSiteNetworkTrace.json index e94d8cf00c77..9749b7ea6af6 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/StopWebSiteNetworkTrace.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/StopWebSiteNetworkTrace.json @@ -1,13 +1,15 @@ { "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "testrg123", "name": "SampleApp", + "api-version": "2025-03-01", + "resourceGroupName": "testrg123", "slot": "Production", - "api-version": "2025-03-01" + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" }, "responses": { "200": {}, "204": {} - } + }, + "operationId": "WebApps_StopWebSiteNetworkTrace", + "title": "Stop a currently running network trace operation for a site" } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/StopWebSiteNetworkTrace_Slot.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/StopWebSiteNetworkTrace_Slot.json new file mode 100644 index 000000000000..3ef773be4edc --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/StopWebSiteNetworkTrace_Slot.json @@ -0,0 +1,15 @@ +{ + "parameters": { + "name": "SampleApp", + "api-version": "2025-03-01", + "resourceGroupName": "testrg123", + "slot": "Production", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": {}, + "204": {} + }, + "operationId": "WebApps_StopWebSiteNetworkTraceSlot", + "title": "Stop a currently running network trace operation for a site" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/StopWebSiteNetworkTrace_StopNetworkTrace.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/StopWebSiteNetworkTrace_StopNetworkTrace.json new file mode 100644 index 000000000000..19e22d6f8490 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/StopWebSiteNetworkTrace_StopNetworkTrace.json @@ -0,0 +1,15 @@ +{ + "parameters": { + "name": "SampleApp", + "api-version": "2025-03-01", + "resourceGroupName": "testrg123", + "slot": "Production", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": {}, + "204": {} + }, + "operationId": "WebApps_StopNetworkTrace", + "title": "Stop a currently running network trace operation for a site" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/StopWebSiteNetworkTrace_StopNetworkTraceSlot.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/StopWebSiteNetworkTrace_StopNetworkTraceSlot.json new file mode 100644 index 000000000000..d1d81731a0ba --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/StopWebSiteNetworkTrace_StopNetworkTraceSlot.json @@ -0,0 +1,15 @@ +{ + "parameters": { + "name": "SampleApp", + "api-version": "2025-03-01", + "resourceGroupName": "testrg123", + "slot": "Production", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": {}, + "204": {} + }, + "operationId": "WebApps_StopNetworkTraceSlot", + "title": "Stop a currently running network trace operation for a site" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/UnlinkBackendFromStaticSite.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/UnlinkBackendFromStaticSite.json index 05c6687d103b..1643640638e0 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/UnlinkBackendFromStaticSite.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/UnlinkBackendFromStaticSite.json @@ -1,14 +1,16 @@ { "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "rg", "name": "testStaticSite0", - "linkedBackendName": "testBackend", + "api-version": "2025-03-01", "cleanUpAuth": true, - "api-version": "2025-03-01" + "linkedBackendName": "testBackend", + "resourceGroupName": "rg", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" }, "responses": { - "204": {}, - "200": {} - } + "200": {}, + "204": {} + }, + "operationId": "StaticSites_UnlinkBackend", + "title": "Unlink a backend from a static site." } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/UnlinkBackendFromStaticSiteBuild.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/UnlinkBackendFromStaticSiteBuild.json index 8439ea9c37a5..e41e82b269ca 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/UnlinkBackendFromStaticSiteBuild.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/UnlinkBackendFromStaticSiteBuild.json @@ -1,15 +1,17 @@ { "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "rg", "name": "testStaticSite0", + "api-version": "2025-03-01", + "cleanUpAuth": true, "environmentName": "12", "linkedBackendName": "testBackend", - "cleanUpAuth": true, - "api-version": "2025-03-01" + "resourceGroupName": "rg", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" }, "responses": { - "204": {}, - "200": {} - } + "200": {}, + "204": {} + }, + "operationId": "StaticSites_UnlinkBackendFromBuild", + "title": "Unlink a backend from a static site build." } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/UpdateAppSettings.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/UpdateAppSettings.json index ef3199742dbe..3aa18bf46f33 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/UpdateAppSettings.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/UpdateAppSettings.json @@ -1,7 +1,5 @@ { "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "testrg123", "name": "sitef6141", "api-version": "2025-03-01", "appSettings": { @@ -9,21 +7,25 @@ "Setting1": "Value1", "Setting2": "Value2" } - } + }, + "resourceGroupName": "testrg123", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" }, "responses": { "200": { - "headers": {}, "body": { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/sitef6141/config/appsettings", "name": "appsettings", "type": "Microsoft.Web/sites/config", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/sitef6141/config/appsettings", "kind": "app", "properties": { "Setting1": "Value1", "Setting2": "Value2" } - } + }, + "headers": {} } - } + }, + "operationId": "WebApps_UpdateApplicationSettings", + "title": "Update App Settings" } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/UpdateAseCustomDnsSuffixConfiguration.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/UpdateAseCustomDnsSuffixConfiguration.json index 0b11e0842b74..a6acc9d68053 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/UpdateAseCustomDnsSuffixConfiguration.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/UpdateAseCustomDnsSuffixConfiguration.json @@ -1,32 +1,34 @@ { "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "test-rg", "name": "test-ase", "api-version": "2025-03-01", "customDnsSuffixConfiguration": { "properties": { - "dnsSuffix": "contoso.com", "certificateUrl": "https://test-kv.vault.azure.net/secrets/contosocert", + "dnsSuffix": "contoso.com", "keyVaultReferenceIdentity": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourcegroups/test-rg/providers/microsoft.managedidentity/userassignedidentities/test-user-mi" } - } + }, + "resourceGroupName": "test-rg", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" }, "responses": { "200": { - "headers": {}, "body": { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-rg/providers/Microsoft.Web/hostingEnvironments/test-ase/configurations/customdnssuffix", "name": "customDnsSuffix", "type": "Microsoft.Web/hostingEnvironments/configurations/customdnssuffix", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-rg/providers/Microsoft.Web/hostingEnvironments/test-ase/configurations/customdnssuffix", "properties": { - "provisioningState": "Succeeded", - "provisioningDetails": null, - "dnsSuffix": "contoso.com", "certificateUrl": "https://test-kv.vault.azure.net/secrets/contosocert", - "keyVaultReferenceIdentity": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourcegroups/test-rg/providers/microsoft.managedidentity/userassignedidentities/test-user-mi" + "dnsSuffix": "contoso.com", + "keyVaultReferenceIdentity": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourcegroups/test-rg/providers/microsoft.managedidentity/userassignedidentities/test-user-mi", + "provisioningDetails": null, + "provisioningState": "Succeeded" } - } + }, + "headers": {} } - } + }, + "operationId": "AppServiceEnvironments_UpdateAseCustomDnsSuffixConfiguration", + "title": "Update ASE custom DNS suffix configuration" } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/UpdateAuthSettings.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/UpdateAuthSettings.json index 35c5412bf089..786c5f3af2f4 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/UpdateAuthSettings.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/UpdateAuthSettings.json @@ -1,47 +1,49 @@ { "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "testrg123", "name": "sitef6141", "api-version": "2025-03-01", + "resourceGroupName": "testrg123", "siteAuthSettings": { "properties": { - "enabled": true, - "runtimeVersion": "~1", - "unauthenticatedClientAction": "RedirectToLoginPage", - "tokenStoreEnabled": true, "allowedExternalRedirectUrls": [ "sitef6141.customdomain.net", "sitef6141.customdomain.info" ], + "clientId": "42d795a9-8abb-4d06-8534-39528af40f8e.apps.googleusercontent.com", "defaultProvider": "Google", + "enabled": true, + "runtimeVersion": "~1", "tokenRefreshExtensionHours": 120, - "clientId": "42d795a9-8abb-4d06-8534-39528af40f8e.apps.googleusercontent.com" + "tokenStoreEnabled": true, + "unauthenticatedClientAction": "RedirectToLoginPage" } - } + }, + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" }, "responses": { "200": { - "headers": {}, "body": { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/sitef6141/config/authsettings", "name": "authsettings", "type": "Microsoft.Web/sites/authsettings", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/sitef6141/config/authsettings", "kind": "app", "properties": { - "enabled": true, - "runtimeVersion": "~1", - "unauthenticatedClientAction": "RedirectToLoginPage", - "tokenStoreEnabled": true, "allowedExternalRedirectUrls": [ "sitef6141.customdomain.net", "sitef6141.customdomain.info" ], + "clientId": "42d795a9-8abb-4d06-8534-39528af40f8e.apps.googleusercontent.com", "defaultProvider": "Google", + "enabled": true, + "runtimeVersion": "~1", "tokenRefreshExtensionHours": 120, - "clientId": "42d795a9-8abb-4d06-8534-39528af40f8e.apps.googleusercontent.com" + "tokenStoreEnabled": true, + "unauthenticatedClientAction": "RedirectToLoginPage" } - } + }, + "headers": {} } - } + }, + "operationId": "WebApps_UpdateAuthSettings", + "title": "Update Auth Settings" } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/UpdateAuthSettingsV2.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/UpdateAuthSettingsV2.json index c04ec80a7221..b480861f529b 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/UpdateAuthSettingsV2.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/UpdateAuthSettingsV2.json @@ -1,35 +1,40 @@ { "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "testrg123", "name": "sitef6141", "api-version": "2025-03-01", + "resourceGroupName": "testrg123", "siteAuthSettingsV2": { "properties": { - "platform": { - "enabled": true, - "runtimeVersion": "~1", - "configFilePath": "/auth/config.json" - }, "globalValidation": { - "requireAuthentication": true, - "unauthenticatedClientAction": "Return403", "excludedPaths": [ "/nosecrets/Path" - ] + ], + "requireAuthentication": true, + "unauthenticatedClientAction": "Return403" + }, + "httpSettings": { + "forwardProxy": { + "convention": "Standard", + "customHostHeaderName": "authHeader", + "customProtoHeaderName": "customProtoHeader" + }, + "requireHttps": true, + "routes": { + "apiPrefix": "/authv2/" + } }, "identityProviders": { "google": { "enabled": true, - "registration": { - "clientId": "42d795a9-8abb-4d06-8534-39528af40f8e.apps.googleusercontent.com", - "clientSecretSettingName": "ClientSecret" - }, "login": { "scopes": [ "admin" ] }, + "registration": { + "clientId": "42d795a9-8abb-4d06-8534-39528af40f8e.apps.googleusercontent.com", + "clientSecretSettingName": "ClientSecret" + }, "validation": { "allowedAudiences": [ "https://example.com" @@ -38,17 +43,6 @@ } }, "login": { - "routes": { - "logoutEndpoint": "https://app.com/logout" - }, - "tokenStore": { - "enabled": true, - "tokenRefreshExtensionHours": 96, - "fileSystem": { - "directory": "/wwwroot/sites/example" - } - }, - "preserveUrlFragmentsForLogins": true, "allowedExternalRedirectUrls": [ "https://someurl.com" ], @@ -58,55 +52,66 @@ }, "nonce": { "validateNonce": true - } - }, - "httpSettings": { - "requireHttps": true, + }, + "preserveUrlFragmentsForLogins": true, "routes": { - "apiPrefix": "/authv2/" + "logoutEndpoint": "https://app.com/logout" }, - "forwardProxy": { - "convention": "Standard", - "customHostHeaderName": "authHeader", - "customProtoHeaderName": "customProtoHeader" + "tokenStore": { + "enabled": true, + "fileSystem": { + "directory": "/wwwroot/sites/example" + }, + "tokenRefreshExtensionHours": 96 } + }, + "platform": { + "configFilePath": "/auth/config.json", + "enabled": true, + "runtimeVersion": "~1" } } - } + }, + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" }, "responses": { "200": { - "headers": {}, "body": { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/sitef6141/config/authsettingsv2", "name": "authsettingsv2", "type": "Microsoft.Web/sites/authsettingsv2", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/sitef6141/config/authsettingsv2", "kind": "app", "properties": { - "platform": { - "enabled": true, - "runtimeVersion": "~1", - "configFilePath": "/auth/config.json" - }, "globalValidation": { - "requireAuthentication": true, - "unauthenticatedClientAction": "Return403", "excludedPaths": [ "/nosecrets/Path" - ] + ], + "requireAuthentication": true, + "unauthenticatedClientAction": "Return403" + }, + "httpSettings": { + "forwardProxy": { + "convention": "Standard", + "customHostHeaderName": "authHeader", + "customProtoHeaderName": "customProtoHeader" + }, + "requireHttps": true, + "routes": { + "apiPrefix": "/authv2/" + } }, "identityProviders": { "google": { "enabled": true, - "registration": { - "clientId": "42d795a9-8abb-4d06-8534-39528af40f8e.apps.googleusercontent.com", - "clientSecretSettingName": "ClientSecret" - }, "login": { "scopes": [ "admin" ] }, + "registration": { + "clientId": "42d795a9-8abb-4d06-8534-39528af40f8e.apps.googleusercontent.com", + "clientSecretSettingName": "ClientSecret" + }, "validation": { "allowedAudiences": [ "https://example.com" @@ -115,17 +120,6 @@ } }, "login": { - "routes": { - "logoutEndpoint": "https://app.com/logout" - }, - "tokenStore": { - "enabled": true, - "tokenRefreshExtensionHours": 96, - "fileSystem": { - "directory": "/wwwroot/sites/example" - } - }, - "preserveUrlFragmentsForLogins": true, "allowedExternalRedirectUrls": [ "https://someurl.com" ], @@ -135,21 +129,29 @@ }, "nonce": { "validateNonce": true - } - }, - "httpSettings": { - "requireHttps": true, + }, + "preserveUrlFragmentsForLogins": true, "routes": { - "apiPrefix": "/authv2/" + "logoutEndpoint": "https://app.com/logout" }, - "forwardProxy": { - "convention": "Standard", - "customHostHeaderName": "authHeader", - "customProtoHeaderName": "customProtoHeader" + "tokenStore": { + "enabled": true, + "fileSystem": { + "directory": "/wwwroot/sites/example" + }, + "tokenRefreshExtensionHours": 96 } + }, + "platform": { + "configFilePath": "/auth/config.json", + "enabled": true, + "runtimeVersion": "~1" } } - } + }, + "headers": {} } - } + }, + "operationId": "WebApps_UpdateAuthSettingsV2", + "title": "Update Auth Settings V2" } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/UpdateAzureStorageAccounts.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/UpdateAzureStorageAccounts.json index 177e04cae9ef..777be890a40c 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/UpdateAzureStorageAccounts.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/UpdateAzureStorageAccounts.json @@ -1,39 +1,41 @@ { "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "testrg123", "name": "sitef6141", "api-version": "2025-03-01", "azureStorageAccounts": { "properties": { "account1": { "type": "AzureFiles", - "accountName": "testsa", - "shareName": "web", "accessKey": "26515^%@#*", - "mountPath": "/mounts/a/files" + "accountName": "testsa", + "mountPath": "/mounts/a/files", + "shareName": "web" } } - } + }, + "resourceGroupName": "testrg123", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" }, "responses": { "200": { - "headers": {}, "body": { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/sitef6141/config/web", "name": "web", "type": "Microsoft.Web/sites/config", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/sitef6141/config/web", "kind": "app", "properties": { "account1": { "type": "AzureFiles", "accountName": "testsa", - "shareName": "web", "mountPath": "/mounts/a/files", + "shareName": "web", "state": "Ok" } } - } + }, + "headers": {} } - } + }, + "operationId": "WebApps_UpdateAzureStorageAccounts", + "title": "Update Azure Storage Accounts" } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/UpdateMachineKey.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/UpdateMachineKey.json index c24655ab6f83..814c245529b8 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/UpdateMachineKey.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/UpdateMachineKey.json @@ -1,14 +1,16 @@ { "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "rg", "name": "contoso", - "api-version": "2025-03-01" + "api-version": "2025-03-01", + "resourceGroupName": "rg", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" }, "responses": { "200": { - "headers": {}, - "body": {} + "body": {}, + "headers": {} } - } + }, + "operationId": "WebApps_UpdateMachineKey", + "title": "Updates the machine key for a site" } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/UpdatePublishingCredentialsPolicy.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/UpdatePublishingCredentialsPolicy.json index a023d1242d8b..1ab0fc2007d8 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/UpdatePublishingCredentialsPolicy.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/UpdatePublishingCredentialsPolicy.json @@ -1,24 +1,26 @@ { "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "rg", "name": "testSite", "api-version": "2025-03-01", "csmPublishingAccessPoliciesEntity": { "properties": { "allow": true } - } + }, + "resourceGroupName": "rg", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" }, "responses": { "200": { - "headers": {}, "body": { "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/sites/testSite/basicPublishingCredentialsPolicies/ftp", "properties": { "allow": true } - } + }, + "headers": {} } - } + }, + "operationId": "WebApps_UpdateScmAllowed", + "title": "Update SCM Allowed" } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/UpdatePublishingCredentialsPolicySlot.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/UpdatePublishingCredentialsPolicySlot.json index 072e3c8cf47c..aa470b86f3b8 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/UpdatePublishingCredentialsPolicySlot.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/UpdatePublishingCredentialsPolicySlot.json @@ -1,25 +1,27 @@ { "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "rg", "name": "testSite", - "slot": "stage", "api-version": "2025-03-01", "csmPublishingAccessPoliciesEntity": { "properties": { "allow": true } - } + }, + "resourceGroupName": "rg", + "slot": "stage", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" }, "responses": { "200": { - "headers": {}, "body": { "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/sites/testSite/slots/stage/basicPublishingCredentialsPolicies/ftp", "properties": { "allow": true } - } + }, + "headers": {} } - } + }, + "operationId": "WebApps_UpdateScmAllowedSlot", + "title": "Update SCM Allowed" } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/UpdatePublishingCredentialsPolicySlot_UpdateFtpAllowedSlot.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/UpdatePublishingCredentialsPolicySlot_UpdateFtpAllowedSlot.json new file mode 100644 index 000000000000..468bf13d8186 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/UpdatePublishingCredentialsPolicySlot_UpdateFtpAllowedSlot.json @@ -0,0 +1,27 @@ +{ + "parameters": { + "name": "testSite", + "api-version": "2025-03-01", + "csmPublishingAccessPoliciesEntity": { + "properties": { + "allow": true + } + }, + "resourceGroupName": "rg", + "slot": "stage", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/sites/testSite/slots/stage/basicPublishingCredentialsPolicies/ftp", + "properties": { + "allow": true + } + }, + "headers": {} + } + }, + "operationId": "WebApps_UpdateFtpAllowedSlot", + "title": "Update FTP Allowed" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/UpdatePublishingCredentialsPolicy_UpdateFtpAllowed.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/UpdatePublishingCredentialsPolicy_UpdateFtpAllowed.json new file mode 100644 index 000000000000..9be1070cf8ea --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/UpdatePublishingCredentialsPolicy_UpdateFtpAllowed.json @@ -0,0 +1,27 @@ +{ + "parameters": { + "name": "testSite", + "api-version": "2025-03-01", + "csmPublishingAccessPoliciesEntity": { + "properties": { + "allow": true + } + }, + "resourceGroupName": "rg", + "slot": "stage", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/sites/testSite/slots/stage/basicPublishingCredentialsPolicies/ftp", + "properties": { + "allow": true + } + }, + "headers": {} + } + }, + "operationId": "WebApps_UpdateFtpAllowed", + "title": "Update FTP Allowed" +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/UpdateSiteConfig.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/UpdateSiteConfig.json index 5db77824eecb..7978f12afae1 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/UpdateSiteConfig.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/UpdateSiteConfig.json @@ -1,12 +1,15 @@ { "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "testrg123", "name": "sitef6141", "api-version": "2025-03-01", + "resourceGroupName": "testrg123", "siteConfig": { "properties": { - "numberOfWorkers": 1, + "acrUseManagedIdentityCreds": false, + "alwaysOn": false, + "appCommandLine": "", + "autoHealEnabled": false, + "azureStorageAccounts": {}, "defaultDocuments": [ "Default.htm", "Default.html", @@ -18,56 +21,56 @@ "index.php", "hostingstart.html" ], + "detailedErrorLoggingEnabled": false, + "ftpsState": "AllAllowed", + "functionAppScaleLimit": 0, + "functionsRuntimeScaleMonitoringEnabled": false, + "http20Enabled": false, + "httpLoggingEnabled": false, + "linuxFxVersion": "", + "loadBalancing": "LeastRequests", + "logsDirectorySizeLimit": 35, + "managedPipelineMode": "Integrated", + "minTlsVersion": "1.2", + "minimumElasticInstanceCount": 0, "netFrameworkVersion": "v4.0", - "phpVersion": "5.6", - "pythonVersion": "", "nodeVersion": "", + "numberOfWorkers": 1, + "phpVersion": "5.6", "powerShellVersion": "", - "linuxFxVersion": "", - "requestTracingEnabled": false, + "pythonVersion": "", "remoteDebuggingEnabled": false, - "httpLoggingEnabled": false, - "acrUseManagedIdentityCreds": false, - "logsDirectorySizeLimit": 35, - "detailedErrorLoggingEnabled": false, + "requestTracingEnabled": false, + "scmMinTlsVersion": "1.2", "use32BitWorkerProcess": true, - "webSocketsEnabled": false, - "alwaysOn": false, - "appCommandLine": "", - "managedPipelineMode": "Integrated", "virtualApplications": [ { - "virtualPath": "/", "physicalPath": "site\\wwwroot", - "preloadEnabled": false + "preloadEnabled": false, + "virtualPath": "/" } ], - "loadBalancing": "LeastRequests", - "autoHealEnabled": false, "vnetName": "", - "vnetRouteAllEnabled": false, "vnetPrivatePortsCount": 0, - "http20Enabled": false, - "minTlsVersion": "1.2", - "scmMinTlsVersion": "1.2", - "ftpsState": "AllAllowed", - "functionAppScaleLimit": 0, - "functionsRuntimeScaleMonitoringEnabled": false, - "minimumElasticInstanceCount": 0, - "azureStorageAccounts": {} + "vnetRouteAllEnabled": false, + "webSocketsEnabled": false } - } + }, + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" }, "responses": { "200": { - "headers": {}, "body": { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/sitef6141/config/web", "name": "web", "type": "Microsoft.Web/sites/config", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/sitef6141/config/web", "kind": "app", "properties": { - "numberOfWorkers": 1, + "acrUseManagedIdentityCreds": false, + "alwaysOn": false, + "appCommandLine": "", + "autoHealEnabled": false, + "azureStorageAccounts": {}, "defaultDocuments": [ "Default.htm", "Default.html", @@ -79,45 +82,44 @@ "index.php", "hostingstart.html" ], + "detailedErrorLoggingEnabled": false, + "ftpsState": "AllAllowed", + "functionAppScaleLimit": 0, + "functionsRuntimeScaleMonitoringEnabled": false, + "http20Enabled": false, + "httpLoggingEnabled": false, + "linuxFxVersion": "", + "loadBalancing": "LeastRequests", + "logsDirectorySizeLimit": 35, + "managedPipelineMode": "Integrated", + "minTlsVersion": "1.2", + "minimumElasticInstanceCount": 0, "netFrameworkVersion": "v4.0", - "phpVersion": "5.6", - "pythonVersion": "", "nodeVersion": "", + "numberOfWorkers": 1, + "phpVersion": "5.6", "powerShellVersion": "", - "linuxFxVersion": "", - "requestTracingEnabled": false, + "pythonVersion": "", "remoteDebuggingEnabled": false, - "httpLoggingEnabled": false, - "acrUseManagedIdentityCreds": false, - "logsDirectorySizeLimit": 35, - "detailedErrorLoggingEnabled": false, + "requestTracingEnabled": false, + "scmMinTlsVersion": "1.2", "use32BitWorkerProcess": true, - "webSocketsEnabled": false, - "alwaysOn": false, - "appCommandLine": "", - "managedPipelineMode": "Integrated", "virtualApplications": [ { - "virtualPath": "/", "physicalPath": "site\\wwwroot", - "preloadEnabled": false + "preloadEnabled": false, + "virtualPath": "/" } ], - "loadBalancing": "LeastRequests", - "autoHealEnabled": false, "vnetName": "", - "vnetRouteAllEnabled": false, "vnetPrivatePortsCount": 0, - "http20Enabled": false, - "minTlsVersion": "1.2", - "scmMinTlsVersion": "1.2", - "ftpsState": "AllAllowed", - "functionAppScaleLimit": 0, - "functionsRuntimeScaleMonitoringEnabled": false, - "minimumElasticInstanceCount": 0, - "azureStorageAccounts": {} + "vnetRouteAllEnabled": false, + "webSocketsEnabled": false } - } + }, + "headers": {} } - } + }, + "operationId": "WebApps_CreateOrUpdateConfiguration", + "title": "Update Site Config" } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/UpdateStaticSiteUser.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/UpdateStaticSiteUser.json index b32b04ff7891..6e9cee401627 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/UpdateStaticSiteUser.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/UpdateStaticSiteUser.json @@ -1,28 +1,30 @@ { "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "rg", "name": "testStaticSite0", - "authprovider": "aad", - "userid": "1234", "api-version": "2025-03-01", + "authprovider": "aad", + "resourceGroupName": "rg", "staticSiteUserEnvelope": { "properties": { "roles": "contributor" } - } + }, + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "userid": "1234" }, "responses": { "200": { - "headers": {}, "body": { "properties": { - "provider": "aad", - "userId": "1234", "displayName": "username", - "roles": "contributor,anonymous,authenticated" + "provider": "aad", + "roles": "contributor,anonymous,authenticated", + "userId": "1234" } - } + }, + "headers": {} } - } + }, + "operationId": "StaticSites_UpdateStaticSiteUser", + "title": "Create or update a user for a static site" } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/UpdateWebApp.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/UpdateWebApp.json index 4893813a3026..2ec5e74678c1 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/UpdateWebApp.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/UpdateWebApp.json @@ -1,63 +1,83 @@ { "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "testrg123", "name": "sitef6141", "api-version": "2025-03-01", + "resourceGroupName": "testrg123", "siteEnvelope": { "properties": { "serverFarmId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/serverfarms/DefaultAsp" } - } + }, + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" }, "responses": { "200": { - "headers": {}, "body": { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/sitef6141", "name": "sitef6141", "type": "Microsoft.Web/sites", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/sitef6141", "kind": "app", "location": "East US", "properties": { - "state": "Running", - "hostNames": [ - "sitef6141.azurewebsites.net" - ], - "repositorySiteName": "sitef6141", - "usageState": "Normal", + "availabilityState": "Normal", + "clientAffinityEnabled": true, + "clientCertEnabled": false, + "clientCertMode": "Required", + "containerSize": 0, + "customDomainVerificationId": "7F3BB652450EF7AD0B6AA33064586E4A9CE823A46DF0B2EC6443A68086E84153", + "dailyMemoryTimeQuota": 0, + "defaultHostName": "sitef6141.azurewebsites.net", "enabled": true, "enabledHostNames": [ "sitef6141.azurewebsites.net", "sitef6141.scm.azurewebsites.net" ], - "availabilityState": "Normal", "hostNameSslStates": [ { "name": "sitef6141.azurewebsites.net", - "sslState": "Disabled", - "hostType": "Standard" + "hostType": "Standard", + "sslState": "Disabled" }, { "name": "sitef6141.scm.azurewebsites.net", - "sslState": "Disabled", - "hostType": "Repository" + "hostType": "Repository", + "sslState": "Disabled" } ], - "serverFarmId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/serverfarms/DefaultAsp", - "reserved": false, - "isXenon": false, + "hostNames": [ + "sitef6141.azurewebsites.net" + ], + "hostNamesDisabled": false, + "httpsOnly": false, "hyperV": false, + "isXenon": false, + "keyVaultReferenceIdentity": "SystemAssigned", "lastModifiedTimeUtc": "2020-03-04T17:33:11.641Z", + "outboundIpAddresses": "70.37.102.201,20.225.43.144", "outboundVnetRouting": { "allTraffic": false, "applicationTraffic": false, + "backupRestoreTraffic": false, "contentShareTraffic": false, - "imagePullTraffic": false, - "backupRestoreTraffic": false + "imagePullTraffic": false + }, + "possibleOutboundIpAddresses": "70.37.102.201,20.225.43.144,20.225.184.122,20.225.184.188", + "redundancyMode": "None", + "repositorySiteName": "sitef6141", + "reserved": false, + "resourceConfig": { + "cpu": 1, + "memory": "2.0Gi" }, + "resourceGroup": "testrg123", + "scmSiteAlsoStopped": false, + "serverFarmId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/serverfarms/DefaultAsp", "siteConfig": { - "numberOfWorkers": 1, + "acrUseManagedIdentityCreds": false, + "alwaysOn": false, + "appCommandLine": "", + "autoHealEnabled": false, + "azureStorageAccounts": {}, "defaultDocuments": [ "Default.htm", "Default.html", @@ -69,117 +89,115 @@ "index.php", "hostingstart.html" ], + "detailedErrorLoggingEnabled": false, + "ftpsState": "AllAllowed", + "functionAppScaleLimit": 0, + "functionsRuntimeScaleMonitoringEnabled": false, + "http20Enabled": false, + "httpLoggingEnabled": false, + "linuxFxVersion": "", + "loadBalancing": "LeastRequests", + "logsDirectorySizeLimit": 35, + "managedPipelineMode": "Integrated", + "minTlsVersion": "1.2", + "minimumElasticInstanceCount": 0, "netFrameworkVersion": "v4.0", - "phpVersion": "5.6", - "pythonVersion": "", "nodeVersion": "", + "numberOfWorkers": 1, + "phpVersion": "5.6", "powerShellVersion": "", - "linuxFxVersion": "", - "requestTracingEnabled": false, + "pythonVersion": "", "remoteDebuggingEnabled": false, - "httpLoggingEnabled": false, - "acrUseManagedIdentityCreds": false, - "logsDirectorySizeLimit": 35, - "detailedErrorLoggingEnabled": false, + "requestTracingEnabled": false, + "scmMinTlsVersion": "1.2", "use32BitWorkerProcess": true, - "webSocketsEnabled": false, - "alwaysOn": false, - "appCommandLine": "", - "managedPipelineMode": "Integrated", "virtualApplications": [ { - "virtualPath": "/", "physicalPath": "site\\wwwroot", - "preloadEnabled": false + "preloadEnabled": false, + "virtualPath": "/" } ], - "loadBalancing": "LeastRequests", - "autoHealEnabled": false, "vnetName": "", - "vnetRouteAllEnabled": false, "vnetPrivatePortsCount": 0, - "http20Enabled": false, - "minTlsVersion": "1.2", - "scmMinTlsVersion": "1.2", - "ftpsState": "AllAllowed", - "functionAppScaleLimit": 0, - "functionsRuntimeScaleMonitoringEnabled": false, - "minimumElasticInstanceCount": 0, - "azureStorageAccounts": {} + "vnetRouteAllEnabled": false, + "webSocketsEnabled": false }, - "scmSiteAlsoStopped": false, - "clientAffinityEnabled": true, - "clientCertEnabled": false, - "clientCertMode": "Required", - "hostNamesDisabled": false, - "customDomainVerificationId": "7F3BB652450EF7AD0B6AA33064586E4A9CE823A46DF0B2EC6443A68086E84153", - "outboundIpAddresses": "70.37.102.201,20.225.43.144", - "possibleOutboundIpAddresses": "70.37.102.201,20.225.43.144,20.225.184.122,20.225.184.188", - "containerSize": 0, - "dailyMemoryTimeQuota": 0, - "resourceGroup": "testrg123", - "defaultHostName": "sitef6141.azurewebsites.net", - "httpsOnly": false, - "redundancyMode": "None", + "state": "Running", "storageAccountRequired": false, - "keyVaultReferenceIdentity": "SystemAssigned", - "workloadProfileName": "myd4wp", - "resourceConfig": { - "cpu": 1.0, - "memory": "2.0Gi" - } + "usageState": "Normal", + "workloadProfileName": "myd4wp" } - } + }, + "headers": {} }, "202": { - "headers": { - "azure-asyncoperation": "https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/providers/Microsoft.Web/sites/sitef6141/operationResults/62e4d893-d233-4005-988e-a428d9f77076?api-version=2025-03-01" - }, "body": { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/sitef6141", "name": "sitef6141", "type": "Microsoft.Web/sites", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/sitef6141", "kind": "app", "location": "East US", "properties": { - "state": "Running", - "hostNames": [ - "sitef6141.azurewebsites.net" - ], - "repositorySiteName": "sitef6141", - "usageState": "Normal", + "availabilityState": "Normal", + "clientAffinityEnabled": true, + "clientCertEnabled": false, + "clientCertMode": "Required", + "containerSize": 0, + "customDomainVerificationId": "7F3BB652450EF7AD0B6AA33064586E4A9CE823A46DF0B2EC6443A68086E84153", + "dailyMemoryTimeQuota": 0, + "defaultHostName": "sitef6141.azurewebsites.net", "enabled": true, "enabledHostNames": [ "sitef6141.azurewebsites.net", "sitef6141.scm.azurewebsites.net" ], - "availabilityState": "Normal", "hostNameSslStates": [ { "name": "sitef6141.azurewebsites.net", - "sslState": "Disabled", - "hostType": "Standard" + "hostType": "Standard", + "sslState": "Disabled" }, { "name": "sitef6141.scm.azurewebsites.net", - "sslState": "Disabled", - "hostType": "Repository" + "hostType": "Repository", + "sslState": "Disabled" } ], - "serverFarmId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/serverfarms/DefaultAsp", - "reserved": false, - "isXenon": false, + "hostNames": [ + "sitef6141.azurewebsites.net" + ], + "hostNamesDisabled": false, + "httpsOnly": false, "hyperV": false, + "isXenon": false, + "keyVaultReferenceIdentity": "SystemAssigned", "lastModifiedTimeUtc": "2020-03-04T17:33:11.641Z", + "outboundIpAddresses": "70.37.102.201,20.225.43.144", "outboundVnetRouting": { "allTraffic": false, "applicationTraffic": false, + "backupRestoreTraffic": false, "contentShareTraffic": false, - "imagePullTraffic": false, - "backupRestoreTraffic": false + "imagePullTraffic": false + }, + "possibleOutboundIpAddresses": "70.37.102.201,20.225.43.144,20.225.184.122,20.225.184.188", + "redundancyMode": "None", + "repositorySiteName": "sitef6141", + "reserved": false, + "resourceConfig": { + "cpu": 1, + "memory": "2.0Gi" }, + "resourceGroup": "testrg123", + "scmSiteAlsoStopped": false, + "serverFarmId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/serverfarms/DefaultAsp", "siteConfig": { - "numberOfWorkers": 1, + "acrUseManagedIdentityCreds": false, + "alwaysOn": false, + "appCommandLine": "", + "autoHealEnabled": false, + "azureStorageAccounts": {}, "defaultDocuments": [ "Default.htm", "Default.html", @@ -191,67 +209,51 @@ "index.php", "hostingstart.html" ], + "detailedErrorLoggingEnabled": false, + "ftpsState": "AllAllowed", + "functionAppScaleLimit": 0, + "functionsRuntimeScaleMonitoringEnabled": false, + "http20Enabled": false, + "httpLoggingEnabled": false, + "linuxFxVersion": "", + "loadBalancing": "LeastRequests", + "logsDirectorySizeLimit": 35, + "managedPipelineMode": "Integrated", + "minTlsVersion": "1.2", + "minimumElasticInstanceCount": 0, "netFrameworkVersion": "v4.0", - "phpVersion": "5.6", - "pythonVersion": "", "nodeVersion": "", + "numberOfWorkers": 1, + "phpVersion": "5.6", "powerShellVersion": "", - "linuxFxVersion": "", - "requestTracingEnabled": false, + "pythonVersion": "", "remoteDebuggingEnabled": false, - "httpLoggingEnabled": false, - "acrUseManagedIdentityCreds": false, - "logsDirectorySizeLimit": 35, - "detailedErrorLoggingEnabled": false, + "requestTracingEnabled": false, + "scmMinTlsVersion": "1.2", "use32BitWorkerProcess": true, - "webSocketsEnabled": false, - "alwaysOn": false, - "appCommandLine": "", - "managedPipelineMode": "Integrated", "virtualApplications": [ { - "virtualPath": "/", "physicalPath": "site\\wwwroot", - "preloadEnabled": false + "preloadEnabled": false, + "virtualPath": "/" } ], - "loadBalancing": "LeastRequests", - "autoHealEnabled": false, "vnetName": "", - "vnetRouteAllEnabled": false, "vnetPrivatePortsCount": 0, - "http20Enabled": false, - "minTlsVersion": "1.2", - "scmMinTlsVersion": "1.2", - "ftpsState": "AllAllowed", - "functionAppScaleLimit": 0, - "functionsRuntimeScaleMonitoringEnabled": false, - "minimumElasticInstanceCount": 0, - "azureStorageAccounts": {} + "vnetRouteAllEnabled": false, + "webSocketsEnabled": false }, - "scmSiteAlsoStopped": false, - "clientAffinityEnabled": true, - "clientCertEnabled": false, - "clientCertMode": "Required", - "hostNamesDisabled": false, - "customDomainVerificationId": "7F3BB652450EF7AD0B6AA33064586E4A9CE823A46DF0B2EC6443A68086E84153", - "outboundIpAddresses": "70.37.102.201,20.225.43.144", - "possibleOutboundIpAddresses": "70.37.102.201,20.225.43.144,20.225.184.122,20.225.184.188", - "containerSize": 0, - "dailyMemoryTimeQuota": 0, - "resourceGroup": "testrg123", - "defaultHostName": "sitef6141.azurewebsites.net", - "httpsOnly": false, - "redundancyMode": "None", + "state": "Running", "storageAccountRequired": false, - "keyVaultReferenceIdentity": "SystemAssigned", - "workloadProfileName": "myd4wp", - "resourceConfig": { - "cpu": 1.0, - "memory": "2.0Gi" - } + "usageState": "Normal", + "workloadProfileName": "myd4wp" } + }, + "headers": { + "azure-asyncoperation": "https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/providers/Microsoft.Web/sites/sitef6141/operationResults/62e4d893-d233-4005-988e-a428d9f77076?api-version=2025-03-01" } } - } + }, + "operationId": "WebApps_Update", + "title": "Update web app" } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/UpdateWebAppSlot.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/UpdateWebAppSlot.json index 2d105b5ea466..c66fbed604dc 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/UpdateWebAppSlot.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/UpdateWebAppSlot.json @@ -1,64 +1,80 @@ { "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "testrg123", "name": "sitef6141", - "slot": "staging", "api-version": "2025-03-01", + "resourceGroupName": "testrg123", "siteEnvelope": { "properties": { "serverFarmId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/serverfarms/DefaultAsp" } - } + }, + "slot": "staging", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" }, "responses": { "200": { - "headers": {}, "body": { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/sitef6141/slots/staging", "name": "sitef6141/staging", "type": "Microsoft.Web/sites/slots", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/sitef6141/slots/staging", "kind": "app", "location": "East US", "properties": { - "state": "Running", - "hostNames": [ - "sitef6141-staging.azurewebsites.net" - ], - "repositorySiteName": "sitef6141", - "usageState": "Normal", + "availabilityState": "Normal", + "clientAffinityEnabled": true, + "clientCertEnabled": false, + "clientCertMode": "Required", + "containerSize": 0, + "customDomainVerificationId": "7F3BB652450EF7AD0B6AA33064586E4A9CE823A46DF0B2EC6443A68086E84153", + "dailyMemoryTimeQuota": 0, + "defaultHostName": "sitef6141.azurewebsites.net", "enabled": true, "enabledHostNames": [ "sitef6141-staging.azurewebsites.net", "sitef6141-staging.scm.azurewebsites.net" ], - "availabilityState": "Normal", "hostNameSslStates": [ { "name": "sitef6141-staging.azurewebsites.net", - "sslState": "Disabled", - "hostType": "Standard" + "hostType": "Standard", + "sslState": "Disabled" }, { "name": "sitef6141-staging.scm.azurewebsites.net", - "sslState": "Disabled", - "hostType": "Repository" + "hostType": "Repository", + "sslState": "Disabled" } ], - "serverFarmId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/serverfarms/DefaultAsp", - "reserved": false, - "isXenon": false, + "hostNames": [ + "sitef6141-staging.azurewebsites.net" + ], + "hostNamesDisabled": false, + "httpsOnly": false, "hyperV": false, + "isXenon": false, + "keyVaultReferenceIdentity": "SystemAssigned", "lastModifiedTimeUtc": "2020-03-04T17:33:11.641Z", + "outboundIpAddresses": "70.37.102.201,20.225.43.144", "outboundVnetRouting": { "allTraffic": false, "applicationTraffic": false, + "backupRestoreTraffic": false, "contentShareTraffic": false, - "imagePullTraffic": false, - "backupRestoreTraffic": false + "imagePullTraffic": false }, + "possibleOutboundIpAddresses": "70.37.102.201,20.225.43.144,20.225.184.122,20.225.184.188", + "redundancyMode": "None", + "repositorySiteName": "sitef6141", + "reserved": false, + "resourceGroup": "testrg123", + "scmSiteAlsoStopped": false, + "serverFarmId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/serverfarms/DefaultAsp", "siteConfig": { - "numberOfWorkers": 1, + "acrUseManagedIdentityCreds": false, + "alwaysOn": false, + "appCommandLine": "", + "autoHealEnabled": false, + "azureStorageAccounts": {}, "defaultDocuments": [ "Default.htm", "Default.html", @@ -70,112 +86,110 @@ "index.php", "hostingstart.html" ], + "detailedErrorLoggingEnabled": false, + "ftpsState": "AllAllowed", + "functionAppScaleLimit": 0, + "functionsRuntimeScaleMonitoringEnabled": false, + "http20Enabled": false, + "httpLoggingEnabled": false, + "linuxFxVersion": "", + "loadBalancing": "LeastRequests", + "logsDirectorySizeLimit": 35, + "managedPipelineMode": "Integrated", + "minTlsVersion": "1.2", + "minimumElasticInstanceCount": 0, "netFrameworkVersion": "v4.0", - "phpVersion": "5.6", - "pythonVersion": "", "nodeVersion": "", + "numberOfWorkers": 1, + "phpVersion": "5.6", "powerShellVersion": "", - "linuxFxVersion": "", - "requestTracingEnabled": false, + "pythonVersion": "", "remoteDebuggingEnabled": false, - "httpLoggingEnabled": false, - "acrUseManagedIdentityCreds": false, - "logsDirectorySizeLimit": 35, - "detailedErrorLoggingEnabled": false, + "requestTracingEnabled": false, + "scmMinTlsVersion": "1.2", "use32BitWorkerProcess": true, - "webSocketsEnabled": false, - "alwaysOn": false, - "appCommandLine": "", - "managedPipelineMode": "Integrated", "virtualApplications": [ { - "virtualPath": "/", "physicalPath": "site\\wwwroot", - "preloadEnabled": false + "preloadEnabled": false, + "virtualPath": "/" } ], - "loadBalancing": "LeastRequests", - "autoHealEnabled": false, "vnetName": "", - "vnetRouteAllEnabled": false, "vnetPrivatePortsCount": 0, - "http20Enabled": false, - "minTlsVersion": "1.2", - "scmMinTlsVersion": "1.2", - "ftpsState": "AllAllowed", - "functionAppScaleLimit": 0, - "functionsRuntimeScaleMonitoringEnabled": false, - "minimumElasticInstanceCount": 0, - "azureStorageAccounts": {} + "vnetRouteAllEnabled": false, + "webSocketsEnabled": false }, - "scmSiteAlsoStopped": false, - "clientAffinityEnabled": true, - "clientCertEnabled": false, - "clientCertMode": "Required", - "hostNamesDisabled": false, - "customDomainVerificationId": "7F3BB652450EF7AD0B6AA33064586E4A9CE823A46DF0B2EC6443A68086E84153", - "outboundIpAddresses": "70.37.102.201,20.225.43.144", - "possibleOutboundIpAddresses": "70.37.102.201,20.225.43.144,20.225.184.122,20.225.184.188", - "containerSize": 0, - "dailyMemoryTimeQuota": 0, - "resourceGroup": "testrg123", - "defaultHostName": "sitef6141.azurewebsites.net", - "httpsOnly": false, - "redundancyMode": "None", + "state": "Running", "storageAccountRequired": false, - "keyVaultReferenceIdentity": "SystemAssigned" + "usageState": "Normal" } - } + }, + "headers": {} }, "202": { - "headers": { - "azure-asyncoperation": "https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/providers/Microsoft.Web/sites/sitef6141/operationResults/62e4d893-d233-4005-988e-a428d9f77076?api-version=2025-03-01" - }, "body": { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/sitef6141/slots/staging", "name": "sitef6141/staging", "type": "Microsoft.Web/sites/slots", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/sitef6141/slots/staging", "kind": "app", "location": "East US", "properties": { - "state": "Running", - "hostNames": [ - "sitef6141-staging.azurewebsites.net" - ], - "repositorySiteName": "sitef6141", - "usageState": "Normal", + "availabilityState": "Normal", + "clientAffinityEnabled": true, + "clientCertEnabled": false, + "clientCertMode": "Required", + "containerSize": 0, + "customDomainVerificationId": "7F3BB652450EF7AD0B6AA33064586E4A9CE823A46DF0B2EC6443A68086E84153", + "dailyMemoryTimeQuota": 0, + "defaultHostName": "sitef6141-staging.azurewebsites.net", "enabled": true, "enabledHostNames": [ "sitef6141-staging.azurewebsites.net", "sitef6141-staging.scm.azurewebsites.net" ], - "availabilityState": "Normal", "hostNameSslStates": [ { "name": "sitef6141-staging.azurewebsites.net", - "sslState": "Disabled", - "hostType": "Standard" + "hostType": "Standard", + "sslState": "Disabled" }, { "name": "sitef6141-staging.scm.azurewebsites.net", - "sslState": "Disabled", - "hostType": "Repository" + "hostType": "Repository", + "sslState": "Disabled" } ], - "serverFarmId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/serverfarms/DefaultAsp", - "reserved": false, - "isXenon": false, + "hostNames": [ + "sitef6141-staging.azurewebsites.net" + ], + "hostNamesDisabled": false, + "httpsOnly": false, "hyperV": false, + "isXenon": false, + "keyVaultReferenceIdentity": "SystemAssigned", "lastModifiedTimeUtc": "2020-03-04T17:33:11.641Z", + "outboundIpAddresses": "70.37.102.201,20.225.43.144", "outboundVnetRouting": { "allTraffic": false, "applicationTraffic": false, + "backupRestoreTraffic": false, "contentShareTraffic": false, - "imagePullTraffic": false, - "backupRestoreTraffic": false + "imagePullTraffic": false }, + "possibleOutboundIpAddresses": "70.37.102.201,20.225.43.144,20.225.184.122,20.225.184.188", + "redundancyMode": "None", + "repositorySiteName": "sitef6141", + "reserved": false, + "resourceGroup": "testrg123", + "scmSiteAlsoStopped": false, + "serverFarmId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/serverfarms/DefaultAsp", "siteConfig": { - "numberOfWorkers": 1, + "acrUseManagedIdentityCreds": false, + "alwaysOn": false, + "appCommandLine": "", + "autoHealEnabled": false, + "azureStorageAccounts": {}, "defaultDocuments": [ "Default.htm", "Default.html", @@ -187,62 +201,50 @@ "index.php", "hostingstart.html" ], + "detailedErrorLoggingEnabled": false, + "ftpsState": "AllAllowed", + "functionAppScaleLimit": 0, + "functionsRuntimeScaleMonitoringEnabled": false, + "http20Enabled": false, + "httpLoggingEnabled": false, + "linuxFxVersion": "", + "loadBalancing": "LeastRequests", + "logsDirectorySizeLimit": 35, + "managedPipelineMode": "Integrated", + "minTlsVersion": "1.2", + "minimumElasticInstanceCount": 0, "netFrameworkVersion": "v4.0", - "phpVersion": "5.6", - "pythonVersion": "", "nodeVersion": "", + "numberOfWorkers": 1, + "phpVersion": "5.6", "powerShellVersion": "", - "linuxFxVersion": "", - "requestTracingEnabled": false, + "pythonVersion": "", "remoteDebuggingEnabled": false, - "httpLoggingEnabled": false, - "acrUseManagedIdentityCreds": false, - "logsDirectorySizeLimit": 35, - "detailedErrorLoggingEnabled": false, + "requestTracingEnabled": false, + "scmMinTlsVersion": "1.2", "use32BitWorkerProcess": true, - "webSocketsEnabled": false, - "alwaysOn": false, - "appCommandLine": "", - "managedPipelineMode": "Integrated", "virtualApplications": [ { - "virtualPath": "/", "physicalPath": "site\\wwwroot", - "preloadEnabled": false + "preloadEnabled": false, + "virtualPath": "/" } ], - "loadBalancing": "LeastRequests", - "autoHealEnabled": false, "vnetName": "", - "vnetRouteAllEnabled": false, "vnetPrivatePortsCount": 0, - "http20Enabled": false, - "minTlsVersion": "1.2", - "scmMinTlsVersion": "1.2", - "ftpsState": "AllAllowed", - "functionAppScaleLimit": 0, - "functionsRuntimeScaleMonitoringEnabled": false, - "minimumElasticInstanceCount": 0, - "azureStorageAccounts": {} + "vnetRouteAllEnabled": false, + "webSocketsEnabled": false }, - "scmSiteAlsoStopped": false, - "clientAffinityEnabled": true, - "clientCertEnabled": false, - "clientCertMode": "Required", - "hostNamesDisabled": false, - "customDomainVerificationId": "7F3BB652450EF7AD0B6AA33064586E4A9CE823A46DF0B2EC6443A68086E84153", - "outboundIpAddresses": "70.37.102.201,20.225.43.144", - "possibleOutboundIpAddresses": "70.37.102.201,20.225.43.144,20.225.184.122,20.225.184.188", - "containerSize": 0, - "dailyMemoryTimeQuota": 0, - "resourceGroup": "testrg123", - "defaultHostName": "sitef6141-staging.azurewebsites.net", - "httpsOnly": false, - "redundancyMode": "None", + "state": "Running", "storageAccountRequired": false, - "keyVaultReferenceIdentity": "SystemAssigned" + "usageState": "Normal" } + }, + "headers": { + "azure-asyncoperation": "https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/providers/Microsoft.Web/sites/sitef6141/operationResults/62e4d893-d233-4005-988e-a428d9f77076?api-version=2025-03-01" } } - } + }, + "operationId": "WebApps_UpdateSlot", + "title": "Update Web App Slot" } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/ValidateLinkedBackendForStaticSite.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/ValidateLinkedBackendForStaticSite.json index 9cc3eed46cb1..e00d8569c079 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/ValidateLinkedBackendForStaticSite.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/ValidateLinkedBackendForStaticSite.json @@ -1,19 +1,25 @@ { "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "rg", "name": "testStaticSite0", - "linkedBackendName": "testBackend", "api-version": "2025-03-01", + "linkedBackendName": "testBackend", + "resourceGroupName": "rg", "staticSiteLinkedBackendEnvelope": { "properties": { "backendResourceId": "/subscription/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/backendRg/providers/Microsoft.Web/sites/testBackend", "region": "West US 2" } - } + }, + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" }, "responses": { - "204": {}, - "200": {} - } + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/staticSites/testStaticSite0/linkedBackends/testBackend/operationresults/operationId" + } + }, + "204": {} + }, + "operationId": "StaticSites_ValidateBackend", + "title": "Validate if backend can be linked to static site." } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/ValidateLinkedBackendForStaticSiteBuild.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/ValidateLinkedBackendForStaticSiteBuild.json index 5b3dfcb51f58..93462c43992d 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/ValidateLinkedBackendForStaticSiteBuild.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/ValidateLinkedBackendForStaticSiteBuild.json @@ -1,20 +1,26 @@ { "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "rg", "name": "testStaticSite0", + "api-version": "2025-03-01", "environmentName": "default", "linkedBackendName": "testBackend", - "api-version": "2025-03-01", + "resourceGroupName": "rg", "staticSiteLinkedBackendEnvelope": { "properties": { "backendResourceId": "/subscription/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/backendRg/providers/Microsoft.Web/sites/testBackend", "region": "West US 2" } - } + }, + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" }, "responses": { - "204": {}, - "200": {} - } + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/staticSites/testStaticSite0/builds/default/linkedBackends/testBackend/operationresults/operationId" + } + }, + "204": {} + }, + "operationId": "StaticSites_ValidateBackendForBuild", + "title": "Validate if backend can be linked to static site build." } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/ValidateStaticSiteCustomDomain.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/ValidateStaticSiteCustomDomain.json index 155e0aa01bfd..4cb8498a5656 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/ValidateStaticSiteCustomDomain.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/ValidateStaticSiteCustomDomain.json @@ -1,13 +1,13 @@ { "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "rg", "name": "testStaticSite0", - "domainName": "custom.domain.net", "api-version": "2025-03-01", + "domainName": "custom.domain.net", + "resourceGroupName": "rg", "staticSiteCustomDomainRequestPropertiesEnvelope": { "properties": {} - } + }, + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" }, "responses": { "200": {}, @@ -16,5 +16,7 @@ "azure-asyncoperation": "https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/providers/Microsoft.Web/locations/westus2/operationResults/62e4d893-d233-4005-988e-a428d9f77076?api-version=2019-01-01" } } - } + }, + "operationId": "StaticSites_ValidateCustomDomainCanBeAddedToStaticSite", + "title": "Validate a custom domain for a static site" } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/VerifyHostingEnvironmentVnet.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/VerifyHostingEnvironmentVnet.json index 82ea07c10b9a..100bc162bc56 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/VerifyHostingEnvironmentVnet.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/VerifyHostingEnvironmentVnet.json @@ -1,14 +1,14 @@ { "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", "api-version": "2025-03-01", "parameters": { "properties": { - "vnetResourceGroup": "vNet123rg", "vnetName": "vNet123", + "vnetResourceGroup": "vNet123rg", "vnetSubnetName": "vNet123SubNet" } - } + }, + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" }, "responses": { "200": { @@ -20,5 +20,7 @@ } } } - } + }, + "operationId": "VerifyHostingEnvironmentVnet", + "title": "VerifyHostingEnvironmentVnet" } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/WorkflowRunActionRepetitionsRequestHistories_Get.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/WorkflowRunActionRepetitionsRequestHistories_Get.json index 727e3f8a5bbe..a3132b04e434 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/WorkflowRunActionRepetitionsRequestHistories_Get.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/WorkflowRunActionRepetitionsRequestHistories_Get.json @@ -1,70 +1,73 @@ { "parameters": { - "api-version": "2025-03-01", - "resourceGroupName": "test-resource-group", - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", "name": "test-name", - "workflowName": "test-workflow", - "runName": "08586776228332053161046300351", "actionName": "HTTP_Webhook", + "api-version": "2025-03-01", "repetitionName": "000001", - "requestHistoryName": "08586611142732800686" + "requestHistoryName": "08586611142732800686", + "resourceGroupName": "test-resource-group", + "runName": "08586776228332053161046300351", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "workflowName": "test-workflow" }, "responses": { "200": { "body": { + "name": "08586611142732800686", + "type": "Microsoft.Web/sites/workflows/runs/actions/requestHistories", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Web/sites/test-name/workflows/test-workflow/runs/08586611142736787787412824395CU21/actions/HTTP_Webhook/requestHistories/08586611142732800686", + "location": "West US", "properties": { - "startTime": "2018-10-25T18:36:51.9206732Z", "endTime": "2018-10-25T18:36:52.1863033Z", + "response": { + "bodyLink": { + "contentHash": { + "algorithm": "md5", + "value": "2LOOAR8Eh2pd7AvRHXUhRg==" + }, + "contentSize": 137, + "contentVersion": "2LOOAR8Eh2pd7AvRHXUhRg==", + "uri": "https://tempuri.org" + }, + "headers": { + "Cache-Control": "private", + "Date": "Thu, 25 Oct 2018 18:36:51 GMT", + "Location": "http://www.bing.com/", + "Server": "Microsoft-IIS/10.0", + "X-AspNet-Version": "4.0.30319", + "X-Powered-By": "ASP.NET" + }, + "statusCode": 302 + }, + "startTime": "2018-10-25T18:36:51.9206732Z", "request": { + "method": "GET", "headers": { "Accept-Language": "en-US", "User-Agent": "azure-logic-apps/1.0,(workflow 80244732be3648f59d2084fd979cdd56; version 08586611142904036539)", + "x-ms-action-tracking-id": "ad27f634-6523-492f-924e-9a75e28619c8", + "x-ms-client-request-id": "ad484925-4148-4dd0-9488-07aed418b256", + "x-ms-client-tracking-id": "08586611142736787787412824395CU21", + "x-ms-correlation-id": "ad484925-4148-4dd0-9488-07aed418b256", "x-ms-execution-location": "brazilsouth", + "x-ms-tracking-id": "ad484925-4148-4dd0-9488-07aed418b256", "x-ms-workflow-id": "80244732be3648f59d2084fd979cdd56", - "x-ms-workflow-version": "08586611142904036539", "x-ms-workflow-name": "test-workflow", - "x-ms-workflow-system-id": "/locations/brazilsouth/scaleunits/prod-17/workflows/80244732be3648f59d2084fd979cdd56", - "x-ms-workflow-run-id": "08586611142736787787412824395CU21", - "x-ms-workflow-run-tracking-id": "b4cd2e77-f949-4d8c-8753-791407aebde8", "x-ms-workflow-operation-name": "HTTP_Webhook", - "x-ms-workflow-subscription-id": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", "x-ms-workflow-resourcegroup-name": "test-resource-group", + "x-ms-workflow-run-id": "08586611142736787787412824395CU21", + "x-ms-workflow-run-tracking-id": "b4cd2e77-f949-4d8c-8753-791407aebde8", "x-ms-workflow-subscription-capacity": "Large", - "x-ms-tracking-id": "ad484925-4148-4dd0-9488-07aed418b256", - "x-ms-correlation-id": "ad484925-4148-4dd0-9488-07aed418b256", - "x-ms-client-request-id": "ad484925-4148-4dd0-9488-07aed418b256", - "x-ms-client-tracking-id": "08586611142736787787412824395CU21", - "x-ms-action-tracking-id": "ad27f634-6523-492f-924e-9a75e28619c8" - }, - "uri": "http://tempuri.org", - "method": "GET" - }, - "response": { - "headers": { - "Cache-Control": "private", - "Date": "Thu, 25 Oct 2018 18:36:51 GMT", - "Location": "http://www.bing.com/", - "Server": "Microsoft-IIS/10.0", - "X-AspNet-Version": "4.0.30319", - "X-Powered-By": "ASP.NET" + "x-ms-workflow-subscription-id": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "x-ms-workflow-system-id": "/locations/brazilsouth/scaleunits/prod-17/workflows/80244732be3648f59d2084fd979cdd56", + "x-ms-workflow-version": "08586611142904036539" }, - "statusCode": 302, - "bodyLink": { - "uri": "https://tempuri.org", - "contentVersion": "2LOOAR8Eh2pd7AvRHXUhRg==", - "contentSize": 137, - "contentHash": { - "algorithm": "md5", - "value": "2LOOAR8Eh2pd7AvRHXUhRg==" - } - } + "uri": "http://tempuri.org" } - }, - "id": "/workflows/test-workflow/runs/08586611142736787787412824395CU21/actions/HTTP_Webhook/requestHistories/08586611142732800686", - "name": "08586611142732800686", - "type": "/workflows/runs/actions/requestHistories" + } } } - } + }, + "operationId": "WorkflowRunActionRepetitionsRequestHistories_Get", + "title": "Get a repetition request history" } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/WorkflowRunActionRepetitionsRequestHistories_List.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/WorkflowRunActionRepetitionsRequestHistories_List.json index ce7d07679020..bb681c908e33 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/WorkflowRunActionRepetitionsRequestHistories_List.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/WorkflowRunActionRepetitionsRequestHistories_List.json @@ -1,73 +1,76 @@ { "parameters": { + "name": "test-name", + "actionName": "HTTP_Webhook", "api-version": "2025-03-01", + "repetitionName": "000001", "resourceGroupName": "test-resource-group", - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "name": "test-name", - "workflowName": "test-workflow", "runName": "08586776228332053161046300351", - "actionName": "HTTP_Webhook", - "repetitionName": "000001" + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "workflowName": "test-workflow" }, "responses": { "200": { "body": { "value": [ { + "name": "08586611142732800686", + "type": "Microsoft.Web/sites/workflows/runs/actions/requestHistories", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Web/sites/test-name/workflows/test-workflow/runs/08586611142736787787412824395CU21/actions/HTTP_Webhook/requestHistories/08586611142732800686", + "location": "West US", "properties": { - "startTime": "2018-10-25T18:36:51.9206732Z", "endTime": "2018-10-25T18:36:52.1863033Z", + "response": { + "bodyLink": { + "contentHash": { + "algorithm": "md5", + "value": "2LOOAR8Eh2pd7AvRHXUhRg==" + }, + "contentSize": 137, + "contentVersion": "2LOOAR8Eh2pd7AvRHXUhRg==", + "uri": "https://tempuri.org" + }, + "headers": { + "Cache-Control": "private", + "Date": "Thu, 25 Oct 2018 18:36:51 GMT", + "Location": "http://www.bing.com/", + "Server": "Microsoft-IIS/10.0", + "X-AspNet-Version": "4.0.30319", + "X-Powered-By": "ASP.NET" + }, + "statusCode": 302 + }, + "startTime": "2018-10-25T18:36:51.9206732Z", "request": { + "method": "GET", "headers": { "Accept-Language": "en-US", "User-Agent": "azure-logic-apps/1.0,(workflow 80244732be3648f59d2084fd979cdd56; version 08586611142904036539)", + "x-ms-action-tracking-id": "ad27f634-6523-492f-924e-9a75e28619c8", + "x-ms-client-request-id": "ad484925-4148-4dd0-9488-07aed418b256", + "x-ms-client-tracking-id": "08586611142736787787412824395CU21", + "x-ms-correlation-id": "ad484925-4148-4dd0-9488-07aed418b256", "x-ms-execution-location": "brazilsouth", + "x-ms-tracking-id": "ad484925-4148-4dd0-9488-07aed418b256", "x-ms-workflow-id": "80244732be3648f59d2084fd979cdd56", - "x-ms-workflow-version": "08586611142904036539", "x-ms-workflow-name": "test-workflow", - "x-ms-workflow-system-id": "/locations/brazilsouth/scaleunits/prod-17/workflows/80244732be3648f59d2084fd979cdd56", - "x-ms-workflow-run-id": "08586611142736787787412824395CU21", - "x-ms-workflow-run-tracking-id": "b4cd2e77-f949-4d8c-8753-791407aebde8", "x-ms-workflow-operation-name": "HTTP_Webhook", - "x-ms-workflow-subscription-id": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", "x-ms-workflow-resourcegroup-name": "test-resource-group", + "x-ms-workflow-run-id": "08586611142736787787412824395CU21", + "x-ms-workflow-run-tracking-id": "b4cd2e77-f949-4d8c-8753-791407aebde8", "x-ms-workflow-subscription-capacity": "Large", - "x-ms-tracking-id": "ad484925-4148-4dd0-9488-07aed418b256", - "x-ms-correlation-id": "ad484925-4148-4dd0-9488-07aed418b256", - "x-ms-client-request-id": "ad484925-4148-4dd0-9488-07aed418b256", - "x-ms-client-tracking-id": "08586611142736787787412824395CU21", - "x-ms-action-tracking-id": "ad27f634-6523-492f-924e-9a75e28619c8" - }, - "uri": "http://tempuri.org", - "method": "GET" - }, - "response": { - "headers": { - "Cache-Control": "private", - "Date": "Thu, 25 Oct 2018 18:36:51 GMT", - "Location": "http://www.bing.com/", - "Server": "Microsoft-IIS/10.0", - "X-AspNet-Version": "4.0.30319", - "X-Powered-By": "ASP.NET" + "x-ms-workflow-subscription-id": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "x-ms-workflow-system-id": "/locations/brazilsouth/scaleunits/prod-17/workflows/80244732be3648f59d2084fd979cdd56", + "x-ms-workflow-version": "08586611142904036539" }, - "statusCode": 302, - "bodyLink": { - "uri": "https://tempuri.org", - "contentVersion": "2LOOAR8Eh2pd7AvRHXUhRg==", - "contentSize": 137, - "contentHash": { - "algorithm": "md5", - "value": "2LOOAR8Eh2pd7AvRHXUhRg==" - } - } + "uri": "http://tempuri.org" } - }, - "id": "/workflows/test-workflow/runs/08586611142736787787412824395CU21/actions/HTTP_Webhook/requestHistories/08586611142732800686", - "name": "08586611142732800686", - "type": "/workflows/runs/actions/requestHistories" + } } ] } } - } + }, + "operationId": "WorkflowRunActionRepetitionsRequestHistories_List", + "title": "List repetition request history" } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/WorkflowRunActionRepetitions_Get.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/WorkflowRunActionRepetitions_Get.json index d3e9eb329fbf..282ddf41943e 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/WorkflowRunActionRepetitions_Get.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/WorkflowRunActionRepetitions_Get.json @@ -1,56 +1,59 @@ { "parameters": { + "name": "test-name", + "actionName": "testAction", "api-version": "2025-03-01", + "repetitionName": "000001", "resourceGroupName": "testResourceGroup", - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "name": "test-name", - "workflowName": "testFlow", "runName": "08586776228332053161046300351", - "actionName": "testAction", - "repetitionName": "000001" + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "workflowName": "testFlow" }, "responses": { "200": { "body": { + "name": "000001", + "type": "Microsoft.Web/sites/workflows/runs/actions/repetitions", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testResourceGroup/providers/Microsoft.Web/sites/test-name/workflows/testFlow/runs/08586776228332053161046300351/actions/testAction/repetitions/000001", + "location": "West US", "properties": { - "repetitionIndexes": [ - { - "scopeName": "For_each", - "itemIndex": 1 - } - ], - "trackingId": "f84f23eb-b331-4772-9f39-cc307fa83bc3", + "code": "OK", + "correlation": { + "actionTrackingId": "f84f23eb-b331-4772-9f39-cc307fa83bc3", + "clientTrackingId": "08586775357427610445444523191" + }, + "endTime": "2018-04-18T17:05:57.1015421Z", "inputsLink": { - "uri": "https://test-site.azurewebsites.net:443/runtime/webhooks/workflow/scaleUnits/prod-00/workflows/2dfde2fce2584c49bea17ef0b04c95f4/runs/08586776228332053161046300351/actions/testAction/repetitions/000001/contents/ActionInputs?api-version=2016-10-01&se=2018-04-18T21%3A00%3A00.0000000Z&sp=%2Fruns%2F08586776228332053161046300351%2Factions%2FtestAction%2Frepetitions%2F000001%2Fcontents%2FActionInputs%2Fread&sv=1.0&sig=dLmnt50joimEMK4k9rR6njHQh94iSFJ9rrDxFbkEg5M", - "contentVersion": "OA3i83YHGYVch+N8BQJIRQ==", - "contentSize": 6, "contentHash": { "algorithm": "md5", "value": "OA3i83YHGYVch+N8BQJIRQ==" - } + }, + "contentSize": 6, + "contentVersion": "OA3i83YHGYVch+N8BQJIRQ==", + "uri": "https://test-site.azurewebsites.net:443/runtime/webhooks/workflow/scaleUnits/prod-00/workflows/2dfde2fce2584c49bea17ef0b04c95f4/runs/08586776228332053161046300351/actions/testAction/repetitions/000001/contents/ActionInputs?api-version=2016-10-01&se=2018-04-18T21%3A00%3A00.0000000Z&sp=%2Fruns%2F08586776228332053161046300351%2Factions%2FtestAction%2Frepetitions%2F000001%2Fcontents%2FActionInputs%2Fread&sv=1.0&sig=dLmnt50joimEMK4k9rR6njHQh94iSFJ9rrDxFbkEg5M" }, "outputsLink": { - "uri": "https://test-site.azurewebsites.net:443/runtime/webhooks/workflow/scaleUnits/prod-00/workflows/2dfde2fce2584c49bea17ef0b04c95f4/runs/08586776228332053161046300351/actions/testAction/repetitions/000001/contents/ActionOutputs?api-version=2016-10-01&se=2018-04-18T21%3A00%3A00.0000000Z&sp=%2Fruns%2F08586776228332053161046300351%2Factions%2FtestAction%2Frepetitions%2F000001%2Fcontents%2FActionOutputs%2Fread&sv=1.0&sig=B3-X5sqIAv1Lb31GOD34ZgIRUXGuiM2QllWiNwXFYAw", - "contentVersion": "OA3i83YHGYVch+N8BQJIRQ==", - "contentSize": 6, "contentHash": { "algorithm": "md5", "value": "OA3i83YHGYVch+N8BQJIRQ==" - } + }, + "contentSize": 6, + "contentVersion": "OA3i83YHGYVch+N8BQJIRQ==", + "uri": "https://test-site.azurewebsites.net:443/runtime/webhooks/workflow/scaleUnits/prod-00/workflows/2dfde2fce2584c49bea17ef0b04c95f4/runs/08586776228332053161046300351/actions/testAction/repetitions/000001/contents/ActionOutputs?api-version=2016-10-01&se=2018-04-18T21%3A00%3A00.0000000Z&sp=%2Fruns%2F08586776228332053161046300351%2Factions%2FtestAction%2Frepetitions%2F000001%2Fcontents%2FActionOutputs%2Fread&sv=1.0&sig=B3-X5sqIAv1Lb31GOD34ZgIRUXGuiM2QllWiNwXFYAw" }, + "repetitionIndexes": [ + { + "itemIndex": 1, + "scopeName": "For_each" + } + ], "startTime": "2018-04-18T17:05:57.0929911Z", - "endTime": "2018-04-18T17:05:57.1015421Z", - "correlation": { - "actionTrackingId": "f84f23eb-b331-4772-9f39-cc307fa83bc3", - "clientTrackingId": "08586775357427610445444523191" - }, "status": "Succeeded", - "code": "OK" - }, - "id": "/workflows/testFlow/runs/08586776228332053161046300351/actions/testAction/repetitions/000001", - "name": "000001", - "type": "/workflows/runs/actions/repetitions" + "trackingId": "f84f23eb-b331-4772-9f39-cc307fa83bc3" + } } } - } + }, + "operationId": "WorkflowRunActionRepetitions_Get", + "title": "Get a repetition" } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/WorkflowRunActionRepetitions_List.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/WorkflowRunActionRepetitions_List.json index f86258da8600..675d314b3bda 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/WorkflowRunActionRepetitions_List.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/WorkflowRunActionRepetitions_List.json @@ -1,99 +1,103 @@ { "parameters": { + "name": "test-name", + "actionName": "testAction", "api-version": "2025-03-01", "resourceGroupName": "testResourceGroup", - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "name": "test-name", - "workflowName": "testFlow", "runName": "08586776228332053161046300351", - "actionName": "testAction" + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "workflowName": "testFlow" }, "responses": { "200": { "body": { "value": [ { + "name": "000000", + "type": "Microsoft.Web/sites/workflows/runs/actions/repetitions", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testResourceGroup/providers/Microsoft.Web/sites/test-name/workflows/testFlow/runs/08586776228332053161046300351/actions/testAction/repetitions/000000", + "location": "West US", "properties": { - "repetitionIndexes": [ - { - "scopeName": "For_each", - "itemIndex": 0 - } - ], - "trackingId": "0d8152bb-e198-44a9-bde8-5138eea16dd4", + "code": "OK", + "correlation": { + "actionTrackingId": "0d8152bb-e198-44a9-bde8-5138eea16dd4", + "clientTrackingId": "08586775357427610445444523191" + }, + "endTime": "2018-04-18T17:05:57.2264835Z", "inputsLink": { - "uri": "https://test-site.azurewebsites.net:443/runtime/webhooks/workflow/scaleUnits/prod-00/workflows/2dfde2fce2584c49bea17ef0b04c95f4/runs/08586776228332053161046300351/actions/testAction/repetitions/000000/contents/ActionInputs?api-version=2016-10-01&se=2018-04-18T21%3A00%3A00.0000000Z&sp=%2Fruns%2F08586776228332053161046300351%2Factions%2FtestAction%2Frepetitions%2F000000%2Fcontents%2FActionInputs%2Fread&sv=1.0&sig=vw4BDdYp4Ap5RXdM7tY_wl9C38DeAHfnixLBEOpideA", - "contentVersion": "8q1zMKS5ZyHBrPF+qF1xXw==", - "contentSize": 8, "contentHash": { "algorithm": "md5", "value": "8q1zMKS5ZyHBrPF+qF1xXw==" - } + }, + "contentSize": 8, + "contentVersion": "8q1zMKS5ZyHBrPF+qF1xXw==", + "uri": "https://test-site.azurewebsites.net:443/runtime/webhooks/workflow/scaleUnits/prod-00/workflows/2dfde2fce2584c49bea17ef0b04c95f4/runs/08586776228332053161046300351/actions/testAction/repetitions/000000/contents/ActionInputs?api-version=2016-10-01&se=2018-04-18T21%3A00%3A00.0000000Z&sp=%2Fruns%2F08586776228332053161046300351%2Factions%2FtestAction%2Frepetitions%2F000000%2Fcontents%2FActionInputs%2Fread&sv=1.0&sig=vw4BDdYp4Ap5RXdM7tY_wl9C38DeAHfnixLBEOpideA" }, "outputsLink": { - "uri": "https://test-site.azurewebsites.net:443/runtime/webhooks/workflow/scaleUnits/prod-00/workflows/2dfde2fce2584c49bea17ef0b04c95f4/runs/08586776228332053161046300351/actions/testAction/repetitions/000000/contents/ActionOutputs?api-version=2016-10-01&se=2018-04-18T21%3A00%3A00.0000000Z&sp=%2Fruns%2F08586776228332053161046300351%2Factions%2FtestAction%2Frepetitions%2F000000%2Fcontents%2FActionOutputs%2Fread&sv=1.0&sig=y8Wq7jbu85tmlMo_1zpRyqNJuoCaQCFQtZ3bgSovLY0", - "contentVersion": "8q1zMKS5ZyHBrPF+qF1xXw==", - "contentSize": 8, "contentHash": { "algorithm": "md5", "value": "8q1zMKS5ZyHBrPF+qF1xXw==" - } + }, + "contentSize": 8, + "contentVersion": "8q1zMKS5ZyHBrPF+qF1xXw==", + "uri": "https://test-site.azurewebsites.net:443/runtime/webhooks/workflow/scaleUnits/prod-00/workflows/2dfde2fce2584c49bea17ef0b04c95f4/runs/08586776228332053161046300351/actions/testAction/repetitions/000000/contents/ActionOutputs?api-version=2016-10-01&se=2018-04-18T21%3A00%3A00.0000000Z&sp=%2Fruns%2F08586776228332053161046300351%2Factions%2FtestAction%2Frepetitions%2F000000%2Fcontents%2FActionOutputs%2Fread&sv=1.0&sig=y8Wq7jbu85tmlMo_1zpRyqNJuoCaQCFQtZ3bgSovLY0" }, + "repetitionIndexes": [ + { + "itemIndex": 0, + "scopeName": "For_each" + } + ], "startTime": "2018-04-18T17:05:57.217991Z", - "endTime": "2018-04-18T17:05:57.2264835Z", - "correlation": { - "actionTrackingId": "0d8152bb-e198-44a9-bde8-5138eea16dd4", - "clientTrackingId": "08586775357427610445444523191" - }, "status": "Succeeded", - "code": "OK" - }, - "id": "/workflows/testFlow/runs/08586776228332053161046300351/actions/testAction/repetitions/000000", - "name": "000000", - "type": "/workflows/runs/actions/repetitions" + "trackingId": "0d8152bb-e198-44a9-bde8-5138eea16dd4" + } }, { + "name": "000001", + "type": "Microsoft.Web/sites/workflows/runs/actions/repetitions", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testResourceGroup/providers/Microsoft.Web/sites/test-name/workflows/testFlow/runs/08586776228332053161046300351/actions/testAction/repetitions/000001", + "location": "West US", "properties": { - "repetitionIndexes": [ - { - "scopeName": "For_each", - "itemIndex": 1 - } - ], - "trackingId": "f84f23eb-b331-4772-9f39-cc307fa83bc3", + "code": "OK", + "correlation": { + "actionTrackingId": "f84f23eb-b331-4772-9f39-cc307fa83bc3", + "clientTrackingId": "08586775357427610445444523191" + }, + "endTime": "2018-04-18T17:05:57.1015421Z", "inputsLink": { - "uri": "https://test-site.azurewebsites.net:443/runtime/webhooks/workflow/scaleUnits/prod-00/workflows/2dfde2fce2584c49bea17ef0b04c95f4/runs/08586776228332053161046300351/actions/testAction/repetitions/000001/contents/ActionInputs?api-version=2016-10-01&se=2018-04-18T21%3A00%3A00.0000000Z&sp=%2Fruns%2F08586776228332053161046300351%2Factions%2FtestAction%2Frepetitions%2F000001%2Fcontents%2FActionInputs%2Fread&sv=1.0&sig=dLmnt50joimEMK4k9rR6njHQh94iSFJ9rrDxFbkEg5M", - "contentVersion": "OA3i83YHGYVch+N8BQJIRQ==", - "contentSize": 6, "contentHash": { "algorithm": "md5", "value": "OA3i83YHGYVch+N8BQJIRQ==" - } + }, + "contentSize": 6, + "contentVersion": "OA3i83YHGYVch+N8BQJIRQ==", + "uri": "https://test-site.azurewebsites.net:443/runtime/webhooks/workflow/scaleUnits/prod-00/workflows/2dfde2fce2584c49bea17ef0b04c95f4/runs/08586776228332053161046300351/actions/testAction/repetitions/000001/contents/ActionInputs?api-version=2016-10-01&se=2018-04-18T21%3A00%3A00.0000000Z&sp=%2Fruns%2F08586776228332053161046300351%2Factions%2FtestAction%2Frepetitions%2F000001%2Fcontents%2FActionInputs%2Fread&sv=1.0&sig=dLmnt50joimEMK4k9rR6njHQh94iSFJ9rrDxFbkEg5M" }, "outputsLink": { - "uri": "https://test-site.azurewebsites.net:443/runtime/webhooks/workflow/scaleUnits/prod-00/workflows/2dfde2fce2584c49bea17ef0b04c95f4/runs/08586776228332053161046300351/actions/testAction/repetitions/000001/contents/ActionOutputs?api-version=2016-10-01&se=2018-04-18T21%3A00%3A00.0000000Z&sp=%2Fruns%2F08586776228332053161046300351%2Factions%2FtestAction%2Frepetitions%2F000001%2Fcontents%2FActionOutputs%2Fread&sv=1.0&sig=B3-X5sqIAv1Lb31GOD34ZgIRUXGuiM2QllWiNwXFYAw", - "contentVersion": "OA3i83YHGYVch+N8BQJIRQ==", - "contentSize": 6, "contentHash": { "algorithm": "md5", "value": "OA3i83YHGYVch+N8BQJIRQ==" - } + }, + "contentSize": 6, + "contentVersion": "OA3i83YHGYVch+N8BQJIRQ==", + "uri": "https://test-site.azurewebsites.net:443/runtime/webhooks/workflow/scaleUnits/prod-00/workflows/2dfde2fce2584c49bea17ef0b04c95f4/runs/08586776228332053161046300351/actions/testAction/repetitions/000001/contents/ActionOutputs?api-version=2016-10-01&se=2018-04-18T21%3A00%3A00.0000000Z&sp=%2Fruns%2F08586776228332053161046300351%2Factions%2FtestAction%2Frepetitions%2F000001%2Fcontents%2FActionOutputs%2Fread&sv=1.0&sig=B3-X5sqIAv1Lb31GOD34ZgIRUXGuiM2QllWiNwXFYAw" }, + "repetitionIndexes": [ + { + "itemIndex": 1, + "scopeName": "For_each" + } + ], "startTime": "2018-04-18T17:05:57.0929911Z", - "endTime": "2018-04-18T17:05:57.1015421Z", - "correlation": { - "actionTrackingId": "f84f23eb-b331-4772-9f39-cc307fa83bc3", - "clientTrackingId": "08586775357427610445444523191" - }, "status": "Succeeded", - "code": "OK" - }, - "id": "/workflows/testFlow/runs/08586776228332053161046300351/actions/testAction/repetitions/000001", - "name": "000001", - "type": "/workflows/runs/actions/repetitions" + "trackingId": "f84f23eb-b331-4772-9f39-cc307fa83bc3" + } } ] } } - } + }, + "operationId": "WorkflowRunActionRepetitions_List", + "title": "List repetitions" } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/WorkflowRunActionRepetitions_ListExpressionTraces.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/WorkflowRunActionRepetitions_ListExpressionTraces.json index b361ef51418b..8519aa2fad46 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/WorkflowRunActionRepetitions_ListExpressionTraces.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/WorkflowRunActionRepetitions_ListExpressionTraces.json @@ -1,13 +1,13 @@ { "parameters": { + "name": "test-name", + "actionName": "testAction", "api-version": "2025-03-01", + "repetitionName": "000001", "resourceGroupName": "testResourceGroup", - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "name": "test-name", - "workflowName": "testFlow", "runName": "08586776228332053161046300351", - "actionName": "testAction", - "repetitionName": "000001" + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "workflowName": "testFlow" }, "responses": { "200": { @@ -21,5 +21,7 @@ ] } } - } + }, + "operationId": "WorkflowRunActionRepetitions_ListExpressionTraces", + "title": "List expression traces for a repetition" } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/WorkflowRunActionScopeRepetitions_Get.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/WorkflowRunActionScopeRepetitions_Get.json index 14c9f43d3304..eeed153212b9 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/WorkflowRunActionScopeRepetitions_Get.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/WorkflowRunActionScopeRepetitions_Get.json @@ -1,37 +1,40 @@ { "parameters": { + "name": "test-name", + "actionName": "for_each", "api-version": "2025-03-01", + "repetitionName": "000000", "resourceGroupName": "testResourceGroup", - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "name": "test-name", - "workflowName": "testFlow", "runName": "08586776228332053161046300351", - "actionName": "for_each", - "repetitionName": "000000" + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "workflowName": "testFlow" }, "responses": { "200": { "body": { + "name": "000000", + "type": "Microsoft.Web/sites/workflows/runs/actions/scopeRepetitions", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testResourceGroup/providers/Microsoft.Web/sites/test-name/workflows/testFlow/runs/08586776228332053161046300351/actions/for_each/scopeRepetitions/000000", + "location": "West US", "properties": { + "code": "NotSpecified", + "correlation": { + "actionTrackingId": "5c0e7c24-4891-44e8-b631-8084c5531dd5", + "clientTrackingId": "08586775357427610445444523191" + }, + "endTime": "2018-04-18T17:05:57.6240967Z", "repetitionIndexes": [ { - "scopeName": "For_each", - "itemIndex": 0 + "itemIndex": 0, + "scopeName": "For_each" } ], "startTime": "2018-04-18T17:05:57.209588Z", - "endTime": "2018-04-18T17:05:57.6240967Z", - "correlation": { - "actionTrackingId": "5c0e7c24-4891-44e8-b631-8084c5531dd5", - "clientTrackingId": "08586775357427610445444523191" - }, - "status": "Succeeded", - "code": "NotSpecified" - }, - "id": "/workflows/testFlow/runs/08586776228332053161046300351/actions/for_each/scopeRepetitions/000000", - "name": "000000", - "type": "/workflows/runs/actions/scopeRepetitions" + "status": "Succeeded" + } } } - } + }, + "operationId": "WorkflowRunActionScopeRepetitions_Get", + "title": "Get a scoped repetition" } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/WorkflowRunActionScopeRepetitions_List.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/WorkflowRunActionScopeRepetitions_List.json index 283b54a354f8..9117a2a0d474 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/WorkflowRunActionScopeRepetitions_List.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/WorkflowRunActionScopeRepetitions_List.json @@ -1,61 +1,65 @@ { "parameters": { + "name": "test-name", + "actionName": "for_each", "api-version": "2025-03-01", "resourceGroupName": "testResourceGroup", - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "name": "test-name", - "workflowName": "testFlow", "runName": "08586776228332053161046300351", - "actionName": "for_each" + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "workflowName": "testFlow" }, "responses": { "200": { "body": { "value": [ { + "name": "000000", + "type": "Microsoft.Web/sites/workflows/runs/actions/scopeRepetitions", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testResourceGroup/providers/Microsoft.Web/sites/test-name/workflows/testFlow/runs/08586776228332053161046300351/actions/for_each/scopeRepetitions/000000", + "location": "West US", "properties": { + "code": "NotSpecified", + "correlation": { + "actionTrackingId": "5c0e7c24-4891-44e8-b631-8084c5531dd5", + "clientTrackingId": "08586775357427610445444523191" + }, + "endTime": "2018-04-18T17:05:57.6240967Z", "repetitionIndexes": [ { - "scopeName": "For_each", - "itemIndex": 0 + "itemIndex": 0, + "scopeName": "For_each" } ], "startTime": "2018-04-18T17:05:57.209588Z", - "endTime": "2018-04-18T17:05:57.6240967Z", - "correlation": { - "actionTrackingId": "5c0e7c24-4891-44e8-b631-8084c5531dd5", - "clientTrackingId": "08586775357427610445444523191" - }, - "status": "Succeeded", - "code": "NotSpecified" - }, - "id": "/workflows/testFlow/runs/08586776228332053161046300351/actions/for_each/scopeRepetitions/000000", - "name": "000000", - "type": "/workflows/runs/actions/scopeRepetitions" + "status": "Succeeded" + } }, { + "name": "000001", + "type": "Microsoft.Web/sites/workflows/runs/actions/scopeRepetitions", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testResourceGroup/providers/Microsoft.Web/sites/test-name/workflows/testFlow/runs/08586776228332053161046300351/actions/for_each/scopeRepetitions/000001", + "location": "West US", "properties": { + "code": "NotSpecified", + "correlation": { + "actionTrackingId": "1682d0bd-7189-4478-b333-fe364a80bd69", + "clientTrackingId": "08586775357427610445444523191" + }, + "endTime": "2018-04-18T17:05:57.2272796Z", "repetitionIndexes": [ { - "scopeName": "For_each", - "itemIndex": 1 + "itemIndex": 1, + "scopeName": "For_each" } ], "startTime": "2018-04-18T17:05:57.0686808Z", - "endTime": "2018-04-18T17:05:57.2272796Z", - "correlation": { - "actionTrackingId": "1682d0bd-7189-4478-b333-fe364a80bd69", - "clientTrackingId": "08586775357427610445444523191" - }, - "status": "Succeeded", - "code": "NotSpecified" - }, - "id": "/workflows/testFlow/runs/08586776228332053161046300351/actions/for_each/scopeRepetitions/000001", - "name": "000001", - "type": "/workflows/runs/actions/scopeRepetitions" + "status": "Succeeded" + } } ] } } - } + }, + "operationId": "WorkflowRunActionScopeRepetitions_List", + "title": "List the scoped repetitions" } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/WorkflowRunActions_Get.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/WorkflowRunActions_Get.json index 072e49b96bd0..1e7acc0574d6 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/WorkflowRunActions_Get.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/WorkflowRunActions_Get.json @@ -1,38 +1,40 @@ { "parameters": { + "name": "test-name", + "actionName": "HTTP", "api-version": "2025-03-01", - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", "resourceGroupName": "test-resource-group", - "name": "test-name", - "workflowName": "test-workflow", "runName": "08586676746934337772206998657CU22", - "actionName": "HTTP" + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "workflowName": "test-workflow" }, "responses": { "200": { "body": { + "name": "HTTP", + "type": "Microsoft.Web/sites/workflows/runs/actions", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Web/sites/test-name/workflows/test-workflow/runs/08586676746934337772206998657CU22/actions/HTTP", "properties": { + "code": "OK", + "correlation": { + "actionTrackingId": "56063357-45dd-4278-9be5-8220ce0cc9ca", + "clientTrackingId": "08586676746934337772206998657CU22" + }, + "endTime": "2018-08-10T20:16:32.5450625Z", "inputsLink": { - "uri": "https://test-site.azurewebsites.net:443/runtime/webhooks/workflow/scaleUnits/prod-00/workflows/000012345678900000000056a41a/runs/00000aaaabbbbccccddddeeeeffff/actions/HTTP/contents/ActionInputs?api-version=2018-11-01&code=examplecode=2022-04-13T03%3A00%3A00.0000000Z&sp=%2Fruns%2F00000aaaabbbbccccddddeeeeffff%2Factions%2FHTTP%2Fcontents%2FActionInputs%2Fread&sv=1.0&sig=dJ6F00000aaaabbbbccccddddeeeeffff78co", - "contentSize": 138 + "contentSize": 138, + "uri": "https://test-site.azurewebsites.net:443/runtime/webhooks/workflow/scaleUnits/prod-00/workflows/000012345678900000000056a41a/runs/00000aaaabbbbccccddddeeeeffff/actions/HTTP/contents/ActionInputs?api-version=2018-11-01&code=examplecode=2022-04-13T03%3A00%3A00.0000000Z&sp=%2Fruns%2F00000aaaabbbbccccddddeeeeffff%2Factions%2FHTTP%2Fcontents%2FActionInputs%2Fread&sv=1.0&sig=dJ6F00000aaaabbbbccccddddeeeeffff78co" }, "outputsLink": { - "uri": "https://test-site.azurewebsites.net:443/runtime/webhooks/workflow/scaleUnits/prod-00/workflows/000012345678900000000056a41a/runs/00000aaaabbbbccccddddeeeeffff/actions/HTTP/contents/ActionOutputs?api-version=2018-11-01&code=examplecode=2022-04-13T03%3A00%3A00.0000000Z&sp=%2Fruns%2F00000aaaabbbbccccddddeeeeffff%2Factions%2FHTTP%2Fcontents%2FActionOutputs%2Fread&sv=1.0&sig=fIIgF00000aaaabbbbccccddddeeeeffffWRU0", - "contentSize": 15660 + "contentSize": 15660, + "uri": "https://test-site.azurewebsites.net:443/runtime/webhooks/workflow/scaleUnits/prod-00/workflows/000012345678900000000056a41a/runs/00000aaaabbbbccccddddeeeeffff/actions/HTTP/contents/ActionOutputs?api-version=2018-11-01&code=examplecode=2022-04-13T03%3A00%3A00.0000000Z&sp=%2Fruns%2F00000aaaabbbbccccddddeeeeffff%2Factions%2FHTTP%2Fcontents%2FActionOutputs%2Fread&sv=1.0&sig=fIIgF00000aaaabbbbccccddddeeeeffffWRU0" }, "startTime": "2018-08-10T20:16:32.305236Z", - "endTime": "2018-08-10T20:16:32.5450625Z", - "correlation": { - "actionTrackingId": "56063357-45dd-4278-9be5-8220ce0cc9ca", - "clientTrackingId": "08586676746934337772206998657CU22" - }, - "status": "Succeeded", - "code": "OK" - }, - "id": "/workflows/test-workflow/runs/08586676746934337772206998657CU22/actions/HTTP", - "name": "HTTP", - "type": "/workflows/runs/actions" + "status": "Succeeded" + } } } - } + }, + "operationId": "WorkflowRunActions_Get", + "title": "Get a workflow run action" } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/WorkflowRunActions_List.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/WorkflowRunActions_List.json index a33b8bca9b45..4b8f4473e2c8 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/WorkflowRunActions_List.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/WorkflowRunActions_List.json @@ -1,41 +1,43 @@ { "parameters": { + "name": "test-name", "api-version": "2025-03-01", - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", "resourceGroupName": "test-resource-group", - "name": "test-name", - "workflowName": "test-workflow", - "runName": "08586676746934337772206998657CU22" + "runName": "08586676746934337772206998657CU22", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "workflowName": "test-workflow" }, "responses": { "200": { "body": { "value": [ { + "name": "HTTP", + "type": "Microsoft.Web/sites/workflows/runs/actions", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Web/sites/test-name/workflows/test-workflow/runs/08586676746934337772206998657CU22/actions/HTTP", "properties": { + "code": "OK", + "correlation": { + "actionTrackingId": "56063357-45dd-4278-9be5-8220ce0cc9ca", + "clientTrackingId": "08586676746934337772206998657CU22" + }, + "endTime": "2018-08-10T20:16:32.5450625Z", "inputsLink": { - "uri": "https://test-site.azurewebsites.net:443/runtime/webhooks/workflow/scaleUnits/prod-00/workflows/000012345678900000000056a41a/runs/00000aaaabbbbccccddddeeeeffff/actions/HTTP/contents/ActionInputs?api-version=2018-11-01&code=examplecode=2022-04-13T03%3A00%3A00.0000000Z&sp=%2Fruns%2F00000aaaabbbbccccddddeeeeffff%2Factions%2FHTTP%2Fcontents%2FActionInputs%2Fread&sv=1.0&sig=dJ6F00000aaaabbbbccccddddeeeeffff78co", - "contentSize": 138 + "contentSize": 138, + "uri": "https://test-site.azurewebsites.net:443/runtime/webhooks/workflow/scaleUnits/prod-00/workflows/000012345678900000000056a41a/runs/00000aaaabbbbccccddddeeeeffff/actions/HTTP/contents/ActionInputs?api-version=2018-11-01&code=examplecode=2022-04-13T03%3A00%3A00.0000000Z&sp=%2Fruns%2F00000aaaabbbbccccddddeeeeffff%2Factions%2FHTTP%2Fcontents%2FActionInputs%2Fread&sv=1.0&sig=dJ6F00000aaaabbbbccccddddeeeeffff78co" }, "outputsLink": { - "uri": "https://test-site.azurewebsites.net:443/runtime/webhooks/workflow/scaleUnits/prod-00/workflows/000012345678900000000056a41a/runs/00000aaaabbbbccccddddeeeeffff/actions/HTTP/contents/ActionOutputs?api-version=2018-11-01&code=examplecode=2022-04-13T03%3A00%3A00.0000000Z&sp=%2Fruns%2F00000aaaabbbbccccddddeeeeffff%2Factions%2FHTTP%2Fcontents%2FActionOutputs%2Fread&sv=1.0&sig=fIIgF00000aaaabbbbccccddddeeeeffffWRU0", - "contentSize": 15660 + "contentSize": 15660, + "uri": "https://test-site.azurewebsites.net:443/runtime/webhooks/workflow/scaleUnits/prod-00/workflows/000012345678900000000056a41a/runs/00000aaaabbbbccccddddeeeeffff/actions/HTTP/contents/ActionOutputs?api-version=2018-11-01&code=examplecode=2022-04-13T03%3A00%3A00.0000000Z&sp=%2Fruns%2F00000aaaabbbbccccddddeeeeffff%2Factions%2FHTTP%2Fcontents%2FActionOutputs%2Fread&sv=1.0&sig=fIIgF00000aaaabbbbccccddddeeeeffffWRU0" }, "startTime": "2018-08-10T20:16:32.305236Z", - "endTime": "2018-08-10T20:16:32.5450625Z", - "correlation": { - "actionTrackingId": "56063357-45dd-4278-9be5-8220ce0cc9ca", - "clientTrackingId": "08586676746934337772206998657CU22" - }, - "status": "Succeeded", - "code": "OK" - }, - "id": "/workflows/test-workflow/runs/08586676746934337772206998657CU22/actions/HTTP", - "name": "HTTP", - "type": "/workflows/runs/actions" + "status": "Succeeded" + } } ] } } - } + }, + "operationId": "WorkflowRunActions_List", + "title": "List a workflow run actions" } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/WorkflowRunActions_ListExpressionTraces.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/WorkflowRunActions_ListExpressionTraces.json index 9715fbe56feb..26595d7c7300 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/WorkflowRunActions_ListExpressionTraces.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/WorkflowRunActions_ListExpressionTraces.json @@ -1,13 +1,13 @@ { "parameters": { + "name": "test-name", + "actionName": "testAction", "api-version": "2025-03-01", + "repetitionName": "000001", "resourceGroupName": "testResourceGroup", - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "name": "test-name", - "workflowName": "testFlow", "runName": "08586776228332053161046300351", - "actionName": "testAction", - "repetitionName": "000001" + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "workflowName": "testFlow" }, "responses": { "200": { @@ -21,5 +21,7 @@ ] } } - } + }, + "operationId": "WorkflowRunActions_ListExpressionTraces", + "title": "List expression traces" } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/WorkflowRuns_Cancel.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/WorkflowRuns_Cancel.json index 9cc63a798c2d..56cb0c0676cf 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/WorkflowRuns_Cancel.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/WorkflowRuns_Cancel.json @@ -1,13 +1,15 @@ { "parameters": { + "name": "test-name", "api-version": "2025-03-01", - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", "resourceGroupName": "test-resource-group", - "name": "test-name", - "workflowName": "test-workflow", - "runName": "08586676746934337772206998657CU22" + "runName": "08586676746934337772206998657CU22", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "workflowName": "test-workflow" }, "responses": { "200": {} - } + }, + "operationId": "WorkflowRuns_Cancel", + "title": "Cancel a workflow run" } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/WorkflowRuns_Get.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/WorkflowRuns_Get.json index e3bd161271f5..951fc1e11141 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/WorkflowRuns_Get.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/WorkflowRuns_Get.json @@ -1,45 +1,47 @@ { "parameters": { + "name": "test-name", "api-version": "2025-03-01", - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", "resourceGroupName": "test-resource-group", - "name": "test-name", - "workflowName": "test-workflow", - "runName": "08586676746934337772206998657CU22" + "runName": "08586676746934337772206998657CU22", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "workflowName": "test-workflow" }, "responses": { "200": { "body": { + "name": "08586676746934337772206998657CU22", + "type": "Microsoft.Web/workflows/runs", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Web/workflows/test-workflow/runs/08586676746934337772206998657CU22", "properties": { - "waitEndTime": "2018-08-10T20:16:32.044238Z", - "startTime": "2018-08-10T20:16:32.044238Z", - "endTime": "2018-08-10T20:16:32.5779999Z", - "status": "Succeeded", "correlation": { "clientTrackingId": "08586676746934337772206998657CU22" }, - "workflow": { - "id": "/workflows/test-workflow/versions/08586676754160363885", - "name": "08586676754160363885", - "type": "workflows/versions" - }, + "endTime": "2018-08-10T20:16:32.5779999Z", + "outputs": {}, + "startTime": "2018-08-10T20:16:32.044238Z", + "status": "Succeeded", "trigger": { "name": "Recurrence", - "startTime": "2018-08-10T20:16:32.0387927Z", - "endTime": "2018-08-10T20:16:32.0387927Z", - "scheduledTime": "2018-08-10T20:16:31.6344174Z", + "code": "OK", "correlation": { "clientTrackingId": "08586676746934337772206998657CU22" }, - "code": "OK", + "endTime": "2018-08-10T20:16:32.0387927Z", + "scheduledTime": "2018-08-10T20:16:31.6344174Z", + "startTime": "2018-08-10T20:16:32.0387927Z", "status": "Succeeded" }, - "outputs": {} - }, - "id": "/workflows/test-workflow/runs/08586676746934337772206998657CU22", - "name": "08586676746934337772206998657CU22", - "type": "workflows/runs" + "waitEndTime": "2018-08-10T20:16:32.044238Z", + "workflow": { + "name": "08586676754160363885", + "type": "Microsoft.Web/workflows/versions", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Web/workflows/test-workflow/versions/08586676754160363885" + } + } } } - } + }, + "operationId": "WorkflowRuns_Get", + "title": "Get a run for a workflow" } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/WorkflowRuns_List.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/WorkflowRuns_List.json index 89607255a16c..0304f121a663 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/WorkflowRuns_List.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/WorkflowRuns_List.json @@ -1,9 +1,9 @@ { "parameters": { + "name": "test-name", "api-version": "2025-03-01", - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", "resourceGroupName": "test-resource-group", - "name": "test-name", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", "workflowName": "test-workflow" }, "responses": { @@ -11,38 +11,40 @@ "body": { "value": [ { + "name": "08586676746934337772206998657CU22", + "type": "Microsoft.Web/workflows/runs", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Web/workflows/test-workflow/runs/08586676746934337772206998657CU22", "properties": { - "waitEndTime": "2018-08-10T20:16:32.044238Z", - "startTime": "2018-08-10T20:16:32.044238Z", - "endTime": "2018-08-10T20:16:32.5779999Z", - "status": "Succeeded", "correlation": { "clientTrackingId": "08586676746934337772206998657CU22" }, - "workflow": { - "id": "workflows/test-workflow/versions/08586676754160363885", - "name": "08586676754160363885", - "type": "workflows/versions" - }, + "endTime": "2018-08-10T20:16:32.5779999Z", + "outputs": {}, + "startTime": "2018-08-10T20:16:32.044238Z", + "status": "Succeeded", "trigger": { "name": "Recurrence", - "startTime": "2018-08-10T20:16:32.0387927Z", - "endTime": "2018-08-10T20:16:32.0387927Z", - "scheduledTime": "2018-08-10T20:16:31.6344174Z", + "code": "OK", "correlation": { "clientTrackingId": "08586676746934337772206998657CU22" }, - "code": "OK", + "endTime": "2018-08-10T20:16:32.0387927Z", + "scheduledTime": "2018-08-10T20:16:31.6344174Z", + "startTime": "2018-08-10T20:16:32.0387927Z", "status": "Succeeded" }, - "outputs": {} - }, - "id": "workflows/test-workflow/runs/08586676746934337772206998657CU22", - "name": "08586676746934337772206998657CU22", - "type": "workflows/runs" + "waitEndTime": "2018-08-10T20:16:32.044238Z", + "workflow": { + "name": "08586676754160363885", + "type": "Microsoft.Web/workflows/versions", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Web/workflows/test-workflow/versions/08586676754160363885" + } + } } ] } } - } + }, + "operationId": "WorkflowRuns_List", + "title": "List workflow runs" } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/WorkflowTriggerHistories_Get.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/WorkflowTriggerHistories_Get.json index 7ad73ca5df9a..7883596b9037 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/WorkflowTriggerHistories_Get.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/WorkflowTriggerHistories_Get.json @@ -1,36 +1,38 @@ { "parameters": { + "name": "test-name", "api-version": "2025-03-01", + "historyName": "08586676746934337772206998657CU22", "resourceGroupName": "testResourceGroup", "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "name": "test-name", - "workflowName": "testWorkflowName", "triggerName": "testTriggerName", - "historyName": "08586676746934337772206998657CU22" + "workflowName": "testWorkflowName" }, "responses": { "200": { "body": { + "name": "08586676746934337772206998657CU22", + "type": "Microsoft.Web/sites/workflows/triggers/histories", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testResourceGroup/providers/Microsoft.Web/sites/test-name/workflows/testWorkflowName/triggers/testTriggerName/histories/08586676746934337772206998657CU22", "properties": { - "startTime": "2018-08-10T20:16:32.0387927Z", - "endTime": "2018-08-10T20:16:32.2987996Z", - "scheduledTime": "2018-08-10T20:16:31.6344174Z", - "status": "Succeeded", "code": "OK", "correlation": { "clientTrackingId": "08586676746934337772206998657CU22" }, + "endTime": "2018-08-10T20:16:32.2987996Z", "fired": true, "run": { "name": "08586676746934337772206998657CU22", - "id": "/workflows/testWorkflowName/runs/08586676746934337772206998657CU22", - "type": "/workflows/runs" - } - }, - "id": "/workflows/testWorkflowName/triggers/testTriggerName/histories/08586676746934337772206998657CU22", - "name": "08586676746934337772206998657CU22", - "type": "/workflows/triggers/histories" + "type": "Microsoft.Web/sites/workflows/runs", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testResourceGroup/providers/Microsoft.Web/sites/test-name/workflows/testWorkflowName/runs/08586676746934337772206998657CU22" + }, + "scheduledTime": "2018-08-10T20:16:31.6344174Z", + "startTime": "2018-08-10T20:16:32.0387927Z", + "status": "Succeeded" + } } } - } + }, + "operationId": "WorkflowTriggerHistories_Get", + "title": "Get a workflow trigger history" } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/WorkflowTriggerHistories_List.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/WorkflowTriggerHistories_List.json index 14c30d897664..dbe2fd417dd6 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/WorkflowTriggerHistories_List.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/WorkflowTriggerHistories_List.json @@ -1,39 +1,41 @@ { "parameters": { + "name": "test-name", "api-version": "2025-03-01", "resourceGroupName": "testResourceGroup", "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "name": "test-name", - "workflowName": "testWorkflowName", - "triggerName": "testTriggerName" + "triggerName": "testTriggerName", + "workflowName": "testWorkflowName" }, "responses": { "200": { "body": { "value": [ { + "name": "08586676746934337772206998657CU22", + "type": "Microsoft.Web/sites/workflows/triggers/histories", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testResourceGroup/providers/Microsoft.Web/sites/test-name/workflows/testWorkflowName/triggers/testTriggerName/histories/08586676746934337772206998657CU22", "properties": { - "startTime": "2018-08-10T20:16:32.0387927Z", - "endTime": "2018-08-10T20:16:32.2987996Z", - "scheduledTime": "2018-08-10T20:16:31.6344174Z", - "status": "Succeeded", "code": "OK", "correlation": { "clientTrackingId": "08586676746934337772206998657CU22" }, + "endTime": "2018-08-10T20:16:32.2987996Z", "fired": true, "run": { "name": "08586676746934337772206998657CU22", - "id": "/workflows/testWorkflowName/runs/08586676746934337772206998657CU22", - "type": "/workflows/runs" - } - }, - "id": "/workflows/testWorkflowName/triggers/testTriggerName/histories/08586676746934337772206998657CU22", - "name": "08586676746934337772206998657CU22", - "type": "/workflows/triggers/histories" + "type": "Microsoft.Web/sites/workflows/runs", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testResourceGroup/providers/Microsoft.Web/sites/test-name/workflows/testWorkflowName/runs/08586676746934337772206998657CU22" + }, + "scheduledTime": "2018-08-10T20:16:31.6344174Z", + "startTime": "2018-08-10T20:16:32.0387927Z", + "status": "Succeeded" + } } ] } } - } + }, + "operationId": "WorkflowTriggerHistories_List", + "title": "List a workflow trigger history" } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/WorkflowTriggerHistories_Resubmit.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/WorkflowTriggerHistories_Resubmit.json index 4b07b59edc26..7447e17e1a3b 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/WorkflowTriggerHistories_Resubmit.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/WorkflowTriggerHistories_Resubmit.json @@ -1,12 +1,12 @@ { "parameters": { + "name": "test-name", "api-version": "2025-03-01", + "historyName": "testHistoryName", "resourceGroupName": "testResourceGroup", "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "name": "test-name", - "workflowName": "testWorkflowName", "triggerName": "testTriggerName", - "historyName": "testHistoryName" + "workflowName": "testWorkflowName" }, "responses": { "202": { @@ -14,5 +14,7 @@ "Location": "https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-rg/providers/Microsoft.Web//workflows/testWorkflowName/triggers/testTriggerName/histories/08586676746934337772206998657CU22?api-version=2025-03-01" } } - } + }, + "operationId": "WorkflowTriggerHistories_Resubmit", + "title": "Resubmit a workflow run based on the trigger history" } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/WorkflowTriggers_Get.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/WorkflowTriggers_Get.json index 93ebc058f98b..9962f21a6f80 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/WorkflowTriggers_Get.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/WorkflowTriggers_Get.json @@ -1,30 +1,32 @@ { "parameters": { + "name": "test-name", "api-version": "2025-03-01", - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", "resourceGroupName": "test-resource-group", - "name": "test-name", - "workflowName": "test-workflow", - "triggerName": "manual" + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "triggerName": "manual", + "workflowName": "test-workflow" }, "responses": { "200": { "body": { + "name": "manual", + "type": "Microsoft.Web/sites/workflows/triggers", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Web/sites/test-name/workflows/test-workflow/triggers/manual", "properties": { - "provisioningState": "Succeeded", - "createdTime": "2018-08-10T17:32:30.2496336Z", "changedTime": "2018-08-10T18:47:49.5288666Z", + "createdTime": "2018-08-10T17:32:30.2496336Z", + "provisioningState": "Succeeded", "state": "Enabled", "workflow": { - "id": "/workflows/test-workflow/versions/08586676800160476478", "name": "08586676800160476478", - "type": "/workflows/versions" + "type": "Microsoft.Web/sites/workflows/versions", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Web/sites/test-name/workflows/test-workflow/versions/08586676800160476478" } - }, - "id": "/workflows/test-workflow/triggers/manual", - "name": "manual", - "type": "/workflows/triggers" + } } } - } + }, + "operationId": "WorkflowTriggers_Get", + "title": "Get a workflow trigger" } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/WorkflowTriggers_GetSchemaJson.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/WorkflowTriggers_GetSchemaJson.json index 40dab2af9f73..0e681ef962fc 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/WorkflowTriggers_GetSchemaJson.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/WorkflowTriggers_GetSchemaJson.json @@ -1,18 +1,20 @@ { "parameters": { + "name": "test-name", "api-version": "2025-03-01", "resourceGroupName": "testResourceGroup", "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "name": "test-name", - "workflowName": "testWorkflow", - "triggerName": "testTrigger" + "triggerName": "testTrigger", + "workflowName": "testWorkflow" }, "responses": { "200": { "body": { - "title": "JsonTitle", - "content": "JsonContent" + "content": "JsonContent", + "title": "JsonTitle" } } - } + }, + "operationId": "WorkflowTriggers_GetSchemaJson", + "title": "Get trigger schema" } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/WorkflowTriggers_List.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/WorkflowTriggers_List.json index 780ade5d2b90..a8f1df3ca06f 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/WorkflowTriggers_List.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/WorkflowTriggers_List.json @@ -1,9 +1,9 @@ { "parameters": { + "name": "test-name", "api-version": "2025-03-01", - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", "resourceGroupName": "test-resource-group", - "name": "test-name", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", "workflowName": "test-workflow" }, "responses": { @@ -11,23 +11,25 @@ "body": { "value": [ { + "name": "manual", + "type": "Microsoft.Web/sites/workflows/triggers", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Web/sites/test-name/workflows/test-workflow/triggers/manual", "properties": { - "provisioningState": "Succeeded", - "createdTime": "2018-08-10T17:32:30.2496336Z", "changedTime": "2018-08-10T18:47:49.5288666Z", + "createdTime": "2018-08-10T17:32:30.2496336Z", + "provisioningState": "Succeeded", "state": "Enabled", "workflow": { - "id": "/workflows/test-workflow/versions/08586676800160476478", "name": "08586676800160476478", - "type": "/workflows/versions" + "type": "Microsoft.Web/sites/workflows/versions", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Web/sites/test-name/workflows/test-workflow/versions/08586676800160476478" } - }, - "id": "/workflows/test-workflow/triggers/manual", - "name": "manual", - "type": "/workflows/triggers" + } } ] } } - } + }, + "operationId": "WorkflowTriggers_List", + "title": "List workflow triggers" } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/WorkflowTriggers_ListCallbackUrl.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/WorkflowTriggers_ListCallbackUrl.json index 01db57f006c6..729acbf487ed 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/WorkflowTriggers_ListCallbackUrl.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/WorkflowTriggers_ListCallbackUrl.json @@ -1,25 +1,27 @@ { "parameters": { + "name": "test-name", "api-version": "2025-03-01", - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", "resourceGroupName": "test-resource-group", - "name": "test-name", - "workflowName": "test-workflow", - "triggerName": "manual" + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "triggerName": "manual", + "workflowName": "test-workflow" }, "responses": { "200": { "body": { - "value": "https://test-site.azurewebsites.net:443/runtime/webhooks/workflow/scaleUnits/prod-00/workflows/fb9c8d79b15f41ce9b12861862f43546/versions/08587100027316071865/triggers/manualTrigger/paths/invoke?api-version=2015-08-01-preview&sp=%2Fversions%2F08587100027316071865%2Ftriggers%2FmanualTrigger%2Frun&sv=1.0&sig=IxEQ_ygZf6WNEQCbjV0Vs6p6Y4DyNEJVAa86U5B4xhk", "method": "POST", "basePath": "https://test-site.azurewebsites.net:443/runtime/webhooks/workflow/scaleUnits/prod-00/workflows/fb9c8d79b15f41ce9b12861862f43546/versions/08587100027316071865/triggers/manualTrigger/paths/invoke", "queries": { "api-version": "2018-07-01-preview", + "sig": "IxEQ_ygZf6WNEQCbjV0Vs6p6Y4DyNEJVAa86U5B4xhk", "sp": "/versions/08587100027316071865/triggers/manualTrigger/run", - "sv": "1.0", - "sig": "IxEQ_ygZf6WNEQCbjV0Vs6p6Y4DyNEJVAa86U5B4xhk" - } + "sv": "1.0" + }, + "value": "https://test-site.azurewebsites.net:443/runtime/webhooks/workflow/scaleUnits/prod-00/workflows/fb9c8d79b15f41ce9b12861862f43546/versions/08587100027316071865/triggers/manualTrigger/paths/invoke?api-version=2015-08-01-preview&sp=%2Fversions%2F08587100027316071865%2Ftriggers%2FmanualTrigger%2Frun&sv=1.0&sig=IxEQ_ygZf6WNEQCbjV0Vs6p6Y4DyNEJVAa86U5B4xhk" } } - } + }, + "operationId": "WorkflowTriggers_ListCallbackUrl", + "title": "Get the callback URL for a trigger" } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/WorkflowTriggers_Run.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/WorkflowTriggers_Run.json index f3b1d7a89fa0..c2f3ececf4ec 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/WorkflowTriggers_Run.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/WorkflowTriggers_Run.json @@ -1,11 +1,11 @@ { "parameters": { + "name": "test-name", "api-version": "2025-03-01", - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", "resourceGroupName": "test-resource-group", - "name": "test-name", - "workflowName": "test-workflow", - "triggerName": "recurrence" + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "triggerName": "recurrence", + "workflowName": "test-workflow" }, "responses": { "200": {}, @@ -14,5 +14,7 @@ "Location": "https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-rg/providers/Microsoft.Web//workflows/testWorkflowName/triggers/testTriggerName/histories/08586676746934337772206998657CU22?api-version=2025-03-01" } } - } + }, + "operationId": "WorkflowTriggers_Run", + "title": "Run a workflow trigger" } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/WorkflowVersions_Get.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/WorkflowVersions_Get.json index d7bb9bbe216d..552ce1748509 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/WorkflowVersions_Get.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/WorkflowVersions_Get.json @@ -1,42 +1,45 @@ { "parameters": { + "name": "test-name", "api-version": "2025-03-01", - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", "resourceGroupName": "test-resource-group", - "name": "test-name", - "workflowName": "test-workflow", - "versionId": "08586676824806722526" + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "versionId": "08586676824806722526", + "workflowName": "test-workflow" }, "responses": { "200": { "body": { + "name": "test-workflow", + "type": "Microsoft.Web/sites/workflows/versions", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Web/sites/test-name/workflows/test-workflow/versions/08586676824806722526", + "location": "West US", "properties": { - "createdTime": "2018-04-25T01:39:21.4365247Z", "changedTime": "2018-08-09T22:54:54.3533634Z", - "version": "08586677515911718341", + "createdTime": "2018-04-25T01:39:21.4365247Z", "definition": { "$schema": "https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#", + "actions": {}, "contentVersion": "1.0.0.0", + "outputs": {}, "parameters": {}, - "triggers": {}, - "actions": {}, - "outputs": {} + "triggers": {} }, - "parameters": {}, "endpointsConfiguration": { - "workflow": { - "outgoingIpAddresses": [], - "accessEndpointIpAddresses": [] - }, "connector": { "outgoingIpAddresses": [] + }, + "workflow": { + "accessEndpointIpAddresses": [], + "outgoingIpAddresses": [] } - } - }, - "id": "/workflows/test-workflow", - "name": "test-workflow", - "type": "/workflows/versions" + }, + "parameters": {}, + "version": "08586677515911718341" + } } } - } + }, + "operationId": "WorkflowVersions_Get", + "title": "Get a workflow version" } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/WorkflowVersions_List.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/WorkflowVersions_List.json index 3f7dc9983e55..688acecc6af5 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/WorkflowVersions_List.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/WorkflowVersions_List.json @@ -1,9 +1,9 @@ { "parameters": { + "name": "test-name", "api-version": "2025-03-01", - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", "resourceGroupName": "test-resource-group", - "name": "test-name", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", "workflowName": "test-workflow" }, "responses": { @@ -11,35 +11,38 @@ "body": { "value": [ { + "name": "test-workflow", + "type": "Microsoft.Web/sites/workflows/versions", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Web/sites/test-name/workflows/test-workflow/versions/08586677515911718341", + "location": "West US", "properties": { - "createdTime": "2018-04-25T01:39:21.4365247Z", "changedTime": "2018-08-09T22:54:54.3533634Z", - "version": "08586677515911718341", + "createdTime": "2018-04-25T01:39:21.4365247Z", "definition": { "$schema": "https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#", + "actions": {}, "contentVersion": "1.0.0.0", + "outputs": {}, "parameters": {}, - "triggers": {}, - "actions": {}, - "outputs": {} + "triggers": {} }, - "parameters": {}, "endpointsConfiguration": { - "workflow": { - "outgoingIpAddresses": [], - "accessEndpointIpAddresses": [] - }, "connector": { "outgoingIpAddresses": [] + }, + "workflow": { + "accessEndpointIpAddresses": [], + "outgoingIpAddresses": [] } - } - }, - "id": "/workflows/test-workflow", - "name": "test-workflow", - "type": "/workflows/versions" + }, + "parameters": {}, + "version": "08586677515911718341" + } } ] } } - } + }, + "operationId": "WorkflowVersions_List", + "title": "List a workflows versions" } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/Workflows_RegenerateAccessKey.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/Workflows_RegenerateAccessKey.json index ad0bbbe1b9e5..65dd60d9bec1 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/Workflows_RegenerateAccessKey.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/Workflows_RegenerateAccessKey.json @@ -1,15 +1,17 @@ { "parameters": { - "api-version": "2025-03-01", - "resourceGroupName": "testResourceGroup", - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", "name": "test-name", - "workflowName": "testWorkflowName", + "api-version": "2025-03-01", "keyType": { "keyType": "Primary" - } + }, + "resourceGroupName": "testResourceGroup", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "workflowName": "testWorkflowName" }, "responses": { "200": {} - } + }, + "operationId": "Workflows_RegenerateAccessKey", + "title": "Regenerate the callback URL access key for request triggers" } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/Workflows_Validate.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/Workflows_Validate.json index a9781cc8e1b8..684e8a3f951b 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/Workflows_Validate.json +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/examples/Workflows_Validate.json @@ -1,26 +1,28 @@ { "parameters": { + "name": "test-name", "api-version": "2025-03-01", - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "test-resource-group", "location": "brazilsouth", - "name": "test-name", - "workflowName": "test-workflow", + "resourceGroupName": "test-resource-group", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", "validate": { "properties": { "definition": { "$schema": "https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#", + "actions": {}, "contentVersion": "1.0.0.0", + "outputs": {}, "parameters": {}, - "triggers": {}, - "actions": {}, - "outputs": {} + "triggers": {} }, "kind": "Stateful" } - } + }, + "workflowName": "test-workflow" }, "responses": { "200": {} - } + }, + "operationId": "Workflows_Validate", + "title": "Validate a workflow" } diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/openapi.json b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/openapi.json new file mode 100644 index 000000000000..06a3b80b9c6b --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/openapi.json @@ -0,0 +1,61140 @@ +{ + "swagger": "2.0", + "info": { + "title": "WebApps API Client", + "version": "2025-03-01", + "x-typespec-generated": [ + { + "emitter": "@azure-tools/typespec-autorest" + } + ] + }, + "schemes": [ + "https" + ], + "host": "management.azure.com", + "produces": [ + "application/json", + "application/xml" + ], + "consumes": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "description": "Azure Active Directory OAuth2 Flow.", + "flow": "implicit", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "tags": [ + { + "name": "Operations" + }, + { + "name": "AppServiceEnvironments" + }, + { + "name": "Recommendations" + }, + { + "name": "AppServiceEnvironmentResources" + }, + { + "name": "AddressResponses" + }, + { + "name": "CustomDnsSuffixConfigurations" + }, + { + "name": "AseV3NetworkingConfigurations" + }, + { + "name": "WorkerPoolResources" + }, + { + "name": "RemotePrivateEndpointConnectionARMResources" + }, + { + "name": "StaticSites" + }, + { + "name": "WebApps" + }, + { + "name": "RemotePrivateEndpointConnectionARMResourceOperationGroup" + }, + { + "name": "PrivateEndpointConnectionSlotOperationGroup" + }, + { + "name": "AppServicePlans" + }, + { + "name": "HybridConnections" + }, + { + "name": "HybridConnectionOperationGroup" + }, + { + "name": "HybridConnectionSlotOperationGroup" + }, + { + "name": "HybridConnectionLimitsOperationGroup" + }, + { + "name": "VnetInfoResources" + }, + { + "name": "VnetInfoResourceOperationGroup" + }, + { + "name": "VnetConnectionOperationGroup" + }, + { + "name": "VnetGateways" + }, + { + "name": "VnetGatewayOperationGroup" + }, + { + "name": "VnetConnectionGatewayOperationGroup" + }, + { + "name": "VnetRoutes" + }, + { + "name": "Certificates" + }, + { + "name": "SiteCertificates" + }, + { + "name": "CertificateOperationGroup" + }, + { + "name": "DeletedSites" + }, + { + "name": "Global" + }, + { + "name": "Diagnostics" + }, + { + "name": "DetectorResponses" + }, + { + "name": "DetectorResponseOperationGroup" + }, + { + "name": "DiagnosticCategories" + }, + { + "name": "DiagnosticCategoryOperationGroup" + }, + { + "name": "AnalysisDefinitions" + }, + { + "name": "AnalysisDefinitionOperationGroup" + }, + { + "name": "DetectorDefinitionResources" + }, + { + "name": "DetectorDefinitionResourceOperationGroup" + }, + { + "name": "KubeEnvironments" + }, + { + "name": "RecommendationRules" + }, + { + "name": "ResourceHealthMetadataOperationGroup" + }, + { + "name": "BySiteSlotOperationGroup" + }, + { + "name": "Sites" + }, + { + "name": "Users" + }, + { + "name": "SourceControls" + }, + { + "name": "StaticSiteARMResources" + }, + { + "name": "StaticSiteBuildARMResources" + }, + { + "name": "DatabaseConnections" + }, + { + "name": "DatabaseConnectionOperationGroup" + }, + { + "name": "StaticSiteUserProvidedFunctionAppARMResources" + }, + { + "name": "StaticSiteUserProvidedFunctionAppARMResourceOperationGroup" + }, + { + "name": "StaticSiteBasicAuthPropertiesARMResources" + }, + { + "name": "StaticSiteCustomDomainOverviewARMResources" + }, + { + "name": "StaticSiteLinkedBackendARMResources" + }, + { + "name": "StaticSiteLinkedBackendARMResourceOperationGroup" + }, + { + "name": "BackupItems" + }, + { + "name": "BackupItemOperationGroup" + }, + { + "name": "CsmPublishingCredentialsPoliciesEntities" + }, + { + "name": "CsmPublishingCredentialsPoliciesEntityOperationGroup" + }, + { + "name": "CsmPublishingCredentialsPoliciesEntityFtpAllowedSlot" + }, + { + "name": "CsmPublishingCredentialsPoliciesEntityScmAllowedSlot" + }, + { + "name": "SiteAuthSettingsV2s" + }, + { + "name": "SiteAuthSettingsV2OperationGroup" + }, + { + "name": "AppSettingKeyVaultReference" + }, + { + "name": "SiteConnectionStringKeyVaultReference" + }, + { + "name": "AppSettingKeyVaultReferenceSlot" + }, + { + "name": "SiteConnectionStringKeyVaultReferenceSlot" + }, + { + "name": "SiteLogsConfigs" + }, + { + "name": "SiteLogsConfigOperationGroup" + }, + { + "name": "SlotConfigNamesResources" + }, + { + "name": "SiteConfigResources" + }, + { + "name": "SiteConfigResourceOperationGroup" + }, + { + "name": "SiteConfigSlotResourceOperationGroup" + }, + { + "name": "SiteConfigSnapshotSlotResourceOperationGroup" + }, + { + "name": "ContinuousWebJobs" + }, + { + "name": "ContinuousWebJobOperationGroup" + }, + { + "name": "CsmDeploymentStatuses" + }, + { + "name": "CsmDeploymentStatusOperationGroup" + }, + { + "name": "Deployments" + }, + { + "name": "DeploymentOperationGroup" + }, + { + "name": "Identifiers" + }, + { + "name": "IdentifierOperationGroup" + }, + { + "name": "MSDeployStatuses" + }, + { + "name": "MSDeployStatusOperationGroup" + }, + { + "name": "MSDeployStatusSlotOperationGroup" + }, + { + "name": "InstanceMSDeployStatusOperationGroup" + }, + { + "name": "FunctionEnvelopes" + }, + { + "name": "FunctionEnvelopeOperationGroup" + }, + { + "name": "HostNameBindings" + }, + { + "name": "HostNameBindingOperationGroup" + }, + { + "name": "RelayServiceConnectionEntities" + }, + { + "name": "RelayServiceConnectionEntityOperationGroup" + }, + { + "name": "WebSiteInstanceStatuses" + }, + { + "name": "WebSiteInstanceStatusOperationGroup" + }, + { + "name": "ProcessInfos" + }, + { + "name": "ProcessInfoOperationGroup" + }, + { + "name": "InstanceProcessSlotOperationGroup" + }, + { + "name": "ProcessSlotOperationGroup" + }, + { + "name": "ProcessModuleInfos" + }, + { + "name": "ProcessModuleInfoOperationGroup" + }, + { + "name": "InstanceProcessModuleSlotOperationGroup" + }, + { + "name": "ProcessModuleSlotOperationGroup" + }, + { + "name": "MigrateMySqlStatuses" + }, + { + "name": "MigrateMySqlStatusOperationGroup" + }, + { + "name": "SwiftVirtualNetworks" + }, + { + "name": "SwiftVirtualNetworkOperationGroup" + }, + { + "name": "NetworkFeaturesOperationGroup" + }, + { + "name": "NetworkFeaturesSlotOperationGroup" + }, + { + "name": "PremierAddOns" + }, + { + "name": "PremierAddOnOperationGroup" + }, + { + "name": "PrivateAccesses" + }, + { + "name": "PrivateAccessOperationGroup" + }, + { + "name": "PublicCertificates" + }, + { + "name": "PublicCertificateOperationGroup" + }, + { + "name": "SiteContainers" + }, + { + "name": "SiteContainerOperationGroup" + }, + { + "name": "SiteExtensionInfos" + }, + { + "name": "SiteExtensionInfoOperationGroup" + }, + { + "name": "SiteSourceControls" + }, + { + "name": "SiteSourceControlOperationGroup" + }, + { + "name": "TriggeredWebJobs" + }, + { + "name": "TriggeredWebJobOperationGroup" + }, + { + "name": "TriggeredJobHistories" + }, + { + "name": "TriggeredJobHistoryOperationGroup" + }, + { + "name": "WebJobs" + }, + { + "name": "WebJobOperationGroup" + }, + { + "name": "WorkflowEnvelopes" + }, + { + "name": "WorkflowEnvelopeOperationGroup" + }, + { + "name": "WorkflowRuns" + }, + { + "name": "WorkflowRunActions" + }, + { + "name": "WorkflowRunActionRepetitionDefinitions" + }, + { + "name": "WorkflowRunActionScopeRepetitions" + }, + { + "name": "RequestHistories" + }, + { + "name": "WorkflowTriggers" + }, + { + "name": "WorkflowTriggerHistories" + }, + { + "name": "WorkflowVersions" + } + ], + "paths": { + "/providers/Microsoft.Web/availableStacks": { + "get": { + "operationId": "Provider_GetAvailableStacks", + "summary": "Get available application frameworks and their versions", + "description": "Description for Get available application frameworks and their versions", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "name": "osTypeSelected", + "in": "query", + "required": false, + "type": "string", + "enum": [ + "Windows", + "Linux", + "WindowsFunctions", + "LinuxFunctions", + "All" + ], + "x-ms-enum": { + "name": "ProviderOsTypeSelected", + "modelAsString": true, + "values": [ + { + "name": "Windows", + "value": "Windows" + }, + { + "name": "Linux", + "value": "Linux" + }, + { + "name": "WindowsFunctions", + "value": "WindowsFunctions" + }, + { + "name": "LinuxFunctions", + "value": "LinuxFunctions" + }, + { + "name": "All", + "value": "All" + } + ] + } + } + ], + "responses": { + "200": { + "description": "The request has succeeded.", + "schema": { + "$ref": "#/definitions/ApplicationStackCollection" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/providers/Microsoft.Web/functionAppStacks": { + "get": { + "operationId": "Provider_GetFunctionAppStacks", + "summary": "Get available Function app frameworks and their versions", + "description": "Description for Get available Function app frameworks and their versions", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "name": "stackOsType", + "in": "query", + "description": "Stack OS Type", + "required": false, + "type": "string", + "enum": [ + "Windows", + "Linux", + "All" + ], + "x-ms-enum": { + "name": "ProviderStackOsType", + "modelAsString": true, + "values": [ + { + "name": "Windows", + "value": "Windows" + }, + { + "name": "Linux", + "value": "Linux" + }, + { + "name": "All", + "value": "All" + } + ] + } + } + ], + "responses": { + "200": { + "description": "The request has succeeded.", + "schema": { + "$ref": "#/definitions/FunctionAppStackCollection" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "Get Function App Stacks": { + "$ref": "./examples/GetFunctionAppStacks.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/providers/Microsoft.Web/locations/{location}/functionAppStacks": { + "get": { + "operationId": "Provider_GetFunctionAppStacksForLocation", + "summary": "Get available Function app frameworks and their versions for location", + "description": "Description for Get available Function app frameworks and their versions for location", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/LocationParameter" + }, + { + "name": "stackOsType", + "in": "query", + "description": "Stack OS Type", + "required": false, + "type": "string", + "enum": [ + "Windows", + "Linux", + "All" + ], + "x-ms-enum": { + "name": "ProviderStackOsType", + "modelAsString": true, + "values": [ + { + "name": "Windows", + "value": "Windows" + }, + { + "name": "Linux", + "value": "Linux" + }, + { + "name": "All", + "value": "All" + } + ] + } + } + ], + "responses": { + "200": { + "description": "The request has succeeded.", + "schema": { + "$ref": "#/definitions/FunctionAppStackCollection" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "Get Locations Function App Stacks": { + "$ref": "./examples/GetFunctionAppStacksForLocation.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/providers/Microsoft.Web/locations/{location}/webAppStacks": { + "get": { + "operationId": "Provider_GetWebAppStacksForLocation", + "summary": "Get available Web app frameworks and their versions for location", + "description": "Description for Get available Web app frameworks and their versions for location", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/LocationParameter" + }, + { + "name": "stackOsType", + "in": "query", + "description": "Stack OS Type", + "required": false, + "type": "string", + "enum": [ + "Windows", + "Linux", + "All" + ], + "x-ms-enum": { + "name": "ProviderStackOsType", + "modelAsString": true, + "values": [ + { + "name": "Windows", + "value": "Windows" + }, + { + "name": "Linux", + "value": "Linux" + }, + { + "name": "All", + "value": "All" + } + ] + } + } + ], + "responses": { + "200": { + "description": "The request has succeeded.", + "schema": { + "$ref": "#/definitions/WebAppStackCollection" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "Get Locations Web App Stacks": { + "$ref": "./examples/GetWebAppStacksForLocation.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/providers/Microsoft.Web/operations": { + "get": { + "operationId": "Provider_ListOperations", + "tags": [ + "Operations" + ], + "summary": "Gets all available operations for the Microsoft.Web resource provider. Also exposes resource metric definitions", + "description": "Description for Gets all available operations for the Microsoft.Web resource provider. Also exposes resource metric definitions", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/CsmOperationCollection" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "List operations": { + "$ref": "./examples/ListOperations.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/providers/Microsoft.Web/publishingUsers/web": { + "get": { + "operationId": "GetPublishingUser", + "tags": [ + "Users" + ], + "summary": "Gets publishing user", + "description": "Description for Gets publishing user", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/User" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + }, + "put": { + "operationId": "UpdatePublishingUser", + "tags": [ + "Users" + ], + "summary": "Updates publishing user", + "description": "Description for Updates publishing user", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "name": "userDetails", + "in": "body", + "description": "Details of publishing user", + "required": true, + "schema": { + "$ref": "#/definitions/User" + } + } + ], + "responses": { + "200": { + "description": "Resource 'User' update operation succeeded", + "schema": { + "$ref": "#/definitions/User" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + } + }, + "/providers/Microsoft.Web/sourcecontrols": { + "get": { + "operationId": "ListSourceControls", + "tags": [ + "SourceControls" + ], + "summary": "Gets the source controls available for Azure websites.", + "description": "Description for Gets the source controls available for Azure websites.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/SourceControlCollection" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/providers/Microsoft.Web/sourcecontrols/{sourceControlType}": { + "get": { + "operationId": "GetSourceControl", + "tags": [ + "SourceControls" + ], + "summary": "Gets source control token", + "description": "Description for Gets source control token", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "name": "sourceControlType", + "in": "path", + "description": "Type of source control", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/SourceControl" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + }, + "put": { + "operationId": "UpdateSourceControl", + "tags": [ + "SourceControls" + ], + "summary": "Updates source control token", + "description": "Description for Updates source control token", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "name": "sourceControlType", + "in": "path", + "description": "Type of source control", + "required": true, + "type": "string" + }, + { + "name": "requestMessage", + "in": "body", + "description": "Source control token information", + "required": true, + "schema": { + "$ref": "#/definitions/SourceControl" + } + } + ], + "responses": { + "200": { + "description": "Resource 'SourceControl' update operation succeeded", + "schema": { + "$ref": "#/definitions/SourceControl" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + } + }, + "/providers/Microsoft.Web/webAppStacks": { + "get": { + "operationId": "Provider_GetWebAppStacks", + "summary": "Get available Web app frameworks and their versions", + "description": "Description for Get available Web app frameworks and their versions", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "name": "stackOsType", + "in": "query", + "description": "Stack OS Type", + "required": false, + "type": "string", + "enum": [ + "Windows", + "Linux", + "All" + ], + "x-ms-enum": { + "name": "ProviderStackOsType", + "modelAsString": true, + "values": [ + { + "name": "Windows", + "value": "Windows" + }, + { + "name": "Linux", + "value": "Linux" + }, + { + "name": "All", + "value": "All" + } + ] + } + } + ], + "responses": { + "200": { + "description": "The request has succeeded.", + "schema": { + "$ref": "#/definitions/WebAppStackCollection" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "Get Web App Stacks": { + "$ref": "./examples/GetWebAppStacks.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Web/aseRegions": { + "get": { + "operationId": "ListAseRegions", + "summary": "Get a list of available ASE regions and its supported Skus.", + "description": "Description for get a list of available ASE regions and its supported Skus.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "The request has succeeded.", + "schema": { + "$ref": "#/definitions/AseRegionCollection" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "List aseregions": { + "$ref": "./examples/ListAseRegions.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Web/availableStacks": { + "get": { + "operationId": "Provider_GetAvailableStacksOnPrem", + "summary": "Get available application frameworks and their versions", + "description": "Description for Get available application frameworks and their versions", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "osTypeSelected", + "in": "query", + "required": false, + "type": "string", + "enum": [ + "Windows", + "Linux", + "WindowsFunctions", + "LinuxFunctions", + "All" + ], + "x-ms-enum": { + "name": "ProviderOsTypeSelected", + "modelAsString": true, + "values": [ + { + "name": "Windows", + "value": "Windows" + }, + { + "name": "Linux", + "value": "Linux" + }, + { + "name": "WindowsFunctions", + "value": "WindowsFunctions" + }, + { + "name": "LinuxFunctions", + "value": "LinuxFunctions" + }, + { + "name": "All", + "value": "All" + } + ] + } + } + ], + "responses": { + "200": { + "description": "The request has succeeded.", + "schema": { + "$ref": "#/definitions/ApplicationStackCollection" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Web/billingMeters": { + "get": { + "operationId": "ListBillingMeters", + "summary": "Gets a list of meters for a given location.", + "description": "Description for Gets a list of meters for a given location.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "billingLocation", + "in": "query", + "description": "Azure Location of billable resource", + "required": false, + "type": "string" + }, + { + "name": "osType", + "in": "query", + "description": "App Service OS type meters used for", + "required": false, + "type": "string" + } + ], + "responses": { + "200": { + "description": "The request has succeeded.", + "schema": { + "$ref": "#/definitions/BillingMeterCollection" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Web/certificates": { + "get": { + "operationId": "Certificates_List", + "tags": [ + "Certificates" + ], + "summary": "Get all certificates for a subscription.", + "description": "Description for Get all certificates for a subscription.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "$filter", + "in": "query", + "description": "Return only information specified in the filter (using OData syntax). For example: $filter=KeyVaultId eq 'KeyVaultId'", + "required": false, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/CertificateCollection" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "List Certificates for subscription": { + "$ref": "./examples/ListCertificates.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Web/checknameavailability": { + "post": { + "operationId": "CheckNameAvailability", + "summary": "Check if a resource name is available.", + "description": "Description for Check if a resource name is available.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "request", + "in": "body", + "description": "The request body", + "required": true, + "schema": { + "$ref": "#/definitions/ResourceNameAvailabilityRequest" + } + } + ], + "responses": { + "200": { + "description": "The request has succeeded.", + "schema": { + "$ref": "#/definitions/ResourceNameAvailability" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Web/customhostnameSites": { + "get": { + "operationId": "ListCustomHostNameSites", + "summary": "Get custom hostnames under this subscription", + "description": "Get custom hostnames under this subscription", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "hostname", + "in": "query", + "description": "Specific hostname", + "required": false, + "type": "string" + } + ], + "responses": { + "200": { + "description": "The request has succeeded.", + "schema": { + "$ref": "#/definitions/CustomHostnameSitesCollection" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "Get custom hostnames under subscription": { + "$ref": "./examples/ListCustomHostNameSites.json" + }, + "Get specific custom hostname under subscription": { + "$ref": "./examples/ListCustomSpecificHostNameSites.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Web/deletedSites": { + "get": { + "operationId": "DeletedWebApps_List", + "tags": [ + "Global" + ], + "summary": "Get all deleted apps for a subscription.", + "description": "Description for Get all deleted apps for a subscription.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/DeletedWebAppCollection" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Web/deletedSites/{deletedSiteId}": { + "get": { + "operationId": "Global_GetDeletedWebApp", + "tags": [ + "Global" + ], + "summary": "Get deleted app for a subscription.", + "description": "Description for Get deleted app for a subscription.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "deletedSiteId", + "in": "path", + "description": "The numeric ID of the deleted app, e.g. 12345", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/DeletedSite" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "Get Deleted Web App": { + "$ref": "./examples/GetDeletedWebApp.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Web/deletedSites/{deletedSiteId}/snapshots": { + "get": { + "operationId": "Global_GetDeletedWebAppSnapshots", + "tags": [ + "Global" + ], + "summary": "Get all deleted apps for a subscription.", + "description": "Description for Get all deleted apps for a subscription.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "deletedSiteId", + "in": "path", + "description": "The numeric ID of the deleted app, e.g. 12345", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "type": "array", + "items": { + "$ref": "#/definitions/Snapshot" + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "Get Deleted Web App Snapshots": { + "$ref": "./examples/GetDeletedWebAppSnapshots.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Web/deploymentLocations": { + "get": { + "operationId": "GetSubscriptionDeploymentLocations", + "summary": "Gets list of available geo regions plus ministamps", + "description": "Description for Gets list of available geo regions plus ministamps", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "The request has succeeded.", + "schema": { + "$ref": "#/definitions/DeploymentLocations" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Web/geoRegions": { + "get": { + "operationId": "ListGeoRegions", + "summary": "Get a list of available geographical regions.", + "description": "Description for Get a list of available geographical regions.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "sku", + "in": "query", + "description": "Name of SKU used to filter the regions.", + "required": false, + "type": "string", + "enum": [ + "Free", + "Shared", + "Basic", + "Standard", + "Premium", + "Dynamic", + "Isolated", + "IsolatedV2", + "PremiumV2", + "PremiumV3", + "PremiumContainer", + "ElasticPremium", + "ElasticIsolated", + "FlexConsumption" + ], + "x-ms-enum": { + "name": "SkuName", + "modelAsString": true, + "values": [ + { + "name": "Free", + "value": "Free" + }, + { + "name": "Shared", + "value": "Shared" + }, + { + "name": "Basic", + "value": "Basic" + }, + { + "name": "Standard", + "value": "Standard" + }, + { + "name": "Premium", + "value": "Premium" + }, + { + "name": "Dynamic", + "value": "Dynamic" + }, + { + "name": "Isolated", + "value": "Isolated" + }, + { + "name": "IsolatedV2", + "value": "IsolatedV2" + }, + { + "name": "PremiumV2", + "value": "PremiumV2" + }, + { + "name": "PremiumV3", + "value": "PremiumV3" + }, + { + "name": "PremiumContainer", + "value": "PremiumContainer" + }, + { + "name": "ElasticPremium", + "value": "ElasticPremium" + }, + { + "name": "ElasticIsolated", + "value": "ElasticIsolated" + }, + { + "name": "FlexConsumption", + "value": "FlexConsumption" + } + ] + } + }, + { + "name": "linuxWorkersEnabled", + "in": "query", + "description": "Specify true if you want to filter to only regions that support Linux workers.", + "required": false, + "type": "boolean" + }, + { + "name": "xenonWorkersEnabled", + "in": "query", + "description": "Specify true if you want to filter to only regions that support Xenon workers.", + "required": false, + "type": "boolean" + }, + { + "name": "linuxDynamicWorkersEnabled", + "in": "query", + "description": "Specify true if you want to filter to only regions that support Linux Consumption Workers.", + "required": false, + "type": "boolean" + }, + { + "name": "customModeWorkersEnabled", + "in": "query", + "description": "Specify true if you want to filter to only regions that support App Service Plans with IsCustomMode set to true.", + "required": false, + "type": "boolean" + } + ], + "responses": { + "200": { + "description": "The request has succeeded.", + "schema": { + "$ref": "#/definitions/GeoRegionCollection" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Web/hostingEnvironments": { + "get": { + "operationId": "AppServiceEnvironments_List", + "tags": [ + "AppServiceEnvironmentResources" + ], + "summary": "Get all App Service Environments for a subscription.", + "description": "Description for Get all App Service Environments for a subscription.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/AppServiceEnvironmentCollection" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "Get all App Service Environments for a subscription.": { + "$ref": "./examples/AppServiceEnvironments_List.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Web/kubeEnvironments": { + "get": { + "operationId": "KubeEnvironments_ListBySubscription", + "tags": [ + "KubeEnvironments" + ], + "summary": "Get all Kubernetes Environments for a subscription.", + "description": "Description for Get all Kubernetes Environments for a subscription.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/KubeEnvironmentCollection" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "List kube environments by subscription": { + "$ref": "./examples/KubeEnvironments_ListBySubscription.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Web/listSitesAssignedToHostName": { + "post": { + "operationId": "ListSiteIdentifiersAssignedToHostName", + "summary": "List all apps that are assigned to a hostname.", + "description": "Description for List all apps that are assigned to a hostname.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "nameIdentifier", + "in": "body", + "description": "The request body", + "required": true, + "schema": { + "$ref": "#/definitions/NameIdentifier" + } + } + ], + "responses": { + "200": { + "description": "The request has succeeded.", + "schema": { + "$ref": "#/definitions/IdentifierCollection" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Web/locations/{location}/checknameavailability": { + "post": { + "operationId": "RegionalCheckNameAvailability", + "summary": "Check if a resource name is available for DNL sites.", + "description": "Check if a resource name is available for DNL sites.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/LocationParameter" + }, + { + "name": "request", + "in": "body", + "description": "The request body", + "required": true, + "schema": { + "$ref": "#/definitions/DnlResourceNameAvailabilityRequest" + } + } + ], + "responses": { + "200": { + "description": "The request has succeeded.", + "schema": { + "$ref": "#/definitions/DnlResourceNameAvailability" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Web/locations/{location}/deletedSites": { + "get": { + "operationId": "DeletedWebApps_ListByLocation", + "tags": [ + "DeletedSites" + ], + "summary": "Get all deleted apps for a subscription at location", + "description": "Description for Get all deleted apps for a subscription at location", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/LocationParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/DeletedWebAppCollection" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "List Deleted Web App by Location": { + "$ref": "./examples/ListDeletedWebAppsByLocation.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Web/locations/{location}/deletedSites/{deletedSiteId}": { + "get": { + "operationId": "DeletedWebApps_GetDeletedWebAppByLocation", + "tags": [ + "DeletedSites" + ], + "summary": "Get deleted app for a subscription at location.", + "description": "Description for Get deleted app for a subscription at location.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/LocationParameter" + }, + { + "name": "deletedSiteId", + "in": "path", + "description": "The numeric ID of the deleted app, e.g. 12345", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/DeletedSite" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "Get Deleted Web App by Location": { + "$ref": "./examples/GetDeletedWebAppByLocation.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Web/locations/{location}/operations/{operationId}": { + "get": { + "operationId": "Global_GetSubscriptionOperationWithAsyncResponse", + "summary": "Gets an operation in a subscription and given region", + "description": "Description for Gets an operation in a subscription and given region", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/LocationParameter" + }, + { + "name": "operationId", + "in": "path", + "description": "Operation Id", + "required": true, + "type": "string" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "204": { + "description": "There is no content to send for this request, but the headers may be useful." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "Gets an operation in a subscription and given region": { + "$ref": "./examples/GetSubscriptionOperationWithAsyncResponse.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Web/locations/{location}/previewStaticSiteWorkflowFile": { + "post": { + "operationId": "StaticSites_PreviewWorkflow", + "summary": "Generates a preview workflow file for the static site", + "description": "Description for Generates a preview workflow file for the static site", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/LocationParameter" + }, + { + "name": "staticSitesWorkflowPreviewRequest", + "in": "body", + "description": "The request body", + "required": true, + "schema": { + "$ref": "#/definitions/StaticSitesWorkflowPreviewRequest" + } + } + ], + "responses": { + "200": { + "description": "The request has succeeded.", + "schema": { + "$ref": "#/definitions/StaticSitesWorkflowPreview" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "Generates a preview workflow file for the static site": { + "$ref": "./examples/GenerateStaticSiteWorkflowPreview.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Web/locations/{location}/usages": { + "get": { + "operationId": "GetUsagesInLocation_list", + "summary": "Lists subscription core usages for all skus used in a location, for a given type of quota.", + "description": "List usages in cores for all skus used by a subscription in a given location, for a specific quota type.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/LocationParameter" + } + ], + "responses": { + "200": { + "description": "The request has succeeded.", + "schema": { + "$ref": "#/definitions/CsmUsageQuotaCollection" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "Get usages in location for subscription": { + "$ref": "./examples/GetUsagesInLocation.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Web/premieraddonoffers": { + "get": { + "operationId": "ListPremierAddOnOffers", + "summary": "List all premier add-on offers.", + "description": "Description for List all premier add-on offers.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "The request has succeeded.", + "schema": { + "$ref": "#/definitions/PremierAddOnOfferCollection" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Web/recommendations": { + "get": { + "operationId": "Recommendations_List", + "summary": "List all recommendations for a subscription.", + "description": "Description for List all recommendations for a subscription.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "featured", + "in": "query", + "description": "Specify true to return only the most critical recommendations. The default is false, which returns all recommendations.", + "required": false, + "type": "boolean" + }, + { + "name": "$filter", + "in": "query", + "description": "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]", + "required": false, + "type": "string" + } + ], + "responses": { + "200": { + "description": "The request has succeeded.", + "schema": { + "$ref": "#/definitions/RecommendationCollection" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Web/recommendations/{name}/disable": { + "post": { + "operationId": "Recommendations_DisableRecommendationForSubscription", + "summary": "Disables the specified rule so it will not apply to a subscription in the future.", + "description": "Description for Disables the specified rule so it will not apply to a subscription in the future.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "name", + "in": "path", + "description": "Rule name", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "The request has succeeded." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Web/recommendations/reset": { + "post": { + "operationId": "Recommendations_ResetAllFilters", + "summary": "Reset all recommendation opt-out settings for a subscription.", + "description": "Description for Reset all recommendation opt-out settings for a subscription.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "204": { + "description": "There is no content to send for this request, but the headers may be useful. " + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Web/resourceHealthMetadata": { + "get": { + "operationId": "ResourceHealthMetadata_List", + "summary": "List all ResourceHealthMetadata for all sites in the subscription.", + "description": "Description for List all ResourceHealthMetadata for all sites in the subscription.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "The request has succeeded.", + "schema": { + "$ref": "#/definitions/ResourceHealthMetadataCollection" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "List ResourceHealthMetadata for a subscription": { + "$ref": "./examples/ListResourceHealthMetadataBySubscription.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Web/serverfarms": { + "get": { + "operationId": "AppServicePlans_List", + "tags": [ + "AppServicePlans" + ], + "summary": "Get all App Service plans for a subscription.", + "description": "Description for Get all App Service plans for a subscription.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "detailed", + "in": "query", + "description": "Specify true to return all App Service plan properties. The default is false, which returns a subset of the properties.\nRetrieval of all properties may increase the API latency.", + "required": false, + "type": "boolean" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/AppServicePlanCollection" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "List App Service plans": { + "$ref": "./examples/ListAppServicePlans.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Web/sites": { + "get": { + "operationId": "WebApps_List", + "tags": [ + "Sites" + ], + "summary": "Get all apps for a subscription.", + "description": "Description for Get all apps for a subscription.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/WebAppCollection" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "List Web apps for subscription": { + "$ref": "./examples/ListWebApps.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Web/skus": { + "get": { + "operationId": "ListSkus", + "summary": "List all SKUs.", + "description": "Description for List all SKUs.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "The request has succeeded.", + "schema": { + "$ref": "#/definitions/SkuInfos" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Web/staticSites": { + "get": { + "operationId": "StaticSites_List", + "tags": [ + "StaticSiteARMResources" + ], + "summary": "Get all Static Sites for a subscription.", + "description": "Description for Get all Static Sites for a subscription.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/StaticSiteCollection" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "Get all static sites in a subscription": { + "$ref": "./examples/GetAllStaticSites.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Web/verifyHostingEnvironmentVnet": { + "post": { + "operationId": "VerifyHostingEnvironmentVnet", + "summary": "Verifies if this VNET is compatible with an App Service Environment by analyzing the Network Security Group rules.", + "description": "Description for Verifies if this VNET is compatible with an App Service Environment by analyzing the Network Security Group rules.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "parameters", + "in": "body", + "description": "The request body", + "required": true, + "schema": { + "$ref": "#/definitions/VnetParameters" + } + } + ], + "responses": { + "200": { + "description": "The request has succeeded.", + "schema": { + "$ref": "#/definitions/VnetValidationFailureDetails" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "VerifyHostingEnvironmentVnet": { + "$ref": "./examples/VerifyHostingEnvironmentVnet.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/moveResources": { + "post": { + "operationId": "Move", + "summary": "Move resources between resource groups.", + "description": "Description for Move resources between resource groups.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "moveResourceEnvelope", + "in": "body", + "description": "Object that represents the resource to move.", + "required": true, + "schema": { + "$ref": "#/definitions/CsmMoveResourceEnvelope" + } + } + ], + "responses": { + "204": { + "description": "There is no content to send for this request, but the headers may be useful." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/certificates": { + "get": { + "operationId": "Certificates_ListByResourceGroup", + "tags": [ + "Certificates" + ], + "summary": "Get all certificates in a resource group.", + "description": "Description for Get all certificates in a resource group.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/CertificateCollection" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "List Certificates by resource group": { + "$ref": "./examples/ListCertificatesByResourceGroup.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/certificates/{name}": { + "get": { + "operationId": "Certificates_Get", + "tags": [ + "Certificates" + ], + "summary": "Get a certificate.", + "description": "Description for Get a certificate.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the certificate.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/Certificate" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "Get Certificate": { + "$ref": "./examples/GetCertificate.json" + } + } + }, + "put": { + "operationId": "Certificates_CreateOrUpdate", + "tags": [ + "Certificates" + ], + "summary": "Create or update a certificate.", + "description": "Description for Create or update a certificate.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the certificate.", + "required": true, + "type": "string" + }, + { + "name": "certificateEnvelope", + "in": "body", + "description": "Details of certificate, if it exists already.", + "required": true, + "schema": { + "$ref": "#/definitions/Certificate" + } + } + ], + "responses": { + "200": { + "description": "Resource 'Certificate' update operation succeeded", + "schema": { + "$ref": "#/definitions/Certificate" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "Create Or Update Certificate": { + "$ref": "./examples/CreateOrUpdateCertificate.json" + } + } + }, + "patch": { + "operationId": "Certificates_Update", + "tags": [ + "Certificates" + ], + "summary": "Create or update a certificate.", + "description": "Description for Create or update a certificate.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the certificate.", + "required": true, + "type": "string" + }, + { + "name": "certificateEnvelope", + "in": "body", + "description": "Details of certificate, if it exists already.", + "required": true, + "schema": { + "$ref": "#/definitions/CertificatePatchResource" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/Certificate" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "Patch Certificate": { + "$ref": "./examples/PatchCertificate.json" + } + } + }, + "delete": { + "operationId": "Certificates_Delete", + "tags": [ + "Certificates" + ], + "summary": "Delete a certificate.", + "description": "Description for Delete a certificate.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the certificate.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Resource deleted successfully." + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "Delete Certificate": { + "$ref": "./examples/DeleteCertificate.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments": { + "get": { + "operationId": "AppServiceEnvironments_ListByResourceGroup", + "tags": [ + "AppServiceEnvironmentResources" + ], + "summary": "Get all App Service Environments in a resource group.", + "description": "Description for Get all App Service Environments in a resource group.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/AppServiceEnvironmentCollection" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "Get all App Service Environments in a resource group.": { + "$ref": "./examples/AppServiceEnvironments_ListByResourceGroup.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}": { + "get": { + "operationId": "AppServiceEnvironments_Get", + "tags": [ + "AppServiceEnvironmentResources" + ], + "summary": "Get the properties of an App Service Environment.", + "description": "Description for Get the properties of an App Service Environment.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the App Service Environment.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/AppServiceEnvironmentResource" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "Get the properties of an App Service Environment.": { + "$ref": "./examples/AppServiceEnvironments_Get.json" + } + } + }, + "put": { + "operationId": "AppServiceEnvironments_CreateOrUpdate", + "tags": [ + "AppServiceEnvironmentResources" + ], + "summary": "Create or update an App Service Environment.", + "description": "Description for Create or update an App Service Environment.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the App Service Environment.", + "required": true, + "type": "string" + }, + { + "name": "hostingEnvironmentEnvelope", + "in": "body", + "description": "Configuration details of the App Service Environment.", + "required": true, + "schema": { + "$ref": "#/definitions/AppServiceEnvironmentResource" + } + } + ], + "responses": { + "200": { + "description": "Resource 'AppServiceEnvironmentResource' update operation succeeded", + "schema": { + "$ref": "#/definitions/AppServiceEnvironmentResource" + } + }, + "201": { + "description": "Resource 'AppServiceEnvironmentResource' create operation succeeded", + "schema": { + "$ref": "#/definitions/AppServiceEnvironmentResource" + }, + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "202": { + "description": "The request has been accepted for processing, but processing has not yet completed.", + "schema": { + "$ref": "#/definitions/AppServiceEnvironmentResource" + }, + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "Create or update an App Service Environment.": { + "$ref": "./examples/AppServiceEnvironments_CreateOrUpdate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "#/definitions/AppServiceEnvironmentResource" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "AppServiceEnvironments_Update", + "tags": [ + "AppServiceEnvironmentResources" + ], + "summary": "Create or update an App Service Environment.", + "description": "Description for Create or update an App Service Environment.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the App Service Environment.", + "required": true, + "type": "string" + }, + { + "name": "hostingEnvironmentEnvelope", + "in": "body", + "description": "Configuration details of the App Service Environment.", + "required": true, + "schema": { + "$ref": "#/definitions/AppServiceEnvironmentPatchResource" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/AppServiceEnvironmentResource" + } + }, + "201": { + "description": "Resource 'AppServiceEnvironmentResource' create operation succeeded", + "schema": { + "$ref": "#/definitions/AppServiceEnvironmentResource" + } + }, + "202": { + "description": "The request has been accepted for processing, but processing has not yet completed.", + "schema": { + "$ref": "#/definitions/AppServiceEnvironmentResource" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "Create or update an App Service Environment.": { + "$ref": "./examples/AppServiceEnvironments_Update.json" + } + } + }, + "delete": { + "operationId": "AppServiceEnvironments_Delete", + "tags": [ + "AppServiceEnvironmentResources" + ], + "summary": "Delete an App Service Environment.", + "description": "Description for Delete an App Service Environment.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the App Service Environment.", + "required": true, + "type": "string" + }, + { + "name": "forceDelete", + "in": "query", + "description": "Specify true to force the deletion even if the App Service Environment contains resources. The default is false.", + "required": false, + "type": "boolean" + } + ], + "responses": { + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "Delete an App Service Environment.": { + "$ref": "./examples/AppServiceEnvironments_Delete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/capacities/compute": { + "get": { + "operationId": "AppServiceEnvironments_ListCapacities", + "tags": [ + "AppServiceEnvironmentResources" + ], + "summary": "Get the used, available, and total worker capacity an App Service Environment.", + "description": "Description for Get the used, available, and total worker capacity an App Service Environment.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the App Service Environment.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/StampCapacityCollection" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "Get the used, available, and total worker capacity an App Service Environment.": { + "$ref": "./examples/AppServiceEnvironments_ListCapacities.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/capacities/virtualip": { + "get": { + "operationId": "AppServiceEnvironments_GetVipInfo", + "tags": [ + "AddressResponses" + ], + "summary": "Get IP addresses assigned to an App Service Environment.", + "description": "Description for Get IP addresses assigned to an App Service Environment.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the App Service Environment.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/AddressResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "Get IP addresses assigned to an App Service Environment.": { + "$ref": "./examples/AppServiceEnvironments_GetVipInfo.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/changeVirtualNetwork": { + "post": { + "operationId": "AppServiceEnvironments_ChangeVnet", + "tags": [ + "AppServiceEnvironmentResources" + ], + "summary": "Move an App Service Environment to a different VNET.", + "description": "Description for Move an App Service Environment to a different VNET.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the App Service Environment.", + "required": true, + "type": "string" + }, + { + "name": "vnetInfo", + "in": "body", + "description": "Details for the new virtual network.", + "required": true, + "schema": { + "$ref": "#/definitions/VirtualNetworkProfile" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/WebAppCollection" + } + }, + "202": { + "description": "The request has been accepted for processing, but processing has not yet completed.", + "schema": { + "$ref": "#/definitions/WebAppCollection" + }, + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "Move an App Service Environment to a different VNET.": { + "$ref": "./examples/AppServiceEnvironments_ChangeVnet.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "#/definitions/WebAppCollection" + }, + "x-ms-long-running-operation": true, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/configurations/customdnssuffix": { + "get": { + "operationId": "AppServiceEnvironments_GetAseCustomDnsSuffixConfiguration", + "tags": [ + "CustomDnsSuffixConfigurations" + ], + "summary": "Get Custom Dns Suffix configuration of an App Service Environment", + "description": "Get Custom Dns Suffix configuration of an App Service Environment", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the App Service Environment.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/CustomDnsSuffixConfiguration" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "Get ASE custom DNS suffix configuration": { + "$ref": "./examples/GetAseCustomDnsSuffixConfiguration.json" + } + } + }, + "put": { + "operationId": "AppServiceEnvironments_UpdateAseCustomDnsSuffixConfiguration", + "tags": [ + "CustomDnsSuffixConfigurations" + ], + "summary": "Update Custom Dns Suffix configuration of an App Service Environment", + "description": "Update Custom Dns Suffix configuration of an App Service Environment", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the App Service Environment.", + "required": true, + "type": "string" + }, + { + "name": "customDnsSuffixConfiguration", + "in": "body", + "description": "", + "required": true, + "schema": { + "$ref": "#/definitions/CustomDnsSuffixConfiguration" + } + } + ], + "responses": { + "200": { + "description": "Resource 'CustomDnsSuffixConfiguration' update operation succeeded", + "schema": { + "$ref": "#/definitions/CustomDnsSuffixConfiguration" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "Update ASE custom DNS suffix configuration": { + "$ref": "./examples/UpdateAseCustomDnsSuffixConfiguration.json" + } + } + }, + "delete": { + "operationId": "AppServiceEnvironments_DeleteAseCustomDnsSuffixConfiguration", + "tags": [ + "CustomDnsSuffixConfigurations" + ], + "summary": "Delete Custom Dns Suffix configuration of an App Service Environment", + "description": "Delete Custom Dns Suffix configuration of an App Service Environment", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the App Service Environment.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": {} + }, + "204": { + "description": "There is no content to send for this request, but the headers may be useful. ", + "schema": {} + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "Delete ASE custom DNS suffix configuration": { + "$ref": "./examples/DeleteAseCustomDnsSuffixConfiguration.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/configurations/networking": { + "get": { + "operationId": "AppServiceEnvironments_GetAseV3NetworkingConfiguration", + "tags": [ + "AseV3NetworkingConfigurations" + ], + "summary": "Get networking configuration of an App Service Environment", + "description": "Description for Get networking configuration of an App Service Environment", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the App Service Environment.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/AseV3NetworkingConfiguration" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "Get networking configuration of an App Service Environment.": { + "$ref": "./examples/AppServiceEnvironments_GetAseV3NetworkingConfiguration.json" + } + } + }, + "put": { + "operationId": "AppServiceEnvironments_UpdateAseNetworkingConfiguration", + "tags": [ + "AseV3NetworkingConfigurations" + ], + "summary": "Update networking configuration of an App Service Environment", + "description": "Description for Update networking configuration of an App Service Environment", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the App Service Environment.", + "required": true, + "type": "string" + }, + { + "name": "aseNetworkingConfiguration", + "in": "body", + "description": "", + "required": true, + "schema": { + "$ref": "#/definitions/AseV3NetworkingConfiguration" + } + } + ], + "responses": { + "200": { + "description": "Resource 'AseV3NetworkingConfiguration' update operation succeeded", + "schema": { + "$ref": "#/definitions/AseV3NetworkingConfiguration" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "Update networking configuration of an App Service Environment.": { + "$ref": "./examples/AppServiceEnvironments_UpdateAseNetworkingConfiguration.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/detectors": { + "get": { + "operationId": "Diagnostics_ListHostingEnvironmentDetectorResponses", + "tags": [ + "DetectorResponses" + ], + "summary": "List Hosting Environment Detector Responses", + "description": "Description for List Hosting Environment Detector Responses", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "App Service Environment Name", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/DetectorResponseCollection" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "Get App Service Environment Detector Responses": { + "$ref": "./examples/Diagnostics_ListHostingEnvironmentDetectorResponses.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/detectors/{detectorName}": { + "get": { + "operationId": "Diagnostics_GetHostingEnvironmentDetectorResponse", + "tags": [ + "DetectorResponses" + ], + "summary": "Get Hosting Environment Detector Response", + "description": "Description for Get Hosting Environment Detector Response", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "App Service Environment Name", + "required": true, + "type": "string" + }, + { + "name": "detectorName", + "in": "path", + "description": "Detector Resource Name", + "required": true, + "type": "string" + }, + { + "name": "startTime", + "in": "query", + "description": "Start Time", + "required": false, + "type": "string", + "format": "date-time" + }, + { + "name": "endTime", + "in": "query", + "description": "End Time", + "required": false, + "type": "string", + "format": "date-time" + }, + { + "name": "timeGrain", + "in": "query", + "description": "Time Grain", + "required": false, + "type": "string", + "pattern": "PT[1-9][0-9]+[SMH]" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/DetectorResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "Get App Service Environment Detector Responses": { + "$ref": "./examples/Diagnostics_GetHostingEnvironmentDetectorResponse.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/diagnostics": { + "get": { + "operationId": "AppServiceEnvironments_ListDiagnostics", + "tags": [ + "AppServiceEnvironmentResources" + ], + "summary": "Get diagnostic information for an App Service Environment.", + "description": "Description for Get diagnostic information for an App Service Environment.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the App Service Environment.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "type": "array", + "items": { + "$ref": "#/definitions/HostingEnvironmentDiagnostics" + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "Get diagnostic information for an App Service Environment.": { + "$ref": "./examples/AppServiceEnvironments_ListDiagnostics.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/inboundNetworkDependenciesEndpoints": { + "get": { + "operationId": "AppServiceEnvironments_GetInboundNetworkDependenciesEndpoints", + "tags": [ + "AppServiceEnvironmentResources" + ], + "summary": "Get the network endpoints of all inbound dependencies of an App Service Environment.", + "description": "Description for Get the network endpoints of all inbound dependencies of an App Service Environment.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the App Service Environment.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/InboundEnvironmentEndpointCollection" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "Get the network endpoints of all inbound dependencies of an App Service Environment.": { + "$ref": "./examples/GetInboundNetworkDependenciesEndpoints.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/multiRolePools": { + "get": { + "operationId": "AppServiceEnvironments_ListMultiRolePools", + "tags": [ + "WorkerPoolResources" + ], + "summary": "Get all multi-role pools.", + "description": "Description for Get all multi-role pools.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the App Service Environment.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/WorkerPoolCollection" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "Get all multi-role pools.": { + "$ref": "./examples/AppServiceEnvironments_ListMultiRolePools.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/multiRolePools/default": { + "get": { + "operationId": "AppServiceEnvironments_GetMultiRolePool", + "tags": [ + "WorkerPoolResources" + ], + "summary": "Get properties of a multi-role pool.", + "description": "Description for Get properties of a multi-role pool.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the App Service Environment.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/WorkerPoolResource" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "Get properties of a multi-role pool.": { + "$ref": "./examples/AppServiceEnvironments_GetMultiRolePool.json" + } + } + }, + "put": { + "operationId": "AppServiceEnvironments_CreateOrUpdateMultiRolePool", + "tags": [ + "WorkerPoolResources" + ], + "summary": "Create or update a multi-role pool.", + "description": "Description for Create or update a multi-role pool.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the App Service Environment.", + "required": true, + "type": "string" + }, + { + "name": "multiRolePoolEnvelope", + "in": "body", + "description": "Properties of the multi-role pool.", + "required": true, + "schema": { + "$ref": "#/definitions/WorkerPoolResource" + } + } + ], + "responses": { + "200": { + "description": "Resource 'WorkerPoolResource' update operation succeeded", + "schema": { + "$ref": "#/definitions/WorkerPoolResource" + } + }, + "202": { + "description": "The request has been accepted for processing, but processing has not yet completed.", + "schema": { + "$ref": "#/definitions/WorkerPoolResource" + }, + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "Create or update a multi-role pool.": { + "$ref": "./examples/AppServiceEnvironments_CreateOrUpdateMultiRolePool.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "#/definitions/WorkerPoolResource" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "AppServiceEnvironments_UpdateMultiRolePool", + "tags": [ + "WorkerPoolResources" + ], + "summary": "Create or update a multi-role pool.", + "description": "Description for Create or update a multi-role pool.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the App Service Environment.", + "required": true, + "type": "string" + }, + { + "name": "multiRolePoolEnvelope", + "in": "body", + "description": "Properties of the multi-role pool.", + "required": true, + "schema": { + "$ref": "#/definitions/WorkerPoolResource" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/WorkerPoolResource" + } + }, + "202": { + "description": "The request has been accepted for processing, but processing has not yet completed.", + "schema": { + "$ref": "#/definitions/WorkerPoolResource" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "Create or update a multi-role pool.": { + "$ref": "./examples/AppServiceEnvironments_CreateOrUpdateMultiRolePool_UpdateMultiRolePool.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/multiRolePools/default/metricdefinitions": { + "get": { + "operationId": "AppServiceEnvironments_ListMultiRoleMetricDefinitions", + "tags": [ + "WorkerPoolResources" + ], + "summary": "Get metric definitions for a multi-role pool of an App Service Environment.", + "description": "Description for Get metric definitions for a multi-role pool of an App Service Environment.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the App Service Environment.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ResourceMetricDefinitionCollection" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "Get metric definitions for a multi-role pool of an App Service Environment.": { + "$ref": "./examples/AppServiceEnvironments_ListMultiRoleMetricDefinitions.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/multiRolePools/default/skus": { + "get": { + "operationId": "AppServiceEnvironments_ListMultiRolePoolSkus", + "tags": [ + "WorkerPoolResources" + ], + "summary": "Get available SKUs for scaling a multi-role pool.", + "description": "Description for Get available SKUs for scaling a multi-role pool.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the App Service Environment.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/SkuInfoCollection" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "Get available SKUs for scaling a multi-role pool.": { + "$ref": "./examples/AppServiceEnvironments_ListMultiRolePoolSkus.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/multiRolePools/default/usages": { + "get": { + "operationId": "AppServiceEnvironments_ListMultiRoleUsages", + "tags": [ + "WorkerPoolResources" + ], + "summary": "Get usage metrics for a multi-role pool of an App Service Environment.", + "description": "Description for Get usage metrics for a multi-role pool of an App Service Environment.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the App Service Environment.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/UsageCollection" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "Get usage metrics for a multi-role pool of an App Service Environment.": { + "$ref": "./examples/AppServiceEnvironments_ListMultiRoleUsages.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/operations": { + "get": { + "operationId": "AppServiceEnvironments_ListOperations", + "tags": [ + "AppServiceEnvironmentResources" + ], + "summary": "List all currently running operations on the App Service Environment.", + "description": "Description for List all currently running operations on the App Service Environment.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the App Service Environment.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "type": "array", + "items": { + "$ref": "#/definitions/Operation" + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "List all currently running operations on the App Service Environment.": { + "$ref": "./examples/AppServiceEnvironments_ListOperations.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/outboundNetworkDependenciesEndpoints": { + "get": { + "operationId": "AppServiceEnvironments_GetOutboundNetworkDependenciesEndpoints", + "tags": [ + "AppServiceEnvironmentResources" + ], + "summary": "Get the network endpoints of all outbound dependencies of an App Service Environment.", + "description": "Description for Get the network endpoints of all outbound dependencies of an App Service Environment.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the App Service Environment.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/OutboundEnvironmentEndpointCollection" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "Get the network endpoints of all outbound dependencies of an App Service Environment.": { + "$ref": "./examples/GetOutboundNetworkDependenciesEndpoints.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/privateEndpointConnections": { + "get": { + "operationId": "AppServiceEnvironments_GetPrivateEndpointConnectionList", + "tags": [ + "RemotePrivateEndpointConnectionARMResources" + ], + "summary": "Gets the list of private endpoints associated with a hosting environment", + "description": "Description for Gets the list of private endpoints associated with a hosting environment", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the App Service Environment.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/PrivateEndpointConnectionCollection" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "Gets the list of private endpoints associated with a hosting environment.": { + "$ref": "./examples/AppServiceEnvironments_GetPrivateEndpointConnectionList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/privateEndpointConnections/{privateEndpointConnectionName}": { + "get": { + "operationId": "AppServiceEnvironments_GetPrivateEndpointConnection", + "tags": [ + "RemotePrivateEndpointConnectionARMResources" + ], + "summary": "Gets a private endpoint connection", + "description": "Description for Gets a private endpoint connection", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the App Service Environment.", + "required": true, + "type": "string" + }, + { + "name": "privateEndpointConnectionName", + "in": "path", + "description": "Name of the private endpoint connection.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/RemotePrivateEndpointConnectionARMResource" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "Gets a private endpoint connection.": { + "$ref": "./examples/AppServiceEnvironments_GetPrivateEndpointConnection.json" + } + } + }, + "put": { + "operationId": "AppServiceEnvironments_ApproveOrRejectPrivateEndpointConnection", + "tags": [ + "RemotePrivateEndpointConnectionARMResources" + ], + "summary": "Approves or rejects a private endpoint connection", + "description": "Description for Approves or rejects a private endpoint connection", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the App Service Environment.", + "required": true, + "type": "string" + }, + { + "name": "privateEndpointConnectionName", + "in": "path", + "description": "Name of the private endpoint connection.", + "required": true, + "type": "string" + }, + { + "name": "privateEndpointWrapper", + "in": "body", + "description": "", + "required": true, + "schema": { + "$ref": "#/definitions/RemotePrivateEndpointConnectionARMResource" + } + } + ], + "responses": { + "200": { + "description": "Resource 'RemotePrivateEndpointConnectionARMResource' update operation succeeded", + "schema": { + "$ref": "#/definitions/RemotePrivateEndpointConnectionARMResource" + } + }, + "202": { + "description": "The request has been accepted for processing, but processing has not yet completed.", + "schema": { + "$ref": "#/definitions/RemotePrivateEndpointConnectionARMResource" + }, + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "Approves or rejects a private endpoint connection.": { + "$ref": "./examples/AppServiceEnvironments_ApproveOrRejectPrivateEndpointConnection.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "#/definitions/RemotePrivateEndpointConnectionARMResource" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "AppServiceEnvironments_DeletePrivateEndpointConnection", + "tags": [ + "RemotePrivateEndpointConnectionARMResources" + ], + "summary": "Deletes a private endpoint connection", + "description": "Description for Deletes a private endpoint connection", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the App Service Environment.", + "required": true, + "type": "string" + }, + { + "name": "privateEndpointConnectionName", + "in": "path", + "description": "Name of the private endpoint connection.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": {} + }, + "202": { + "description": "The request has been accepted for processing, but processing has not yet completed.", + "schema": {}, + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "There is no content to send for this request, but the headers may be useful. ", + "schema": {} + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "Deletes a private endpoint connection.": { + "$ref": "./examples/AppServiceEnvironments_DeletePrivateEndpointConnection.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/privateLinkResources": { + "get": { + "operationId": "AppServiceEnvironments_GetPrivateLinkResources", + "tags": [ + "AppServiceEnvironmentResources" + ], + "summary": "Gets the private link resources", + "description": "Description for Gets the private link resources", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the App Service Environment.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/PrivateLinkResourcesWrapper" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "Gets the private link resources.": { + "$ref": "./examples/AppServiceEnvironments_GetPrivateLinkResources.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/reboot": { + "post": { + "operationId": "AppServiceEnvironments_Reboot", + "tags": [ + "AppServiceEnvironmentResources" + ], + "summary": "Reboot all machines in an App Service Environment.", + "description": "Description for Reboot all machines in an App Service Environment.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the App Service Environment.", + "required": true, + "type": "string" + } + ], + "responses": { + "202": { + "description": "The request has been accepted for processing, but processing has not yet completed." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "Reboot all machines in an App Service Environment.": { + "$ref": "./examples/AppServiceEnvironments_Reboot.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{hostingEnvironmentName}/recommendationHistory": { + "get": { + "operationId": "Recommendations_ListHistoryForHostingEnvironment", + "tags": [ + "AppServiceEnvironmentResources" + ], + "summary": "Get past recommendations for an app, optionally specified by the time range.", + "description": "Description for Get past recommendations for an app, optionally specified by the time range.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "expiredOnly", + "in": "query", + "description": "Specify false to return all recommendations. The default is true, which returns only expired recommendations.", + "required": false, + "type": "boolean" + }, + { + "name": "$filter", + "in": "query", + "description": "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]", + "required": false, + "type": "string" + }, + { + "name": "hostingEnvironmentName", + "in": "path", + "description": "Name of the App Service Environment.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/RecommendationCollection" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{hostingEnvironmentName}/recommendations": { + "get": { + "operationId": "Recommendations_ListRecommendedRulesForHostingEnvironment", + "tags": [ + "AppServiceEnvironmentResources" + ], + "summary": "Get all recommendations for a hosting environment.", + "description": "Description for Get all recommendations for a hosting environment.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "featured", + "in": "query", + "description": "Specify true to return only the most critical recommendations. The default is false, which returns all recommendations.", + "required": false, + "type": "boolean" + }, + { + "name": "$filter", + "in": "query", + "description": "Return only channels specified in the filter. Filter is specified by using OData syntax. Example: $filter=channel eq 'Api' or channel eq 'Notification'", + "required": false, + "type": "string" + }, + { + "name": "hostingEnvironmentName", + "in": "path", + "description": "Name of the App Service Environment.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/RecommendationCollection" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{hostingEnvironmentName}/recommendations/{name}": { + "get": { + "operationId": "Recommendations_GetRuleDetailsByHostingEnvironment", + "tags": [ + "RecommendationRules" + ], + "summary": "Get a recommendation rule for an app.", + "description": "Description for Get a recommendation rule for an app.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "hostingEnvironmentName", + "in": "path", + "description": "Name of the hosting environment.", + "required": true, + "type": "string" + }, + { + "name": "name", + "in": "path", + "description": "Name of the recommendation.", + "required": true, + "type": "string" + }, + { + "name": "updateSeen", + "in": "query", + "description": "Specify true to update the last-seen timestamp of the recommendation object.", + "required": false, + "type": "boolean" + }, + { + "name": "recommendationId", + "in": "query", + "description": "The GUID of the recommendation object if you query an expired one. You don't need to specify it to query an active entry.", + "required": false, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/RecommendationRule" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{hostingEnvironmentName}/recommendations/{name}/disable": { + "post": { + "operationId": "Recommendations_DisableRecommendationForHostingEnvironment", + "tags": [ + "RecommendationRules" + ], + "summary": "Disables the specific rule for a web site permanently.", + "description": "Description for Disables the specific rule for a web site permanently.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "hostingEnvironmentName", + "in": "path", + "description": "Name of the hosting environment.", + "required": true, + "type": "string" + }, + { + "name": "name", + "in": "path", + "description": "Name of the recommendation.", + "required": true, + "type": "string" + }, + { + "name": "environmentName", + "in": "query", + "description": "Site name", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{hostingEnvironmentName}/recommendations/disable": { + "post": { + "operationId": "Recommendations_DisableAllForHostingEnvironment", + "tags": [ + "AppServiceEnvironmentResources" + ], + "summary": "Disable all recommendations for an app.", + "description": "Description for Disable all recommendations for an app.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "environmentName", + "in": "query", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "hostingEnvironmentName", + "in": "path", + "description": "Name of the App Service Environment.", + "required": true, + "type": "string" + } + ], + "responses": { + "204": { + "description": "There is no content to send for this request, but the headers may be useful." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{hostingEnvironmentName}/recommendations/reset": { + "post": { + "operationId": "Recommendations_ResetAllFiltersForHostingEnvironment", + "tags": [ + "AppServiceEnvironmentResources" + ], + "summary": "Reset all recommendation opt-out settings for an app.", + "description": "Description for Reset all recommendation opt-out settings for an app.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "environmentName", + "in": "query", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "hostingEnvironmentName", + "in": "path", + "description": "Name of the App Service Environment.", + "required": true, + "type": "string" + } + ], + "responses": { + "204": { + "description": "There is no content to send for this request, but the headers may be useful." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/resume": { + "post": { + "operationId": "AppServiceEnvironments_Resume", + "tags": [ + "AppServiceEnvironmentResources" + ], + "summary": "Resume an App Service Environment.", + "description": "Description for Resume an App Service Environment.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the App Service Environment.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/WebAppCollection" + } + }, + "202": { + "description": "The request has been accepted for processing, but processing has not yet completed.", + "schema": { + "$ref": "#/definitions/WebAppCollection" + }, + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "Resume an App Service Environment.": { + "$ref": "./examples/AppServiceEnvironments_Resume.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "#/definitions/WebAppCollection" + }, + "x-ms-long-running-operation": true, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/serverfarms": { + "get": { + "operationId": "AppServiceEnvironments_ListAppServicePlans", + "tags": [ + "AppServiceEnvironmentResources" + ], + "summary": "Get all App Service plans in an App Service Environment.", + "description": "Description for Get all App Service plans in an App Service Environment.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the App Service Environment.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/AppServicePlanCollection" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "Get all App Service plans in an App Service Environment.": { + "$ref": "./examples/AppServiceEnvironments_ListAppServicePlans.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/sites": { + "get": { + "operationId": "AppServiceEnvironments_ListWebApps", + "tags": [ + "AppServiceEnvironmentResources" + ], + "summary": "Get all apps in an App Service Environment.", + "description": "Description for Get all apps in an App Service Environment.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the App Service Environment.", + "required": true, + "type": "string" + }, + { + "name": "propertiesToInclude", + "in": "query", + "description": "Comma separated list of app properties to include.", + "required": false, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/WebAppCollection" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "Get all apps in an App Service Environment.": { + "$ref": "./examples/AppServiceEnvironments_ListWebApps.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/suspend": { + "post": { + "operationId": "AppServiceEnvironments_Suspend", + "tags": [ + "AppServiceEnvironmentResources" + ], + "summary": "Suspend an App Service Environment.", + "description": "Description for Suspend an App Service Environment.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the App Service Environment.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/WebAppCollection" + } + }, + "202": { + "description": "The request has been accepted for processing, but processing has not yet completed.", + "schema": { + "$ref": "#/definitions/WebAppCollection" + }, + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "Suspend an App Service Environment.": { + "$ref": "./examples/AppServiceEnvironments_Suspend.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "#/definitions/WebAppCollection" + }, + "x-ms-long-running-operation": true, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/testUpgradeAvailableNotification": { + "post": { + "operationId": "AppServiceEnvironments_TestUpgradeAvailableNotification", + "tags": [ + "AppServiceEnvironmentResources" + ], + "summary": "Send a test notification that an upgrade is available for this App Service Environment.", + "description": "Send a test notification that an upgrade is available for this App Service Environment.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the App Service Environment.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "Send a test notification that an upgrade is available for this App Service Environment": { + "$ref": "./examples/AppServiceEnvironments_TestUpgradeAvailableNotification.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/upgrade": { + "post": { + "operationId": "AppServiceEnvironments_Upgrade", + "tags": [ + "AppServiceEnvironmentResources" + ], + "summary": "Initiate an upgrade of an App Service Environment if one is available.", + "description": "Description for Initiate an upgrade of an App Service Environment if one is available.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the App Service Environment.", + "required": true, + "type": "string" + } + ], + "responses": { + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "Initiate an upgrade on an App Service Environment": { + "$ref": "./examples/AppServiceEnvironments_Upgrade.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/usages": { + "get": { + "operationId": "AppServiceEnvironments_ListUsages", + "tags": [ + "AppServiceEnvironmentResources" + ], + "summary": "Get global usage metrics of an App Service Environment.", + "description": "Description for Get global usage metrics of an App Service Environment.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the App Service Environment.", + "required": true, + "type": "string" + }, + { + "name": "$filter", + "in": "query", + "description": "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]'.", + "required": false, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/CsmUsageQuotaCollection" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "Get global usage metrics of an App Service Environment.": { + "$ref": "./examples/AppServiceEnvironments_ListUsages.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/workerPools": { + "get": { + "operationId": "AppServiceEnvironments_ListWorkerPools", + "tags": [ + "AppServiceEnvironments" + ], + "summary": "Get all worker pools of an App Service Environment.", + "description": "Description for Get all worker pools of an App Service Environment.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the App Service Environment.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/WorkerPoolCollection" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "Get all worker pools of an App Service Environment.": { + "$ref": "./examples/AppServiceEnvironments_ListWorkerPools.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/workerPools/{workerPoolName}": { + "get": { + "operationId": "AppServiceEnvironments_GetWorkerPool", + "tags": [ + "AppServiceEnvironments" + ], + "summary": "Get properties of a worker pool.", + "description": "Description for Get properties of a worker pool.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the App Service Environment.", + "required": true, + "type": "string" + }, + { + "name": "workerPoolName", + "in": "path", + "description": "Name of the worker pool.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/WorkerPoolResource" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "Get properties of a worker pool.": { + "$ref": "./examples/AppServiceEnvironments_GetWorkerPool.json" + } + } + }, + "put": { + "operationId": "AppServiceEnvironments_CreateOrUpdateWorkerPool", + "tags": [ + "AppServiceEnvironments" + ], + "summary": "Create or update a worker pool.", + "description": "Description for Create or update a worker pool.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the App Service Environment.", + "required": true, + "type": "string" + }, + { + "name": "workerPoolName", + "in": "path", + "description": "Name of the worker pool.", + "required": true, + "type": "string" + }, + { + "name": "workerPoolEnvelope", + "in": "body", + "description": "Properties of the worker pool.", + "required": true, + "schema": { + "$ref": "#/definitions/WorkerPoolResource" + } + } + ], + "responses": { + "200": { + "description": "Resource 'WorkerPoolResource' update operation succeeded", + "schema": { + "$ref": "#/definitions/WorkerPoolResource" + } + }, + "202": { + "description": "The request has been accepted for processing, but processing has not yet completed.", + "schema": { + "$ref": "#/definitions/WorkerPoolResource" + }, + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "Get properties of a worker pool.": { + "$ref": "./examples/AppServiceEnvironments_CreateOrUpdateWorkerPool_CreateOrUpdateWorkerPool.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "#/definitions/WorkerPoolResource" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "AppServiceEnvironments_UpdateWorkerPool", + "tags": [ + "AppServiceEnvironments" + ], + "summary": "Create or update a worker pool.", + "description": "Description for Create or update a worker pool.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the App Service Environment.", + "required": true, + "type": "string" + }, + { + "name": "workerPoolName", + "in": "path", + "description": "Name of the worker pool.", + "required": true, + "type": "string" + }, + { + "name": "workerPoolEnvelope", + "in": "body", + "description": "Properties of the worker pool.", + "required": true, + "schema": { + "$ref": "#/definitions/WorkerPoolResource" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/WorkerPoolResource" + } + }, + "202": { + "description": "The request has been accepted for processing, but processing has not yet completed.", + "schema": { + "$ref": "#/definitions/WorkerPoolResource" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "Get properties of a worker pool.": { + "$ref": "./examples/AppServiceEnvironments_CreateOrUpdateWorkerPool.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/workerPools/{workerPoolName}/metricdefinitions": { + "get": { + "operationId": "AppServiceEnvironments_ListWebWorkerMetricDefinitions", + "tags": [ + "AppServiceEnvironments" + ], + "summary": "Get metric definitions for a worker pool of an App Service Environment.", + "description": "Description for Get metric definitions for a worker pool of an App Service Environment.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the App Service Environment.", + "required": true, + "type": "string" + }, + { + "name": "workerPoolName", + "in": "path", + "description": "Name of the worker pool.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ResourceMetricDefinitionCollection" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "Get metric definitions for a worker pool of an App Service Environment.": { + "$ref": "./examples/AppServiceEnvironments_ListWebWorkerMetricDefinitions.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/workerPools/{workerPoolName}/skus": { + "get": { + "operationId": "AppServiceEnvironments_ListWorkerPoolSkus", + "tags": [ + "AppServiceEnvironments" + ], + "summary": "Get available SKUs for scaling a worker pool.", + "description": "Description for Get available SKUs for scaling a worker pool.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the App Service Environment.", + "required": true, + "type": "string" + }, + { + "name": "workerPoolName", + "in": "path", + "description": "Name of the worker pool.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/SkuInfoCollection" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "Get available SKUs for scaling a worker pool.": { + "$ref": "./examples/AppServiceEnvironments_ListWorkerPoolSkus.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/workerPools/{workerPoolName}/usages": { + "get": { + "operationId": "AppServiceEnvironments_ListWebWorkerUsages", + "tags": [ + "AppServiceEnvironments" + ], + "summary": "Get usage metrics for a worker pool of an App Service Environment.", + "description": "Description for Get usage metrics for a worker pool of an App Service Environment.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the App Service Environment.", + "required": true, + "type": "string" + }, + { + "name": "workerPoolName", + "in": "path", + "description": "Name of the worker pool.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/UsageCollection" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "Get usage metrics for a worker pool of an App Service Environment.": { + "$ref": "./examples/AppServiceEnvironments_ListWebWorkerUsages.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/kubeEnvironments": { + "get": { + "operationId": "KubeEnvironments_ListByResourceGroup", + "tags": [ + "KubeEnvironments" + ], + "summary": "Get all the Kubernetes Environments in a resource group.", + "description": "Description for Get all the Kubernetes Environments in a resource group.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/KubeEnvironmentCollection" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "List kube environments by resource group": { + "$ref": "./examples/KubeEnvironments_ListByResourceGroup.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/kubeEnvironments/{name}": { + "get": { + "operationId": "KubeEnvironments_Get", + "tags": [ + "KubeEnvironments" + ], + "summary": "Get the properties of a Kubernetes Environment.", + "description": "Description for Get the properties of a Kubernetes Environment.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the Kubernetes Environment.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/KubeEnvironment" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "Get kube environments by name": { + "$ref": "./examples/KubeEnvironments_Get.json" + } + } + }, + "put": { + "operationId": "KubeEnvironments_CreateOrUpdate", + "tags": [ + "KubeEnvironments" + ], + "summary": "Creates or updates a Kubernetes Environment.", + "description": "Description for Creates or updates a Kubernetes Environment.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the Kubernetes Environment.", + "required": true, + "type": "string" + }, + { + "name": "kubeEnvironmentEnvelope", + "in": "body", + "description": "Configuration details of the Kubernetes Environment.", + "required": true, + "schema": { + "$ref": "#/definitions/KubeEnvironment" + } + } + ], + "responses": { + "200": { + "description": "Resource 'KubeEnvironment' update operation succeeded", + "schema": { + "$ref": "#/definitions/KubeEnvironment" + } + }, + "201": { + "description": "Resource 'KubeEnvironment' create operation succeeded", + "schema": { + "$ref": "#/definitions/KubeEnvironment" + }, + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "Create kube environments": { + "$ref": "./examples/KubeEnvironments_CreateOrUpdate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "#/definitions/KubeEnvironment" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "KubeEnvironments_Update", + "tags": [ + "KubeEnvironments" + ], + "summary": "Creates or updates a Kubernetes Environment.", + "description": "Description for Creates or updates a Kubernetes Environment.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the Kubernetes Environment.", + "required": true, + "type": "string" + }, + { + "name": "kubeEnvironmentEnvelope", + "in": "body", + "description": "Configuration details of the Kubernetes Environment.", + "required": true, + "schema": { + "$ref": "#/definitions/KubeEnvironmentPatchResource" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/KubeEnvironment" + } + }, + "201": { + "description": "Resource 'KubeEnvironment' create operation succeeded", + "schema": { + "$ref": "#/definitions/KubeEnvironment" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "Update kube environments": { + "$ref": "./examples/KubeEnvironments_Update.json" + } + } + }, + "delete": { + "operationId": "KubeEnvironments_Delete", + "tags": [ + "KubeEnvironments" + ], + "summary": "Delete a Kubernetes Environment.", + "description": "Description for Delete a Kubernetes Environment.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the Kubernetes Environment.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Resource deleted successfully." + }, + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "Delete kube environment by name": { + "$ref": "./examples/KubeEnvironments_Delete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/resourceHealthMetadata": { + "get": { + "operationId": "ResourceHealthMetadata_ListByResourceGroup", + "summary": "List all ResourceHealthMetadata for all sites in the resource group in the subscription.", + "description": "Description for List all ResourceHealthMetadata for all sites in the resource group in the subscription.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ResourceHealthMetadataCollection" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "List ResourceHealthMetadata for a resource group": { + "$ref": "./examples/ListResourceHealthMetadataByResourceGroup.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms": { + "get": { + "operationId": "AppServicePlans_ListByResourceGroup", + "tags": [ + "AppServicePlans" + ], + "summary": "Get all App Service plans in a resource group.", + "description": "Description for Get all App Service plans in a resource group.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/AppServicePlanCollection" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "List App Service plans by resource group": { + "$ref": "./examples/ListAppServicePlansByResourceGroup.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}": { + "get": { + "operationId": "AppServicePlans_Get", + "tags": [ + "AppServicePlans" + ], + "summary": "Get an App Service plan.", + "description": "Description for Get an App Service plan.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the App Service plan.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/AppServicePlan" + } + }, + "404": { + "description": "The server cannot find the requested resource.", + "x-ms-error-response": true + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "Get App Service plan": { + "$ref": "./examples/GetAppServicePlan.json" + } + } + }, + "put": { + "operationId": "AppServicePlans_CreateOrUpdate", + "tags": [ + "AppServicePlans" + ], + "summary": "Creates or updates an App Service Plan.", + "description": "Description for Creates or updates an App Service Plan.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the App Service plan.", + "required": true, + "type": "string" + }, + { + "name": "appServicePlan", + "in": "body", + "description": "Details of the App Service plan.", + "required": true, + "schema": { + "$ref": "#/definitions/AppServicePlan" + } + } + ], + "responses": { + "200": { + "description": "Resource 'AppServicePlan' update operation succeeded", + "schema": { + "$ref": "#/definitions/AppServicePlan" + } + }, + "202": { + "description": "The request has been accepted for processing, but processing has not yet completed.", + "schema": { + "$ref": "#/definitions/AppServicePlan" + }, + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "Create Or Update App Service plan": { + "$ref": "./examples/CreateOrUpdateAppServicePlan.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "#/definitions/AppServicePlan" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "AppServicePlans_Update", + "tags": [ + "AppServicePlans" + ], + "summary": "Creates or updates an App Service Plan.", + "description": "Description for Creates or updates an App Service Plan.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the App Service plan.", + "required": true, + "type": "string" + }, + { + "name": "appServicePlan", + "in": "body", + "description": "Details of the App Service plan.", + "required": true, + "schema": { + "$ref": "#/definitions/AppServicePlanPatchResource" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/AppServicePlan" + } + }, + "202": { + "description": "The request has been accepted for processing, but processing has not yet completed.", + "schema": { + "$ref": "#/definitions/AppServicePlan" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "Patch Service plan": { + "$ref": "./examples/PatchAppServicePlan.json" + } + } + }, + "delete": { + "operationId": "AppServicePlans_Delete", + "tags": [ + "AppServicePlans" + ], + "summary": "Delete an App Service plan.", + "description": "Description for Delete an App Service plan.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the App Service plan.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Resource deleted successfully." + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "Delete App Service plan": { + "$ref": "./examples/DeleteAppServicePlan.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/capabilities": { + "get": { + "operationId": "AppServicePlans_ListCapabilities", + "tags": [ + "AppServicePlans" + ], + "summary": "List all capabilities of an App Service plan.", + "description": "Description for List all capabilities of an App Service plan.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the App Service plan.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "type": "array", + "items": { + "$ref": "#/definitions/Capability" + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/getrdppassword": { + "post": { + "operationId": "AppServicePlans_GetServerFarmRdpPassword", + "tags": [ + "AppServicePlans" + ], + "summary": "Get the RDP password for an IsCustomMode ServerFarm.", + "description": "Description for Get the RDP password for an IsCustomMode ServerFarm.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the App Service plan.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ServerFarmRdpDetails" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/hybridConnectionNamespaces/{namespaceName}/relays/{relayName}": { + "get": { + "operationId": "AppServicePlans_GetHybridConnection", + "tags": [ + "HybridConnections" + ], + "summary": "Retrieve a Hybrid Connection in use in an App Service plan.", + "description": "Description for Retrieve a Hybrid Connection in use in an App Service plan.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the App Service plan.", + "required": true, + "type": "string" + }, + { + "name": "namespaceName", + "in": "path", + "description": "Name of the Service Bus namespace.", + "required": true, + "type": "string" + }, + { + "name": "relayName", + "in": "path", + "description": "Name of the Service Bus relay.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/HybridConnection" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + }, + "delete": { + "operationId": "AppServicePlans_DeleteHybridConnection", + "tags": [ + "HybridConnections" + ], + "summary": "Delete a Hybrid Connection in use in an App Service plan.", + "description": "Description for Delete a Hybrid Connection in use in an App Service plan.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the App Service plan.", + "required": true, + "type": "string" + }, + { + "name": "namespaceName", + "in": "path", + "description": "Name of the Service Bus namespace.", + "required": true, + "type": "string" + }, + { + "name": "relayName", + "in": "path", + "description": "Name of the Service Bus relay.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Resource deleted successfully." + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/hybridConnectionNamespaces/{namespaceName}/relays/{relayName}/listKeys": { + "post": { + "operationId": "AppServicePlans_ListHybridConnectionKeys", + "tags": [ + "HybridConnections" + ], + "summary": "Get the send key name and value of a Hybrid Connection.", + "description": "Description for Get the send key name and value of a Hybrid Connection.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the App Service plan.", + "required": true, + "type": "string" + }, + { + "name": "namespaceName", + "in": "path", + "description": "Name of the Service Bus namespace.", + "required": true, + "type": "string" + }, + { + "name": "relayName", + "in": "path", + "description": "Name of the Service Bus relay.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/HybridConnectionKey" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/hybridConnectionNamespaces/{namespaceName}/relays/{relayName}/sites": { + "get": { + "operationId": "AppServicePlans_ListWebAppsByHybridConnection", + "tags": [ + "HybridConnections" + ], + "summary": "Get all apps that use a Hybrid Connection in an App Service Plan.", + "description": "Description for Get all apps that use a Hybrid Connection in an App Service Plan.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the App Service plan.", + "required": true, + "type": "string" + }, + { + "name": "namespaceName", + "in": "path", + "description": "Name of the Service Bus namespace.", + "required": true, + "type": "string" + }, + { + "name": "relayName", + "in": "path", + "description": "Name of the Service Bus relay.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ResourceCollection" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/hybridConnectionPlanLimits/limit": { + "get": { + "operationId": "AppServicePlans_GetHybridConnectionPlanLimit", + "tags": [ + "HybridConnectionLimitsOperationGroup" + ], + "summary": "Get the maximum number of Hybrid Connections allowed in an App Service plan.", + "description": "Description for Get the maximum number of Hybrid Connections allowed in an App Service plan.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the App Service plan.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/HybridConnectionLimits" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/hybridConnectionRelays": { + "get": { + "operationId": "AppServicePlans_ListHybridConnections", + "tags": [ + "AppServicePlans" + ], + "summary": "Retrieve all Hybrid Connections in use in an App Service plan.", + "description": "Description for Retrieve all Hybrid Connections in use in an App Service plan.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the App Service plan.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/HybridConnectionCollection" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/listinstances": { + "post": { + "operationId": "AppServicePlans_GetServerFarmInstanceDetails", + "tags": [ + "AppServicePlans" + ], + "summary": "Get the instance details for an app service plan.", + "description": "Description for Get the instance details for an app service plan.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the App Service plan.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ServerFarmInstanceDetails" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/restartSites": { + "post": { + "operationId": "AppServicePlans_RestartWebApps", + "tags": [ + "AppServicePlans" + ], + "summary": "Restart all apps in an App Service plan.", + "description": "Description for Restart all apps in an App Service plan.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the App Service plan.", + "required": true, + "type": "string" + }, + { + "name": "softRestart", + "in": "query", + "description": "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", + "required": false, + "type": "boolean" + } + ], + "responses": { + "204": { + "description": "There is no content to send for this request, but the headers may be useful." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/sites": { + "get": { + "operationId": "AppServicePlans_ListWebApps", + "tags": [ + "AppServicePlans" + ], + "summary": "Get all apps associated with an App Service plan.", + "description": "Description for Get all apps associated with an App Service plan.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the App Service plan.", + "required": true, + "type": "string" + }, + { + "name": "$skipToken", + "in": "query", + "description": "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", + "required": false, + "type": "string" + }, + { + "name": "$filter", + "in": "query", + "description": "Supported filter: $filter=state eq running. Returns only web apps that are currently running", + "required": false, + "type": "string" + }, + { + "name": "$top", + "in": "query", + "description": "List page size. If specified, results are paged.", + "required": false, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/WebAppCollection" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/skus": { + "get": { + "operationId": "AppServicePlans_GetServerFarmSkus", + "tags": [ + "AppServicePlans" + ], + "summary": "Gets all selectable SKUs for a given App Service Plan", + "description": "Description for Gets all selectable SKUs for a given App Service Plan", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the App Service plan.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": {} + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/usages": { + "get": { + "operationId": "AppServicePlans_ListUsages", + "tags": [ + "AppServicePlans" + ], + "summary": "Gets server farm usage information", + "description": "Description for Gets server farm usage information", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the App Service plan.", + "required": true, + "type": "string" + }, + { + "name": "$filter", + "in": "query", + "description": "Return only usages/metrics specified in the filter. Filter conforms to odata syntax. Example: $filter=(name.value eq 'Metric1' or name.value eq 'Metric2').", + "required": false, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/CsmUsageQuotaCollection" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/virtualNetworkConnections": { + "get": { + "operationId": "AppServicePlans_ListVnets", + "tags": [ + "VnetInfoResources" + ], + "summary": "Get all Virtual Networks associated with an App Service plan.", + "description": "Description for Get all Virtual Networks associated with an App Service plan.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the App Service plan.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "type": "array", + "items": { + "$ref": "#/definitions/VnetInfoResource" + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/virtualNetworkConnections/{vnetName}": { + "get": { + "operationId": "AppServicePlans_GetVnetFromServerFarm", + "tags": [ + "VnetInfoResources" + ], + "summary": "Get a Virtual Network associated with an App Service plan.", + "description": "Description for Get a Virtual Network associated with an App Service plan.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the App Service plan.", + "required": true, + "type": "string" + }, + { + "name": "vnetName", + "in": "path", + "description": "Name of the Virtual Network.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/VnetInfoResource" + } + }, + "404": { + "description": "The server cannot find the requested resource.", + "x-ms-error-response": true + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/virtualNetworkConnections/{vnetName}/gateways/{gatewayName}": { + "get": { + "operationId": "AppServicePlans_GetVnetGateway", + "tags": [ + "VnetGateways" + ], + "summary": "Get a Virtual Network gateway.", + "description": "Description for Get a Virtual Network gateway.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the App Service plan.", + "required": true, + "type": "string" + }, + { + "name": "vnetName", + "in": "path", + "description": "Name of the Virtual Network.", + "required": true, + "type": "string" + }, + { + "name": "gatewayName", + "in": "path", + "description": "Name of the gateway. Only the 'primary' gateway is supported.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/VnetGateway" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + }, + "put": { + "operationId": "AppServicePlans_UpdateVnetGateway", + "tags": [ + "VnetGateways" + ], + "summary": "Update a Virtual Network gateway.", + "description": "Description for Update a Virtual Network gateway.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the App Service plan.", + "required": true, + "type": "string" + }, + { + "name": "vnetName", + "in": "path", + "description": "Name of the Virtual Network.", + "required": true, + "type": "string" + }, + { + "name": "gatewayName", + "in": "path", + "description": "Name of the gateway. Only the 'primary' gateway is supported.", + "required": true, + "type": "string" + }, + { + "name": "connectionEnvelope", + "in": "body", + "description": "Definition of the gateway.", + "required": true, + "schema": { + "$ref": "#/definitions/VnetGateway" + } + } + ], + "responses": { + "200": { + "description": "Resource 'VnetGateway' update operation succeeded", + "schema": { + "$ref": "#/definitions/VnetGateway" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/virtualNetworkConnections/{vnetName}/routes": { + "get": { + "operationId": "AppServicePlans_ListRoutesForVnet", + "tags": [ + "VnetRoutes" + ], + "summary": "Get all routes that are associated with a Virtual Network in an App Service plan.", + "description": "Description for Get all routes that are associated with a Virtual Network in an App Service plan.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the App Service plan.", + "required": true, + "type": "string" + }, + { + "name": "vnetName", + "in": "path", + "description": "Name of the Virtual Network.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "type": "array", + "items": { + "$ref": "#/definitions/VnetRoute" + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/virtualNetworkConnections/{vnetName}/routes/{routeName}": { + "get": { + "operationId": "AppServicePlans_GetRouteForVnet", + "tags": [ + "VnetRoutes" + ], + "summary": "Get a Virtual Network route in an App Service plan.", + "description": "Description for Get a Virtual Network route in an App Service plan.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the App Service plan.", + "required": true, + "type": "string" + }, + { + "name": "vnetName", + "in": "path", + "description": "Name of the Virtual Network.", + "required": true, + "type": "string" + }, + { + "name": "routeName", + "in": "path", + "description": "Name of the Virtual Network route.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "type": "array", + "items": { + "$ref": "#/definitions/VnetRoute" + } + } + }, + "404": { + "description": "The server cannot find the requested resource.", + "x-ms-error-response": true + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + }, + "put": { + "operationId": "AppServicePlans_CreateOrUpdateVnetRoute", + "tags": [ + "VnetRoutes" + ], + "summary": "Create or update a Virtual Network route in an App Service plan.", + "description": "Description for Create or update a Virtual Network route in an App Service plan.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the App Service plan.", + "required": true, + "type": "string" + }, + { + "name": "vnetName", + "in": "path", + "description": "Name of the Virtual Network.", + "required": true, + "type": "string" + }, + { + "name": "routeName", + "in": "path", + "description": "Name of the Virtual Network route.", + "required": true, + "type": "string" + }, + { + "name": "route", + "in": "body", + "description": "Definition of the Virtual Network route.", + "required": true, + "schema": { + "$ref": "#/definitions/VnetRoute" + } + } + ], + "responses": { + "200": { + "description": "Resource 'VnetRoute' update operation succeeded", + "schema": { + "$ref": "#/definitions/VnetRoute" + } + }, + "400": { + "description": "The server could not understand the request due to invalid syntax.", + "x-ms-error-response": true + }, + "404": { + "description": "The server cannot find the requested resource.", + "x-ms-error-response": true + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + }, + "patch": { + "operationId": "AppServicePlans_UpdateVnetRoute", + "tags": [ + "VnetRoutes" + ], + "summary": "Create or update a Virtual Network route in an App Service plan.", + "description": "Description for Create or update a Virtual Network route in an App Service plan.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the App Service plan.", + "required": true, + "type": "string" + }, + { + "name": "vnetName", + "in": "path", + "description": "Name of the Virtual Network.", + "required": true, + "type": "string" + }, + { + "name": "routeName", + "in": "path", + "description": "Name of the Virtual Network route.", + "required": true, + "type": "string" + }, + { + "name": "route", + "in": "body", + "description": "Definition of the Virtual Network route.", + "required": true, + "schema": { + "$ref": "#/definitions/VnetRoute" + } + } + ], + "responses": { + "200": { + "description": "Resource 'VnetRoute' update operation succeeded", + "schema": { + "$ref": "#/definitions/VnetRoute" + } + }, + "400": { + "description": "The server could not understand the request due to invalid syntax.", + "x-ms-error-response": true + }, + "404": { + "description": "The server cannot find the requested resource.", + "x-ms-error-response": true + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + }, + "delete": { + "operationId": "AppServicePlans_DeleteVnetRoute", + "tags": [ + "VnetRoutes" + ], + "summary": "Delete a Virtual Network route in an App Service plan.", + "description": "Description for Delete a Virtual Network route in an App Service plan.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the App Service plan.", + "required": true, + "type": "string" + }, + { + "name": "vnetName", + "in": "path", + "description": "Name of the Virtual Network.", + "required": true, + "type": "string" + }, + { + "name": "routeName", + "in": "path", + "description": "Name of the Virtual Network route.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Resource deleted successfully." + }, + "404": { + "description": "The server cannot find the requested resource.", + "x-ms-error-response": true + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites": { + "get": { + "operationId": "WebApps_ListByResourceGroup", + "tags": [ + "WebApps" + ], + "summary": "Gets all web, mobile, and API apps in the specified resource group.", + "description": "Description for Gets all web, mobile, and API apps in the specified resource group.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "includeSlots", + "in": "query", + "description": "Specify true to include deployment slots in results. The default is false, which only gives you the production slot of all apps.", + "required": false, + "type": "boolean" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/WebAppCollection" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "List Web Apps by Resource group": { + "$ref": "./examples/ListWebAppsByResourceGroup.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}": { + "get": { + "operationId": "WebApps_Get", + "tags": [ + "Sites" + ], + "summary": "Gets the details of a web, mobile, or API app.", + "description": "Description for Gets the details of a web, mobile, or API app.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/Site" + } + }, + "404": { + "description": "The server cannot find the requested resource.", + "x-ms-error-response": true + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "Get Web App": { + "$ref": "./examples/GetWebApp.json" + } + } + }, + "put": { + "operationId": "WebApps_CreateOrUpdate", + "tags": [ + "Sites" + ], + "summary": "Creates a new web, mobile, or API app in an existing resource group, or updates an existing app.", + "description": "Description for Creates a new web, mobile, or API app in an existing resource group, or updates an existing app.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "siteEnvelope", + "in": "body", + "description": "A JSON representation of the app properties. See example.", + "required": true, + "schema": { + "$ref": "#/definitions/Site" + } + } + ], + "responses": { + "200": { + "description": "Resource 'Site' update operation succeeded", + "schema": { + "$ref": "#/definitions/Site" + } + }, + "202": { + "description": "The request has been accepted for processing, but processing has not yet completed.", + "schema": { + "$ref": "#/definitions/Site" + }, + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "Clone web app": { + "$ref": "./examples/CloneWebApp.json" + }, + "Create or Update Flex Consumption function app": { + "$ref": "./examples/CreateOrUpdateFunctionAppFlexConsumption.json" + }, + "Create or Update Flex Consumption function app with details": { + "$ref": "./examples/CreateOrUpdateFunctionAppFlexConsumptionWithDetails.json" + }, + "Create or Update web app": { + "$ref": "./examples/CreateOrUpdateWebApp.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "#/definitions/Site" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "WebApps_Update", + "tags": [ + "Sites" + ], + "summary": "Creates a new web, mobile, or API app in an existing resource group, or updates an existing app.", + "description": "Description for Creates a new web, mobile, or API app in an existing resource group, or updates an existing app.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "siteEnvelope", + "in": "body", + "description": "A JSON representation of the app properties. See example.", + "required": true, + "schema": { + "$ref": "#/definitions/SitePatchResource" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/Site" + } + }, + "202": { + "description": "The request has been accepted for processing, but processing has not yet completed.", + "schema": { + "$ref": "#/definitions/Site" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "Update web app": { + "$ref": "./examples/UpdateWebApp.json" + } + } + }, + "delete": { + "operationId": "WebApps_Delete", + "tags": [ + "Sites" + ], + "summary": "Deletes a web, mobile, or API app, or one of the deployment slots.", + "description": "Description for Deletes a web, mobile, or API app, or one of the deployment slots.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "deleteMetrics", + "in": "query", + "description": "If true, web app metrics are also deleted.", + "required": false, + "type": "boolean" + }, + { + "name": "deleteEmptyServerFarm", + "in": "query", + "description": "Specify false if you want to keep empty App Service plan. By default, empty App Service plan is deleted.", + "required": false, + "type": "boolean" + } + ], + "responses": { + "200": { + "description": "The request has succeeded." + }, + "204": { + "description": "There is no content to send for this request, but the headers may be useful." + }, + "404": { + "description": "The server cannot find the requested resource.", + "x-ms-error-response": true + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "Delete Web app": { + "$ref": "./examples/DeleteWebApp.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/analyzeCustomHostname": { + "get": { + "operationId": "WebApps_AnalyzeCustomHostname", + "tags": [ + "Sites" + ], + "summary": "Analyze a custom hostname.", + "description": "Description for Analyze a custom hostname.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "hostName", + "in": "query", + "description": "Custom hostname.", + "required": false, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/CustomHostnameAnalysisResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "Analyze custom hostname for webapp.": { + "$ref": "./examples/AnalyzeCustomHostName.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/applySlotConfig": { + "post": { + "operationId": "WebApps_ApplySlotConfigToProduction", + "tags": [ + "Sites" + ], + "summary": "Applies the configuration settings from the target slot onto the current slot.", + "description": "Description for Applies the configuration settings from the target slot onto the current slot.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "slotSwapEntity", + "in": "body", + "description": "JSON object that contains the target slot name. See example.", + "required": true, + "schema": { + "$ref": "#/definitions/CsmSlotEntity" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "Apply web app slot config": { + "$ref": "./examples/ApplySlotConfig.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/backup": { + "post": { + "operationId": "WebApps_Backup", + "tags": [ + "Sites" + ], + "summary": "Creates a backup of an app.", + "description": "Description for Creates a backup of an app.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "request", + "in": "body", + "description": "Backup configuration. You can use the JSON response from the POST action as input here.", + "required": true, + "schema": { + "$ref": "#/definitions/BackupRequest" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/BackupItem" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "Backup web app": { + "$ref": "./examples/BackupWebApp.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/backups": { + "get": { + "operationId": "WebApps_ListBackups", + "tags": [ + "BackupItems" + ], + "summary": "Gets existing backups of an app.", + "description": "Description for Gets existing backups of an app.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/BackupItemCollection" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "List web app backups": { + "$ref": "./examples/ListWebAppBackups.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/backups/{backupId}": { + "get": { + "operationId": "WebApps_GetBackupStatus", + "tags": [ + "BackupItems" + ], + "summary": "Gets a backup of an app by its ID.", + "description": "Description for Gets a backup of an app by its ID.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "backupId", + "in": "path", + "description": "ID of the backup.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/BackupItem" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "Get web app backup": { + "$ref": "./examples/GetWebAppBackup.json" + } + } + }, + "delete": { + "operationId": "WebApps_DeleteBackup", + "tags": [ + "BackupItems" + ], + "summary": "Deletes a backup of an app by its ID.", + "description": "Description for Deletes a backup of an app by its ID.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "backupId", + "in": "path", + "description": "ID of the backup.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Resource deleted successfully." + }, + "404": { + "description": "The server cannot find the requested resource.", + "x-ms-error-response": true + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "Delete web app backup": { + "$ref": "./examples/DeleteWebAppBackup.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/backups/{backupId}/list": { + "post": { + "operationId": "WebApps_ListBackupStatusSecrets", + "tags": [ + "BackupItems" + ], + "summary": "Gets status of a web app backup that may be in progress, including secrets associated with the backup, such as the Azure Storage SAS URL. Also can be used to update the SAS URL for the backup if a new URL is passed in the request body.", + "description": "Description for Gets status of a web app backup that may be in progress, including secrets associated with the backup, such as the Azure Storage SAS URL. Also can be used to update the SAS URL for the backup if a new URL is passed in the request body.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "backupId", + "in": "path", + "description": "ID of the backup.", + "required": true, + "type": "string" + }, + { + "name": "request", + "in": "body", + "description": "Information on backup request.", + "required": true, + "schema": { + "$ref": "#/definitions/BackupRequest" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/BackupItem" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "Get web app backup with secrets": { + "$ref": "./examples/GetWebAppBackupWithSecrets.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/backups/{backupId}/restore": { + "post": { + "operationId": "WebApps_Restore", + "tags": [ + "BackupItems" + ], + "summary": "Restores a specific backup to another app (or deployment slot, if specified).", + "description": "Description for Restores a specific backup to another app (or deployment slot, if specified).", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "backupId", + "in": "path", + "description": "ID of the backup.", + "required": true, + "type": "string" + }, + { + "name": "request", + "in": "body", + "description": "Information on restore request .", + "required": true, + "schema": { + "$ref": "#/definitions/RestoreRequest" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully." + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "Restore web app from backup": { + "$ref": "./examples/RestoreWebAppBackup.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/basicPublishingCredentialsPolicies": { + "get": { + "operationId": "WebApps_ListBasicPublishingCredentialsPolicies", + "tags": [ + "CsmPublishingCredentialsPoliciesEntities" + ], + "summary": "Returns whether Scm basic auth is allowed and whether Ftp is allowed for a given site.", + "description": "Description for Returns whether Scm basic auth is allowed and whether Ftp is allowed for a given site.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/PublishingCredentialsPoliciesCollection" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "List Publishing Credentials Policies": { + "$ref": "./examples/ListPublishingCredentialsPolicies.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/basicPublishingCredentialsPolicies/ftp": { + "get": { + "operationId": "WebApps_GetFtpAllowed", + "tags": [ + "CsmPublishingCredentialsPoliciesEntities" + ], + "summary": "Returns whether FTP is allowed on the site or not.", + "description": "Description for Returns whether FTP is allowed on the site or not.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/CsmPublishingCredentialsPoliciesEntity" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "Get FTP Allowed": { + "$ref": "./examples/GetPublishingCredentialsPolicy_GetFtpAllowed.json" + } + } + }, + "put": { + "operationId": "WebApps_UpdateFtpAllowed", + "tags": [ + "CsmPublishingCredentialsPoliciesEntities" + ], + "summary": "Updates whether FTP is allowed on the site or not.", + "description": "Description for Updates whether FTP is allowed on the site or not.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "csmPublishingAccessPoliciesEntity", + "in": "body", + "description": "", + "required": true, + "schema": { + "$ref": "#/definitions/CsmPublishingCredentialsPoliciesEntity" + } + } + ], + "responses": { + "200": { + "description": "Resource 'CsmPublishingCredentialsPoliciesEntity' update operation succeeded", + "schema": { + "$ref": "#/definitions/CsmPublishingCredentialsPoliciesEntity" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "Update FTP Allowed": { + "$ref": "./examples/UpdatePublishingCredentialsPolicy_UpdateFtpAllowed.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/basicPublishingCredentialsPolicies/scm": { + "get": { + "operationId": "WebApps_GetScmAllowed", + "tags": [ + "CsmPublishingCredentialsPoliciesEntityOperationGroup" + ], + "summary": "Returns whether Scm basic auth is allowed on the site or not.", + "description": "Description for Returns whether Scm basic auth is allowed on the site or not.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/CsmPublishingCredentialsPoliciesEntity" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "Get SCM Allowed": { + "$ref": "./examples/GetPublishingCredentialsPolicy.json" + } + } + }, + "put": { + "operationId": "WebApps_UpdateScmAllowed", + "tags": [ + "CsmPublishingCredentialsPoliciesEntityOperationGroup" + ], + "summary": "Updates whether user publishing credentials are allowed on the site or not.", + "description": "Description for Updates whether user publishing credentials are allowed on the site or not.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "csmPublishingAccessPoliciesEntity", + "in": "body", + "description": "", + "required": true, + "schema": { + "$ref": "#/definitions/CsmPublishingCredentialsPoliciesEntity" + } + } + ], + "responses": { + "200": { + "description": "Resource 'CsmPublishingCredentialsPoliciesEntity' update operation succeeded", + "schema": { + "$ref": "#/definitions/CsmPublishingCredentialsPoliciesEntity" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "Update SCM Allowed": { + "$ref": "./examples/UpdatePublishingCredentialsPolicy.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/certificates": { + "get": { + "operationId": "SiteCertificates_List", + "tags": [ + "SiteCertificates" + ], + "summary": "Get all certificates in a resource group under a site.", + "description": "Get all certificates in a resource group under a site.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the site.", + "required": true, + "type": "string", + "pattern": "^[A-z][A-z0-9]*$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/CertificateCollection" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "List Certificates by resource group": { + "$ref": "./examples/ListSiteCertificatesByResourceGroup.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/certificates/{certificateName}": { + "get": { + "operationId": "SiteCertificates_Get", + "tags": [ + "SiteCertificates" + ], + "summary": "Get a certificate belonging to a given site.", + "description": "Get a certificate belonging to a given site.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the site.", + "required": true, + "type": "string", + "pattern": "^[A-z][A-z0-9]*$" + }, + { + "name": "certificateName", + "in": "path", + "description": "Name of the certificate.", + "required": true, + "type": "string", + "pattern": "^[A-z][A-z0-9]*$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/Certificate" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "Get Certificate": { + "$ref": "./examples/GetSiteCertificate.json" + } + } + }, + "put": { + "operationId": "SiteCertificates_CreateOrUpdate", + "tags": [ + "SiteCertificates" + ], + "summary": "Create or update a certificate under a given site.", + "description": "Create or update a certificate under a given site.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the site.", + "required": true, + "type": "string", + "pattern": "^[A-z][A-z0-9]*$" + }, + { + "name": "certificateName", + "in": "path", + "description": "Name of the certificate.", + "required": true, + "type": "string", + "pattern": "^[A-z][A-z0-9]*$" + }, + { + "name": "certificateEnvelope", + "in": "body", + "description": "Details of certificate, if it exists already.", + "required": true, + "schema": { + "$ref": "#/definitions/Certificate" + } + } + ], + "responses": { + "200": { + "description": "Resource 'Certificate' update operation succeeded", + "schema": { + "$ref": "#/definitions/Certificate" + } + }, + "201": { + "description": "Resource 'Certificate' create operation succeeded", + "schema": { + "$ref": "#/definitions/Certificate" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "Create Or Update Certificate": { + "$ref": "./examples/CreateOrUpdateSiteCertificate.json" + } + } + }, + "patch": { + "operationId": "SiteCertificates_Update", + "tags": [ + "SiteCertificates" + ], + "summary": "Create or update a certificate under a given site.", + "description": "Create or update a certificate under a given site.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the site.", + "required": true, + "type": "string", + "pattern": "^[A-z][A-z0-9]*$" + }, + { + "name": "certificateName", + "in": "path", + "description": "Name of the certificate.", + "required": true, + "type": "string", + "pattern": "^[A-z][A-z0-9]*$" + }, + { + "name": "certificateEnvelope", + "in": "body", + "description": "Details of certificate, if it exists already.", + "required": true, + "schema": { + "$ref": "#/definitions/CertificatePatchResource" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/Certificate" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "Patch Certificate": { + "$ref": "./examples/PatchSiteCertificate.json" + } + } + }, + "delete": { + "operationId": "SiteCertificates_Delete", + "tags": [ + "SiteCertificates" + ], + "summary": "Delete a certificate from the site.", + "description": "Delete a certificate from the site.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the site.", + "required": true, + "type": "string", + "pattern": "^[A-z][A-z0-9]*$" + }, + { + "name": "certificateName", + "in": "path", + "description": "Name of the certificate.", + "required": true, + "type": "string", + "pattern": "^[A-z][A-z0-9]*$" + } + ], + "responses": { + "200": { + "description": "Resource deleted successfully." + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "Delete Certificate": { + "$ref": "./examples/DeleteSiteCertificate.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config": { + "get": { + "operationId": "WebApps_ListConfigurations", + "tags": [ + "SiteConfigResourceOperationGroup" + ], + "summary": "List the configurations of an app", + "description": "Description for List the configurations of an app", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/SiteConfigResourceCollection" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "List web app configurations": { + "$ref": "./examples/ListWebAppConfigurations.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/appsettings": { + "put": { + "operationId": "WebApps_UpdateApplicationSettings", + "tags": [ + "Sites" + ], + "summary": "Replaces the application settings of an app.", + "description": "Description for Replaces the application settings of an app.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "appSettings", + "in": "body", + "description": "Application settings of the app.", + "required": true, + "schema": { + "$ref": "#/definitions/StringDictionary" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/StringDictionary" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "Update App Settings": { + "$ref": "./examples/UpdateAppSettings.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/appsettings/list": { + "post": { + "operationId": "WebApps_ListApplicationSettings", + "tags": [ + "Sites" + ], + "summary": "Gets the application settings of an app.", + "description": "Description for Gets the application settings of an app.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/StringDictionary" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "List App Settings": { + "$ref": "./examples/ListAppSettings.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/authsettings": { + "put": { + "operationId": "WebApps_UpdateAuthSettings", + "tags": [ + "Sites" + ], + "summary": "Updates the Authentication / Authorization settings associated with web app.", + "description": "Description for Updates the Authentication / Authorization settings associated with web app.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "siteAuthSettings", + "in": "body", + "description": "Auth settings associated with web app.", + "required": true, + "schema": { + "$ref": "#/definitions/SiteAuthSettings" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/SiteAuthSettings" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "Update Auth Settings": { + "$ref": "./examples/UpdateAuthSettings.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/authsettings/list": { + "post": { + "operationId": "WebApps_GetAuthSettings", + "tags": [ + "Sites" + ], + "summary": "Gets the Authentication/Authorization settings of an app.", + "description": "Description for Gets the Authentication/Authorization settings of an app.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/SiteAuthSettings" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "List Auth Settings": { + "$ref": "./examples/ListAuthSettings.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/authsettingsV2": { + "get": { + "operationId": "WebApps_GetAuthSettingsV2WithoutSecrets", + "tags": [ + "SiteAuthSettingsV2s" + ], + "summary": "Gets site's Authentication / Authorization settings for apps via the V2 format", + "description": "Description for Gets site's Authentication / Authorization settings for apps via the V2 format", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/SiteAuthSettingsV2" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "List Auth Settings without Secrets": { + "$ref": "./examples/GetAuthSettingsV2WithoutSecrets.json" + } + } + }, + "put": { + "operationId": "WebApps_UpdateAuthSettingsV2", + "tags": [ + "SiteAuthSettingsV2s" + ], + "summary": "Updates site's Authentication / Authorization settings for apps via the V2 format", + "description": "Description for Updates site's Authentication / Authorization settings for apps via the V2 format", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "siteAuthSettingsV2", + "in": "body", + "description": "Auth settings associated with web app.", + "required": true, + "schema": { + "$ref": "#/definitions/SiteAuthSettingsV2" + } + } + ], + "responses": { + "200": { + "description": "Resource 'SiteAuthSettingsV2' update operation succeeded", + "schema": { + "$ref": "#/definitions/SiteAuthSettingsV2" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "Update Auth Settings V2": { + "$ref": "./examples/UpdateAuthSettingsV2.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/authsettingsV2/list": { + "get": { + "operationId": "WebApps_GetAuthSettingsV2", + "tags": [ + "SiteAuthSettingsV2s" + ], + "summary": "Gets site's Authentication / Authorization settings for apps via the V2 format", + "description": "Description for Gets site's Authentication / Authorization settings for apps via the V2 format", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/SiteAuthSettingsV2" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "List Auth Settings V2": { + "$ref": "./examples/ListAuthSettingsV2.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/azurestorageaccounts": { + "put": { + "operationId": "WebApps_UpdateAzureStorageAccounts", + "tags": [ + "Sites" + ], + "summary": "Updates the Azure storage account configurations of an app.", + "description": "Description for Updates the Azure storage account configurations of an app.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "azureStorageAccounts", + "in": "body", + "description": "Azure storage accounts of the app.", + "required": true, + "schema": { + "$ref": "#/definitions/AzureStoragePropertyDictionaryResource" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/AzureStoragePropertyDictionaryResource" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "Update Azure Storage Accounts": { + "$ref": "./examples/UpdateAzureStorageAccounts.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/azurestorageaccounts/list": { + "post": { + "operationId": "WebApps_ListAzureStorageAccounts", + "tags": [ + "Sites" + ], + "summary": "Gets the Azure storage account configurations of an app.", + "description": "Description for Gets the Azure storage account configurations of an app.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/AzureStoragePropertyDictionaryResource" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/backup": { + "put": { + "operationId": "WebApps_UpdateBackupConfiguration", + "tags": [ + "Sites" + ], + "summary": "Updates the backup configuration of an app.", + "description": "Description for Updates the backup configuration of an app.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "request", + "in": "body", + "description": "Edited backup configuration.", + "required": true, + "schema": { + "$ref": "#/definitions/BackupRequest" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/BackupRequest" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + }, + "delete": { + "operationId": "WebApps_DeleteBackupConfiguration", + "tags": [ + "Sites" + ], + "summary": "Deletes the backup configuration of an app.", + "description": "Description for Deletes the backup configuration of an app.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/backup/list": { + "post": { + "operationId": "WebApps_GetBackupConfiguration", + "tags": [ + "Sites" + ], + "summary": "Gets the backup configuration of an app.", + "description": "Description for Gets the backup configuration of an app.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/BackupRequest" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/configreferences/appsettings": { + "get": { + "operationId": "WebApps_GetAppSettingsKeyVaultReferences", + "tags": [ + "AppSettingKeyVaultReference" + ], + "summary": "Gets the config reference app settings and status of an app", + "description": "Description for Gets the config reference app settings and status of an app", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ApiKVReferenceCollection" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "Get Azure Key Vault references for app settings": { + "$ref": "./examples/GetKeyVaultReferencesForAppSettings.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/configreferences/appsettings/{appSettingKey}": { + "get": { + "operationId": "WebApps_GetAppSettingKeyVaultReference", + "tags": [ + "AppSettingKeyVaultReference" + ], + "summary": "Gets the config reference and status of an app", + "description": "Description for Gets the config reference and status of an app", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "appSettingKey", + "in": "path", + "description": "App Setting key name.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ApiKVReference" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "Get Azure Key Vault app setting reference": { + "$ref": "./examples/GetKeyVaultReferencesForAppSetting.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/configreferences/connectionstrings": { + "get": { + "operationId": "WebApps_GetSiteConnectionStringKeyVaultReferences", + "tags": [ + "SiteConnectionStringKeyVaultReference" + ], + "summary": "Gets the config reference app settings and status of an app", + "description": "Description for Gets the config reference app settings and status of an app", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ApiKVReferenceCollection" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/configreferences/connectionstrings/{connectionStringKey}": { + "get": { + "operationId": "WebApps_GetSiteConnectionStringKeyVaultReference", + "tags": [ + "SiteConnectionStringKeyVaultReference" + ], + "summary": "Gets the config reference and status of an app", + "description": "Description for Gets the config reference and status of an app", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "connectionStringKey", + "in": "path", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ApiKVReference" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/connectionstrings": { + "put": { + "operationId": "WebApps_UpdateConnectionStrings", + "tags": [ + "Sites" + ], + "summary": "Replaces the connection strings of an app.", + "description": "Description for Replaces the connection strings of an app.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "connectionStrings", + "in": "body", + "description": "Connection strings of the app or deployment slot. See example.", + "required": true, + "schema": { + "$ref": "#/definitions/ConnectionStringDictionary" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ConnectionStringDictionary" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/connectionstrings/list": { + "post": { + "operationId": "WebApps_ListConnectionStrings", + "tags": [ + "Sites" + ], + "summary": "Gets the connection strings of an app.", + "description": "Description for Gets the connection strings of an app.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ConnectionStringDictionary" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/logs": { + "get": { + "operationId": "WebApps_GetDiagnosticLogsConfiguration", + "tags": [ + "SiteLogsConfigs" + ], + "summary": "Gets the logging configuration of an app.", + "description": "Description for Gets the logging configuration of an app.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/SiteLogsConfig" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + }, + "put": { + "operationId": "WebApps_UpdateDiagnosticLogsConfig", + "tags": [ + "SiteLogsConfigs" + ], + "summary": "Updates the logging configuration of an app.", + "description": "Description for Updates the logging configuration of an app.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "siteLogsConfig", + "in": "body", + "description": "A SiteLogsConfig JSON object that contains the logging configuration to change in the \"properties\"property", + "required": true, + "schema": { + "$ref": "#/definitions/SiteLogsConfig" + } + } + ], + "responses": { + "200": { + "description": "Resource 'SiteLogsConfig' update operation succeeded", + "schema": { + "$ref": "#/definitions/SiteLogsConfig" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/metadata": { + "put": { + "operationId": "WebApps_UpdateMetadata", + "tags": [ + "Sites" + ], + "summary": "Replaces the metadata of an app.", + "description": "Description for Replaces the metadata of an app.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "metadata", + "in": "body", + "description": "Edited metadata of the app or deployment slot. See example.", + "required": true, + "schema": { + "$ref": "#/definitions/StringDictionary" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/StringDictionary" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/metadata/list": { + "post": { + "operationId": "WebApps_ListMetadata", + "tags": [ + "Sites" + ], + "summary": "Gets the metadata of an app.", + "description": "Description for Gets the metadata of an app.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/StringDictionary" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/publishingcredentials/list": { + "post": { + "operationId": "WebApps_ListPublishingCredentials", + "tags": [ + "Sites" + ], + "summary": "Gets the Git/FTP publishing credentials of an app.", + "description": "Description for Gets the Git/FTP publishing credentials of an app.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "The request has succeeded.", + "schema": { + "$ref": "#/definitions/User" + }, + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "#/definitions/User" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/pushsettings": { + "put": { + "operationId": "WebApps_UpdateSitePushSettings", + "tags": [ + "Sites" + ], + "summary": "Updates the Push settings associated with web app.", + "description": "Description for Updates the Push settings associated with web app.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "pushSettings", + "in": "body", + "description": "Push settings associated with web app.", + "required": true, + "schema": { + "$ref": "#/definitions/PushSettings" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/PushSettings" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/pushsettings/list": { + "post": { + "operationId": "WebApps_ListSitePushSettings", + "tags": [ + "Sites" + ], + "summary": "Gets the Push settings associated with web app.", + "description": "Description for Gets the Push settings associated with web app.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/PushSettings" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/slotConfigNames": { + "get": { + "operationId": "WebApps_ListSlotConfigurationNames", + "tags": [ + "SlotConfigNamesResources" + ], + "summary": "Gets the names of app settings and connection strings that stick to the slot (not swapped).", + "description": "Description for Gets the names of app settings and connection strings that stick to the slot (not swapped).", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/SlotConfigNamesResource" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + }, + "put": { + "operationId": "WebApps_UpdateSlotConfigurationNames", + "tags": [ + "SlotConfigNamesResources" + ], + "summary": "Updates the names of application settings and connection string that remain with the slot during swap operation.", + "description": "Description for Updates the names of application settings and connection string that remain with the slot during swap operation.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "slotConfigNames", + "in": "body", + "description": "Names of application settings and connection strings. See example.", + "required": true, + "schema": { + "$ref": "#/definitions/SlotConfigNamesResource" + } + } + ], + "responses": { + "200": { + "description": "Resource 'SlotConfigNamesResource' update operation succeeded", + "schema": { + "$ref": "#/definitions/SlotConfigNamesResource" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/web": { + "get": { + "operationId": "WebApps_GetConfiguration", + "tags": [ + "SiteConfigResources" + ], + "summary": "Gets the configuration of an app, such as platform version and bitness, default documents, virtual applications, Always On, etc.", + "description": "Description for Gets the configuration of an app, such as platform version and bitness, default documents, virtual applications, Always On, etc.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/SiteConfigResource" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "Get Site Config": { + "$ref": "./examples/GetSiteConfig.json" + } + } + }, + "put": { + "operationId": "WebApps_CreateOrUpdateConfiguration", + "tags": [ + "SiteConfigResources" + ], + "summary": "Updates the configuration of an app.", + "description": "Description for Updates the configuration of an app.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "siteConfig", + "in": "body", + "description": "JSON representation of a SiteConfig object. See example.", + "required": true, + "schema": { + "$ref": "#/definitions/SiteConfigResource" + } + } + ], + "responses": { + "200": { + "description": "Resource 'SiteConfigResource' update operation succeeded", + "schema": { + "$ref": "#/definitions/SiteConfigResource" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "Update Site Config": { + "$ref": "./examples/UpdateSiteConfig.json" + } + } + }, + "patch": { + "operationId": "WebApps_UpdateConfiguration", + "tags": [ + "SiteConfigResources" + ], + "summary": "Updates the configuration of an app.", + "description": "Description for Updates the configuration of an app.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "siteConfig", + "in": "body", + "description": "JSON representation of a SiteConfig object. See example.", + "required": true, + "schema": { + "$ref": "#/definitions/SiteConfigResource" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/SiteConfigResource" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/web/snapshots": { + "get": { + "operationId": "WebApps_ListConfigurationSnapshotInfo", + "tags": [ + "SiteConfigResources" + ], + "summary": "Gets a list of web app configuration snapshots identifiers. Each element of the list contains a timestamp and the ID of the snapshot.", + "description": "Description for Gets a list of web app configuration snapshots identifiers. Each element of the list contains a timestamp and the ID of the snapshot.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/SiteConfigurationSnapshotInfoCollection" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/web/snapshots/{snapshotId}": { + "get": { + "operationId": "WebApps_GetConfigurationSnapshot", + "tags": [ + "SiteConfigResourceOperationGroup" + ], + "summary": "Gets a snapshot of the configuration of an app at a previous point in time.", + "description": "Description for Gets a snapshot of the configuration of an app at a previous point in time.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "snapshotId", + "in": "path", + "description": "The ID of the snapshot to read.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/SiteConfigResource" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/web/snapshots/{snapshotId}/recover": { + "post": { + "operationId": "WebApps_RecoverSiteConfigurationSnapshot", + "tags": [ + "SiteConfigResourceOperationGroup" + ], + "summary": "Reverts the configuration of an app to a previous snapshot.", + "description": "Description for Reverts the configuration of an app to a previous snapshot.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "snapshotId", + "in": "path", + "description": "The ID of the snapshot to read.", + "required": true, + "type": "string" + } + ], + "responses": { + "204": { + "description": "There is no content to send for this request, but the headers may be useful." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/containerlogs": { + "post": { + "operationId": "WebApps_GetWebSiteContainerLogs", + "tags": [ + "Sites" + ], + "summary": "Gets the last lines of docker logs for the given site", + "description": "Description for Gets the last lines of docker logs for the given site", + "produces": [ + "application/octet-stream", + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "type": "file" + } + }, + "204": { + "description": "There is no content to send for this request, but the headers may be useful." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/containerlogs/zip/download": { + "post": { + "operationId": "WebApps_GetContainerLogsZip", + "tags": [ + "Sites" + ], + "summary": "Gets the ZIP archived docker log files for the given site", + "description": "Description for Gets the ZIP archived docker log files for the given site", + "produces": [ + "application/zip", + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "type": "file" + } + }, + "204": { + "description": "There is no content to send for this request, but the headers may be useful." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/continuouswebjobs": { + "get": { + "operationId": "WebApps_ListContinuousWebJobs", + "tags": [ + "ContinuousWebJobs" + ], + "summary": "List continuous web jobs for an app, or a deployment slot.", + "description": "Description for List continuous web jobs for an app, or a deployment slot.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Site name.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ContinuousWebJobCollection" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/continuouswebjobs/{webJobName}": { + "get": { + "operationId": "WebApps_GetContinuousWebJob", + "tags": [ + "ContinuousWebJobs" + ], + "summary": "Gets a continuous web job by its ID for an app, or a deployment slot.", + "description": "Description for Gets a continuous web job by its ID for an app, or a deployment slot.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Site name.", + "required": true, + "type": "string" + }, + { + "name": "webJobName", + "in": "path", + "description": "Name of Web Job.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ContinuousWebJob" + } + }, + "404": { + "description": "The server cannot find the requested resource.", + "x-ms-error-response": true + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + }, + "delete": { + "operationId": "WebApps_DeleteContinuousWebJob", + "tags": [ + "ContinuousWebJobs" + ], + "summary": "Delete a continuous web job by its ID for an app, or a deployment slot.", + "description": "Description for Delete a continuous web job by its ID for an app, or a deployment slot.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Site name.", + "required": true, + "type": "string" + }, + { + "name": "webJobName", + "in": "path", + "description": "Name of Web Job.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Resource deleted successfully." + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/continuouswebjobs/{webJobName}/start": { + "post": { + "operationId": "WebApps_StartContinuousWebJob", + "tags": [ + "ContinuousWebJobs" + ], + "summary": "Start a continuous web job for an app, or a deployment slot.", + "description": "Description for Start a continuous web job for an app, or a deployment slot.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Site name.", + "required": true, + "type": "string" + }, + { + "name": "webJobName", + "in": "path", + "description": "Name of Web Job.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully." + }, + "404": { + "description": "The server cannot find the requested resource.", + "x-ms-error-response": true + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/continuouswebjobs/{webJobName}/stop": { + "post": { + "operationId": "WebApps_StopContinuousWebJob", + "tags": [ + "ContinuousWebJobs" + ], + "summary": "Stop a continuous web job for an app, or a deployment slot.", + "description": "Description for Stop a continuous web job for an app, or a deployment slot.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Site name.", + "required": true, + "type": "string" + }, + { + "name": "webJobName", + "in": "path", + "description": "Name of Web Job.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully." + }, + "404": { + "description": "The server cannot find the requested resource.", + "x-ms-error-response": true + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/deployWorkflowArtifacts": { + "post": { + "operationId": "WebApps_DeployWorkflowArtifacts", + "tags": [ + "Sites" + ], + "summary": "Creates the artifacts for web site, or a deployment slot.", + "description": "Description for Creates the artifacts for web site, or a deployment slot.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "workflowArtifacts", + "in": "body", + "description": "Application settings and files of the workflow.", + "required": false, + "schema": { + "$ref": "#/definitions/WorkflowArtifacts" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "Delete workflow artifacts": { + "$ref": "./examples/DeleteDeployWorkflowArtifacts.json" + }, + "Deploys workflow artifacts": { + "$ref": "./examples/PostDeployWorkflowArtifacts.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/deploymentStatus": { + "get": { + "operationId": "WebApps_ListProductionSiteDeploymentStatuses", + "tags": [ + "CsmDeploymentStatuses" + ], + "summary": "List deployment statuses for an app (or deployment slot, if specified).", + "description": "List deployment statuses for an app (or deployment slot, if specified).", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/CsmDeploymentStatusCollection" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "List Deployment Status": { + "$ref": "./examples/ListSiteDeploymentStatus.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/deploymentStatus/{deploymentStatusId}": { + "get": { + "operationId": "WebApps_GetProductionSiteDeploymentStatus", + "tags": [ + "CsmDeploymentStatuses" + ], + "summary": "Gets the deployment status for an app (or deployment slot, if specified).", + "description": "Gets the deployment status for an app (or deployment slot, if specified).", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "deploymentStatusId", + "in": "path", + "description": "GUID of the deployment operation.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/CsmDeploymentStatus" + } + }, + "202": { + "description": "The request has been accepted for processing, but processing has not yet completed.", + "schema": { + "$ref": "#/definitions/CsmDeploymentStatus" + }, + "headers": { + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "Get Deployment Status": { + "$ref": "./examples/GetSiteDeploymentStatus.json" + } + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/deployments": { + "get": { + "operationId": "WebApps_ListDeployments", + "tags": [ + "Deployments" + ], + "summary": "List deployments for an app, or a deployment slot.", + "description": "Description for List deployments for an app, or a deployment slot.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/DeploymentCollection" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/deployments/{id}": { + "get": { + "operationId": "WebApps_GetDeployment", + "tags": [ + "Deployments" + ], + "summary": "Get a deployment by its ID for an app, or a deployment slot.", + "description": "Description for Get a deployment by its ID for an app, or a deployment slot.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "id", + "in": "path", + "description": "Deployment ID.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/Deployment" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + }, + "put": { + "operationId": "WebApps_CreateDeployment", + "tags": [ + "Deployments" + ], + "summary": "Create a deployment for an app, or a deployment slot.", + "description": "Description for Create a deployment for an app, or a deployment slot.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "id", + "in": "path", + "description": "Deployment ID.", + "required": true, + "type": "string" + }, + { + "name": "deployment", + "in": "body", + "description": "Deployment details.", + "required": true, + "schema": { + "$ref": "#/definitions/Deployment" + } + } + ], + "responses": { + "200": { + "description": "Resource 'Deployment' update operation succeeded", + "schema": { + "$ref": "#/definitions/Deployment" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + }, + "delete": { + "operationId": "WebApps_DeleteDeployment", + "tags": [ + "Deployments" + ], + "summary": "Delete a deployment by its ID for an app, or a deployment slot.", + "description": "Description for Delete a deployment by its ID for an app, or a deployment slot.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "id", + "in": "path", + "description": "Deployment ID.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Resource deleted successfully." + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/deployments/{id}/log": { + "get": { + "operationId": "WebApps_ListDeploymentLog", + "tags": [ + "Deployments" + ], + "summary": "List deployment log for specific deployment for an app, or a deployment slot.", + "description": "Description for List deployment log for specific deployment for an app, or a deployment slot.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "id", + "in": "path", + "description": "Deployment ID.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/Deployment" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/detectors": { + "get": { + "operationId": "Diagnostics_ListSiteDetectorResponses", + "tags": [ + "Diagnostics" + ], + "summary": "List Site Detector Responses", + "description": "Description for List Site Detector Responses", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "siteName", + "in": "path", + "description": "Site Name", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/DetectorResponseCollection" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "Get App Detector Responses": { + "$ref": "./examples/Diagnostics_ListSiteDetectorResponses.json" + }, + "Get App Slot Detector Responses": { + "$ref": "./examples/Diagnostics_ListSiteDetectorResponsesSlot.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/detectors/{detectorName}": { + "get": { + "operationId": "Diagnostics_GetSiteDetectorResponse", + "tags": [ + "Diagnostics" + ], + "summary": "Get site detector response", + "description": "Description for Get site detector response", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "siteName", + "in": "path", + "description": "Site Name", + "required": true, + "type": "string" + }, + { + "name": "detectorName", + "in": "path", + "description": "Detector Resource Name", + "required": true, + "type": "string" + }, + { + "name": "startTime", + "in": "query", + "description": "Start Time", + "required": false, + "type": "string", + "format": "date-time" + }, + { + "name": "endTime", + "in": "query", + "description": "End Time", + "required": false, + "type": "string", + "format": "date-time" + }, + { + "name": "timeGrain", + "in": "query", + "description": "Time Grain", + "required": false, + "type": "string", + "pattern": "PT[1-9][0-9]+[SMH]" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/DetectorResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "Get App Detector Response": { + "$ref": "./examples/Diagnostics_GetSiteDetectorResponse.json" + }, + "Get App Slot Detector Response": { + "$ref": "./examples/Diagnostics_GetSiteDetectorResponseSlot.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/diagnostics": { + "get": { + "operationId": "Diagnostics_ListSiteDiagnosticCategories", + "tags": [ + "DiagnosticCategories" + ], + "summary": "Get Diagnostics Categories", + "description": "Description for Get Diagnostics Categories", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "siteName", + "in": "path", + "description": "Site Name", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/DiagnosticCategoryCollection" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "List App Diagnostic Categories": { + "$ref": "./examples/Diagnostics_ListSiteDiagnosticCategories.json" + }, + "List App Slot Diagnostic Categories": { + "$ref": "./examples/Diagnostics_ListSiteDiagnosticCategoriesSlot.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/diagnostics/{diagnosticCategory}": { + "get": { + "operationId": "Diagnostics_GetSiteDiagnosticCategory", + "tags": [ + "DiagnosticCategories" + ], + "summary": "Get Diagnostics Category", + "description": "Description for Get Diagnostics Category", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "siteName", + "in": "path", + "description": "Site Name", + "required": true, + "type": "string" + }, + { + "name": "diagnosticCategory", + "in": "path", + "description": "Diagnostic Category", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/DiagnosticCategory" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "Get App Diagnostic Category": { + "$ref": "./examples/Diagnostics_GetSiteDiagnosticCategory.json" + }, + "Get App Slot Diagnostic Category": { + "$ref": "./examples/Diagnostics_GetSiteDiagnosticCategorySlot.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/diagnostics/{diagnosticCategory}/analyses": { + "get": { + "operationId": "Diagnostics_ListSiteAnalyses", + "tags": [ + "AnalysisDefinitions" + ], + "summary": "Get Site Analyses", + "description": "Description for Get Site Analyses", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "siteName", + "in": "path", + "description": "Site Name", + "required": true, + "type": "string" + }, + { + "name": "diagnosticCategory", + "in": "path", + "description": "Diagnostic Category", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/DiagnosticAnalysisCollection" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "List App Analyses": { + "$ref": "./examples/Diagnostics_ListSiteAnalyses.json" + }, + "List App Slot Analyses": { + "$ref": "./examples/Diagnostics_ListSiteAnalysesSlot.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/diagnostics/{diagnosticCategory}/analyses/{analysisName}": { + "get": { + "operationId": "Diagnostics_GetSiteAnalysis", + "tags": [ + "AnalysisDefinitions" + ], + "summary": "Get Site Analysis", + "description": "Description for Get Site Analysis", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "siteName", + "in": "path", + "description": "Site Name", + "required": true, + "type": "string" + }, + { + "name": "diagnosticCategory", + "in": "path", + "description": "Diagnostic Category", + "required": true, + "type": "string" + }, + { + "name": "analysisName", + "in": "path", + "description": "Analysis Name", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/AnalysisDefinition" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "Get App Analysis": { + "$ref": "./examples/Diagnostics_GetSiteAnalysis.json" + }, + "Get App Slot Analysis": { + "$ref": "./examples/Diagnostics_GetSiteAnalysisSlot.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/diagnostics/{diagnosticCategory}/analyses/{analysisName}/execute": { + "post": { + "operationId": "Diagnostics_ExecuteSiteAnalysis", + "tags": [ + "AnalysisDefinitions" + ], + "summary": "Execute Analysis", + "description": "Description for Execute Analysis", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "siteName", + "in": "path", + "description": "Site Name", + "required": true, + "type": "string" + }, + { + "name": "diagnosticCategory", + "in": "path", + "description": "Diagnostic Category", + "required": true, + "type": "string" + }, + { + "name": "analysisName", + "in": "path", + "description": "Analysis Name", + "required": true, + "type": "string" + }, + { + "name": "startTime", + "in": "query", + "description": "Start Time", + "required": false, + "type": "string", + "format": "date-time" + }, + { + "name": "endTime", + "in": "query", + "description": "End Time", + "required": false, + "type": "string", + "format": "date-time" + }, + { + "name": "timeGrain", + "in": "query", + "description": "Time Grain", + "required": false, + "type": "string", + "pattern": "PT[1-9][0-9]+[SMH]" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/DiagnosticAnalysis" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "Execute site analysis": { + "$ref": "./examples/Diagnostics_ExecuteSiteAnalysis.json" + }, + "Execute site slot analysis": { + "$ref": "./examples/Diagnostics_ExecuteSiteAnalysisSlot.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/diagnostics/{diagnosticCategory}/detectors": { + "get": { + "operationId": "Diagnostics_ListSiteDetectors", + "tags": [ + "DetectorDefinitionResources" + ], + "summary": "Get Detectors", + "description": "Description for Get Detectors", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "siteName", + "in": "path", + "description": "Site Name", + "required": true, + "type": "string" + }, + { + "name": "diagnosticCategory", + "in": "path", + "description": "Diagnostic Category", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/DiagnosticDetectorCollection" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "List App Detectors": { + "$ref": "./examples/Diagnostics_ListSiteDetectors.json" + }, + "List App Slot Detectors": { + "$ref": "./examples/Diagnostics_ListSiteDetectorsSlot.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/diagnostics/{diagnosticCategory}/detectors/{detectorName}": { + "get": { + "operationId": "Diagnostics_GetSiteDetector", + "tags": [ + "DetectorDefinitionResources" + ], + "summary": "Get Detector", + "description": "Description for Get Detector", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "siteName", + "in": "path", + "description": "Site Name", + "required": true, + "type": "string" + }, + { + "name": "diagnosticCategory", + "in": "path", + "description": "Diagnostic Category", + "required": true, + "type": "string" + }, + { + "name": "detectorName", + "in": "path", + "description": "Detector Name", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/DetectorDefinitionResource" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "Get App Detector": { + "$ref": "./examples/Diagnostics_GetSiteDetector.json" + }, + "Get App Slot Detector": { + "$ref": "./examples/Diagnostics_GetSiteDetectorSlot.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/diagnostics/{diagnosticCategory}/detectors/{detectorName}/execute": { + "post": { + "operationId": "Diagnostics_ExecuteSiteDetector", + "tags": [ + "DetectorDefinitionResources" + ], + "summary": "Execute Detector", + "description": "Description for Execute Detector", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "siteName", + "in": "path", + "description": "Site Name", + "required": true, + "type": "string" + }, + { + "name": "diagnosticCategory", + "in": "path", + "description": "Diagnostic Category", + "required": true, + "type": "string" + }, + { + "name": "detectorName", + "in": "path", + "description": "Detector Name", + "required": true, + "type": "string" + }, + { + "name": "startTime", + "in": "query", + "description": "Start Time", + "required": false, + "type": "string", + "format": "date-time" + }, + { + "name": "endTime", + "in": "query", + "description": "End Time", + "required": false, + "type": "string", + "format": "date-time" + }, + { + "name": "timeGrain", + "in": "query", + "description": "Time Grain", + "required": false, + "type": "string", + "pattern": "PT[1-9][0-9]+[SMH]" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/DiagnosticDetectorResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "Execute site detector": { + "$ref": "./examples/Diagnostics_ExecuteSiteDetector.json" + }, + "Execute site slot detector": { + "$ref": "./examples/Diagnostics_ExecuteSiteDetectorSlot.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/discoverbackup": { + "post": { + "operationId": "WebApps_DiscoverBackup", + "tags": [ + "Sites" + ], + "summary": "Discovers an existing app backup that can be restored from a blob in Azure storage. Use this to get information about the databases stored in a backup.", + "description": "Description for Discovers an existing app backup that can be restored from a blob in Azure storage. Use this to get information about the databases stored in a backup.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "request", + "in": "body", + "description": "A RestoreRequest object that includes Azure storage URL and blog name for discovery of backup.", + "required": true, + "schema": { + "$ref": "#/definitions/RestoreRequest" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/RestoreRequest" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/domainOwnershipIdentifiers": { + "get": { + "operationId": "WebApps_ListDomainOwnershipIdentifiers", + "tags": [ + "Identifiers" + ], + "summary": "Lists ownership identifiers for domain associated with web app.", + "description": "Description for Lists ownership identifiers for domain associated with web app.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/IdentifierCollection" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/domainOwnershipIdentifiers/{domainOwnershipIdentifierName}": { + "get": { + "operationId": "WebApps_GetDomainOwnershipIdentifier", + "tags": [ + "Identifiers" + ], + "summary": "Get domain ownership identifier for web app.", + "description": "Description for Get domain ownership identifier for web app.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "domainOwnershipIdentifierName", + "in": "path", + "description": "Name of domain ownership identifier.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/Identifier" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + }, + "put": { + "operationId": "WebApps_CreateOrUpdateDomainOwnershipIdentifier", + "tags": [ + "Identifiers" + ], + "summary": "Creates a domain ownership identifier for web app, or updates an existing ownership identifier.", + "description": "Description for Creates a domain ownership identifier for web app, or updates an existing ownership identifier.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "domainOwnershipIdentifierName", + "in": "path", + "description": "Name of domain ownership identifier.", + "required": true, + "type": "string" + }, + { + "name": "domainOwnershipIdentifier", + "in": "body", + "description": "A JSON representation of the domain ownership properties.", + "required": true, + "schema": { + "$ref": "#/definitions/Identifier" + } + } + ], + "responses": { + "200": { + "description": "Resource 'Identifier' update operation succeeded", + "schema": { + "$ref": "#/definitions/Identifier" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + }, + "patch": { + "operationId": "WebApps_UpdateDomainOwnershipIdentifier", + "tags": [ + "Identifiers" + ], + "summary": "Creates a domain ownership identifier for web app, or updates an existing ownership identifier.", + "description": "Description for Creates a domain ownership identifier for web app, or updates an existing ownership identifier.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "domainOwnershipIdentifierName", + "in": "path", + "description": "Name of domain ownership identifier.", + "required": true, + "type": "string" + }, + { + "name": "domainOwnershipIdentifier", + "in": "body", + "description": "A JSON representation of the domain ownership properties.", + "required": true, + "schema": { + "$ref": "#/definitions/Identifier" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/Identifier" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + }, + "delete": { + "operationId": "WebApps_DeleteDomainOwnershipIdentifier", + "tags": [ + "Identifiers" + ], + "summary": "Deletes a domain ownership identifier for a web app.", + "description": "Description for Deletes a domain ownership identifier for a web app.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "domainOwnershipIdentifierName", + "in": "path", + "description": "Name of domain ownership identifier.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Resource deleted successfully." + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/extensions/mSDeploy": { + "get": { + "operationId": "WebApps_GetMSDeployStatus", + "tags": [ + "MSDeployStatuses" + ], + "summary": "Get the status of the last MSDeploy operation.", + "description": "Description for Get the status of the last MSDeploy operation.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of web app.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/MSDeployStatus" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + }, + "put": { + "operationId": "WebApps_CreateMSDeployOperation", + "tags": [ + "MSDeployStatuses" + ], + "summary": "Invoke the MSDeploy web app extension.", + "description": "Description for Invoke the MSDeploy web app extension.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of web app.", + "required": true, + "type": "string" + }, + { + "name": "MSDeploy", + "in": "body", + "description": "Details of MSDeploy operation", + "required": true, + "schema": { + "$ref": "#/definitions/MSDeploy" + } + } + ], + "responses": { + "201": { + "description": "Resource 'MSDeployStatus' create operation succeeded", + "schema": { + "$ref": "#/definitions/MSDeployStatus" + }, + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "409": { + "description": "The request conflicts with the current state of the server.", + "x-ms-error-response": true + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "#/definitions/MSDeployStatus" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/extensions/mSDeploy/log": { + "get": { + "operationId": "WebApps_GetMSDeployLog", + "tags": [ + "MSDeployStatuses" + ], + "summary": "Get the MSDeploy Log for the last MSDeploy operation.", + "description": "Description for Get the MSDeploy Log for the last MSDeploy operation.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of web app.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/MSDeployLog" + } + }, + "404": { + "description": "The server cannot find the requested resource.", + "x-ms-error-response": true + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/extensions/onedeploy": { + "get": { + "operationId": "WebApps_GetOneDeployStatus", + "tags": [ + "Sites" + ], + "summary": "Invoke onedeploy status API /api/deployments and gets the deployment status for the site", + "description": "Description for Invoke onedeploy status API /api/deployments and gets the deployment status for the site", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": {} + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + }, + "put": { + "operationId": "WebApps_CreateOneDeployOperation", + "tags": [ + "Sites" + ], + "summary": "Invoke the OneDeploy publish web app extension.", + "description": "Description for Invoke the OneDeploy publish web app extension.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": {} + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/functions": { + "get": { + "operationId": "WebApps_ListFunctions", + "tags": [ + "FunctionEnvelopes" + ], + "summary": "List the functions for a web site, or a deployment slot.", + "description": "Description for List the functions for a web site, or a deployment slot.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Site name.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/FunctionEnvelopeCollection" + } + }, + "404": { + "description": "The server cannot find the requested resource.", + "x-ms-error-response": true + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/functions/{functionName}": { + "get": { + "operationId": "WebApps_GetFunction", + "tags": [ + "FunctionEnvelopes" + ], + "summary": "Get function information by its ID for web site, or a deployment slot.", + "description": "Description for Get function information by its ID for web site, or a deployment slot.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Site name.", + "required": true, + "type": "string" + }, + { + "name": "functionName", + "in": "path", + "description": "Function name.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/FunctionEnvelope" + } + }, + "404": { + "description": "The server cannot find the requested resource.", + "x-ms-error-response": true + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + }, + "put": { + "operationId": "WebApps_CreateFunction", + "tags": [ + "FunctionEnvelopes" + ], + "summary": "Create function for web site, or a deployment slot.", + "description": "Description for Create function for web site, or a deployment slot.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Site name.", + "required": true, + "type": "string" + }, + { + "name": "functionName", + "in": "path", + "description": "Function name.", + "required": true, + "type": "string" + }, + { + "name": "function_envelope", + "in": "body", + "description": "Function details.", + "required": true, + "schema": { + "$ref": "#/definitions/FunctionEnvelope" + } + } + ], + "responses": { + "201": { + "description": "Resource 'FunctionEnvelope' create operation succeeded", + "schema": { + "$ref": "#/definitions/FunctionEnvelope" + }, + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "#/definitions/FunctionEnvelope" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "WebApps_DeleteFunction", + "tags": [ + "FunctionEnvelopes" + ], + "summary": "Delete a function for web site, or a deployment slot.", + "description": "Description for Delete a function for web site, or a deployment slot.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Site name.", + "required": true, + "type": "string" + }, + { + "name": "functionName", + "in": "path", + "description": "Function name.", + "required": true, + "type": "string" + } + ], + "responses": { + "204": { + "description": "Resource does not exist." + }, + "404": { + "description": "The server cannot find the requested resource.", + "x-ms-error-response": true + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/functions/{functionName}/listkeys": { + "post": { + "operationId": "WebApps_ListFunctionKeys", + "tags": [ + "FunctionEnvelopes" + ], + "summary": "Get function keys for a function in a web site, or a deployment slot.", + "description": "Description for Get function keys for a function in a web site, or a deployment slot.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Site name.", + "required": true, + "type": "string" + }, + { + "name": "functionName", + "in": "path", + "description": "Function name.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/StringDictionary" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/functions/{functionName}/listsecrets": { + "post": { + "operationId": "WebApps_ListFunctionSecrets", + "tags": [ + "FunctionEnvelopes" + ], + "summary": "Get function secrets for a function in a web site, or a deployment slot.", + "description": "Description for Get function secrets for a function in a web site, or a deployment slot.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Site name.", + "required": true, + "type": "string" + }, + { + "name": "functionName", + "in": "path", + "description": "Function name.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/FunctionSecrets" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/functions/admin/token": { + "get": { + "operationId": "WebApps_GetFunctionsAdminToken", + "tags": [ + "Sites" + ], + "summary": "Fetch a short lived token that can be exchanged for a master key.", + "description": "Description for Fetch a short lived token that can be exchanged for a master key.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/stringApplicationJson" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/host/default/listkeys": { + "post": { + "operationId": "WebApps_ListHostKeys", + "tags": [ + "Sites" + ], + "summary": "Get host secrets for a function app.", + "description": "Description for Get host secrets for a function app.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/HostKeys" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/host/default/listsyncstatus": { + "post": { + "operationId": "WebApps_ListSyncStatus", + "tags": [ + "Sites" + ], + "summary": "This is to allow calling via powershell and ARM template.", + "description": "Description for This is to allow calling via powershell and ARM template.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + } + ], + "responses": { + "204": { + "description": "There is no content to send for this request, but the headers may be useful." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/host/default/sync": { + "post": { + "operationId": "WebApps_SyncFunctions", + "tags": [ + "Sites" + ], + "summary": "Syncs function trigger metadata to the management database", + "description": "Description for Syncs function trigger metadata to the management database", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + } + ], + "responses": { + "204": { + "description": "There is no content to send for this request, but the headers may be useful." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hostNameBindings": { + "get": { + "operationId": "WebApps_ListHostNameBindings", + "tags": [ + "HostNameBindings" + ], + "summary": "Get hostname bindings for an app or a deployment slot.", + "description": "Description for Get hostname bindings for an app or a deployment slot.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/HostNameBindingCollection" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hostNameBindings/{hostName}": { + "get": { + "operationId": "WebApps_GetHostNameBinding", + "tags": [ + "HostNameBindings" + ], + "summary": "Get the named hostname binding for an app (or deployment slot, if specified).", + "description": "Description for Get the named hostname binding for an app (or deployment slot, if specified).", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "hostName", + "in": "path", + "description": "Hostname in the hostname binding.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/HostNameBinding" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + }, + "put": { + "operationId": "WebApps_CreateOrUpdateHostNameBinding", + "tags": [ + "HostNameBindings" + ], + "summary": "Creates a hostname binding for an app.", + "description": "Description for Creates a hostname binding for an app.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "hostName", + "in": "path", + "description": "Hostname in the hostname binding.", + "required": true, + "type": "string" + }, + { + "name": "hostNameBinding", + "in": "body", + "description": "Binding details. This is the JSON representation of a HostNameBinding object.", + "required": true, + "schema": { + "$ref": "#/definitions/HostNameBinding" + } + } + ], + "responses": { + "200": { + "description": "Resource 'HostNameBinding' update operation succeeded", + "schema": { + "$ref": "#/definitions/HostNameBinding" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + }, + "delete": { + "operationId": "WebApps_DeleteHostNameBinding", + "tags": [ + "HostNameBindings" + ], + "summary": "Deletes a hostname binding for an app.", + "description": "Description for Deletes a hostname binding for an app.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "hostName", + "in": "path", + "description": "Hostname in the hostname binding.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Resource deleted successfully." + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hostruntime/runtime/webhooks/workflow/api/management/workflows/{workflowName}/regenerateAccessKey": { + "post": { + "operationId": "Workflows_RegenerateAccessKey", + "tags": [ + "Sites" + ], + "description": "Regenerates the callback URL access key for request triggers.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Site name.", + "required": true, + "type": "string" + }, + { + "name": "workflowName", + "in": "path", + "description": "The workflow name.", + "required": true, + "type": "string" + }, + { + "name": "keyType", + "in": "body", + "description": "The access key type.", + "required": true, + "schema": { + "$ref": "#/definitions/RegenerateActionParameter" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Regenerate the callback URL access key for request triggers": { + "$ref": "./examples/Workflows_RegenerateAccessKey.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hostruntime/runtime/webhooks/workflow/api/management/workflows/{workflowName}/runs": { + "get": { + "operationId": "WorkflowRuns_List", + "tags": [ + "WorkflowRuns" + ], + "description": "Gets a list of workflow runs.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Site name.", + "required": true, + "type": "string" + }, + { + "name": "workflowName", + "in": "path", + "description": "The workflow name.", + "required": true, + "type": "string" + }, + { + "name": "$top", + "in": "query", + "description": "The number of items to be included in the result.", + "required": false, + "type": "integer", + "format": "int32" + }, + { + "name": "$filter", + "in": "query", + "description": "The filter to apply on the operation. Options for filters include: Status, StartTime, and ClientTrackingId.", + "required": false, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/WorkflowRunListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "List workflow runs": { + "$ref": "./examples/WorkflowRuns_List.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hostruntime/runtime/webhooks/workflow/api/management/workflows/{workflowName}/runs/{runName}": { + "get": { + "operationId": "WorkflowRuns_Get", + "tags": [ + "WorkflowRuns" + ], + "description": "Gets a workflow run.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Site name.", + "required": true, + "type": "string" + }, + { + "name": "workflowName", + "in": "path", + "description": "The workflow name.", + "required": true, + "type": "string" + }, + { + "name": "runName", + "in": "path", + "description": "The workflow run name.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/WorkflowRun" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Get a run for a workflow": { + "$ref": "./examples/WorkflowRuns_Get.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hostruntime/runtime/webhooks/workflow/api/management/workflows/{workflowName}/runs/{runName}/actions": { + "get": { + "operationId": "WorkflowRunActions_List", + "tags": [ + "WorkflowRunActions" + ], + "description": "Gets a list of workflow run actions.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Site name.", + "required": true, + "type": "string" + }, + { + "name": "workflowName", + "in": "path", + "description": "The workflow name.", + "required": true, + "type": "string" + }, + { + "name": "runName", + "in": "path", + "description": "The workflow run name.", + "required": true, + "type": "string" + }, + { + "name": "$top", + "in": "query", + "description": "The number of items to be included in the result.", + "required": false, + "type": "integer", + "format": "int32" + }, + { + "name": "$filter", + "in": "query", + "description": "The filter to apply on the operation. Options for filters include: Status.", + "required": false, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/WorkflowRunActionListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "List a workflow run actions": { + "$ref": "./examples/WorkflowRunActions_List.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hostruntime/runtime/webhooks/workflow/api/management/workflows/{workflowName}/runs/{runName}/actions/{actionName}": { + "get": { + "operationId": "WorkflowRunActions_Get", + "tags": [ + "WorkflowRunActions" + ], + "description": "Gets a workflow run action.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Site name.", + "required": true, + "type": "string" + }, + { + "name": "workflowName", + "in": "path", + "description": "The workflow name.", + "required": true, + "type": "string" + }, + { + "name": "runName", + "in": "path", + "description": "The workflow run name.", + "required": true, + "type": "string" + }, + { + "name": "actionName", + "in": "path", + "description": "The workflow action name.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/WorkflowRunAction" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Get a workflow run action": { + "$ref": "./examples/WorkflowRunActions_Get.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hostruntime/runtime/webhooks/workflow/api/management/workflows/{workflowName}/runs/{runName}/actions/{actionName}/listExpressionTraces": { + "post": { + "operationId": "WorkflowRunActions_ListExpressionTraces", + "tags": [ + "WorkflowRunActions" + ], + "description": "Lists a workflow run expression trace.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Site name.", + "required": true, + "type": "string" + }, + { + "name": "workflowName", + "in": "path", + "description": "The workflow name.", + "required": true, + "type": "string" + }, + { + "name": "runName", + "in": "path", + "description": "The workflow run name.", + "required": true, + "type": "string" + }, + { + "name": "actionName", + "in": "path", + "description": "The workflow action name.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ExpressionTraces" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "List expression traces": { + "$ref": "./examples/WorkflowRunActions_ListExpressionTraces.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink", + "itemName": "inputs" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hostruntime/runtime/webhooks/workflow/api/management/workflows/{workflowName}/runs/{runName}/actions/{actionName}/repetitions": { + "get": { + "operationId": "WorkflowRunActionRepetitions_List", + "tags": [ + "WorkflowRunActionRepetitionDefinitions" + ], + "description": "Get all of a workflow run action repetitions.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Site name.", + "required": true, + "type": "string" + }, + { + "name": "workflowName", + "in": "path", + "description": "The workflow name.", + "required": true, + "type": "string" + }, + { + "name": "runName", + "in": "path", + "description": "The workflow run name.", + "required": true, + "type": "string" + }, + { + "name": "actionName", + "in": "path", + "description": "The workflow action name.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/WorkflowRunActionRepetitionDefinitionCollection" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "List repetitions": { + "$ref": "./examples/WorkflowRunActionRepetitions_List.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hostruntime/runtime/webhooks/workflow/api/management/workflows/{workflowName}/runs/{runName}/actions/{actionName}/repetitions/{repetitionName}": { + "get": { + "operationId": "WorkflowRunActionRepetitions_Get", + "tags": [ + "WorkflowRunActionRepetitionDefinitions" + ], + "description": "Get a workflow run action repetition.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Site name.", + "required": true, + "type": "string" + }, + { + "name": "workflowName", + "in": "path", + "description": "The workflow name.", + "required": true, + "type": "string" + }, + { + "name": "runName", + "in": "path", + "description": "The workflow run name.", + "required": true, + "type": "string" + }, + { + "name": "actionName", + "in": "path", + "description": "The workflow action name.", + "required": true, + "type": "string" + }, + { + "name": "repetitionName", + "in": "path", + "description": "The workflow repetition.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/WorkflowRunActionRepetitionDefinition" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Get a repetition": { + "$ref": "./examples/WorkflowRunActionRepetitions_Get.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hostruntime/runtime/webhooks/workflow/api/management/workflows/{workflowName}/runs/{runName}/actions/{actionName}/repetitions/{repetitionName}/listExpressionTraces": { + "post": { + "operationId": "WorkflowRunActionRepetitions_ListExpressionTraces", + "tags": [ + "WorkflowRunActionRepetitionDefinitions" + ], + "description": "Lists a workflow run expression trace.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Site name.", + "required": true, + "type": "string" + }, + { + "name": "workflowName", + "in": "path", + "description": "The workflow name.", + "required": true, + "type": "string" + }, + { + "name": "runName", + "in": "path", + "description": "The workflow run name.", + "required": true, + "type": "string" + }, + { + "name": "actionName", + "in": "path", + "description": "The workflow action name.", + "required": true, + "type": "string" + }, + { + "name": "repetitionName", + "in": "path", + "description": "The workflow repetition.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ExpressionTraces" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "List expression traces for a repetition": { + "$ref": "./examples/WorkflowRunActionRepetitions_ListExpressionTraces.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink", + "itemName": "inputs" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hostruntime/runtime/webhooks/workflow/api/management/workflows/{workflowName}/runs/{runName}/actions/{actionName}/repetitions/{repetitionName}/requestHistories": { + "get": { + "operationId": "WorkflowRunActionRepetitionsRequestHistories_List", + "tags": [ + "RequestHistories" + ], + "description": "List a workflow run repetition request history.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Site name.", + "required": true, + "type": "string" + }, + { + "name": "workflowName", + "in": "path", + "description": "The workflow name.", + "required": true, + "type": "string" + }, + { + "name": "runName", + "in": "path", + "description": "The workflow run name.", + "required": true, + "type": "string" + }, + { + "name": "actionName", + "in": "path", + "description": "The workflow action name.", + "required": true, + "type": "string" + }, + { + "name": "repetitionName", + "in": "path", + "description": "The workflow repetition.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/RequestHistoryListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "List repetition request history": { + "$ref": "./examples/WorkflowRunActionRepetitionsRequestHistories_List.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hostruntime/runtime/webhooks/workflow/api/management/workflows/{workflowName}/runs/{runName}/actions/{actionName}/repetitions/{repetitionName}/requestHistories/{requestHistoryName}": { + "get": { + "operationId": "WorkflowRunActionRepetitionsRequestHistories_Get", + "tags": [ + "RequestHistories" + ], + "description": "Gets a workflow run repetition request history.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Site name.", + "required": true, + "type": "string" + }, + { + "name": "workflowName", + "in": "path", + "description": "The workflow name.", + "required": true, + "type": "string" + }, + { + "name": "runName", + "in": "path", + "description": "The workflow run name.", + "required": true, + "type": "string" + }, + { + "name": "actionName", + "in": "path", + "description": "The workflow action name.", + "required": true, + "type": "string" + }, + { + "name": "repetitionName", + "in": "path", + "description": "The workflow repetition.", + "required": true, + "type": "string" + }, + { + "name": "requestHistoryName", + "in": "path", + "description": "The workflow repetition.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/RequestHistory" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Get a repetition request history": { + "$ref": "./examples/WorkflowRunActionRepetitionsRequestHistories_Get.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hostruntime/runtime/webhooks/workflow/api/management/workflows/{workflowName}/runs/{runName}/actions/{actionName}/scopeRepetitions": { + "get": { + "operationId": "WorkflowRunActionScopeRepetitions_List", + "tags": [ + "WorkflowRunActionScopeRepetitions" + ], + "description": "List the workflow run action scoped repetitions.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Site name.", + "required": true, + "type": "string" + }, + { + "name": "workflowName", + "in": "path", + "description": "The workflow name.", + "required": true, + "type": "string" + }, + { + "name": "runName", + "in": "path", + "description": "The workflow run name.", + "required": true, + "type": "string" + }, + { + "name": "actionName", + "in": "path", + "description": "The workflow action name.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/WorkflowRunActionRepetitionDefinitionCollection" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "List the scoped repetitions": { + "$ref": "./examples/WorkflowRunActionScopeRepetitions_List.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hostruntime/runtime/webhooks/workflow/api/management/workflows/{workflowName}/runs/{runName}/actions/{actionName}/scopeRepetitions/{repetitionName}": { + "get": { + "operationId": "WorkflowRunActionScopeRepetitions_Get", + "tags": [ + "WorkflowRunActionScopeRepetitions" + ], + "description": "Get a workflow run action scoped repetition.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Site name.", + "required": true, + "type": "string" + }, + { + "name": "workflowName", + "in": "path", + "description": "The workflow name.", + "required": true, + "type": "string" + }, + { + "name": "runName", + "in": "path", + "description": "The workflow run name.", + "required": true, + "type": "string" + }, + { + "name": "actionName", + "in": "path", + "description": "The workflow action name.", + "required": true, + "type": "string" + }, + { + "name": "repetitionName", + "in": "path", + "description": "The workflow repetition.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/WorkflowRunActionRepetitionDefinition" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Get a scoped repetition": { + "$ref": "./examples/WorkflowRunActionScopeRepetitions_Get.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hostruntime/runtime/webhooks/workflow/api/management/workflows/{workflowName}/runs/{runName}/cancel": { + "post": { + "operationId": "WorkflowRuns_Cancel", + "tags": [ + "WorkflowRuns" + ], + "description": "Cancels a workflow run.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Site name.", + "required": true, + "type": "string" + }, + { + "name": "workflowName", + "in": "path", + "description": "The workflow name.", + "required": true, + "type": "string" + }, + { + "name": "runName", + "in": "path", + "description": "The workflow run name.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Cancel a workflow run": { + "$ref": "./examples/WorkflowRuns_Cancel.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hostruntime/runtime/webhooks/workflow/api/management/workflows/{workflowName}/triggers": { + "get": { + "operationId": "WorkflowTriggers_List", + "tags": [ + "WorkflowTriggers" + ], + "description": "Gets a list of workflow triggers.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Site name.", + "required": true, + "type": "string" + }, + { + "name": "workflowName", + "in": "path", + "description": "The workflow name.", + "required": true, + "type": "string" + }, + { + "name": "$top", + "in": "query", + "description": "The number of items to be included in the result.", + "required": false, + "type": "integer", + "format": "int32" + }, + { + "name": "$filter", + "in": "query", + "description": "The filter to apply on the operation.", + "required": false, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/WorkflowTriggerListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "List workflow triggers": { + "$ref": "./examples/WorkflowTriggers_List.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hostruntime/runtime/webhooks/workflow/api/management/workflows/{workflowName}/triggers/{triggerName}": { + "get": { + "operationId": "WorkflowTriggers_Get", + "tags": [ + "WorkflowTriggers" + ], + "description": "Gets a workflow trigger.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Site name.", + "required": true, + "type": "string" + }, + { + "name": "workflowName", + "in": "path", + "description": "The workflow name.", + "required": true, + "type": "string" + }, + { + "name": "triggerName", + "in": "path", + "description": "The workflow trigger name.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/WorkflowTrigger" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Get a workflow trigger": { + "$ref": "./examples/WorkflowTriggers_Get.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hostruntime/runtime/webhooks/workflow/api/management/workflows/{workflowName}/triggers/{triggerName}/histories": { + "get": { + "operationId": "WorkflowTriggerHistories_List", + "tags": [ + "WorkflowTriggerHistories" + ], + "description": "Gets a list of workflow trigger histories.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Site name.", + "required": true, + "type": "string" + }, + { + "name": "workflowName", + "in": "path", + "description": "The workflow name.", + "required": true, + "type": "string" + }, + { + "name": "triggerName", + "in": "path", + "description": "The workflow trigger name.", + "required": true, + "type": "string" + }, + { + "name": "$top", + "in": "query", + "description": "The number of items to be included in the result.", + "required": false, + "type": "integer", + "format": "int32" + }, + { + "name": "$filter", + "in": "query", + "description": "The filter to apply on the operation. Options for filters include: Status, StartTime, and ClientTrackingId.", + "required": false, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/WorkflowTriggerHistoryListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "List a workflow trigger history": { + "$ref": "./examples/WorkflowTriggerHistories_List.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hostruntime/runtime/webhooks/workflow/api/management/workflows/{workflowName}/triggers/{triggerName}/histories/{historyName}": { + "get": { + "operationId": "WorkflowTriggerHistories_Get", + "tags": [ + "WorkflowTriggerHistories" + ], + "description": "Gets a workflow trigger history.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Site name.", + "required": true, + "type": "string" + }, + { + "name": "workflowName", + "in": "path", + "description": "The workflow name.", + "required": true, + "type": "string" + }, + { + "name": "triggerName", + "in": "path", + "description": "The workflow trigger name.", + "required": true, + "type": "string" + }, + { + "name": "historyName", + "in": "path", + "description": "The workflow trigger history name. Corresponds to the run name for triggers that resulted in a run.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/WorkflowTriggerHistory" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Get a workflow trigger history": { + "$ref": "./examples/WorkflowTriggerHistories_Get.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hostruntime/runtime/webhooks/workflow/api/management/workflows/{workflowName}/triggers/{triggerName}/histories/{historyName}/resubmit": { + "post": { + "operationId": "WorkflowTriggerHistories_Resubmit", + "tags": [ + "WorkflowTriggerHistories" + ], + "description": "Resubmits a workflow run based on the trigger history.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Site name.", + "required": true, + "type": "string" + }, + { + "name": "workflowName", + "in": "path", + "description": "The workflow name.", + "required": true, + "type": "string" + }, + { + "name": "triggerName", + "in": "path", + "description": "The workflow trigger name.", + "required": true, + "type": "string" + }, + { + "name": "historyName", + "in": "path", + "description": "The workflow trigger history name. Corresponds to the run name for triggers that resulted in a run.", + "required": true, + "type": "string" + } + ], + "responses": { + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Resubmit a workflow run based on the trigger history": { + "$ref": "./examples/WorkflowTriggerHistories_Resubmit.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hostruntime/runtime/webhooks/workflow/api/management/workflows/{workflowName}/triggers/{triggerName}/listCallbackUrl": { + "post": { + "operationId": "WorkflowTriggers_ListCallbackUrl", + "tags": [ + "WorkflowTriggers" + ], + "description": "Get the callback URL for a workflow trigger.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Site name.", + "required": true, + "type": "string" + }, + { + "name": "workflowName", + "in": "path", + "description": "The workflow name.", + "required": true, + "type": "string" + }, + { + "name": "triggerName", + "in": "path", + "description": "The workflow trigger name.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/WorkflowTriggerCallbackUrl" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Get the callback URL for a trigger": { + "$ref": "./examples/WorkflowTriggers_ListCallbackUrl.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hostruntime/runtime/webhooks/workflow/api/management/workflows/{workflowName}/triggers/{triggerName}/run": { + "post": { + "operationId": "WorkflowTriggers_Run", + "tags": [ + "WorkflowTriggers" + ], + "description": "Runs a workflow trigger.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Site name.", + "required": true, + "type": "string" + }, + { + "name": "workflowName", + "in": "path", + "description": "The workflow name.", + "required": true, + "type": "string" + }, + { + "name": "triggerName", + "in": "path", + "description": "The workflow trigger name.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully." + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Run a workflow trigger": { + "$ref": "./examples/WorkflowTriggers_Run.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hostruntime/runtime/webhooks/workflow/api/management/workflows/{workflowName}/triggers/{triggerName}/schemas/json": { + "get": { + "operationId": "WorkflowTriggers_GetSchemaJson", + "tags": [ + "WorkflowTriggers" + ], + "description": "Get the trigger schema as JSON.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Site name.", + "required": true, + "type": "string" + }, + { + "name": "workflowName", + "in": "path", + "description": "The workflow name.", + "required": true, + "type": "string" + }, + { + "name": "triggerName", + "in": "path", + "description": "The workflow trigger name.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/JsonSchema" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Get trigger schema": { + "$ref": "./examples/WorkflowTriggers_GetSchemaJson.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hostruntime/runtime/webhooks/workflow/api/management/workflows/{workflowName}/validate": { + "post": { + "operationId": "Workflows_Validate", + "tags": [ + "Sites" + ], + "description": "Validates the workflow definition.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Site name.", + "required": true, + "type": "string" + }, + { + "name": "workflowName", + "in": "path", + "description": "The workflow name.", + "required": true, + "type": "string" + }, + { + "name": "validate", + "in": "body", + "description": "The workflow.", + "required": true, + "schema": { + "$ref": "#/definitions/Workflow" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Validate a workflow": { + "$ref": "./examples/Workflows_Validate.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hostruntime/runtime/webhooks/workflow/api/management/workflows/{workflowName}/versions": { + "get": { + "operationId": "WorkflowVersions_List", + "tags": [ + "WorkflowVersions" + ], + "description": "Gets a list of workflow versions.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Site name.", + "required": true, + "type": "string" + }, + { + "name": "workflowName", + "in": "path", + "description": "The workflow name.", + "required": true, + "type": "string" + }, + { + "name": "$top", + "in": "query", + "description": "The number of items to be included in the result.", + "required": false, + "type": "integer", + "format": "int32" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/WorkflowVersionListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "List a workflows versions": { + "$ref": "./examples/WorkflowVersions_List.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hostruntime/runtime/webhooks/workflow/api/management/workflows/{workflowName}/versions/{versionId}": { + "get": { + "operationId": "WorkflowVersions_Get", + "tags": [ + "WorkflowVersions" + ], + "description": "Gets a workflow version.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Site name.", + "required": true, + "type": "string" + }, + { + "name": "workflowName", + "in": "path", + "description": "The workflow name.", + "required": true, + "type": "string" + }, + { + "name": "versionId", + "in": "path", + "description": "The workflow versionId.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/WorkflowVersion" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Get a workflow version": { + "$ref": "./examples/WorkflowVersions_Get.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hybridConnectionNamespaces/{namespaceName}/relays/{relayName}": { + "get": { + "operationId": "WebApps_GetHybridConnection", + "tags": [ + "HybridConnectionOperationGroup" + ], + "summary": "Retrieves a specific Service Bus Hybrid Connection used by this Web App.", + "description": "Description for Retrieves a specific Service Bus Hybrid Connection used by this Web App.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "The name of the web app.", + "required": true, + "type": "string" + }, + { + "name": "namespaceName", + "in": "path", + "description": "The namespace for this hybrid connection.", + "required": true, + "type": "string" + }, + { + "name": "relayName", + "in": "path", + "description": "The relay name for this hybrid connection.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/HybridConnection" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + }, + "put": { + "operationId": "WebApps_CreateOrUpdateHybridConnection", + "tags": [ + "HybridConnectionOperationGroup" + ], + "summary": "Creates a new Hybrid Connection using a Service Bus relay.", + "description": "Description for Creates a new Hybrid Connection using a Service Bus relay.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "The name of the web app.", + "required": true, + "type": "string" + }, + { + "name": "namespaceName", + "in": "path", + "description": "The namespace for this hybrid connection.", + "required": true, + "type": "string" + }, + { + "name": "relayName", + "in": "path", + "description": "The relay name for this hybrid connection.", + "required": true, + "type": "string" + }, + { + "name": "connectionEnvelope", + "in": "body", + "description": "The details of the hybrid connection.", + "required": true, + "schema": { + "$ref": "#/definitions/HybridConnection" + } + } + ], + "responses": { + "200": { + "description": "Resource 'HybridConnection' update operation succeeded", + "schema": { + "$ref": "#/definitions/HybridConnection" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + }, + "patch": { + "operationId": "WebApps_UpdateHybridConnection", + "tags": [ + "HybridConnectionOperationGroup" + ], + "summary": "Creates a new Hybrid Connection using a Service Bus relay.", + "description": "Description for Creates a new Hybrid Connection using a Service Bus relay.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "The name of the web app.", + "required": true, + "type": "string" + }, + { + "name": "namespaceName", + "in": "path", + "description": "The namespace for this hybrid connection.", + "required": true, + "type": "string" + }, + { + "name": "relayName", + "in": "path", + "description": "The relay name for this hybrid connection.", + "required": true, + "type": "string" + }, + { + "name": "connectionEnvelope", + "in": "body", + "description": "The details of the hybrid connection.", + "required": true, + "schema": { + "$ref": "#/definitions/HybridConnection" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/HybridConnection" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + }, + "delete": { + "operationId": "WebApps_DeleteHybridConnection", + "tags": [ + "HybridConnectionOperationGroup" + ], + "summary": "Removes a Hybrid Connection from this site.", + "description": "Description for Removes a Hybrid Connection from this site.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "The name of the web app.", + "required": true, + "type": "string" + }, + { + "name": "namespaceName", + "in": "path", + "description": "The namespace for this hybrid connection.", + "required": true, + "type": "string" + }, + { + "name": "relayName", + "in": "path", + "description": "The relay name for this hybrid connection.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Resource deleted successfully." + }, + "404": { + "description": "The server cannot find the requested resource.", + "x-ms-error-response": true + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hybridConnectionRelays": { + "get": { + "operationId": "WebApps_ListHybridConnections", + "tags": [ + "Sites" + ], + "summary": "Retrieves all Service Bus Hybrid Connections used by this Web App.", + "description": "Description for Retrieves all Service Bus Hybrid Connections used by this Web App.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/HybridConnection" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hybridconnection": { + "get": { + "operationId": "WebApps_ListRelayServiceConnections", + "tags": [ + "Sites" + ], + "summary": "Gets hybrid connections configured for an app (or deployment slot, if specified).", + "description": "Description for Gets hybrid connections configured for an app (or deployment slot, if specified).", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/RelayServiceConnectionEntity" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hybridconnection/{entityName}": { + "get": { + "operationId": "WebApps_GetRelayServiceConnection", + "tags": [ + "RelayServiceConnectionEntities" + ], + "summary": "Gets a hybrid connection configuration by its name.", + "description": "Description for Gets a hybrid connection configuration by its name.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "entityName", + "in": "path", + "description": "Name of the hybrid connection.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/RelayServiceConnectionEntity" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + }, + "put": { + "operationId": "WebApps_CreateOrUpdateRelayServiceConnection", + "tags": [ + "RelayServiceConnectionEntities" + ], + "summary": "Creates a new hybrid connection configuration (PUT), or updates an existing one (PATCH).", + "description": "Description for Creates a new hybrid connection configuration (PUT), or updates an existing one (PATCH).", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "entityName", + "in": "path", + "description": "Name of the hybrid connection.", + "required": true, + "type": "string" + }, + { + "name": "connectionEnvelope", + "in": "body", + "description": "Details of the hybrid connection configuration.", + "required": true, + "schema": { + "$ref": "#/definitions/RelayServiceConnectionEntity" + } + } + ], + "responses": { + "200": { + "description": "Resource 'RelayServiceConnectionEntity' update operation succeeded", + "schema": { + "$ref": "#/definitions/RelayServiceConnectionEntity" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + }, + "patch": { + "operationId": "WebApps_UpdateRelayServiceConnection", + "tags": [ + "RelayServiceConnectionEntities" + ], + "summary": "Creates a new hybrid connection configuration (PUT), or updates an existing one (PATCH).", + "description": "Description for Creates a new hybrid connection configuration (PUT), or updates an existing one (PATCH).", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "entityName", + "in": "path", + "description": "Name of the hybrid connection.", + "required": true, + "type": "string" + }, + { + "name": "connectionEnvelope", + "in": "body", + "description": "Details of the hybrid connection configuration.", + "required": true, + "schema": { + "$ref": "#/definitions/RelayServiceConnectionEntity" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/RelayServiceConnectionEntity" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + }, + "delete": { + "operationId": "WebApps_DeleteRelayServiceConnection", + "tags": [ + "RelayServiceConnectionEntities" + ], + "summary": "Deletes a relay service connection by its name.", + "description": "Description for Deletes a relay service connection by its name.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "entityName", + "in": "path", + "description": "Name of the hybrid connection.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Resource deleted successfully." + }, + "404": { + "description": "The server cannot find the requested resource.", + "x-ms-error-response": true + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/instances": { + "get": { + "operationId": "WebApps_ListInstanceIdentifiers", + "tags": [ + "WebSiteInstanceStatuses" + ], + "summary": "Gets all scale-out instances of an app.", + "description": "Description for Gets all scale-out instances of an app.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/WebAppInstanceStatusCollection" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/instances/{instanceId}": { + "get": { + "operationId": "WebApps_GetInstanceInfo", + "tags": [ + "WebSiteInstanceStatuses" + ], + "summary": "Gets all scale-out instances of an app.", + "description": "Description for Gets all scale-out instances of an app.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "instanceId", + "in": "path", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/WebSiteInstanceStatus" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "Get site instance info": { + "$ref": "./examples/GetSiteInstanceInfo.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/instances/{instanceId}/extensions/mSDeploy": { + "get": { + "operationId": "WebApps_GetInstanceMsDeployStatus", + "tags": [ + "MSDeployStatusOperationGroup" + ], + "summary": "Get the status of the last MSDeploy operation.", + "description": "Description for Get the status of the last MSDeploy operation.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of web app.", + "required": true, + "type": "string" + }, + { + "name": "instanceId", + "in": "path", + "description": "ID of web app instance.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/MSDeployStatus" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + }, + "put": { + "operationId": "WebApps_CreateInstanceMSDeployOperation", + "tags": [ + "MSDeployStatusOperationGroup" + ], + "summary": "Invoke the MSDeploy web app extension.", + "description": "Description for Invoke the MSDeploy web app extension.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of web app.", + "required": true, + "type": "string" + }, + { + "name": "instanceId", + "in": "path", + "description": "ID of web app instance.", + "required": true, + "type": "string" + }, + { + "name": "MSDeploy", + "in": "body", + "description": "Details of MSDeploy operation", + "required": true, + "schema": { + "$ref": "#/definitions/MSDeploy" + } + } + ], + "responses": { + "201": { + "description": "Resource 'MSDeployStatus' create operation succeeded", + "schema": { + "$ref": "#/definitions/MSDeployStatus" + }, + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "409": { + "description": "The request conflicts with the current state of the server.", + "x-ms-error-response": true + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "#/definitions/MSDeployStatus" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/instances/{instanceId}/extensions/mSDeploy/log": { + "get": { + "operationId": "WebApps_GetInstanceMSDeployLog", + "tags": [ + "MSDeployStatusOperationGroup" + ], + "summary": "Get the MSDeploy Log for the last MSDeploy operation.", + "description": "Description for Get the MSDeploy Log for the last MSDeploy operation.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of web app.", + "required": true, + "type": "string" + }, + { + "name": "instanceId", + "in": "path", + "description": "ID of web app instance.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/MSDeployLog" + } + }, + "404": { + "description": "The server cannot find the requested resource.", + "x-ms-error-response": true + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/instances/{instanceId}/processes": { + "get": { + "operationId": "WebApps_ListInstanceProcesses", + "tags": [ + "ProcessInfos" + ], + "summary": "Get list of processes for a web site, or a deployment slot, or for a specific scaled-out instance in a web site.", + "description": "Description for Get list of processes for a web site, or a deployment slot, or for a specific scaled-out instance in a web site.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Site name.", + "required": true, + "type": "string" + }, + { + "name": "instanceId", + "in": "path", + "description": "ID of a specific scaled-out instance. This is the value of the name property in the JSON response from \"GET api/sites/{siteName}/instances\".", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ProcessInfoCollection" + } + }, + "404": { + "description": "The server cannot find the requested resource.", + "x-ms-error-response": true + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/instances/{instanceId}/processes/{processId}": { + "get": { + "operationId": "WebApps_GetInstanceProcess", + "tags": [ + "ProcessInfos" + ], + "summary": "Get process information by its ID for a specific scaled-out instance in a web site.", + "description": "Description for Get process information by its ID for a specific scaled-out instance in a web site.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Site name.", + "required": true, + "type": "string" + }, + { + "name": "instanceId", + "in": "path", + "description": "ID of a specific scaled-out instance. This is the value of the name property in the JSON response from \"GET api/sites/{siteName}/instances\".", + "required": true, + "type": "string" + }, + { + "name": "processId", + "in": "path", + "description": "PID.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ProcessInfo" + } + }, + "404": { + "description": "The server cannot find the requested resource.", + "x-ms-error-response": true + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + }, + "delete": { + "operationId": "WebApps_DeleteInstanceProcess", + "tags": [ + "ProcessInfos" + ], + "summary": "Terminate a process by its ID for a web site, or a deployment slot, or specific scaled-out instance in a web site.", + "description": "Description for Terminate a process by its ID for a web site, or a deployment slot, or specific scaled-out instance in a web site.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Site name.", + "required": true, + "type": "string" + }, + { + "name": "instanceId", + "in": "path", + "description": "ID of a specific scaled-out instance. This is the value of the name property in the JSON response from \"GET api/sites/{siteName}/instances\".", + "required": true, + "type": "string" + }, + { + "name": "processId", + "in": "path", + "description": "PID.", + "required": true, + "type": "string" + } + ], + "responses": { + "204": { + "description": "Resource does not exist." + }, + "404": { + "description": "The server cannot find the requested resource.", + "x-ms-error-response": true + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/instances/{instanceId}/processes/{processId}/dump": { + "get": { + "operationId": "WebApps_GetInstanceProcessDump", + "tags": [ + "ProcessInfos" + ], + "summary": "Get a memory dump of a process by its ID for a specific scaled-out instance in a web site.", + "description": "Description for Get a memory dump of a process by its ID for a specific scaled-out instance in a web site.", + "produces": [ + "*/*", + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Site name.", + "required": true, + "type": "string" + }, + { + "name": "instanceId", + "in": "path", + "description": "ID of a specific scaled-out instance. This is the value of the name property in the JSON response from \"GET api/sites/{siteName}/instances\".", + "required": true, + "type": "string" + }, + { + "name": "processId", + "in": "path", + "description": "PID.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "type": "file" + } + }, + "404": { + "description": "The server cannot find the requested resource.", + "x-ms-error-response": true + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/instances/{instanceId}/processes/{processId}/modules": { + "get": { + "operationId": "WebApps_ListInstanceProcessModules", + "tags": [ + "ProcessModuleInfos" + ], + "summary": "List module information for a process by its ID for a specific scaled-out instance in a web site.", + "description": "Description for List module information for a process by its ID for a specific scaled-out instance in a web site.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Site name.", + "required": true, + "type": "string" + }, + { + "name": "instanceId", + "in": "path", + "description": "ID of a specific scaled-out instance. This is the value of the name property in the JSON response from \"GET api/sites/{siteName}/instances\".", + "required": true, + "type": "string" + }, + { + "name": "processId", + "in": "path", + "description": "PID.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ProcessModuleInfoCollection" + } + }, + "404": { + "description": "The server cannot find the requested resource.", + "x-ms-error-response": true + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/instances/{instanceId}/processes/{processId}/modules/{baseAddress}": { + "get": { + "operationId": "WebApps_GetInstanceProcessModule", + "tags": [ + "ProcessModuleInfos" + ], + "summary": "Get process information by its ID for a specific scaled-out instance in a web site.", + "description": "Description for Get process information by its ID for a specific scaled-out instance in a web site.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Site name.", + "required": true, + "type": "string" + }, + { + "name": "instanceId", + "in": "path", + "description": "ID of a specific scaled-out instance. This is the value of the name property in the JSON response from \"GET api/sites/{siteName}/instances\".", + "required": true, + "type": "string" + }, + { + "name": "processId", + "in": "path", + "description": "PID.", + "required": true, + "type": "string" + }, + { + "name": "baseAddress", + "in": "path", + "description": "Module base address.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ProcessModuleInfo" + } + }, + "404": { + "description": "The server cannot find the requested resource.", + "x-ms-error-response": true + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/instances/{instanceId}/processes/{processId}/threads": { + "get": { + "operationId": "WebApps_ListInstanceProcessThreads", + "tags": [ + "ProcessInfos" + ], + "summary": "List the threads in a process by its ID for a specific scaled-out instance in a web site.", + "description": "Description for List the threads in a process by its ID for a specific scaled-out instance in a web site.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Site name.", + "required": true, + "type": "string" + }, + { + "name": "instanceId", + "in": "path", + "description": "ID of a specific scaled-out instance. This is the value of the name property in the JSON response from \"GET api/sites/{siteName}/instances\".", + "required": true, + "type": "string" + }, + { + "name": "processId", + "in": "path", + "description": "PID.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ProcessThreadInfoCollection" + } + }, + "404": { + "description": "The server cannot find the requested resource.", + "x-ms-error-response": true + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/iscloneable": { + "post": { + "operationId": "WebApps_IsCloneable", + "tags": [ + "Sites" + ], + "summary": "Shows whether an app can be cloned to another resource group or subscription.", + "description": "Description for Shows whether an app can be cloned to another resource group or subscription.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/SiteCloneability" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/listWorkflowsConnections": { + "post": { + "operationId": "WebApps_ListWorkflowsConnections", + "tags": [ + "Sites" + ], + "summary": "Lists logic app's connections for web site, or a deployment slot.", + "description": "Lists logic app's connections for web site, or a deployment slot.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/WorkflowEnvelope" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "List the Instance Workflows Configuration Connections": { + "$ref": "./examples/ListWorkflowsConfigurationConnections.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/listbackups": { + "post": { + "operationId": "WebApps_ListSiteBackups", + "tags": [ + "Sites" + ], + "summary": "Gets existing backups of an app.", + "description": "Description for Gets existing backups of an app.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/BackupItemCollection" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "List backups": { + "$ref": "./examples/ListSlotBackups.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/listsyncfunctiontriggerstatus": { + "post": { + "operationId": "WebApps_ListSyncFunctionTriggers", + "tags": [ + "Sites" + ], + "summary": "This is to allow calling via powershell and ARM template.", + "description": "Description for This is to allow calling via powershell and ARM template.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/FunctionSecrets" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/migrate": { + "put": { + "operationId": "WebApps_MigrateStorage", + "tags": [ + "Sites" + ], + "summary": "Restores a web app.", + "description": "Description for Restores a web app.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "subscriptionName", + "in": "query", + "description": "Azure subscription", + "required": true, + "type": "string" + }, + { + "name": "migrationOptions", + "in": "body", + "description": "Migration migrationOptions.", + "required": true, + "schema": { + "$ref": "#/definitions/StorageMigrationOptions" + } + } + ], + "responses": { + "200": { + "description": "The request has succeeded.", + "schema": { + "$ref": "#/definitions/StorageMigrationResponse" + }, + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "#/definitions/StorageMigrationResponse" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/migratemysql": { + "post": { + "operationId": "WebApps_MigrateMySql", + "tags": [ + "Sites" + ], + "summary": "Migrates a local (in-app) MySql database to a remote MySql database.", + "description": "Description for Migrates a local (in-app) MySql database to a remote MySql database.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "migrationRequestEnvelope", + "in": "body", + "description": "MySql migration options.", + "required": true, + "schema": { + "$ref": "#/definitions/MigrateMySqlRequest" + } + } + ], + "responses": { + "200": { + "description": "The request has succeeded.", + "schema": { + "$ref": "#/definitions/Operation" + }, + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "#/definitions/Operation" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/migratemysql/status": { + "get": { + "operationId": "WebApps_GetMigrateMySqlStatus", + "tags": [ + "MigrateMySqlStatuses" + ], + "summary": "Returns the status of MySql in app migration, if one is active, and whether or not MySql in app is enabled", + "description": "Description for Returns the status of MySql in app migration, if one is active, and whether or not MySql in app is enabled", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of web app.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/MigrateMySqlStatus" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/networkConfig/virtualNetwork": { + "get": { + "operationId": "WebApps_GetSwiftVirtualNetworkConnection", + "tags": [ + "SwiftVirtualNetworks" + ], + "summary": "Gets a Swift Virtual Network connection.", + "description": "Description for Gets a Swift Virtual Network connection.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/SwiftVirtualNetwork" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + }, + "put": { + "operationId": "WebApps_CreateOrUpdateSwiftVirtualNetworkConnectionWithCheck", + "tags": [ + "SwiftVirtualNetworks" + ], + "summary": "Integrates this Web App with a Virtual Network. This requires that 1) \"swiftSupported\" is true when doing a GET against this resource, and 2) that the target Subnet has already been delegated, and is not\r\nin use by another App Service Plan other than the one this App is in.", + "description": "Description for Integrates this Web App with a Virtual Network. This requires that 1) \"swiftSupported\" is true when doing a GET against this resource, and 2) that the target Subnet has already been delegated, and is not\nin use by another App Service Plan other than the one this App is in.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "connectionEnvelope", + "in": "body", + "description": "Properties of the Virtual Network connection. See example.", + "required": true, + "schema": { + "$ref": "#/definitions/SwiftVirtualNetwork" + } + } + ], + "responses": { + "200": { + "description": "Resource 'SwiftVirtualNetwork' update operation succeeded", + "schema": { + "$ref": "#/definitions/SwiftVirtualNetwork" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + }, + "patch": { + "operationId": "WebApps_UpdateSwiftVirtualNetworkConnectionWithCheck", + "tags": [ + "SwiftVirtualNetworks" + ], + "summary": "Integrates this Web App with a Virtual Network. This requires that 1) \"swiftSupported\" is true when doing a GET against this resource, and 2) that the target Subnet has already been delegated, and is not\r\nin use by another App Service Plan other than the one this App is in.", + "description": "Description for Integrates this Web App with a Virtual Network. This requires that 1) \"swiftSupported\" is true when doing a GET against this resource, and 2) that the target Subnet has already been delegated, and is not\nin use by another App Service Plan other than the one this App is in.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "connectionEnvelope", + "in": "body", + "description": "Properties of the Virtual Network connection. See example.", + "required": true, + "schema": { + "$ref": "#/definitions/SwiftVirtualNetwork" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/SwiftVirtualNetwork" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + }, + "delete": { + "operationId": "WebApps_DeleteSwiftVirtualNetwork", + "tags": [ + "SwiftVirtualNetworks" + ], + "summary": "Deletes a Swift Virtual Network connection from an app (or deployment slot).", + "description": "Description for Deletes a Swift Virtual Network connection from an app (or deployment slot).", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Resource deleted successfully." + }, + "404": { + "description": "The server cannot find the requested resource.", + "x-ms-error-response": true + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/networkFeatures/{view}": { + "get": { + "operationId": "WebApps_ListNetworkFeatures", + "tags": [ + "NetworkFeaturesOperationGroup" + ], + "summary": "Gets all network features used by the app (or deployment slot, if specified).", + "description": "Description for Gets all network features used by the app (or deployment slot, if specified).", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "view", + "in": "path", + "description": "The type of view. Only \"summary\" is supported at this time.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/NetworkFeatures" + } + }, + "404": { + "description": "The server cannot find the requested resource.", + "x-ms-error-response": true + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/networkTrace/start": { + "post": { + "operationId": "WebApps_StartWebSiteNetworkTrace", + "tags": [ + "Sites" + ], + "summary": "Start capturing network packets for the site (To be deprecated).", + "description": "Description for Start capturing network packets for the site (To be deprecated).", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "durationInSeconds", + "in": "query", + "description": "The duration to keep capturing in seconds.", + "required": false, + "type": "integer", + "format": "int32" + }, + { + "name": "maxFrameLength", + "in": "query", + "description": "The maximum frame length in bytes (Optional).", + "required": false, + "type": "integer", + "format": "int32" + }, + { + "name": "sasUrl", + "in": "query", + "description": "The Blob URL to store capture file.", + "required": false, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/stringApplicationJson" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/networkTrace/startOperation": { + "post": { + "operationId": "WebApps_StartWebSiteNetworkTraceOperation", + "tags": [ + "Sites" + ], + "summary": "Start capturing network packets for the site.", + "description": "Description for Start capturing network packets for the site.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "durationInSeconds", + "in": "query", + "description": "The duration to keep capturing in seconds.", + "required": false, + "type": "integer", + "format": "int32" + }, + { + "name": "maxFrameLength", + "in": "query", + "description": "The maximum frame length in bytes (Optional).", + "required": false, + "type": "integer", + "format": "int32" + }, + { + "name": "sasUrl", + "in": "query", + "description": "The Blob URL to store capture file.", + "required": false, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "type": "array", + "items": { + "$ref": "#/definitions/NetworkTrace" + } + } + }, + "202": { + "description": "Azure operation completed successfully.", + "schema": { + "type": "array", + "items": { + "$ref": "#/definitions/NetworkTrace" + } + }, + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "Start a new network trace operation for a site": { + "$ref": "./examples/StartWebSiteNetworkTraceOperation.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/networkTrace/stop": { + "post": { + "operationId": "WebApps_StopWebSiteNetworkTrace", + "tags": [ + "Sites" + ], + "summary": "Stop ongoing capturing network packets for the site.", + "description": "Description for Stop ongoing capturing network packets for the site.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully." + }, + "204": { + "description": "There is no content to send for this request, but the headers may be useful." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "Stop a currently running network trace operation for a site": { + "$ref": "./examples/StopWebSiteNetworkTrace.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/newpassword": { + "post": { + "operationId": "WebApps_GenerateNewSitePublishingPassword", + "tags": [ + "Sites" + ], + "summary": "Generates a new publishing password for an app (or deployment slot, if specified).", + "description": "Description for Generates a new publishing password for an app (or deployment slot, if specified).", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully." + }, + "204": { + "description": "There is no content to send for this request, but the headers may be useful." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/perfcounters": { + "get": { + "operationId": "WebApps_ListPerfMonCounters", + "tags": [ + "Sites" + ], + "summary": "Gets perfmon counters for web app.", + "description": "Description for Gets perfmon counters for web app.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "$filter", + "in": "query", + "description": "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]'.", + "required": false, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/PerfMonCounterCollection" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/phplogging": { + "get": { + "operationId": "WebApps_GetSitePhpErrorLogFlag", + "tags": [ + "Sites" + ], + "summary": "Gets web app's event logs.", + "description": "Description for Gets web app's event logs.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/SitePhpErrorLogFlag" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/premieraddons": { + "get": { + "operationId": "WebApps_ListPremierAddOns", + "tags": [ + "Sites" + ], + "summary": "Gets the premier add-ons of an app.", + "description": "Description for Gets the premier add-ons of an app.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/PremierAddOn" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/premieraddons/{premierAddOnName}": { + "get": { + "operationId": "WebApps_GetPremierAddOn", + "tags": [ + "PremierAddOns" + ], + "summary": "Gets a named add-on of an app.", + "description": "Description for Gets a named add-on of an app.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "premierAddOnName", + "in": "path", + "description": "Add-on name.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/PremierAddOn" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + }, + "put": { + "operationId": "WebApps_AddPremierAddOn", + "tags": [ + "PremierAddOns" + ], + "summary": "Updates a named add-on of an app.", + "description": "Description for Updates a named add-on of an app.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "premierAddOnName", + "in": "path", + "description": "Add-on name.", + "required": true, + "type": "string" + }, + { + "name": "premierAddOn", + "in": "body", + "description": "A JSON representation of the edited premier add-on.", + "required": true, + "schema": { + "$ref": "#/definitions/PremierAddOn" + } + } + ], + "responses": { + "200": { + "description": "Resource 'PremierAddOn' update operation succeeded", + "schema": { + "$ref": "#/definitions/PremierAddOn" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + }, + "patch": { + "operationId": "WebApps_UpdatePremierAddOn", + "tags": [ + "PremierAddOns" + ], + "summary": "Updates a named add-on of an app.", + "description": "Description for Updates a named add-on of an app.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "premierAddOnName", + "in": "path", + "description": "Add-on name.", + "required": true, + "type": "string" + }, + { + "name": "premierAddOn", + "in": "body", + "description": "A JSON representation of the edited premier add-on.", + "required": true, + "schema": { + "$ref": "#/definitions/PremierAddOnPatchResource" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/PremierAddOn" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + }, + "delete": { + "operationId": "WebApps_DeletePremierAddOn", + "tags": [ + "PremierAddOns" + ], + "summary": "Delete a premier add-on from an app.", + "description": "Description for Delete a premier add-on from an app.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "premierAddOnName", + "in": "path", + "description": "Add-on name.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Resource deleted successfully." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/privateAccess/virtualNetworks": { + "get": { + "operationId": "WebApps_GetPrivateAccess", + "tags": [ + "PrivateAccesses" + ], + "summary": "Gets data around private site access enablement and authorized Virtual Networks that can access the site.", + "description": "Description for Gets data around private site access enablement and authorized Virtual Networks that can access the site.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "The name of the web app.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/PrivateAccess" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + }, + "put": { + "operationId": "WebApps_PutPrivateAccessVnet", + "tags": [ + "PrivateAccesses" + ], + "summary": "Sets data around private site access enablement and authorized Virtual Networks that can access the site.", + "description": "Description for Sets data around private site access enablement and authorized Virtual Networks that can access the site.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "The name of the web app.", + "required": true, + "type": "string" + }, + { + "name": "access", + "in": "body", + "description": "The information for the private access", + "required": true, + "schema": { + "$ref": "#/definitions/PrivateAccess" + } + } + ], + "responses": { + "200": { + "description": "Resource 'PrivateAccess' update operation succeeded", + "schema": { + "$ref": "#/definitions/PrivateAccess" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/privateEndpointConnections": { + "get": { + "operationId": "WebApps_GetPrivateEndpointConnectionList", + "tags": [ + "RemotePrivateEndpointConnectionARMResourceOperationGroup" + ], + "summary": "Gets the list of private endpoint connections associated with a site", + "description": "Description for Gets the list of private endpoint connections associated with a site", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the site.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/PrivateEndpointConnectionCollection" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/privateEndpointConnections/{privateEndpointConnectionName}": { + "get": { + "operationId": "WebApps_GetPrivateEndpointConnection", + "tags": [ + "RemotePrivateEndpointConnectionARMResourceOperationGroup" + ], + "summary": "Gets a private endpoint connection", + "description": "Description for Gets a private endpoint connection", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the site.", + "required": true, + "type": "string" + }, + { + "name": "privateEndpointConnectionName", + "in": "path", + "description": "Name of the private endpoint connection.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/RemotePrivateEndpointConnectionARMResource" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "Get a private endpoint connection for a site.": { + "$ref": "./examples/GetSitePrivateEndpointConnection.json" + } + } + }, + "put": { + "operationId": "WebApps_ApproveOrRejectPrivateEndpointConnection", + "tags": [ + "RemotePrivateEndpointConnectionARMResourceOperationGroup" + ], + "summary": "Approves or rejects a private endpoint connection", + "description": "Description for Approves or rejects a private endpoint connection", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the site.", + "required": true, + "type": "string" + }, + { + "name": "privateEndpointConnectionName", + "in": "path", + "description": "Name of the private endpoint connection.", + "required": true, + "type": "string" + }, + { + "name": "privateEndpointWrapper", + "in": "body", + "description": "", + "required": true, + "schema": { + "$ref": "#/definitions/RemotePrivateEndpointConnectionARMResource" + } + } + ], + "responses": { + "200": { + "description": "Resource 'RemotePrivateEndpointConnectionARMResource' update operation succeeded", + "schema": { + "$ref": "#/definitions/RemotePrivateEndpointConnectionARMResource" + } + }, + "202": { + "description": "The request has been accepted for processing, but processing has not yet completed.", + "schema": { + "$ref": "#/definitions/RemotePrivateEndpointConnectionARMResource" + }, + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "Approves or rejects a private endpoint connection for a site.": { + "$ref": "./examples/ApproveRejectSitePrivateEndpointConnection.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "#/definitions/RemotePrivateEndpointConnectionARMResource" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "WebApps_DeletePrivateEndpointConnection", + "tags": [ + "RemotePrivateEndpointConnectionARMResourceOperationGroup" + ], + "summary": "Deletes a private endpoint connection", + "description": "Description for Deletes a private endpoint connection", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the site.", + "required": true, + "type": "string" + }, + { + "name": "privateEndpointConnectionName", + "in": "path", + "description": "Name of the private endpoint connection.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": {} + }, + "202": { + "description": "The request has been accepted for processing, but processing has not yet completed.", + "schema": {}, + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "There is no content to send for this request, but the headers may be useful. ", + "schema": {} + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "Delete a private endpoint connection for a site.": { + "$ref": "./examples/DeleteSitePrivateEndpointConnection.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/privateLinkResources": { + "get": { + "operationId": "WebApps_GetPrivateLinkResources", + "tags": [ + "Sites" + ], + "summary": "Gets the private link resources", + "description": "Description for Gets the private link resources", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/PrivateLinkResourcesWrapper" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "Get private link resources of a site": { + "$ref": "./examples/GetSitePrivateLinkResources_WebApps.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/processes": { + "get": { + "operationId": "WebApps_ListProcesses", + "tags": [ + "ProcessInfoOperationGroup" + ], + "summary": "Get list of processes for a web site, or a deployment slot, or for a specific scaled-out instance in a web site.", + "description": "Description for Get list of processes for a web site, or a deployment slot, or for a specific scaled-out instance in a web site.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Site name.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ProcessInfoCollection" + } + }, + "404": { + "description": "The server cannot find the requested resource.", + "x-ms-error-response": true + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/processes/{processId}": { + "get": { + "operationId": "WebApps_GetProcess", + "tags": [ + "ProcessInfoOperationGroup" + ], + "summary": "Get process information by its ID for a specific scaled-out instance in a web site.", + "description": "Description for Get process information by its ID for a specific scaled-out instance in a web site.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Site name.", + "required": true, + "type": "string" + }, + { + "name": "processId", + "in": "path", + "description": "PID.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ProcessInfo" + } + }, + "404": { + "description": "The server cannot find the requested resource.", + "x-ms-error-response": true + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + }, + "delete": { + "operationId": "WebApps_DeleteProcess", + "tags": [ + "ProcessInfoOperationGroup" + ], + "summary": "Terminate a process by its ID for a web site, or a deployment slot, or specific scaled-out instance in a web site.", + "description": "Description for Terminate a process by its ID for a web site, or a deployment slot, or specific scaled-out instance in a web site.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Site name.", + "required": true, + "type": "string" + }, + { + "name": "processId", + "in": "path", + "description": "PID.", + "required": true, + "type": "string" + } + ], + "responses": { + "204": { + "description": "Resource does not exist." + }, + "404": { + "description": "The server cannot find the requested resource.", + "x-ms-error-response": true + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/processes/{processId}/dump": { + "get": { + "operationId": "WebApps_GetProcessDump", + "tags": [ + "ProcessInfoOperationGroup" + ], + "summary": "Get a memory dump of a process by its ID for a specific scaled-out instance in a web site.", + "description": "Description for Get a memory dump of a process by its ID for a specific scaled-out instance in a web site.", + "produces": [ + "*/*", + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Site name.", + "required": true, + "type": "string" + }, + { + "name": "processId", + "in": "path", + "description": "PID.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "type": "file" + } + }, + "404": { + "description": "The server cannot find the requested resource.", + "x-ms-error-response": true + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/processes/{processId}/modules": { + "get": { + "operationId": "WebApps_ListProcessModules", + "tags": [ + "ProcessModuleInfoOperationGroup" + ], + "summary": "List module information for a process by its ID for a specific scaled-out instance in a web site.", + "description": "Description for List module information for a process by its ID for a specific scaled-out instance in a web site.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Site name.", + "required": true, + "type": "string" + }, + { + "name": "processId", + "in": "path", + "description": "PID.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ProcessModuleInfoCollection" + } + }, + "404": { + "description": "The server cannot find the requested resource.", + "x-ms-error-response": true + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/processes/{processId}/modules/{baseAddress}": { + "get": { + "operationId": "WebApps_GetProcessModule", + "tags": [ + "ProcessModuleInfoOperationGroup" + ], + "summary": "Get process information by its ID for a specific scaled-out instance in a web site.", + "description": "Description for Get process information by its ID for a specific scaled-out instance in a web site.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Site name.", + "required": true, + "type": "string" + }, + { + "name": "processId", + "in": "path", + "description": "PID.", + "required": true, + "type": "string" + }, + { + "name": "baseAddress", + "in": "path", + "description": "Module base address.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ProcessModuleInfo" + } + }, + "404": { + "description": "The server cannot find the requested resource.", + "x-ms-error-response": true + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/processes/{processId}/threads": { + "get": { + "operationId": "WebApps_ListProcessThreads", + "tags": [ + "ProcessInfoOperationGroup" + ], + "summary": "List the threads in a process by its ID for a specific scaled-out instance in a web site.", + "description": "Description for List the threads in a process by its ID for a specific scaled-out instance in a web site.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Site name.", + "required": true, + "type": "string" + }, + { + "name": "processId", + "in": "path", + "description": "PID.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ProcessThreadInfoCollection" + } + }, + "404": { + "description": "The server cannot find the requested resource.", + "x-ms-error-response": true + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/publicCertificates": { + "get": { + "operationId": "WebApps_ListPublicCertificates", + "tags": [ + "PublicCertificates" + ], + "summary": "Get public certificates for an app or a deployment slot.", + "description": "Description for Get public certificates for an app or a deployment slot.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/PublicCertificateCollection" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/publicCertificates/{publicCertificateName}": { + "get": { + "operationId": "WebApps_GetPublicCertificate", + "tags": [ + "PublicCertificates" + ], + "summary": "Get the named public certificate for an app (or deployment slot, if specified).", + "description": "Description for Get the named public certificate for an app (or deployment slot, if specified).", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "publicCertificateName", + "in": "path", + "description": "Public certificate name.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/PublicCertificate" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + }, + "put": { + "operationId": "WebApps_CreateOrUpdatePublicCertificate", + "tags": [ + "PublicCertificates" + ], + "summary": "Creates a hostname binding for an app.", + "description": "Description for Creates a hostname binding for an app.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "publicCertificateName", + "in": "path", + "description": "Public certificate name.", + "required": true, + "type": "string" + }, + { + "name": "publicCertificate", + "in": "body", + "description": "Public certificate details. This is the JSON representation of a PublicCertificate object.", + "required": true, + "schema": { + "$ref": "#/definitions/PublicCertificate" + } + } + ], + "responses": { + "200": { + "description": "Resource 'PublicCertificate' update operation succeeded", + "schema": { + "$ref": "#/definitions/PublicCertificate" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + }, + "delete": { + "operationId": "WebApps_DeletePublicCertificate", + "tags": [ + "PublicCertificates" + ], + "summary": "Deletes a hostname binding for an app.", + "description": "Description for Deletes a hostname binding for an app.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "publicCertificateName", + "in": "path", + "description": "Public certificate name.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Resource deleted successfully." + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/publishxml": { + "post": { + "operationId": "WebApps_ListPublishingProfileXmlWithSecrets", + "tags": [ + "Sites" + ], + "summary": "Gets the publishing profile for an app (or deployment slot, if specified).", + "description": "Description for Gets the publishing profile for an app (or deployment slot, if specified).", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "publishingProfileOptions", + "in": "body", + "description": "Specifies publishingProfileOptions for publishing profile. For example, use {\" format\": \"FileZilla3\"} to get a FileZilla publishing profile.", + "required": true, + "schema": { + "$ref": "#/definitions/CsmPublishingProfileOptions" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "type": "file" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/recommendationHistory": { + "get": { + "operationId": "Recommendations_ListHistoryForWebApp", + "tags": [ + "Sites" + ], + "summary": "Get past recommendations for an app, optionally specified by the time range.", + "description": "Description for Get past recommendations for an app, optionally specified by the time range.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "expiredOnly", + "in": "query", + "description": "Specify false to return all recommendations. The default is true, which returns only expired recommendations.", + "required": false, + "type": "boolean" + }, + { + "name": "$filter", + "in": "query", + "description": "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]", + "required": false, + "type": "string" + }, + { + "name": "siteName", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/RecommendationCollection" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/recommendations": { + "get": { + "operationId": "Recommendations_ListRecommendedRulesForWebApp", + "tags": [ + "Sites" + ], + "summary": "Get all recommendations for an app.", + "description": "Description for Get all recommendations for an app.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "featured", + "in": "query", + "description": "Specify true to return only the most critical recommendations. The default is false, which returns all recommendations.", + "required": false, + "type": "boolean" + }, + { + "name": "$filter", + "in": "query", + "description": "Return only channels specified in the filter. Filter is specified by using OData syntax. Example: $filter=channel eq 'Api' or channel eq 'Notification'", + "required": false, + "type": "string" + }, + { + "name": "siteName", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/RecommendationCollection" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/recommendations/{name}": { + "get": { + "operationId": "Recommendations_GetRuleDetailsByWebApp", + "tags": [ + "Recommendations" + ], + "summary": "Get a recommendation rule for an app.", + "description": "Description for Get a recommendation rule for an app.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "siteName", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "name", + "in": "path", + "description": "Name of the recommendation.", + "required": true, + "type": "string" + }, + { + "name": "updateSeen", + "in": "query", + "description": "Specify true to update the last-seen timestamp of the recommendation object.", + "required": false, + "type": "boolean" + }, + { + "name": "recommendationId", + "in": "query", + "description": "The GUID of the recommendation object if you query an expired one. You don't need to specify it to query an active entry.", + "required": false, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/RecommendationRule" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/recommendations/{name}/disable": { + "post": { + "operationId": "Recommendations_DisableRecommendationForSite", + "tags": [ + "Recommendations" + ], + "summary": "Disables the specific rule for a web site permanently.", + "description": "Description for Disables the specific rule for a web site permanently.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "siteName", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "name", + "in": "path", + "description": "Name of the recommendation.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/recommendations/disable": { + "post": { + "operationId": "Recommendations_DisableAllForWebApp", + "tags": [ + "Sites" + ], + "summary": "Disable all recommendations for an app.", + "description": "Description for Disable all recommendations for an app.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "siteName", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + } + ], + "responses": { + "204": { + "description": "There is no content to send for this request, but the headers may be useful." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/recommendations/reset": { + "post": { + "operationId": "Recommendations_ResetAllFiltersForWebApp", + "tags": [ + "Sites" + ], + "summary": "Reset all recommendation opt-out settings for an app.", + "description": "Description for Reset all recommendation opt-out settings for an app.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "siteName", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + } + ], + "responses": { + "204": { + "description": "There is no content to send for this request, but the headers may be useful." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/resetSlotConfig": { + "post": { + "operationId": "WebApps_ResetProductionSlotConfig", + "tags": [ + "Sites" + ], + "summary": "Resets the configuration settings of the current slot if they were previously modified by calling the API with POST.", + "description": "Description for Resets the configuration settings of the current slot if they were previously modified by calling the API with POST.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/resourceHealthMetadata": { + "get": { + "operationId": "ResourceHealthMetadata_ListBySite", + "tags": [ + "ResourceHealthMetadataOperationGroup" + ], + "summary": "Gets the category of ResourceHealthMetadata to use for the given site as a collection", + "description": "Description for Gets the category of ResourceHealthMetadata to use for the given site as a collection", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of web app", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ResourceHealthMetadataCollection" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "List ResourceHealthMetadata for a site": { + "$ref": "./examples/ListResourceHealthMetadataBySite.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/resourceHealthMetadata/default": { + "get": { + "operationId": "ResourceHealthMetadata_GetBySite", + "tags": [ + "ResourceHealthMetadataOperationGroup" + ], + "summary": "Gets the category of ResourceHealthMetadata to use for the given site", + "description": "Description for Gets the category of ResourceHealthMetadata to use for the given site", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of web app", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ResourceHealthMetadata" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "Get ResourceHealthMetadata": { + "$ref": "./examples/GetResourceHealthMetadataBySite.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/restart": { + "post": { + "operationId": "WebApps_Restart", + "tags": [ + "Sites" + ], + "summary": "Restarts an app (or deployment slot, if specified).", + "description": "Description for Restarts an app (or deployment slot, if specified).", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "softRestart", + "in": "query", + "description": "Specify true to apply the configuration settings and restarts the app only if necessary. By default, the API always restarts and reprovisions the app.", + "required": false, + "type": "boolean" + }, + { + "name": "synchronous", + "in": "query", + "description": "Specify true to block until the app is restarted. By default, it is set to false, and the API responds immediately (asynchronous).", + "required": false, + "type": "boolean" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/restoreFromBackupBlob": { + "post": { + "operationId": "WebApps_RestoreFromBackupBlob", + "tags": [ + "Sites" + ], + "summary": "Restores an app from a backup blob in Azure Storage.", + "description": "Description for Restores an app from a backup blob in Azure Storage.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "request", + "in": "body", + "description": "Information on restore request .", + "required": true, + "schema": { + "$ref": "#/definitions/RestoreRequest" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully." + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/restoreFromDeletedApp": { + "post": { + "operationId": "WebApps_RestoreFromDeletedApp", + "tags": [ + "Sites" + ], + "summary": "Restores a deleted web app to this web app.", + "description": "Description for Restores a deleted web app to this web app.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "restoreRequest", + "in": "body", + "description": "Deleted web app restore information.", + "required": true, + "schema": { + "$ref": "#/definitions/DeletedAppRestoreRequest" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully." + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/restoreSnapshot": { + "post": { + "operationId": "WebApps_RestoreSnapshot", + "tags": [ + "Sites" + ], + "summary": "Restores a web app from a snapshot.", + "description": "Description for Restores a web app from a snapshot.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "restoreRequest", + "in": "body", + "description": "Snapshot restore settings. Snapshot information can be obtained by calling GetDeletedSites or GetSiteSnapshots API.", + "required": true, + "schema": { + "$ref": "#/definitions/SnapshotRestoreRequest" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully." + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/sitecontainers": { + "get": { + "operationId": "WebApps_ListSiteContainers", + "tags": [ + "SiteContainers" + ], + "summary": "Lists all the site containers of a site, or a deployment slot.", + "description": "Lists all the site containers of a site, or a deployment slot.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/SiteContainerCollection" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/sitecontainers/{containerName}": { + "get": { + "operationId": "WebApps_GetSiteContainer", + "tags": [ + "SiteContainers" + ], + "summary": "Gets a site container of a site, or a deployment slot.", + "description": "Gets a site container of a site, or a deployment slot.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "containerName", + "in": "path", + "description": "Site Container Name", + "required": true, + "type": "string", + "pattern": "(^[a-zA-Z0-9]$)|(^[a-zA-Z0-9][a-zA-Z0-9-]*[a-zA-Z0-9]$)" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/SiteContainer" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + }, + "put": { + "operationId": "WebApps_CreateOrUpdateSiteContainer", + "tags": [ + "SiteContainers" + ], + "summary": "Creates or Updates a site container for a site, or a deployment slot.", + "description": "Creates or Updates a site container for a site, or a deployment slot.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "containerName", + "in": "path", + "description": "Site Container Name", + "required": true, + "type": "string", + "pattern": "(^[a-zA-Z0-9]$)|(^[a-zA-Z0-9][a-zA-Z0-9-]*[a-zA-Z0-9]$)" + }, + { + "name": "request", + "in": "body", + "description": "Container Entity", + "required": true, + "schema": { + "$ref": "#/definitions/SiteContainer" + } + } + ], + "responses": { + "200": { + "description": "Resource 'SiteContainer' update operation succeeded", + "schema": { + "$ref": "#/definitions/SiteContainer" + } + }, + "201": { + "description": "Resource 'SiteContainer' create operation succeeded", + "schema": { + "$ref": "#/definitions/SiteContainer" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + }, + "delete": { + "operationId": "WebApps_DeleteSiteContainer", + "tags": [ + "SiteContainers" + ], + "summary": "Deletes a site container for a site, or a deployment slot.", + "description": "Deletes a site container for a site, or a deployment slot.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "containerName", + "in": "path", + "description": "Site Container Name", + "required": true, + "type": "string", + "pattern": "(^[a-zA-Z0-9]$)|(^[a-zA-Z0-9][a-zA-Z0-9-]*[a-zA-Z0-9]$)" + } + ], + "responses": { + "200": { + "description": "Resource deleted successfully." + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/siteextensions": { + "get": { + "operationId": "WebApps_ListSiteExtensions", + "tags": [ + "SiteExtensionInfos" + ], + "summary": "Get list of siteextensions for a web site, or a deployment slot.", + "description": "Description for Get list of siteextensions for a web site, or a deployment slot.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Site name.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/SiteExtensionInfoCollection" + } + }, + "404": { + "description": "The server cannot find the requested resource.", + "x-ms-error-response": true + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/siteextensions/{siteExtensionId}": { + "get": { + "operationId": "WebApps_GetSiteExtension", + "tags": [ + "SiteExtensionInfos" + ], + "summary": "Get site extension information by its ID for a web site, or a deployment slot.", + "description": "Description for Get site extension information by its ID for a web site, or a deployment slot.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Site name.", + "required": true, + "type": "string" + }, + { + "name": "siteExtensionId", + "in": "path", + "description": "Site extension name.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/SiteExtensionInfo" + } + }, + "404": { + "description": "The server cannot find the requested resource.", + "x-ms-error-response": true + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + }, + "put": { + "operationId": "WebApps_InstallSiteExtension", + "tags": [ + "SiteExtensionInfos" + ], + "summary": "Install site extension on a web site, or a deployment slot.", + "description": "Description for Install site extension on a web site, or a deployment slot.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Site name.", + "required": true, + "type": "string" + }, + { + "name": "siteExtensionId", + "in": "path", + "description": "Site extension name.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/SiteExtensionInfo" + } + }, + "201": { + "description": "Resource 'SiteExtensionInfo' create operation succeeded", + "schema": { + "$ref": "#/definitions/SiteExtensionInfo" + }, + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "429": { + "description": "Client error", + "x-ms-error-response": true + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "#/definitions/SiteExtensionInfo" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "WebApps_DeleteSiteExtension", + "tags": [ + "SiteExtensionInfos" + ], + "summary": "Remove a site extension from a web site, or a deployment slot.", + "description": "Description for Remove a site extension from a web site, or a deployment slot.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Site name.", + "required": true, + "type": "string" + }, + { + "name": "siteExtensionId", + "in": "path", + "description": "Site extension name.", + "required": true, + "type": "string" + } + ], + "responses": { + "204": { + "description": "Resource does not exist." + }, + "404": { + "description": "The server cannot find the requested resource.", + "x-ms-error-response": true + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots": { + "get": { + "operationId": "WebApps_ListSlots", + "tags": [ + "WebApps" + ], + "summary": "Gets an app's deployment slots.", + "description": "Description for Gets an app's deployment slots.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/WebAppCollection" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "List Web App Slots": { + "$ref": "./examples/ListWebAppSlots.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}": { + "get": { + "operationId": "WebApps_GetSlot", + "tags": [ + "WebApps" + ], + "summary": "Gets the details of a web, mobile, or API app.", + "description": "Description for Gets the details of a web, mobile, or API app.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "slot", + "in": "path", + "description": "Name of the deployment slot. By default, this API returns the production slot.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/Site" + } + }, + "404": { + "description": "The server cannot find the requested resource.", + "x-ms-error-response": true + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "Get Web App Slot": { + "$ref": "./examples/GetWebAppSlot.json" + } + } + }, + "put": { + "operationId": "WebApps_CreateOrUpdateSlot", + "tags": [ + "WebApps" + ], + "summary": "Creates a new web, mobile, or API app in an existing resource group, or updates an existing app.", + "description": "Description for Creates a new web, mobile, or API app in an existing resource group, or updates an existing app.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "slot", + "in": "path", + "description": "Name of the deployment slot. By default, this API returns the production slot.", + "required": true, + "type": "string" + }, + { + "name": "siteEnvelope", + "in": "body", + "description": "A JSON representation of the app properties. See example.", + "required": true, + "schema": { + "$ref": "#/definitions/Site" + } + } + ], + "responses": { + "200": { + "description": "Resource 'Site' update operation succeeded", + "schema": { + "$ref": "#/definitions/Site" + } + }, + "202": { + "description": "The request has been accepted for processing, but processing has not yet completed.", + "schema": { + "$ref": "#/definitions/Site" + }, + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "Clone web app slot": { + "$ref": "./examples/CloneWebAppSlot.json" + }, + "Create or Update Web App Slot": { + "$ref": "./examples/CreateOrUpdateWebAppSlot.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "#/definitions/Site" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "WebApps_UpdateSlot", + "tags": [ + "WebApps" + ], + "summary": "Creates a new web, mobile, or API app in an existing resource group, or updates an existing app.", + "description": "Description for Creates a new web, mobile, or API app in an existing resource group, or updates an existing app.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "slot", + "in": "path", + "description": "Name of the deployment slot. By default, this API returns the production slot.", + "required": true, + "type": "string" + }, + { + "name": "siteEnvelope", + "in": "body", + "description": "A JSON representation of the app properties. See example.", + "required": true, + "schema": { + "$ref": "#/definitions/SitePatchResource" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/Site" + } + }, + "202": { + "description": "The request has been accepted for processing, but processing has not yet completed.", + "schema": { + "$ref": "#/definitions/Site" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "Update Web App Slot": { + "$ref": "./examples/UpdateWebAppSlot.json" + } + } + }, + "delete": { + "operationId": "WebApps_DeleteSlot", + "tags": [ + "WebApps" + ], + "summary": "Deletes a web, mobile, or API app, or one of the deployment slots.", + "description": "Description for Deletes a web, mobile, or API app, or one of the deployment slots.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "slot", + "in": "path", + "description": "Name of the deployment slot. By default, this API returns the production slot.", + "required": true, + "type": "string" + }, + { + "name": "deleteMetrics", + "in": "query", + "description": "If true, web app metrics are also deleted.", + "required": false, + "type": "boolean" + }, + { + "name": "deleteEmptyServerFarm", + "in": "query", + "description": "Specify false if you want to keep empty App Service plan. By default, empty App Service plan is deleted.", + "required": false, + "type": "boolean" + } + ], + "responses": { + "200": { + "description": "The request has succeeded." + }, + "204": { + "description": "There is no content to send for this request, but the headers may be useful." + }, + "404": { + "description": "The server cannot find the requested resource.", + "x-ms-error-response": true + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "Delete Web App Slot": { + "$ref": "./examples/DeleteWebAppSlot.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/analyzeCustomHostname": { + "get": { + "operationId": "WebApps_AnalyzeCustomHostnameSlot", + "tags": [ + "WebApps" + ], + "summary": "Analyze a custom hostname.", + "description": "Description for Analyze a custom hostname.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "slot", + "in": "path", + "description": "Name of the deployment slot. By default, this API returns the production slot.", + "required": true, + "type": "string" + }, + { + "name": "hostName", + "in": "query", + "description": "Custom hostname.", + "required": false, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/CustomHostnameAnalysisResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "Analyze custom hostname for slot": { + "$ref": "./examples/AnalyzeCustomHostNameSlot.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/applySlotConfig": { + "post": { + "operationId": "WebApps_ApplySlotConfigurationSlot", + "tags": [ + "WebApps" + ], + "summary": "Applies the configuration settings from the target slot onto the current slot.", + "description": "Description for Applies the configuration settings from the target slot onto the current slot.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "slot", + "in": "path", + "description": "Name of the deployment slot. By default, this API returns the production slot.", + "required": true, + "type": "string" + }, + { + "name": "slotSwapEntity", + "in": "body", + "description": "JSON object that contains the target slot name. See example.", + "required": true, + "schema": { + "$ref": "#/definitions/CsmSlotEntity" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/backup": { + "post": { + "operationId": "WebApps_BackupSlot", + "tags": [ + "WebApps" + ], + "summary": "Creates a backup of an app.", + "description": "Description for Creates a backup of an app.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "slot", + "in": "path", + "description": "Name of the deployment slot. By default, this API returns the production slot.", + "required": true, + "type": "string" + }, + { + "name": "request", + "in": "body", + "description": "Backup configuration. You can use the JSON response from the POST action as input here.", + "required": true, + "schema": { + "$ref": "#/definitions/BackupRequest" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/BackupItem" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/backups": { + "get": { + "operationId": "WebApps_ListBackupsSlot", + "tags": [ + "BackupItemOperationGroup" + ], + "summary": "Gets existing backups of an app.", + "description": "Description for Gets existing backups of an app.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "slot", + "in": "path", + "description": "Name of the deployment slot. If a slot is not specified, the API will get a backup of the production slot.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/BackupItemCollection" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/backups/{backupId}": { + "get": { + "operationId": "WebApps_GetBackupStatusSlot", + "tags": [ + "BackupItemOperationGroup" + ], + "summary": "Gets a backup of an app by its ID.", + "description": "Description for Gets a backup of an app by its ID.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "slot", + "in": "path", + "description": "Name of the deployment slot. If a slot is not specified, the API will get a backup of the production slot.", + "required": true, + "type": "string" + }, + { + "name": "backupId", + "in": "path", + "description": "ID of the backup.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/BackupItem" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + }, + "delete": { + "operationId": "WebApps_DeleteBackupSlot", + "tags": [ + "BackupItemOperationGroup" + ], + "summary": "Deletes a backup of an app by its ID.", + "description": "Description for Deletes a backup of an app by its ID.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "slot", + "in": "path", + "description": "Name of the deployment slot. If a slot is not specified, the API will get a backup of the production slot.", + "required": true, + "type": "string" + }, + { + "name": "backupId", + "in": "path", + "description": "ID of the backup.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Resource deleted successfully." + }, + "404": { + "description": "The server cannot find the requested resource.", + "x-ms-error-response": true + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/backups/{backupId}/list": { + "post": { + "operationId": "WebApps_ListBackupStatusSecretsSlot", + "tags": [ + "BackupItemOperationGroup" + ], + "summary": "Gets status of a web app backup that may be in progress, including secrets associated with the backup, such as the Azure Storage SAS URL. Also can be used to update the SAS URL for the backup if a new URL is passed in the request body.", + "description": "Description for Gets status of a web app backup that may be in progress, including secrets associated with the backup, such as the Azure Storage SAS URL. Also can be used to update the SAS URL for the backup if a new URL is passed in the request body.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "slot", + "in": "path", + "description": "Name of the deployment slot. If a slot is not specified, the API will get a backup of the production slot.", + "required": true, + "type": "string" + }, + { + "name": "backupId", + "in": "path", + "description": "ID of the backup.", + "required": true, + "type": "string" + }, + { + "name": "request", + "in": "body", + "description": "Information on backup request.", + "required": true, + "schema": { + "$ref": "#/definitions/BackupRequest" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/BackupItem" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/backups/{backupId}/restore": { + "post": { + "operationId": "WebApps_RestoreSlot", + "tags": [ + "BackupItemOperationGroup" + ], + "summary": "Restores a specific backup to another app (or deployment slot, if specified).", + "description": "Description for Restores a specific backup to another app (or deployment slot, if specified).", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "slot", + "in": "path", + "description": "Name of the deployment slot. If a slot is not specified, the API will get a backup of the production slot.", + "required": true, + "type": "string" + }, + { + "name": "backupId", + "in": "path", + "description": "ID of the backup.", + "required": true, + "type": "string" + }, + { + "name": "request", + "in": "body", + "description": "Information on restore request .", + "required": true, + "schema": { + "$ref": "#/definitions/RestoreRequest" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully." + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/basicPublishingCredentialsPolicies": { + "get": { + "operationId": "WebApps_ListBasicPublishingCredentialsPoliciesSlot", + "tags": [ + "CsmPublishingCredentialsPoliciesEntityFtpAllowedSlot" + ], + "summary": "Returns whether Scm basic auth is allowed and whether Ftp is allowed for a given site.", + "description": "Description for Returns whether Scm basic auth is allowed and whether Ftp is allowed for a given site.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "slot", + "in": "path", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/PublishingCredentialsPoliciesCollection" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "List Publishing Credentials Policies": { + "$ref": "./examples/ListPublishingCredentialsPoliciesSlot.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/basicPublishingCredentialsPolicies/ftp": { + "get": { + "operationId": "WebApps_GetFtpAllowedSlot", + "tags": [ + "CsmPublishingCredentialsPoliciesEntityFtpAllowedSlot" + ], + "summary": "Returns whether FTP is allowed on the site or not.", + "description": "Description for Returns whether FTP is allowed on the site or not.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "slot", + "in": "path", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/CsmPublishingCredentialsPoliciesEntity" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "Get FTP Allowed": { + "$ref": "./examples/GetPublishingCredentialsPolicySlot_FtpAllowedSlot.json" + } + } + }, + "put": { + "operationId": "WebApps_UpdateFtpAllowedSlot", + "tags": [ + "CsmPublishingCredentialsPoliciesEntityFtpAllowedSlot" + ], + "summary": "Updates whether FTP is allowed on the site or not.", + "description": "Description for Updates whether FTP is allowed on the site or not.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "slot", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "csmPublishingAccessPoliciesEntity", + "in": "body", + "description": "", + "required": true, + "schema": { + "$ref": "#/definitions/CsmPublishingCredentialsPoliciesEntity" + } + } + ], + "responses": { + "200": { + "description": "Resource 'CsmPublishingCredentialsPoliciesEntity' update operation succeeded", + "schema": { + "$ref": "#/definitions/CsmPublishingCredentialsPoliciesEntity" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "Update FTP Allowed": { + "$ref": "./examples/UpdatePublishingCredentialsPolicySlot_UpdateFtpAllowedSlot.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/basicPublishingCredentialsPolicies/scm": { + "get": { + "operationId": "WebApps_GetScmAllowedSlot", + "tags": [ + "CsmPublishingCredentialsPoliciesEntityScmAllowedSlot" + ], + "summary": "Returns whether Scm basic auth is allowed on the site or not.", + "description": "Description for Returns whether Scm basic auth is allowed on the site or not.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "slot", + "in": "path", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/CsmPublishingCredentialsPoliciesEntity" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "Get SCM Allowed": { + "$ref": "./examples/GetPublishingCredentialsPolicySlot.json" + } + } + }, + "put": { + "operationId": "WebApps_UpdateScmAllowedSlot", + "tags": [ + "CsmPublishingCredentialsPoliciesEntityScmAllowedSlot" + ], + "summary": "Updates whether user publishing credentials are allowed on the site or not.", + "description": "Description for Updates whether user publishing credentials are allowed on the site or not.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "slot", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "csmPublishingAccessPoliciesEntity", + "in": "body", + "description": "", + "required": true, + "schema": { + "$ref": "#/definitions/CsmPublishingCredentialsPoliciesEntity" + } + } + ], + "responses": { + "200": { + "description": "Resource 'CsmPublishingCredentialsPoliciesEntity' update operation succeeded", + "schema": { + "$ref": "#/definitions/CsmPublishingCredentialsPoliciesEntity" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "Update SCM Allowed": { + "$ref": "./examples/UpdatePublishingCredentialsPolicySlot.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/certificates": { + "get": { + "operationId": "SiteCertificates_ListSlot", + "tags": [ + "CertificateOperationGroup" + ], + "summary": "Get all certificates in a resource group for a given site and a deployment slot.", + "description": "Get all certificates in a resource group for a given site and a deployment slot.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the site.", + "required": true, + "type": "string", + "pattern": "^[A-z][A-z0-9]*$" + }, + { + "name": "slot", + "in": "path", + "description": "Name of the deployment slot. If a slot is not specified, the API will create a binding for the production slot.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/CertificateCollection" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "List Certificates by resource group for a slot": { + "$ref": "./examples/ListSiteCertificatesByResourceGroupSlot.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/certificates/{certificateName}": { + "get": { + "operationId": "SiteCertificates_GetSlot", + "tags": [ + "CertificateOperationGroup" + ], + "summary": "Get a certificate for a given site and deployment slot.", + "description": "Get a certificate for a given site and deployment slot.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the site.", + "required": true, + "type": "string", + "pattern": "^[A-z][A-z0-9]*$" + }, + { + "name": "slot", + "in": "path", + "description": "Name of the deployment slot. If a slot is not specified, the API will create a binding for the production slot.", + "required": true, + "type": "string" + }, + { + "name": "certificateName", + "in": "path", + "description": "Name of the certificate.", + "required": true, + "type": "string", + "pattern": "^[A-z][A-z0-9]*$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/Certificate" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "Get Site Certificate for a slot": { + "$ref": "./examples/GetSiteCertificateSlot.json" + } + } + }, + "put": { + "operationId": "SiteCertificates_CreateOrUpdateSlot", + "tags": [ + "CertificateOperationGroup" + ], + "summary": "Create or update a certificate in a given site and deployment slot.", + "description": "Create or update a certificate in a given site and deployment slot.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the site.", + "required": true, + "type": "string", + "pattern": "^[A-z][A-z0-9]*$" + }, + { + "name": "slot", + "in": "path", + "description": "Name of the deployment slot. If a slot is not specified, the API will create a binding for the production slot.", + "required": true, + "type": "string" + }, + { + "name": "certificateName", + "in": "path", + "description": "Name of the certificate.", + "required": true, + "type": "string", + "pattern": "^[A-z][A-z0-9]*$" + }, + { + "name": "certificateEnvelope", + "in": "body", + "description": "Details of certificate, if it exists already.", + "required": true, + "schema": { + "$ref": "#/definitions/Certificate" + } + } + ], + "responses": { + "200": { + "description": "Resource 'Certificate' update operation succeeded", + "schema": { + "$ref": "#/definitions/Certificate" + } + }, + "201": { + "description": "Resource 'Certificate' create operation succeeded", + "schema": { + "$ref": "#/definitions/Certificate" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "Create Or Update Certificate for slot": { + "$ref": "./examples/CreateOrUpdateSiteCertificateSlot.json" + } + } + }, + "patch": { + "operationId": "SiteCertificates_UpdateSlot", + "tags": [ + "CertificateOperationGroup" + ], + "summary": "Create or update a certificate for a site and deployment slot.", + "description": "Create or update a certificate for a site and deployment slot.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the site.", + "required": true, + "type": "string", + "pattern": "^[A-z][A-z0-9]*$" + }, + { + "name": "slot", + "in": "path", + "description": "Name of the deployment slot. If a slot is not specified, the API will create a binding for the production slot.", + "required": true, + "type": "string" + }, + { + "name": "certificateName", + "in": "path", + "description": "Name of the certificate.", + "required": true, + "type": "string", + "pattern": "^[A-z][A-z0-9]*$" + }, + { + "name": "certificateEnvelope", + "in": "body", + "description": "Details of certificate, if it exists already.", + "required": true, + "schema": { + "$ref": "#/definitions/CertificatePatchResource" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/Certificate" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "Patch Certificate for slot": { + "$ref": "./examples/PatchSiteCertificateSlot.json" + } + } + }, + "delete": { + "operationId": "SiteCertificates_DeleteSlot", + "tags": [ + "CertificateOperationGroup" + ], + "summary": "Delete a certificate for a given site and deployment slot.", + "description": "Delete a certificate for a given site and deployment slot.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the site.", + "required": true, + "type": "string", + "pattern": "^[A-z][A-z0-9]*$" + }, + { + "name": "slot", + "in": "path", + "description": "Name of the deployment slot. If a slot is not specified, the API will create a binding for the production slot.", + "required": true, + "type": "string" + }, + { + "name": "certificateName", + "in": "path", + "description": "Name of the certificate.", + "required": true, + "type": "string", + "pattern": "^[A-z][A-z0-9]*$" + } + ], + "responses": { + "200": { + "description": "Resource deleted successfully." + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "Delete Certificate for slot": { + "$ref": "./examples/DeleteSiteCertificateSlot.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config": { + "get": { + "operationId": "WebApps_ListConfigurationsSlot", + "tags": [ + "SiteConfigSnapshotSlotResourceOperationGroup" + ], + "summary": "List the configurations of an app", + "description": "Description for List the configurations of an app", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "slot", + "in": "path", + "description": "Name of the deployment slot. If a slot is not specified, the API will return configuration for the production slot.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/SiteConfigResourceCollection" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/appsettings": { + "put": { + "operationId": "WebApps_UpdateApplicationSettingsSlot", + "tags": [ + "WebApps" + ], + "summary": "Replaces the application settings of an app.", + "description": "Description for Replaces the application settings of an app.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "slot", + "in": "path", + "description": "Name of the deployment slot. By default, this API returns the production slot.", + "required": true, + "type": "string" + }, + { + "name": "appSettings", + "in": "body", + "description": "Application settings of the app.", + "required": true, + "schema": { + "$ref": "#/definitions/StringDictionary" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/StringDictionary" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/appsettings/list": { + "post": { + "operationId": "WebApps_ListApplicationSettingsSlot", + "tags": [ + "WebApps" + ], + "summary": "Gets the application settings of an app.", + "description": "Description for Gets the application settings of an app.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "slot", + "in": "path", + "description": "Name of the deployment slot. By default, this API returns the production slot.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/StringDictionary" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/authsettings": { + "put": { + "operationId": "WebApps_UpdateAuthSettingsSlot", + "tags": [ + "WebApps" + ], + "summary": "Updates the Authentication / Authorization settings associated with web app.", + "description": "Description for Updates the Authentication / Authorization settings associated with web app.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "slot", + "in": "path", + "description": "Name of the deployment slot. By default, this API returns the production slot.", + "required": true, + "type": "string" + }, + { + "name": "siteAuthSettings", + "in": "body", + "description": "Auth settings associated with web app.", + "required": true, + "schema": { + "$ref": "#/definitions/SiteAuthSettings" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/SiteAuthSettings" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/authsettings/list": { + "post": { + "operationId": "WebApps_GetAuthSettingsSlot", + "tags": [ + "WebApps" + ], + "summary": "Gets the Authentication/Authorization settings of an app.", + "description": "Description for Gets the Authentication/Authorization settings of an app.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "slot", + "in": "path", + "description": "Name of the deployment slot. By default, this API returns the production slot.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/SiteAuthSettings" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/authsettingsV2": { + "get": { + "operationId": "WebApps_GetAuthSettingsV2WithoutSecretsSlot", + "tags": [ + "SiteAuthSettingsV2OperationGroup" + ], + "summary": "Gets site's Authentication / Authorization settings for apps via the V2 format", + "description": "Gets site's Authentication / Authorization settings for apps via the V2 format", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "slot", + "in": "path", + "description": "Name of the deployment slot. If a slot is not specified, the API will get the settings for the production slot.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/SiteAuthSettingsV2" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + }, + "put": { + "operationId": "WebApps_UpdateAuthSettingsV2Slot", + "tags": [ + "SiteAuthSettingsV2OperationGroup" + ], + "summary": "Updates site's Authentication / Authorization settings for apps via the V2 format", + "description": "Description for Updates site's Authentication / Authorization settings for apps via the V2 format", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "slot", + "in": "path", + "description": "Name of the deployment slot. If a slot is not specified, the API will get the settings for the production slot.", + "required": true, + "type": "string" + }, + { + "name": "siteAuthSettingsV2", + "in": "body", + "description": "Auth settings associated with web app.", + "required": true, + "schema": { + "$ref": "#/definitions/SiteAuthSettingsV2" + } + } + ], + "responses": { + "200": { + "description": "Resource 'SiteAuthSettingsV2' update operation succeeded", + "schema": { + "$ref": "#/definitions/SiteAuthSettingsV2" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/authsettingsV2/list": { + "get": { + "operationId": "WebApps_GetAuthSettingsV2Slot", + "tags": [ + "SiteAuthSettingsV2OperationGroup" + ], + "summary": "Gets site's Authentication / Authorization settings for apps via the V2 format", + "description": "Description for Gets site's Authentication / Authorization settings for apps via the V2 format", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "slot", + "in": "path", + "description": "Name of the deployment slot. If a slot is not specified, the API will get the settings for the production slot.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/SiteAuthSettingsV2" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/azurestorageaccounts": { + "put": { + "operationId": "WebApps_UpdateAzureStorageAccountsSlot", + "tags": [ + "WebApps" + ], + "summary": "Updates the Azure storage account configurations of an app.", + "description": "Description for Updates the Azure storage account configurations of an app.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "slot", + "in": "path", + "description": "Name of the deployment slot. By default, this API returns the production slot.", + "required": true, + "type": "string" + }, + { + "name": "azureStorageAccounts", + "in": "body", + "description": "Azure storage accounts of the app.", + "required": true, + "schema": { + "$ref": "#/definitions/AzureStoragePropertyDictionaryResource" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/AzureStoragePropertyDictionaryResource" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/azurestorageaccounts/list": { + "post": { + "operationId": "WebApps_ListAzureStorageAccountsSlot", + "tags": [ + "WebApps" + ], + "summary": "Gets the Azure storage account configurations of an app.", + "description": "Description for Gets the Azure storage account configurations of an app.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "slot", + "in": "path", + "description": "Name of the deployment slot. By default, this API returns the production slot.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/AzureStoragePropertyDictionaryResource" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/backup": { + "put": { + "operationId": "WebApps_UpdateBackupConfigurationSlot", + "tags": [ + "WebApps" + ], + "summary": "Updates the backup configuration of an app.", + "description": "Description for Updates the backup configuration of an app.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "slot", + "in": "path", + "description": "Name of the deployment slot. By default, this API returns the production slot.", + "required": true, + "type": "string" + }, + { + "name": "request", + "in": "body", + "description": "Edited backup configuration.", + "required": true, + "schema": { + "$ref": "#/definitions/BackupRequest" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/BackupRequest" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + }, + "delete": { + "operationId": "WebApps_DeleteBackupConfigurationSlot", + "tags": [ + "WebApps" + ], + "summary": "Deletes the backup configuration of an app.", + "description": "Description for Deletes the backup configuration of an app.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "slot", + "in": "path", + "description": "Name of the deployment slot. By default, this API returns the production slot.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/backup/list": { + "post": { + "operationId": "WebApps_GetBackupConfigurationSlot", + "tags": [ + "WebApps" + ], + "summary": "Gets the backup configuration of an app.", + "description": "Description for Gets the backup configuration of an app.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "slot", + "in": "path", + "description": "Name of the deployment slot. By default, this API returns the production slot.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/BackupRequest" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/configreferences/appsettings": { + "get": { + "operationId": "WebApps_GetAppSettingsKeyVaultReferencesSlot", + "tags": [ + "AppSettingKeyVaultReferenceSlot" + ], + "summary": "Gets the config reference app settings and status of an app", + "description": "Description for Gets the config reference app settings and status of an app", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "slot", + "in": "path", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ApiKVReferenceCollection" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "Get Azure Key Vault references for app settings for slot": { + "$ref": "./examples/GetKeyVaultReferencesForAppSettingsSlot.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/configreferences/appsettings/{appSettingKey}": { + "get": { + "operationId": "WebApps_GetAppSettingKeyVaultReferenceSlot", + "tags": [ + "AppSettingKeyVaultReferenceSlot" + ], + "summary": "Gets the config reference and status of an app", + "description": "Description for Gets the config reference and status of an app", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "slot", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "appSettingKey", + "in": "path", + "description": "App Setting key name.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ApiKVReference" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "Get Azure Key Vault slot app setting reference": { + "$ref": "./examples/GetKeyVaultReferencesForAppSettingSlot.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/configreferences/connectionstrings": { + "get": { + "operationId": "WebApps_GetSiteConnectionStringKeyVaultReferencesSlot", + "tags": [ + "SiteConnectionStringKeyVaultReferenceSlot" + ], + "summary": "Gets the config reference app settings and status of an app", + "description": "Description for Gets the config reference app settings and status of an app", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "slot", + "in": "path", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ApiKVReferenceCollection" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/configreferences/connectionstrings/{connectionStringKey}": { + "get": { + "operationId": "WebApps_GetSiteConnectionStringKeyVaultReferenceSlot", + "tags": [ + "SiteConnectionStringKeyVaultReferenceSlot" + ], + "summary": "Gets the config reference and status of an app", + "description": "Description for Gets the config reference and status of an app", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "slot", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "connectionStringKey", + "in": "path", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ApiKVReference" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/connectionstrings": { + "put": { + "operationId": "WebApps_UpdateConnectionStringsSlot", + "tags": [ + "WebApps" + ], + "summary": "Replaces the connection strings of an app.", + "description": "Description for Replaces the connection strings of an app.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "slot", + "in": "path", + "description": "Name of the deployment slot. By default, this API returns the production slot.", + "required": true, + "type": "string" + }, + { + "name": "connectionStrings", + "in": "body", + "description": "Connection strings of the app or deployment slot. See example.", + "required": true, + "schema": { + "$ref": "#/definitions/ConnectionStringDictionary" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ConnectionStringDictionary" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/connectionstrings/list": { + "post": { + "operationId": "WebApps_ListConnectionStringsSlot", + "tags": [ + "WebApps" + ], + "summary": "Gets the connection strings of an app.", + "description": "Description for Gets the connection strings of an app.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "slot", + "in": "path", + "description": "Name of the deployment slot. By default, this API returns the production slot.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ConnectionStringDictionary" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/logs": { + "get": { + "operationId": "WebApps_GetDiagnosticLogsConfigurationSlot", + "tags": [ + "SiteLogsConfigOperationGroup" + ], + "summary": "Gets the logging configuration of an app.", + "description": "Description for Gets the logging configuration of an app.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "slot", + "in": "path", + "description": "Name of the deployment slot. If a slot is not specified, the API will get the logging configuration for the production slot.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/SiteLogsConfig" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + }, + "put": { + "operationId": "WebApps_UpdateDiagnosticLogsConfigSlot", + "tags": [ + "SiteLogsConfigOperationGroup" + ], + "summary": "Updates the logging configuration of an app.", + "description": "Description for Updates the logging configuration of an app.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "slot", + "in": "path", + "description": "Name of the deployment slot. If a slot is not specified, the API will get the logging configuration for the production slot.", + "required": true, + "type": "string" + }, + { + "name": "siteLogsConfig", + "in": "body", + "description": "A SiteLogsConfig JSON object that contains the logging configuration to change in the \"properties\"property", + "required": true, + "schema": { + "$ref": "#/definitions/SiteLogsConfig" + } + } + ], + "responses": { + "200": { + "description": "Resource 'SiteLogsConfig' update operation succeeded", + "schema": { + "$ref": "#/definitions/SiteLogsConfig" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/metadata": { + "put": { + "operationId": "WebApps_UpdateMetadataSlot", + "tags": [ + "WebApps" + ], + "summary": "Replaces the metadata of an app.", + "description": "Description for Replaces the metadata of an app.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "slot", + "in": "path", + "description": "Name of the deployment slot. By default, this API returns the production slot.", + "required": true, + "type": "string" + }, + { + "name": "metadata", + "in": "body", + "description": "Edited metadata of the app or deployment slot. See example.", + "required": true, + "schema": { + "$ref": "#/definitions/StringDictionary" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/StringDictionary" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/metadata/list": { + "post": { + "operationId": "WebApps_ListMetadataSlot", + "tags": [ + "WebApps" + ], + "summary": "Gets the metadata of an app.", + "description": "Description for Gets the metadata of an app.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "slot", + "in": "path", + "description": "Name of the deployment slot. By default, this API returns the production slot.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/StringDictionary" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/publishingcredentials/list": { + "post": { + "operationId": "WebApps_ListPublishingCredentialsSlot", + "tags": [ + "WebApps" + ], + "summary": "Gets the Git/FTP publishing credentials of an app.", + "description": "Description for Gets the Git/FTP publishing credentials of an app.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "slot", + "in": "path", + "description": "If true, the password is included in the response. The default is false.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "The request has succeeded.", + "schema": { + "$ref": "#/definitions/User" + }, + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "#/definitions/User" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/pushsettings": { + "put": { + "operationId": "WebApps_UpdateSitePushSettingsSlot", + "tags": [ + "WebApps" + ], + "summary": "Updates the Push settings associated with web app.", + "description": "Description for Updates the Push settings associated with web app.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "slot", + "in": "path", + "description": "Name of the deployment slot. By default, this API returns the production slot.", + "required": true, + "type": "string" + }, + { + "name": "pushSettings", + "in": "body", + "description": "Push settings associated with web app.", + "required": true, + "schema": { + "$ref": "#/definitions/PushSettings" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/PushSettings" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/pushsettings/list": { + "post": { + "operationId": "WebApps_ListSitePushSettingsSlot", + "tags": [ + "WebApps" + ], + "summary": "Gets the Push settings associated with web app.", + "description": "Description for Gets the Push settings associated with web app.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "slot", + "in": "path", + "description": "Name of the deployment slot. By default, this API returns the production slot.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/PushSettings" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/web": { + "get": { + "operationId": "WebApps_GetConfigurationSlot", + "tags": [ + "SiteConfigSlotResourceOperationGroup" + ], + "summary": "Gets the configuration of an app, such as platform version and bitness, default documents, virtual applications, Always On, etc.", + "description": "Description for Gets the configuration of an app, such as platform version and bitness, default documents, virtual applications, Always On, etc.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "slot", + "in": "path", + "description": "Name of the deployment slot. If a slot is not specified, the API will return configuration for the production slot.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/SiteConfigResource" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + }, + "put": { + "operationId": "WebApps_CreateOrUpdateConfigurationSlot", + "tags": [ + "SiteConfigSlotResourceOperationGroup" + ], + "summary": "Updates the configuration of an app.", + "description": "Description for Updates the configuration of an app.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "slot", + "in": "path", + "description": "Name of the deployment slot. If a slot is not specified, the API will return configuration for the production slot.", + "required": true, + "type": "string" + }, + { + "name": "siteConfig", + "in": "body", + "description": "JSON representation of a SiteConfig object. See example.", + "required": true, + "schema": { + "$ref": "#/definitions/SiteConfigResource" + } + } + ], + "responses": { + "200": { + "description": "Resource 'SiteConfigResource' update operation succeeded", + "schema": { + "$ref": "#/definitions/SiteConfigResource" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + }, + "patch": { + "operationId": "WebApps_UpdateConfigurationSlot", + "tags": [ + "SiteConfigSlotResourceOperationGroup" + ], + "summary": "Updates the configuration of an app.", + "description": "Description for Updates the configuration of an app.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "slot", + "in": "path", + "description": "Name of the deployment slot. If a slot is not specified, the API will return configuration for the production slot.", + "required": true, + "type": "string" + }, + { + "name": "siteConfig", + "in": "body", + "description": "JSON representation of a SiteConfig object. See example.", + "required": true, + "schema": { + "$ref": "#/definitions/SiteConfigResource" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/SiteConfigResource" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/web/snapshots": { + "get": { + "operationId": "WebApps_ListConfigurationSnapshotInfoSlot", + "tags": [ + "SiteConfigSlotResourceOperationGroup" + ], + "summary": "Gets a list of web app configuration snapshots identifiers. Each element of the list contains a timestamp and the ID of the snapshot.", + "description": "Description for Gets a list of web app configuration snapshots identifiers. Each element of the list contains a timestamp and the ID of the snapshot.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "slot", + "in": "path", + "description": "Name of the deployment slot. If a slot is not specified, the API will return configuration for the production slot.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/SiteConfigurationSnapshotInfoCollection" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/web/snapshots/{snapshotId}": { + "get": { + "operationId": "WebApps_GetConfigurationSnapshotSlot", + "tags": [ + "SiteConfigSnapshotSlotResourceOperationGroup" + ], + "summary": "Gets a snapshot of the configuration of an app at a previous point in time.", + "description": "Description for Gets a snapshot of the configuration of an app at a previous point in time.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "slot", + "in": "path", + "description": "Name of the deployment slot. If a slot is not specified, the API will return configuration for the production slot.", + "required": true, + "type": "string" + }, + { + "name": "snapshotId", + "in": "path", + "description": "The ID of the snapshot to read.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/SiteConfigResource" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/web/snapshots/{snapshotId}/recover": { + "post": { + "operationId": "WebApps_RecoverSiteConfigurationSnapshotSlot", + "tags": [ + "SiteConfigSnapshotSlotResourceOperationGroup" + ], + "summary": "Reverts the configuration of an app to a previous snapshot.", + "description": "Description for Reverts the configuration of an app to a previous snapshot.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "slot", + "in": "path", + "description": "Name of the deployment slot. If a slot is not specified, the API will return configuration for the production slot.", + "required": true, + "type": "string" + }, + { + "name": "snapshotId", + "in": "path", + "description": "The ID of the snapshot to read.", + "required": true, + "type": "string" + } + ], + "responses": { + "204": { + "description": "There is no content to send for this request, but the headers may be useful." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/containerlogs": { + "post": { + "operationId": "WebApps_GetWebSiteContainerLogsSlot", + "tags": [ + "WebApps" + ], + "summary": "Gets the last lines of docker logs for the given site", + "description": "Description for Gets the last lines of docker logs for the given site", + "produces": [ + "application/octet-stream", + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "slot", + "in": "path", + "description": "Name of the deployment slot. By default, this API returns the production slot.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "type": "file" + } + }, + "204": { + "description": "There is no content to send for this request, but the headers may be useful." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/containerlogs/zip/download": { + "post": { + "operationId": "WebApps_GetContainerLogsZipSlot", + "tags": [ + "WebApps" + ], + "summary": "Gets the ZIP archived docker log files for the given site", + "description": "Description for Gets the ZIP archived docker log files for the given site", + "produces": [ + "application/zip", + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "slot", + "in": "path", + "description": "Name of the deployment slot. By default, this API returns the production slot.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "type": "file" + } + }, + "204": { + "description": "There is no content to send for this request, but the headers may be useful." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/continuouswebjobs": { + "get": { + "operationId": "WebApps_ListContinuousWebJobsSlot", + "tags": [ + "ContinuousWebJobOperationGroup" + ], + "summary": "List continuous web jobs for an app, or a deployment slot.", + "description": "Description for List continuous web jobs for an app, or a deployment slot.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Site name.", + "required": true, + "type": "string" + }, + { + "name": "slot", + "in": "path", + "description": "Name of the deployment slot. If a slot is not specified, the API deletes a deployment for the production slot.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ContinuousWebJobCollection" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/continuouswebjobs/{webJobName}": { + "get": { + "operationId": "WebApps_GetContinuousWebJobSlot", + "tags": [ + "ContinuousWebJobOperationGroup" + ], + "summary": "Gets a continuous web job by its ID for an app, or a deployment slot.", + "description": "Description for Gets a continuous web job by its ID for an app, or a deployment slot.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Site name.", + "required": true, + "type": "string" + }, + { + "name": "slot", + "in": "path", + "description": "Name of the deployment slot. If a slot is not specified, the API deletes a deployment for the production slot.", + "required": true, + "type": "string" + }, + { + "name": "webJobName", + "in": "path", + "description": "Name of Web Job.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ContinuousWebJob" + } + }, + "404": { + "description": "The server cannot find the requested resource.", + "x-ms-error-response": true + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + }, + "delete": { + "operationId": "WebApps_DeleteContinuousWebJobSlot", + "tags": [ + "ContinuousWebJobOperationGroup" + ], + "summary": "Delete a continuous web job by its ID for an app, or a deployment slot.", + "description": "Description for Delete a continuous web job by its ID for an app, or a deployment slot.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Site name.", + "required": true, + "type": "string" + }, + { + "name": "slot", + "in": "path", + "description": "Name of the deployment slot. If a slot is not specified, the API deletes a deployment for the production slot.", + "required": true, + "type": "string" + }, + { + "name": "webJobName", + "in": "path", + "description": "Name of Web Job.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Resource deleted successfully." + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/continuouswebjobs/{webJobName}/start": { + "post": { + "operationId": "WebApps_StartContinuousWebJobSlot", + "tags": [ + "ContinuousWebJobOperationGroup" + ], + "summary": "Start a continuous web job for an app, or a deployment slot.", + "description": "Description for Start a continuous web job for an app, or a deployment slot.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Site name.", + "required": true, + "type": "string" + }, + { + "name": "slot", + "in": "path", + "description": "Name of the deployment slot. If a slot is not specified, the API deletes a deployment for the production slot.", + "required": true, + "type": "string" + }, + { + "name": "webJobName", + "in": "path", + "description": "Name of Web Job.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully." + }, + "404": { + "description": "The server cannot find the requested resource.", + "x-ms-error-response": true + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/continuouswebjobs/{webJobName}/stop": { + "post": { + "operationId": "WebApps_StopContinuousWebJobSlot", + "tags": [ + "ContinuousWebJobOperationGroup" + ], + "summary": "Stop a continuous web job for an app, or a deployment slot.", + "description": "Description for Stop a continuous web job for an app, or a deployment slot.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Site name.", + "required": true, + "type": "string" + }, + { + "name": "slot", + "in": "path", + "description": "Name of the deployment slot. If a slot is not specified, the API deletes a deployment for the production slot.", + "required": true, + "type": "string" + }, + { + "name": "webJobName", + "in": "path", + "description": "Name of Web Job.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully." + }, + "404": { + "description": "The server cannot find the requested resource.", + "x-ms-error-response": true + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/deployWorkflowArtifacts": { + "post": { + "operationId": "WebApps_DeployWorkflowArtifactsSlot", + "tags": [ + "WebApps" + ], + "summary": "Creates the artifacts for web site, or a deployment slot.", + "description": "Description for Creates the artifacts for web site, or a deployment slot.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "slot", + "in": "path", + "description": "Name of the deployment slot. By default, this API returns the production slot.", + "required": true, + "type": "string" + }, + { + "name": "workflowArtifacts", + "in": "body", + "description": "Application settings and files of the workflow.", + "required": false, + "schema": { + "$ref": "#/definitions/WorkflowArtifacts" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "Deploys workflow artifacts slot": { + "$ref": "./examples/PostDeployWorkflowArtifactsSlot.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/deploymentStatus": { + "get": { + "operationId": "WebApps_ListSlotSiteDeploymentStatusesSlot", + "tags": [ + "CsmDeploymentStatusOperationGroup" + ], + "summary": "List deployment statuses for an app (or deployment slot, if specified).", + "description": "List deployment statuses for an app (or deployment slot, if specified).", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "slot", + "in": "path", + "description": "Name of the deployment slot. If a slot is not specified, the API will get the deployment status for the production slot.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/CsmDeploymentStatusCollection" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "List Deployment Status Slot": { + "$ref": "./examples/ListSiteDeploymentStatusSlot.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/deploymentStatus/{deploymentStatusId}": { + "get": { + "operationId": "WebApps_GetSlotSiteDeploymentStatusSlot", + "tags": [ + "CsmDeploymentStatusOperationGroup" + ], + "summary": "Gets the deployment status for an app (or deployment slot, if specified).", + "description": "Gets the deployment status for an app (or deployment slot, if specified).", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "slot", + "in": "path", + "description": "Name of the deployment slot. If a slot is not specified, the API will get the deployment status for the production slot.", + "required": true, + "type": "string" + }, + { + "name": "deploymentStatusId", + "in": "path", + "description": "GUID of the deployment operation.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/CsmDeploymentStatus" + } + }, + "202": { + "description": "The request has been accepted for processing, but processing has not yet completed.", + "schema": { + "$ref": "#/definitions/CsmDeploymentStatus" + }, + "headers": { + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "Get Deployment Status Slot": { + "$ref": "./examples/GetSiteDeploymentStatusSlot.json" + } + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/deployments": { + "get": { + "operationId": "WebApps_ListDeploymentsSlot", + "tags": [ + "DeploymentOperationGroup" + ], + "summary": "List deployments for an app, or a deployment slot.", + "description": "Description for List deployments for an app, or a deployment slot.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "slot", + "in": "path", + "description": "Name of the deployment slot. If a slot is not specified, the API gets a deployment for the production slot.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/DeploymentCollection" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/deployments/{id}": { + "get": { + "operationId": "WebApps_GetDeploymentSlot", + "tags": [ + "DeploymentOperationGroup" + ], + "summary": "Get a deployment by its ID for an app, or a deployment slot.", + "description": "Description for Get a deployment by its ID for an app, or a deployment slot.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "slot", + "in": "path", + "description": "Name of the deployment slot. If a slot is not specified, the API gets a deployment for the production slot.", + "required": true, + "type": "string" + }, + { + "name": "id", + "in": "path", + "description": "Deployment ID.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/Deployment" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + }, + "put": { + "operationId": "WebApps_CreateDeploymentSlot", + "tags": [ + "DeploymentOperationGroup" + ], + "summary": "Create a deployment for an app, or a deployment slot.", + "description": "Description for Create a deployment for an app, or a deployment slot.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "slot", + "in": "path", + "description": "Name of the deployment slot. If a slot is not specified, the API gets a deployment for the production slot.", + "required": true, + "type": "string" + }, + { + "name": "id", + "in": "path", + "description": "Deployment ID.", + "required": true, + "type": "string" + }, + { + "name": "deployment", + "in": "body", + "description": "Deployment details.", + "required": true, + "schema": { + "$ref": "#/definitions/Deployment" + } + } + ], + "responses": { + "200": { + "description": "Resource 'Deployment' update operation succeeded", + "schema": { + "$ref": "#/definitions/Deployment" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + }, + "delete": { + "operationId": "WebApps_DeleteDeploymentSlot", + "tags": [ + "DeploymentOperationGroup" + ], + "summary": "Delete a deployment by its ID for an app, or a deployment slot.", + "description": "Description for Delete a deployment by its ID for an app, or a deployment slot.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "slot", + "in": "path", + "description": "Name of the deployment slot. If a slot is not specified, the API gets a deployment for the production slot.", + "required": true, + "type": "string" + }, + { + "name": "id", + "in": "path", + "description": "Deployment ID.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Resource deleted successfully." + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/deployments/{id}/log": { + "get": { + "operationId": "WebApps_ListDeploymentLogSlot", + "tags": [ + "DeploymentOperationGroup" + ], + "summary": "List deployment log for specific deployment for an app, or a deployment slot.", + "description": "Description for List deployment log for specific deployment for an app, or a deployment slot.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "slot", + "in": "path", + "description": "Name of the deployment slot. If a slot is not specified, the API gets a deployment for the production slot.", + "required": true, + "type": "string" + }, + { + "name": "id", + "in": "path", + "description": "Deployment ID.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/Deployment" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/slots/{slot}/detectors": { + "get": { + "operationId": "Diagnostics_ListSiteDetectorResponsesSlot", + "tags": [ + "DetectorResponseOperationGroup" + ], + "summary": "List Site Detector Responses", + "description": "Description for List Site Detector Responses", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "siteName", + "in": "path", + "description": "Site Name", + "required": true, + "type": "string" + }, + { + "name": "slot", + "in": "path", + "description": "Slot Name", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/DetectorResponseCollection" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "Get App Detector Responses": { + "$ref": "./examples/Diagnostics_ListSiteDetectorResponses_Slot.json" + }, + "Get App Slot Detector Responses": { + "$ref": "./examples/Diagnostics_ListSiteDetectorResponsesSlot_Slot.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/slots/{slot}/detectors/{detectorName}": { + "get": { + "operationId": "Diagnostics_GetSiteDetectorResponseSlot", + "tags": [ + "DetectorResponseOperationGroup" + ], + "summary": "Get site detector response", + "description": "Description for Get site detector response", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "siteName", + "in": "path", + "description": "Site Name", + "required": true, + "type": "string" + }, + { + "name": "slot", + "in": "path", + "description": "Slot Name", + "required": true, + "type": "string" + }, + { + "name": "detectorName", + "in": "path", + "description": "Detector Resource Name", + "required": true, + "type": "string" + }, + { + "name": "startTime", + "in": "query", + "description": "Start Time", + "required": false, + "type": "string", + "format": "date-time" + }, + { + "name": "endTime", + "in": "query", + "description": "End Time", + "required": false, + "type": "string", + "format": "date-time" + }, + { + "name": "timeGrain", + "in": "query", + "description": "Time Grain", + "required": false, + "type": "string", + "pattern": "PT[1-9][0-9]+[SMH]" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/DetectorResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "Get App Detector Response": { + "$ref": "./examples/Diagnostics_GetSiteDetectorResponse_Slot.json" + }, + "Get App Slot Detector Response": { + "$ref": "./examples/Diagnostics_GetSiteDetectorResponseSlot_Slot.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/slots/{slot}/diagnostics": { + "get": { + "operationId": "Diagnostics_ListSiteDiagnosticCategoriesSlot", + "tags": [ + "DiagnosticCategoryOperationGroup" + ], + "summary": "Get Diagnostics Categories", + "description": "Description for Get Diagnostics Categories", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "siteName", + "in": "path", + "description": "Site Name", + "required": true, + "type": "string" + }, + { + "name": "slot", + "in": "path", + "description": "Slot Name", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/DiagnosticCategoryCollection" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "List App Diagnostic Categories": { + "$ref": "./examples/Diagnostics_ListSiteDiagnosticCategories_Slot.json" + }, + "List App Slot Diagnostic Categories": { + "$ref": "./examples/Diagnostics_ListSiteDiagnosticCategoriesSlot_Slot.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/slots/{slot}/diagnostics/{diagnosticCategory}": { + "get": { + "operationId": "Diagnostics_GetSiteDiagnosticCategorySlot", + "tags": [ + "DiagnosticCategoryOperationGroup" + ], + "summary": "Get Diagnostics Category", + "description": "Description for Get Diagnostics Category", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "siteName", + "in": "path", + "description": "Site Name", + "required": true, + "type": "string" + }, + { + "name": "slot", + "in": "path", + "description": "Slot Name", + "required": true, + "type": "string" + }, + { + "name": "diagnosticCategory", + "in": "path", + "description": "Diagnostic Category", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/DiagnosticCategory" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "Get App Diagnostic Category": { + "$ref": "./examples/Diagnostics_GetSiteDiagnosticCategory_Slot.json" + }, + "Get App Slot Diagnostic Category": { + "$ref": "./examples/Diagnostics_GetSiteDiagnosticCategorySlot_Slot.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/slots/{slot}/diagnostics/{diagnosticCategory}/analyses": { + "get": { + "operationId": "Diagnostics_ListSiteAnalysesSlot", + "tags": [ + "AnalysisDefinitionOperationGroup" + ], + "summary": "Get Site Analyses", + "description": "Description for Get Site Analyses", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "siteName", + "in": "path", + "description": "Site Name", + "required": true, + "type": "string" + }, + { + "name": "slot", + "in": "path", + "description": "Slot - optional", + "required": true, + "type": "string" + }, + { + "name": "diagnosticCategory", + "in": "path", + "description": "Diagnostic Category", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/DiagnosticAnalysisCollection" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "List App Analyses": { + "$ref": "./examples/Diagnostics_ListSiteAnalyses_Slot.json" + }, + "List App Slot Analyses": { + "$ref": "./examples/Diagnostics_ListSiteAnalysesSlot_Slot.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/slots/{slot}/diagnostics/{diagnosticCategory}/analyses/{analysisName}": { + "get": { + "operationId": "Diagnostics_GetSiteAnalysisSlot", + "tags": [ + "AnalysisDefinitionOperationGroup" + ], + "summary": "Get Site Analysis", + "description": "Description for Get Site Analysis", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "siteName", + "in": "path", + "description": "Site Name", + "required": true, + "type": "string" + }, + { + "name": "slot", + "in": "path", + "description": "Slot - optional", + "required": true, + "type": "string" + }, + { + "name": "diagnosticCategory", + "in": "path", + "description": "Diagnostic Category", + "required": true, + "type": "string" + }, + { + "name": "analysisName", + "in": "path", + "description": "Analysis Name", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/AnalysisDefinition" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "Get App Analysis": { + "$ref": "./examples/Diagnostics_GetSiteAnalysis_Slot.json" + }, + "Get App Slot Analysis": { + "$ref": "./examples/Diagnostics_GetSiteAnalysisSlot_Slot.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/slots/{slot}/diagnostics/{diagnosticCategory}/analyses/{analysisName}/execute": { + "post": { + "operationId": "Diagnostics_ExecuteSiteAnalysisSlot", + "tags": [ + "AnalysisDefinitionOperationGroup" + ], + "summary": "Execute Analysis", + "description": "Description for Execute Analysis", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "siteName", + "in": "path", + "description": "Site Name", + "required": true, + "type": "string" + }, + { + "name": "slot", + "in": "path", + "description": "Slot - optional", + "required": true, + "type": "string" + }, + { + "name": "diagnosticCategory", + "in": "path", + "description": "Diagnostic Category", + "required": true, + "type": "string" + }, + { + "name": "analysisName", + "in": "path", + "description": "Analysis Name", + "required": true, + "type": "string" + }, + { + "name": "startTime", + "in": "query", + "description": "Start Time", + "required": false, + "type": "string", + "format": "date-time" + }, + { + "name": "endTime", + "in": "query", + "description": "End Time", + "required": false, + "type": "string", + "format": "date-time" + }, + { + "name": "timeGrain", + "in": "query", + "description": "Time Grain", + "required": false, + "type": "string", + "pattern": "PT[1-9][0-9]+[SMH]" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/DiagnosticAnalysis" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "Execute site analysis": { + "$ref": "./examples/Diagnostics_ExecuteSiteAnalysis_Slot.json" + }, + "Execute site slot analysis": { + "$ref": "./examples/Diagnostics_ExecuteSiteAnalysisSlot_Slot.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/slots/{slot}/diagnostics/{diagnosticCategory}/detectors": { + "get": { + "operationId": "Diagnostics_ListSiteDetectorsSlot", + "tags": [ + "DetectorDefinitionResourceOperationGroup" + ], + "summary": "Get Detectors", + "description": "Description for Get Detectors", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "siteName", + "in": "path", + "description": "Site Name", + "required": true, + "type": "string" + }, + { + "name": "slot", + "in": "path", + "description": "Slot Name", + "required": true, + "type": "string" + }, + { + "name": "diagnosticCategory", + "in": "path", + "description": "Diagnostic Category", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/DiagnosticDetectorCollection" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "List App Detectors": { + "$ref": "./examples/Diagnostics_ListSiteDetectors_Slot.json" + }, + "List App Slot Detectors": { + "$ref": "./examples/Diagnostics_ListSiteDetectorsSlot_Slot.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/slots/{slot}/diagnostics/{diagnosticCategory}/detectors/{detectorName}": { + "get": { + "operationId": "Diagnostics_GetSiteDetectorSlot", + "tags": [ + "DetectorDefinitionResourceOperationGroup" + ], + "summary": "Get Detector", + "description": "Description for Get Detector", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "siteName", + "in": "path", + "description": "Site Name", + "required": true, + "type": "string" + }, + { + "name": "slot", + "in": "path", + "description": "Slot Name", + "required": true, + "type": "string" + }, + { + "name": "diagnosticCategory", + "in": "path", + "description": "Diagnostic Category", + "required": true, + "type": "string" + }, + { + "name": "detectorName", + "in": "path", + "description": "Detector Name", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/DetectorDefinitionResource" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "Get App Detector": { + "$ref": "./examples/Diagnostics_GetSiteDetector_Slot.json" + }, + "Get App Slot Detector": { + "$ref": "./examples/Diagnostics_GetSiteDetectorSlot_Slot.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/slots/{slot}/diagnostics/{diagnosticCategory}/detectors/{detectorName}/execute": { + "post": { + "operationId": "Diagnostics_ExecuteSiteDetectorSlot", + "tags": [ + "DetectorDefinitionResourceOperationGroup" + ], + "summary": "Execute Detector", + "description": "Description for Execute Detector", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "siteName", + "in": "path", + "description": "Site Name", + "required": true, + "type": "string" + }, + { + "name": "slot", + "in": "path", + "description": "Slot Name", + "required": true, + "type": "string" + }, + { + "name": "diagnosticCategory", + "in": "path", + "description": "Diagnostic Category", + "required": true, + "type": "string" + }, + { + "name": "detectorName", + "in": "path", + "description": "Detector Name", + "required": true, + "type": "string" + }, + { + "name": "startTime", + "in": "query", + "description": "Start Time", + "required": false, + "type": "string", + "format": "date-time" + }, + { + "name": "endTime", + "in": "query", + "description": "End Time", + "required": false, + "type": "string", + "format": "date-time" + }, + { + "name": "timeGrain", + "in": "query", + "description": "Time Grain", + "required": false, + "type": "string", + "pattern": "PT[1-9][0-9]+[SMH]" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/DiagnosticDetectorResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "Execute site detector": { + "$ref": "./examples/Diagnostics_ExecuteSiteDetector_Slot.json" + }, + "Execute site slot detector": { + "$ref": "./examples/Diagnostics_ExecuteSiteDetectorSlot_Slot.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/discoverbackup": { + "post": { + "operationId": "WebApps_DiscoverBackupSlot", + "tags": [ + "WebApps" + ], + "summary": "Discovers an existing app backup that can be restored from a blob in Azure storage. Use this to get information about the databases stored in a backup.", + "description": "Description for Discovers an existing app backup that can be restored from a blob in Azure storage. Use this to get information about the databases stored in a backup.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "slot", + "in": "path", + "description": "Name of the deployment slot. By default, this API returns the production slot.", + "required": true, + "type": "string" + }, + { + "name": "request", + "in": "body", + "description": "A RestoreRequest object that includes Azure storage URL and blog name for discovery of backup.", + "required": true, + "schema": { + "$ref": "#/definitions/RestoreRequest" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/RestoreRequest" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/domainOwnershipIdentifiers": { + "get": { + "operationId": "WebApps_ListDomainOwnershipIdentifiersSlot", + "tags": [ + "IdentifierOperationGroup" + ], + "summary": "Lists ownership identifiers for domain associated with web app.", + "description": "Description for Lists ownership identifiers for domain associated with web app.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "slot", + "in": "path", + "description": "Name of the deployment slot. If a slot is not specified, the API will delete the binding for the production slot.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/IdentifierCollection" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/domainOwnershipIdentifiers/{domainOwnershipIdentifierName}": { + "get": { + "operationId": "WebApps_GetDomainOwnershipIdentifierSlot", + "tags": [ + "IdentifierOperationGroup" + ], + "summary": "Get domain ownership identifier for web app.", + "description": "Description for Get domain ownership identifier for web app.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "slot", + "in": "path", + "description": "Name of the deployment slot. If a slot is not specified, the API will delete the binding for the production slot.", + "required": true, + "type": "string" + }, + { + "name": "domainOwnershipIdentifierName", + "in": "path", + "description": "Name of domain ownership identifier.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/Identifier" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + }, + "put": { + "operationId": "WebApps_CreateOrUpdateDomainOwnershipIdentifierSlot", + "tags": [ + "IdentifierOperationGroup" + ], + "summary": "Creates a domain ownership identifier for web app, or updates an existing ownership identifier.", + "description": "Description for Creates a domain ownership identifier for web app, or updates an existing ownership identifier.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "slot", + "in": "path", + "description": "Name of the deployment slot. If a slot is not specified, the API will delete the binding for the production slot.", + "required": true, + "type": "string" + }, + { + "name": "domainOwnershipIdentifierName", + "in": "path", + "description": "Name of domain ownership identifier.", + "required": true, + "type": "string" + }, + { + "name": "domainOwnershipIdentifier", + "in": "body", + "description": "A JSON representation of the domain ownership properties.", + "required": true, + "schema": { + "$ref": "#/definitions/Identifier" + } + } + ], + "responses": { + "200": { + "description": "Resource 'Identifier' update operation succeeded", + "schema": { + "$ref": "#/definitions/Identifier" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + }, + "patch": { + "operationId": "WebApps_UpdateDomainOwnershipIdentifierSlot", + "tags": [ + "IdentifierOperationGroup" + ], + "summary": "Creates a domain ownership identifier for web app, or updates an existing ownership identifier.", + "description": "Description for Creates a domain ownership identifier for web app, or updates an existing ownership identifier.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "slot", + "in": "path", + "description": "Name of the deployment slot. If a slot is not specified, the API will delete the binding for the production slot.", + "required": true, + "type": "string" + }, + { + "name": "domainOwnershipIdentifierName", + "in": "path", + "description": "Name of domain ownership identifier.", + "required": true, + "type": "string" + }, + { + "name": "domainOwnershipIdentifier", + "in": "body", + "description": "A JSON representation of the domain ownership properties.", + "required": true, + "schema": { + "$ref": "#/definitions/Identifier" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/Identifier" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + }, + "delete": { + "operationId": "WebApps_DeleteDomainOwnershipIdentifierSlot", + "tags": [ + "IdentifierOperationGroup" + ], + "summary": "Deletes a domain ownership identifier for a web app.", + "description": "Description for Deletes a domain ownership identifier for a web app.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "slot", + "in": "path", + "description": "Name of the deployment slot. If a slot is not specified, the API will delete the binding for the production slot.", + "required": true, + "type": "string" + }, + { + "name": "domainOwnershipIdentifierName", + "in": "path", + "description": "Name of domain ownership identifier.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Resource deleted successfully." + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/extensions/mSDeploy": { + "get": { + "operationId": "WebApps_GetMSDeployStatusSlot", + "tags": [ + "MSDeployStatusSlotOperationGroup" + ], + "summary": "Get the status of the last MSDeploy operation.", + "description": "Description for Get the status of the last MSDeploy operation.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of web app.", + "required": true, + "type": "string" + }, + { + "name": "slot", + "in": "path", + "description": "Name of web app slot. If not specified then will default to production slot.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/MSDeployStatus" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + }, + "put": { + "operationId": "WebApps_CreateMSDeployOperationSlot", + "tags": [ + "MSDeployStatusSlotOperationGroup" + ], + "summary": "Invoke the MSDeploy web app extension.", + "description": "Description for Invoke the MSDeploy web app extension.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of web app.", + "required": true, + "type": "string" + }, + { + "name": "slot", + "in": "path", + "description": "Name of web app slot. If not specified then will default to production slot.", + "required": true, + "type": "string" + }, + { + "name": "MSDeploy", + "in": "body", + "description": "Details of MSDeploy operation", + "required": true, + "schema": { + "$ref": "#/definitions/MSDeploy" + } + } + ], + "responses": { + "201": { + "description": "Resource 'MSDeployStatus' create operation succeeded", + "schema": { + "$ref": "#/definitions/MSDeployStatus" + }, + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "409": { + "description": "The request conflicts with the current state of the server.", + "x-ms-error-response": true + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "#/definitions/MSDeployStatus" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/extensions/mSDeploy/log": { + "get": { + "operationId": "WebApps_GetMSDeployLogSlot", + "tags": [ + "MSDeployStatusSlotOperationGroup" + ], + "summary": "Get the MSDeploy Log for the last MSDeploy operation.", + "description": "Description for Get the MSDeploy Log for the last MSDeploy operation.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of web app.", + "required": true, + "type": "string" + }, + { + "name": "slot", + "in": "path", + "description": "Name of web app slot. If not specified then will default to production slot.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/MSDeployLog" + } + }, + "404": { + "description": "The server cannot find the requested resource.", + "x-ms-error-response": true + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/functions": { + "get": { + "operationId": "WebApps_ListInstanceFunctionsSlot", + "tags": [ + "FunctionEnvelopeOperationGroup" + ], + "summary": "List the functions for a web site, or a deployment slot.", + "description": "Description for List the functions for a web site, or a deployment slot.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Site name.", + "required": true, + "type": "string" + }, + { + "name": "slot", + "in": "path", + "description": "Name of the deployment slot.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/FunctionEnvelopeCollection" + } + }, + "404": { + "description": "The server cannot find the requested resource.", + "x-ms-error-response": true + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/functions/{functionName}": { + "get": { + "operationId": "WebApps_GetInstanceFunctionSlot", + "tags": [ + "FunctionEnvelopeOperationGroup" + ], + "summary": "Get function information by its ID for web site, or a deployment slot.", + "description": "Description for Get function information by its ID for web site, or a deployment slot.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Site name.", + "required": true, + "type": "string" + }, + { + "name": "slot", + "in": "path", + "description": "Name of the deployment slot.", + "required": true, + "type": "string" + }, + { + "name": "functionName", + "in": "path", + "description": "Function name.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/FunctionEnvelope" + } + }, + "404": { + "description": "The server cannot find the requested resource.", + "x-ms-error-response": true + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + }, + "put": { + "operationId": "WebApps_CreateInstanceFunctionSlot", + "tags": [ + "FunctionEnvelopeOperationGroup" + ], + "summary": "Create function for web site, or a deployment slot.", + "description": "Description for Create function for web site, or a deployment slot.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Site name.", + "required": true, + "type": "string" + }, + { + "name": "slot", + "in": "path", + "description": "Name of the deployment slot.", + "required": true, + "type": "string" + }, + { + "name": "functionName", + "in": "path", + "description": "Function name.", + "required": true, + "type": "string" + }, + { + "name": "function_envelope", + "in": "body", + "description": "Function details.", + "required": true, + "schema": { + "$ref": "#/definitions/FunctionEnvelope" + } + } + ], + "responses": { + "201": { + "description": "Resource 'FunctionEnvelope' create operation succeeded", + "schema": { + "$ref": "#/definitions/FunctionEnvelope" + }, + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "#/definitions/FunctionEnvelope" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "WebApps_DeleteInstanceFunctionSlot", + "tags": [ + "FunctionEnvelopeOperationGroup" + ], + "summary": "Delete a function for web site, or a deployment slot.", + "description": "Description for Delete a function for web site, or a deployment slot.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Site name.", + "required": true, + "type": "string" + }, + { + "name": "slot", + "in": "path", + "description": "Name of the deployment slot.", + "required": true, + "type": "string" + }, + { + "name": "functionName", + "in": "path", + "description": "Function name.", + "required": true, + "type": "string" + } + ], + "responses": { + "204": { + "description": "Resource does not exist." + }, + "404": { + "description": "The server cannot find the requested resource.", + "x-ms-error-response": true + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/functions/{functionName}/keys/{keyName}": { + "put": { + "operationId": "WebApps_CreateOrUpdateFunctionSecretSlot", + "tags": [ + "FunctionEnvelopeOperationGroup" + ], + "summary": "Add or update a function secret.", + "description": "Description for Add or update a function secret.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "slot", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "functionName", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "keyName", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "key", + "in": "body", + "description": "The key to create or update", + "required": true, + "schema": { + "$ref": "#/definitions/KeyInfo" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/KeyInfo" + } + }, + "201": { + "description": "Resource 'KeyInfo' create operation succeeded", + "schema": { + "$ref": "#/definitions/KeyInfo" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + }, + "delete": { + "operationId": "WebApps_DeleteFunctionSecretSlot", + "tags": [ + "FunctionEnvelopeOperationGroup" + ], + "summary": "Delete a function secret.", + "description": "Description for Delete a function secret.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "slot", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "functionName", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "keyName", + "in": "path", + "required": true, + "type": "string" + } + ], + "responses": { + "204": { + "description": "There is no content to send for this request, but the headers may be useful." + }, + "404": { + "description": "The server cannot find the requested resource.", + "x-ms-error-response": true + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/functions/{functionName}/listkeys": { + "post": { + "operationId": "WebApps_ListFunctionKeysSlot", + "tags": [ + "FunctionEnvelopeOperationGroup" + ], + "summary": "Get function keys for a function in a web site, or a deployment slot.", + "description": "Description for Get function keys for a function in a web site, or a deployment slot.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "slot", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "functionName", + "in": "path", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/StringDictionary" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/functions/{functionName}/listsecrets": { + "post": { + "operationId": "WebApps_ListFunctionSecretsSlot", + "tags": [ + "FunctionEnvelopeOperationGroup" + ], + "summary": "Get function secrets for a function in a web site, or a deployment slot.", + "description": "Description for Get function secrets for a function in a web site, or a deployment slot.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Site name.", + "required": true, + "type": "string" + }, + { + "name": "slot", + "in": "path", + "description": "Name of the deployment slot.", + "required": true, + "type": "string" + }, + { + "name": "functionName", + "in": "path", + "description": "Function name.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/FunctionSecrets" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/functions/admin/token": { + "get": { + "operationId": "WebApps_GetFunctionsAdminTokenSlot", + "tags": [ + "WebApps" + ], + "summary": "Fetch a short lived token that can be exchanged for a master key.", + "description": "Description for Fetch a short lived token that can be exchanged for a master key.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "slot", + "in": "path", + "description": "Name of the deployment slot. By default, this API returns the production slot.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/stringApplicationJson" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/host/default/listkeys": { + "post": { + "operationId": "WebApps_ListHostKeysSlot", + "tags": [ + "WebApps" + ], + "summary": "Get host secrets for a function app.", + "description": "Description for Get host secrets for a function app.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "slot", + "in": "path", + "description": "Name of the deployment slot. By default, this API returns the production slot.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/HostKeys" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/host/default/listsyncstatus": { + "post": { + "operationId": "WebApps_ListSyncStatusSlot", + "tags": [ + "WebApps" + ], + "summary": "This is to allow calling via powershell and ARM template.", + "description": "Description for This is to allow calling via powershell and ARM template.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "slot", + "in": "path", + "description": "Name of the deployment slot. By default, this API returns the production slot.", + "required": true, + "type": "string" + } + ], + "responses": { + "204": { + "description": "There is no content to send for this request, but the headers may be useful." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/host/default/sync": { + "post": { + "operationId": "WebApps_SyncFunctionsSlot", + "tags": [ + "WebApps" + ], + "summary": "Syncs function trigger metadata to the management database", + "description": "Description for Syncs function trigger metadata to the management database", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "slot", + "in": "path", + "description": "Name of the deployment slot. By default, this API returns the production slot.", + "required": true, + "type": "string" + } + ], + "responses": { + "204": { + "description": "There is no content to send for this request, but the headers may be useful." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/hostNameBindings": { + "get": { + "operationId": "WebApps_ListHostNameBindingsSlot", + "tags": [ + "HostNameBindingOperationGroup" + ], + "summary": "Get hostname bindings for an app or a deployment slot.", + "description": "Description for Get hostname bindings for an app or a deployment slot.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "slot", + "in": "path", + "description": "Name of the deployment slot. If a slot is not specified, the API the named binding for the production slot.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/HostNameBindingCollection" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/hostNameBindings/{hostName}": { + "get": { + "operationId": "WebApps_GetHostNameBindingSlot", + "tags": [ + "HostNameBindingOperationGroup" + ], + "summary": "Get the named hostname binding for an app (or deployment slot, if specified).", + "description": "Description for Get the named hostname binding for an app (or deployment slot, if specified).", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "slot", + "in": "path", + "description": "Name of the deployment slot. If a slot is not specified, the API the named binding for the production slot.", + "required": true, + "type": "string" + }, + { + "name": "hostName", + "in": "path", + "description": "Hostname in the hostname binding.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/HostNameBinding" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + }, + "put": { + "operationId": "WebApps_CreateOrUpdateHostNameBindingSlot", + "tags": [ + "HostNameBindingOperationGroup" + ], + "summary": "Creates a hostname binding for an app.", + "description": "Description for Creates a hostname binding for an app.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "slot", + "in": "path", + "description": "Name of the deployment slot. If a slot is not specified, the API the named binding for the production slot.", + "required": true, + "type": "string" + }, + { + "name": "hostName", + "in": "path", + "description": "Hostname in the hostname binding.", + "required": true, + "type": "string" + }, + { + "name": "hostNameBinding", + "in": "body", + "description": "Binding details. This is the JSON representation of a HostNameBinding object.", + "required": true, + "schema": { + "$ref": "#/definitions/HostNameBinding" + } + } + ], + "responses": { + "200": { + "description": "Resource 'HostNameBinding' update operation succeeded", + "schema": { + "$ref": "#/definitions/HostNameBinding" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + }, + "delete": { + "operationId": "WebApps_DeleteHostNameBindingSlot", + "tags": [ + "HostNameBindingOperationGroup" + ], + "summary": "Deletes a hostname binding for an app.", + "description": "Description for Deletes a hostname binding for an app.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "slot", + "in": "path", + "description": "Name of the deployment slot. If a slot is not specified, the API the named binding for the production slot.", + "required": true, + "type": "string" + }, + { + "name": "hostName", + "in": "path", + "description": "Hostname in the hostname binding.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Resource deleted successfully." + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/hybridConnectionNamespaces/{namespaceName}/relays/{relayName}": { + "get": { + "operationId": "WebApps_GetHybridConnectionSlot", + "tags": [ + "HybridConnectionSlotOperationGroup" + ], + "summary": "Retrieves a specific Service Bus Hybrid Connection used by this Web App.", + "description": "Description for Retrieves a specific Service Bus Hybrid Connection used by this Web App.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "The name of the web app.", + "required": true, + "type": "string" + }, + { + "name": "slot", + "in": "path", + "description": "The name of the slot for the web app.", + "required": true, + "type": "string" + }, + { + "name": "namespaceName", + "in": "path", + "description": "The namespace for this hybrid connection.", + "required": true, + "type": "string" + }, + { + "name": "relayName", + "in": "path", + "description": "The relay name for this hybrid connection.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/HybridConnection" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + }, + "put": { + "operationId": "WebApps_CreateOrUpdateHybridConnectionSlot", + "tags": [ + "HybridConnectionSlotOperationGroup" + ], + "summary": "Creates a new Hybrid Connection using a Service Bus relay.", + "description": "Description for Creates a new Hybrid Connection using a Service Bus relay.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "The name of the web app.", + "required": true, + "type": "string" + }, + { + "name": "slot", + "in": "path", + "description": "The name of the slot for the web app.", + "required": true, + "type": "string" + }, + { + "name": "namespaceName", + "in": "path", + "description": "The namespace for this hybrid connection.", + "required": true, + "type": "string" + }, + { + "name": "relayName", + "in": "path", + "description": "The relay name for this hybrid connection.", + "required": true, + "type": "string" + }, + { + "name": "connectionEnvelope", + "in": "body", + "description": "The details of the hybrid connection.", + "required": true, + "schema": { + "$ref": "#/definitions/HybridConnection" + } + } + ], + "responses": { + "200": { + "description": "Resource 'HybridConnection' update operation succeeded", + "schema": { + "$ref": "#/definitions/HybridConnection" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + }, + "patch": { + "operationId": "WebApps_UpdateHybridConnectionSlot", + "tags": [ + "HybridConnectionSlotOperationGroup" + ], + "summary": "Creates a new Hybrid Connection using a Service Bus relay.", + "description": "Description for Creates a new Hybrid Connection using a Service Bus relay.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "The name of the web app.", + "required": true, + "type": "string" + }, + { + "name": "slot", + "in": "path", + "description": "The name of the slot for the web app.", + "required": true, + "type": "string" + }, + { + "name": "namespaceName", + "in": "path", + "description": "The namespace for this hybrid connection.", + "required": true, + "type": "string" + }, + { + "name": "relayName", + "in": "path", + "description": "The relay name for this hybrid connection.", + "required": true, + "type": "string" + }, + { + "name": "connectionEnvelope", + "in": "body", + "description": "The details of the hybrid connection.", + "required": true, + "schema": { + "$ref": "#/definitions/HybridConnection" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/HybridConnection" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + }, + "delete": { + "operationId": "WebApps_DeleteHybridConnectionSlot", + "tags": [ + "HybridConnectionSlotOperationGroup" + ], + "summary": "Removes a Hybrid Connection from this site.", + "description": "Description for Removes a Hybrid Connection from this site.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "The name of the web app.", + "required": true, + "type": "string" + }, + { + "name": "slot", + "in": "path", + "description": "The name of the slot for the web app.", + "required": true, + "type": "string" + }, + { + "name": "namespaceName", + "in": "path", + "description": "The namespace for this hybrid connection.", + "required": true, + "type": "string" + }, + { + "name": "relayName", + "in": "path", + "description": "The relay name for this hybrid connection.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Resource deleted successfully." + }, + "404": { + "description": "The server cannot find the requested resource.", + "x-ms-error-response": true + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/hybridConnectionRelays": { + "get": { + "operationId": "WebApps_ListHybridConnectionsSlot", + "tags": [ + "WebApps" + ], + "summary": "Retrieves all Service Bus Hybrid Connections used by this Web App.", + "description": "Description for Retrieves all Service Bus Hybrid Connections used by this Web App.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "slot", + "in": "path", + "description": "Name of the deployment slot. By default, this API returns the production slot.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/HybridConnection" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/hybridconnection": { + "get": { + "operationId": "WebApps_ListRelayServiceConnectionsSlot", + "tags": [ + "WebApps" + ], + "summary": "Gets hybrid connections configured for an app (or deployment slot, if specified).", + "description": "Description for Gets hybrid connections configured for an app (or deployment slot, if specified).", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "slot", + "in": "path", + "description": "Name of the deployment slot. By default, this API returns the production slot.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/RelayServiceConnectionEntity" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/hybridconnection/{entityName}": { + "get": { + "operationId": "WebApps_GetRelayServiceConnectionSlot", + "tags": [ + "RelayServiceConnectionEntityOperationGroup" + ], + "summary": "Gets a hybrid connection configuration by its name.", + "description": "Description for Gets a hybrid connection configuration by its name.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "slot", + "in": "path", + "description": "Name of the deployment slot. If a slot is not specified, the API will get a hybrid connection for the production slot.", + "required": true, + "type": "string" + }, + { + "name": "entityName", + "in": "path", + "description": "Name of the hybrid connection.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/RelayServiceConnectionEntity" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + }, + "put": { + "operationId": "WebApps_CreateOrUpdateRelayServiceConnectionSlot", + "tags": [ + "RelayServiceConnectionEntityOperationGroup" + ], + "summary": "Creates a new hybrid connection configuration (PUT), or updates an existing one (PATCH).", + "description": "Description for Creates a new hybrid connection configuration (PUT), or updates an existing one (PATCH).", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "slot", + "in": "path", + "description": "Name of the deployment slot. If a slot is not specified, the API will get a hybrid connection for the production slot.", + "required": true, + "type": "string" + }, + { + "name": "entityName", + "in": "path", + "description": "Name of the hybrid connection.", + "required": true, + "type": "string" + }, + { + "name": "connectionEnvelope", + "in": "body", + "description": "Details of the hybrid connection configuration.", + "required": true, + "schema": { + "$ref": "#/definitions/RelayServiceConnectionEntity" + } + } + ], + "responses": { + "200": { + "description": "Resource 'RelayServiceConnectionEntity' update operation succeeded", + "schema": { + "$ref": "#/definitions/RelayServiceConnectionEntity" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + }, + "patch": { + "operationId": "WebApps_UpdateRelayServiceConnectionSlot", + "tags": [ + "RelayServiceConnectionEntityOperationGroup" + ], + "summary": "Creates a new hybrid connection configuration (PUT), or updates an existing one (PATCH).", + "description": "Description for Creates a new hybrid connection configuration (PUT), or updates an existing one (PATCH).", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "slot", + "in": "path", + "description": "Name of the deployment slot. If a slot is not specified, the API will get a hybrid connection for the production slot.", + "required": true, + "type": "string" + }, + { + "name": "entityName", + "in": "path", + "description": "Name of the hybrid connection.", + "required": true, + "type": "string" + }, + { + "name": "connectionEnvelope", + "in": "body", + "description": "Details of the hybrid connection configuration.", + "required": true, + "schema": { + "$ref": "#/definitions/RelayServiceConnectionEntity" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/RelayServiceConnectionEntity" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + }, + "delete": { + "operationId": "WebApps_DeleteRelayServiceConnectionSlot", + "tags": [ + "RelayServiceConnectionEntityOperationGroup" + ], + "summary": "Deletes a relay service connection by its name.", + "description": "Description for Deletes a relay service connection by its name.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "slot", + "in": "path", + "description": "Name of the deployment slot. If a slot is not specified, the API will get a hybrid connection for the production slot.", + "required": true, + "type": "string" + }, + { + "name": "entityName", + "in": "path", + "description": "Name of the hybrid connection.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Resource deleted successfully." + }, + "404": { + "description": "The server cannot find the requested resource.", + "x-ms-error-response": true + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/instances": { + "get": { + "operationId": "WebApps_ListInstanceIdentifiersSlot", + "tags": [ + "WebSiteInstanceStatusOperationGroup" + ], + "summary": "Gets all scale-out instances of an app.", + "description": "Description for Gets all scale-out instances of an app.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "slot", + "in": "path", + "description": "Name of the deployment slot. If a slot is not specified, the API gets the production slot instances.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/WebAppInstanceStatusCollection" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/instances/{instanceId}": { + "get": { + "operationId": "WebApps_GetInstanceInfoSlot", + "tags": [ + "WebSiteInstanceStatusOperationGroup" + ], + "summary": "Gets all scale-out instances of an app.", + "description": "Description for Gets all scale-out instances of an app.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "slot", + "in": "path", + "description": "Name of the deployment slot. If a slot is not specified, the API gets the production slot instances.", + "required": true, + "type": "string" + }, + { + "name": "instanceId", + "in": "path", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/WebSiteInstanceStatus" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "Get site instance info": { + "$ref": "./examples/GetSiteInstanceInfo_Slot.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/instances/{instanceId}/extensions/mSDeploy": { + "get": { + "operationId": "WebApps_GetInstanceMsDeployStatusSlot", + "tags": [ + "InstanceMSDeployStatusOperationGroup" + ], + "summary": "Get the status of the last MSDeploy operation.", + "description": "Description for Get the status of the last MSDeploy operation.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of web app.", + "required": true, + "type": "string" + }, + { + "name": "slot", + "in": "path", + "description": "Name of web app slot. If not specified then will default to production slot.", + "required": true, + "type": "string" + }, + { + "name": "instanceId", + "in": "path", + "description": "ID of web app instance.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/MSDeployStatus" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + }, + "put": { + "operationId": "WebApps_CreateInstanceMSDeployOperationSlot", + "tags": [ + "InstanceMSDeployStatusOperationGroup" + ], + "summary": "Invoke the MSDeploy web app extension.", + "description": "Description for Invoke the MSDeploy web app extension.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of web app.", + "required": true, + "type": "string" + }, + { + "name": "slot", + "in": "path", + "description": "Name of web app slot. If not specified then will default to production slot.", + "required": true, + "type": "string" + }, + { + "name": "instanceId", + "in": "path", + "description": "ID of web app instance.", + "required": true, + "type": "string" + }, + { + "name": "MSDeploy", + "in": "body", + "description": "Details of MSDeploy operation", + "required": true, + "schema": { + "$ref": "#/definitions/MSDeploy" + } + } + ], + "responses": { + "201": { + "description": "Resource 'MSDeployStatus' create operation succeeded", + "schema": { + "$ref": "#/definitions/MSDeployStatus" + }, + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "409": { + "description": "The request conflicts with the current state of the server.", + "x-ms-error-response": true + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "#/definitions/MSDeployStatus" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/instances/{instanceId}/extensions/mSDeploy/log": { + "get": { + "operationId": "WebApps_GetInstanceMSDeployLogSlot", + "tags": [ + "InstanceMSDeployStatusOperationGroup" + ], + "summary": "Get the MSDeploy Log for the last MSDeploy operation.", + "description": "Description for Get the MSDeploy Log for the last MSDeploy operation.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of web app.", + "required": true, + "type": "string" + }, + { + "name": "slot", + "in": "path", + "description": "Name of web app slot. If not specified then will default to production slot.", + "required": true, + "type": "string" + }, + { + "name": "instanceId", + "in": "path", + "description": "ID of web app instance.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/MSDeployLog" + } + }, + "404": { + "description": "The server cannot find the requested resource.", + "x-ms-error-response": true + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/instances/{instanceId}/processes": { + "get": { + "operationId": "WebApps_ListInstanceProcessesSlot", + "tags": [ + "InstanceProcessSlotOperationGroup" + ], + "summary": "Get list of processes for a web site, or a deployment slot, or for a specific scaled-out instance in a web site.", + "description": "Description for Get list of processes for a web site, or a deployment slot, or for a specific scaled-out instance in a web site.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Site name.", + "required": true, + "type": "string" + }, + { + "name": "slot", + "in": "path", + "description": "Name of the deployment slot. If a slot is not specified, the API returns deployments for the production slot.", + "required": true, + "type": "string" + }, + { + "name": "instanceId", + "in": "path", + "description": "ID of a specific scaled-out instance. This is the value of the name property in the JSON response from \"GET api/sites/{siteName}/instances\".", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ProcessInfoCollection" + } + }, + "404": { + "description": "The server cannot find the requested resource.", + "x-ms-error-response": true + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/instances/{instanceId}/processes/{processId}": { + "get": { + "operationId": "WebApps_GetInstanceProcessSlot", + "tags": [ + "InstanceProcessSlotOperationGroup" + ], + "summary": "Get process information by its ID for a specific scaled-out instance in a web site.", + "description": "Description for Get process information by its ID for a specific scaled-out instance in a web site.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Site name.", + "required": true, + "type": "string" + }, + { + "name": "slot", + "in": "path", + "description": "Name of the deployment slot. If a slot is not specified, the API returns deployments for the production slot.", + "required": true, + "type": "string" + }, + { + "name": "instanceId", + "in": "path", + "description": "ID of a specific scaled-out instance. This is the value of the name property in the JSON response from \"GET api/sites/{siteName}/instances\".", + "required": true, + "type": "string" + }, + { + "name": "processId", + "in": "path", + "description": "PID.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ProcessInfo" + } + }, + "404": { + "description": "The server cannot find the requested resource.", + "x-ms-error-response": true + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + }, + "delete": { + "operationId": "WebApps_DeleteInstanceProcessSlot", + "tags": [ + "InstanceProcessSlotOperationGroup" + ], + "summary": "Terminate a process by its ID for a web site, or a deployment slot, or specific scaled-out instance in a web site.", + "description": "Description for Terminate a process by its ID for a web site, or a deployment slot, or specific scaled-out instance in a web site.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Site name.", + "required": true, + "type": "string" + }, + { + "name": "slot", + "in": "path", + "description": "Name of the deployment slot. If a slot is not specified, the API returns deployments for the production slot.", + "required": true, + "type": "string" + }, + { + "name": "instanceId", + "in": "path", + "description": "ID of a specific scaled-out instance. This is the value of the name property in the JSON response from \"GET api/sites/{siteName}/instances\".", + "required": true, + "type": "string" + }, + { + "name": "processId", + "in": "path", + "description": "PID.", + "required": true, + "type": "string" + } + ], + "responses": { + "204": { + "description": "Resource does not exist." + }, + "404": { + "description": "The server cannot find the requested resource.", + "x-ms-error-response": true + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/instances/{instanceId}/processes/{processId}/dump": { + "get": { + "operationId": "WebApps_GetInstanceProcessDumpSlot", + "tags": [ + "InstanceProcessSlotOperationGroup" + ], + "summary": "Get a memory dump of a process by its ID for a specific scaled-out instance in a web site.", + "description": "Description for Get a memory dump of a process by its ID for a specific scaled-out instance in a web site.", + "produces": [ + "*/*", + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Site name.", + "required": true, + "type": "string" + }, + { + "name": "slot", + "in": "path", + "description": "Name of the deployment slot. If a slot is not specified, the API returns deployments for the production slot.", + "required": true, + "type": "string" + }, + { + "name": "instanceId", + "in": "path", + "description": "ID of a specific scaled-out instance. This is the value of the name property in the JSON response from \"GET api/sites/{siteName}/instances\".", + "required": true, + "type": "string" + }, + { + "name": "processId", + "in": "path", + "description": "PID.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "type": "file" + } + }, + "404": { + "description": "The server cannot find the requested resource.", + "x-ms-error-response": true + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/instances/{instanceId}/processes/{processId}/modules": { + "get": { + "operationId": "WebApps_ListInstanceProcessModulesSlot", + "tags": [ + "InstanceProcessModuleSlotOperationGroup" + ], + "summary": "List module information for a process by its ID for a specific scaled-out instance in a web site.", + "description": "Description for List module information for a process by its ID for a specific scaled-out instance in a web site.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Site name.", + "required": true, + "type": "string" + }, + { + "name": "slot", + "in": "path", + "description": "Name of the deployment slot. If a slot is not specified, the API returns deployments for the production slot.", + "required": true, + "type": "string" + }, + { + "name": "instanceId", + "in": "path", + "description": "ID of a specific scaled-out instance. This is the value of the name property in the JSON response from \"GET api/sites/{siteName}/instances\".", + "required": true, + "type": "string" + }, + { + "name": "processId", + "in": "path", + "description": "PID.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ProcessModuleInfoCollection" + } + }, + "404": { + "description": "The server cannot find the requested resource.", + "x-ms-error-response": true + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/instances/{instanceId}/processes/{processId}/modules/{baseAddress}": { + "get": { + "operationId": "WebApps_GetInstanceProcessModuleSlot", + "tags": [ + "InstanceProcessModuleSlotOperationGroup" + ], + "summary": "Get process information by its ID for a specific scaled-out instance in a web site.", + "description": "Description for Get process information by its ID for a specific scaled-out instance in a web site.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Site name.", + "required": true, + "type": "string" + }, + { + "name": "slot", + "in": "path", + "description": "Name of the deployment slot. If a slot is not specified, the API returns deployments for the production slot.", + "required": true, + "type": "string" + }, + { + "name": "instanceId", + "in": "path", + "description": "ID of a specific scaled-out instance. This is the value of the name property in the JSON response from \"GET api/sites/{siteName}/instances\".", + "required": true, + "type": "string" + }, + { + "name": "processId", + "in": "path", + "description": "PID.", + "required": true, + "type": "string" + }, + { + "name": "baseAddress", + "in": "path", + "description": "Module base address.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ProcessModuleInfo" + } + }, + "404": { + "description": "The server cannot find the requested resource.", + "x-ms-error-response": true + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/instances/{instanceId}/processes/{processId}/threads": { + "get": { + "operationId": "WebApps_ListInstanceProcessThreadsSlot", + "tags": [ + "InstanceProcessSlotOperationGroup" + ], + "summary": "List the threads in a process by its ID for a specific scaled-out instance in a web site.", + "description": "Description for List the threads in a process by its ID for a specific scaled-out instance in a web site.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Site name.", + "required": true, + "type": "string" + }, + { + "name": "slot", + "in": "path", + "description": "Name of the deployment slot. If a slot is not specified, the API returns deployments for the production slot.", + "required": true, + "type": "string" + }, + { + "name": "instanceId", + "in": "path", + "description": "ID of a specific scaled-out instance. This is the value of the name property in the JSON response from \"GET api/sites/{siteName}/instances\".", + "required": true, + "type": "string" + }, + { + "name": "processId", + "in": "path", + "description": "PID.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ProcessThreadInfoCollection" + } + }, + "404": { + "description": "The server cannot find the requested resource.", + "x-ms-error-response": true + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/iscloneable": { + "post": { + "operationId": "WebApps_IsCloneableSlot", + "tags": [ + "WebApps" + ], + "summary": "Shows whether an app can be cloned to another resource group or subscription.", + "description": "Description for Shows whether an app can be cloned to another resource group or subscription.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "slot", + "in": "path", + "description": "Name of the deployment slot. By default, this API returns the production slot.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/SiteCloneability" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/listWorkflowsConnections": { + "post": { + "operationId": "WebApps_ListWorkflowsConnectionsSlot", + "tags": [ + "WebApps" + ], + "summary": "Lists logic app's connections for web site, or a deployment slot.", + "description": "Lists logic app's connections for web site, or a deployment slot.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "slot", + "in": "path", + "description": "Name of the deployment slot. By default, this API returns the production slot.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/WorkflowEnvelope" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "List the Instance Workflows Configuration Connections Slot": { + "$ref": "./examples/ListWorkflowsConfigurationConnections_Slot.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/listbackups": { + "post": { + "operationId": "WebApps_ListSiteBackupsSlot", + "tags": [ + "WebApps" + ], + "summary": "Gets existing backups of an app.", + "description": "Description for Gets existing backups of an app.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "slot", + "in": "path", + "description": "Name of the deployment slot. By default, this API returns the production slot.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/BackupItemCollection" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "List backups": { + "$ref": "./examples/ListSiteBackupsSlot.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/listsyncfunctiontriggerstatus": { + "post": { + "operationId": "WebApps_ListSyncFunctionTriggersSlot", + "tags": [ + "WebApps" + ], + "summary": "This is to allow calling via powershell and ARM template.", + "description": "Description for This is to allow calling via powershell and ARM template.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "slot", + "in": "path", + "description": "Name of the deployment slot. By default, this API returns the production slot.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/FunctionSecrets" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/migratemysql/status": { + "get": { + "operationId": "WebApps_GetMigrateMySqlStatusSlot", + "tags": [ + "MigrateMySqlStatusOperationGroup" + ], + "summary": "Returns the status of MySql in app migration, if one is active, and whether or not MySql in app is enabled", + "description": "Description for Returns the status of MySql in app migration, if one is active, and whether or not MySql in app is enabled", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of web app.", + "required": true, + "type": "string" + }, + { + "name": "slot", + "in": "path", + "description": "Name of the deployment slot.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/MigrateMySqlStatus" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/networkConfig/virtualNetwork": { + "get": { + "operationId": "WebApps_GetSwiftVirtualNetworkConnectionSlot", + "tags": [ + "SwiftVirtualNetworkOperationGroup" + ], + "summary": "Gets a Swift Virtual Network connection.", + "description": "Description for Gets a Swift Virtual Network connection.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "slot", + "in": "path", + "description": "Name of the deployment slot. If a slot is not specified, the API will get a gateway for the production slot's Virtual Network.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/SwiftVirtualNetwork" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + }, + "put": { + "operationId": "WebApps_CreateOrUpdateSwiftVirtualNetworkConnectionWithCheckSlot", + "tags": [ + "SwiftVirtualNetworkOperationGroup" + ], + "summary": "Integrates this Web App with a Virtual Network. This requires that 1) \"swiftSupported\" is true when doing a GET against this resource, and 2) that the target Subnet has already been delegated, and is not\r\nin use by another App Service Plan other than the one this App is in.", + "description": "Description for Integrates this Web App with a Virtual Network. This requires that 1) \"swiftSupported\" is true when doing a GET against this resource, and 2) that the target Subnet has already been delegated, and is not\nin use by another App Service Plan other than the one this App is in.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "slot", + "in": "path", + "description": "Name of the deployment slot. If a slot is not specified, the API will get a gateway for the production slot's Virtual Network.", + "required": true, + "type": "string" + }, + { + "name": "connectionEnvelope", + "in": "body", + "description": "Properties of the Virtual Network connection. See example.", + "required": true, + "schema": { + "$ref": "#/definitions/SwiftVirtualNetwork" + } + } + ], + "responses": { + "200": { + "description": "Resource 'SwiftVirtualNetwork' update operation succeeded", + "schema": { + "$ref": "#/definitions/SwiftVirtualNetwork" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + }, + "patch": { + "operationId": "WebApps_UpdateSwiftVirtualNetworkConnectionWithCheckSlot", + "tags": [ + "SwiftVirtualNetworkOperationGroup" + ], + "summary": "Integrates this Web App with a Virtual Network. This requires that 1) \"swiftSupported\" is true when doing a GET against this resource, and 2) that the target Subnet has already been delegated, and is not\r\nin use by another App Service Plan other than the one this App is in.", + "description": "Description for Integrates this Web App with a Virtual Network. This requires that 1) \"swiftSupported\" is true when doing a GET against this resource, and 2) that the target Subnet has already been delegated, and is not\nin use by another App Service Plan other than the one this App is in.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "slot", + "in": "path", + "description": "Name of the deployment slot. If a slot is not specified, the API will get a gateway for the production slot's Virtual Network.", + "required": true, + "type": "string" + }, + { + "name": "connectionEnvelope", + "in": "body", + "description": "Properties of the Virtual Network connection. See example.", + "required": true, + "schema": { + "$ref": "#/definitions/SwiftVirtualNetwork" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/SwiftVirtualNetwork" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + }, + "delete": { + "operationId": "WebApps_DeleteSwiftVirtualNetworkSlot", + "tags": [ + "SwiftVirtualNetworkOperationGroup" + ], + "summary": "Deletes a Swift Virtual Network connection from an app (or deployment slot).", + "description": "Description for Deletes a Swift Virtual Network connection from an app (or deployment slot).", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "slot", + "in": "path", + "description": "Name of the deployment slot. If a slot is not specified, the API will get a gateway for the production slot's Virtual Network.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Resource deleted successfully." + }, + "404": { + "description": "The server cannot find the requested resource.", + "x-ms-error-response": true + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/networkFeatures/{view}": { + "get": { + "operationId": "WebApps_ListNetworkFeaturesSlot", + "tags": [ + "NetworkFeaturesSlotOperationGroup" + ], + "summary": "Gets all network features used by the app (or deployment slot, if specified).", + "description": "Description for Gets all network features used by the app (or deployment slot, if specified).", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "slot", + "in": "path", + "description": "Name of the deployment slot. If a slot is not specified, the API will get network features for the production slot.", + "required": true, + "type": "string" + }, + { + "name": "view", + "in": "path", + "description": "The type of view. Only \"summary\" is supported at this time.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/NetworkFeatures" + } + }, + "404": { + "description": "The server cannot find the requested resource.", + "x-ms-error-response": true + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/networkTrace/start": { + "post": { + "operationId": "WebApps_StartWebSiteNetworkTraceSlot", + "tags": [ + "WebApps" + ], + "summary": "Start capturing network packets for the site (To be deprecated).", + "description": "Description for Start capturing network packets for the site (To be deprecated).", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "slot", + "in": "path", + "description": "Name of the deployment slot. By default, this API returns the production slot.", + "required": true, + "type": "string" + }, + { + "name": "durationInSeconds", + "in": "query", + "description": "The duration to keep capturing in seconds.", + "required": false, + "type": "integer", + "format": "int32" + }, + { + "name": "maxFrameLength", + "in": "query", + "description": "The maximum frame length in bytes (Optional).", + "required": false, + "type": "integer", + "format": "int32" + }, + { + "name": "sasUrl", + "in": "query", + "description": "The Blob URL to store capture file.", + "required": false, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/stringApplicationJson" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/networkTrace/startOperation": { + "post": { + "operationId": "WebApps_StartWebSiteNetworkTraceOperationSlot", + "tags": [ + "WebApps" + ], + "summary": "Start capturing network packets for the site.", + "description": "Description for Start capturing network packets for the site.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "slot", + "in": "path", + "description": "Name of the deployment slot. By default, this API returns the production slot.", + "required": true, + "type": "string" + }, + { + "name": "durationInSeconds", + "in": "query", + "description": "The duration to keep capturing in seconds.", + "required": false, + "type": "integer", + "format": "int32" + }, + { + "name": "maxFrameLength", + "in": "query", + "description": "The maximum frame length in bytes (Optional).", + "required": false, + "type": "integer", + "format": "int32" + }, + { + "name": "sasUrl", + "in": "query", + "description": "The Blob URL to store capture file.", + "required": false, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "type": "array", + "items": { + "$ref": "#/definitions/NetworkTrace" + } + } + }, + "202": { + "description": "Azure operation completed successfully.", + "schema": { + "type": "array", + "items": { + "$ref": "#/definitions/NetworkTrace" + } + }, + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "Start a new network trace operation for a site": { + "$ref": "./examples/StartWebSiteNetworkTraceOperation_Slot.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/networkTrace/stop": { + "post": { + "operationId": "WebApps_StopWebSiteNetworkTraceSlot", + "tags": [ + "WebApps" + ], + "summary": "Stop ongoing capturing network packets for the site.", + "description": "Description for Stop ongoing capturing network packets for the site.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "slot", + "in": "path", + "description": "Name of the deployment slot. By default, this API returns the production slot.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully." + }, + "204": { + "description": "There is no content to send for this request, but the headers may be useful." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "Stop a currently running network trace operation for a site": { + "$ref": "./examples/StopWebSiteNetworkTrace_Slot.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/newpassword": { + "post": { + "operationId": "WebApps_GenerateNewSitePublishingPasswordSlot", + "tags": [ + "WebApps" + ], + "summary": "Generates a new publishing password for an app (or deployment slot, if specified).", + "description": "Description for Generates a new publishing password for an app (or deployment slot, if specified).", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "slot", + "in": "path", + "description": "Name of the deployment slot. By default, this API returns the production slot.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully." + }, + "204": { + "description": "There is no content to send for this request, but the headers may be useful." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/perfcounters": { + "get": { + "operationId": "WebApps_ListPerfMonCountersSlot", + "tags": [ + "WebApps" + ], + "summary": "Gets perfmon counters for web app.", + "description": "Description for Gets perfmon counters for web app.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "slot", + "in": "path", + "description": "Name of the deployment slot. By default, this API returns the production slot.", + "required": true, + "type": "string" + }, + { + "name": "$filter", + "in": "query", + "description": "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]'.", + "required": false, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/PerfMonCounterCollection" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/phplogging": { + "get": { + "operationId": "WebApps_GetSitePhpErrorLogFlagSlot", + "tags": [ + "WebApps" + ], + "summary": "Gets web app's event logs.", + "description": "Description for Gets web app's event logs.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "slot", + "in": "path", + "description": "Name of the deployment slot. By default, this API returns the production slot.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/SitePhpErrorLogFlag" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/premieraddons": { + "get": { + "operationId": "WebApps_ListPremierAddOnsSlot", + "tags": [ + "WebApps" + ], + "summary": "Gets the premier add-ons of an app.", + "description": "Description for Gets the premier add-ons of an app.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "slot", + "in": "path", + "description": "Name of the deployment slot. By default, this API returns the production slot.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/PremierAddOn" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/premieraddons/{premierAddOnName}": { + "get": { + "operationId": "WebApps_GetPremierAddOnSlot", + "tags": [ + "PremierAddOnOperationGroup" + ], + "summary": "Gets a named add-on of an app.", + "description": "Description for Gets a named add-on of an app.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "slot", + "in": "path", + "description": "Name of the deployment slot. If a slot is not specified, the API will get the named add-on for the production slot.", + "required": true, + "type": "string" + }, + { + "name": "premierAddOnName", + "in": "path", + "description": "Add-on name.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/PremierAddOn" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + }, + "put": { + "operationId": "WebApps_AddPremierAddOnSlot", + "tags": [ + "PremierAddOnOperationGroup" + ], + "summary": "Updates a named add-on of an app.", + "description": "Description for Updates a named add-on of an app.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "slot", + "in": "path", + "description": "Name of the deployment slot. If a slot is not specified, the API will get the named add-on for the production slot.", + "required": true, + "type": "string" + }, + { + "name": "premierAddOnName", + "in": "path", + "description": "Add-on name.", + "required": true, + "type": "string" + }, + { + "name": "premierAddOn", + "in": "body", + "description": "A JSON representation of the edited premier add-on.", + "required": true, + "schema": { + "$ref": "#/definitions/PremierAddOn" + } + } + ], + "responses": { + "200": { + "description": "Resource 'PremierAddOn' update operation succeeded", + "schema": { + "$ref": "#/definitions/PremierAddOn" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + }, + "patch": { + "operationId": "WebApps_UpdatePremierAddOnSlot", + "tags": [ + "PremierAddOnOperationGroup" + ], + "summary": "Updates a named add-on of an app.", + "description": "Description for Updates a named add-on of an app.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "slot", + "in": "path", + "description": "Name of the deployment slot. If a slot is not specified, the API will get the named add-on for the production slot.", + "required": true, + "type": "string" + }, + { + "name": "premierAddOnName", + "in": "path", + "description": "Add-on name.", + "required": true, + "type": "string" + }, + { + "name": "premierAddOn", + "in": "body", + "description": "A JSON representation of the edited premier add-on.", + "required": true, + "schema": { + "$ref": "#/definitions/PremierAddOnPatchResource" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/PremierAddOn" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + }, + "delete": { + "operationId": "WebApps_DeletePremierAddOnSlot", + "tags": [ + "PremierAddOnOperationGroup" + ], + "summary": "Delete a premier add-on from an app.", + "description": "Description for Delete a premier add-on from an app.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "slot", + "in": "path", + "description": "Name of the deployment slot. If a slot is not specified, the API will get the named add-on for the production slot.", + "required": true, + "type": "string" + }, + { + "name": "premierAddOnName", + "in": "path", + "description": "Add-on name.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Resource deleted successfully." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/privateAccess/virtualNetworks": { + "get": { + "operationId": "WebApps_GetPrivateAccessSlot", + "tags": [ + "PrivateAccessOperationGroup" + ], + "summary": "Gets data around private site access enablement and authorized Virtual Networks that can access the site.", + "description": "Description for Gets data around private site access enablement and authorized Virtual Networks that can access the site.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "The name of the web app.", + "required": true, + "type": "string" + }, + { + "name": "slot", + "in": "path", + "description": "The name of the slot for the web app.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/PrivateAccess" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + }, + "put": { + "operationId": "WebApps_PutPrivateAccessVnetSlot", + "tags": [ + "PrivateAccessOperationGroup" + ], + "summary": "Sets data around private site access enablement and authorized Virtual Networks that can access the site.", + "description": "Description for Sets data around private site access enablement and authorized Virtual Networks that can access the site.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "The name of the web app.", + "required": true, + "type": "string" + }, + { + "name": "slot", + "in": "path", + "description": "The name of the slot for the web app.", + "required": true, + "type": "string" + }, + { + "name": "access", + "in": "body", + "description": "The information for the private access", + "required": true, + "schema": { + "$ref": "#/definitions/PrivateAccess" + } + } + ], + "responses": { + "200": { + "description": "Resource 'PrivateAccess' update operation succeeded", + "schema": { + "$ref": "#/definitions/PrivateAccess" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/privateEndpointConnections": { + "get": { + "operationId": "WebApps_GetPrivateEndpointConnectionListSlot", + "tags": [ + "PrivateEndpointConnectionSlotOperationGroup" + ], + "summary": "Gets the list of private endpoint connections associated with a site", + "description": "Description for Gets the list of private endpoint connections associated with a site", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the site.", + "required": true, + "type": "string" + }, + { + "name": "slot", + "in": "path", + "description": "Name of the site deployment slot.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/PrivateEndpointConnectionCollection" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/privateEndpointConnections/{privateEndpointConnectionName}": { + "get": { + "operationId": "WebApps_GetPrivateEndpointConnectionSlot", + "tags": [ + "PrivateEndpointConnectionSlotOperationGroup" + ], + "summary": "Gets a private endpoint connection", + "description": "Description for Gets a private endpoint connection", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the site.", + "required": true, + "type": "string" + }, + { + "name": "slot", + "in": "path", + "description": "Name of the site deployment slot.", + "required": true, + "type": "string" + }, + { + "name": "privateEndpointConnectionName", + "in": "path", + "description": "Name of the private endpoint connection.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/RemotePrivateEndpointConnectionARMResource" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "Get a private endpoint connection for a site.": { + "$ref": "./examples/GetSitePrivateEndpointConnectionSlot.json" + } + } + }, + "put": { + "operationId": "WebApps_ApproveOrRejectPrivateEndpointConnectionSlot", + "tags": [ + "PrivateEndpointConnectionSlotOperationGroup" + ], + "summary": "Approves or rejects a private endpoint connection", + "description": "Description for Approves or rejects a private endpoint connection", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the site.", + "required": true, + "type": "string" + }, + { + "name": "slot", + "in": "path", + "description": "Name of the site deployment slot.", + "required": true, + "type": "string" + }, + { + "name": "privateEndpointConnectionName", + "in": "path", + "description": "Name of the private endpoint connection.", + "required": true, + "type": "string" + }, + { + "name": "privateEndpointWrapper", + "in": "body", + "description": "", + "required": true, + "schema": { + "$ref": "#/definitions/RemotePrivateEndpointConnectionARMResource" + } + } + ], + "responses": { + "200": { + "description": "Resource 'RemotePrivateEndpointConnectionARMResource' update operation succeeded", + "schema": { + "$ref": "#/definitions/RemotePrivateEndpointConnectionARMResource" + } + }, + "202": { + "description": "The request has been accepted for processing, but processing has not yet completed.", + "schema": { + "$ref": "#/definitions/RemotePrivateEndpointConnectionARMResource" + }, + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "Approves or rejects a private endpoint connection for a site.": { + "$ref": "./examples/ApproveRejectSitePrivateEndpointConnectionSlot.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "#/definitions/RemotePrivateEndpointConnectionARMResource" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "WebApps_DeletePrivateEndpointConnectionSlot", + "tags": [ + "PrivateEndpointConnectionSlotOperationGroup" + ], + "summary": "Deletes a private endpoint connection", + "description": "Description for Deletes a private endpoint connection", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the site.", + "required": true, + "type": "string" + }, + { + "name": "slot", + "in": "path", + "description": "Name of the site deployment slot.", + "required": true, + "type": "string" + }, + { + "name": "privateEndpointConnectionName", + "in": "path", + "description": "Name of the private endpoint connection.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": {} + }, + "202": { + "description": "The request has been accepted for processing, but processing has not yet completed.", + "schema": {}, + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "There is no content to send for this request, but the headers may be useful. ", + "schema": {} + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "Delete a private endpoint connection for a site.": { + "$ref": "./examples/DeleteSitePrivateEndpointConnectionSlot.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/privateLinkResources": { + "get": { + "operationId": "WebApps_GetPrivateLinkResourcesSlot", + "tags": [ + "WebApps" + ], + "summary": "Gets the private link resources", + "description": "Description for Gets the private link resources", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "slot", + "in": "path", + "description": "Name of the deployment slot. By default, this API returns the production slot.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/PrivateLinkResourcesWrapper" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "Get private link resources of a site": { + "$ref": "./examples/GetSitePrivateLinkResourcesSlot.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/processes": { + "get": { + "operationId": "WebApps_ListProcessesSlot", + "tags": [ + "ProcessSlotOperationGroup" + ], + "summary": "Get list of processes for a web site, or a deployment slot, or for a specific scaled-out instance in a web site.", + "description": "Description for Get list of processes for a web site, or a deployment slot, or for a specific scaled-out instance in a web site.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Site name.", + "required": true, + "type": "string" + }, + { + "name": "slot", + "in": "path", + "description": "Name of the deployment slot. If a slot is not specified, the API returns deployments for the production slot.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ProcessInfoCollection" + } + }, + "404": { + "description": "The server cannot find the requested resource.", + "x-ms-error-response": true + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/processes/{processId}": { + "get": { + "operationId": "WebApps_GetProcessSlot", + "tags": [ + "ProcessSlotOperationGroup" + ], + "summary": "Get process information by its ID for a specific scaled-out instance in a web site.", + "description": "Description for Get process information by its ID for a specific scaled-out instance in a web site.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Site name.", + "required": true, + "type": "string" + }, + { + "name": "slot", + "in": "path", + "description": "Name of the deployment slot. If a slot is not specified, the API returns deployments for the production slot.", + "required": true, + "type": "string" + }, + { + "name": "processId", + "in": "path", + "description": "PID.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ProcessInfo" + } + }, + "404": { + "description": "The server cannot find the requested resource.", + "x-ms-error-response": true + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + }, + "delete": { + "operationId": "WebApps_DeleteProcessSlot", + "tags": [ + "ProcessSlotOperationGroup" + ], + "summary": "Terminate a process by its ID for a web site, or a deployment slot, or specific scaled-out instance in a web site.", + "description": "Description for Terminate a process by its ID for a web site, or a deployment slot, or specific scaled-out instance in a web site.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Site name.", + "required": true, + "type": "string" + }, + { + "name": "slot", + "in": "path", + "description": "Name of the deployment slot. If a slot is not specified, the API returns deployments for the production slot.", + "required": true, + "type": "string" + }, + { + "name": "processId", + "in": "path", + "description": "PID.", + "required": true, + "type": "string" + } + ], + "responses": { + "204": { + "description": "Resource does not exist." + }, + "404": { + "description": "The server cannot find the requested resource.", + "x-ms-error-response": true + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/processes/{processId}/dump": { + "get": { + "operationId": "WebApps_GetProcessDumpSlot", + "tags": [ + "ProcessSlotOperationGroup" + ], + "summary": "Get a memory dump of a process by its ID for a specific scaled-out instance in a web site.", + "description": "Description for Get a memory dump of a process by its ID for a specific scaled-out instance in a web site.", + "produces": [ + "*/*", + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Site name.", + "required": true, + "type": "string" + }, + { + "name": "slot", + "in": "path", + "description": "Name of the deployment slot. If a slot is not specified, the API returns deployments for the production slot.", + "required": true, + "type": "string" + }, + { + "name": "processId", + "in": "path", + "description": "PID.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "type": "file" + } + }, + "404": { + "description": "The server cannot find the requested resource.", + "x-ms-error-response": true + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/processes/{processId}/modules": { + "get": { + "operationId": "WebApps_ListProcessModulesSlot", + "tags": [ + "ProcessModuleSlotOperationGroup" + ], + "summary": "List module information for a process by its ID for a specific scaled-out instance in a web site.", + "description": "Description for List module information for a process by its ID for a specific scaled-out instance in a web site.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Site name.", + "required": true, + "type": "string" + }, + { + "name": "slot", + "in": "path", + "description": "Name of the deployment slot. If a slot is not specified, the API returns deployments for the production slot.", + "required": true, + "type": "string" + }, + { + "name": "processId", + "in": "path", + "description": "PID.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ProcessModuleInfoCollection" + } + }, + "404": { + "description": "The server cannot find the requested resource.", + "x-ms-error-response": true + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/processes/{processId}/modules/{baseAddress}": { + "get": { + "operationId": "WebApps_GetProcessModuleSlot", + "tags": [ + "ProcessModuleSlotOperationGroup" + ], + "summary": "Get process information by its ID for a specific scaled-out instance in a web site.", + "description": "Description for Get process information by its ID for a specific scaled-out instance in a web site.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Site name.", + "required": true, + "type": "string" + }, + { + "name": "slot", + "in": "path", + "description": "Name of the deployment slot. If a slot is not specified, the API returns deployments for the production slot.", + "required": true, + "type": "string" + }, + { + "name": "processId", + "in": "path", + "description": "PID.", + "required": true, + "type": "string" + }, + { + "name": "baseAddress", + "in": "path", + "description": "Module base address.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ProcessModuleInfo" + } + }, + "404": { + "description": "The server cannot find the requested resource.", + "x-ms-error-response": true + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/processes/{processId}/threads": { + "get": { + "operationId": "WebApps_ListProcessThreadsSlot", + "tags": [ + "ProcessSlotOperationGroup" + ], + "summary": "List the threads in a process by its ID for a specific scaled-out instance in a web site.", + "description": "Description for List the threads in a process by its ID for a specific scaled-out instance in a web site.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Site name.", + "required": true, + "type": "string" + }, + { + "name": "slot", + "in": "path", + "description": "Name of the deployment slot. If a slot is not specified, the API returns deployments for the production slot.", + "required": true, + "type": "string" + }, + { + "name": "processId", + "in": "path", + "description": "PID.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ProcessThreadInfoCollection" + } + }, + "404": { + "description": "The server cannot find the requested resource.", + "x-ms-error-response": true + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/publicCertificates": { + "get": { + "operationId": "WebApps_ListPublicCertificatesSlot", + "tags": [ + "PublicCertificateOperationGroup" + ], + "summary": "Get public certificates for an app or a deployment slot.", + "description": "Description for Get public certificates for an app or a deployment slot.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "slot", + "in": "path", + "description": "Name of the deployment slot. If a slot is not specified, the API the named binding for the production slot.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/PublicCertificateCollection" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/publicCertificates/{publicCertificateName}": { + "get": { + "operationId": "WebApps_GetPublicCertificateSlot", + "tags": [ + "PublicCertificateOperationGroup" + ], + "summary": "Get the named public certificate for an app (or deployment slot, if specified).", + "description": "Description for Get the named public certificate for an app (or deployment slot, if specified).", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "slot", + "in": "path", + "description": "Name of the deployment slot. If a slot is not specified, the API the named binding for the production slot.", + "required": true, + "type": "string" + }, + { + "name": "publicCertificateName", + "in": "path", + "description": "Public certificate name.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/PublicCertificate" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + }, + "put": { + "operationId": "WebApps_CreateOrUpdatePublicCertificateSlot", + "tags": [ + "PublicCertificateOperationGroup" + ], + "summary": "Creates a hostname binding for an app.", + "description": "Description for Creates a hostname binding for an app.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "slot", + "in": "path", + "description": "Name of the deployment slot. If a slot is not specified, the API the named binding for the production slot.", + "required": true, + "type": "string" + }, + { + "name": "publicCertificateName", + "in": "path", + "description": "Public certificate name.", + "required": true, + "type": "string" + }, + { + "name": "publicCertificate", + "in": "body", + "description": "Public certificate details. This is the JSON representation of a PublicCertificate object.", + "required": true, + "schema": { + "$ref": "#/definitions/PublicCertificate" + } + } + ], + "responses": { + "200": { + "description": "Resource 'PublicCertificate' update operation succeeded", + "schema": { + "$ref": "#/definitions/PublicCertificate" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + }, + "delete": { + "operationId": "WebApps_DeletePublicCertificateSlot", + "tags": [ + "PublicCertificateOperationGroup" + ], + "summary": "Deletes a hostname binding for an app.", + "description": "Description for Deletes a hostname binding for an app.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "slot", + "in": "path", + "description": "Name of the deployment slot. If a slot is not specified, the API the named binding for the production slot.", + "required": true, + "type": "string" + }, + { + "name": "publicCertificateName", + "in": "path", + "description": "Public certificate name.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Resource deleted successfully." + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/publishxml": { + "post": { + "operationId": "WebApps_ListPublishingProfileXmlWithSecretsSlot", + "tags": [ + "WebApps" + ], + "summary": "Gets the publishing profile for an app (or deployment slot, if specified).", + "description": "Description for Gets the publishing profile for an app (or deployment slot, if specified).", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "slot", + "in": "path", + "description": "Name of the deployment slot. By default, this API returns the production slot.", + "required": true, + "type": "string" + }, + { + "name": "publishingProfileOptions", + "in": "body", + "description": "Specifies publishingProfileOptions for publishing profile. For example, use {\" format\": \"FileZilla3\"} to get a FileZilla publishing profile.", + "required": true, + "schema": { + "$ref": "#/definitions/CsmPublishingProfileOptions" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "type": "file" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/resetSlotConfig": { + "post": { + "operationId": "WebApps_ResetSlotConfigurationSlot", + "tags": [ + "WebApps" + ], + "summary": "Resets the configuration settings of the current slot if they were previously modified by calling the API with POST.", + "description": "Description for Resets the configuration settings of the current slot if they were previously modified by calling the API with POST.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "slot", + "in": "path", + "description": "Name of the deployment slot. By default, this API returns the production slot.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/resourceHealthMetadata": { + "get": { + "operationId": "ResourceHealthMetadata_ListBySiteSlot", + "tags": [ + "BySiteSlotOperationGroup" + ], + "summary": "Gets the category of ResourceHealthMetadata to use for the given site as a collection", + "description": "Description for Gets the category of ResourceHealthMetadata to use for the given site as a collection", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of web app", + "required": true, + "type": "string" + }, + { + "name": "slot", + "in": "path", + "description": "Name of web app slot. If not specified then will default to production slot.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ResourceHealthMetadataCollection" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "List ResourceHealthMetadata for a site": { + "$ref": "./examples/ListResourceHealthMetadataBySite_Slot.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/resourceHealthMetadata/default": { + "get": { + "operationId": "ResourceHealthMetadata_GetBySiteSlot", + "tags": [ + "BySiteSlotOperationGroup" + ], + "summary": "Gets the category of ResourceHealthMetadata to use for the given site", + "description": "Description for Gets the category of ResourceHealthMetadata to use for the given site", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of web app", + "required": true, + "type": "string" + }, + { + "name": "slot", + "in": "path", + "description": "Name of web app slot. If not specified then will default to production slot.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ResourceHealthMetadata" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "Get ResourceHealthMetadata": { + "$ref": "./examples/GetResourceHealthMetadataBySite_Slot.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/restart": { + "post": { + "operationId": "WebApps_RestartSlot", + "tags": [ + "WebApps" + ], + "summary": "Restarts an app (or deployment slot, if specified).", + "description": "Description for Restarts an app (or deployment slot, if specified).", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "slot", + "in": "path", + "description": "Name of the deployment slot. By default, this API returns the production slot.", + "required": true, + "type": "string" + }, + { + "name": "softRestart", + "in": "query", + "description": "Specify true to apply the configuration settings and restarts the app only if necessary. By default, the API always restarts and reprovisions the app.", + "required": false, + "type": "boolean" + }, + { + "name": "synchronous", + "in": "query", + "description": "Specify true to block until the app is restarted. By default, it is set to false, and the API responds immediately (asynchronous).", + "required": false, + "type": "boolean" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/restoreFromBackupBlob": { + "post": { + "operationId": "WebApps_RestoreFromBackupBlobSlot", + "tags": [ + "WebApps" + ], + "summary": "Restores an app from a backup blob in Azure Storage.", + "description": "Description for Restores an app from a backup blob in Azure Storage.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "slot", + "in": "path", + "description": "Name of the deployment slot. By default, this API returns the production slot.", + "required": true, + "type": "string" + }, + { + "name": "request", + "in": "body", + "description": "Information on restore request .", + "required": true, + "schema": { + "$ref": "#/definitions/RestoreRequest" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully." + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/restoreFromDeletedApp": { + "post": { + "operationId": "WebApps_RestoreFromDeletedAppSlot", + "tags": [ + "WebApps" + ], + "summary": "Restores a deleted web app to this web app.", + "description": "Description for Restores a deleted web app to this web app.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "slot", + "in": "path", + "description": "Name of the deployment slot. By default, this API returns the production slot.", + "required": true, + "type": "string" + }, + { + "name": "restoreRequest", + "in": "body", + "description": "Deleted web app restore information.", + "required": true, + "schema": { + "$ref": "#/definitions/DeletedAppRestoreRequest" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully." + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/restoreSnapshot": { + "post": { + "operationId": "WebApps_RestoreSnapshotSlot", + "tags": [ + "WebApps" + ], + "summary": "Restores a web app from a snapshot.", + "description": "Description for Restores a web app from a snapshot.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "slot", + "in": "path", + "description": "Name of the deployment slot. By default, this API returns the production slot.", + "required": true, + "type": "string" + }, + { + "name": "restoreRequest", + "in": "body", + "description": "Snapshot restore settings. Snapshot information can be obtained by calling GetDeletedSites or GetSiteSnapshots API.", + "required": true, + "schema": { + "$ref": "#/definitions/SnapshotRestoreRequest" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully." + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/sitecontainers": { + "get": { + "operationId": "WebApps_ListSiteContainersSlot", + "tags": [ + "SiteContainerOperationGroup" + ], + "summary": "Lists all the site containers of a site, or a deployment slot.", + "description": "Lists all the site containers of a site, or a deployment slot.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "slot", + "in": "path", + "description": "Name of the deployment slot. If a slot is not specified, the API will get the Site Container for the production slot.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/SiteContainerCollection" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/sitecontainers/{containerName}": { + "get": { + "operationId": "WebApps_GetSiteContainerSlot", + "tags": [ + "SiteContainerOperationGroup" + ], + "summary": "Gets a site container of a site, or a deployment slot.", + "description": "Gets a site container of a site, or a deployment slot.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "slot", + "in": "path", + "description": "Name of the deployment slot. If a slot is not specified, the API will get the Site Container for the production slot.", + "required": true, + "type": "string" + }, + { + "name": "containerName", + "in": "path", + "description": "Site Container Name", + "required": true, + "type": "string", + "pattern": "(^[a-zA-Z0-9]$)|(^[a-zA-Z0-9][a-zA-Z0-9-]*[a-zA-Z0-9]$)" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/SiteContainer" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + }, + "put": { + "operationId": "WebApps_CreateOrUpdateSiteContainerSlot", + "tags": [ + "SiteContainerOperationGroup" + ], + "summary": "Creates or Updates a site container for a site, or a deployment slot.", + "description": "Creates or Updates a site container for a site, or a deployment slot.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "slot", + "in": "path", + "description": "Name of the deployment slot. If a slot is not specified, the API will get the Site Container for the production slot.", + "required": true, + "type": "string" + }, + { + "name": "containerName", + "in": "path", + "description": "Site Container Name", + "required": true, + "type": "string", + "pattern": "(^[a-zA-Z0-9]$)|(^[a-zA-Z0-9][a-zA-Z0-9-]*[a-zA-Z0-9]$)" + }, + { + "name": "request", + "in": "body", + "description": "Container Entity", + "required": true, + "schema": { + "$ref": "#/definitions/SiteContainer" + } + } + ], + "responses": { + "200": { + "description": "Resource 'SiteContainer' update operation succeeded", + "schema": { + "$ref": "#/definitions/SiteContainer" + } + }, + "201": { + "description": "Resource 'SiteContainer' create operation succeeded", + "schema": { + "$ref": "#/definitions/SiteContainer" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + }, + "delete": { + "operationId": "WebApps_DeleteSiteContainerSlot", + "tags": [ + "SiteContainerOperationGroup" + ], + "summary": "Deletes a site container for a site, or a deployment slot.", + "description": "Deletes a site container for a site, or a deployment slot.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "slot", + "in": "path", + "description": "Name of the deployment slot. If a slot is not specified, the API will get the Site Container for the production slot.", + "required": true, + "type": "string" + }, + { + "name": "containerName", + "in": "path", + "description": "Site Container Name", + "required": true, + "type": "string", + "pattern": "(^[a-zA-Z0-9]$)|(^[a-zA-Z0-9][a-zA-Z0-9-]*[a-zA-Z0-9]$)" + } + ], + "responses": { + "200": { + "description": "Resource deleted successfully." + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/siteextensions": { + "get": { + "operationId": "WebApps_ListSiteExtensionsSlot", + "tags": [ + "SiteExtensionInfoOperationGroup" + ], + "summary": "Get list of siteextensions for a web site, or a deployment slot.", + "description": "Description for Get list of siteextensions for a web site, or a deployment slot.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Site name.", + "required": true, + "type": "string" + }, + { + "name": "slot", + "in": "path", + "description": "Name of the deployment slot. If a slot is not specified, the API uses the production slot.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/SiteExtensionInfoCollection" + } + }, + "404": { + "description": "The server cannot find the requested resource.", + "x-ms-error-response": true + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/siteextensions/{siteExtensionId}": { + "get": { + "operationId": "WebApps_GetSiteExtensionSlot", + "tags": [ + "SiteExtensionInfoOperationGroup" + ], + "summary": "Get site extension information by its ID for a web site, or a deployment slot.", + "description": "Description for Get site extension information by its ID for a web site, or a deployment slot.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Site name.", + "required": true, + "type": "string" + }, + { + "name": "slot", + "in": "path", + "description": "Name of the deployment slot. If a slot is not specified, the API uses the production slot.", + "required": true, + "type": "string" + }, + { + "name": "siteExtensionId", + "in": "path", + "description": "Site extension name.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/SiteExtensionInfo" + } + }, + "404": { + "description": "The server cannot find the requested resource.", + "x-ms-error-response": true + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + }, + "put": { + "operationId": "WebApps_InstallSiteExtensionSlot", + "tags": [ + "SiteExtensionInfoOperationGroup" + ], + "summary": "Install site extension on a web site, or a deployment slot.", + "description": "Description for Install site extension on a web site, or a deployment slot.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Site name.", + "required": true, + "type": "string" + }, + { + "name": "slot", + "in": "path", + "description": "Name of the deployment slot. If a slot is not specified, the API uses the production slot.", + "required": true, + "type": "string" + }, + { + "name": "siteExtensionId", + "in": "path", + "description": "Site extension name.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/SiteExtensionInfo" + } + }, + "201": { + "description": "Resource 'SiteExtensionInfo' create operation succeeded", + "schema": { + "$ref": "#/definitions/SiteExtensionInfo" + }, + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "429": { + "description": "Client error", + "x-ms-error-response": true + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "#/definitions/SiteExtensionInfo" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "WebApps_DeleteSiteExtensionSlot", + "tags": [ + "SiteExtensionInfoOperationGroup" + ], + "summary": "Remove a site extension from a web site, or a deployment slot.", + "description": "Description for Remove a site extension from a web site, or a deployment slot.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Site name.", + "required": true, + "type": "string" + }, + { + "name": "slot", + "in": "path", + "description": "Name of the deployment slot. If a slot is not specified, the API uses the production slot.", + "required": true, + "type": "string" + }, + { + "name": "siteExtensionId", + "in": "path", + "description": "Site extension name.", + "required": true, + "type": "string" + } + ], + "responses": { + "204": { + "description": "Resource does not exist." + }, + "404": { + "description": "The server cannot find the requested resource.", + "x-ms-error-response": true + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/slotsdiffs": { + "post": { + "operationId": "WebApps_ListSlotDifferencesSlot", + "tags": [ + "WebApps" + ], + "summary": "Get the difference in configuration settings between two web app slots.", + "description": "Description for Get the difference in configuration settings between two web app slots.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "slot", + "in": "path", + "description": "Name of the deployment slot. By default, this API returns the production slot.", + "required": true, + "type": "string" + }, + { + "name": "slotSwapEntity", + "in": "body", + "description": "JSON object that contains the target slot name. See example.", + "required": true, + "schema": { + "$ref": "#/definitions/CsmSlotEntity" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/SlotDifferenceCollection" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/slotsswap": { + "post": { + "operationId": "WebApps_SwapSlotSlot", + "tags": [ + "WebApps" + ], + "summary": "Swaps two deployment slots of an app.", + "description": "Description for Swaps two deployment slots of an app.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "slot", + "in": "path", + "description": "Name of the deployment slot. By default, this API returns the production slot.", + "required": true, + "type": "string" + }, + { + "name": "slotSwapEntity", + "in": "body", + "description": "JSON object that contains the target slot name. See example.", + "required": true, + "schema": { + "$ref": "#/definitions/CsmSlotEntity" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully." + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/snapshots": { + "get": { + "operationId": "WebApps_ListSnapshotsSlot", + "tags": [ + "WebApps" + ], + "summary": "Returns all Snapshots to the user.", + "description": "Description for Returns all Snapshots to the user.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "slot", + "in": "path", + "description": "Name of the deployment slot. By default, this API returns the production slot.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/SnapshotCollection" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/snapshotsdr": { + "get": { + "operationId": "WebApps_ListSnapshotsFromDRSecondarySlot", + "tags": [ + "WebApps" + ], + "summary": "Returns all Snapshots to the user from DRSecondary endpoint.", + "description": "Description for Returns all Snapshots to the user from DRSecondary endpoint.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "slot", + "in": "path", + "description": "Name of the deployment slot. By default, this API returns the production slot.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/SnapshotCollection" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/sourcecontrols/web": { + "get": { + "operationId": "WebApps_GetSourceControlSlot", + "tags": [ + "SiteSourceControls" + ], + "summary": "Gets the source control configuration of an app.", + "description": "Description for Gets the source control configuration of an app.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "slot", + "in": "path", + "description": "Name of the deployment slot. If a slot is not specified, the API will get the source control configuration for the production slot.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/SiteSourceControl" + } + }, + "201": { + "description": "Resource 'SiteSourceControl' create operation succeeded", + "schema": { + "$ref": "#/definitions/SiteSourceControl" + } + }, + "202": { + "description": "The request has been accepted for processing, but processing has not yet completed.", + "schema": { + "$ref": "#/definitions/SiteSourceControl" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + }, + "put": { + "operationId": "WebApps_CreateOrUpdateSourceControlSlot", + "tags": [ + "SiteSourceControls" + ], + "summary": "Updates the source control configuration of an app.", + "description": "Description for Updates the source control configuration of an app.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "slot", + "in": "path", + "description": "Name of the deployment slot. If a slot is not specified, the API will get the source control configuration for the production slot.", + "required": true, + "type": "string" + }, + { + "name": "siteSourceControl", + "in": "body", + "description": "JSON representation of a SiteSourceControl object. See example.", + "required": true, + "schema": { + "$ref": "#/definitions/SiteSourceControl" + } + } + ], + "responses": { + "200": { + "description": "Resource 'SiteSourceControl' update operation succeeded", + "schema": { + "$ref": "#/definitions/SiteSourceControl" + } + }, + "201": { + "description": "Resource 'SiteSourceControl' create operation succeeded", + "schema": { + "$ref": "#/definitions/SiteSourceControl" + }, + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "202": { + "description": "The request has been accepted for processing, but processing has not yet completed.", + "schema": { + "$ref": "#/definitions/SiteSourceControl" + }, + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "#/definitions/SiteSourceControl" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "WebApps_UpdateSourceControlSlot", + "tags": [ + "SiteSourceControls" + ], + "summary": "Updates the source control configuration of an app.", + "description": "Description for Updates the source control configuration of an app.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "slot", + "in": "path", + "description": "Name of the deployment slot. If a slot is not specified, the API will get the source control configuration for the production slot.", + "required": true, + "type": "string" + }, + { + "name": "siteSourceControl", + "in": "body", + "description": "JSON representation of a SiteSourceControl object. See example.", + "required": true, + "schema": { + "$ref": "#/definitions/SiteSourceControl" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/SiteSourceControl" + } + }, + "201": { + "description": "Resource 'SiteSourceControl' create operation succeeded", + "schema": { + "$ref": "#/definitions/SiteSourceControl" + } + }, + "202": { + "description": "The request has been accepted for processing, but processing has not yet completed.", + "schema": { + "$ref": "#/definitions/SiteSourceControl" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + }, + "delete": { + "operationId": "WebApps_DeleteSourceControlSlot", + "tags": [ + "SiteSourceControls" + ], + "summary": "Deletes the source control configuration of an app.", + "description": "Description for Deletes the source control configuration of an app.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "slot", + "in": "path", + "description": "Name of the deployment slot. If a slot is not specified, the API will get the source control configuration for the production slot.", + "required": true, + "type": "string" + }, + { + "name": "additionalFlags", + "in": "query", + "required": false, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Resource deleted successfully." + }, + "202": { + "description": "The request has been accepted for processing, but processing has not yet completed." + }, + "404": { + "description": "The server cannot find the requested resource.", + "x-ms-error-response": true + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/start": { + "post": { + "operationId": "WebApps_StartSlot", + "tags": [ + "WebApps" + ], + "summary": "Starts an app (or deployment slot, if specified).", + "description": "Description for Starts an app (or deployment slot, if specified).", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "slot", + "in": "path", + "description": "Name of the deployment slot. By default, this API returns the production slot.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/startNetworkTrace": { + "post": { + "operationId": "WebApps_StartNetworkTraceSlot", + "tags": [ + "WebApps" + ], + "summary": "Start capturing network packets for the site.", + "description": "Description for Start capturing network packets for the site.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "slot", + "in": "path", + "description": "Name of the deployment slot. By default, this API returns the production slot.", + "required": true, + "type": "string" + }, + { + "name": "durationInSeconds", + "in": "query", + "description": "The duration to keep capturing in seconds.", + "required": false, + "type": "integer", + "format": "int32" + }, + { + "name": "maxFrameLength", + "in": "query", + "description": "The maximum frame length in bytes (Optional).", + "required": false, + "type": "integer", + "format": "int32" + }, + { + "name": "sasUrl", + "in": "query", + "description": "The Blob URL to store capture file.", + "required": false, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "type": "array", + "items": { + "$ref": "#/definitions/NetworkTrace" + } + } + }, + "202": { + "description": "Azure operation completed successfully.", + "schema": { + "type": "array", + "items": { + "$ref": "#/definitions/NetworkTrace" + } + }, + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "Start a new network trace operation for a site": { + "$ref": "./examples/StartWebSiteNetworkTraceOperation_StartNetworkTraceSlot.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/stop": { + "post": { + "operationId": "WebApps_StopSlot", + "tags": [ + "WebApps" + ], + "summary": "Stops an app (or deployment slot, if specified).", + "description": "Description for Stops an app (or deployment slot, if specified).", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "slot", + "in": "path", + "description": "Name of the deployment slot. By default, this API returns the production slot.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/stopNetworkTrace": { + "post": { + "operationId": "WebApps_StopNetworkTraceSlot", + "tags": [ + "WebApps" + ], + "summary": "Stop ongoing capturing network packets for the site.", + "description": "Description for Stop ongoing capturing network packets for the site.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "slot", + "in": "path", + "description": "Name of the deployment slot. By default, this API returns the production slot.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully." + }, + "204": { + "description": "There is no content to send for this request, but the headers may be useful." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "Stop a currently running network trace operation for a site": { + "$ref": "./examples/StopWebSiteNetworkTrace_StopNetworkTraceSlot.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/sync": { + "post": { + "operationId": "WebApps_SyncRepositorySlot", + "tags": [ + "WebApps" + ], + "summary": "Sync web app repository.", + "description": "Description for Sync web app repository.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "slot", + "in": "path", + "description": "Name of the deployment slot. By default, this API returns the production slot.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/syncfunctiontriggers": { + "post": { + "operationId": "WebApps_SyncFunctionTriggersSlot", + "tags": [ + "WebApps" + ], + "summary": "Syncs function trigger metadata to the management database", + "description": "Description for Syncs function trigger metadata to the management database", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "slot", + "in": "path", + "description": "Name of the deployment slot. By default, this API returns the production slot.", + "required": true, + "type": "string" + } + ], + "responses": { + "204": { + "description": "There is no content to send for this request, but the headers may be useful." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/triggeredwebjobs": { + "get": { + "operationId": "WebApps_ListTriggeredWebJobsSlot", + "tags": [ + "TriggeredWebJobs" + ], + "summary": "List triggered web jobs for an app, or a deployment slot.", + "description": "Description for List triggered web jobs for an app, or a deployment slot.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Site name.", + "required": true, + "type": "string" + }, + { + "name": "slot", + "in": "path", + "description": "Name of the deployment slot. If a slot is not specified, the API uses the production slot.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/TriggeredWebJobCollection" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/triggeredwebjobs/{webJobName}": { + "get": { + "operationId": "WebApps_GetTriggeredWebJobSlot", + "tags": [ + "TriggeredWebJobs" + ], + "summary": "Gets a triggered web job by its ID for an app, or a deployment slot.", + "description": "Description for Gets a triggered web job by its ID for an app, or a deployment slot.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Site name.", + "required": true, + "type": "string" + }, + { + "name": "slot", + "in": "path", + "description": "Name of the deployment slot. If a slot is not specified, the API uses the production slot.", + "required": true, + "type": "string" + }, + { + "name": "webJobName", + "in": "path", + "description": "Name of Web Job.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/TriggeredWebJob" + } + }, + "404": { + "description": "The server cannot find the requested resource.", + "x-ms-error-response": true + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + }, + "delete": { + "operationId": "WebApps_DeleteTriggeredWebJobSlot", + "tags": [ + "TriggeredWebJobs" + ], + "summary": "Delete a triggered web job by its ID for an app, or a deployment slot.", + "description": "Description for Delete a triggered web job by its ID for an app, or a deployment slot.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Site name.", + "required": true, + "type": "string" + }, + { + "name": "slot", + "in": "path", + "description": "Name of the deployment slot. If a slot is not specified, the API uses the production slot.", + "required": true, + "type": "string" + }, + { + "name": "webJobName", + "in": "path", + "description": "Name of Web Job.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Resource deleted successfully." + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/triggeredwebjobs/{webJobName}/history": { + "get": { + "operationId": "WebApps_ListTriggeredWebJobHistorySlot", + "tags": [ + "TriggeredJobHistories" + ], + "summary": "List a triggered web job's history for an app, or a deployment slot.", + "description": "Description for List a triggered web job's history for an app, or a deployment slot.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Site name.", + "required": true, + "type": "string" + }, + { + "name": "slot", + "in": "path", + "description": "Name of the deployment slot. If a slot is not specified, the API uses the production slot.", + "required": true, + "type": "string" + }, + { + "name": "webJobName", + "in": "path", + "description": "Name of Web Job.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/TriggeredJobHistoryCollection" + } + }, + "404": { + "description": "The server cannot find the requested resource.", + "x-ms-error-response": true + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/triggeredwebjobs/{webJobName}/history/{id}": { + "get": { + "operationId": "WebApps_GetTriggeredWebJobHistorySlot", + "tags": [ + "TriggeredJobHistories" + ], + "summary": "Gets a triggered web job's history by its ID for an app, , or a deployment slot.", + "description": "Description for Gets a triggered web job's history by its ID for an app, , or a deployment slot.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Site name.", + "required": true, + "type": "string" + }, + { + "name": "slot", + "in": "path", + "description": "Name of the deployment slot. If a slot is not specified, the API uses the production slot.", + "required": true, + "type": "string" + }, + { + "name": "webJobName", + "in": "path", + "description": "Name of Web Job.", + "required": true, + "type": "string" + }, + { + "name": "id", + "in": "path", + "description": "History ID.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/TriggeredJobHistory" + } + }, + "404": { + "description": "The server cannot find the requested resource.", + "x-ms-error-response": true + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/triggeredwebjobs/{webJobName}/run": { + "post": { + "operationId": "WebApps_RunTriggeredWebJobSlot", + "tags": [ + "TriggeredWebJobs" + ], + "summary": "Run a triggered web job for an app, or a deployment slot.", + "description": "Description for Run a triggered web job for an app, or a deployment slot.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Site name.", + "required": true, + "type": "string" + }, + { + "name": "slot", + "in": "path", + "description": "Name of the deployment slot. If a slot is not specified, the API uses the production slot.", + "required": true, + "type": "string" + }, + { + "name": "webJobName", + "in": "path", + "description": "Name of Web Job.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully." + }, + "404": { + "description": "The server cannot find the requested resource.", + "x-ms-error-response": true + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/usages": { + "get": { + "operationId": "WebApps_ListUsagesSlot", + "tags": [ + "WebApps" + ], + "summary": "Gets the quota usage information of an app (or deployment slot, if specified).", + "description": "Description for Gets the quota usage information of an app (or deployment slot, if specified).", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "slot", + "in": "path", + "description": "Name of the deployment slot. By default, this API returns the production slot.", + "required": true, + "type": "string" + }, + { + "name": "$filter", + "in": "query", + "description": "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]'.", + "required": false, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/CsmUsageQuotaCollection" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/virtualNetworkConnections": { + "get": { + "operationId": "WebApps_ListVnetConnectionsSlot", + "tags": [ + "VnetInfoResourceOperationGroup" + ], + "summary": "Gets the virtual networks the app (or deployment slot) is connected to.", + "description": "Description for Gets the virtual networks the app (or deployment slot) is connected to.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "slot", + "in": "path", + "description": "Name of the deployment slot. If a slot is not specified, the API will get the named virtual network for the production slot.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "type": "array", + "items": { + "$ref": "#/definitions/VnetInfoResource" + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/virtualNetworkConnections/{vnetName}": { + "get": { + "operationId": "WebApps_GetVnetConnectionSlot", + "tags": [ + "VnetInfoResourceOperationGroup" + ], + "summary": "Gets a virtual network the app (or deployment slot) is connected to by name.", + "description": "Description for Gets a virtual network the app (or deployment slot) is connected to by name.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "slot", + "in": "path", + "description": "Name of the deployment slot. If a slot is not specified, the API will get the named virtual network for the production slot.", + "required": true, + "type": "string" + }, + { + "name": "vnetName", + "in": "path", + "description": "Name of the virtual network.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/VnetInfoResource" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + }, + "put": { + "operationId": "WebApps_CreateOrUpdateVnetConnectionSlot", + "tags": [ + "VnetInfoResourceOperationGroup" + ], + "summary": "Adds a Virtual Network connection to an app or slot (PUT) or updates the connection properties (PATCH).", + "description": "Description for Adds a Virtual Network connection to an app or slot (PUT) or updates the connection properties (PATCH).", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "slot", + "in": "path", + "description": "Name of the deployment slot. If a slot is not specified, the API will get the named virtual network for the production slot.", + "required": true, + "type": "string" + }, + { + "name": "vnetName", + "in": "path", + "description": "Name of the virtual network.", + "required": true, + "type": "string" + }, + { + "name": "connectionEnvelope", + "in": "body", + "description": "Properties of the Virtual Network connection. See example.", + "required": true, + "schema": { + "$ref": "#/definitions/VnetInfoResource" + } + } + ], + "responses": { + "200": { + "description": "Resource 'VnetInfoResource' update operation succeeded", + "schema": { + "$ref": "#/definitions/VnetInfoResource" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + }, + "patch": { + "operationId": "WebApps_UpdateVnetConnectionSlot", + "tags": [ + "VnetInfoResourceOperationGroup" + ], + "summary": "Adds a Virtual Network connection to an app or slot (PUT) or updates the connection properties (PATCH).", + "description": "Description for Adds a Virtual Network connection to an app or slot (PUT) or updates the connection properties (PATCH).", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "slot", + "in": "path", + "description": "Name of the deployment slot. If a slot is not specified, the API will get the named virtual network for the production slot.", + "required": true, + "type": "string" + }, + { + "name": "vnetName", + "in": "path", + "description": "Name of the virtual network.", + "required": true, + "type": "string" + }, + { + "name": "connectionEnvelope", + "in": "body", + "description": "Properties of the Virtual Network connection. See example.", + "required": true, + "schema": { + "$ref": "#/definitions/VnetInfoResource" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/VnetInfoResource" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + }, + "delete": { + "operationId": "WebApps_DeleteVnetConnectionSlot", + "tags": [ + "VnetInfoResourceOperationGroup" + ], + "summary": "Deletes a connection from an app (or deployment slot to a named virtual network.", + "description": "Description for Deletes a connection from an app (or deployment slot to a named virtual network.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "slot", + "in": "path", + "description": "Name of the deployment slot. If a slot is not specified, the API will get the named virtual network for the production slot.", + "required": true, + "type": "string" + }, + { + "name": "vnetName", + "in": "path", + "description": "Name of the virtual network.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Resource deleted successfully." + }, + "404": { + "description": "The server cannot find the requested resource.", + "x-ms-error-response": true + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/virtualNetworkConnections/{vnetName}/gateways/{gatewayName}": { + "get": { + "operationId": "WebApps_GetVnetConnectionGatewaySlot", + "tags": [ + "VnetGatewayOperationGroup" + ], + "summary": "Gets an app's Virtual Network gateway.", + "description": "Description for Gets an app's Virtual Network gateway.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "slot", + "in": "path", + "description": "Name of the deployment slot. If a slot is not specified, the API will get a gateway for the production slot's Virtual Network.", + "required": true, + "type": "string" + }, + { + "name": "vnetName", + "in": "path", + "description": "Name of the Virtual Network.", + "required": true, + "type": "string" + }, + { + "name": "gatewayName", + "in": "path", + "description": "Name of the gateway. Currently, the only supported string is \"primary\".", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/VnetGateway" + } + }, + "404": { + "description": "The server cannot find the requested resource.", + "x-ms-error-response": true + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + }, + "put": { + "operationId": "WebApps_CreateOrUpdateVnetConnectionGatewaySlot", + "tags": [ + "VnetGatewayOperationGroup" + ], + "summary": "Adds a gateway to a connected Virtual Network (PUT) or updates it (PATCH).", + "description": "Description for Adds a gateway to a connected Virtual Network (PUT) or updates it (PATCH).", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "slot", + "in": "path", + "description": "Name of the deployment slot. If a slot is not specified, the API will get a gateway for the production slot's Virtual Network.", + "required": true, + "type": "string" + }, + { + "name": "vnetName", + "in": "path", + "description": "Name of the Virtual Network.", + "required": true, + "type": "string" + }, + { + "name": "gatewayName", + "in": "path", + "description": "Name of the gateway. Currently, the only supported string is \"primary\".", + "required": true, + "type": "string" + }, + { + "name": "connectionEnvelope", + "in": "body", + "description": "The properties to update this gateway with.", + "required": true, + "schema": { + "$ref": "#/definitions/VnetGateway" + } + } + ], + "responses": { + "200": { + "description": "Resource 'VnetGateway' update operation succeeded", + "schema": { + "$ref": "#/definitions/VnetGateway" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + }, + "patch": { + "operationId": "WebApps_UpdateVnetConnectionGatewaySlot", + "tags": [ + "VnetGatewayOperationGroup" + ], + "summary": "Adds a gateway to a connected Virtual Network (PUT) or updates it (PATCH).", + "description": "Description for Adds a gateway to a connected Virtual Network (PUT) or updates it (PATCH).", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "slot", + "in": "path", + "description": "Name of the deployment slot. If a slot is not specified, the API will get a gateway for the production slot's Virtual Network.", + "required": true, + "type": "string" + }, + { + "name": "vnetName", + "in": "path", + "description": "Name of the Virtual Network.", + "required": true, + "type": "string" + }, + { + "name": "gatewayName", + "in": "path", + "description": "Name of the gateway. Currently, the only supported string is \"primary\".", + "required": true, + "type": "string" + }, + { + "name": "connectionEnvelope", + "in": "body", + "description": "The properties to update this gateway with.", + "required": true, + "schema": { + "$ref": "#/definitions/VnetGateway" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/VnetGateway" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/webjobs": { + "get": { + "operationId": "WebApps_ListWebJobsSlot", + "tags": [ + "WebJobs" + ], + "summary": "List webjobs for an app, or a deployment slot.", + "description": "Description for List webjobs for an app, or a deployment slot.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Site name.", + "required": true, + "type": "string" + }, + { + "name": "slot", + "in": "path", + "description": "Name of the deployment slot. If a slot is not specified, the API returns deployments for the production slot.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/WebJobCollection" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/webjobs/{webJobName}": { + "get": { + "operationId": "WebApps_GetWebJobSlot", + "tags": [ + "WebJobs" + ], + "summary": "Get webjob information for an app, or a deployment slot.", + "description": "Description for Get webjob information for an app, or a deployment slot.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Site name.", + "required": true, + "type": "string" + }, + { + "name": "slot", + "in": "path", + "description": "Name of the deployment slot. If a slot is not specified, the API returns deployments for the production slot.", + "required": true, + "type": "string" + }, + { + "name": "webJobName", + "in": "path", + "description": "Name of the web job.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/WebJob" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/workflows": { + "get": { + "operationId": "WebApps_ListInstanceWorkflowsSlot", + "tags": [ + "WorkflowEnvelopes" + ], + "summary": "List the workflows for a web site, or a deployment slot.", + "description": "List the workflows for a web site, or a deployment slot.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Site name.", + "required": true, + "type": "string" + }, + { + "name": "slot", + "in": "path", + "description": "Name of the deployment slot.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/WorkflowEnvelopeCollection" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "List the workflows Slot": { + "$ref": "./examples/ListWorkflows_Slot.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/workflows/{workflowName}": { + "get": { + "operationId": "WebApps_GetInstanceWorkflowSlot", + "tags": [ + "WorkflowEnvelopes" + ], + "summary": "Get workflow information by its ID for web site, or a deployment slot.", + "description": "Get workflow information by its ID for web site, or a deployment slot.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Site name.", + "required": true, + "type": "string" + }, + { + "name": "slot", + "in": "path", + "description": "Name of the deployment slot.", + "required": true, + "type": "string" + }, + { + "name": "workflowName", + "in": "path", + "description": "Workflow name.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-z][a-z0-9]*$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/WorkflowEnvelope" + } + }, + "404": { + "description": "The server cannot find the requested resource.", + "x-ms-error-response": true + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "GET a workflow Slot": { + "$ref": "./examples/GetWorkflow_Slot.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slotsdiffs": { + "post": { + "operationId": "WebApps_ListSlotDifferencesFromProduction", + "tags": [ + "Sites" + ], + "summary": "Get the difference in configuration settings between two web app slots.", + "description": "Description for Get the difference in configuration settings between two web app slots.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "slotSwapEntity", + "in": "body", + "description": "JSON object that contains the target slot name. See example.", + "required": true, + "schema": { + "$ref": "#/definitions/CsmSlotEntity" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/SlotDifferenceCollection" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slotsswap": { + "post": { + "operationId": "WebApps_SwapSlotWithProduction", + "tags": [ + "Sites" + ], + "summary": "Swaps two deployment slots of an app.", + "description": "Description for Swaps two deployment slots of an app.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "slotSwapEntity", + "in": "body", + "description": "JSON object that contains the target slot name. See example.", + "required": true, + "schema": { + "$ref": "#/definitions/CsmSlotEntity" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully." + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/snapshots": { + "get": { + "operationId": "WebApps_ListSnapshots", + "tags": [ + "Sites" + ], + "summary": "Returns all Snapshots to the user.", + "description": "Description for Returns all Snapshots to the user.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/SnapshotCollection" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/snapshotsdr": { + "get": { + "operationId": "WebApps_ListSnapshotsFromDRSecondary", + "tags": [ + "Sites" + ], + "summary": "Returns all Snapshots to the user from DRSecondary endpoint.", + "description": "Description for Returns all Snapshots to the user from DRSecondary endpoint.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/SnapshotCollection" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/sourcecontrols/web": { + "get": { + "operationId": "WebApps_GetSourceControl", + "tags": [ + "SiteSourceControlOperationGroup" + ], + "summary": "Gets the source control configuration of an app.", + "description": "Description for Gets the source control configuration of an app.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/SiteSourceControl" + } + }, + "201": { + "description": "Resource 'SiteSourceControl' create operation succeeded", + "schema": { + "$ref": "#/definitions/SiteSourceControl" + } + }, + "202": { + "description": "The request has been accepted for processing, but processing has not yet completed.", + "schema": { + "$ref": "#/definitions/SiteSourceControl" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + }, + "put": { + "operationId": "WebApps_CreateOrUpdateSourceControl", + "tags": [ + "SiteSourceControlOperationGroup" + ], + "summary": "Updates the source control configuration of an app.", + "description": "Description for Updates the source control configuration of an app.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "siteSourceControl", + "in": "body", + "description": "JSON representation of a SiteSourceControl object. See example.", + "required": true, + "schema": { + "$ref": "#/definitions/SiteSourceControl" + } + } + ], + "responses": { + "200": { + "description": "Resource 'SiteSourceControl' update operation succeeded", + "schema": { + "$ref": "#/definitions/SiteSourceControl" + } + }, + "201": { + "description": "Resource 'SiteSourceControl' create operation succeeded", + "schema": { + "$ref": "#/definitions/SiteSourceControl" + }, + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "202": { + "description": "The request has been accepted for processing, but processing has not yet completed.", + "schema": { + "$ref": "#/definitions/SiteSourceControl" + }, + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "#/definitions/SiteSourceControl" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "WebApps_UpdateSourceControl", + "tags": [ + "SiteSourceControlOperationGroup" + ], + "summary": "Updates the source control configuration of an app.", + "description": "Description for Updates the source control configuration of an app.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "siteSourceControl", + "in": "body", + "description": "JSON representation of a SiteSourceControl object. See example.", + "required": true, + "schema": { + "$ref": "#/definitions/SiteSourceControl" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/SiteSourceControl" + } + }, + "201": { + "description": "Resource 'SiteSourceControl' create operation succeeded", + "schema": { + "$ref": "#/definitions/SiteSourceControl" + } + }, + "202": { + "description": "The request has been accepted for processing, but processing has not yet completed.", + "schema": { + "$ref": "#/definitions/SiteSourceControl" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + }, + "delete": { + "operationId": "WebApps_DeleteSourceControl", + "tags": [ + "SiteSourceControlOperationGroup" + ], + "summary": "Deletes the source control configuration of an app.", + "description": "Description for Deletes the source control configuration of an app.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "additionalFlags", + "in": "query", + "required": false, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Resource deleted successfully." + }, + "202": { + "description": "The request has been accepted for processing, but processing has not yet completed." + }, + "404": { + "description": "The server cannot find the requested resource.", + "x-ms-error-response": true + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/start": { + "post": { + "operationId": "WebApps_Start", + "tags": [ + "Sites" + ], + "summary": "Starts an app (or deployment slot, if specified).", + "description": "Description for Starts an app (or deployment slot, if specified).", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/startNetworkTrace": { + "post": { + "operationId": "WebApps_StartNetworkTrace", + "tags": [ + "Sites" + ], + "summary": "Start capturing network packets for the site.", + "description": "Description for Start capturing network packets for the site.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "durationInSeconds", + "in": "query", + "description": "The duration to keep capturing in seconds.", + "required": false, + "type": "integer", + "format": "int32" + }, + { + "name": "maxFrameLength", + "in": "query", + "description": "The maximum frame length in bytes (Optional).", + "required": false, + "type": "integer", + "format": "int32" + }, + { + "name": "sasUrl", + "in": "query", + "description": "The Blob URL to store capture file.", + "required": false, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "type": "array", + "items": { + "$ref": "#/definitions/NetworkTrace" + } + } + }, + "202": { + "description": "Azure operation completed successfully.", + "schema": { + "type": "array", + "items": { + "$ref": "#/definitions/NetworkTrace" + } + }, + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "Start a new network trace operation for a site": { + "$ref": "./examples/StartWebSiteNetworkTraceOperation_StartNetworkTrace.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/stop": { + "post": { + "operationId": "WebApps_Stop", + "tags": [ + "Sites" + ], + "summary": "Stops an app (or deployment slot, if specified).", + "description": "Description for Stops an app (or deployment slot, if specified).", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/stopNetworkTrace": { + "post": { + "operationId": "WebApps_StopNetworkTrace", + "tags": [ + "Sites" + ], + "summary": "Stop ongoing capturing network packets for the site.", + "description": "Description for Stop ongoing capturing network packets for the site.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully." + }, + "204": { + "description": "There is no content to send for this request, but the headers may be useful." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "Stop a currently running network trace operation for a site": { + "$ref": "./examples/StopWebSiteNetworkTrace_StopNetworkTrace.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/sync": { + "post": { + "operationId": "WebApps_SyncRepository", + "tags": [ + "Sites" + ], + "summary": "Sync web app repository.", + "description": "Description for Sync web app repository.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/syncfunctiontriggers": { + "post": { + "operationId": "WebApps_SyncFunctionTriggers", + "tags": [ + "Sites" + ], + "summary": "Syncs function trigger metadata to the management database", + "description": "Description for Syncs function trigger metadata to the management database", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + } + ], + "responses": { + "204": { + "description": "There is no content to send for this request, but the headers may be useful." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/triggeredwebjobs": { + "get": { + "operationId": "WebApps_ListTriggeredWebJobs", + "tags": [ + "TriggeredWebJobOperationGroup" + ], + "summary": "List triggered web jobs for an app, or a deployment slot.", + "description": "Description for List triggered web jobs for an app, or a deployment slot.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Site name.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/TriggeredWebJobCollection" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/triggeredwebjobs/{webJobName}": { + "get": { + "operationId": "WebApps_GetTriggeredWebJob", + "tags": [ + "TriggeredWebJobOperationGroup" + ], + "summary": "Gets a triggered web job by its ID for an app, or a deployment slot.", + "description": "Description for Gets a triggered web job by its ID for an app, or a deployment slot.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Site name.", + "required": true, + "type": "string" + }, + { + "name": "webJobName", + "in": "path", + "description": "Name of Web Job.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/TriggeredWebJob" + } + }, + "404": { + "description": "The server cannot find the requested resource.", + "x-ms-error-response": true + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + }, + "delete": { + "operationId": "WebApps_DeleteTriggeredWebJob", + "tags": [ + "TriggeredWebJobOperationGroup" + ], + "summary": "Delete a triggered web job by its ID for an app, or a deployment slot.", + "description": "Description for Delete a triggered web job by its ID for an app, or a deployment slot.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Site name.", + "required": true, + "type": "string" + }, + { + "name": "webJobName", + "in": "path", + "description": "Name of Web Job.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Resource deleted successfully." + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/triggeredwebjobs/{webJobName}/history": { + "get": { + "operationId": "WebApps_ListTriggeredWebJobHistory", + "tags": [ + "TriggeredJobHistoryOperationGroup" + ], + "summary": "List a triggered web job's history for an app, or a deployment slot.", + "description": "Description for List a triggered web job's history for an app, or a deployment slot.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Site name.", + "required": true, + "type": "string" + }, + { + "name": "webJobName", + "in": "path", + "description": "Name of Web Job.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/TriggeredJobHistoryCollection" + } + }, + "404": { + "description": "The server cannot find the requested resource.", + "x-ms-error-response": true + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/triggeredwebjobs/{webJobName}/history/{id}": { + "get": { + "operationId": "WebApps_GetTriggeredWebJobHistory", + "tags": [ + "TriggeredJobHistoryOperationGroup" + ], + "summary": "Gets a triggered web job's history by its ID for an app, , or a deployment slot.", + "description": "Description for Gets a triggered web job's history by its ID for an app, , or a deployment slot.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Site name.", + "required": true, + "type": "string" + }, + { + "name": "webJobName", + "in": "path", + "description": "Name of Web Job.", + "required": true, + "type": "string" + }, + { + "name": "id", + "in": "path", + "description": "History ID.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/TriggeredJobHistory" + } + }, + "404": { + "description": "The server cannot find the requested resource.", + "x-ms-error-response": true + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/triggeredwebjobs/{webJobName}/run": { + "post": { + "operationId": "WebApps_RunTriggeredWebJob", + "tags": [ + "TriggeredWebJobOperationGroup" + ], + "summary": "Run a triggered web job for an app, or a deployment slot.", + "description": "Description for Run a triggered web job for an app, or a deployment slot.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Site name.", + "required": true, + "type": "string" + }, + { + "name": "webJobName", + "in": "path", + "description": "Name of Web Job.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully." + }, + "404": { + "description": "The server cannot find the requested resource.", + "x-ms-error-response": true + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/updatemachinekey": { + "post": { + "operationId": "WebApps_UpdateMachineKey", + "tags": [ + "Sites" + ], + "summary": "Updates the machine key of an app.", + "description": "Updates the machine key of an app.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": {} + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "Updates the machine key for a site": { + "$ref": "./examples/UpdateMachineKey.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/usages": { + "get": { + "operationId": "WebApps_ListUsages", + "tags": [ + "Sites" + ], + "summary": "Gets the quota usage information of an app (or deployment slot, if specified).", + "description": "Description for Gets the quota usage information of an app (or deployment slot, if specified).", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "$filter", + "in": "query", + "description": "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]'.", + "required": false, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/CsmUsageQuotaCollection" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/virtualNetworkConnections": { + "get": { + "operationId": "WebApps_ListVnetConnections", + "tags": [ + "VnetConnectionOperationGroup" + ], + "summary": "Gets the virtual networks the app (or deployment slot) is connected to.", + "description": "Description for Gets the virtual networks the app (or deployment slot) is connected to.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "type": "array", + "items": { + "$ref": "#/definitions/VnetInfoResource" + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/virtualNetworkConnections/{vnetName}": { + "get": { + "operationId": "WebApps_GetVnetConnection", + "tags": [ + "VnetConnectionOperationGroup" + ], + "summary": "Gets a virtual network the app (or deployment slot) is connected to by name.", + "description": "Description for Gets a virtual network the app (or deployment slot) is connected to by name.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "vnetName", + "in": "path", + "description": "Name of the virtual network.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/VnetInfoResource" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + }, + "put": { + "operationId": "WebApps_CreateOrUpdateVnetConnection", + "tags": [ + "VnetConnectionOperationGroup" + ], + "summary": "Adds a Virtual Network connection to an app or slot (PUT) or updates the connection properties (PATCH).", + "description": "Description for Adds a Virtual Network connection to an app or slot (PUT) or updates the connection properties (PATCH).", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "vnetName", + "in": "path", + "description": "Name of the virtual network.", + "required": true, + "type": "string" + }, + { + "name": "connectionEnvelope", + "in": "body", + "description": "Properties of the Virtual Network connection. See example.", + "required": true, + "schema": { + "$ref": "#/definitions/VnetInfoResource" + } + } + ], + "responses": { + "200": { + "description": "Resource 'VnetInfoResource' update operation succeeded", + "schema": { + "$ref": "#/definitions/VnetInfoResource" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + }, + "patch": { + "operationId": "WebApps_UpdateVnetConnection", + "tags": [ + "VnetConnectionOperationGroup" + ], + "summary": "Adds a Virtual Network connection to an app or slot (PUT) or updates the connection properties (PATCH).", + "description": "Description for Adds a Virtual Network connection to an app or slot (PUT) or updates the connection properties (PATCH).", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "vnetName", + "in": "path", + "description": "Name of the virtual network.", + "required": true, + "type": "string" + }, + { + "name": "connectionEnvelope", + "in": "body", + "description": "Properties of the Virtual Network connection. See example.", + "required": true, + "schema": { + "$ref": "#/definitions/VnetInfoResource" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/VnetInfoResource" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + }, + "delete": { + "operationId": "WebApps_DeleteVnetConnection", + "tags": [ + "VnetConnectionOperationGroup" + ], + "summary": "Deletes a connection from an app (or deployment slot to a named virtual network.", + "description": "Description for Deletes a connection from an app (or deployment slot to a named virtual network.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "vnetName", + "in": "path", + "description": "Name of the virtual network.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Resource deleted successfully." + }, + "404": { + "description": "The server cannot find the requested resource.", + "x-ms-error-response": true + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/virtualNetworkConnections/{vnetName}/gateways/{gatewayName}": { + "get": { + "operationId": "WebApps_GetVnetConnectionGateway", + "tags": [ + "VnetConnectionGatewayOperationGroup" + ], + "summary": "Gets an app's Virtual Network gateway.", + "description": "Description for Gets an app's Virtual Network gateway.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "vnetName", + "in": "path", + "description": "Name of the Virtual Network.", + "required": true, + "type": "string" + }, + { + "name": "gatewayName", + "in": "path", + "description": "Name of the gateway. Currently, the only supported string is \"primary\".", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/VnetGateway" + } + }, + "404": { + "description": "The server cannot find the requested resource.", + "x-ms-error-response": true + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + }, + "put": { + "operationId": "WebApps_CreateOrUpdateVnetConnectionGateway", + "tags": [ + "VnetConnectionGatewayOperationGroup" + ], + "summary": "Adds a gateway to a connected Virtual Network (PUT) or updates it (PATCH).", + "description": "Description for Adds a gateway to a connected Virtual Network (PUT) or updates it (PATCH).", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "vnetName", + "in": "path", + "description": "Name of the Virtual Network.", + "required": true, + "type": "string" + }, + { + "name": "gatewayName", + "in": "path", + "description": "Name of the gateway. Currently, the only supported string is \"primary\".", + "required": true, + "type": "string" + }, + { + "name": "connectionEnvelope", + "in": "body", + "description": "The properties to update this gateway with.", + "required": true, + "schema": { + "$ref": "#/definitions/VnetGateway" + } + } + ], + "responses": { + "200": { + "description": "Resource 'VnetGateway' update operation succeeded", + "schema": { + "$ref": "#/definitions/VnetGateway" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + }, + "patch": { + "operationId": "WebApps_UpdateVnetConnectionGateway", + "tags": [ + "VnetConnectionGatewayOperationGroup" + ], + "summary": "Adds a gateway to a connected Virtual Network (PUT) or updates it (PATCH).", + "description": "Description for Adds a gateway to a connected Virtual Network (PUT) or updates it (PATCH).", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "vnetName", + "in": "path", + "description": "Name of the Virtual Network.", + "required": true, + "type": "string" + }, + { + "name": "gatewayName", + "in": "path", + "description": "Name of the gateway. Currently, the only supported string is \"primary\".", + "required": true, + "type": "string" + }, + { + "name": "connectionEnvelope", + "in": "body", + "description": "The properties to update this gateway with.", + "required": true, + "schema": { + "$ref": "#/definitions/VnetGateway" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/VnetGateway" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/webjobs": { + "get": { + "operationId": "WebApps_ListWebJobs", + "tags": [ + "WebJobOperationGroup" + ], + "summary": "List webjobs for an app, or a deployment slot.", + "description": "Description for List webjobs for an app, or a deployment slot.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Site name.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/WebJobCollection" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/webjobs/{webJobName}": { + "get": { + "operationId": "WebApps_GetWebJob", + "tags": [ + "WebJobOperationGroup" + ], + "summary": "Get webjob information for an app, or a deployment slot.", + "description": "Description for Get webjob information for an app, or a deployment slot.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Site name.", + "required": true, + "type": "string" + }, + { + "name": "webJobName", + "in": "path", + "description": "Name of the web job.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/WebJob" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/workflows": { + "get": { + "operationId": "WebApps_ListWorkflows", + "tags": [ + "WorkflowEnvelopeOperationGroup" + ], + "summary": "List the workflows for a web site, or a deployment slot.", + "description": "List the workflows for a web site, or a deployment slot.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Site name.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/WorkflowEnvelopeCollection" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "List the workflows": { + "$ref": "./examples/ListWorkflows.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/workflows/{workflowName}": { + "get": { + "operationId": "WebApps_GetWorkflow", + "tags": [ + "WorkflowEnvelopeOperationGroup" + ], + "summary": "Get workflow information by its ID for web site, or a deployment slot.", + "description": "Get workflow information by its ID for web site, or a deployment slot.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Site name.", + "required": true, + "type": "string" + }, + { + "name": "workflowName", + "in": "path", + "description": "Workflow name.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-z][a-z0-9]*$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/WorkflowEnvelope" + } + }, + "404": { + "description": "The server cannot find the requested resource.", + "x-ms-error-response": true + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "GET a workflow": { + "$ref": "./examples/GetWorkflow.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites": { + "get": { + "operationId": "StaticSites_GetStaticSitesByResourceGroup", + "tags": [ + "StaticSiteARMResources" + ], + "summary": "Gets all static sites in the specified resource group.", + "description": "Description for Gets all static sites in the specified resource group.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/StaticSiteCollection" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "Get static sites for a resource group": { + "$ref": "./examples/GetStaticSites.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}": { + "get": { + "operationId": "StaticSites_GetStaticSite", + "tags": [ + "StaticSiteARMResources" + ], + "summary": "Gets the details of a static site.", + "description": "Description for Gets the details of a static site.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the static site.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/StaticSiteARMResource" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "Get details for a static site": { + "$ref": "./examples/GetStaticSite.json" + } + } + }, + "put": { + "operationId": "StaticSites_CreateOrUpdateStaticSite", + "tags": [ + "StaticSiteARMResources" + ], + "summary": "Creates a new static site in an existing resource group, or updates an existing static site.", + "description": "Description for Creates a new static site in an existing resource group, or updates an existing static site.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the static site.", + "required": true, + "type": "string" + }, + { + "name": "staticSiteEnvelope", + "in": "body", + "description": "A JSON representation of the staticsite properties. See example.", + "required": true, + "schema": { + "$ref": "#/definitions/StaticSiteARMResource" + } + } + ], + "responses": { + "200": { + "description": "Resource 'StaticSiteARMResource' update operation succeeded", + "schema": { + "$ref": "#/definitions/StaticSiteARMResource" + } + }, + "202": { + "description": "The request has been accepted for processing, but processing has not yet completed.", + "schema": { + "$ref": "#/definitions/StaticSiteARMResource" + }, + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "Create or update a static site": { + "$ref": "./examples/CreateOrUpdateStaticSite.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "#/definitions/StaticSiteARMResource" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "StaticSites_UpdateStaticSite", + "tags": [ + "StaticSiteARMResources" + ], + "summary": "Creates a new static site in an existing resource group, or updates an existing static site.", + "description": "Description for Creates a new static site in an existing resource group, or updates an existing static site.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the static site.", + "required": true, + "type": "string" + }, + { + "name": "staticSiteEnvelope", + "in": "body", + "description": "A JSON representation of the staticsite properties. See example.", + "required": true, + "schema": { + "$ref": "#/definitions/StaticSitePatchResource" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/StaticSiteARMResource" + } + }, + "202": { + "description": "The request has been accepted for processing, but processing has not yet completed.", + "schema": { + "$ref": "#/definitions/StaticSiteARMResource" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "Patch a static site": { + "$ref": "./examples/PatchStaticSite.json" + } + } + }, + "delete": { + "operationId": "StaticSites_DeleteStaticSite", + "tags": [ + "StaticSiteARMResources" + ], + "summary": "Deletes a static site.", + "description": "Description for Deletes a static site.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the static site.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Resource deleted successfully." + }, + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "Delete a static site": { + "$ref": "./examples/DeleteStaticSite.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/basicAuth": { + "get": { + "operationId": "StaticSites_ListBasicAuth", + "tags": [ + "StaticSiteBasicAuthPropertiesARMResources" + ], + "summary": "Gets the basic auth properties for a static site as a collection.", + "description": "Description for Gets the basic auth properties for a static site as a collection.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the static site.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/StaticSiteBasicAuthPropertiesCollection" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "Lists the basic auth properties for a static site.": { + "$ref": "./examples/ListStaticSiteBasicAuth.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/basicAuth/{basicAuthName}": { + "get": { + "operationId": "StaticSites_GetBasicAuth", + "tags": [ + "StaticSiteBasicAuthPropertiesARMResources" + ], + "summary": "Gets the basic auth properties for a static site.", + "description": "Description for Gets the basic auth properties for a static site.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the static site.", + "required": true, + "type": "string" + }, + { + "name": "basicAuthName", + "in": "path", + "description": "name of the basic auth entry.", + "required": true, + "type": "string", + "enum": [ + "default" + ], + "x-ms-enum": { + "name": "BasicAuthName", + "modelAsString": true, + "values": [ + { + "name": "default", + "value": "default" + } + ] + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/StaticSiteBasicAuthPropertiesARMResource" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "Gets the basic auth properties for a static site.": { + "$ref": "./examples/GetStaticSiteBasicAuth.json" + } + } + }, + "put": { + "operationId": "StaticSites_CreateOrUpdateBasicAuth", + "tags": [ + "StaticSiteBasicAuthPropertiesARMResources" + ], + "summary": "Adds or updates basic auth for a static site.", + "description": "Description for Adds or updates basic auth for a static site.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the static site.", + "required": true, + "type": "string" + }, + { + "name": "basicAuthName", + "in": "path", + "description": "name of the basic auth entry.", + "required": true, + "type": "string", + "enum": [ + "default" + ], + "x-ms-enum": { + "name": "BasicAuthName", + "modelAsString": true, + "values": [ + { + "name": "default", + "value": "default" + } + ] + } + }, + { + "name": "basicAuthEnvelope", + "in": "body", + "description": "A JSON representation of the basic auth properties.", + "required": true, + "schema": { + "$ref": "#/definitions/StaticSiteBasicAuthPropertiesARMResource" + } + } + ], + "responses": { + "200": { + "description": "Resource 'StaticSiteBasicAuthPropertiesARMResource' update operation succeeded", + "schema": { + "$ref": "#/definitions/StaticSiteBasicAuthPropertiesARMResource" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "Creates or updates basic auth properties for a static site.": { + "$ref": "./examples/CreateOrUpdateStaticSiteBasicAuth.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/builds": { + "get": { + "operationId": "StaticSites_GetStaticSiteBuilds", + "tags": [ + "StaticSiteBuildARMResources" + ], + "summary": "Gets all static site builds for a particular static site.", + "description": "Description for Gets all static site builds for a particular static site.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the static site.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/StaticSiteBuildCollection" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "Get all builds for a static site": { + "$ref": "./examples/GetStaticSiteBuilds.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/builds/{environmentName}": { + "get": { + "operationId": "StaticSites_GetStaticSiteBuild", + "tags": [ + "StaticSiteBuildARMResources" + ], + "summary": "Gets the details of a static site build.", + "description": "Description for Gets the details of a static site build.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the static site.", + "required": true, + "type": "string" + }, + { + "name": "environmentName", + "in": "path", + "description": "The stage site identifier.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9]+$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/StaticSiteBuildARMResource" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "Get a static site build": { + "$ref": "./examples/GetStaticSiteBuild.json" + } + } + }, + "delete": { + "operationId": "StaticSites_DeleteStaticSiteBuild", + "tags": [ + "StaticSiteBuildARMResources" + ], + "summary": "Deletes a static site build.", + "description": "Description for Deletes a static site build.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the static site.", + "required": true, + "type": "string" + }, + { + "name": "environmentName", + "in": "path", + "description": "The stage site identifier.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9]+$" + } + ], + "responses": { + "200": { + "description": "Resource deleted successfully." + }, + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "Delete a static site build": { + "$ref": "./examples/DeleteStaticSiteBuild.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/builds/{environmentName}/config/appsettings": { + "put": { + "operationId": "StaticSites_CreateOrUpdateStaticSiteBuildAppSettings", + "tags": [ + "StaticSiteBuildARMResources" + ], + "summary": "Creates or updates the app settings of a static site build.", + "description": "Description for Creates or updates the app settings of a static site build.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the static site.", + "required": true, + "type": "string" + }, + { + "name": "environmentName", + "in": "path", + "description": "The stage site identifier.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9]+$" + }, + { + "name": "appSettings", + "in": "body", + "description": "The dictionary containing the static site app settings to update.", + "required": true, + "schema": { + "$ref": "#/definitions/StringDictionary" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/StringDictionary" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "Creates or updates the function app settings of a static site build.": { + "$ref": "./examples/CreateOrUpdateStaticSiteBuildAppSettings.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/builds/{environmentName}/config/functionappsettings": { + "put": { + "operationId": "StaticSites_CreateOrUpdateStaticSiteBuildFunctionAppSettings", + "tags": [ + "StaticSiteBuildARMResources" + ], + "summary": "Creates or updates the function app settings of a static site build.", + "description": "Description for Creates or updates the function app settings of a static site build.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the static site.", + "required": true, + "type": "string" + }, + { + "name": "environmentName", + "in": "path", + "description": "The stage site identifier.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9]+$" + }, + { + "name": "appSettings", + "in": "body", + "description": "The dictionary containing the static site function app settings to update.", + "required": true, + "schema": { + "$ref": "#/definitions/StringDictionary" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/StringDictionary" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "Creates or updates the function app settings of a static site build.": { + "$ref": "./examples/CreateOrUpdateStaticSiteBuildFunctionAppSettings.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/builds/{environmentName}/databaseConnections": { + "get": { + "operationId": "StaticSites_GetBuildDatabaseConnections", + "tags": [ + "DatabaseConnections" + ], + "summary": "Returns overviews of database connections for a static site build", + "description": "Returns overviews of database connections for a static site build", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the static site", + "required": true, + "type": "string" + }, + { + "name": "environmentName", + "in": "path", + "description": "The stage site identifier.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9]+$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/DatabaseConnectionCollection" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "List overviews of database connections for the static site build.": { + "$ref": "./examples/GetStaticSiteBuildDatabaseConnections.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/builds/{environmentName}/databaseConnections/{databaseConnectionName}": { + "get": { + "operationId": "StaticSites_GetBuildDatabaseConnection", + "tags": [ + "DatabaseConnections" + ], + "summary": "Returns overview of a database connection for a static site build by name", + "description": "Returns overview of a database connection for a static site build by name", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the static site", + "required": true, + "type": "string" + }, + { + "name": "environmentName", + "in": "path", + "description": "The stage site identifier.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9]+$" + }, + { + "name": "databaseConnectionName", + "in": "path", + "description": "Name of the database connection.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9]+$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/DatabaseConnection" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "Get overview of database connections for the static site build.": { + "$ref": "./examples/GetStaticSiteBuildDatabaseConnection.json" + } + } + }, + "put": { + "operationId": "StaticSites_CreateOrUpdateBuildDatabaseConnection", + "tags": [ + "DatabaseConnections" + ], + "summary": "Create or update a database connection for a static site build", + "description": "Description for Create or update a database connection for a static site build", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the static site", + "required": true, + "type": "string" + }, + { + "name": "environmentName", + "in": "path", + "description": "The stage site identifier.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9]+$" + }, + { + "name": "databaseConnectionName", + "in": "path", + "description": "Name of the database connection.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9]+$" + }, + { + "name": "databaseConnectionRequestEnvelope", + "in": "body", + "description": "A JSON representation of the database connection request properties", + "required": true, + "schema": { + "$ref": "#/definitions/DatabaseConnection" + } + } + ], + "responses": { + "200": { + "description": "Resource 'DatabaseConnection' update operation succeeded", + "schema": { + "$ref": "#/definitions/DatabaseConnection" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "Create or update a database connection for a static site build": { + "$ref": "./examples/CreateOrUpdateStaticSiteBuildDatabaseConnection.json" + } + } + }, + "patch": { + "operationId": "StaticSites_UpdateBuildDatabaseConnection", + "tags": [ + "DatabaseConnections" + ], + "summary": "Create or update a database connection for a static site build", + "description": "Description for Create or update a database connection for a static site build", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the static site", + "required": true, + "type": "string" + }, + { + "name": "environmentName", + "in": "path", + "description": "The stage site identifier.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9]+$" + }, + { + "name": "databaseConnectionName", + "in": "path", + "description": "Name of the database connection.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9]+$" + }, + { + "name": "databaseConnectionRequestEnvelope", + "in": "body", + "description": "A JSON representation of the database connection request properties", + "required": true, + "schema": { + "$ref": "#/definitions/DatabaseConnectionPatchRequest" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/DatabaseConnection" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "Patch a database connection for a static site build": { + "$ref": "./examples/PatchStaticSiteBuildDatabaseConnection.json" + } + } + }, + "delete": { + "operationId": "StaticSites_DeleteBuildDatabaseConnection", + "tags": [ + "DatabaseConnections" + ], + "summary": "Delete a database connection for a static site build", + "description": "Delete a database connection for a static site build", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the static site", + "required": true, + "type": "string" + }, + { + "name": "environmentName", + "in": "path", + "description": "The stage site identifier.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9]+$" + }, + { + "name": "databaseConnectionName", + "in": "path", + "description": "Name of the database connection.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9]+$" + } + ], + "responses": { + "200": { + "description": "Resource deleted successfully." + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "Delete a database connection from a static site build.": { + "$ref": "./examples/DeleteStaticSiteBuildDatabaseConnection.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/builds/{environmentName}/databaseConnections/{databaseConnectionName}/show": { + "post": { + "operationId": "StaticSites_GetBuildDatabaseConnectionWithDetails", + "tags": [ + "DatabaseConnections" + ], + "summary": "Returns details of a database connection for a static site build by name", + "description": "Returns details of a database connection for a static site build by name", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the static site", + "required": true, + "type": "string" + }, + { + "name": "environmentName", + "in": "path", + "description": "The stage site identifier.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9]+$" + }, + { + "name": "databaseConnectionName", + "in": "path", + "description": "Name of the database connection.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9]+$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/DatabaseConnection" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "Get details of database connections for the static site build.": { + "$ref": "./examples/GetStaticSiteBuildDatabaseConnectionWithDetails.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/builds/{environmentName}/functions": { + "get": { + "operationId": "StaticSites_ListStaticSiteBuildFunctions", + "tags": [ + "StaticSiteBuildARMResources" + ], + "summary": "Gets the functions of a particular static site build.", + "description": "Description for Gets the functions of a particular static site build.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the static site.", + "required": true, + "type": "string" + }, + { + "name": "environmentName", + "in": "path", + "description": "The stage site identifier.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9]+$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/StaticSiteFunctionOverviewCollection" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "Gets the functions of a particular static site build": { + "$ref": "./examples/ListStaticSiteBuildFunctions.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/builds/{environmentName}/linkedBackends": { + "get": { + "operationId": "StaticSites_GetLinkedBackendsForBuild", + "tags": [ + "StaticSiteLinkedBackendARMResourceOperationGroup" + ], + "summary": "Returns details of all backends linked to a static site build", + "description": "Returns details of all backends linked to a static site build", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the static site", + "required": true, + "type": "string" + }, + { + "name": "environmentName", + "in": "path", + "description": "The stage site identifier", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/StaticSiteLinkedBackendsCollection" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "Get details of the linked backends registered with a static site build.": { + "$ref": "./examples/GetLinkedBackendsForStaticSiteBuild.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/builds/{environmentName}/linkedBackends/{linkedBackendName}": { + "get": { + "operationId": "StaticSites_GetLinkedBackendForBuild", + "tags": [ + "StaticSiteLinkedBackendARMResourceOperationGroup" + ], + "summary": "Returns the details of a linked backend linked to a static site build by name", + "description": "Returns the details of a linked backend linked to a static site build by name", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the static site", + "required": true, + "type": "string" + }, + { + "name": "environmentName", + "in": "path", + "description": "The stage site identifier", + "required": true, + "type": "string" + }, + { + "name": "linkedBackendName", + "in": "path", + "description": "Name of the linked backend that should be retrieved", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/StaticSiteLinkedBackendARMResource" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "Get details of the linked backend registered with a static site build by name.": { + "$ref": "./examples/GetLinkedBackendForStaticSiteBuild.json" + } + } + }, + "put": { + "operationId": "StaticSites_LinkBackendToBuild", + "tags": [ + "StaticSiteLinkedBackendARMResourceOperationGroup" + ], + "summary": "Link backend to a static site build", + "description": "Link backend to a static site build", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the static site", + "required": true, + "type": "string" + }, + { + "name": "environmentName", + "in": "path", + "description": "The stage site identifier", + "required": true, + "type": "string" + }, + { + "name": "linkedBackendName", + "in": "path", + "description": "Name of the linked backend that should be retrieved", + "required": true, + "type": "string" + }, + { + "name": "staticSiteLinkedBackendEnvelope", + "in": "body", + "description": "A JSON representation of the linked backend request properties", + "required": true, + "schema": { + "$ref": "#/definitions/StaticSiteLinkedBackendARMResource" + } + } + ], + "responses": { + "200": { + "description": "The request has succeeded.", + "schema": { + "$ref": "#/definitions/StaticSiteLinkedBackendARMResource" + }, + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "Link a backend to a static site build": { + "$ref": "./examples/LinkBackendToStaticSiteBuild.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "#/definitions/StaticSiteLinkedBackendARMResource" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "StaticSites_UnlinkBackendFromBuild", + "tags": [ + "StaticSiteLinkedBackendARMResourceOperationGroup" + ], + "summary": "Unlink a backend from a static site build", + "description": "Unlink a backend from a static site build", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the static site", + "required": true, + "type": "string" + }, + { + "name": "environmentName", + "in": "path", + "description": "The stage site identifier", + "required": true, + "type": "string" + }, + { + "name": "linkedBackendName", + "in": "path", + "description": "Name of the linked backend that should be retrieved", + "required": true, + "type": "string" + }, + { + "name": "isCleaningAuthConfig", + "in": "query", + "description": "Decides if auth will be removed from backend configuration", + "required": false, + "type": "boolean" + } + ], + "responses": { + "200": { + "description": "Resource deleted successfully." + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "Unlink a backend from a static site build.": { + "$ref": "./examples/UnlinkBackendFromStaticSiteBuild.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/builds/{environmentName}/linkedBackends/{linkedBackendName}/validate": { + "post": { + "operationId": "StaticSites_ValidateBackendForBuild", + "tags": [ + "StaticSiteLinkedBackendARMResourceOperationGroup" + ], + "summary": "Validates that a backend can be linked to a static site build", + "description": "Validates that a backend can be linked to a static site build", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the static site", + "required": true, + "type": "string" + }, + { + "name": "environmentName", + "in": "path", + "description": "The stage site identifier", + "required": true, + "type": "string" + }, + { + "name": "linkedBackendName", + "in": "path", + "description": "Name of the linked backend that should be retrieved", + "required": true, + "type": "string" + }, + { + "name": "staticSiteLinkedBackendEnvelope", + "in": "body", + "description": "A JSON representation of the linked backend request properties", + "required": true, + "schema": { + "$ref": "#/definitions/StaticSiteLinkedBackendARMResource" + } + } + ], + "responses": { + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "There is no content to send for this request, but the headers may be useful." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "Validate if backend can be linked to static site build.": { + "$ref": "./examples/ValidateLinkedBackendForStaticSiteBuild.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/builds/{environmentName}/listAppSettings": { + "post": { + "operationId": "StaticSites_ListStaticSiteBuildAppSettings", + "tags": [ + "StaticSiteBuildARMResources" + ], + "summary": "Gets the application settings of a static site build.", + "description": "Description for Gets the application settings of a static site build.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the static site.", + "required": true, + "type": "string" + }, + { + "name": "environmentName", + "in": "path", + "description": "The stage site identifier.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9]+$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/StringDictionary" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "Get app settings of a static site build": { + "$ref": "./examples/ListStaticSiteBuildAppSettings.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/builds/{environmentName}/listFunctionAppSettings": { + "post": { + "operationId": "StaticSites_ListStaticSiteBuildFunctionAppSettings", + "tags": [ + "StaticSiteBuildARMResources" + ], + "summary": "Gets the application settings of a static site build.", + "description": "Description for Gets the application settings of a static site build.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the static site.", + "required": true, + "type": "string" + }, + { + "name": "environmentName", + "in": "path", + "description": "The stage site identifier.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9]+$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/StringDictionary" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "Get function app settings of a static site build": { + "$ref": "./examples/ListStaticSiteBuildFunctionAppSettings.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/builds/{environmentName}/showDatabaseConnections": { + "post": { + "operationId": "StaticSites_GetBuildDatabaseConnectionsWithDetails", + "tags": [ + "StaticSiteBuildARMResources" + ], + "summary": "Returns details of database connections for a static site build", + "description": "Returns details of database connections for a static site build", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the static site.", + "required": true, + "type": "string" + }, + { + "name": "environmentName", + "in": "path", + "description": "The stage site identifier.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9]+$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/DatabaseConnectionCollection" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "List full details of database connections for the static site build.": { + "$ref": "./examples/GetStaticSiteBuildDatabaseConnectionsWithDetails.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/builds/{environmentName}/userProvidedFunctionApps": { + "get": { + "operationId": "StaticSites_GetUserProvidedFunctionAppsForStaticSiteBuild", + "tags": [ + "StaticSiteUserProvidedFunctionAppARMResources" + ], + "summary": "Gets the details of the user provided function apps registered with a static site build", + "description": "Description for Gets the details of the user provided function apps registered with a static site build", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the static site.", + "required": true, + "type": "string" + }, + { + "name": "environmentName", + "in": "path", + "description": "The stage site identifier.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/StaticSiteUserProvidedFunctionAppsCollection" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "Get details of the user provided function apps registered with a static site build.": { + "$ref": "./examples/GetUserProvidedFunctionAppsForStaticSiteBuild.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/builds/{environmentName}/userProvidedFunctionApps/{functionAppName}": { + "get": { + "operationId": "StaticSites_GetUserProvidedFunctionAppForStaticSiteBuild", + "tags": [ + "StaticSiteUserProvidedFunctionAppARMResources" + ], + "summary": "Gets the details of the user provided function app registered with a static site build", + "description": "Description for Gets the details of the user provided function app registered with a static site build", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the static site.", + "required": true, + "type": "string" + }, + { + "name": "environmentName", + "in": "path", + "description": "The stage site identifier.", + "required": true, + "type": "string" + }, + { + "name": "functionAppName", + "in": "path", + "description": "Name of the function app registered with the static site build.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/StaticSiteUserProvidedFunctionAppARMResource" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "Get details of the user provided function app registered with a static site build.": { + "$ref": "./examples/GetUserProvidedFunctionAppForStaticSiteBuild.json" + } + } + }, + "put": { + "operationId": "StaticSites_RegisterUserProvidedFunctionAppWithStaticSiteBuild", + "tags": [ + "StaticSiteUserProvidedFunctionAppARMResources" + ], + "summary": "Register a user provided function app with a static site build", + "description": "Description for Register a user provided function app with a static site build", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the static site.", + "required": true, + "type": "string" + }, + { + "name": "environmentName", + "in": "path", + "description": "The stage site identifier.", + "required": true, + "type": "string" + }, + { + "name": "functionAppName", + "in": "path", + "description": "Name of the function app registered with the static site build.", + "required": true, + "type": "string" + }, + { + "name": "isForced", + "in": "query", + "description": "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.", + "required": false, + "type": "boolean" + }, + { + "name": "staticSiteUserProvidedFunctionEnvelope", + "in": "body", + "description": "A JSON representation of the user provided function app properties. See example.", + "required": true, + "schema": { + "$ref": "#/definitions/StaticSiteUserProvidedFunctionAppARMResource" + } + } + ], + "responses": { + "200": { + "description": "Resource 'StaticSiteUserProvidedFunctionAppARMResource' update operation succeeded", + "schema": { + "$ref": "#/definitions/StaticSiteUserProvidedFunctionAppARMResource" + } + }, + "202": { + "description": "The request has been accepted for processing, but processing has not yet completed.", + "schema": { + "$ref": "#/definitions/StaticSiteUserProvidedFunctionAppARMResource" + }, + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "Register a user provided function app with a static site build": { + "$ref": "./examples/RegisterUserProvidedFunctionAppWithStaticSiteBuild.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "#/definitions/StaticSiteUserProvidedFunctionAppARMResource" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "StaticSites_DetachUserProvidedFunctionAppFromStaticSiteBuild", + "tags": [ + "StaticSiteUserProvidedFunctionAppARMResources" + ], + "summary": "Detach the user provided function app from the static site build", + "description": "Description for Detach the user provided function app from the static site build", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the static site.", + "required": true, + "type": "string" + }, + { + "name": "environmentName", + "in": "path", + "description": "The stage site identifier.", + "required": true, + "type": "string" + }, + { + "name": "functionAppName", + "in": "path", + "description": "Name of the function app registered with the static site build.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Resource deleted successfully." + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "Detach the user provided function app from the static site build.": { + "$ref": "./examples/DetachUserProvidedFunctionAppFromStaticSiteBuild.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/builds/{environmentName}/zipdeploy": { + "post": { + "operationId": "StaticSites_CreateZipDeploymentForStaticSiteBuild", + "tags": [ + "StaticSiteBuildARMResources" + ], + "summary": "Deploys zipped content to a specific environment of a static site.", + "description": "Description for Deploys zipped content to a specific environment of a static site.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the static site.", + "required": true, + "type": "string" + }, + { + "name": "environmentName", + "in": "path", + "description": "The stage site identifier.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9]+$" + }, + { + "name": "staticSiteZipDeploymentEnvelope", + "in": "body", + "description": "A JSON representation of the StaticSiteZipDeployment properties. See example.", + "required": true, + "schema": { + "$ref": "#/definitions/StaticSiteZipDeploymentARMResource" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully." + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "Deploy a site from a zipped package to a particular static site build": { + "$ref": "./examples/StaticSiteBuildZipDeploy.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/config/appsettings": { + "put": { + "operationId": "StaticSites_CreateOrUpdateStaticSiteAppSettings", + "tags": [ + "StaticSiteARMResources" + ], + "summary": "Creates or updates the app settings of a static site.", + "description": "Description for Creates or updates the app settings of a static site.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the static site.", + "required": true, + "type": "string" + }, + { + "name": "appSettings", + "in": "body", + "description": "The dictionary containing the static site app settings to update.", + "required": true, + "schema": { + "$ref": "#/definitions/StringDictionary" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/StringDictionary" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "Creates or updates the app settings of a static site.": { + "$ref": "./examples/CreateOrUpdateStaticSiteAppSettings.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/config/functionappsettings": { + "put": { + "operationId": "StaticSites_CreateOrUpdateStaticSiteFunctionAppSettings", + "tags": [ + "StaticSiteARMResources" + ], + "summary": "Creates or updates the function app settings of a static site.", + "description": "Description for Creates or updates the function app settings of a static site.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the static site.", + "required": true, + "type": "string" + }, + { + "name": "appSettings", + "in": "body", + "description": "The dictionary containing the static site function app settings to update.", + "required": true, + "schema": { + "$ref": "#/definitions/StringDictionary" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/StringDictionary" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "Creates or updates the function app settings of a static site.": { + "$ref": "./examples/CreateOrUpdateStaticSiteFunctionAppSettings.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/createUserInvitation": { + "post": { + "operationId": "StaticSites_CreateUserRolesInvitationLink", + "tags": [ + "StaticSiteARMResources" + ], + "summary": "Creates an invitation link for a user with the role", + "description": "Description for Creates an invitation link for a user with the role", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the static site.", + "required": true, + "type": "string" + }, + { + "name": "staticSiteUserRolesInvitationEnvelope", + "in": "body", + "description": "", + "required": true, + "schema": { + "$ref": "#/definitions/StaticSiteUserInvitationRequestResource" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/StaticSiteUserInvitationResponseResource" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "Create an invitation link for a user for a static site": { + "$ref": "./examples/CreateUserRolesInvitationLink.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/customDomains": { + "get": { + "operationId": "StaticSites_ListStaticSiteCustomDomains", + "tags": [ + "StaticSiteCustomDomainOverviewARMResources" + ], + "summary": "Gets all static site custom domains for a particular static site.", + "description": "Description for Gets all static site custom domains for a particular static site.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the static site.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/StaticSiteCustomDomainOverviewCollection" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "List custom domains for a static site": { + "$ref": "./examples/GetStaticSiteCustomDomains.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/customDomains/{domainName}": { + "get": { + "operationId": "StaticSites_GetStaticSiteCustomDomain", + "tags": [ + "StaticSiteCustomDomainOverviewARMResources" + ], + "summary": "Gets an existing custom domain for a particular static site.", + "description": "Description for Gets an existing custom domain for a particular static site.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the static site.", + "required": true, + "type": "string" + }, + { + "name": "domainName", + "in": "path", + "description": "The custom domain name.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/StaticSiteCustomDomainOverviewARMResource" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "Get custom domain for a static site": { + "$ref": "./examples/GetStaticSiteCustomDomain.json" + } + } + }, + "put": { + "operationId": "StaticSites_CreateOrUpdateStaticSiteCustomDomain", + "tags": [ + "StaticSiteCustomDomainOverviewARMResources" + ], + "summary": "Creates a new static site custom domain in an existing resource group and static site.", + "description": "Description for Creates a new static site custom domain in an existing resource group and static site.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the static site.", + "required": true, + "type": "string" + }, + { + "name": "domainName", + "in": "path", + "description": "The custom domain name.", + "required": true, + "type": "string" + }, + { + "name": "staticSiteCustomDomainRequestPropertiesEnvelope", + "in": "body", + "description": "A JSON representation of the static site custom domain request properties. See example.", + "required": true, + "schema": { + "$ref": "#/definitions/StaticSiteCustomDomainRequestPropertiesARMResource" + } + } + ], + "responses": { + "200": { + "description": "Resource 'StaticSiteCustomDomainOverviewARMResource' update operation succeeded", + "schema": { + "$ref": "#/definitions/StaticSiteCustomDomainOverviewARMResource" + } + }, + "202": { + "description": "The request has been accepted for processing, but processing has not yet completed.", + "schema": { + "$ref": "#/definitions/StaticSiteCustomDomainOverviewARMResource" + }, + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "Create or update a custom domain for a static site": { + "$ref": "./examples/CreateOrUpdateStaticSiteCustomDomain.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "#/definitions/StaticSiteCustomDomainOverviewARMResource" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "StaticSites_DeleteStaticSiteCustomDomain", + "tags": [ + "StaticSiteCustomDomainOverviewARMResources" + ], + "summary": "Deletes a custom domain.", + "description": "Description for Deletes a custom domain.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the static site.", + "required": true, + "type": "string" + }, + { + "name": "domainName", + "in": "path", + "description": "The custom domain name.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Resource deleted successfully." + }, + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "Delete a custom domain for a static site": { + "$ref": "./examples/DeleteStaticSiteCustomDomain.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/customDomains/{domainName}/validate": { + "post": { + "operationId": "StaticSites_ValidateCustomDomainCanBeAddedToStaticSite", + "tags": [ + "StaticSiteCustomDomainOverviewARMResources" + ], + "summary": "Validates a particular custom domain can be added to a static site.", + "description": "Description for Validates a particular custom domain can be added to a static site.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the static site.", + "required": true, + "type": "string" + }, + { + "name": "domainName", + "in": "path", + "description": "The custom domain name.", + "required": true, + "type": "string" + }, + { + "name": "staticSiteCustomDomainRequestPropertiesEnvelope", + "in": "body", + "description": "A JSON representation of the static site custom domain request properties. See example.", + "required": true, + "schema": { + "$ref": "#/definitions/StaticSiteCustomDomainRequestPropertiesARMResource" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully." + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "Validate a custom domain for a static site": { + "$ref": "./examples/ValidateStaticSiteCustomDomain.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/databaseConnections": { + "get": { + "operationId": "StaticSites_GetDatabaseConnections", + "tags": [ + "DatabaseConnectionOperationGroup" + ], + "summary": "Returns overviews of database connections for a static site", + "description": "Returns overviews of database connections for a static site", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the static site", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/DatabaseConnectionCollection" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "List overviews of database connections for the static site.": { + "$ref": "./examples/GetStaticSiteDatabaseConnections.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/databaseConnections/{databaseConnectionName}": { + "get": { + "operationId": "StaticSites_GetDatabaseConnection", + "tags": [ + "DatabaseConnectionOperationGroup" + ], + "summary": "Returns overview of a database connection for a static site by name", + "description": "Returns overview of a database connection for a static site by name", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the static site", + "required": true, + "type": "string" + }, + { + "name": "databaseConnectionName", + "in": "path", + "description": "Name of the database connection.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9]+$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/DatabaseConnection" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "Get overview of database connections for the static site.": { + "$ref": "./examples/GetStaticSiteDatabaseConnection.json" + } + } + }, + "put": { + "operationId": "StaticSites_CreateOrUpdateDatabaseConnection", + "tags": [ + "DatabaseConnectionOperationGroup" + ], + "summary": "Create or update a database connection for a static site", + "description": "Description for Create or update a database connection for a static site", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the static site", + "required": true, + "type": "string" + }, + { + "name": "databaseConnectionName", + "in": "path", + "description": "Name of the database connection.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9]+$" + }, + { + "name": "databaseConnectionRequestEnvelope", + "in": "body", + "description": "A JSON representation of the database connection request properties", + "required": true, + "schema": { + "$ref": "#/definitions/DatabaseConnection" + } + } + ], + "responses": { + "200": { + "description": "Resource 'DatabaseConnection' update operation succeeded", + "schema": { + "$ref": "#/definitions/DatabaseConnection" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "Create or update a database connection for a static site": { + "$ref": "./examples/CreateOrUpdateStaticSiteDatabaseConnection.json" + } + } + }, + "patch": { + "operationId": "StaticSites_UpdateDatabaseConnection", + "tags": [ + "DatabaseConnectionOperationGroup" + ], + "summary": "Create or update a database connection for a static site", + "description": "Description for Create or update a database connection for a static site", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the static site", + "required": true, + "type": "string" + }, + { + "name": "databaseConnectionName", + "in": "path", + "description": "Name of the database connection.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9]+$" + }, + { + "name": "databaseConnectionRequestEnvelope", + "in": "body", + "description": "A JSON representation of the database connection request properties", + "required": true, + "schema": { + "$ref": "#/definitions/DatabaseConnectionPatchRequest" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/DatabaseConnection" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "Patch a database connection for a static site": { + "$ref": "./examples/PatchStaticSiteDatabaseConnection.json" + } + } + }, + "delete": { + "operationId": "StaticSites_DeleteDatabaseConnection", + "tags": [ + "DatabaseConnectionOperationGroup" + ], + "summary": "Delete a database connection for a static site", + "description": "Delete a database connection for a static site", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the static site", + "required": true, + "type": "string" + }, + { + "name": "databaseConnectionName", + "in": "path", + "description": "Name of the database connection.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9]+$" + } + ], + "responses": { + "200": { + "description": "Resource deleted successfully." + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "Delete a database connection from a static site.": { + "$ref": "./examples/DeleteStaticSiteDatabaseConnection.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/databaseConnections/{databaseConnectionName}/show": { + "post": { + "operationId": "StaticSites_GetDatabaseConnectionWithDetails", + "tags": [ + "DatabaseConnectionOperationGroup" + ], + "summary": "Returns details of a database connection for a static site by name", + "description": "Returns details of a database connection for a static site by name", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the static site", + "required": true, + "type": "string" + }, + { + "name": "databaseConnectionName", + "in": "path", + "description": "Name of the database connection.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9]+$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/DatabaseConnection" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "Get details of database connections for the static site.": { + "$ref": "./examples/GetStaticSiteDatabaseConnectionWithDetails.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/detach": { + "post": { + "operationId": "StaticSites_DetachStaticSite", + "tags": [ + "StaticSiteARMResources" + ], + "summary": "Detaches a static site.", + "description": "Description for Detaches a static site.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the static site.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully." + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "Detach a static site": { + "$ref": "./examples/DetachStaticSite.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/functions": { + "get": { + "operationId": "StaticSites_ListStaticSiteFunctions", + "tags": [ + "StaticSiteARMResources" + ], + "summary": "Gets the functions of a static site.", + "description": "Description for Gets the functions of a static site.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the static site.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/StaticSiteFunctionOverviewCollection" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "Gets the functions of a static site": { + "$ref": "./examples/ListStaticSiteFunctions.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/linkedBackends": { + "get": { + "operationId": "StaticSites_GetLinkedBackends", + "tags": [ + "StaticSiteLinkedBackendARMResources" + ], + "summary": "Returns details of all backends linked to a static site", + "description": "Returns details of all backends linked to a static site", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the static site", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/StaticSiteLinkedBackendsCollection" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "Get details of the linked backends registered with a static site.": { + "$ref": "./examples/GetLinkedBackendsForStaticSite.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/linkedBackends/{linkedBackendName}": { + "get": { + "operationId": "StaticSites_GetLinkedBackend", + "tags": [ + "StaticSiteLinkedBackendARMResources" + ], + "summary": "Returns the details of a linked backend linked to a static site by name", + "description": "Returns the details of a linked backend linked to a static site by name", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the static site", + "required": true, + "type": "string" + }, + { + "name": "linkedBackendName", + "in": "path", + "description": "Name of the linked backend that should be retrieved", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/StaticSiteLinkedBackendARMResource" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "Get details of the linked backend registered with a static site by name.": { + "$ref": "./examples/GetLinkedBackendForStaticSite.json" + } + } + }, + "put": { + "operationId": "StaticSites_LinkBackend", + "tags": [ + "StaticSiteLinkedBackendARMResources" + ], + "summary": "Link backend to a static site", + "description": "Link backend to a static site", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the static site", + "required": true, + "type": "string" + }, + { + "name": "linkedBackendName", + "in": "path", + "description": "Name of the linked backend that should be retrieved", + "required": true, + "type": "string" + }, + { + "name": "staticSiteLinkedBackendEnvelope", + "in": "body", + "description": "A JSON representation of the linked backend request properties", + "required": true, + "schema": { + "$ref": "#/definitions/StaticSiteLinkedBackendARMResource" + } + } + ], + "responses": { + "200": { + "description": "The request has succeeded.", + "schema": { + "$ref": "#/definitions/StaticSiteLinkedBackendARMResource" + }, + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "Link a backend to a static site": { + "$ref": "./examples/LinkBackendToStaticSite.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "#/definitions/StaticSiteLinkedBackendARMResource" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "StaticSites_UnlinkBackend", + "tags": [ + "StaticSiteLinkedBackendARMResources" + ], + "summary": "Unlink a backend from a static site", + "description": "Unlink a backend from a static site", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the static site", + "required": true, + "type": "string" + }, + { + "name": "linkedBackendName", + "in": "path", + "description": "Name of the linked backend that should be retrieved", + "required": true, + "type": "string" + }, + { + "name": "isCleaningAuthConfig", + "in": "query", + "description": "Decides if Easy Auth configuration will be removed from backend configuration", + "required": false, + "type": "boolean" + } + ], + "responses": { + "200": { + "description": "Resource deleted successfully." + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "Unlink a backend from a static site.": { + "$ref": "./examples/UnlinkBackendFromStaticSite.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/linkedBackends/{linkedBackendName}/validate": { + "post": { + "operationId": "StaticSites_ValidateBackend", + "tags": [ + "StaticSiteLinkedBackendARMResources" + ], + "summary": "Validates that a backend can be linked to a static site", + "description": "Validates that a backend can be linked to a static site", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the static site", + "required": true, + "type": "string" + }, + { + "name": "linkedBackendName", + "in": "path", + "description": "Name of the linked backend that should be retrieved", + "required": true, + "type": "string" + }, + { + "name": "staticSiteLinkedBackendEnvelope", + "in": "body", + "description": "A JSON representation of the linked backend request properties", + "required": true, + "schema": { + "$ref": "#/definitions/StaticSiteLinkedBackendARMResource" + } + } + ], + "responses": { + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "There is no content to send for this request, but the headers may be useful." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "Validate if backend can be linked to static site.": { + "$ref": "./examples/ValidateLinkedBackendForStaticSite.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/listAppSettings": { + "post": { + "operationId": "StaticSites_ListStaticSiteAppSettings", + "tags": [ + "StaticSiteARMResources" + ], + "summary": "Gets the application settings of a static site.", + "description": "Description for Gets the application settings of a static site.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the static site.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/StringDictionary" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "Get app settings of a static site": { + "$ref": "./examples/ListStaticSiteAppSettings.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/listConfiguredRoles": { + "post": { + "operationId": "StaticSites_ListStaticSiteConfiguredRoles", + "tags": [ + "StaticSiteARMResources" + ], + "summary": "Lists the roles configured for the static site.", + "description": "Description for Lists the roles configured for the static site.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the static site.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/StringList" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "Lists the configured roles for a static site": { + "$ref": "./examples/ListStaticSiteConfiguredRoles.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/listFunctionAppSettings": { + "post": { + "operationId": "StaticSites_ListStaticSiteFunctionAppSettings", + "tags": [ + "StaticSiteARMResources" + ], + "summary": "Gets the application settings of a static site.", + "description": "Description for Gets the application settings of a static site.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the static site.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/StringDictionary" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "Get function app settings of a static site": { + "$ref": "./examples/ListStaticSiteFunctionAppSettings.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/listSecrets": { + "post": { + "operationId": "StaticSites_ListStaticSiteSecrets", + "tags": [ + "StaticSiteARMResources" + ], + "summary": "Lists the secrets for an existing static site.", + "description": "Description for Lists the secrets for an existing static site.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the static site.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/StringDictionary" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "List secrets for a static site": { + "$ref": "./examples/ListStaticSiteSecrets.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/privateEndpointConnections": { + "get": { + "operationId": "StaticSites_GetPrivateEndpointConnectionList", + "tags": [ + "StaticSites" + ], + "summary": "Gets the list of private endpoint connections associated with a static site", + "description": "Description for Gets the list of private endpoint connections associated with a static site", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the static site.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/PrivateEndpointConnectionCollection" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "Get a list of private endpoint connections associated with a site.": { + "$ref": "./examples/GetSitePrivateEndpointConnectionList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/privateEndpointConnections/{privateEndpointConnectionName}": { + "get": { + "operationId": "StaticSites_GetPrivateEndpointConnection", + "tags": [ + "StaticSites" + ], + "summary": "Gets a private endpoint connection", + "description": "Description for Gets a private endpoint connection", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the static site.", + "required": true, + "type": "string" + }, + { + "name": "privateEndpointConnectionName", + "in": "path", + "description": "Name of the private endpoint connection.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/RemotePrivateEndpointConnectionARMResource" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "Get a private endpoint connection for a site.": { + "$ref": "./examples/GetSitePrivateEndpointConnection_StaticSites.json" + } + } + }, + "put": { + "operationId": "StaticSites_ApproveOrRejectPrivateEndpointConnection", + "tags": [ + "StaticSites" + ], + "summary": "Approves or rejects a private endpoint connection", + "description": "Description for Approves or rejects a private endpoint connection", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the static site.", + "required": true, + "type": "string" + }, + { + "name": "privateEndpointConnectionName", + "in": "path", + "description": "Name of the private endpoint connection.", + "required": true, + "type": "string" + }, + { + "name": "privateEndpointWrapper", + "in": "body", + "description": "Request body.", + "required": true, + "schema": { + "$ref": "#/definitions/RemotePrivateEndpointConnectionARMResource" + } + } + ], + "responses": { + "200": { + "description": "Resource 'RemotePrivateEndpointConnectionARMResource' update operation succeeded", + "schema": { + "$ref": "#/definitions/RemotePrivateEndpointConnectionARMResource" + } + }, + "202": { + "description": "The request has been accepted for processing, but processing has not yet completed.", + "schema": { + "$ref": "#/definitions/RemotePrivateEndpointConnectionARMResource" + }, + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "Approves or rejects a private endpoint connection for a site.": { + "$ref": "./examples/ApproveRejectSitePrivateEndpointConnection_StaticSites.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "#/definitions/RemotePrivateEndpointConnectionARMResource" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "StaticSites_DeletePrivateEndpointConnection", + "tags": [ + "StaticSites" + ], + "summary": "Deletes a private endpoint connection", + "description": "Description for Deletes a private endpoint connection", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the static site.", + "required": true, + "type": "string" + }, + { + "name": "privateEndpointConnectionName", + "in": "path", + "description": "Name of the private endpoint connection.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": {} + }, + "202": { + "description": "The request has been accepted for processing, but processing has not yet completed.", + "schema": {}, + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "There is no content to send for this request, but the headers may be useful. ", + "schema": {} + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "Delete a private endpoint connection for a site.": { + "$ref": "./examples/DeleteSitePrivateEndpointConnection_StaticSites.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/privateLinkResources": { + "get": { + "operationId": "StaticSites_GetPrivateLinkResources", + "tags": [ + "StaticSiteARMResources" + ], + "summary": "Gets the private link resources", + "description": "Description for Gets the private link resources", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the static site.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/PrivateLinkResourcesWrapper" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "Get private link resources of a site": { + "$ref": "./examples/GetSitePrivateLinkResources.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/resetapikey": { + "post": { + "operationId": "StaticSites_ResetStaticSiteApiKey", + "tags": [ + "StaticSiteARMResources" + ], + "summary": "Resets the api key for an existing static site.", + "description": "Description for Resets the api key for an existing static site.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the static site.", + "required": true, + "type": "string" + }, + { + "name": "resetPropertiesEnvelope", + "in": "body", + "description": "", + "required": true, + "schema": { + "$ref": "#/definitions/StaticSiteResetPropertiesARMResource" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "Reset the api key for a static site": { + "$ref": "./examples/ResetStaticSiteApiKey.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/showDatabaseConnections": { + "post": { + "operationId": "StaticSites_GetDatabaseConnectionsWithDetails", + "tags": [ + "StaticSiteARMResources" + ], + "summary": "Returns details of database connections for a static site", + "description": "Returns details of database connections for a static site", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the static site.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/DatabaseConnectionCollection" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "List full details of database connections for the static site.": { + "$ref": "./examples/GetStaticSiteDatabaseConnectionsWithDetails.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/userProvidedFunctionApps": { + "get": { + "operationId": "StaticSites_GetUserProvidedFunctionAppsForStaticSite", + "tags": [ + "StaticSiteUserProvidedFunctionAppARMResourceOperationGroup" + ], + "summary": "Gets the details of the user provided function apps registered with a static site", + "description": "Description for Gets the details of the user provided function apps registered with a static site", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the static site.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/StaticSiteUserProvidedFunctionAppsCollection" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "Get details of the user provided function apps registered with a static site.": { + "$ref": "./examples/GetUserProvidedFunctionAppsForStaticSite.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/userProvidedFunctionApps/{functionAppName}": { + "get": { + "operationId": "StaticSites_GetUserProvidedFunctionAppForStaticSite", + "tags": [ + "StaticSiteUserProvidedFunctionAppARMResourceOperationGroup" + ], + "summary": "Gets the details of the user provided function app registered with a static site", + "description": "Description for Gets the details of the user provided function app registered with a static site", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the static site.", + "required": true, + "type": "string" + }, + { + "name": "functionAppName", + "in": "path", + "description": "Name of the function app registered with the static site.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/StaticSiteUserProvidedFunctionAppARMResource" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "Get details of the user provided function app registered with a static site.": { + "$ref": "./examples/GetUserProvidedFunctionAppForStaticSite.json" + } + } + }, + "put": { + "operationId": "StaticSites_RegisterUserProvidedFunctionAppWithStaticSite", + "tags": [ + "StaticSiteUserProvidedFunctionAppARMResourceOperationGroup" + ], + "summary": "Register a user provided function app with a static site", + "description": "Description for Register a user provided function app with a static site", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the static site.", + "required": true, + "type": "string" + }, + { + "name": "functionAppName", + "in": "path", + "description": "Name of the function app registered with the static site.", + "required": true, + "type": "string" + }, + { + "name": "isForced", + "in": "query", + "description": "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.", + "required": false, + "type": "boolean" + }, + { + "name": "staticSiteUserProvidedFunctionEnvelope", + "in": "body", + "description": "A JSON representation of the user provided function app properties. See example.", + "required": true, + "schema": { + "$ref": "#/definitions/StaticSiteUserProvidedFunctionAppARMResource" + } + } + ], + "responses": { + "200": { + "description": "Resource 'StaticSiteUserProvidedFunctionAppARMResource' update operation succeeded", + "schema": { + "$ref": "#/definitions/StaticSiteUserProvidedFunctionAppARMResource" + } + }, + "202": { + "description": "The request has been accepted for processing, but processing has not yet completed.", + "schema": { + "$ref": "#/definitions/StaticSiteUserProvidedFunctionAppARMResource" + }, + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "Register a user provided function app with a static site": { + "$ref": "./examples/RegisterUserProvidedFunctionAppWithStaticSite.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "#/definitions/StaticSiteUserProvidedFunctionAppARMResource" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "StaticSites_DetachUserProvidedFunctionAppFromStaticSite", + "tags": [ + "StaticSiteUserProvidedFunctionAppARMResourceOperationGroup" + ], + "summary": "Detach the user provided function app from the static site", + "description": "Description for Detach the user provided function app from the static site", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the static site.", + "required": true, + "type": "string" + }, + { + "name": "functionAppName", + "in": "path", + "description": "Name of the function app registered with the static site.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Resource deleted successfully." + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "Detach the user provided function app from the static site.": { + "$ref": "./examples/DetachUserProvidedFunctionAppFromStaticSite.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/zipdeploy": { + "post": { + "operationId": "StaticSites_CreateZipDeploymentForStaticSite", + "tags": [ + "StaticSiteARMResources" + ], + "summary": "Deploys zipped content to a static site.", + "description": "Description for Deploys zipped content to a static site.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the static site.", + "required": true, + "type": "string" + }, + { + "name": "staticSiteZipDeploymentEnvelope", + "in": "body", + "description": "A JSON representation of the StaticSiteZipDeployment properties. See example.", + "required": true, + "schema": { + "$ref": "#/definitions/StaticSiteZipDeploymentARMResource" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully." + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "Deploy a site from a zipped package": { + "$ref": "./examples/StaticSiteZipDeploy.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/validate": { + "post": { + "operationId": "Validate", + "summary": "Validate if a resource can be created.", + "description": "Description for Validate if a resource can be created.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "validateRequest", + "in": "body", + "description": "Request with the resources to validate.", + "required": true, + "schema": { + "$ref": "#/definitions/ValidateRequest" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ValidateResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.Web/hostingEnvironments/{name}/diagnostics/{diagnosticsName}": { + "get": { + "operationId": "AppServiceEnvironments_GetDiagnosticsItem", + "tags": [ + "AppServiceEnvironmentResources" + ], + "summary": "Get a diagnostics item for an App Service Environment.", + "description": "Description for Get a diagnostics item for an App Service Environment.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "diagnosticsName", + "in": "path", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/HostingEnvironmentDiagnostics" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "Get a diagnostics item for an App Service Environment.": { + "$ref": "./examples/AppServiceEnvironments_GetDiagnosticsItem.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.Web/hostingEnvironments/{name}/multiRolePools/default/instances/{instance}/metricdefinitions": { + "get": { + "operationId": "AppServiceEnvironments_ListMultiRolePoolInstanceMetricDefinitions", + "tags": [ + "WorkerPoolResources" + ], + "summary": "Get metric definitions for a specific instance of a multi-role pool of an App Service Environment.", + "description": "Description for Get metric definitions for a specific instance of a multi-role pool of an App Service Environment.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the App Service Environment.", + "required": true, + "type": "string" + }, + { + "name": "instance", + "in": "path", + "description": "Name of the instance in the multi-role pool.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ResourceMetricDefinitionCollection" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "Get metric definitions for a specific instance of a multi-role pool of an App Service Environment.": { + "$ref": "./examples/AppServiceEnvironments_ListMultiRolePoolInstanceMetricDefinitions.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.Web/hostingEnvironments/{name}/workerPools/{workerPoolName}/instances/{instance}/metricdefinitions": { + "get": { + "operationId": "AppServiceEnvironments_ListWorkerPoolInstanceMetricDefinitions", + "tags": [ + "AppServiceEnvironments" + ], + "summary": "Get metric definitions for a specific instance of a worker pool of an App Service Environment.", + "description": "Description for Get metric definitions for a specific instance of a worker pool of an App Service Environment.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the App Service Environment.", + "required": true, + "type": "string" + }, + { + "name": "workerPoolName", + "in": "path", + "description": "Name of the worker pool.", + "required": true, + "type": "string" + }, + { + "name": "instance", + "in": "path", + "description": "Name of the instance in the worker pool.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ResourceMetricDefinitionCollection" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "Get metric definitions for a specific instance of a worker pool of an App Service Environment.": { + "$ref": "./examples/AppServiceEnvironments_ListWorkerPoolInstanceMetricDefinitions.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.Web/serverfarms/{name}/workers/{workerName}/reboot": { + "post": { + "operationId": "AppServicePlans_RebootWorker", + "tags": [ + "AppServicePlans" + ], + "summary": "Reboot a worker machine in an App Service plan.", + "description": "Description for Reboot a worker machine in an App Service plan.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "App Service plan.", + "required": true, + "type": "string" + }, + { + "name": "workerName", + "in": "path", + "description": "Name of worker machine, which typically starts with RD.", + "required": true, + "type": "string" + } + ], + "responses": { + "204": { + "description": "There is no content to send for this request, but the headers may be useful." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.Web/serverfarms/{name}/workers/{workerName}/recycleinstance": { + "post": { + "operationId": "AppServicePlans_RecycleManagedInstanceWorker", + "tags": [ + "AppServicePlans" + ], + "summary": "Recycles a managed instance worker machine.", + "description": "Description for Recycles a managed instance worker machine.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "App Service plan.", + "required": true, + "type": "string" + }, + { + "name": "workerName", + "in": "path", + "description": "Name of worker machine, which typically starts with RD.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9]+$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/Operation" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.Web/sites/{name}/functions/{functionName}/keys/{keyName}": { + "put": { + "operationId": "WebApps_CreateOrUpdateFunctionSecret", + "tags": [ + "FunctionEnvelopes" + ], + "summary": "Add or update a function secret.", + "description": "Description for Add or update a function secret.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "functionName", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "keyName", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "key", + "in": "body", + "description": "The key to create or update", + "required": true, + "schema": { + "$ref": "#/definitions/KeyInfo" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/KeyInfo" + } + }, + "201": { + "description": "Resource 'KeyInfo' create operation succeeded", + "schema": { + "$ref": "#/definitions/KeyInfo" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + }, + "delete": { + "operationId": "WebApps_DeleteFunctionSecret", + "tags": [ + "FunctionEnvelopes" + ], + "summary": "Delete a function secret.", + "description": "Description for Delete a function secret.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "functionName", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "keyName", + "in": "path", + "required": true, + "type": "string" + } + ], + "responses": { + "204": { + "description": "There is no content to send for this request, but the headers may be useful." + }, + "404": { + "description": "The server cannot find the requested resource.", + "x-ms-error-response": true + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.Web/sites/{name}/host/default/{keyType}/{keyName}": { + "put": { + "operationId": "WebApps_CreateOrUpdateHostSecret", + "tags": [ + "Sites" + ], + "summary": "Add or update a host level secret.", + "description": "Description for Add or update a host level secret.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "keyType", + "in": "path", + "description": "The type of host key.", + "required": true, + "type": "string" + }, + { + "name": "keyName", + "in": "path", + "description": "The name of the key.", + "required": true, + "type": "string" + }, + { + "name": "key", + "in": "body", + "description": "The key to create or update", + "required": true, + "schema": { + "$ref": "#/definitions/KeyInfo" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/KeyInfo" + } + }, + "201": { + "description": "Resource 'KeyInfo' create operation succeeded", + "schema": { + "$ref": "#/definitions/KeyInfo" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + }, + "delete": { + "operationId": "WebApps_DeleteHostSecret", + "tags": [ + "Sites" + ], + "summary": "Delete a host level secret.", + "description": "Description for Delete a host level secret.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "keyType", + "in": "path", + "description": "The type of host key.", + "required": true, + "type": "string" + }, + { + "name": "keyName", + "in": "path", + "description": "The name of the key.", + "required": true, + "type": "string" + } + ], + "responses": { + "204": { + "description": "There is no content to send for this request, but the headers may be useful." + }, + "404": { + "description": "The server cannot find the requested resource.", + "x-ms-error-response": true + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.Web/sites/{name}/networkTrace/{operationId}": { + "get": { + "operationId": "WebApps_GetNetworkTraces", + "tags": [ + "Sites" + ], + "summary": "Gets a named operation for a network trace capturing (or deployment slot, if specified).", + "description": "Description for Gets a named operation for a network trace capturing (or deployment slot, if specified).", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "operationId", + "in": "path", + "description": "GUID of the operation.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "type": "array", + "items": { + "$ref": "#/definitions/NetworkTrace" + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "Get NetworkTraces for a site": { + "$ref": "./examples/GetWebSiteNetworkTraces.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.Web/sites/{name}/networkTrace/operationresults/{operationId}": { + "get": { + "operationId": "WebApps_GetNetworkTraceOperation", + "tags": [ + "Sites" + ], + "summary": "Gets a named operation for a network trace capturing (or deployment slot, if specified).", + "description": "Description for Gets a named operation for a network trace capturing (or deployment slot, if specified).", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "operationId", + "in": "path", + "description": "GUID of the operation.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "type": "array", + "items": { + "$ref": "#/definitions/NetworkTrace" + } + } + }, + "202": { + "description": "Azure operation completed successfully.", + "schema": { + "type": "array", + "items": { + "$ref": "#/definitions/NetworkTrace" + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "Get the current status of a network trace operation for a site": { + "$ref": "./examples/GetWebSiteNetworkTraceOperation.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.Web/sites/{name}/networkTraces/{operationId}": { + "get": { + "operationId": "WebApps_GetNetworkTracesV2", + "tags": [ + "Sites" + ], + "summary": "Gets a named operation for a network trace capturing (or deployment slot, if specified).", + "description": "Description for Gets a named operation for a network trace capturing (or deployment slot, if specified).", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "operationId", + "in": "path", + "description": "GUID of the operation.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "type": "array", + "items": { + "$ref": "#/definitions/NetworkTrace" + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "Get NetworkTraces for a site": { + "$ref": "./examples/GetWebSiteNetworkTraces_SlotV2.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.Web/sites/{name}/networkTraces/current/operationresults/{operationId}": { + "get": { + "operationId": "WebApps_GetNetworkTraceOperationV2", + "tags": [ + "Sites" + ], + "summary": "Gets a named operation for a network trace capturing (or deployment slot, if specified).", + "description": "Description for Gets a named operation for a network trace capturing (or deployment slot, if specified).", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "operationId", + "in": "path", + "description": "GUID of the operation.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "type": "array", + "items": { + "$ref": "#/definitions/NetworkTrace" + } + } + }, + "202": { + "description": "Azure operation completed successfully.", + "schema": { + "type": "array", + "items": { + "$ref": "#/definitions/NetworkTrace" + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "Get the current status of a network trace operation for a site": { + "$ref": "./examples/GetWebSiteNetworkTraceOperation_V2.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.Web/sites/{name}/slots/{slot}/host/default/{keyType}/{keyName}": { + "put": { + "operationId": "WebApps_CreateOrUpdateHostSecretSlot", + "tags": [ + "WebApps" + ], + "summary": "Add or update a host level secret.", + "description": "Description for Add or update a host level secret.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "slot", + "in": "path", + "description": "Name of the deployment slot. By default, this API returns the production slot.", + "required": true, + "type": "string" + }, + { + "name": "keyType", + "in": "path", + "description": "The type of host key.", + "required": true, + "type": "string" + }, + { + "name": "keyName", + "in": "path", + "description": "The name of the key.", + "required": true, + "type": "string" + }, + { + "name": "key", + "in": "body", + "description": "The key to create or update", + "required": true, + "schema": { + "$ref": "#/definitions/KeyInfo" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/KeyInfo" + } + }, + "201": { + "description": "Resource 'KeyInfo' create operation succeeded", + "schema": { + "$ref": "#/definitions/KeyInfo" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + }, + "delete": { + "operationId": "WebApps_DeleteHostSecretSlot", + "tags": [ + "WebApps" + ], + "summary": "Delete a host level secret.", + "description": "Description for Delete a host level secret.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "slot", + "in": "path", + "description": "Name of the deployment slot. By default, this API returns the production slot.", + "required": true, + "type": "string" + }, + { + "name": "keyType", + "in": "path", + "description": "The type of host key.", + "required": true, + "type": "string" + }, + { + "name": "keyName", + "in": "path", + "description": "The name of the key.", + "required": true, + "type": "string" + } + ], + "responses": { + "204": { + "description": "There is no content to send for this request, but the headers may be useful." + }, + "404": { + "description": "The server cannot find the requested resource.", + "x-ms-error-response": true + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.Web/sites/{name}/slots/{slot}/networkTrace/{operationId}": { + "get": { + "operationId": "WebApps_GetNetworkTracesSlot", + "tags": [ + "WebApps" + ], + "summary": "Gets a named operation for a network trace capturing (or deployment slot, if specified).", + "description": "Description for Gets a named operation for a network trace capturing (or deployment slot, if specified).", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "slot", + "in": "path", + "description": "Name of the deployment slot. By default, this API returns the production slot.", + "required": true, + "type": "string" + }, + { + "name": "operationId", + "in": "path", + "description": "GUID of the operation.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "type": "array", + "items": { + "$ref": "#/definitions/NetworkTrace" + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "Get NetworkTraces for a site": { + "$ref": "./examples/GetWebSiteNetworkTraces_Slot.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.Web/sites/{name}/slots/{slot}/networkTrace/operationresults/{operationId}": { + "get": { + "operationId": "WebApps_GetNetworkTraceOperationSlot", + "tags": [ + "WebApps" + ], + "summary": "Gets a named operation for a network trace capturing (or deployment slot, if specified).", + "description": "Description for Gets a named operation for a network trace capturing (or deployment slot, if specified).", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "slot", + "in": "path", + "description": "Name of the deployment slot. By default, this API returns the production slot.", + "required": true, + "type": "string" + }, + { + "name": "operationId", + "in": "path", + "description": "GUID of the operation.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "type": "array", + "items": { + "$ref": "#/definitions/NetworkTrace" + } + } + }, + "202": { + "description": "Azure operation completed successfully.", + "schema": { + "type": "array", + "items": { + "$ref": "#/definitions/NetworkTrace" + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "Get the current status of a network trace operation for a site": { + "$ref": "./examples/GetWebSiteNetworkTraceOperation_Slot.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.Web/sites/{name}/slots/{slot}/networkTraces/{operationId}": { + "get": { + "operationId": "WebApps_GetNetworkTracesSlotV2", + "tags": [ + "WebApps" + ], + "summary": "Gets a named operation for a network trace capturing (or deployment slot, if specified).", + "description": "Description for Gets a named operation for a network trace capturing (or deployment slot, if specified).", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "slot", + "in": "path", + "description": "Name of the deployment slot. By default, this API returns the production slot.", + "required": true, + "type": "string" + }, + { + "name": "operationId", + "in": "path", + "description": "GUID of the operation.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "type": "array", + "items": { + "$ref": "#/definitions/NetworkTrace" + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "Get NetworkTraces for a site": { + "$ref": "./examples/GetWebSiteNetworkTraces_GetNetworkTracesSlotV2.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.Web/sites/{name}/slots/{slot}/networkTraces/current/operationresults/{operationId}": { + "get": { + "operationId": "WebApps_GetNetworkTraceOperationSlotV2", + "tags": [ + "WebApps" + ], + "summary": "Gets a named operation for a network trace capturing (or deployment slot, if specified).", + "description": "Description for Gets a named operation for a network trace capturing (or deployment slot, if specified).", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "slot", + "in": "path", + "description": "Name of the deployment slot. By default, this API returns the production slot.", + "required": true, + "type": "string" + }, + { + "name": "operationId", + "in": "path", + "description": "GUID of the operation.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "type": "array", + "items": { + "$ref": "#/definitions/NetworkTrace" + } + } + }, + "202": { + "description": "Azure operation completed successfully.", + "schema": { + "type": "array", + "items": { + "$ref": "#/definitions/NetworkTrace" + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "Get the current status of a network trace operation for a site": { + "$ref": "./examples/GetWebSiteNetworkTraceOperation_SlotV2.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.Web/staticSites/{name}/authproviders/{authprovider}/listUsers": { + "post": { + "operationId": "StaticSites_ListStaticSiteUsers", + "tags": [ + "StaticSiteARMResources" + ], + "summary": "Gets the list of users of a static site.", + "description": "Description for Gets the list of users of a static site.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "authprovider", + "in": "path", + "description": "The auth provider for the users.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/StaticSiteUserCollection" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "List users for a static site": { + "$ref": "./examples/ListStaticSiteUsers.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.Web/staticSites/{name}/authproviders/{authprovider}/users/{userid}": { + "patch": { + "operationId": "StaticSites_UpdateStaticSiteUser", + "tags": [ + "StaticSiteARMResources" + ], + "summary": "Updates a user entry with the listed roles", + "description": "Description for Updates a user entry with the listed roles", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "authprovider", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "userid", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "staticSiteUserEnvelope", + "in": "body", + "description": "A JSON representation of the StaticSiteUser properties. See example.", + "required": true, + "schema": { + "$ref": "#/definitions/StaticSiteUserARMResource" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/StaticSiteUserARMResource" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "Create or update a user for a static site": { + "$ref": "./examples/UpdateStaticSiteUser.json" + } + } + }, + "delete": { + "operationId": "StaticSites_DeleteStaticSiteUser", + "tags": [ + "StaticSiteARMResources" + ], + "summary": "Deletes the user entry from the static site.", + "description": "Description for Deletes the user entry from the static site.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "authprovider", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "userid", + "in": "path", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "Delete a user for a static site": { + "$ref": "./examples/DeleteStaticSiteUser.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/validateMoveResources": { + "post": { + "operationId": "ValidateMove", + "summary": "Validate whether a resource can be moved.", + "description": "Description for Validate whether a resource can be moved.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "moveResourceEnvelope", + "in": "body", + "description": "Object that represents the resource to move.", + "required": true, + "schema": { + "$ref": "#/definitions/CsmMoveResourceEnvelope" + } + } + ], + "responses": { + "204": { + "description": "There is no content to send for this request, but the headers may be useful." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/DefaultErrorResponse" + } + } + } + } + } + }, + "definitions": { + "AbnormalTimePeriod": { + "type": "object", + "description": "Class representing Abnormal Time Period identified in diagnosis", + "properties": { + "startTime": { + "type": "string", + "format": "date-time", + "description": "Start time of the downtime" + }, + "endTime": { + "type": "string", + "format": "date-time", + "description": "End time of the downtime" + }, + "events": { + "type": "array", + "description": "List of Possible Cause of downtime", + "items": { + "$ref": "#/definitions/DetectorAbnormalTimePeriod" + }, + "xml": { + "wrapped": true + }, + "x-ms-identifiers": [] + }, + "solutions": { + "type": "array", + "description": "List of proposed solutions", + "items": { + "$ref": "#/definitions/Solution" + }, + "xml": { + "wrapped": true + } + } + } + }, + "AddressResponse": { + "type": "object", + "description": "Describes main public IP address and any extra virtual IPs.", + "properties": { + "properties": { + "$ref": "#/definitions/AddressResponseProperties", + "description": "AddressResponse resource specific properties", + "x-ms-client-flatten": true + }, + "kind": { + "type": "string", + "description": "Kind of resource." + } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ] + }, + "AddressResponseProperties": { + "type": "object", + "description": "AddressResponse resource specific properties", + "properties": { + "serviceIpAddress": { + "type": "string", + "description": "Main public virtual IP." + }, + "internalIpAddress": { + "type": "string", + "description": "Virtual Network internal IP address of the App Service Environment if it is in internal load-balancing mode." + }, + "outboundIpAddresses": { + "type": "array", + "description": "IP addresses appearing on outbound connections.", + "items": { + "type": "string" + }, + "xml": { + "wrapped": true + } + }, + "vipMappings": { + "type": "array", + "description": "Additional virtual IPs.", + "items": { + "$ref": "#/definitions/VirtualIPMapping" + }, + "xml": { + "wrapped": true + }, + "x-ms-identifiers": [ + "virtualIP" + ] + } + } + }, + "AllowedAudiencesValidation": { + "type": "object", + "description": "The configuration settings of the Allowed Audiences validation flow.", + "properties": { + "allowedAudiences": { + "type": "array", + "description": "The configuration settings of the allowed list of audiences from which to validate the JWT token.", + "items": { + "type": "string" + }, + "xml": { + "wrapped": true + } + } + } + }, + "AllowedPrincipals": { + "type": "object", + "description": "The configuration settings of the Azure Active Directory allowed principals.", + "properties": { + "groups": { + "type": "array", + "description": "The list of the allowed groups.", + "items": { + "type": "string" + }, + "xml": { + "wrapped": true + } + }, + "identities": { + "type": "array", + "description": "The list of the allowed identities.", + "items": { + "type": "string" + }, + "xml": { + "wrapped": true + } + } + } + }, + "AnalysisData": { + "type": "object", + "description": "Class Representing Detector Evidence used for analysis", + "properties": { + "source": { + "type": "string", + "description": "Name of the Detector" + }, + "detectorDefinition": { + "$ref": "#/definitions/DetectorDefinition", + "description": "Detector Definition" + }, + "metrics": { + "type": "array", + "description": "Source Metrics", + "items": { + "$ref": "#/definitions/DiagnosticMetricSet" + }, + "xml": { + "wrapped": true + }, + "x-ms-identifiers": [ + "name" + ] + }, + "data": { + "type": "array", + "description": "Additional Source Data", + "items": { + "type": "array", + "items": { + "$ref": "#/definitions/NameValuePair" + } + }, + "xml": { + "wrapped": true + }, + "x-ms-identifiers": [ + "name" + ] + }, + "detectorMetaData": { + "$ref": "#/definitions/ResponseMetaData", + "description": "Detector Meta Data" + } + } + }, + "AnalysisDefinition": { + "type": "object", + "description": "Definition of Analysis", + "properties": { + "properties": { + "$ref": "#/definitions/AnalysisDefinitionProperties", + "description": "AnalysisDefinition resource specific properties", + "x-ms-client-flatten": true + }, + "kind": { + "type": "string", + "description": "Kind of resource." + } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ] + }, + "AnalysisDefinitionProperties": { + "type": "object", + "description": "AnalysisDefinition resource specific properties", + "properties": { + "description": { + "type": "string", + "description": "Description of the Analysis", + "readOnly": true + } + } + }, + "ApiDefinitionInfo": { + "type": "object", + "description": "Information about the formal API definition for the app.", + "properties": { + "url": { + "type": "string", + "description": "The URL of the API definition." + } + } + }, + "ApiKVReference": { + "type": "object", + "description": "Description of site key vault references.", + "properties": { + "properties": { + "$ref": "#/definitions/ApiKVReferenceProperties", + "description": "ApiKVReference resource specific properties", + "x-ms-client-flatten": true + }, + "kind": { + "type": "string", + "description": "Kind of resource." + } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ] + }, + "ApiKVReferenceCollection": { + "type": "object", + "description": "Paged collection of ApiKVReference items", + "properties": { + "value": { + "type": "array", + "description": "The ApiKVReference items on this page", + "items": { + "$ref": "#/definitions/ApiKVReference" + }, + "xml": { + "wrapped": true + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "ApiKVReferenceProperties": { + "type": "object", + "description": "ApiKVReference resource specific properties", + "properties": { + "reference": { + "type": "string" + }, + "status": { + "$ref": "#/definitions/ResolveStatus" + }, + "vaultName": { + "type": "string" + }, + "secretName": { + "type": "string" + }, + "secretVersion": { + "type": "string" + }, + "identityType": { + "$ref": "#/definitions/ManagedServiceIdentity", + "description": "Managed service identity." + }, + "details": { + "type": "string" + }, + "source": { + "type": "string", + "enum": [ + "KeyVault" + ], + "x-ms-enum": { + "modelAsString": false + } + }, + "activeVersion": { + "type": "string" + } + } + }, + "ApiManagementConfig": { + "type": "object", + "description": "Azure API management (APIM) configuration linked to the app.", + "properties": { + "id": { + "type": "string", + "description": "APIM-Api Identifier." + } + } + }, + "AppInsightsWebAppStackSettings": { + "type": "object", + "description": "App Insights Web App stack settings.", + "properties": { + "isSupported": { + "type": "boolean", + "description": "true if remote Application Insights is supported for the stack; otherwise, false.", + "readOnly": true + }, + "isDefaultOff": { + "type": "boolean", + "description": "true if Application Insights is disabled by default for the stack; otherwise, false.", + "readOnly": true + } + } + }, + "AppLogsConfiguration": { + "type": "object", + "properties": { + "destination": { + "type": "string" + }, + "logAnalyticsConfiguration": { + "$ref": "#/definitions/LogAnalyticsConfiguration" + } + } + }, + "AppRegistration": { + "type": "object", + "description": "The configuration settings of the app registration for providers that have app ids and app secrets", + "properties": { + "appId": { + "type": "string", + "description": "The App ID of the app used for login." + }, + "appSecretSettingName": { + "type": "string", + "description": "The app setting name that contains the app secret." + } + } + }, + "AppServiceEnvironment": { + "type": "object", + "description": "Description of an App Service Environment.", + "properties": { + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "Provisioning state of the App Service Environment.", + "readOnly": true + }, + "status": { + "$ref": "#/definitions/HostingEnvironmentStatus", + "description": "Current status of the App Service Environment.", + "readOnly": true + }, + "virtualNetwork": { + "$ref": "#/definitions/VirtualNetworkProfile", + "description": "Description of the Virtual Network." + }, + "internalLoadBalancingMode": { + "$ref": "#/definitions/LoadBalancingMode", + "description": "Specifies which endpoints to serve internally in the Virtual Network for the App Service Environment." + }, + "multiSize": { + "type": "string", + "description": "Front-end VM size, e.g. \"Medium\", \"Large\"." + }, + "multiRoleCount": { + "type": "integer", + "format": "int32", + "description": "Number of front-end instances.", + "readOnly": true + }, + "ipsslAddressCount": { + "type": "integer", + "format": "int32", + "description": "Number of IP SSL addresses reserved for the App Service Environment." + }, + "dnsSuffix": { + "type": "string", + "description": "DNS suffix of the App Service Environment." + }, + "maximumNumberOfMachines": { + "type": "integer", + "format": "int32", + "description": "Maximum number of VMs in the App Service Environment.", + "readOnly": true + }, + "frontEndScaleFactor": { + "type": "integer", + "format": "int32", + "description": "Scale factor for front-ends." + }, + "suspended": { + "type": "boolean", + "description": "true if the App Service Environment is suspended; otherwise, false. The environment can be suspended, e.g. when the management endpoint is no longer available\n(most likely because NSG blocked the incoming traffic).", + "readOnly": true + }, + "clusterSettings": { + "type": "array", + "description": "Custom settings for changing the behavior of the App Service Environment.", + "items": { + "$ref": "#/definitions/NameValuePair" + }, + "xml": { + "wrapped": true + }, + "x-ms-identifiers": [ + "name" + ] + }, + "userWhitelistedIpRanges": { + "type": "array", + "description": "User added ip ranges to whitelist on ASE db", + "items": { + "type": "string" + }, + "xml": { + "wrapped": true + } + }, + "hasLinuxWorkers": { + "type": "boolean", + "description": "Flag that displays whether an ASE has linux workers or not", + "readOnly": true + }, + "upgradePreference": { + "type": "string", + "description": "Upgrade Preference", + "default": "None", + "enum": [ + "None", + "Early", + "Late", + "Manual" + ], + "x-ms-enum": { + "name": "UpgradePreference", + "modelAsString": true, + "values": [ + { + "name": "None", + "value": "None", + "description": "No preference on when this App Service Environment will be upgraded" + }, + { + "name": "Early", + "value": "Early", + "description": "This App Service Environment will be upgraded before others in the same region that have Upgrade Preference 'Late'" + }, + { + "name": "Late", + "value": "Late", + "description": "This App Service Environment will be upgraded after others in the same region that have Upgrade Preference 'Early'" + }, + { + "name": "Manual", + "value": "Manual", + "description": "ASEv3 only. Once an upgrade is available, this App Service Environment will wait 10 days for the upgrade to be manually initiated. After 10 days the upgrade will begin automatically" + } + ] + } + }, + "dedicatedHostCount": { + "type": "integer", + "format": "int32", + "description": "Dedicated Host Count" + }, + "zoneRedundant": { + "type": "boolean", + "description": "Whether or not this App Service Environment is zone-redundant." + }, + "customDnsSuffixConfiguration": { + "$ref": "#/definitions/CustomDnsSuffixConfiguration", + "description": "Full view of the custom domain suffix configuration for ASEv3." + }, + "networkingConfiguration": { + "$ref": "#/definitions/AseV3NetworkingConfiguration", + "description": "Full view of networking configuration for an ASE." + }, + "upgradeAvailability": { + "$ref": "#/definitions/UpgradeAvailability", + "description": "Whether an upgrade is available for this App Service Environment.", + "readOnly": true + } + }, + "required": [ + "virtualNetwork" + ] + }, + "AppServiceEnvironmentCollection": { + "type": "object", + "description": "Collection of App Service Environments.", + "properties": { + "value": { + "type": "array", + "description": "The AppServiceEnvironmentResource items on this page", + "items": { + "$ref": "#/definitions/AppServiceEnvironmentResource" + }, + "xml": { + "wrapped": true + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "AppServiceEnvironmentPatchResource": { + "type": "object", + "description": "ARM resource for a app service environment.", + "properties": { + "properties": { + "$ref": "#/definitions/AppServiceEnvironment", + "description": "Core resource properties", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "#/definitions/ProxyOnlyResource" + } + ] + }, + "AppServiceEnvironmentResource": { + "type": "object", + "description": "App Service Environment ARM resource.", + "properties": { + "properties": { + "$ref": "#/definitions/AppServiceEnvironment", + "description": "Core resource properties", + "x-ms-client-flatten": true + }, + "kind": { + "type": "string", + "description": "Kind of resource. If the resource is an app, you can refer to https://github.com/Azure/app-service-linux-docs/blob/master/Things_You_Should_Know/kind_property.md#app-service-resource-kind-reference for details supported values for kind." + } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" + } + ] + }, + "AppServicePlan": { + "type": "object", + "description": "App Service plan.", + "properties": { + "properties": { + "$ref": "#/definitions/AppServicePlanProperties", + "description": "AppServicePlan resource specific properties", + "x-ms-client-flatten": true + }, + "sku": { + "$ref": "#/definitions/SkuDescription", + "description": "Description of a SKU for a scalable resource." + }, + "extendedLocation": { + "$ref": "#/definitions/ExtendedLocation", + "description": "Extended Location." + }, + "kind": { + "type": "string", + "description": "Kind of resource. If the resource is an app, you can refer to https://github.com/Azure/app-service-linux-docs/blob/master/Things_You_Should_Know/kind_property.md#app-service-resource-kind-reference for details supported values for kind." + }, + "identity": { + "$ref": "#/definitions/ManagedServiceIdentity", + "description": "Managed service identity." + } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" + } + ] + }, + "AppServicePlanCollection": { + "type": "object", + "description": "Collection of App Service plans.", + "properties": { + "value": { + "type": "array", + "description": "The AppServicePlan items on this page", + "items": { + "$ref": "#/definitions/AppServicePlan" + }, + "xml": { + "wrapped": true + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "AppServicePlanPatchResource": { + "type": "object", + "description": "ARM resource for a app service plan.", + "properties": { + "properties": { + "$ref": "#/definitions/AppServicePlanPatchResourceProperties", + "description": "AppServicePlanPatchResource resource specific properties", + "x-ms-client-flatten": true + }, + "identity": { + "$ref": "#/definitions/ManagedServiceIdentity", + "description": "Managed service identity." + } + }, + "allOf": [ + { + "$ref": "#/definitions/ProxyOnlyResource" + } + ] + }, + "AppServicePlanPatchResourceProperties": { + "type": "object", + "description": "AppServicePlanPatchResource resource specific properties", + "properties": { + "workerTierName": { + "type": "string", + "description": "Target worker tier assigned to the App Service plan." + }, + "status": { + "$ref": "#/definitions/StatusOptions", + "description": "App Service plan status.", + "readOnly": true + }, + "subscription": { + "type": "string", + "description": "App Service plan subscription.", + "readOnly": true + }, + "hostingEnvironmentProfile": { + "$ref": "#/definitions/HostingEnvironmentProfile", + "description": "Specification for the App Service Environment to use for the App Service plan.", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "maximumNumberOfWorkers": { + "type": "integer", + "format": "int32", + "description": "Maximum number of instances that can be assigned to this App Service plan.", + "readOnly": true + }, + "numberOfWorkers": { + "type": "integer", + "format": "int32", + "description": "The number of instances that are assigned to this App Service plan.", + "readOnly": true + }, + "geoRegion": { + "type": "string", + "description": "Geographical location for the App Service plan.", + "readOnly": true + }, + "perSiteScaling": { + "type": "boolean", + "description": "If true, apps assigned to this App Service plan can be scaled independently.\nIf false, apps assigned to this App Service plan will scale to all instances of the plan.", + "default": false + }, + "elasticScaleEnabled": { + "type": "boolean", + "description": "ServerFarm supports ElasticScale. Apps in this plan will scale as if the ServerFarm was ElasticPremium sku" + }, + "maximumElasticWorkerCount": { + "type": "integer", + "format": "int32", + "description": "Maximum number of total workers allowed for this ElasticScaleEnabled App Service Plan" + }, + "numberOfSites": { + "type": "integer", + "format": "int32", + "description": "Number of apps assigned to this App Service plan.", + "readOnly": true + }, + "isSpot": { + "type": "boolean", + "description": "If true, this App Service Plan owns spot instances." + }, + "spotExpirationTime": { + "type": "string", + "format": "date-time", + "description": "The time when the server farm expires. Valid only if it is a spot server farm." + }, + "freeOfferExpirationTime": { + "type": "string", + "format": "date-time", + "description": "The time when the server farm free offer expires." + }, + "resourceGroup": { + "type": "string", + "description": "Resource group of the App Service plan.", + "readOnly": true + }, + "reserved": { + "type": "boolean", + "description": "If Linux app service plan true, false otherwise.", + "default": false, + "x-ms-mutability": [ + "read", + "create" + ] + }, + "isXenon": { + "type": "boolean", + "description": "Obsolete: If Hyper-V container app service plan true, false otherwise.", + "default": false, + "x-ms-mutability": [ + "read", + "create" + ] + }, + "hyperV": { + "type": "boolean", + "description": "If Hyper-V container app service plan true, false otherwise.", + "default": false, + "x-ms-mutability": [ + "read", + "create" + ] + }, + "targetWorkerCount": { + "type": "integer", + "format": "int32", + "description": "Scaling worker count." + }, + "targetWorkerSizeId": { + "type": "integer", + "format": "int32", + "description": "Scaling worker size ID." + }, + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "Provisioning state of the App Service Plan.", + "readOnly": true + }, + "kubeEnvironmentProfile": { + "$ref": "#/definitions/KubeEnvironmentProfile", + "description": "Specification for the Kubernetes Environment to use for the App Service plan." + }, + "zoneRedundant": { + "type": "boolean", + "description": "If true, this App Service Plan will perform availability zone balancing.\nIf false, this App Service Plan will not perform availability zone balancing.", + "default": false + } + } + }, + "AppServicePlanProperties": { + "type": "object", + "description": "AppServicePlan resource specific properties", + "properties": { + "workerTierName": { + "type": "string", + "description": "Target worker tier assigned to the App Service plan." + }, + "status": { + "$ref": "#/definitions/StatusOptions", + "description": "App Service plan status.", + "readOnly": true + }, + "subscription": { + "type": "string", + "description": "App Service plan subscription.", + "readOnly": true + }, + "hostingEnvironmentProfile": { + "$ref": "#/definitions/HostingEnvironmentProfile", + "description": "Specification for the App Service Environment to use for the App Service plan.", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "maximumNumberOfWorkers": { + "type": "integer", + "format": "int32", + "description": "Maximum number of instances that can be assigned to this App Service plan.", + "readOnly": true + }, + "numberOfWorkers": { + "type": "integer", + "format": "int32", + "description": "The number of instances that are assigned to this App Service plan.", + "readOnly": true + }, + "geoRegion": { + "type": "string", + "description": "Geographical location for the App Service plan.", + "readOnly": true + }, + "perSiteScaling": { + "type": "boolean", + "description": "If true, apps assigned to this App Service plan can be scaled independently.\nIf false, apps assigned to this App Service plan will scale to all instances of the plan." + }, + "elasticScaleEnabled": { + "type": "boolean", + "description": "ServerFarm supports ElasticScale. Apps in this plan will scale as if the ServerFarm was ElasticPremium sku" + }, + "maximumElasticWorkerCount": { + "type": "integer", + "format": "int32", + "description": "Maximum number of total workers allowed for this ElasticScaleEnabled App Service Plan" + }, + "numberOfSites": { + "type": "integer", + "format": "int32", + "description": "Number of apps assigned to this App Service plan.", + "readOnly": true + }, + "isSpot": { + "type": "boolean", + "description": "If true, this App Service Plan owns spot instances." + }, + "spotExpirationTime": { + "type": "string", + "format": "date-time", + "description": "The time when the server farm expires. Valid only if it is a spot server farm." + }, + "freeOfferExpirationTime": { + "type": "string", + "format": "date-time", + "description": "The time when the server farm free offer expires." + }, + "resourceGroup": { + "type": "string", + "description": "Resource group of the App Service plan.", + "readOnly": true + }, + "reserved": { + "type": "boolean", + "description": "If Linux app service plan true, false otherwise.", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "isXenon": { + "type": "boolean", + "description": "Obsolete: If Hyper-V container app service plan true, false otherwise.", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "hyperV": { + "type": "boolean", + "description": "If Hyper-V container app service plan true, false otherwise.", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "targetWorkerCount": { + "type": "integer", + "format": "int32", + "description": "Scaling worker count." + }, + "targetWorkerSizeId": { + "type": "integer", + "format": "int32", + "description": "Scaling worker size ID." + }, + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "Provisioning state of the App Service Plan.", + "readOnly": true + }, + "kubeEnvironmentProfile": { + "$ref": "#/definitions/KubeEnvironmentProfile", + "description": "Specification for the Kubernetes Environment to use for the App Service plan." + }, + "zoneRedundant": { + "type": "boolean", + "description": "If true, this App Service Plan will perform availability zone balancing.\nIf false, this App Service Plan will not perform availability zone balancing." + }, + "asyncScalingEnabled": { + "type": "boolean", + "description": "If true, this App Service Plan will attempt to scale asynchronously if there are insufficient workers to scale synchronously.\nIf false, this App Service Plan will only attempt sync scaling." + }, + "planDefaultIdentity": { + "$ref": "#/definitions/DefaultIdentity", + "description": "Identity to use by platform for various features and integrations using managed identity." + }, + "isCustomMode": { + "type": "boolean", + "description": "Whether this server farm is in custom mode." + }, + "registryAdapters": { + "type": "array", + "description": "Registry adapters associated with this App Service plan.", + "items": { + "$ref": "#/definitions/RegistryAdapter" + }, + "xml": { + "wrapped": true + }, + "x-ms-identifiers": [] + }, + "installScripts": { + "type": "array", + "description": "Install scripts associated with this App Service plan.", + "items": { + "$ref": "#/definitions/InstallScript" + }, + "xml": { + "wrapped": true + } + }, + "network": { + "$ref": "#/definitions/ServerFarmNetworkSettings", + "description": "All network settings for the server farm." + }, + "storageMounts": { + "type": "array", + "description": "Storage mounts associated with this App Service plan.", + "items": { + "$ref": "#/definitions/StorageMount" + }, + "xml": { + "wrapped": true + } + }, + "rdpEnabled": { + "type": "boolean", + "description": "If true, RDP access is enabled for this App Service plan. Only applicable for IsCustomMode ASPs.\nIf false, RDP access is disabled." + } + } + }, + "AppServicePlanRestrictions": { + "type": "string", + "description": "App Service plans this offer is restricted to.", + "enum": [ + "None", + "Free", + "Shared", + "Basic", + "Standard", + "Premium" + ], + "x-ms-enum": { + "name": "AppServicePlanRestrictions", + "modelAsString": false + } + }, + "Apple": { + "type": "object", + "description": "The configuration settings of the Apple provider.", + "properties": { + "enabled": { + "type": "boolean", + "description": "false if the Apple provider should not be enabled despite the set registration; otherwise, true." + }, + "registration": { + "$ref": "#/definitions/AppleRegistration", + "description": "The configuration settings of the Apple registration." + }, + "login": { + "$ref": "#/definitions/LoginScopes", + "description": "The configuration settings of the login flow." + } + } + }, + "AppleRegistration": { + "type": "object", + "description": "The configuration settings of the registration for the Apple provider", + "properties": { + "clientId": { + "type": "string", + "description": "The Client ID of the app used for login." + }, + "clientSecretSettingName": { + "type": "string", + "description": "The app setting name that contains the client secret." + } + } + }, + "ApplicationLogsConfig": { + "type": "object", + "description": "Application logs configuration.", + "properties": { + "fileSystem": { + "$ref": "#/definitions/FileSystemApplicationLogsConfig", + "description": "Application logs to file system configuration." + }, + "azureTableStorage": { + "$ref": "#/definitions/AzureTableStorageApplicationLogsConfig", + "description": "Application logs to azure table storage configuration." + }, + "azureBlobStorage": { + "$ref": "#/definitions/AzureBlobStorageApplicationLogsConfig", + "description": "Application logs to blob storage configuration." + } + } + }, + "ApplicationStack": { + "type": "object", + "description": "Application stack.", + "properties": { + "name": { + "type": "string", + "description": "Application stack name." + }, + "display": { + "type": "string", + "description": "Application stack display name." + }, + "dependency": { + "type": "string", + "description": "Application stack dependency." + }, + "majorVersions": { + "type": "array", + "description": "List of major versions available.", + "items": { + "$ref": "#/definitions/StackMajorVersion" + }, + "xml": { + "wrapped": true + }, + "x-ms-identifiers": [ + "runtimeVersion" + ] + }, + "frameworks": { + "type": "array", + "description": "List of frameworks associated with application stack.", + "items": { + "$ref": "#/definitions/ApplicationStack" + }, + "xml": { + "wrapped": true + }, + "x-ms-identifiers": [ + "name" + ] + }, + "isDeprecated": { + "type": "array", + "description": "true if this is the stack is deprecated; otherwise, false.", + "items": { + "$ref": "#/definitions/ApplicationStack" + }, + "xml": { + "wrapped": true + }, + "x-ms-identifiers": [ + "name" + ] + } + } + }, + "ApplicationStackCollection": { + "type": "object", + "description": "Collection of Application Stacks", + "properties": { + "value": { + "type": "array", + "description": "The ApplicationStackResource items on this page", + "items": { + "$ref": "#/definitions/ApplicationStackResource" + }, + "xml": { + "wrapped": true + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "ApplicationStackResource": { + "type": "object", + "description": "ARM resource for a ApplicationStack.", + "properties": { + "properties": { + "$ref": "#/definitions/ApplicationStack", + "description": "Core resource properties", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "#/definitions/ProxyOnlyResource" + } + ] + }, + "ArcConfiguration": { + "type": "object", + "properties": { + "artifactsStorageType": { + "$ref": "#/definitions/StorageType", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "artifactStorageClassName": { + "type": "string", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "artifactStorageMountPath": { + "type": "string", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "artifactStorageNodeName": { + "type": "string", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "artifactStorageAccessMode": { + "type": "string", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "frontEndServiceConfiguration": { + "$ref": "#/definitions/FrontEndConfiguration" + }, + "kubeConfig": { + "type": "string", + "format": "password", + "x-ms-mutability": [ + "update", + "create" + ], + "x-ms-secret": true + } + } + }, + "ArmIdWrapper": { + "type": "object", + "description": "A wrapper for an ARM resource id", + "properties": { + "id": { + "type": "string", + "readOnly": true + } + } + }, + "ArmPlan": { + "type": "object", + "description": "The plan object in Azure Resource Manager, represents a marketplace plan.", + "properties": { + "name": { + "type": "string", + "description": "The name." + }, + "publisher": { + "type": "string", + "description": "The publisher." + }, + "product": { + "type": "string", + "description": "The product." + }, + "promotionCode": { + "type": "string", + "description": "The promotion code." + }, + "version": { + "type": "string", + "description": "Version of product." + } + } + }, + "AseRegion": { + "type": "object", + "description": "ASE region.", + "properties": { + "properties": { + "$ref": "#/definitions/AseRegionProperties", + "description": "ASE region resource specific properties", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "#/definitions/ProxyOnlyResource" + } + ] + }, + "AseRegionCollection": { + "type": "object", + "description": "Collection of ASE regions.", + "properties": { + "value": { + "type": "array", + "description": "The AseRegion items on this page", + "items": { + "$ref": "#/definitions/AseRegion" + }, + "xml": { + "wrapped": true + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "AseRegionProperties": { + "type": "object", + "description": "ASE region resource specific properties", + "properties": { + "displayName": { + "type": "string", + "description": "Display name for region.", + "readOnly": true + }, + "standard": { + "type": "boolean", + "description": "Is region standard.", + "readOnly": true + }, + "dedicatedHost": { + "type": "boolean", + "description": "Dedicated host enabled.", + "readOnly": true + }, + "zoneRedundant": { + "type": "boolean", + "description": "Zone redundant deployment enabled.", + "readOnly": true + }, + "availableSku": { + "type": "array", + "description": "Available Skus in region.", + "items": { + "type": "string" + }, + "xml": { + "wrapped": true + } + }, + "availableOS": { + "type": "array", + "description": "Available OSs in region.", + "items": { + "type": "string" + }, + "xml": { + "wrapped": true + } + } + } + }, + "AseV3NetworkingConfiguration": { + "type": "object", + "description": "Full view of networking configuration for an ASE.", + "properties": { + "properties": { + "$ref": "#/definitions/AseV3NetworkingConfigurationProperties", + "description": "AseV3NetworkingConfiguration resource specific properties", + "x-ms-client-flatten": true + }, + "kind": { + "type": "string", + "description": "Kind of resource." + } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ] + }, + "AseV3NetworkingConfigurationProperties": { + "type": "object", + "description": "AseV3NetworkingConfiguration resource specific properties", + "properties": { + "windowsOutboundIpAddresses": { + "type": "array", + "items": { + "type": "string" + }, + "readOnly": true, + "xml": { + "wrapped": true + } + }, + "linuxOutboundIpAddresses": { + "type": "array", + "items": { + "type": "string" + }, + "readOnly": true, + "xml": { + "wrapped": true + } + }, + "externalInboundIpAddresses": { + "type": "array", + "items": { + "type": "string" + }, + "readOnly": true, + "xml": { + "wrapped": true + } + }, + "internalInboundIpAddresses": { + "type": "array", + "items": { + "type": "string" + }, + "readOnly": true, + "xml": { + "wrapped": true + } + }, + "allowNewPrivateEndpointConnections": { + "type": "boolean", + "description": "Property to enable and disable new private endpoint connection creation on ASE" + }, + "ftpEnabled": { + "type": "boolean", + "description": "Property to enable and disable FTP on ASEV3" + }, + "remoteDebugEnabled": { + "type": "boolean", + "description": "Property to enable and disable Remote Debug on ASEV3" + }, + "inboundIpAddressOverride": { + "type": "string", + "description": "Customer provided Inbound IP Address. Only able to be set on Ase create." + } + } + }, + "AuthPlatform": { + "type": "object", + "description": "The configuration settings of the platform of App Service Authentication/Authorization.", + "properties": { + "enabled": { + "type": "boolean", + "description": "true if the Authentication / Authorization feature is enabled for the current app; otherwise, false." + }, + "runtimeVersion": { + "type": "string", + "description": "The RuntimeVersion of the Authentication / Authorization feature in use for the current app.\nThe setting in this value can control the behavior of certain features in the Authentication / Authorization module." + }, + "configFilePath": { + "type": "string", + "description": "The path of the config file containing auth settings if they come from a file.\nIf the path is relative, base will the site's root directory." + } + } + }, + "AuthType": { + "type": "string", + "description": "Auth Type", + "enum": [ + "Anonymous", + "UserCredentials", + "SystemIdentity", + "UserAssigned" + ], + "x-ms-enum": { + "name": "AuthType", + "modelAsString": false + } + }, + "AuthenticationType": { + "type": "string", + "description": "Property to select authentication type to access the selected storage account. Available options: SystemAssignedIdentity, UserAssignedIdentity, StorageAccountConnectionString.", + "enum": [ + "SystemAssignedIdentity", + "UserAssignedIdentity", + "StorageAccountConnectionString" + ], + "x-ms-enum": { + "name": "AuthenticationType", + "modelAsString": true, + "values": [ + { + "name": "SystemAssignedIdentity", + "value": "SystemAssignedIdentity" + }, + { + "name": "UserAssignedIdentity", + "value": "UserAssignedIdentity" + }, + { + "name": "StorageAccountConnectionString", + "value": "StorageAccountConnectionString" + } + ] + } + }, + "AutoGeneratedDomainNameLabelScope": { + "type": "string", + "description": "Specifies the scope of uniqueness for the default hostname during resource creation", + "enum": [ + "TenantReuse", + "SubscriptionReuse", + "ResourceGroupReuse", + "NoReuse" + ], + "x-ms-enum": { + "name": "AutoGeneratedDomainNameLabelScope", + "modelAsString": false + } + }, + "AutoHealActionType": { + "type": "string", + "description": "Predefined action to be taken.", + "enum": [ + "Recycle", + "LogEvent", + "CustomAction" + ], + "x-ms-enum": { + "name": "AutoHealActionType", + "modelAsString": false + } + }, + "AutoHealActions": { + "type": "object", + "description": "Actions which to take by the auto-heal module when a rule is triggered.", + "properties": { + "actionType": { + "$ref": "#/definitions/AutoHealActionType", + "description": "Predefined action to be taken." + }, + "customAction": { + "$ref": "#/definitions/AutoHealCustomAction", + "description": "Custom action to be taken." + }, + "minProcessExecutionTime": { + "type": "string", + "description": "Minimum time the process must execute\nbefore taking the action" + } + } + }, + "AutoHealCustomAction": { + "type": "object", + "description": "Custom action to be executed\nwhen an auto heal rule is triggered.", + "properties": { + "exe": { + "type": "string", + "description": "Executable to be run." + }, + "parameters": { + "type": "string", + "description": "Parameters for the executable." + } + } + }, + "AutoHealRules": { + "type": "object", + "description": "Rules that can be defined for auto-heal.", + "properties": { + "triggers": { + "$ref": "#/definitions/AutoHealTriggers", + "description": "Conditions that describe when to execute the auto-heal actions." + }, + "actions": { + "$ref": "#/definitions/AutoHealActions", + "description": "Actions to be executed when a rule is triggered." + } + } + }, + "AutoHealTriggers": { + "type": "object", + "description": "Triggers for auto-heal.", + "properties": { + "requests": { + "$ref": "#/definitions/RequestsBasedTrigger", + "description": "A rule based on total requests." + }, + "privateBytesInKB": { + "type": "integer", + "format": "int32", + "description": "A rule based on private bytes." + }, + "statusCodes": { + "type": "array", + "description": "A rule based on status codes.", + "items": { + "$ref": "#/definitions/StatusCodesBasedTrigger" + }, + "xml": { + "wrapped": true + }, + "x-ms-identifiers": [ + "path" + ] + }, + "slowRequests": { + "$ref": "#/definitions/SlowRequestsBasedTrigger", + "description": "A rule based on request execution time." + }, + "slowRequestsWithPath": { + "type": "array", + "description": "A rule based on multiple Slow Requests Rule with path", + "items": { + "$ref": "#/definitions/SlowRequestsBasedTrigger" + }, + "xml": { + "wrapped": true + }, + "x-ms-identifiers": [ + "path" + ] + }, + "statusCodesRange": { + "type": "array", + "description": "A rule based on status codes ranges.", + "items": { + "$ref": "#/definitions/StatusCodesRangeBasedTrigger" + }, + "xml": { + "wrapped": true + }, + "x-ms-identifiers": [ + "path" + ] + } + } + }, + "AzureActiveDirectory": { + "type": "object", + "description": "The configuration settings of the Azure Active directory provider.", + "properties": { + "enabled": { + "type": "boolean", + "description": "false if the Azure Active Directory provider should not be enabled despite the set registration; otherwise, true." + }, + "registration": { + "$ref": "#/definitions/AzureActiveDirectoryRegistration", + "description": "The configuration settings of the Azure Active Directory app registration." + }, + "login": { + "$ref": "#/definitions/AzureActiveDirectoryLogin", + "description": "The configuration settings of the Azure Active Directory login flow." + }, + "validation": { + "$ref": "#/definitions/AzureActiveDirectoryValidation", + "description": "The configuration settings of the Azure Active Directory token validation flow." + }, + "isAutoProvisioned": { + "type": "boolean", + "description": "Gets a value indicating whether the Azure AD configuration was auto-provisioned using 1st party tooling.\nThis is an internal flag primarily intended to support the Azure Management Portal. Users should not\nread or write to this property." + } + } + }, + "AzureActiveDirectoryLogin": { + "type": "object", + "description": "The configuration settings of the Azure Active Directory login flow.", + "properties": { + "loginParameters": { + "type": "array", + "description": "Login parameters to send to the OpenID Connect authorization endpoint when\na user logs in. Each parameter must be in the form \"key=value\".", + "items": { + "type": "string" + }, + "xml": { + "wrapped": true + } + }, + "disableWWWAuthenticate": { + "type": "boolean", + "description": "true if the www-authenticate provider should be omitted from the request; otherwise, false." + } + } + }, + "AzureActiveDirectoryRegistration": { + "type": "object", + "description": "The configuration settings of the Azure Active Directory app registration.", + "properties": { + "openIdIssuer": { + "type": "string", + "description": "The OpenID Connect Issuer URI that represents the entity which issues access tokens for this application.\nWhen using Azure Active Directory, this value is the URI of the directory tenant, e.g. `https://login.microsoftonline.com/v2.0/{tenant-guid}/`.\nThis URI is a case-sensitive identifier for the token issuer.\nMore information on OpenID Connect Discovery: http://openid.net/specs/openid-connect-discovery-1_0.html" + }, + "clientId": { + "type": "string", + "description": "The Client ID of this relying party application, known as the client_id.\nThis setting is required for enabling OpenID Connection authentication with Azure Active Directory or\nother 3rd party OpenID Connect providers.\nMore information on OpenID Connect: http://openid.net/specs/openid-connect-core-1_0.html" + }, + "clientSecretSettingName": { + "type": "string", + "description": "The app setting name that contains the client secret of the relying party application." + }, + "clientSecretCertificateThumbprint": { + "type": "string", + "description": "An alternative to the client secret, that is the thumbprint of a certificate used for signing purposes. This property acts as\na replacement for the Client Secret. It is also optional." + }, + "clientSecretCertificateSubjectAlternativeName": { + "type": "string", + "description": "An alternative to the client secret thumbprint, that is the subject alternative name of a certificate used for signing purposes. This property acts as\na replacement for the Client Secret Certificate Thumbprint. It is also optional." + }, + "clientSecretCertificateIssuer": { + "type": "string", + "description": "An alternative to the client secret thumbprint, that is the issuer of a certificate used for signing purposes. This property acts as\na replacement for the Client Secret Certificate Thumbprint. It is also optional." + } + } + }, + "AzureActiveDirectoryValidation": { + "type": "object", + "description": "The configuration settings of the Azure Active Directory token validation flow.", + "properties": { + "jwtClaimChecks": { + "$ref": "#/definitions/JwtClaimChecks", + "description": "The configuration settings of the checks that should be made while validating the JWT Claims." + }, + "allowedAudiences": { + "type": "array", + "description": "The list of audiences that can make successful authentication/authorization requests.", + "items": { + "type": "string" + }, + "xml": { + "wrapped": true + } + }, + "defaultAuthorizationPolicy": { + "$ref": "#/definitions/DefaultAuthorizationPolicy", + "description": "The configuration settings of the default authorization policy." + } + } + }, + "AzureBlobStorageApplicationLogsConfig": { + "type": "object", + "description": "Application logs azure blob storage configuration.", + "properties": { + "level": { + "$ref": "#/definitions/LogLevel", + "description": "Log level." + }, + "sasUrl": { + "type": "string", + "description": "SAS url to a azure blob container with read/write/list/delete permissions." + }, + "retentionInDays": { + "type": "integer", + "format": "int32", + "description": "Retention in days.\nRemove blobs older than X days.\n0 or lower means no retention." + } + } + }, + "AzureBlobStorageHttpLogsConfig": { + "type": "object", + "description": "Http logs to azure blob storage configuration.", + "properties": { + "sasUrl": { + "type": "string", + "description": "SAS url to a azure blob container with read/write/list/delete permissions." + }, + "retentionInDays": { + "type": "integer", + "format": "int32", + "description": "Retention in days.\nRemove blobs older than X days.\n0 or lower means no retention." + }, + "enabled": { + "type": "boolean", + "description": "True if configuration is enabled, false if it is disabled and null if configuration is not set." + } + } + }, + "AzureResourceErrorInfo": { + "type": "object", + "description": "The azure resource error info.", + "properties": { + "message": { + "type": "string", + "description": "The error message." + }, + "details": { + "type": "array", + "description": "The error details.", + "items": { + "$ref": "#/definitions/AzureResourceErrorInfo" + }, + "xml": { + "wrapped": true + }, + "x-ms-identifiers": [ + "code" + ] + } + }, + "required": [ + "message" + ], + "allOf": [ + { + "$ref": "#/definitions/ErrorInfo" + } + ] + }, + "AzureResourceType": { + "type": "string", + "description": "Azure resource type.", + "enum": [ + "Website", + "TrafficManager" + ], + "x-ms-enum": { + "name": "AzureResourceType", + "modelAsString": false + } + }, + "AzureStaticWebApps": { + "type": "object", + "description": "The configuration settings of the Azure Static Web Apps provider.", + "properties": { + "enabled": { + "type": "boolean", + "description": "false if the Azure Static Web Apps provider should not be enabled despite the set registration; otherwise, true." + }, + "registration": { + "$ref": "#/definitions/AzureStaticWebAppsRegistration", + "description": "The configuration settings of the Azure Static Web Apps registration." + } + } + }, + "AzureStaticWebAppsRegistration": { + "type": "object", + "description": "The configuration settings of the registration for the Azure Static Web Apps provider", + "properties": { + "clientId": { + "type": "string", + "description": "The Client ID of the app used for login." + } + } + }, + "AzureStorageInfoValue": { + "type": "object", + "description": "Azure Files or Blob Storage access information value for dictionary storage.", + "properties": { + "type": { + "$ref": "#/definitions/AzureStorageType", + "description": "Type of storage." + }, + "accountName": { + "type": "string", + "description": "Name of the storage account." + }, + "shareName": { + "type": "string", + "description": "Name of the file share (container name, for Blob storage)." + }, + "accessKey": { + "type": "string", + "format": "password", + "description": "Access key for the storage account.", + "x-ms-secret": true + }, + "mountPath": { + "type": "string", + "description": "Path to mount the storage within the site's runtime environment." + }, + "state": { + "$ref": "#/definitions/AzureStorageState", + "description": "State of the storage account.", + "readOnly": true + }, + "protocol": { + "$ref": "#/definitions/AzureStorageProtocol", + "description": "Mounting protocol to use for the storage account." + } + } + }, + "AzureStoragePropertyDictionaryResource": { + "type": "object", + "description": "AzureStorageInfo dictionary resource.", + "properties": { + "properties": { + "type": "object", + "description": "Azure storage accounts.", + "additionalProperties": { + "$ref": "#/definitions/AzureStorageInfoValue" + }, + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "#/definitions/ProxyOnlyResource" + } + ] + }, + "AzureStorageProtocol": { + "type": "string", + "description": "Mounting protocol to use for the storage account.", + "enum": [ + "Smb", + "Http", + "Nfs" + ], + "x-ms-enum": { + "name": "AzureStorageProtocol", + "modelAsString": true, + "values": [ + { + "name": "Smb", + "value": "Smb" + }, + { + "name": "Http", + "value": "Http" + }, + { + "name": "Nfs", + "value": "Nfs" + } + ] + } + }, + "AzureStorageState": { + "type": "string", + "description": "State of the storage account.", + "enum": [ + "Ok", + "InvalidCredentials", + "InvalidShare", + "NotValidated" + ], + "x-ms-enum": { + "name": "AzureStorageState", + "modelAsString": false + } + }, + "AzureStorageType": { + "type": "string", + "description": "Type of storage.", + "enum": [ + "AzureFiles", + "AzureBlob" + ], + "x-ms-enum": { + "name": "AzureStorageType", + "modelAsString": false + } + }, + "AzureTableStorageApplicationLogsConfig": { + "type": "object", + "description": "Application logs to Azure table storage configuration.", + "properties": { + "level": { + "$ref": "#/definitions/LogLevel", + "description": "Log level." + }, + "sasUrl": { + "type": "string", + "description": "SAS URL to an Azure table with add/query/delete permissions." + } + }, + "required": [ + "sasUrl" + ] + }, + "BackupItem": { + "type": "object", + "description": "Backup description.", + "properties": { + "properties": { + "$ref": "#/definitions/BackupItemProperties", + "description": "BackupItem resource specific properties", + "x-ms-client-flatten": true + }, + "kind": { + "type": "string", + "description": "Kind of resource." + } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ] + }, + "BackupItemCollection": { + "type": "object", + "description": "Collection of backup items.", + "properties": { + "value": { + "type": "array", + "description": "The BackupItem items on this page", + "items": { + "$ref": "#/definitions/BackupItem" + }, + "xml": { + "wrapped": true + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "BackupItemProperties": { + "type": "object", + "description": "BackupItem resource specific properties", + "properties": { + "id": { + "type": "integer", + "format": "int32", + "description": "Id of the backup.", + "readOnly": true, + "x-ms-client-name": "BackupId" + }, + "storageAccountUrl": { + "type": "string", + "description": "SAS URL for the storage account container which contains this backup.", + "readOnly": true + }, + "blobName": { + "type": "string", + "description": "Name of the blob which contains data for this backup.", + "readOnly": true + }, + "name": { + "type": "string", + "description": "Name of this backup.", + "readOnly": true + }, + "status": { + "$ref": "#/definitions/BackupItemStatus", + "description": "Backup status.", + "readOnly": true + }, + "sizeInBytes": { + "type": "integer", + "format": "int64", + "description": "Size of the backup in bytes.", + "readOnly": true + }, + "created": { + "type": "string", + "format": "date-time", + "description": "Timestamp of the backup creation.", + "readOnly": true + }, + "log": { + "type": "string", + "description": "Details regarding this backup. Might contain an error message.", + "readOnly": true + }, + "databases": { + "type": "array", + "description": "List of databases included in the backup.", + "items": { + "$ref": "#/definitions/DatabaseBackupSetting" + }, + "readOnly": true, + "xml": { + "wrapped": true + }, + "x-ms-identifiers": [ + "name" + ] + }, + "scheduled": { + "type": "boolean", + "description": "True if this backup has been created due to a schedule being triggered.", + "readOnly": true + }, + "lastRestoreTimeStamp": { + "type": "string", + "format": "date-time", + "description": "Timestamp of a last restore operation which used this backup.", + "readOnly": true + }, + "finishedTimeStamp": { + "type": "string", + "format": "date-time", + "description": "Timestamp when this backup finished.", + "readOnly": true + }, + "correlationId": { + "type": "string", + "description": "Unique correlation identifier. Please use this along with the timestamp while communicating with Azure support.", + "readOnly": true + }, + "websiteSizeInBytes": { + "type": "integer", + "format": "int64", + "description": "Size of the original web app which has been backed up.", + "readOnly": true + } + } + }, + "BackupItemStatus": { + "type": "string", + "description": "Backup status.", + "enum": [ + "InProgress", + "Failed", + "Succeeded", + "TimedOut", + "Created", + "Skipped", + "PartiallySucceeded", + "DeleteInProgress", + "DeleteFailed", + "Deleted" + ], + "x-ms-enum": { + "name": "BackupItemStatus", + "modelAsString": false + } + }, + "BackupRequest": { + "type": "object", + "description": "Description of a backup which will be performed.", + "properties": { + "properties": { + "$ref": "#/definitions/BackupRequestProperties", + "description": "BackupRequest resource specific properties", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "#/definitions/ProxyOnlyResource" + } + ] + }, + "BackupRequestProperties": { + "type": "object", + "description": "BackupRequest resource specific properties", + "properties": { + "backupName": { + "type": "string", + "description": "Name of the backup." + }, + "enabled": { + "type": "boolean", + "description": "True if the backup schedule is enabled (must be included in that case), false if the backup schedule should be disabled." + }, + "storageAccountUrl": { + "type": "string", + "description": "SAS URL to the container." + }, + "backupSchedule": { + "$ref": "#/definitions/BackupSchedule", + "description": "Schedule for the backup if it is executed periodically." + }, + "databases": { + "type": "array", + "description": "Databases included in the backup.", + "items": { + "$ref": "#/definitions/DatabaseBackupSetting" + }, + "xml": { + "wrapped": true + }, + "x-ms-identifiers": [ + "name" + ] + } + }, + "required": [ + "storageAccountUrl" + ] + }, + "BackupSchedule": { + "type": "object", + "description": "Description of a backup schedule. Describes how often should be the backup performed and what should be the retention policy.", + "properties": { + "frequencyInterval": { + "type": "integer", + "format": "int32", + "description": "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": 7 + }, + "frequencyUnit": { + "type": "string", + "description": "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)", + "default": "Day", + "enum": [ + "Day", + "Hour" + ], + "x-ms-enum": { + "name": "FrequencyUnit", + "modelAsString": false + } + }, + "keepAtLeastOneBackup": { + "type": "boolean", + "description": "True if the retention policy should always keep at least one backup in the storage account, regardless how old it is; false otherwise.", + "default": true + }, + "retentionPeriodInDays": { + "type": "integer", + "format": "int32", + "description": "After how many days backups should be deleted.", + "default": 30 + }, + "startTime": { + "type": "string", + "format": "date-time", + "description": "When the schedule should start working." + }, + "lastExecutionTime": { + "type": "string", + "format": "date-time", + "description": "Last time when this schedule was triggered.", + "readOnly": true + } + }, + "required": [ + "frequencyInterval", + "frequencyUnit", + "keepAtLeastOneBackup", + "retentionPeriodInDays" + ] + }, + "BillingMeter": { + "type": "object", + "description": "App Service billing entity that contains information about meter which the Azure billing system utilizes to charge users for services.", + "properties": { + "properties": { + "$ref": "#/definitions/BillingMeterProperties", + "description": "BillingMeter resource specific properties", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "#/definitions/ProxyOnlyResource" + } + ] + }, + "BillingMeterCollection": { + "type": "object", + "description": "Collection of Billing Meters", + "properties": { + "value": { + "type": "array", + "description": "The BillingMeter items on this page", + "items": { + "$ref": "#/definitions/BillingMeter" + }, + "xml": { + "wrapped": true + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "BillingMeterProperties": { + "type": "object", + "description": "BillingMeter resource specific properties", + "properties": { + "meterId": { + "type": "string", + "description": "Meter GUID onboarded in Commerce" + }, + "billingLocation": { + "type": "string", + "description": "Azure Location of billable resource" + }, + "shortName": { + "type": "string", + "description": "Short Name from App Service Azure pricing Page" + }, + "friendlyName": { + "type": "string", + "description": "Friendly name of the meter" + }, + "resourceType": { + "type": "string", + "description": "App Service ResourceType meter used for" + }, + "osType": { + "type": "string", + "description": "App Service OS type meter used for" + }, + "multiplier": { + "type": "number", + "format": "double", + "description": "Meter Multiplier" + } + } + }, + "BlobStorageTokenStore": { + "type": "object", + "description": "The configuration settings of the storage of the tokens if blob storage is used.", + "properties": { + "sasUrlSettingName": { + "type": "string", + "description": "The name of the app setting containing the SAS URL of the blob storage containing the tokens." + } + } + }, + "BuildStatus": { + "type": "string", + "description": "The status of the static site build.", + "enum": [ + "WaitingForDeployment", + "Uploading", + "Deploying", + "Ready", + "Failed", + "Deleting", + "Detached" + ], + "x-ms-enum": { + "name": "BuildStatus", + "modelAsString": true, + "values": [ + { + "name": "WaitingForDeployment", + "value": "WaitingForDeployment" + }, + { + "name": "Uploading", + "value": "Uploading" + }, + { + "name": "Deploying", + "value": "Deploying" + }, + { + "name": "Ready", + "value": "Ready" + }, + { + "name": "Failed", + "value": "Failed" + }, + { + "name": "Deleting", + "value": "Deleting" + }, + { + "name": "Detached", + "value": "Detached" + } + ] + } + }, + "BuiltInAuthenticationProvider": { + "type": "string", + "description": "The default authentication provider to use when multiple providers are configured.\nThis setting is only needed if multiple providers are configured and the unauthenticated client\naction is set to \"RedirectToLoginPage\".", + "enum": [ + "AzureActiveDirectory", + "Facebook", + "Google", + "MicrosoftAccount", + "Twitter", + "Github" + ], + "x-ms-enum": { + "name": "BuiltInAuthenticationProvider", + "modelAsString": false + } + }, + "Capability": { + "type": "object", + "description": "Describes the capabilities/features allowed for a specific SKU.", + "properties": { + "name": { + "type": "string", + "description": "Name of the SKU capability." + }, + "value": { + "type": "string", + "description": "Value of the SKU capability." + }, + "reason": { + "type": "string", + "description": "Reason of the SKU capability." + } + } + }, + "Certificate": { + "type": "object", + "description": "SSL certificate for an app.", + "properties": { + "properties": { + "$ref": "#/definitions/CertificateProperties", + "description": "Certificate resource specific properties", + "x-ms-client-flatten": true + }, + "kind": { + "type": "string", + "description": "Kind of resource. If the resource is an app, you can refer to https://github.com/Azure/app-service-linux-docs/blob/master/Things_You_Should_Know/kind_property.md#app-service-resource-kind-reference for details supported values for kind." + } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" + } + ] + }, + "CertificateCollection": { + "type": "object", + "description": "Collection of certificates.", + "properties": { + "value": { + "type": "array", + "description": "The Certificate items on this page", + "items": { + "$ref": "#/definitions/Certificate" + }, + "xml": { + "wrapped": true + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "CertificatePatchResource": { + "type": "object", + "description": "ARM resource for a certificate.", + "properties": { + "properties": { + "$ref": "#/definitions/CertificatePatchResourceProperties", + "description": "CertificatePatchResource resource specific properties", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "#/definitions/ProxyOnlyResource" + } + ] + }, + "CertificatePatchResourceProperties": { + "type": "object", + "description": "CertificatePatchResource resource specific properties", + "properties": { + "password": { + "type": "string", + "description": "Certificate password.", + "readOnly": true + }, + "friendlyName": { + "type": "string", + "description": "Friendly name of the certificate.", + "readOnly": true + }, + "subjectName": { + "type": "string", + "description": "Subject name of the certificate.", + "readOnly": true + }, + "hostNames": { + "type": "array", + "description": "Host names the certificate applies to.", + "items": { + "type": "string" + }, + "xml": { + "wrapped": true + } + }, + "pfxBlob": { + "type": "string", + "format": "byte", + "description": "Pfx blob." + }, + "siteName": { + "type": "string", + "description": "App name.", + "readOnly": true + }, + "selfLink": { + "type": "string", + "description": "Self link.", + "readOnly": true + }, + "issuer": { + "type": "string", + "description": "Certificate issuer.", + "readOnly": true + }, + "issueDate": { + "type": "string", + "format": "date-time", + "description": "Certificate issue Date.", + "readOnly": true + }, + "expirationDate": { + "type": "string", + "format": "date-time", + "description": "Certificate expiration date.", + "readOnly": true + }, + "thumbprint": { + "type": "string", + "description": "Certificate thumbprint.", + "readOnly": true + }, + "valid": { + "type": "boolean", + "description": "Is the certificate valid?.", + "readOnly": true + }, + "cerBlob": { + "type": "string", + "format": "byte", + "description": "Raw bytes of .cer file", + "readOnly": true + }, + "publicKeyHash": { + "type": "string", + "description": "Public key hash.", + "readOnly": true + }, + "hostingEnvironmentProfile": { + "$ref": "#/definitions/HostingEnvironmentProfile", + "description": "Specification for the App Service Environment to use for the certificate.", + "readOnly": true + }, + "keyVaultId": { + "type": "string", + "description": "Key Vault Csm resource Id." + }, + "keyVaultSecretName": { + "type": "string", + "description": "Key Vault secret name." + }, + "keyVaultSecretStatus": { + "$ref": "#/definitions/KeyVaultSecretStatus", + "description": "Status of the Key Vault secret.", + "readOnly": true + }, + "serverFarmId": { + "type": "string", + "description": "Resource ID of the associated App Service plan, formatted as: \"/subscriptions/{subscriptionID}/resourceGroups/{groupName}/providers/Microsoft.Web/serverfarms/{appServicePlanName}\"." + }, + "canonicalName": { + "type": "string", + "description": "CNAME of the certificate to be issued via free certificate" + }, + "domainValidationMethod": { + "type": "string", + "description": "Method of domain validation for free cert" + } + } + }, + "CertificateProperties": { + "type": "object", + "description": "Certificate resource specific properties", + "properties": { + "password": { + "type": "string", + "description": "Certificate password." + }, + "friendlyName": { + "type": "string", + "description": "Friendly name of the certificate.", + "readOnly": true + }, + "subjectName": { + "type": "string", + "description": "Subject name of the certificate.", + "readOnly": true + }, + "hostNames": { + "type": "array", + "description": "Host names the certificate applies to.", + "items": { + "type": "string" + }, + "xml": { + "wrapped": true + } + }, + "pfxBlob": { + "type": "string", + "format": "byte", + "description": "Pfx blob." + }, + "siteName": { + "type": "string", + "description": "App name.", + "readOnly": true + }, + "selfLink": { + "type": "string", + "description": "Self link.", + "readOnly": true + }, + "issuer": { + "type": "string", + "description": "Certificate issuer.", + "readOnly": true + }, + "issueDate": { + "type": "string", + "format": "date-time", + "description": "Certificate issue Date.", + "readOnly": true + }, + "expirationDate": { + "type": "string", + "format": "date-time", + "description": "Certificate expiration date.", + "readOnly": true + }, + "thumbprint": { + "type": "string", + "description": "Certificate thumbprint.", + "readOnly": true + }, + "valid": { + "type": "boolean", + "description": "Is the certificate valid?.", + "readOnly": true + }, + "cerBlob": { + "type": "string", + "format": "byte", + "description": "Raw bytes of .cer file", + "readOnly": true + }, + "publicKeyHash": { + "type": "string", + "description": "Public key hash.", + "readOnly": true + }, + "hostingEnvironmentProfile": { + "$ref": "#/definitions/HostingEnvironmentProfile", + "description": "Specification for the App Service Environment to use for the certificate.", + "readOnly": true + }, + "keyVaultId": { + "type": "string", + "format": "arm-id", + "description": "Azure Key Vault Csm resource Id.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.KeyVault/vaults" + } + ] + } + }, + "keyVaultSecretName": { + "type": "string", + "description": "Azure Key Vault secret name." + }, + "keyVaultSecretStatus": { + "$ref": "#/definitions/KeyVaultSecretStatus", + "description": "Status of the Key Vault secret.", + "readOnly": true + }, + "serverFarmId": { + "type": "string", + "format": "arm-id", + "description": "Resource ID of the associated App Service plan.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.Web/serverfarms" + } + ] + } + }, + "canonicalName": { + "type": "string", + "description": "CNAME of the certificate to be issued via free certificate" + }, + "domainValidationMethod": { + "type": "string", + "description": "Method of domain validation for free cert" + } + } + }, + "Channels": { + "type": "string", + "description": "List of channels that this recommendation can apply.", + "enum": [ + "Notification", + "Api", + "Email", + "Webhook", + "All" + ], + "x-ms-enum": { + "name": "Channels", + "modelAsString": false + } + }, + "CheckNameResourceTypes": { + "type": "string", + "description": "Resource type used for verification.", + "enum": [ + "Site", + "Slot", + "HostingEnvironment", + "PublishingUser", + "Microsoft.Web/sites", + "Microsoft.Web/sites/slots", + "Microsoft.Web/hostingEnvironments", + "Microsoft.Web/publishingUsers" + ], + "x-ms-enum": { + "name": "CheckNameResourceTypes", + "modelAsString": true, + "values": [ + { + "name": "Site", + "value": "Site" + }, + { + "name": "Slot", + "value": "Slot" + }, + { + "name": "HostingEnvironment", + "value": "HostingEnvironment" + }, + { + "name": "PublishingUser", + "value": "PublishingUser" + }, + { + "name": "Microsoft.Web/sites", + "value": "Microsoft.Web/sites" + }, + { + "name": "Microsoft.Web/sites/slots", + "value": "Microsoft.Web/sites/slots" + }, + { + "name": "Microsoft.Web/hostingEnvironments", + "value": "Microsoft.Web/hostingEnvironments" + }, + { + "name": "Microsoft.Web/publishingUsers", + "value": "Microsoft.Web/publishingUsers" + } + ] + } + }, + "ClientCertMode": { + "type": "string", + "description": "This composes with ClientCertEnabled setting.\n- ClientCertEnabled: false means ClientCert is ignored.\n- ClientCertEnabled: true and ClientCertMode: Required means ClientCert is required.\n- ClientCertEnabled: true and ClientCertMode: Optional means ClientCert is optional or accepted.", + "enum": [ + "Required", + "Optional", + "OptionalInteractiveUser" + ], + "x-ms-enum": { + "name": "ClientCertMode", + "modelAsString": false + } + }, + "ClientRegistration": { + "type": "object", + "description": "The configuration settings of the app registration for providers that have client ids and client secrets", + "properties": { + "clientId": { + "type": "string", + "description": "The Client ID of the app used for login." + }, + "clientSecretSettingName": { + "type": "string", + "description": "The app setting name that contains the client secret." + } + } + }, + "CloneAbilityResult": { + "type": "string", + "description": "Name of app.", + "enum": [ + "Cloneable", + "PartiallyCloneable", + "NotCloneable" + ], + "x-ms-enum": { + "name": "CloneAbilityResult", + "modelAsString": false + } + }, + "CloningInfo": { + "type": "object", + "description": "Information needed for cloning operation.", + "properties": { + "correlationId": { + "type": "string", + "format": "uuid", + "description": "Correlation ID of cloning operation. This ID ties multiple cloning operations\ntogether to use the same snapshot." + }, + "overwrite": { + "type": "boolean", + "description": "true to overwrite destination app; otherwise, false." + }, + "cloneCustomHostNames": { + "type": "boolean", + "description": "true to clone custom hostnames from source app; otherwise, false." + }, + "cloneSourceControl": { + "type": "boolean", + "description": "true to clone source control from source app; otherwise, false." + }, + "sourceWebAppId": { + "type": "string", + "description": "ARM resource ID of the source app. App resource ID is of the form\n/subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName} for production slots and\n/subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/slots/{slotName} for other slots." + }, + "sourceWebAppLocation": { + "type": "string", + "description": "Location of source app ex: West US or North Europe" + }, + "hostingEnvironment": { + "type": "string", + "description": "App Service Environment." + }, + "appSettingsOverrides": { + "type": "object", + "description": "Application setting overrides for cloned app. If specified, these settings override the settings cloned\nfrom source app. Otherwise, application settings from source app are retained.", + "additionalProperties": { + "type": "string" + } + }, + "configureLoadBalancing": { + "type": "boolean", + "description": "true to configure load balancing for source and destination app." + }, + "trafficManagerProfileId": { + "type": "string", + "description": "ARM resource ID of the Traffic Manager profile to use, if it exists. Traffic Manager resource ID is of the form\n/subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficManagerProfiles/{profileName}." + }, + "trafficManagerProfileName": { + "type": "string", + "description": "Name of Traffic Manager profile to create. This is only needed if Traffic Manager profile does not already exist." + } + }, + "required": [ + "sourceWebAppId" + ] + }, + "ComputeModeOptions": { + "type": "string", + "description": "Shared/dedicated workers.", + "enum": [ + "Shared", + "Dedicated", + "Dynamic" + ], + "x-ms-enum": { + "name": "ComputeModeOptions", + "modelAsString": false + } + }, + "ConnStringInfo": { + "type": "object", + "description": "Database connection string information.", + "properties": { + "name": { + "type": "string", + "description": "Name of connection string." + }, + "connectionString": { + "type": "string", + "description": "Connection string value." + }, + "type": { + "$ref": "#/definitions/ConnectionStringType", + "description": "Type of database." + } + } + }, + "ConnStringValueTypePair": { + "type": "object", + "description": "Database connection string value to type pair.", + "properties": { + "value": { + "type": "string", + "description": "Value of pair." + }, + "type": { + "$ref": "#/definitions/ConnectionStringType", + "description": "Type of database." + } + }, + "required": [ + "value", + "type" + ] + }, + "ConnectionStringDictionary": { + "type": "object", + "description": "String dictionary resource.", + "properties": { + "properties": { + "type": "object", + "description": "Connection strings.", + "additionalProperties": { + "$ref": "#/definitions/ConnStringValueTypePair" + }, + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "#/definitions/ProxyOnlyResource" + } + ] + }, + "ConnectionStringType": { + "type": "string", + "description": "Type of database.", + "enum": [ + "MySql", + "SQLServer", + "SQLAzure", + "Custom", + "NotificationHub", + "ServiceBus", + "EventHub", + "ApiHub", + "DocDb", + "RedisCache", + "PostgreSQL" + ], + "x-ms-enum": { + "name": "ConnectionStringType", + "modelAsString": false + } + }, + "ContainerAppsConfiguration": { + "type": "object", + "properties": { + "daprAIInstrumentationKey": { + "type": "string", + "description": "Azure Monitor instrumentation key used by Dapr to export Service to Service communication telemetry", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "platformReservedCidr": { + "type": "string", + "description": "IP range in CIDR notation that can be reserved for environment infrastructure IP addresses. It must not overlap with any other Subnet IP ranges.", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "platformReservedDnsIP": { + "type": "string", + "description": "An IP address from the IP range defined by platformReservedCidr that will be reserved for the internal DNS server", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "controlPlaneSubnetResourceId": { + "type": "string", + "description": "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.", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "appSubnetResourceId": { + "type": "string", + "description": "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.", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "dockerBridgeCidr": { + "type": "string", + "description": "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.", + "x-ms-mutability": [ + "read", + "create" + ] + } + } + }, + "ContainerCpuStatistics": { + "type": "object", + "properties": { + "cpuUsage": { + "$ref": "#/definitions/ContainerCpuUsage" + }, + "systemCpuUsage": { + "type": "integer", + "format": "int64" + }, + "onlineCpuCount": { + "type": "integer", + "format": "int32" + }, + "throttlingData": { + "$ref": "#/definitions/ContainerThrottlingData" + } + } + }, + "ContainerCpuUsage": { + "type": "object", + "properties": { + "totalUsage": { + "type": "integer", + "format": "int64" + }, + "perCpuUsage": { + "type": "array", + "items": { + "type": "integer", + "format": "int64" + }, + "xml": { + "wrapped": true + } + }, + "kernelModeUsage": { + "type": "integer", + "format": "int64" + }, + "userModeUsage": { + "type": "integer", + "format": "int64" + } + } + }, + "ContainerInfo": { + "type": "object", + "properties": { + "currentTimeStamp": { + "type": "string", + "format": "date-time" + }, + "previousTimeStamp": { + "type": "string", + "format": "date-time" + }, + "currentCpuStats": { + "$ref": "#/definitions/ContainerCpuStatistics" + }, + "previousCpuStats": { + "$ref": "#/definitions/ContainerCpuStatistics" + }, + "memoryStats": { + "$ref": "#/definitions/ContainerMemoryStatistics" + }, + "name": { + "type": "string" + }, + "id": { + "type": "string" + }, + "eth0": { + "$ref": "#/definitions/ContainerNetworkInterfaceStatistics" + } + } + }, + "ContainerMemoryStatistics": { + "type": "object", + "properties": { + "usage": { + "type": "integer", + "format": "int64" + }, + "maxUsage": { + "type": "integer", + "format": "int64" + }, + "limit": { + "type": "integer", + "format": "int64" + } + } + }, + "ContainerNetworkInterfaceStatistics": { + "type": "object", + "properties": { + "rxBytes": { + "type": "integer", + "format": "int64" + }, + "rxPackets": { + "type": "integer", + "format": "int64" + }, + "rxErrors": { + "type": "integer", + "format": "int64" + }, + "rxDropped": { + "type": "integer", + "format": "int64" + }, + "txBytes": { + "type": "integer", + "format": "int64" + }, + "txPackets": { + "type": "integer", + "format": "int64" + }, + "txErrors": { + "type": "integer", + "format": "int64" + }, + "txDropped": { + "type": "integer", + "format": "int64" + } + } + }, + "ContainerThrottlingData": { + "type": "object", + "properties": { + "periods": { + "type": "integer", + "format": "int32" + }, + "throttledPeriods": { + "type": "integer", + "format": "int32" + }, + "throttledTime": { + "type": "integer", + "format": "int32" + } + } + }, + "ContentHash": { + "type": "object", + "description": "The content hash.", + "properties": { + "algorithm": { + "type": "string", + "description": "The algorithm of the content hash." + }, + "value": { + "type": "string", + "description": "The value of the content hash." + } + } + }, + "ContentLink": { + "type": "object", + "description": "The content link.", + "properties": { + "uri": { + "type": "string", + "description": "The content link URI." + }, + "contentVersion": { + "type": "string", + "description": "The content version.", + "readOnly": true + }, + "contentSize": { + "type": "integer", + "format": "int64", + "description": "The content size.", + "readOnly": true + }, + "contentHash": { + "$ref": "#/definitions/ContentHash", + "description": "The content hash.", + "readOnly": true + }, + "metadata": { + "description": "The metadata.", + "readOnly": true + } + } + }, + "ContinuousWebJob": { + "type": "object", + "description": "Continuous Web Job Information.", + "properties": { + "properties": { + "$ref": "#/definitions/ContinuousWebJobProperties", + "description": "ContinuousWebJob resource specific properties", + "x-ms-client-flatten": true + }, + "kind": { + "type": "string", + "description": "Kind of resource." + } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ] + }, + "ContinuousWebJobCollection": { + "type": "object", + "description": "Collection of Kudu continuous web job information elements.", + "properties": { + "value": { + "type": "array", + "description": "The ContinuousWebJob items on this page", + "items": { + "$ref": "#/definitions/ContinuousWebJob" + }, + "xml": { + "wrapped": true + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "ContinuousWebJobProperties": { + "type": "object", + "description": "ContinuousWebJob resource specific properties", + "properties": { + "status": { + "$ref": "#/definitions/ContinuousWebJobStatus", + "description": "Job status." + }, + "detailed_status": { + "type": "string", + "description": "Detailed status.", + "x-ms-client-name": "detailedStatus" + }, + "log_url": { + "type": "string", + "description": "Log URL.", + "x-ms-client-name": "logUrl" + }, + "run_command": { + "type": "string", + "description": "Run command.", + "x-ms-client-name": "runCommand" + }, + "url": { + "type": "string", + "description": "Job URL." + }, + "extra_info_url": { + "type": "string", + "description": "Extra Info URL.", + "x-ms-client-name": "extraInfoUrl" + }, + "web_job_type": { + "$ref": "#/definitions/WebJobType", + "description": "Job type.", + "x-ms-client-name": "webJobType" + }, + "error": { + "type": "string", + "description": "Error information." + }, + "using_sdk": { + "type": "boolean", + "description": "Using SDK?", + "x-ms-client-name": "usingSdk" + }, + "settings": { + "type": "object", + "description": "Job settings.", + "additionalProperties": {} + } + } + }, + "ContinuousWebJobStatus": { + "type": "string", + "description": "Job status.", + "enum": [ + "Initializing", + "Starting", + "Running", + "PendingRestart", + "Stopped" + ], + "x-ms-enum": { + "name": "ContinuousWebJobStatus", + "modelAsString": false + } + }, + "CookieExpiration": { + "type": "object", + "description": "The configuration settings of the session cookie's expiration.", + "properties": { + "convention": { + "$ref": "#/definitions/CookieExpirationConvention", + "description": "The convention used when determining the session cookie's expiration." + }, + "timeToExpiration": { + "type": "string", + "description": "The time after the request is made when the session cookie should expire." + } + } + }, + "CookieExpirationConvention": { + "type": "string", + "description": "The convention used when determining the session cookie's expiration.", + "enum": [ + "FixedTime", + "IdentityProviderDerived" + ], + "x-ms-enum": { + "name": "CookieExpirationConvention", + "modelAsString": false + } + }, + "Correlation": { + "type": "object", + "description": "The correlation property.", + "properties": { + "clientTrackingId": { + "type": "string", + "description": "The client tracking id." + } + } + }, + "CorsSettings": { + "type": "object", + "description": "Cross-Origin Resource Sharing (CORS) settings for the app.", + "properties": { + "allowedOrigins": { + "type": "array", + "description": "Gets or sets the list of origins that should be allowed to make cross-origin\ncalls (for example: http://example.com:12345). Use \"*\" to allow all.", + "items": { + "type": "string" + }, + "xml": { + "wrapped": true + } + }, + "supportCredentials": { + "type": "boolean", + "description": "Gets or sets whether CORS requests with credentials are allowed. See\nhttps://developer.mozilla.org/en-US/docs/Web/HTTP/CORS#Requests_with_credentials\nfor more details." + } + } + }, + "CsmDeploymentStatus": { + "type": "object", + "description": "Deployment status response payload.", + "properties": { + "properties": { + "$ref": "#/definitions/CsmDeploymentStatusProperties", + "description": "CsmDeploymentStatus resource specific properties", + "x-ms-client-flatten": true + }, + "kind": { + "type": "string", + "description": "Kind of resource." + } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ] + }, + "CsmDeploymentStatusCollection": { + "type": "object", + "description": "Deployment status collection ARM resource.", + "properties": { + "value": { + "type": "array", + "description": "The CsmDeploymentStatus items on this page", + "items": { + "$ref": "#/definitions/CsmDeploymentStatus" + }, + "xml": { + "wrapped": true + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "CsmDeploymentStatusProperties": { + "type": "object", + "description": "CsmDeploymentStatus resource specific properties", + "properties": { + "deploymentId": { + "type": "string", + "description": "Deployment operation id." + }, + "status": { + "$ref": "#/definitions/DeploymentBuildStatus", + "description": "Deployment build status." + }, + "numberOfInstancesInProgress": { + "type": "integer", + "format": "int32", + "description": "Number of site instances currently being provisioned." + }, + "numberOfInstancesSuccessful": { + "type": "integer", + "format": "int32", + "description": "Number of site instances provisioned successfully." + }, + "numberOfInstancesFailed": { + "type": "integer", + "format": "int32", + "description": "Number of site instances failed to provision." + }, + "failedInstancesLogs": { + "type": "array", + "description": "List of URLs pointing to logs for instances which failed to provision.", + "items": { + "type": "string" + }, + "xml": { + "wrapped": true + } + }, + "errors": { + "type": "array", + "description": "List of errors.", + "items": { + "$ref": "#/definitions/ErrorEntity" + }, + "xml": { + "wrapped": true + }, + "x-ms-identifiers": [] + } + } + }, + "CsmMoveResourceEnvelope": { + "type": "object", + "description": "Object with a list of the resources that need to be moved and the resource group they should be moved to.", + "properties": { + "targetResourceGroup": { + "type": "string", + "minLength": 1, + "maxLength": 90, + "pattern": " ^[-\\w\\._\\(\\)]+[^\\.]$" + }, + "resources": { + "type": "array", + "items": { + "type": "string" + }, + "xml": { + "wrapped": true + } + } + } + }, + "CsmOperationCollection": { + "type": "object", + "description": "Collection of Azure resource manager operation metadata.", + "properties": { + "value": { + "type": "array", + "description": "Collection of resources.", + "items": { + "$ref": "#/definitions/CsmOperationDescription" + }, + "xml": { + "wrapped": true + }, + "x-ms-identifiers": [ + "name" + ] + }, + "nextLink": { + "type": "string", + "description": "Link to next page of resources.", + "readOnly": true + } + }, + "required": [ + "value" + ] + }, + "CsmOperationDescription": { + "type": "object", + "description": "Description of an operation available for Microsoft.Web resource provider.", + "properties": { + "name": { + "type": "string" + }, + "isDataAction": { + "type": "boolean" + }, + "display": { + "$ref": "#/definitions/CsmOperationDisplay", + "description": "Meta data about operation used for display in portal." + }, + "origin": { + "type": "string" + }, + "properties": { + "$ref": "#/definitions/CsmOperationDescriptionProperties", + "description": "Properties available for a Microsoft.Web resource provider operation." + } + } + }, + "CsmOperationDescriptionProperties": { + "type": "object", + "description": "Properties available for a Microsoft.Web resource provider operation.", + "properties": { + "serviceSpecification": { + "$ref": "#/definitions/ServiceSpecification", + "description": "Resource metrics service provided by Microsoft.Insights resource provider." + } + } + }, + "CsmOperationDisplay": { + "type": "object", + "description": "Meta data about operation used for display in portal.", + "properties": { + "provider": { + "type": "string" + }, + "resource": { + "type": "string" + }, + "operation": { + "type": "string" + }, + "description": { + "type": "string" + } + } + }, + "CsmPublishingCredentialsPoliciesEntity": { + "type": "object", + "description": "Publishing Credentials Policies parameters.", + "properties": { + "properties": { + "$ref": "#/definitions/CsmPublishingCredentialsPoliciesEntityProperties", + "description": "CsmPublishingCredentialsPoliciesEntity resource specific properties", + "x-ms-client-flatten": true + }, + "kind": { + "type": "string", + "description": "Kind of resource." + } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ] + }, + "CsmPublishingCredentialsPoliciesEntityProperties": { + "type": "object", + "description": "CsmPublishingCredentialsPoliciesEntity resource specific properties", + "properties": { + "allow": { + "type": "boolean", + "description": "true to allow access to a publishing method; otherwise, false." + } + }, + "required": [ + "allow" + ] + }, + "CsmPublishingProfileOptions": { + "type": "object", + "description": "Publishing options for requested profile.", + "properties": { + "format": { + "$ref": "#/definitions/PublishingProfileFormat", + "description": "Name of the format. Valid values are:\nFileZilla3\nWebDeploy -- default\nFtp" + }, + "includeDisasterRecoveryEndpoints": { + "type": "boolean", + "description": "Include the DisasterRecover endpoint if true" + } + } + }, + "CsmSlotEntity": { + "type": "object", + "description": "Deployment slot parameters.", + "properties": { + "targetSlot": { + "type": "string", + "description": "Destination deployment slot during swap operation." + }, + "preserveVnet": { + "type": "boolean", + "description": "true to preserve Virtual Network to the slot during swap; otherwise, false." + } + }, + "required": [ + "targetSlot", + "preserveVnet" + ] + }, + "CsmUsageQuota": { + "type": "object", + "description": "Usage of the quota resource.", + "properties": { + "unit": { + "type": "string", + "description": "Units of measurement for the quota resource." + }, + "nextResetTime": { + "type": "string", + "format": "date-time", + "description": "Next reset time for the resource counter." + }, + "currentValue": { + "type": "integer", + "format": "int64", + "description": "The current value of the resource counter." + }, + "limit": { + "type": "integer", + "format": "int64", + "description": "The resource limit." + }, + "name": { + "$ref": "#/definitions/LocalizableString", + "description": "Quota name." + } + } + }, + "CsmUsageQuotaCollection": { + "type": "object", + "description": "Paged collection of CsmUsageQuota items", + "properties": { + "value": { + "type": "array", + "description": "The CsmUsageQuota items on this page", + "items": { + "$ref": "#/definitions/CsmUsageQuota" + }, + "xml": { + "wrapped": true + }, + "x-ms-identifiers": [ + "name" + ] + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "CustomDnsSuffixConfiguration": { + "type": "object", + "description": "Full view of the custom domain suffix configuration for ASEv3.", + "properties": { + "properties": { + "$ref": "#/definitions/CustomDnsSuffixConfigurationProperties", + "description": "CustomDnsSuffixConfiguration resource specific properties", + "x-ms-client-flatten": true + }, + "kind": { + "type": "string", + "description": "Kind of resource." + } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ] + }, + "CustomDnsSuffixConfigurationProperties": { + "type": "object", + "description": "CustomDnsSuffixConfiguration resource specific properties", + "properties": { + "provisioningState": { + "$ref": "#/definitions/CustomDnsSuffixProvisioningState", + "readOnly": true + }, + "provisioningDetails": { + "type": "string", + "readOnly": true + }, + "dnsSuffix": { + "type": "string", + "description": "The default custom domain suffix to use for all sites deployed on the ASE." + }, + "certificateUrl": { + "type": "string", + "description": "The URL referencing the Azure Key Vault certificate secret that should be used as the default SSL/TLS certificate for sites with the custom domain suffix." + }, + "keyVaultReferenceIdentity": { + "type": "string", + "description": "The user-assigned identity to use for resolving the key vault certificate reference. If not specified, the system-assigned ASE identity will be used if available." + } + } + }, + "CustomDnsSuffixProvisioningState": { + "type": "string", + "enum": [ + "Succeeded", + "Failed", + "Degraded", + "InProgress" + ], + "x-ms-enum": { + "name": "CustomDnsSuffixProvisioningState", + "modelAsString": false + } + }, + "CustomDomainStatus": { + "type": "string", + "description": "The status of the custom domain", + "enum": [ + "RetrievingValidationToken", + "Validating", + "Adding", + "Ready", + "Failed", + "Deleting", + "Unhealthy" + ], + "x-ms-enum": { + "name": "CustomDomainStatus", + "modelAsString": true, + "values": [ + { + "name": "RetrievingValidationToken", + "value": "RetrievingValidationToken" + }, + { + "name": "Validating", + "value": "Validating" + }, + { + "name": "Adding", + "value": "Adding" + }, + { + "name": "Ready", + "value": "Ready" + }, + { + "name": "Failed", + "value": "Failed" + }, + { + "name": "Deleting", + "value": "Deleting" + }, + { + "name": "Unhealthy", + "value": "Unhealthy" + } + ] + } + }, + "CustomHostNameDnsRecordType": { + "type": "string", + "description": "Custom DNS record type.", + "enum": [ + "CName", + "A" + ], + "x-ms-enum": { + "name": "CustomHostNameDnsRecordType", + "modelAsString": false + } + }, + "CustomHostnameAnalysisResult": { + "type": "object", + "description": "Custom domain analysis.", + "properties": { + "properties": { + "$ref": "#/definitions/CustomHostnameAnalysisResultProperties", + "description": "CustomHostnameAnalysisResult resource specific properties", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "#/definitions/ProxyOnlyResource" + } + ] + }, + "CustomHostnameAnalysisResultProperties": { + "type": "object", + "description": "CustomHostnameAnalysisResult resource specific properties", + "properties": { + "isHostnameAlreadyVerified": { + "type": "boolean", + "description": "true if hostname is already verified; otherwise, false.", + "readOnly": true + }, + "customDomainVerificationTest": { + "$ref": "#/definitions/DnsVerificationTestResult", + "description": "DNS verification test result.", + "readOnly": true + }, + "customDomainVerificationFailureInfo": { + "$ref": "#/definitions/ErrorEntity", + "description": "Raw failure information if DNS verification fails.", + "readOnly": true + }, + "hasConflictOnScaleUnit": { + "type": "boolean", + "description": "true if there is a conflict on a scale unit; otherwise, false.", + "readOnly": true + }, + "hasConflictAcrossSubscription": { + "type": "boolean", + "description": "true if there is a conflict across subscriptions; otherwise, false.", + "readOnly": true + }, + "conflictingAppResourceId": { + "type": "string", + "description": "Name of the conflicting app on scale unit if it's within the same subscription.", + "readOnly": true + }, + "cNameRecords": { + "type": "array", + "description": "CName records controller can see for this hostname.", + "items": { + "type": "string" + }, + "xml": { + "wrapped": true + } + }, + "txtRecords": { + "type": "array", + "description": "TXT records controller can see for this hostname.", + "items": { + "type": "string" + }, + "xml": { + "wrapped": true + } + }, + "aRecords": { + "type": "array", + "description": "A records controller can see for this hostname.", + "items": { + "type": "string" + }, + "xml": { + "wrapped": true + } + }, + "alternateCNameRecords": { + "type": "array", + "description": "Alternate CName records controller can see for this hostname.", + "items": { + "type": "string" + }, + "xml": { + "wrapped": true + } + }, + "alternateTxtRecords": { + "type": "array", + "description": "Alternate TXT records controller can see for this hostname.", + "items": { + "type": "string" + }, + "xml": { + "wrapped": true + } + } + } + }, + "CustomHostnameSites": { + "type": "object", + "description": "A hostname and its assigned sites", + "properties": { + "properties": { + "$ref": "#/definitions/CustomHostnameSitesProperties", + "description": "CustomHostnameSites resource specific properties", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "#/definitions/ProxyOnlyResource" + } + ] + }, + "CustomHostnameSitesCollection": { + "type": "object", + "description": "Collection of custom hostname sites", + "properties": { + "value": { + "type": "array", + "description": "The CustomHostnameSites items on this page", + "items": { + "$ref": "#/definitions/CustomHostnameSites" + }, + "xml": { + "wrapped": true + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "CustomHostnameSitesProperties": { + "type": "object", + "description": "CustomHostnameSites resource specific properties", + "properties": { + "customHostname": { + "type": "string" + }, + "region": { + "type": "string" + }, + "siteResourceIds": { + "type": "array", + "items": { + "$ref": "#/definitions/Identifier" + }, + "xml": { + "wrapped": true + } + } + } + }, + "CustomOpenIdConnectProvider": { + "type": "object", + "description": "The configuration settings of the custom Open ID Connect provider.", + "properties": { + "enabled": { + "type": "boolean", + "description": "false if the custom Open ID provider provider should not be enabled; otherwise, true." + }, + "registration": { + "$ref": "#/definitions/OpenIdConnectRegistration", + "description": "The configuration settings of the app registration for the custom Open ID Connect provider." + }, + "login": { + "$ref": "#/definitions/OpenIdConnectLogin", + "description": "The configuration settings of the login flow of the custom Open ID Connect provider." + } + } + }, + "DaprConfig": { + "type": "object", + "description": "App Dapr configuration.", + "properties": { + "enabled": { + "type": "boolean", + "description": "Boolean indicating if the Dapr side car is enabled", + "default": false + }, + "appId": { + "type": "string", + "description": "Dapr application identifier" + }, + "appPort": { + "type": "integer", + "format": "int32", + "description": "Tells Dapr which port your application is listening on" + }, + "httpReadBufferSize": { + "type": "integer", + "format": "int32", + "description": "Dapr max size of http header read buffer in KB to handle when sending multi-KB headers. Default is 65KB." + }, + "httpMaxRequestSize": { + "type": "integer", + "format": "int32", + "description": "Increasing max size of request body http servers parameter in MB to handle uploading of big files. Default is 4 MB." + }, + "logLevel": { + "$ref": "#/definitions/DaprLogLevel", + "description": "Sets the log level for the Dapr sidecar. Allowed values are debug, info, warn, error. Default is info." + }, + "enableApiLogging": { + "type": "boolean", + "description": "Enables API logging for the Dapr sidecar" + } + } + }, + "DaprLogLevel": { + "type": "string", + "description": "Sets the log level for the Dapr sidecar. Allowed values are debug, info, warn, error. Default is info.", + "enum": [ + "info", + "debug", + "warn", + "error" + ], + "x-ms-enum": { + "name": "DaprLogLevel", + "modelAsString": true, + "values": [ + { + "name": "info", + "value": "info" + }, + { + "name": "debug", + "value": "debug" + }, + { + "name": "warn", + "value": "warn" + }, + { + "name": "error", + "value": "error" + } + ] + } + }, + "DataProviderMetadata": { + "type": "object", + "description": "Additional configuration for a data providers", + "properties": { + "providerName": { + "type": "string" + }, + "propertyBag": { + "type": "array", + "description": "Settings for the data provider", + "items": { + "$ref": "#/definitions/KeyValuePairStringObject" + }, + "readOnly": true, + "xml": { + "wrapped": true + }, + "x-ms-identifiers": [ + "key" + ] + } + } + }, + "DataSource": { + "type": "object", + "description": "Class representing data source used by the detectors", + "properties": { + "instructions": { + "type": "array", + "description": "Instructions if any for the data source", + "items": { + "type": "string" + }, + "xml": { + "wrapped": true + } + }, + "dataSourceUri": { + "type": "array", + "description": "Datasource Uri Links", + "items": { + "$ref": "#/definitions/NameValuePair" + }, + "xml": { + "wrapped": true + }, + "x-ms-identifiers": [ + "name" + ] + } + } + }, + "DataTableResponseColumn": { + "type": "object", + "description": "Column definition", + "properties": { + "columnName": { + "type": "string", + "description": "Name of the column" + }, + "dataType": { + "type": "string", + "description": "Data type which looks like 'String' or 'Int32'." + }, + "columnType": { + "type": "string", + "description": "Column Type" + } + } + }, + "DataTableResponseObject": { + "type": "object", + "description": "Data Table which defines columns and raw row values", + "properties": { + "tableName": { + "type": "string", + "description": "Name of the table" + }, + "columns": { + "type": "array", + "description": "List of columns with data types", + "items": { + "$ref": "#/definitions/DataTableResponseColumn" + }, + "xml": { + "wrapped": true + }, + "x-ms-identifiers": [ + "columnName" + ] + }, + "rows": { + "type": "array", + "description": "Raw row values", + "items": { + "type": "array", + "items": { + "type": "string" + } + }, + "xml": { + "wrapped": true + }, + "x-ms-identifiers": [] + } + } + }, + "DatabaseBackupSetting": { + "type": "object", + "description": "Database backup settings.", + "properties": { + "databaseType": { + "$ref": "#/definitions/DatabaseType", + "description": "Database type (e.g. SqlAzure / MySql)." + }, + "name": { + "type": "string" + }, + "connectionStringName": { + "type": "string", + "description": "Contains a connection string name that is linked to the SiteConfig.ConnectionStrings.\nThis is used during restore with overwrite connection strings options." + }, + "connectionString": { + "type": "string", + "description": "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." + } + }, + "required": [ + "databaseType" + ] + }, + "DatabaseConnection": { + "type": "object", + "description": "Static Site Database Connection resource.", + "properties": { + "properties": { + "$ref": "#/definitions/DatabaseConnectionProperties", + "description": "DatabaseConnection resource specific properties", + "x-ms-client-flatten": true + }, + "kind": { + "type": "string", + "description": "Kind of resource." + } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ] + }, + "DatabaseConnectionCollection": { + "type": "object", + "description": "Collection of static site database connections.", + "properties": { + "value": { + "type": "array", + "description": "The DatabaseConnection items on this page", + "items": { + "$ref": "#/definitions/DatabaseConnection" + }, + "xml": { + "wrapped": true + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "DatabaseConnectionOverview": { + "type": "object", + "description": "Static Site Database Connection overview.", + "properties": { + "resourceId": { + "type": "string", + "description": "The resource id of the database.", + "readOnly": true + }, + "connectionIdentity": { + "type": "string", + "description": "If present, the identity is used in conjunction with connection string to connect to the database. Use of the system-assigned managed identity is indicated with the string 'SystemAssigned', while use of a user-assigned managed identity is indicated with the resource id of the managed identity resource.", + "readOnly": true + }, + "region": { + "type": "string", + "description": "The region of the database resource.", + "readOnly": true + }, + "configurationFiles": { + "type": "array", + "description": "A list of configuration files associated with this database connection.", + "items": { + "$ref": "#/definitions/StaticSiteDatabaseConnectionConfigurationFileOverview" + }, + "readOnly": true, + "xml": { + "wrapped": true + }, + "x-ms-identifiers": [ + "fileName" + ] + }, + "name": { + "type": "string", + "description": "If present, the name of this database connection resource.", + "readOnly": true + } + } + }, + "DatabaseConnectionPatchRequest": { + "type": "object", + "description": "Static Site Database Connection Request Properties resource when patching", + "properties": { + "properties": { + "$ref": "#/definitions/DatabaseConnectionPatchRequestProperties", + "description": "DatabaseConnectionPatchRequest resource specific properties", + "x-ms-client-flatten": true + } + } + }, + "DatabaseConnectionPatchRequestProperties": { + "type": "object", + "description": "DatabaseConnectionPatchRequest resource specific properties", + "properties": { + "resourceId": { + "type": "string", + "description": "The resource id of the database." + }, + "connectionIdentity": { + "type": "string", + "description": "If present, the identity is used in conjunction with connection string to connect to the database. Use of the system-assigned managed identity is indicated with the string 'SystemAssigned', while use of a user-assigned managed identity is indicated with the resource id of the managed identity resource." + }, + "connectionString": { + "type": "string", + "description": "The connection string to use to connect to the database." + }, + "region": { + "type": "string", + "description": "The region of the database resource." + } + } + }, + "DatabaseConnectionProperties": { + "type": "object", + "description": "DatabaseConnection resource specific properties", + "properties": { + "resourceId": { + "type": "string", + "description": "The resource id of the database." + }, + "connectionIdentity": { + "type": "string", + "description": "If present, the identity is used in conjunction with connection string to connect to the database. Use of the system-assigned managed identity is indicated with the string 'SystemAssigned', while use of a user-assigned managed identity is indicated with the resource id of the managed identity resource." + }, + "connectionString": { + "type": "string", + "description": "The connection string to use to connect to the database." + }, + "region": { + "type": "string", + "description": "The region of the database resource." + }, + "configurationFiles": { + "type": "array", + "description": "A list of configuration files associated with this database connection.", + "items": { + "$ref": "#/definitions/StaticSiteDatabaseConnectionConfigurationFileOverview" + }, + "readOnly": true, + "xml": { + "wrapped": true + }, + "x-ms-identifiers": [ + "fileName" + ] + } + }, + "required": [ + "resourceId", + "region" + ] + }, + "DatabaseType": { + "type": "string", + "description": "Database type (e.g. SqlAzure / MySql).", + "enum": [ + "SqlAzure", + "MySql", + "LocalMySql", + "PostgreSql" + ], + "x-ms-enum": { + "name": "DatabaseType", + "modelAsString": true, + "values": [ + { + "name": "SqlAzure", + "value": "SqlAzure" + }, + { + "name": "MySql", + "value": "MySql" + }, + { + "name": "LocalMySql", + "value": "LocalMySql" + }, + { + "name": "PostgreSql", + "value": "PostgreSql" + } + ] + } + }, + "DayOfWeek": { + "type": "string", + "description": "The day of the week.", + "enum": [ + "Sunday", + "Monday", + "Tuesday", + "Wednesday", + "Thursday", + "Friday", + "Saturday" + ], + "x-ms-enum": { + "name": "DayOfWeek", + "modelAsString": false + } + }, + "DaysOfWeek": { + "type": "string", + "enum": [ + "Sunday", + "Monday", + "Tuesday", + "Wednesday", + "Thursday", + "Friday", + "Saturday" + ], + "x-ms-enum": { + "name": "DaysOfWeek", + "modelAsString": false + } + }, + "DefaultAction": { + "type": "string", + "description": "Default action for main access restriction if no rules are matched.", + "enum": [ + "Allow", + "Deny" + ], + "x-ms-enum": { + "name": "DefaultAction", + "modelAsString": true, + "values": [ + { + "name": "Allow", + "value": "Allow" + }, + { + "name": "Deny", + "value": "Deny" + } + ] + } + }, + "DefaultAuthorizationPolicy": { + "type": "object", + "description": "The configuration settings of the Azure Active Directory default authorization policy.", + "properties": { + "allowedPrincipals": { + "$ref": "#/definitions/AllowedPrincipals", + "description": "The configuration settings of the Azure Active Directory allowed principals." + }, + "allowedApplications": { + "type": "array", + "description": "The configuration settings of the Azure Active Directory allowed applications.", + "items": { + "type": "string" + }, + "xml": { + "wrapped": true + } + } + } + }, + "DefaultErrorResponse": { + "type": "object", + "description": "App Service error response.", + "properties": { + "error": { + "$ref": "#/definitions/DefaultErrorResponseError", + "description": "Error model.", + "readOnly": true + } + } + }, + "DefaultErrorResponseError": { + "type": "object", + "description": "Error model.", + "properties": { + "code": { + "type": "string", + "description": "Standardized string to programmatically identify the error.", + "readOnly": true + }, + "message": { + "type": "string", + "description": "Detailed error description and debugging information.", + "readOnly": true + }, + "target": { + "type": "string", + "description": "Detailed error description and debugging information.", + "readOnly": true + }, + "details": { + "type": "array", + "items": { + "$ref": "#/definitions/DefaultErrorResponseErrorDetailsItem" + }, + "xml": { + "wrapped": true + }, + "x-ms-identifiers": [] + }, + "innererror": { + "type": "string", + "description": "More information to debug error.", + "readOnly": true + } + } + }, + "DefaultErrorResponseErrorDetailsItem": { + "type": "object", + "description": "Detailed errors.", + "properties": { + "code": { + "type": "string", + "description": "Standardized string to programmatically identify the error.", + "readOnly": true + }, + "message": { + "type": "string", + "description": "Detailed error description and debugging information.", + "readOnly": true + }, + "target": { + "type": "string", + "description": "Detailed error description and debugging information.", + "readOnly": true + } + } + }, + "DefaultIdentity": { + "type": "object", + "properties": { + "identityType": { + "$ref": "#/definitions/ManagedServiceIdentityType" + }, + "userAssignedIdentityResourceId": { + "type": "string" + } + } + }, + "DeletedAppRestoreRequest": { + "type": "object", + "description": "Details about restoring a deleted app.", + "properties": { + "properties": { + "$ref": "#/definitions/DeletedAppRestoreRequestProperties", + "description": "DeletedAppRestoreRequest resource specific properties", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "#/definitions/ProxyOnlyResource" + } + ] + }, + "DeletedAppRestoreRequestProperties": { + "type": "object", + "description": "DeletedAppRestoreRequest resource specific properties", + "properties": { + "deletedSiteId": { + "type": "string", + "description": "ARM resource ID of the deleted app. Example:\n/subscriptions/{subId}/providers/Microsoft.Web/deletedSites/{deletedSiteId}" + }, + "recoverConfiguration": { + "type": "boolean", + "description": "If true, deleted site configuration, in addition to content, will be restored." + }, + "snapshotTime": { + "type": "string", + "description": "Point in time to restore the deleted app from, formatted as a DateTime string.\nIf unspecified, default value is the time that the app was deleted." + }, + "useDRSecondary": { + "type": "boolean", + "description": "If true, the snapshot is retrieved from DRSecondary endpoint." + } + } + }, + "DeletedSite": { + "type": "object", + "description": "A deleted app.", + "properties": { + "properties": { + "$ref": "#/definitions/DeletedSiteProperties", + "description": "DeletedSite resource specific properties", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ] + }, + "DeletedSiteProperties": { + "type": "object", + "description": "DeletedSite resource specific properties", + "properties": { + "deletedSiteId": { + "type": "integer", + "format": "int32", + "description": "Numeric id for the deleted site", + "readOnly": true + }, + "deletedTimestamp": { + "type": "string", + "description": "Time in UTC when the app was deleted.", + "readOnly": true + }, + "subscription": { + "type": "string", + "description": "Subscription containing the deleted site", + "readOnly": true + }, + "resourceGroup": { + "type": "string", + "description": "ResourceGroup that contained the deleted site", + "readOnly": true + }, + "deletedSiteName": { + "type": "string", + "description": "Name of the deleted site", + "readOnly": true + }, + "slot": { + "type": "string", + "description": "Slot of the deleted site", + "readOnly": true + }, + "kind": { + "type": "string", + "description": "Kind of site that was deleted", + "readOnly": true + }, + "geoRegionName": { + "type": "string", + "description": "Geo Region of the deleted site", + "readOnly": true + } + } + }, + "DeletedWebAppCollection": { + "type": "object", + "description": "Collection of deleted apps.", + "properties": { + "value": { + "type": "array", + "description": "The DeletedSite items on this page", + "items": { + "$ref": "#/definitions/DeletedSite" + }, + "xml": { + "wrapped": true + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "Deployment": { + "type": "object", + "description": "User credentials used for publishing activity.", + "properties": { + "properties": { + "$ref": "#/definitions/DeploymentProperties", + "description": "Deployment resource specific properties", + "x-ms-client-flatten": true + }, + "kind": { + "type": "string", + "description": "Kind of resource." + } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ] + }, + "DeploymentBuildStatus": { + "type": "string", + "description": "Deployment build status.", + "enum": [ + "TimedOut", + "RuntimeFailed", + "BuildAborted", + "BuildFailed", + "BuildRequestReceived", + "BuildPending", + "BuildInProgress", + "BuildSuccessful", + "PostBuildRestartRequired", + "StartPolling", + "StartPollingWithRestart", + "RuntimeStarting", + "RuntimeSuccessful" + ], + "x-ms-enum": { + "name": "DeploymentBuildStatus", + "modelAsString": true, + "values": [ + { + "name": "TimedOut", + "value": "TimedOut" + }, + { + "name": "RuntimeFailed", + "value": "RuntimeFailed" + }, + { + "name": "BuildAborted", + "value": "BuildAborted" + }, + { + "name": "BuildFailed", + "value": "BuildFailed" + }, + { + "name": "BuildRequestReceived", + "value": "BuildRequestReceived" + }, + { + "name": "BuildPending", + "value": "BuildPending" + }, + { + "name": "BuildInProgress", + "value": "BuildInProgress" + }, + { + "name": "BuildSuccessful", + "value": "BuildSuccessful" + }, + { + "name": "PostBuildRestartRequired", + "value": "PostBuildRestartRequired" + }, + { + "name": "StartPolling", + "value": "StartPolling" + }, + { + "name": "StartPollingWithRestart", + "value": "StartPollingWithRestart" + }, + { + "name": "RuntimeStarting", + "value": "RuntimeStarting" + }, + { + "name": "RuntimeSuccessful", + "value": "RuntimeSuccessful" + } + ] + } + }, + "DeploymentCollection": { + "type": "object", + "description": "Collection of app deployments.", + "properties": { + "value": { + "type": "array", + "description": "The Deployment items on this page", + "items": { + "$ref": "#/definitions/Deployment" + }, + "xml": { + "wrapped": true + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "DeploymentLocations": { + "type": "object", + "description": "List of available locations (regions or App Service Environments) for\ndeployment of App Service resources.", + "properties": { + "locations": { + "type": "array", + "description": "Available regions.", + "items": { + "$ref": "#/definitions/GeoRegion" + }, + "xml": { + "wrapped": true + } + }, + "hostingEnvironments": { + "type": "array", + "description": "Available App Service Environments with full descriptions of the environments.", + "items": { + "$ref": "#/definitions/AppServiceEnvironment" + }, + "xml": { + "wrapped": true + }, + "x-ms-identifiers": [] + }, + "hostingEnvironmentDeploymentInfos": { + "type": "array", + "description": "Available App Service Environments with basic information.", + "items": { + "$ref": "#/definitions/HostingEnvironmentDeploymentInfo" + }, + "xml": { + "wrapped": true + }, + "x-ms-identifiers": [ + "name" + ] + } + } + }, + "DeploymentProperties": { + "type": "object", + "description": "Deployment resource specific properties", + "properties": { + "status": { + "type": "integer", + "format": "int32", + "description": "Deployment status." + }, + "message": { + "type": "string", + "description": "Details about deployment status." + }, + "author": { + "type": "string", + "description": "Who authored the deployment." + }, + "deployer": { + "type": "string", + "description": "Who performed the deployment." + }, + "author_email": { + "type": "string", + "description": "Author email.", + "x-ms-client-name": "authorEmail" + }, + "start_time": { + "type": "string", + "format": "date-time", + "description": "Start time.", + "x-ms-client-name": "startTime" + }, + "end_time": { + "type": "string", + "format": "date-time", + "description": "End time.", + "x-ms-client-name": "endTime" + }, + "active": { + "type": "boolean", + "description": "True if deployment is currently active, false if completed and null if not started." + }, + "details": { + "type": "string", + "description": "Details on deployment." + } + } + }, + "DetectorAbnormalTimePeriod": { + "type": "object", + "description": "Class representing Abnormal Time Period detected.", + "properties": { + "startTime": { + "type": "string", + "format": "date-time", + "description": "Start time of the correlated event" + }, + "endTime": { + "type": "string", + "format": "date-time", + "description": "End time of the correlated event" + }, + "message": { + "type": "string", + "description": "Message describing the event" + }, + "source": { + "type": "string", + "description": "Represents the name of the Detector" + }, + "priority": { + "type": "number", + "format": "double", + "description": "Represents the rank of the Detector" + }, + "metaData": { + "type": "array", + "description": "Downtime metadata", + "items": { + "type": "array", + "items": { + "$ref": "#/definitions/NameValuePair" + } + }, + "xml": { + "wrapped": true + }, + "x-ms-identifiers": [ + "name" + ] + }, + "type": { + "$ref": "#/definitions/IssueType", + "description": "Represents the type of the Detector" + }, + "solutions": { + "type": "array", + "description": "List of proposed solutions", + "items": { + "$ref": "#/definitions/Solution" + }, + "xml": { + "wrapped": true + } + } + } + }, + "DetectorDefinition": { + "type": "object", + "description": "Class representing detector definition", + "properties": { + "displayName": { + "type": "string", + "description": "Display name of the detector", + "readOnly": true + }, + "description": { + "type": "string", + "description": "Description of the detector", + "readOnly": true + }, + "rank": { + "type": "number", + "format": "double", + "description": "Detector Rank", + "readOnly": true + }, + "isEnabled": { + "type": "boolean", + "description": "Flag representing whether detector is enabled or not.", + "readOnly": true + } + } + }, + "DetectorDefinitionResource": { + "type": "object", + "description": "ARM resource for a detector definition", + "properties": { + "properties": { + "$ref": "#/definitions/DetectorDefinition", + "description": "Core resource properties", + "x-ms-client-flatten": true + }, + "kind": { + "type": "string", + "description": "Kind of resource." + } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ] + }, + "DetectorInfo": { + "type": "object", + "description": "Definition of Detector", + "properties": { + "id": { + "type": "string", + "description": "Id of detector", + "readOnly": true + }, + "name": { + "type": "string", + "description": "Name of detector", + "readOnly": true + }, + "description": { + "type": "string", + "description": "Short description of the detector and its purpose.", + "readOnly": true + }, + "author": { + "type": "string", + "description": "Author of the detector.", + "readOnly": true + }, + "category": { + "type": "string", + "description": "Problem category. This serves for organizing group for detectors.", + "readOnly": true + }, + "supportTopicList": { + "type": "array", + "description": "List of Support Topics for which this detector is enabled.", + "items": { + "$ref": "#/definitions/SupportTopic" + }, + "readOnly": true, + "xml": { + "wrapped": true + } + }, + "analysisType": { + "type": "array", + "description": "Analysis Types for which this detector should apply to.", + "items": { + "type": "string" + }, + "readOnly": true, + "xml": { + "wrapped": true + } + }, + "type": { + "$ref": "#/definitions/DetectorType", + "description": "Whether this detector is an Analysis Detector or not.", + "readOnly": true + }, + "score": { + "type": "number", + "format": "float", + "description": "Defines score of a detector to power ML based matching.", + "readOnly": true + } + } + }, + "DetectorResponse": { + "type": "object", + "description": "Class representing Response from Detector", + "properties": { + "properties": { + "$ref": "#/definitions/DetectorResponseProperties", + "description": "DetectorResponse resource specific properties", + "x-ms-client-flatten": true + }, + "kind": { + "type": "string", + "description": "Kind of resource." + } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ] + }, + "DetectorResponseCollection": { + "type": "object", + "description": "Collection of detector responses", + "properties": { + "value": { + "type": "array", + "description": "The DetectorResponse items on this page", + "items": { + "$ref": "#/definitions/DetectorResponse" + }, + "xml": { + "wrapped": true + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "DetectorResponseProperties": { + "type": "object", + "description": "DetectorResponse resource specific properties", + "properties": { + "metadata": { + "$ref": "#/definitions/DetectorInfo", + "description": "metadata for the detector" + }, + "dataset": { + "type": "array", + "description": "Data Set", + "items": { + "$ref": "#/definitions/DiagnosticData" + }, + "xml": { + "wrapped": true + }, + "x-ms-identifiers": [] + }, + "status": { + "$ref": "#/definitions/Status", + "description": "Indicates status of the most severe insight." + }, + "dataProvidersMetadata": { + "type": "array", + "description": "Additional configuration for different data providers to be used by the UI", + "items": { + "$ref": "#/definitions/DataProviderMetadata" + }, + "xml": { + "wrapped": true + }, + "x-ms-identifiers": [ + "providerName" + ] + }, + "suggestedUtterances": { + "$ref": "#/definitions/QueryUtterancesResults", + "description": "Suggested utterances where the detector can be applicable." + } + } + }, + "DetectorType": { + "type": "string", + "description": "Whether this detector is an Analysis Detector or not.", + "enum": [ + "Detector", + "Analysis", + "CategoryOverview" + ], + "x-ms-enum": { + "name": "DetectorType", + "modelAsString": false + } + }, + "DiagnosticAnalysis": { + "type": "object", + "description": "Class representing a diagnostic analysis done on an application", + "properties": { + "properties": { + "$ref": "#/definitions/DiagnosticAnalysisProperties", + "description": "DiagnosticAnalysis resource specific properties", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "#/definitions/ProxyOnlyResource" + } + ] + }, + "DiagnosticAnalysisCollection": { + "type": "object", + "description": "Collection of Diagnostic Analyses", + "properties": { + "value": { + "type": "array", + "description": "The AnalysisDefinition items on this page", + "items": { + "$ref": "#/definitions/AnalysisDefinition" + }, + "xml": { + "wrapped": true + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "DiagnosticAnalysisProperties": { + "type": "object", + "description": "DiagnosticAnalysis resource specific properties", + "properties": { + "startTime": { + "type": "string", + "format": "date-time", + "description": "Start time of the period" + }, + "endTime": { + "type": "string", + "format": "date-time", + "description": "End time of the period" + }, + "abnormalTimePeriods": { + "type": "array", + "description": "List of time periods.", + "items": { + "$ref": "#/definitions/AbnormalTimePeriod" + }, + "xml": { + "wrapped": true + }, + "x-ms-identifiers": [] + }, + "payload": { + "type": "array", + "description": "Data by each detector", + "items": { + "$ref": "#/definitions/AnalysisData" + }, + "xml": { + "wrapped": true + }, + "x-ms-identifiers": [ + "source" + ] + }, + "nonCorrelatedDetectors": { + "type": "array", + "description": "Data by each detector for detectors that did not corelate", + "items": { + "$ref": "#/definitions/DetectorDefinition" + }, + "xml": { + "wrapped": true + }, + "x-ms-identifiers": [ + "displayName" + ] + } + } + }, + "DiagnosticCategory": { + "type": "object", + "description": "Class representing detector definition", + "properties": { + "properties": { + "$ref": "#/definitions/DiagnosticCategoryProperties", + "description": "DiagnosticCategory resource specific properties", + "x-ms-client-flatten": true + }, + "kind": { + "type": "string", + "description": "Kind of resource." + } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ] + }, + "DiagnosticCategoryCollection": { + "type": "object", + "description": "Collection of Diagnostic Categories", + "properties": { + "value": { + "type": "array", + "description": "The DiagnosticCategory items on this page", + "items": { + "$ref": "#/definitions/DiagnosticCategory" + }, + "xml": { + "wrapped": true + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "DiagnosticCategoryProperties": { + "type": "object", + "description": "DiagnosticCategory resource specific properties", + "properties": { + "description": { + "type": "string", + "description": "Description of the diagnostic category", + "readOnly": true + } + } + }, + "DiagnosticData": { + "type": "object", + "description": "Set of data with rendering instructions", + "properties": { + "table": { + "$ref": "#/definitions/DataTableResponseObject", + "description": "Data in table form" + }, + "renderingProperties": { + "$ref": "#/definitions/Rendering", + "description": "Properties that describe how the table should be rendered" + } + } + }, + "DiagnosticDetectorCollection": { + "type": "object", + "description": "Collection of Diagnostic Detectors", + "properties": { + "value": { + "type": "array", + "description": "The DetectorDefinitionResource items on this page", + "items": { + "$ref": "#/definitions/DetectorDefinitionResource" + }, + "xml": { + "wrapped": true + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "DiagnosticDetectorResponse": { + "type": "object", + "description": "Class representing Response from Diagnostic Detectors", + "properties": { + "properties": { + "$ref": "#/definitions/DiagnosticDetectorResponseProperties", + "description": "DiagnosticDetectorResponse resource specific properties", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "#/definitions/ProxyOnlyResource" + } + ] + }, + "DiagnosticDetectorResponseProperties": { + "type": "object", + "description": "DiagnosticDetectorResponse resource specific properties", + "properties": { + "startTime": { + "type": "string", + "format": "date-time", + "description": "Start time of the period" + }, + "endTime": { + "type": "string", + "format": "date-time", + "description": "End time of the period" + }, + "issueDetected": { + "type": "boolean", + "description": "Flag representing Issue was detected." + }, + "detectorDefinition": { + "$ref": "#/definitions/DetectorDefinition", + "description": "Detector's definition" + }, + "metrics": { + "type": "array", + "description": "Metrics provided by the detector", + "items": { + "$ref": "#/definitions/DiagnosticMetricSet" + }, + "xml": { + "wrapped": true + }, + "x-ms-identifiers": [ + "name" + ] + }, + "abnormalTimePeriods": { + "type": "array", + "description": "List of Correlated events found by the detector", + "items": { + "$ref": "#/definitions/DetectorAbnormalTimePeriod" + }, + "xml": { + "wrapped": true + }, + "x-ms-identifiers": [] + }, + "data": { + "type": "array", + "description": "Additional Data that detector wants to send.", + "items": { + "type": "array", + "items": { + "$ref": "#/definitions/NameValuePair" + } + }, + "xml": { + "wrapped": true + }, + "x-ms-identifiers": [ + "name" + ] + }, + "responseMetaData": { + "$ref": "#/definitions/ResponseMetaData", + "description": "Meta Data" + } + } + }, + "DiagnosticMetricSample": { + "type": "object", + "description": "Class representing Diagnostic Metric", + "properties": { + "timestamp": { + "type": "string", + "format": "date-time", + "description": "Time at which metric is measured" + }, + "roleInstance": { + "type": "string", + "description": "Role Instance. Null if this counter is not per instance\nThis is returned and should be whichever instance name we desire to be returned\ni.e. CPU and Memory return RDWORKERNAME (LargeDed..._IN_0)\nwhere RDWORKERNAME is Machine name below and RoleInstance name in parenthesis" + }, + "total": { + "type": "number", + "format": "double", + "description": "Total value of the metric. If multiple measurements are made this will have sum of all." + }, + "maximum": { + "type": "number", + "format": "double", + "description": "Maximum of the metric sampled during the time period" + }, + "minimum": { + "type": "number", + "format": "double", + "description": "Minimum of the metric sampled during the time period" + }, + "isAggregated": { + "type": "boolean", + "description": "Whether the values are aggregates across all workers or not" + } + } + }, + "DiagnosticMetricSet": { + "type": "object", + "description": "Class representing Diagnostic Metric information", + "properties": { + "name": { + "type": "string", + "description": "Name of the metric" + }, + "unit": { + "type": "string", + "description": "Metric's unit" + }, + "startTime": { + "type": "string", + "format": "date-time", + "description": "Start time of the period" + }, + "endTime": { + "type": "string", + "format": "date-time", + "description": "End time of the period" + }, + "timeGrain": { + "type": "string", + "description": "Presented time grain. Supported grains at the moment are PT1M, PT1H, P1D" + }, + "values": { + "type": "array", + "description": "Collection of metric values for the selected period based on the {Microsoft.Web.Hosting.Administration.DiagnosticMetricSet.TimeGrain}", + "items": { + "$ref": "#/definitions/DiagnosticMetricSample" + }, + "xml": { + "wrapped": true + }, + "x-ms-identifiers": [] + } + } + }, + "Dimension": { + "type": "object", + "description": "Dimension of a resource metric. For e.g. instance specific HTTP requests for a web app,\nwhere instance name is dimension of the metric HTTP request", + "properties": { + "name": { + "type": "string" + }, + "displayName": { + "type": "string" + }, + "internalName": { + "type": "string" + }, + "toBeExportedForShoebox": { + "type": "boolean" + } + } + }, + "DnlResourceNameAvailability": { + "type": "object", + "description": "Information regarding availability of a resource name for DNL apps with regionalized default hostnames.", + "properties": { + "hostName": { + "type": "string" + }, + "nameAvailable": { + "type": "boolean", + "description": "true indicates name is valid and available. false indicates the name is invalid, unavailable, or both." + }, + "reason": { + "$ref": "#/definitions/InAvailabilityReasonType", + "description": "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." + }, + "message": { + "type": "string", + "description": "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." + } + } + }, + "DnlResourceNameAvailabilityRequest": { + "type": "object", + "properties": { + "resourceGroupName": { + "type": "string", + "description": "Resource group name" + }, + "autoGeneratedDomainNameLabelScope": { + "type": "string", + "description": "Indicates the endpoint name reuse scope.The default value is TenantReuse.\nSupported values are TenantReuse, SubscriptionReuse, ResourceGroupReuse, NoReuse" + }, + "name": { + "type": "string", + "description": "Resource name to verify." + }, + "type": { + "$ref": "#/definitions/CheckNameResourceTypes", + "description": "Resource type used for verification." + } + }, + "required": [ + "name", + "type" + ] + }, + "DnsVerificationTestResult": { + "type": "string", + "description": "DNS verification test result.", + "enum": [ + "Passed", + "Failed", + "Skipped" + ], + "x-ms-enum": { + "name": "DnsVerificationTestResult", + "modelAsString": false + } + }, + "EnabledConfig": { + "type": "object", + "description": "Enabled configuration.", + "properties": { + "enabled": { + "type": "boolean", + "description": "True if configuration is enabled, false if it is disabled and null if configuration is not set." + } + } + }, + "EndpointDependency": { + "type": "object", + "description": "A domain name that a service is reached at, including details of the current connection status.", + "properties": { + "domainName": { + "type": "string", + "description": "The domain name of the dependency." + }, + "endpointDetails": { + "type": "array", + "description": "The IP Addresses and Ports used when connecting to DomainName.", + "items": { + "$ref": "#/definitions/EndpointDetail" + }, + "xml": { + "wrapped": true + }, + "x-ms-identifiers": [ + "ipAddress", + "port" + ] + } + } + }, + "EndpointDetail": { + "type": "object", + "description": "Current TCP connectivity information from the App Service Environment to a single endpoint.", + "properties": { + "ipAddress": { + "type": "string", + "description": "An IP Address that Domain Name currently resolves to." + }, + "port": { + "type": "integer", + "format": "int32", + "description": "The port an endpoint is connected to." + }, + "latency": { + "type": "number", + "format": "double", + "description": "The time in milliseconds it takes for a TCP connection to be created from the App Service Environment to this IpAddress at this Port." + }, + "isAccessible": { + "type": "boolean", + "description": "Whether it is possible to create a TCP connection from the App Service Environment to this IpAddress at this Port." + } + } + }, + "EnterpriseGradeCdnStatus": { + "type": "string", + "description": "State indicating the status of the enterprise grade CDN serving traffic to the static web app.", + "enum": [ + "Enabled", + "Enabling", + "Disabled", + "Disabling" + ], + "x-ms-enum": { + "name": "EnterpriseGradeCdnStatus", + "modelAsString": true, + "values": [ + { + "name": "Enabled", + "value": "Enabled" + }, + { + "name": "Enabling", + "value": "Enabling" + }, + { + "name": "Disabled", + "value": "Disabled" + }, + { + "name": "Disabling", + "value": "Disabling" + } + ] + } + }, + "EnvironmentVariable": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Environment variable name" + }, + "value": { + "type": "string", + "description": "The value of this environment variable must be the name of an AppSetting. The actual value of the environment variable in container will be retrieved from the specified AppSetting at runtime. If the AppSetting is not found, the value will be set to an empty string in the container at runtime." + } + }, + "required": [ + "name", + "value" + ] + }, + "ErrorEntity": { + "type": "object", + "description": "Body of the error response returned from the API.", + "properties": { + "extendedCode": { + "type": "string", + "description": "Type of error." + }, + "messageTemplate": { + "type": "string", + "description": "Message template." + }, + "parameters": { + "type": "array", + "description": "Parameters for the template.", + "items": { + "type": "string" + }, + "xml": { + "wrapped": true + } + }, + "innerErrors": { + "type": "array", + "description": "Inner errors.", + "items": { + "$ref": "#/definitions/ErrorEntity" + }, + "xml": { + "wrapped": true + }, + "x-ms-identifiers": [] + }, + "details": { + "type": "array", + "description": "Error Details.", + "items": { + "$ref": "#/definitions/ErrorEntity" + }, + "xml": { + "wrapped": true + }, + "x-ms-identifiers": [] + }, + "target": { + "type": "string", + "description": "The error target." + }, + "code": { + "type": "string", + "description": "Basic error code." + }, + "message": { + "type": "string", + "description": "Any details of the error." + } + } + }, + "ErrorInfo": { + "type": "object", + "description": "The error info.", + "properties": { + "code": { + "type": "string", + "description": "The error code." + } + }, + "required": [ + "code" + ] + }, + "ErrorProperties": { + "type": "object", + "description": "Error properties indicate why the Logic service was not able to process the incoming request. The reason is provided in the error message.", + "properties": { + "code": { + "type": "string", + "description": "Error code." + }, + "message": { + "type": "string", + "description": "Error message indicating why the operation failed." + } + } + }, + "ErrorResponse": { + "type": "object", + "description": "Error response indicates Logic service is not able to process the incoming request. The error property contains the error details.", + "properties": { + "error": { + "$ref": "#/definitions/ErrorProperties", + "description": "The error properties." + } + } + }, + "Experiments": { + "type": "object", + "description": "Routing rules in production experiments.", + "properties": { + "rampUpRules": { + "type": "array", + "description": "List of ramp-up rules.", + "items": { + "$ref": "#/definitions/RampUpRule" + }, + "xml": { + "wrapped": true + }, + "x-ms-identifiers": [ + "name" + ] + } + } + }, + "Expression": { + "type": "object", + "description": "The expression.", + "properties": { + "text": { + "type": "string", + "description": "The text." + }, + "value": { + "description": "Anything" + }, + "subexpressions": { + "type": "array", + "description": "The sub expressions.", + "items": { + "$ref": "#/definitions/Expression" + }, + "xml": { + "wrapped": true + }, + "x-ms-identifiers": [] + }, + "error": { + "$ref": "#/definitions/AzureResourceErrorInfo", + "description": "The azure resource error info." + } + } + }, + "ExpressionRoot": { + "type": "object", + "description": "The expression root.", + "properties": { + "path": { + "type": "string", + "description": "The path." + } + }, + "allOf": [ + { + "$ref": "#/definitions/Expression" + } + ] + }, + "ExpressionTraces": { + "type": "object", + "description": "The expression traces.", + "properties": { + "value": {}, + "inputs": { + "type": "array", + "items": { + "$ref": "#/definitions/ExpressionRoot" + }, + "xml": { + "wrapped": true + }, + "x-ms-identifiers": [ + "path" + ] + }, + "nextLink": { + "type": "string", + "description": "The link used to get the next page of recommendations." + } + } + }, + "ExtendedLocation": { + "type": "object", + "description": "Extended Location.", + "properties": { + "name": { + "type": "string", + "description": "Name of extended location." + }, + "type": { + "type": "string", + "description": "Type of extended location.", + "readOnly": true + } + } + }, + "Facebook": { + "type": "object", + "description": "The configuration settings of the Facebook provider.", + "properties": { + "enabled": { + "type": "boolean", + "description": "false if the Facebook provider should not be enabled despite the set registration; otherwise, true." + }, + "registration": { + "$ref": "#/definitions/AppRegistration", + "description": "The configuration settings of the app registration for the Facebook provider." + }, + "graphApiVersion": { + "type": "string", + "description": "The version of the Facebook api to be used while logging in." + }, + "login": { + "$ref": "#/definitions/LoginScopes", + "description": "The configuration settings of the login flow." + } + } + }, + "FileSystemApplicationLogsConfig": { + "type": "object", + "description": "Application logs to file system configuration.", + "properties": { + "level": { + "type": "string", + "description": "Log level.", + "default": "Off", + "enum": [ + "Off", + "Verbose", + "Information", + "Warning", + "Error" + ], + "x-ms-enum": { + "name": "LogLevel", + "modelAsString": false + } + } + } + }, + "FileSystemHttpLogsConfig": { + "type": "object", + "description": "Http logs to file system configuration.", + "properties": { + "retentionInMb": { + "type": "integer", + "format": "int32", + "description": "Maximum size in megabytes that http log files can use.\nWhen reached old log files will be removed to make space for new ones.\nValue can range between 25 and 100.", + "minimum": 25, + "maximum": 100 + }, + "retentionInDays": { + "type": "integer", + "format": "int32", + "description": "Retention in days.\nRemove files older than X days.\n0 or lower means no retention." + }, + "enabled": { + "type": "boolean", + "description": "True if configuration is enabled, false if it is disabled and null if configuration is not set." + } + } + }, + "FileSystemTokenStore": { + "type": "object", + "description": "The configuration settings of the storage of the tokens if a file system is used.", + "properties": { + "directory": { + "type": "string", + "description": "The directory in which the tokens will be stored." + } + } + }, + "FlowAccessControlConfiguration": { + "type": "object", + "description": "The access control configuration.", + "properties": { + "triggers": { + "$ref": "#/definitions/FlowAccessControlConfigurationPolicy", + "description": "The access control configuration for invoking workflow triggers." + }, + "contents": { + "$ref": "#/definitions/FlowAccessControlConfigurationPolicy", + "description": "The access control configuration for accessing workflow run contents." + }, + "actions": { + "$ref": "#/definitions/FlowAccessControlConfigurationPolicy", + "description": "The access control configuration for workflow actions." + }, + "workflowManagement": { + "$ref": "#/definitions/FlowAccessControlConfigurationPolicy", + "description": "The access control configuration for workflow management." + } + } + }, + "FlowAccessControlConfigurationPolicy": { + "type": "object", + "description": "The access control configuration policy.", + "properties": { + "allowedCallerIpAddresses": { + "type": "array", + "description": "The allowed caller IP address ranges.", + "items": { + "$ref": "#/definitions/IpAddressRange" + }, + "xml": { + "wrapped": true + }, + "x-ms-identifiers": [] + }, + "openAuthenticationPolicies": { + "$ref": "#/definitions/OpenAuthenticationAccessPolicies", + "description": "The authentication policies for workflow." + } + } + }, + "FlowEndpoints": { + "type": "object", + "description": "The flow endpoints configuration.", + "properties": { + "outgoingIpAddresses": { + "type": "array", + "description": "The outgoing ip address.", + "items": { + "$ref": "#/definitions/IpAddress" + }, + "xml": { + "wrapped": true + }, + "x-ms-identifiers": [ + "address" + ] + }, + "accessEndpointIpAddresses": { + "type": "array", + "description": "The access endpoint ip address.", + "items": { + "$ref": "#/definitions/IpAddress" + }, + "xml": { + "wrapped": true + }, + "x-ms-identifiers": [ + "address" + ] + } + } + }, + "FlowEndpointsConfiguration": { + "type": "object", + "description": "The endpoints configuration.", + "properties": { + "workflow": { + "$ref": "#/definitions/FlowEndpoints", + "description": "The workflow endpoints." + }, + "connector": { + "$ref": "#/definitions/FlowEndpoints", + "description": "The connector endpoints." + } + } + }, + "ForwardProxy": { + "type": "object", + "description": "The configuration settings of a forward proxy used to make the requests.", + "properties": { + "convention": { + "$ref": "#/definitions/ForwardProxyConvention", + "description": "The convention used to determine the url of the request made." + }, + "customHostHeaderName": { + "type": "string", + "description": "The name of the header containing the host of the request." + }, + "customProtoHeaderName": { + "type": "string", + "description": "The name of the header containing the scheme of the request." + } + } + }, + "ForwardProxyConvention": { + "type": "string", + "description": "The convention used to determine the url of the request made.", + "enum": [ + "NoProxy", + "Standard", + "Custom" + ], + "x-ms-enum": { + "name": "ForwardProxyConvention", + "modelAsString": false + } + }, + "FrontEndConfiguration": { + "type": "object", + "properties": { + "kind": { + "$ref": "#/definitions/FrontEndServiceType" + } + } + }, + "FrontEndServiceType": { + "type": "string", + "enum": [ + "NodePort", + "LoadBalancer" + ], + "x-ms-enum": { + "name": "FrontEndServiceType", + "modelAsString": false + } + }, + "FtpsState": { + "type": "string", + "description": "State of FTP / FTPS service", + "enum": [ + "AllAllowed", + "FtpsOnly", + "Disabled" + ], + "x-ms-enum": { + "name": "FtpsState", + "modelAsString": true, + "values": [ + { + "name": "AllAllowed", + "value": "AllAllowed" + }, + { + "name": "FtpsOnly", + "value": "FtpsOnly" + }, + { + "name": "Disabled", + "value": "Disabled" + } + ] + } + }, + "FunctionAppConfig": { + "type": "object", + "description": "Function app configuration.", + "properties": { + "deployment": { + "$ref": "#/definitions/FunctionsDeployment", + "description": "Function app deployment configuration." + }, + "runtime": { + "$ref": "#/definitions/FunctionsRuntime", + "description": "Function app runtime settings." + }, + "scaleAndConcurrency": { + "$ref": "#/definitions/FunctionsScaleAndConcurrency", + "description": "Function app scale and concurrency settings." + } + } + }, + "FunctionAppMajorVersion": { + "type": "object", + "description": "Function App stack major version.", + "properties": { + "displayText": { + "type": "string", + "description": "Function App stack major version (display only).", + "readOnly": true + }, + "value": { + "type": "string", + "description": "Function App stack major version name.", + "readOnly": true + }, + "minorVersions": { + "type": "array", + "description": "Minor versions associated with the major version.", + "items": { + "$ref": "#/definitions/FunctionAppMinorVersion" + }, + "readOnly": true, + "xml": { + "wrapped": true + }, + "x-ms-identifiers": [ + "value" + ] + } + } + }, + "FunctionAppMinorVersion": { + "type": "object", + "description": "Function App stack minor version.", + "properties": { + "displayText": { + "type": "string", + "description": "Function App stack (display only).", + "readOnly": true + }, + "value": { + "type": "string", + "description": "Function App stack name.", + "readOnly": true + }, + "stackSettings": { + "$ref": "#/definitions/FunctionAppRuntimes", + "description": "Settings associated with the minor version.", + "readOnly": true + } + } + }, + "FunctionAppRuntimeSettings": { + "type": "object", + "description": "Function App runtime settings.", + "properties": { + "runtimeVersion": { + "type": "string", + "description": "Function App stack minor version (runtime only).", + "readOnly": true + }, + "remoteDebuggingSupported": { + "type": "boolean", + "description": "true if remote debugging is supported for the stack; otherwise, false.", + "readOnly": true + }, + "appInsightsSettings": { + "$ref": "#/definitions/AppInsightsWebAppStackSettings", + "description": "Application Insights settings associated with the minor version.", + "readOnly": true + }, + "gitHubActionSettings": { + "$ref": "#/definitions/GitHubActionWebAppStackSettings", + "description": "GitHub Actions settings associated with the minor version.", + "readOnly": true + }, + "appSettingsDictionary": { + "type": "object", + "description": "Application settings associated with the minor version.", + "additionalProperties": { + "type": "string" + }, + "readOnly": true + }, + "siteConfigPropertiesDictionary": { + "$ref": "#/definitions/SiteConfigPropertiesDictionary", + "description": "Configuration settings associated with the minor version.", + "readOnly": true + }, + "supportedFunctionsExtensionVersions": { + "type": "array", + "description": "List of supported Functions extension versions.", + "items": { + "type": "string" + }, + "readOnly": true, + "xml": { + "wrapped": true + } + }, + "isPreview": { + "type": "boolean", + "description": "true if the stack is in preview; otherwise, false.", + "readOnly": true + }, + "isDeprecated": { + "type": "boolean", + "description": "true if the stack is deprecated; otherwise, false.", + "readOnly": true + }, + "isHidden": { + "type": "boolean", + "description": "true if the stack should be hidden; otherwise, false.", + "readOnly": true + }, + "endOfLifeDate": { + "type": "string", + "format": "date-time", + "description": "End-of-life date for the minor version.", + "readOnly": true + }, + "isAutoUpdate": { + "type": "boolean", + "description": "true if the stack version is auto-updated; otherwise, false.", + "readOnly": true + }, + "isEarlyAccess": { + "type": "boolean", + "description": "true if the minor version is early-access; otherwise, false.", + "readOnly": true + }, + "isDefault": { + "type": "boolean", + "description": "true if the minor version the default; otherwise, false.", + "readOnly": true + } + } + }, + "FunctionAppRuntimes": { + "type": "object", + "description": "Function App stack runtimes.", + "properties": { + "linuxRuntimeSettings": { + "$ref": "#/definitions/FunctionAppRuntimeSettings", + "description": "Linux-specific settings associated with the minor version.", + "readOnly": true + }, + "windowsRuntimeSettings": { + "$ref": "#/definitions/FunctionAppRuntimeSettings", + "description": "Windows-specific settings associated with the minor version.", + "readOnly": true + } + } + }, + "FunctionAppStack": { + "type": "object", + "description": "Function App Stack.", + "properties": { + "location": { + "type": "string", + "description": "Function App stack location.", + "readOnly": true + }, + "properties": { + "$ref": "#/definitions/FunctionAppStackProperties", + "description": "FunctionAppStack resource specific properties", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "#/definitions/ProxyOnlyResource" + } + ] + }, + "FunctionAppStackCollection": { + "type": "object", + "description": "Collection of Function app Stacks", + "properties": { + "value": { + "type": "array", + "description": "The FunctionAppStack items on this page", + "items": { + "$ref": "#/definitions/FunctionAppStack" + }, + "xml": { + "wrapped": true + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "FunctionAppStackProperties": { + "type": "object", + "description": "FunctionAppStack resource specific properties", + "properties": { + "displayText": { + "type": "string", + "description": "Function App stack (display only).", + "readOnly": true + }, + "value": { + "type": "string", + "description": "Function App stack name.", + "readOnly": true + }, + "majorVersions": { + "type": "array", + "description": "List of major versions available.", + "items": { + "$ref": "#/definitions/FunctionAppMajorVersion" + }, + "readOnly": true, + "xml": { + "wrapped": true + }, + "x-ms-identifiers": [ + "value" + ] + }, + "preferredOs": { + "$ref": "#/definitions/StackPreferredOs", + "description": "Function App stack preferred OS.", + "readOnly": true + } + } + }, + "FunctionEnvelope": { + "type": "object", + "description": "Function information.", + "properties": { + "properties": { + "$ref": "#/definitions/FunctionEnvelopeProperties", + "description": "FunctionEnvelope resource specific properties", + "x-ms-client-flatten": true + }, + "kind": { + "type": "string", + "description": "Kind of resource." + } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ] + }, + "FunctionEnvelopeCollection": { + "type": "object", + "description": "Collection of Kudu function information elements.", + "properties": { + "value": { + "type": "array", + "description": "The FunctionEnvelope items on this page", + "items": { + "$ref": "#/definitions/FunctionEnvelope" + }, + "xml": { + "wrapped": true + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "FunctionEnvelopeProperties": { + "type": "object", + "description": "FunctionEnvelope resource specific properties", + "properties": { + "function_app_id": { + "type": "string", + "description": "Function App ID.", + "x-ms-client-name": "functionAppId" + }, + "script_root_path_href": { + "type": "string", + "description": "Script root path URI.", + "x-ms-client-name": "scriptRootPathHref" + }, + "script_href": { + "type": "string", + "description": "Script URI.", + "x-ms-client-name": "scriptHref" + }, + "config_href": { + "type": "string", + "description": "Config URI.", + "x-ms-client-name": "configHref" + }, + "test_data_href": { + "type": "string", + "description": "Test data URI.", + "x-ms-client-name": "testDataHref" + }, + "secrets_file_href": { + "type": "string", + "description": "Secrets file URI.", + "x-ms-client-name": "secretsFileHref" + }, + "href": { + "type": "string", + "description": "Function URI." + }, + "config": { + "description": "Config information." + }, + "files": { + "type": "object", + "description": "File list.", + "additionalProperties": { + "type": "string" + } + }, + "test_data": { + "type": "string", + "description": "Test data used when testing via the Azure Portal.", + "x-ms-client-name": "testData" + }, + "invoke_url_template": { + "type": "string", + "description": "The invocation URL", + "x-ms-client-name": "invokeUrlTemplate" + }, + "language": { + "type": "string", + "description": "The function language" + }, + "isDisabled": { + "type": "boolean", + "description": "Gets or sets a value indicating whether the function is disabled" + } + } + }, + "FunctionSecrets": { + "type": "object", + "description": "Function secrets.", + "properties": { + "key": { + "type": "string", + "description": "Secret key." + }, + "trigger_url": { + "type": "string", + "description": "Trigger URL.", + "x-ms-client-name": "triggerUrl" + } + } + }, + "FunctionsAlwaysReadyConfig": { + "type": "object", + "description": "Sets the number of 'Always Ready' instances for a function group or a specific function.", + "properties": { + "name": { + "type": "string", + "description": "Either a function group or a function name is required. For additional information see https://aka.ms/flexconsumption/alwaysready." + }, + "instanceCount": { + "type": "integer", + "format": "int32", + "description": "Sets the number of 'Always Ready' instances for a given function group or a specific function. For additional information see https://aka.ms/flexconsumption/alwaysready." + } + } + }, + "FunctionsDeployment": { + "type": "object", + "description": "Configuration section for the function app deployment.", + "properties": { + "storage": { + "$ref": "#/definitions/FunctionsDeploymentStorage", + "description": "Storage for deployed package used by the function app." + } + } + }, + "FunctionsDeploymentStorage": { + "type": "object", + "description": "Storage for deployed package used by the function app.", + "properties": { + "type": { + "$ref": "#/definitions/FunctionsDeploymentStorageType", + "description": "Property to select Azure Storage type. Available options: blobContainer." + }, + "value": { + "type": "string", + "format": "uri", + "description": "Property to set the URL for the selected Azure Storage type. Example: For blobContainer, the value could be https://.blob.core.windows.net/." + }, + "authentication": { + "$ref": "#/definitions/FunctionsDeploymentStorageAuthentication", + "description": "Authentication method to access the storage account for deployment." + } + } + }, + "FunctionsDeploymentStorageAuthentication": { + "type": "object", + "description": "Authentication method to access the storage account for deployment.", + "properties": { + "type": { + "$ref": "#/definitions/AuthenticationType", + "description": "Property to select authentication type to access the selected storage account. Available options: SystemAssignedIdentity, UserAssignedIdentity, StorageAccountConnectionString." + }, + "userAssignedIdentityResourceId": { + "type": "string", + "description": "Use this property for UserAssignedIdentity. Set the resource ID of the identity. Do not set a value for this property when using other authentication type." + }, + "storageAccountConnectionStringName": { + "type": "string", + "description": "Use this property for StorageAccountConnectionString. Set the name of the app setting that has the storage account connection string. Do not set a value for this property when using other authentication type." + } + } + }, + "FunctionsDeploymentStorageType": { + "type": "string", + "description": "Property to select Azure Storage type. Available options: blobContainer.", + "enum": [ + "blobContainer" + ], + "x-ms-enum": { + "name": "FunctionsDeploymentStorageType", + "modelAsString": true, + "values": [ + { + "name": "blobContainer", + "value": "blobContainer" + } + ] + } + }, + "FunctionsRuntime": { + "type": "object", + "description": "Function app runtime name and version.", + "properties": { + "name": { + "$ref": "#/definitions/RuntimeName", + "description": "Function app runtime name. Available options: dotnet-isolated, node, java, powershell, python, custom" + }, + "version": { + "type": "string", + "description": "Function app runtime version. Example: 8 (for dotnet-isolated)", + "x-nullable": true + } + } + }, + "FunctionsScaleAndConcurrency": { + "type": "object", + "description": "Scale and concurrency settings for the function app.", + "properties": { + "alwaysReady": { + "type": "array", + "description": "'Always Ready' configuration for the function app.", + "items": { + "$ref": "#/definitions/FunctionsAlwaysReadyConfig" + }, + "xml": { + "wrapped": true + } + }, + "maximumInstanceCount": { + "type": "integer", + "format": "int32", + "description": "The maximum number of instances for the function app." + }, + "instanceMemoryMB": { + "type": "integer", + "format": "int32", + "description": "Set the amount of memory allocated to each instance of the function app in MB. CPU and network bandwidth are allocated proportionally." + }, + "triggers": { + "$ref": "#/definitions/FunctionsScaleAndConcurrencyTriggers", + "description": "Scale and concurrency settings for the function app triggers." + } + } + }, + "FunctionsScaleAndConcurrencyTriggers": { + "type": "object", + "description": "Scale and concurrency settings for the function app triggers.", + "properties": { + "http": { + "$ref": "#/definitions/FunctionsScaleAndConcurrencyTriggersHttp", + "description": "Scale and concurrency settings for the HTTP trigger." + } + } + }, + "FunctionsScaleAndConcurrencyTriggersHttp": { + "type": "object", + "description": "Scale and concurrency settings for the HTTP trigger.", + "properties": { + "perInstanceConcurrency": { + "type": "integer", + "format": "int32", + "description": "The maximum number of concurrent HTTP trigger invocations per instance." + } + } + }, + "GeoRegion": { + "type": "object", + "description": "Geographical region.", + "properties": { + "properties": { + "$ref": "#/definitions/GeoRegionProperties", + "description": "GeoRegion resource specific properties", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "#/definitions/ProxyOnlyResource" + } + ] + }, + "GeoRegionCollection": { + "type": "object", + "description": "Collection of geographical regions.", + "properties": { + "value": { + "type": "array", + "description": "The GeoRegion items on this page", + "items": { + "$ref": "#/definitions/GeoRegion" + }, + "xml": { + "wrapped": true + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "GeoRegionProperties": { + "type": "object", + "description": "GeoRegion resource specific properties", + "properties": { + "description": { + "type": "string", + "description": "Region description.", + "readOnly": true + }, + "displayName": { + "type": "string", + "description": "Display name for region.", + "readOnly": true + }, + "orgDomain": { + "type": "string", + "description": "Display name for region.", + "readOnly": true + } + } + }, + "GitHub": { + "type": "object", + "description": "The configuration settings of the GitHub provider.", + "properties": { + "enabled": { + "type": "boolean", + "description": "false if the GitHub provider should not be enabled despite the set registration; otherwise, true." + }, + "registration": { + "$ref": "#/definitions/ClientRegistration", + "description": "The configuration settings of the app registration for the GitHub provider." + }, + "login": { + "$ref": "#/definitions/LoginScopes", + "description": "The configuration settings of the login flow." + } + } + }, + "GitHubActionCodeConfiguration": { + "type": "object", + "description": "The GitHub action code configuration.", + "properties": { + "runtimeStack": { + "type": "string", + "description": "Runtime stack is used to determine the workflow file content for code base apps." + }, + "runtimeVersion": { + "type": "string", + "description": "Runtime version is used to determine what build version to set in the workflow file." + } + } + }, + "GitHubActionConfiguration": { + "type": "object", + "description": "The GitHub action configuration.", + "properties": { + "codeConfiguration": { + "$ref": "#/definitions/GitHubActionCodeConfiguration", + "description": "GitHub Action code configuration." + }, + "containerConfiguration": { + "$ref": "#/definitions/GitHubActionContainerConfiguration", + "description": "GitHub Action container configuration." + }, + "isLinux": { + "type": "boolean", + "description": "This will help determine the workflow configuration to select." + }, + "generateWorkflowFile": { + "type": "boolean", + "description": "Workflow option to determine whether the workflow file should be generated and written to the repository." + } + } + }, + "GitHubActionContainerConfiguration": { + "type": "object", + "description": "The GitHub action container configuration.", + "properties": { + "serverUrl": { + "type": "string", + "description": "The server URL for the container registry where the build will be hosted." + }, + "imageName": { + "type": "string", + "description": "The image name for the build." + }, + "username": { + "type": "string", + "description": "The username used to upload the image to the container registry." + }, + "password": { + "type": "string", + "format": "password", + "description": "The password used to upload the image to the container registry.", + "x-ms-secret": true + } + } + }, + "GitHubActionWebAppStackSettings": { + "type": "object", + "description": "GitHub Actions Web App stack settings.", + "properties": { + "isSupported": { + "type": "boolean", + "description": "true if GitHub Actions is supported for the stack; otherwise, false.", + "readOnly": true + }, + "supportedVersion": { + "type": "string", + "description": "The minor version that is supported for GitHub Actions.", + "readOnly": true + } + } + }, + "GlobalCsmSkuDescription": { + "type": "object", + "description": "A Global SKU Description.", + "properties": { + "name": { + "type": "string", + "description": "Name of the resource SKU." + }, + "tier": { + "type": "string", + "description": "Service Tier of the resource SKU." + }, + "size": { + "type": "string", + "description": "Size specifier of the resource SKU." + }, + "family": { + "type": "string", + "description": "Family code of the resource SKU." + }, + "capacity": { + "$ref": "#/definitions/SkuCapacity", + "description": "Min, max, and default scale values of the SKU." + }, + "locations": { + "type": "array", + "description": "Locations of the SKU.", + "items": { + "type": "string" + }, + "xml": { + "wrapped": true + } + }, + "capabilities": { + "type": "array", + "description": "Capabilities of the SKU, e.g., is traffic manager enabled?", + "items": { + "$ref": "#/definitions/Capability" + }, + "xml": { + "wrapped": true + }, + "x-ms-identifiers": [ + "name" + ] + } + } + }, + "GlobalValidation": { + "type": "object", + "description": "The configuration settings that determines the validation flow of users using App Service Authentication/Authorization.", + "properties": { + "requireAuthentication": { + "type": "boolean", + "description": "true if the authentication flow is required any request is made; otherwise, false." + }, + "unauthenticatedClientAction": { + "$ref": "#/definitions/UnauthenticatedClientActionV2", + "description": "The action to take when an unauthenticated client attempts to access the app." + }, + "redirectToProvider": { + "type": "string", + "description": "The default authentication provider to use when multiple providers are configured.\nThis setting is only needed if multiple providers are configured and the unauthenticated client\naction is set to \"RedirectToLoginPage\"." + }, + "excludedPaths": { + "type": "array", + "description": "The paths for which unauthenticated flow would not be redirected to the login page.", + "items": { + "type": "string" + }, + "xml": { + "wrapped": true + } + } + } + }, + "Google": { + "type": "object", + "description": "The configuration settings of the Google provider.", + "properties": { + "enabled": { + "type": "boolean", + "description": "false if the Google provider should not be enabled despite the set registration; otherwise, true." + }, + "registration": { + "$ref": "#/definitions/ClientRegistration", + "description": "The configuration settings of the app registration for the Google provider." + }, + "login": { + "$ref": "#/definitions/LoginScopes", + "description": "The configuration settings of the login flow." + }, + "validation": { + "$ref": "#/definitions/AllowedAudiencesValidation", + "description": "The configuration settings of the Azure Active Directory token validation flow." + } + } + }, + "HandlerMapping": { + "type": "object", + "description": "The IIS handler mappings used to define which handler processes HTTP requests with certain extension.\nFor example, it is used to configure php-cgi.exe process to handle all HTTP requests with *.php extension.", + "properties": { + "extension": { + "type": "string", + "description": "Requests with this extension will be handled using the specified FastCGI application." + }, + "scriptProcessor": { + "type": "string", + "description": "The absolute path to the FastCGI application." + }, + "arguments": { + "type": "string", + "description": "Command-line arguments to be passed to the script processor." + } + } + }, + "HostKeys": { + "type": "object", + "description": "Functions host level keys.", + "properties": { + "masterKey": { + "type": "string", + "description": "Secret key." + }, + "functionKeys": { + "type": "object", + "description": "Host level function keys.", + "additionalProperties": { + "type": "string" + } + }, + "systemKeys": { + "type": "object", + "description": "System keys.", + "additionalProperties": { + "type": "string" + } + } + } + }, + "HostNameBinding": { + "type": "object", + "description": "A hostname binding object.", + "properties": { + "properties": { + "$ref": "#/definitions/HostNameBindingProperties", + "description": "HostNameBinding resource specific properties", + "x-ms-client-flatten": true + }, + "kind": { + "type": "string", + "description": "Kind of resource." + } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ] + }, + "HostNameBindingCollection": { + "type": "object", + "description": "Collection of hostname bindings.", + "properties": { + "value": { + "type": "array", + "description": "The HostNameBinding items on this page", + "items": { + "$ref": "#/definitions/HostNameBinding" + }, + "xml": { + "wrapped": true + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "HostNameBindingProperties": { + "type": "object", + "description": "HostNameBinding resource specific properties", + "properties": { + "siteName": { + "type": "string", + "description": "App Service app name.", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "domainId": { + "type": "string", + "description": "Fully qualified ARM domain resource URI.", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "azureResourceName": { + "type": "string", + "description": "Azure resource name.", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "azureResourceType": { + "$ref": "#/definitions/AzureResourceType", + "description": "Azure resource type.", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "customHostNameDnsRecordType": { + "$ref": "#/definitions/CustomHostNameDnsRecordType", + "description": "Custom DNS record type.", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "hostNameType": { + "$ref": "#/definitions/HostNameType", + "description": "Hostname type.", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "sslState": { + "$ref": "#/definitions/SslState", + "description": "SSL type", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "thumbprint": { + "type": "string", + "description": "SSL certificate thumbprint", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "virtualIP": { + "type": "string", + "description": "Virtual IP address assigned to the hostname if IP based SSL is enabled.", + "readOnly": true + } + } + }, + "HostNameSslState": { + "type": "object", + "description": "SSL-enabled hostname.", + "properties": { + "name": { + "type": "string", + "description": "Hostname." + }, + "sslState": { + "$ref": "#/definitions/SslState", + "description": "SSL type." + }, + "virtualIP": { + "type": "string", + "description": "Virtual IP address assigned to the hostname if IP based SSL is enabled." + }, + "thumbprint": { + "type": "string", + "description": "SSL certificate thumbprint." + }, + "toUpdate": { + "type": "boolean", + "description": "Set to true to update existing hostname." + }, + "hostType": { + "$ref": "#/definitions/HostType", + "description": "Indicates whether the hostname is a standard or repository hostname." + } + } + }, + "HostNameType": { + "type": "string", + "description": "Hostname type.", + "enum": [ + "Verified", + "Managed" + ], + "x-ms-enum": { + "name": "HostNameType", + "modelAsString": false + } + }, + "HostType": { + "type": "string", + "description": "Indicates whether the hostname is a standard or repository hostname.", + "enum": [ + "Standard", + "Repository" + ], + "x-ms-enum": { + "name": "HostType", + "modelAsString": false + } + }, + "HostingEnvironmentDeploymentInfo": { + "type": "object", + "description": "Information needed to create resources on an App Service Environment.", + "properties": { + "name": { + "type": "string", + "description": "Name of the App Service Environment." + }, + "location": { + "type": "string", + "description": "Location of the App Service Environment." + } + } + }, + "HostingEnvironmentDiagnostics": { + "type": "object", + "description": "Diagnostics for an App Service Environment.", + "properties": { + "name": { + "type": "string", + "description": "Name/identifier of the diagnostics." + }, + "diagnosticsOutput": { + "type": "string", + "description": "Diagnostics output." + } + } + }, + "HostingEnvironmentProfile": { + "type": "object", + "description": "Specification for an App Service Environment to use for this resource.", + "properties": { + "id": { + "type": "string", + "description": "Resource ID of the App Service Environment." + }, + "name": { + "type": "string", + "description": "Name of the App Service Environment.", + "readOnly": true + }, + "type": { + "type": "string", + "description": "Resource type of the App Service Environment.", + "readOnly": true + } + } + }, + "HostingEnvironmentStatus": { + "type": "string", + "description": "Current status of the App Service Environment.", + "enum": [ + "Preparing", + "Ready", + "Scaling", + "Deleting" + ], + "x-ms-enum": { + "name": "HostingEnvironmentStatus", + "modelAsString": false + } + }, + "HttpLogsConfig": { + "type": "object", + "description": "Http logs configuration.", + "properties": { + "fileSystem": { + "$ref": "#/definitions/FileSystemHttpLogsConfig", + "description": "Http logs to file system configuration." + }, + "azureBlobStorage": { + "$ref": "#/definitions/AzureBlobStorageHttpLogsConfig", + "description": "Http logs to azure blob storage configuration." + } + } + }, + "HttpSettings": { + "type": "object", + "description": "The configuration settings of the HTTP requests for authentication and authorization requests made against App Service Authentication/Authorization.", + "properties": { + "requireHttps": { + "type": "boolean", + "description": "false if the authentication/authorization responses not having the HTTPS scheme are permissible; otherwise, true." + }, + "routes": { + "$ref": "#/definitions/HttpSettingsRoutes", + "description": "The configuration settings of the paths HTTP requests." + }, + "forwardProxy": { + "$ref": "#/definitions/ForwardProxy", + "description": "The configuration settings of a forward proxy used to make the requests." + } + } + }, + "HttpSettingsRoutes": { + "type": "object", + "description": "The configuration settings of the paths HTTP requests.", + "properties": { + "apiPrefix": { + "type": "string", + "description": "The prefix that should precede all the authentication/authorization paths." + } + } + }, + "HybridConnection": { + "type": "object", + "description": "Hybrid Connection contract. This is used to configure a Hybrid Connection.", + "properties": { + "properties": { + "$ref": "#/definitions/HybridConnectionProperties", + "description": "HybridConnection resource specific properties", + "x-ms-client-flatten": true + }, + "kind": { + "type": "string", + "description": "Kind of resource." + } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ] + }, + "HybridConnectionCollection": { + "type": "object", + "description": "Collection of hostname bindings.", + "properties": { + "value": { + "type": "array", + "description": "The HybridConnection items on this page", + "items": { + "$ref": "#/definitions/HybridConnection" + }, + "xml": { + "wrapped": true + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "HybridConnectionKey": { + "type": "object", + "description": "Hybrid Connection key contract. This has the send key name and value for a Hybrid Connection.", + "properties": { + "properties": { + "$ref": "#/definitions/HybridConnectionKeyProperties", + "description": "HybridConnectionKey resource specific properties", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "#/definitions/ProxyOnlyResource" + } + ] + }, + "HybridConnectionKeyProperties": { + "type": "object", + "description": "HybridConnectionKey resource specific properties", + "properties": { + "sendKeyName": { + "type": "string", + "description": "The name of the send key.", + "readOnly": true + }, + "sendKeyValue": { + "type": "string", + "description": "The value of the send key.", + "readOnly": true + } + } + }, + "HybridConnectionLimits": { + "type": "object", + "description": "Hybrid Connection limits contract. This is used to return the plan limits of Hybrid Connections.", + "properties": { + "properties": { + "$ref": "#/definitions/HybridConnectionLimitsProperties", + "description": "HybridConnectionLimits resource specific properties", + "x-ms-client-flatten": true + }, + "kind": { + "type": "string", + "description": "Kind of resource." + } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ] + }, + "HybridConnectionLimitsProperties": { + "type": "object", + "description": "HybridConnectionLimits resource specific properties", + "properties": { + "current": { + "type": "integer", + "format": "int32", + "description": "The current number of Hybrid Connections.", + "readOnly": true + }, + "maximum": { + "type": "integer", + "format": "int32", + "description": "The maximum number of Hybrid Connections allowed.", + "readOnly": true + } + } + }, + "HybridConnectionProperties": { + "type": "object", + "description": "HybridConnection resource specific properties", + "properties": { + "serviceBusNamespace": { + "type": "string", + "description": "The name of the Service Bus namespace.", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "relayName": { + "type": "string", + "description": "The name of the Service Bus relay.", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "relayArmUri": { + "type": "string", + "description": "The ARM URI to the Service Bus relay." + }, + "hostname": { + "type": "string", + "description": "The hostname of the endpoint." + }, + "port": { + "type": "integer", + "format": "int32", + "description": "The port of the endpoint." + }, + "sendKeyName": { + "type": "string", + "description": "The name of the Service Bus key which has Send permissions. This is used to authenticate to Service Bus." + }, + "sendKeyValue": { + "type": "string", + "description": "The value of the Service Bus key. This is used to authenticate to Service Bus. In ARM this key will not be returned\nnormally, use the POST /listKeys API instead." + }, + "serviceBusSuffix": { + "type": "string", + "description": "The suffix for the service bus endpoint. By default this is .servicebus.windows.net" + } + } + }, + "IPMode": { + "type": "string", + "description": "Specifies the IP mode of the app.", + "enum": [ + "IPv4", + "IPv6", + "IPv4AndIPv6" + ], + "x-ms-enum": { + "name": "IPMode", + "modelAsString": false + } + }, + "Identifier": { + "type": "object", + "description": "A domain specific resource identifier.", + "properties": { + "properties": { + "$ref": "#/definitions/IdentifierProperties", + "description": "Identifier resource specific properties", + "x-ms-client-flatten": true + }, + "kind": { + "type": "string", + "description": "Kind of resource." + } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ] + }, + "IdentifierCollection": { + "type": "object", + "description": "Collection of identifiers.", + "properties": { + "value": { + "type": "array", + "description": "The Identifier items on this page", + "items": { + "$ref": "#/definitions/Identifier" + }, + "xml": { + "wrapped": true + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "IdentifierProperties": { + "type": "object", + "description": "Identifier resource specific properties", + "properties": { + "id": { + "type": "string", + "description": "String representation of the identity.", + "x-ms-client-name": "value" + } + } + }, + "IdentityProviders": { + "type": "object", + "description": "The configuration settings of each of the identity providers used to configure App Service Authentication/Authorization.", + "properties": { + "azureActiveDirectory": { + "$ref": "#/definitions/AzureActiveDirectory", + "description": "The configuration settings of the Azure Active directory provider." + }, + "facebook": { + "$ref": "#/definitions/Facebook", + "description": "The configuration settings of the Facebook provider." + }, + "gitHub": { + "$ref": "#/definitions/GitHub", + "description": "The configuration settings of the GitHub provider." + }, + "google": { + "$ref": "#/definitions/Google", + "description": "The configuration settings of the Google provider." + }, + "legacyMicrosoftAccount": { + "$ref": "#/definitions/LegacyMicrosoftAccount", + "description": "The configuration settings of the legacy Microsoft Account provider." + }, + "twitter": { + "$ref": "#/definitions/Twitter", + "description": "The configuration settings of the Twitter provider." + }, + "apple": { + "$ref": "#/definitions/Apple", + "description": "The configuration settings of the Apple provider." + }, + "azureStaticWebApps": { + "$ref": "#/definitions/AzureStaticWebApps", + "description": "The configuration settings of the Azure Static Web Apps provider." + }, + "customOpenIdConnectProviders": { + "type": "object", + "description": "The map of the name of the alias of each custom Open ID Connect provider to the\nconfiguration settings of the custom Open ID Connect provider.", + "additionalProperties": { + "$ref": "#/definitions/CustomOpenIdConnectProvider" + } + } + } + }, + "InAvailabilityReasonType": { + "type": "string", + "description": "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.", + "enum": [ + "Invalid", + "AlreadyExists" + ], + "x-ms-enum": { + "name": "InAvailabilityReasonType", + "modelAsString": true, + "values": [ + { + "name": "Invalid", + "value": "Invalid" + }, + { + "name": "AlreadyExists", + "value": "AlreadyExists" + } + ] + } + }, + "InboundEnvironmentEndpoint": { + "type": "object", + "description": "The IP Addresses and Ports that require inbound network access to and within the subnet of the App Service Environment.", + "properties": { + "description": { + "type": "string", + "description": "Short text describing the purpose of the network traffic." + }, + "endpoints": { + "type": "array", + "description": "The IP addresses that network traffic will originate from in cidr notation.", + "items": { + "type": "string" + }, + "xml": { + "wrapped": true + } + }, + "ports": { + "type": "array", + "description": "The ports that network traffic will arrive to the App Service Environment at.", + "items": { + "type": "string" + }, + "xml": { + "wrapped": true + } + } + } + }, + "InboundEnvironmentEndpointCollection": { + "type": "object", + "description": "Collection of Inbound Environment Endpoints", + "properties": { + "value": { + "type": "array", + "description": "The InboundEnvironmentEndpoint items on this page", + "items": { + "$ref": "#/definitions/InboundEnvironmentEndpoint" + }, + "xml": { + "wrapped": true + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "InsightStatus": { + "type": "string", + "description": "Level of the most severe insight generated by the detector.", + "enum": [ + "Critical", + "Warning", + "Info", + "Success", + "None" + ], + "x-ms-enum": { + "name": "InsightStatus", + "modelAsString": false + } + }, + "InstallScript": { + "type": "object", + "description": "Server farm install script configuration.", + "properties": { + "name": { + "type": "string", + "description": "Name of the install script." + }, + "source": { + "$ref": "#/definitions/InstallScriptSource", + "description": "Source of the install script." + } + } + }, + "InstallScriptSource": { + "type": "object", + "description": "Object to hold install script reference.", + "properties": { + "sourceUri": { + "type": "string", + "description": "Install script source URI where the install script file will be fetched from." + }, + "type": { + "$ref": "#/definitions/InstallScriptType", + "description": "Type of the install script." + } + } + }, + "InstallScriptType": { + "type": "string", + "description": "Type of the install script.", + "enum": [ + "RemoteAzureBlob", + "PlatformStorage" + ], + "x-ms-enum": { + "name": "InstallScriptType", + "modelAsString": true, + "values": [ + { + "name": "RemoteAzureBlob", + "value": "RemoteAzureBlob" + }, + { + "name": "PlatformStorage", + "value": "PlatformStorage" + } + ] + } + }, + "IpAddress": { + "type": "object", + "description": "The ip address.", + "properties": { + "address": { + "type": "string", + "description": "The address." + } + } + }, + "IpAddressRange": { + "type": "object", + "description": "The ip address range.", + "properties": { + "addressRange": { + "type": "string", + "description": "The IP address range." + } + } + }, + "IpFilterTag": { + "type": "string", + "description": "Defines what this IP filter will be used for. This is to support IP filtering on proxies.", + "enum": [ + "Default", + "XffProxy", + "ServiceTag" + ], + "x-ms-enum": { + "name": "IpFilterTag", + "modelAsString": true, + "values": [ + { + "name": "Default", + "value": "Default" + }, + { + "name": "XffProxy", + "value": "XffProxy" + }, + { + "name": "ServiceTag", + "value": "ServiceTag" + } + ] + } + }, + "IpSecurityRestriction": { + "type": "object", + "description": "IP security restriction on an app.", + "properties": { + "ipAddress": { + "type": "string", + "description": "IP address the security restriction is valid for.\nIt can be in form of pure ipv4 address (required SubnetMask property) or\nCIDR notation such as ipv4/mask (leading bit match). For CIDR,\nSubnetMask property must not be specified." + }, + "subnetMask": { + "type": "string", + "description": "Subnet mask for the range of IP addresses the restriction is valid for." + }, + "vnetSubnetResourceId": { + "type": "string", + "description": "Virtual network resource id" + }, + "vnetTrafficTag": { + "type": "integer", + "format": "int32", + "description": "(internal) Vnet traffic tag" + }, + "subnetTrafficTag": { + "type": "integer", + "format": "int32", + "description": "(internal) Subnet traffic tag" + }, + "action": { + "type": "string", + "description": "Allow or Deny access for this IP range." + }, + "tag": { + "$ref": "#/definitions/IpFilterTag", + "description": "Defines what this IP filter will be used for. This is to support IP filtering on proxies." + }, + "priority": { + "type": "integer", + "format": "int32", + "description": "Priority of IP restriction rule." + }, + "name": { + "type": "string", + "description": "IP restriction rule name." + }, + "description": { + "type": "string", + "description": "IP restriction rule description." + }, + "headers": { + "type": "object", + "description": "IP restriction rule headers.\nX-Forwarded-Host (https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Forwarded-Host#Examples).\nThe matching logic is ..\n- If the property is null or empty (default), all hosts(or lack of) are allowed.\n- A value is compared using ordinal-ignore-case (excluding port number).\n- Subdomain wildcards are permitted but don't match the root domain. For example, *.contoso.com matches the subdomain foo.contoso.com\nbut not the root domain contoso.com or multi-level foo.bar.contoso.com\n- Unicode host names are allowed but are converted to Punycode for matching.\n\nX-Forwarded-For (https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Forwarded-For#Examples).\nThe matching logic is ..\n- If the property is null or empty (default), any forwarded-for chains (or lack of) are allowed.\n- If any address (excluding port number) in the chain (comma separated) matches the CIDR defined by the property.\n\nX-Azure-FDID and X-FD-HealthProbe.\nThe matching logic is exact match.", + "additionalProperties": { + "items": { + "type": "string" + }, + "type": "array" + } + } + } + }, + "IssueType": { + "type": "string", + "description": "Represents the type of the Detector", + "enum": [ + "ServiceIncident", + "AppDeployment", + "AppCrash", + "RuntimeIssueDetected", + "AseDeployment", + "UserIssue", + "PlatformIssue", + "Other" + ], + "x-ms-enum": { + "name": "IssueType", + "modelAsString": false + } + }, + "JsonSchema": { + "type": "object", + "description": "The JSON schema.", + "properties": { + "title": { + "type": "string", + "description": "The JSON title." + }, + "content": { + "type": "string", + "description": "The JSON content." + } + } + }, + "JwtClaimChecks": { + "type": "object", + "description": "The configuration settings of the checks that should be made while validating the JWT Claims.", + "properties": { + "allowedGroups": { + "type": "array", + "description": "The list of the allowed groups.", + "items": { + "type": "string" + }, + "xml": { + "wrapped": true + } + }, + "allowedClientApplications": { + "type": "array", + "description": "The list of the allowed client applications.", + "items": { + "type": "string" + }, + "xml": { + "wrapped": true + } + } + } + }, + "KeyInfo": { + "type": "object", + "description": "Function key info.", + "properties": { + "name": { + "type": "string", + "description": "Key name" + }, + "value": { + "type": "string", + "description": "Key value" + } + } + }, + "KeyType": { + "type": "string", + "description": "The key type.", + "enum": [ + "NotSpecified", + "Primary", + "Secondary" + ], + "x-ms-enum": { + "name": "KeyType", + "modelAsString": true, + "values": [ + { + "name": "NotSpecified", + "value": "NotSpecified" + }, + { + "name": "Primary", + "value": "Primary" + }, + { + "name": "Secondary", + "value": "Secondary" + } + ] + } + }, + "KeyValuePairStringObject": { + "type": "object", + "properties": { + "key": { + "type": "string", + "readOnly": true + }, + "value": { + "description": "Any object", + "readOnly": true + } + } + }, + "KeyVaultReferenceWithStatus": { + "type": "object", + "description": "Object to hold key vault reference and the resolution status", + "properties": { + "secretUri": { + "type": "string", + "description": "Key vault secret URI." + }, + "referenceStatus": { + "type": "string", + "description": "Reference status of the key vault secret." + } + } + }, + "KeyVaultSecretStatus": { + "type": "string", + "description": "Status of the Key Vault secret.", + "enum": [ + "Initialized", + "WaitingOnCertificateOrder", + "Succeeded", + "CertificateOrderFailed", + "OperationNotPermittedOnKeyVault", + "AzureServiceUnauthorizedToAccessKeyVault", + "KeyVaultDoesNotExist", + "KeyVaultSecretDoesNotExist", + "UnknownError", + "ExternalPrivateKey", + "Unknown" + ], + "x-ms-enum": { + "name": "KeyVaultSecretStatus", + "modelAsString": false + } + }, + "Kind": { + "type": "string", + "description": "The workflow kind.", + "enum": [ + "Stateful", + "Stateless" + ], + "x-ms-enum": { + "name": "Kind", + "modelAsString": true, + "values": [ + { + "name": "Stateful", + "value": "Stateful" + }, + { + "name": "Stateless", + "value": "Stateless" + } + ] + } + }, + "KubeEnvironment": { + "type": "object", + "description": "A Kubernetes cluster specialized for web workloads by Azure App Service", + "properties": { + "properties": { + "$ref": "#/definitions/KubeEnvironmentProperties", + "description": "KubeEnvironment resource specific properties", + "x-ms-client-flatten": true + }, + "extendedLocation": { + "$ref": "#/definitions/ExtendedLocation", + "description": "Extended Location." + }, + "kind": { + "type": "string", + "description": "Kind of resource." + } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" + } + ] + }, + "KubeEnvironmentCollection": { + "type": "object", + "description": "Collection of Kubernetes Environments", + "properties": { + "value": { + "type": "array", + "description": "The KubeEnvironment items on this page", + "items": { + "$ref": "#/definitions/KubeEnvironment" + }, + "xml": { + "wrapped": true + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "KubeEnvironmentPatchResource": { + "type": "object", + "description": "ARM resource for a KubeEnvironment when patching", + "properties": { + "properties": { + "$ref": "#/definitions/KubeEnvironmentPatchResourceProperties", + "description": "KubeEnvironmentPatchResource resource specific properties", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "#/definitions/ProxyOnlyResource" + } + ] + }, + "KubeEnvironmentPatchResourceProperties": { + "type": "object", + "description": "KubeEnvironmentPatchResource resource specific properties", + "properties": { + "provisioningState": { + "$ref": "#/definitions/KubeEnvironmentProvisioningState", + "description": "Provisioning state of the Kubernetes Environment.", + "readOnly": true + }, + "deploymentErrors": { + "type": "string", + "description": "Any errors that occurred during deployment or deployment validation", + "readOnly": true + }, + "internalLoadBalancerEnabled": { + "type": "boolean", + "description": "Only visible within Vnet/Subnet", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "defaultDomain": { + "type": "string", + "description": "Default Domain Name for the cluster", + "readOnly": true + }, + "staticIp": { + "type": "string", + "description": "Static IP of the KubeEnvironment", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "arcConfiguration": { + "$ref": "#/definitions/ArcConfiguration", + "description": "Cluster configuration which determines the ARC cluster\ncomponents types. Eg: Choosing between BuildService kind,\nFrontEnd Service ArtifactsStorageType etc." + }, + "appLogsConfiguration": { + "$ref": "#/definitions/AppLogsConfiguration", + "description": "Cluster configuration which enables the log daemon to export\napp logs to a destination. Currently only \"log-analytics\" is\nsupported" + }, + "containerAppsConfiguration": { + "$ref": "#/definitions/ContainerAppsConfiguration", + "description": "Cluster configuration for Container Apps Environments to configure Dapr Instrumentation Key and VNET Configuration" + }, + "aksResourceID": { + "type": "string", + "x-ms-mutability": [ + "read", + "create" + ] + } + } + }, + "KubeEnvironmentProfile": { + "type": "object", + "description": "Specification for a Kubernetes Environment to use for this resource.", + "properties": { + "id": { + "type": "string", + "description": "Resource ID of the Kubernetes Environment." + }, + "name": { + "type": "string", + "description": "Name of the Kubernetes Environment.", + "readOnly": true + }, + "type": { + "type": "string", + "description": "Resource type of the Kubernetes Environment.", + "readOnly": true + } + } + }, + "KubeEnvironmentProperties": { + "type": "object", + "description": "KubeEnvironment resource specific properties", + "properties": { + "provisioningState": { + "$ref": "#/definitions/KubeEnvironmentProvisioningState", + "description": "Provisioning state of the Kubernetes Environment.", + "readOnly": true + }, + "deploymentErrors": { + "type": "string", + "description": "Any errors that occurred during deployment or deployment validation", + "readOnly": true + }, + "internalLoadBalancerEnabled": { + "type": "boolean", + "description": "Only visible within Vnet/Subnet", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "defaultDomain": { + "type": "string", + "description": "Default Domain Name for the cluster", + "readOnly": true + }, + "staticIp": { + "type": "string", + "description": "Static IP of the KubeEnvironment", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "environmentType": { + "type": "string", + "description": "Type of Kubernetes Environment. Only supported for Container App Environments with value as Managed", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "arcConfiguration": { + "$ref": "#/definitions/ArcConfiguration", + "description": "Cluster configuration which determines the ARC cluster\ncomponents types. Eg: Choosing between BuildService kind,\nFrontEnd Service ArtifactsStorageType etc." + }, + "appLogsConfiguration": { + "$ref": "#/definitions/AppLogsConfiguration", + "description": "Cluster configuration which enables the log daemon to export\napp logs to a destination. Currently only \"log-analytics\" is\nsupported" + }, + "containerAppsConfiguration": { + "$ref": "#/definitions/ContainerAppsConfiguration", + "description": "Cluster configuration for Container Apps Environments to configure Dapr Instrumentation Key and VNET Configuration" + }, + "aksResourceID": { + "type": "string", + "x-ms-mutability": [ + "read", + "create" + ] + } + } + }, + "KubeEnvironmentProvisioningState": { + "type": "string", + "description": "Provisioning state of the Kubernetes Environment.", + "enum": [ + "Succeeded", + "Failed", + "Canceled", + "Waiting", + "InitializationInProgress", + "InfrastructureSetupInProgress", + "InfrastructureSetupComplete", + "ScheduledForDelete", + "UpgradeRequested", + "UpgradeFailed" + ], + "x-ms-enum": { + "name": "KubeEnvironmentProvisioningState", + "modelAsString": false + } + }, + "LegacyMicrosoftAccount": { + "type": "object", + "description": "The configuration settings of the legacy Microsoft Account provider.", + "properties": { + "enabled": { + "type": "boolean", + "description": "false if the legacy Microsoft Account provider should not be enabled despite the set registration; otherwise, true." + }, + "registration": { + "$ref": "#/definitions/ClientRegistration", + "description": "The configuration settings of the app registration for the legacy Microsoft Account provider." + }, + "login": { + "$ref": "#/definitions/LoginScopes", + "description": "The configuration settings of the login flow." + }, + "validation": { + "$ref": "#/definitions/AllowedAudiencesValidation", + "description": "The configuration settings of the legacy Microsoft Account provider token validation flow." + } + } + }, + "LinuxJavaContainerSettings": { + "type": "object", + "description": "Linux Java Container settings.", + "properties": { + "java11Runtime": { + "type": "string", + "description": "Java 11 version (runtime only).", + "readOnly": true + }, + "java8Runtime": { + "type": "string", + "description": "Java 8 version (runtime only).", + "readOnly": true + }, + "isPreview": { + "type": "boolean", + "description": "true if the stack is in preview; otherwise, false.", + "readOnly": true + }, + "isDeprecated": { + "type": "boolean", + "description": "true if the stack is deprecated; otherwise, false.", + "readOnly": true + }, + "isHidden": { + "type": "boolean", + "description": "true if the stack should be hidden; otherwise, false.", + "readOnly": true + }, + "endOfLifeDate": { + "type": "string", + "format": "date-time", + "description": "End-of-life date for the minor version.", + "readOnly": true + }, + "isAutoUpdate": { + "type": "boolean", + "description": "true if the stack version is auto-updated; otherwise, false.", + "readOnly": true + }, + "isEarlyAccess": { + "type": "boolean", + "description": "true if the minor version is early-access; otherwise, false.", + "readOnly": true + } + } + }, + "LoadBalancingMode": { + "type": "string", + "description": "Specifies which endpoints to serve internally in the Virtual Network for the App Service Environment.", + "enum": [ + "None", + "Web", + "Publishing", + "Web, Publishing" + ], + "x-ms-enum": { + "name": "LoadBalancingMode", + "modelAsString": true, + "values": [ + { + "name": "None", + "value": "None" + }, + { + "name": "Web", + "value": "Web" + }, + { + "name": "Publishing", + "value": "Publishing" + }, + { + "name": "Web, Publishing", + "value": "Web, Publishing" + } + ] + } + }, + "LocalizableString": { + "type": "object", + "description": "Localizable string object containing the name and a localized value.", + "properties": { + "value": { + "type": "string", + "description": "Non-localized name." + }, + "localizedValue": { + "type": "string", + "description": "Localized name." + } + } + }, + "LogAnalyticsConfiguration": { + "type": "object", + "properties": { + "customerId": { + "type": "string" + }, + "sharedKey": { + "type": "string", + "format": "password", + "x-ms-mutability": [ + "update", + "create" + ], + "x-ms-secret": true + } + } + }, + "LogLevel": { + "type": "string", + "description": "Log level.", + "enum": [ + "Off", + "Verbose", + "Information", + "Warning", + "Error" + ], + "x-ms-enum": { + "name": "LogLevel", + "modelAsString": false + } + }, + "LogSpecification": { + "type": "object", + "description": "Log Definition of a single resource metric.", + "properties": { + "name": { + "type": "string" + }, + "displayName": { + "type": "string" + }, + "blobDuration": { + "type": "string" + }, + "logFilterPattern": { + "type": "string" + } + } + }, + "Login": { + "type": "object", + "description": "The configuration settings of the login flow of users using App Service Authentication/Authorization.", + "properties": { + "routes": { + "$ref": "#/definitions/LoginRoutes", + "description": "The routes that specify the endpoints used for login and logout requests." + }, + "tokenStore": { + "$ref": "#/definitions/TokenStore", + "description": "The configuration settings of the token store." + }, + "preserveUrlFragmentsForLogins": { + "type": "boolean", + "description": "true if the fragments from the request are preserved after the login request is made; otherwise, false." + }, + "allowedExternalRedirectUrls": { + "type": "array", + "description": "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.\nThis is an advanced setting typically only needed by Windows Store application backends.\nNote that URLs within the current domain are always implicitly allowed.", + "items": { + "type": "string" + }, + "xml": { + "wrapped": true + } + }, + "cookieExpiration": { + "$ref": "#/definitions/CookieExpiration", + "description": "The configuration settings of the session cookie's expiration." + }, + "nonce": { + "$ref": "#/definitions/Nonce", + "description": "The configuration settings of the nonce used in the login flow." + } + } + }, + "LoginRoutes": { + "type": "object", + "description": "The routes that specify the endpoints used for login and logout requests.", + "properties": { + "logoutEndpoint": { + "type": "string", + "description": "The endpoint at which a logout request should be made." + } + } + }, + "LoginScopes": { + "type": "object", + "description": "The configuration settings of the login flow, including the scopes that should be requested.", + "properties": { + "scopes": { + "type": "array", + "description": "A list of the scopes that should be requested while authenticating.", + "items": { + "type": "string" + }, + "xml": { + "wrapped": true + } + } + } + }, + "MSDeploy": { + "type": "object", + "description": "MSDeploy ARM PUT information", + "properties": { + "properties": { + "$ref": "#/definitions/MSDeployCore", + "description": "Core resource properties", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "#/definitions/ProxyOnlyResource" + } + ] + }, + "MSDeployCore": { + "type": "object", + "description": "MSDeploy ARM PUT core information", + "properties": { + "packageUri": { + "type": "string", + "description": "Package URI" + }, + "connectionString": { + "type": "string", + "description": "SQL Connection String" + }, + "dbType": { + "type": "string", + "description": "Database Type" + }, + "setParametersXmlFileUri": { + "type": "string", + "description": "URI of MSDeploy Parameters file. Must not be set if SetParameters is used." + }, + "setParameters": { + "type": "object", + "description": "MSDeploy Parameters. Must not be set if SetParametersXmlFileUri is used.", + "additionalProperties": { + "type": "string" + } + }, + "skipAppData": { + "type": "boolean", + "description": "Controls whether the MSDeploy operation skips the App_Data directory.\nIf set to true, the existing App_Data directory on the destination\nwill not be deleted, and any App_Data directory in the source will be ignored.\nSetting is false by default." + }, + "appOffline": { + "type": "boolean", + "description": "Sets the AppOffline rule while the MSDeploy operation executes.\nSetting is false by default." + } + } + }, + "MSDeployLog": { + "type": "object", + "description": "MSDeploy log", + "properties": { + "properties": { + "$ref": "#/definitions/MSDeployLogProperties", + "description": "MSDeployLog resource specific properties", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "#/definitions/ProxyOnlyResource" + } + ] + }, + "MSDeployLogEntry": { + "type": "object", + "description": "MSDeploy log entry", + "properties": { + "time": { + "type": "string", + "format": "date-time", + "description": "Timestamp of log entry", + "readOnly": true + }, + "type": { + "$ref": "#/definitions/MSDeployLogEntryType", + "description": "Log entry type", + "readOnly": true + }, + "message": { + "type": "string", + "description": "Log entry message", + "readOnly": true + } + } + }, + "MSDeployLogEntryType": { + "type": "string", + "description": "Log entry type", + "enum": [ + "Message", + "Warning", + "Error" + ], + "x-ms-enum": { + "name": "MSDeployLogEntryType", + "modelAsString": false + } + }, + "MSDeployLogProperties": { + "type": "object", + "description": "MSDeployLog resource specific properties", + "properties": { + "entries": { + "type": "array", + "description": "List of log entry messages", + "items": { + "$ref": "#/definitions/MSDeployLogEntry" + }, + "readOnly": true, + "xml": { + "wrapped": true + }, + "x-ms-identifiers": [] + } + } + }, + "MSDeployProvisioningState": { + "type": "string", + "description": "Provisioning state", + "enum": [ + "accepted", + "running", + "succeeded", + "failed", + "canceled" + ], + "x-ms-enum": { + "name": "MSDeployProvisioningState", + "modelAsString": false + } + }, + "MSDeployStatus": { + "type": "object", + "description": "MSDeploy ARM response", + "properties": { + "properties": { + "$ref": "#/definitions/MSDeployStatusProperties", + "description": "MSDeployStatus resource specific properties", + "x-ms-client-flatten": true + }, + "kind": { + "type": "string", + "description": "Kind of resource." + } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ] + }, + "MSDeployStatusProperties": { + "type": "object", + "description": "MSDeployStatus resource specific properties", + "properties": { + "deployer": { + "type": "string", + "description": "Username of deployer", + "readOnly": true + }, + "provisioningState": { + "$ref": "#/definitions/MSDeployProvisioningState", + "description": "Provisioning state", + "readOnly": true + }, + "startTime": { + "type": "string", + "format": "date-time", + "description": "Start time of deploy operation", + "readOnly": true + }, + "endTime": { + "type": "string", + "format": "date-time", + "description": "End time of deploy operation", + "readOnly": true + }, + "complete": { + "type": "boolean", + "description": "Whether the deployment operation has completed", + "readOnly": true + } + } + }, + "ManagedPipelineMode": { + "type": "string", + "description": "Managed pipeline mode.", + "enum": [ + "Integrated", + "Classic" + ], + "x-ms-enum": { + "name": "ManagedPipelineMode", + "modelAsString": false + } + }, + "ManagedServiceIdentity": { + "type": "object", + "description": "Managed service identity.", + "properties": { + "type": { + "$ref": "#/definitions/ManagedServiceIdentityType", + "description": "Type of managed service identity." + }, + "tenantId": { + "type": "string", + "description": "Tenant of managed service identity.", + "readOnly": true + }, + "principalId": { + "type": "string", + "description": "Principal Id of managed service identity.", + "readOnly": true + }, + "userAssignedIdentities": { + "type": "object", + "description": "The list of user assigned identities associated with the resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}", + "additionalProperties": { + "$ref": "#/definitions/UserAssignedIdentity" + } + } + } + }, + "ManagedServiceIdentityType": { + "type": "string", + "description": "Type of managed service identity.", + "enum": [ + "SystemAssigned", + "UserAssigned", + "SystemAssigned, UserAssigned", + "None" + ], + "x-ms-enum": { + "name": "ManagedServiceIdentityType", + "modelAsString": false + } + }, + "MetricAvailability": { + "type": "object", + "description": "Retention policy of a resource metric.", + "properties": { + "timeGrain": { + "type": "string" + }, + "blobDuration": { + "type": "string" + } + } + }, + "MetricSpecification": { + "type": "object", + "description": "Definition of a single resource metric.", + "properties": { + "name": { + "type": "string" + }, + "displayName": { + "type": "string" + }, + "displayDescription": { + "type": "string" + }, + "unit": { + "type": "string" + }, + "aggregationType": { + "type": "string" + }, + "supportsInstanceLevelAggregation": { + "type": "boolean" + }, + "enableRegionalMdmAccount": { + "type": "boolean" + }, + "sourceMdmAccount": { + "type": "string" + }, + "sourceMdmNamespace": { + "type": "string" + }, + "metricFilterPattern": { + "type": "string" + }, + "fillGapWithZero": { + "type": "boolean" + }, + "isInternal": { + "type": "boolean" + }, + "dimensions": { + "type": "array", + "items": { + "$ref": "#/definitions/Dimension" + }, + "xml": { + "wrapped": true + }, + "x-ms-identifiers": [ + "name" + ] + }, + "category": { + "type": "string" + }, + "availabilities": { + "type": "array", + "items": { + "$ref": "#/definitions/MetricAvailability" + }, + "xml": { + "wrapped": true + }, + "x-ms-identifiers": [] + }, + "supportedTimeGrainTypes": { + "type": "array", + "items": { + "type": "string" + }, + "xml": { + "wrapped": true + } + }, + "supportedAggregationTypes": { + "type": "array", + "items": { + "type": "string" + }, + "xml": { + "wrapped": true + } + } + } + }, + "MigrateMySqlRequest": { + "type": "object", + "description": "MySQL migration request.", + "properties": { + "properties": { + "$ref": "#/definitions/MigrateMySqlRequestProperties", + "description": "MigrateMySqlRequest resource specific properties", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "#/definitions/ProxyOnlyResource" + } + ] + }, + "MigrateMySqlRequestProperties": { + "type": "object", + "description": "MigrateMySqlRequest resource specific properties", + "properties": { + "connectionString": { + "type": "string", + "description": "Connection string to the remote MySQL database." + }, + "migrationType": { + "$ref": "#/definitions/MySqlMigrationType", + "description": "The type of migration operation to be done" + } + }, + "required": [ + "connectionString", + "migrationType" + ] + }, + "MigrateMySqlStatus": { + "type": "object", + "description": "MySQL migration status.", + "properties": { + "properties": { + "$ref": "#/definitions/MigrateMySqlStatusProperties", + "description": "MigrateMySqlStatus resource specific properties", + "x-ms-client-flatten": true + }, + "kind": { + "type": "string", + "description": "Kind of resource." + } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ] + }, + "MigrateMySqlStatusProperties": { + "type": "object", + "description": "MigrateMySqlStatus resource specific properties", + "properties": { + "migrationOperationStatus": { + "$ref": "#/definitions/OperationStatus", + "description": "Status of the migration task.", + "readOnly": true + }, + "operationId": { + "type": "string", + "description": "Operation ID for the migration task.", + "readOnly": true + }, + "localMySqlEnabled": { + "type": "boolean", + "description": "True if the web app has in app MySql enabled", + "readOnly": true + } + } + }, + "MySqlMigrationType": { + "type": "string", + "description": "The type of migration operation to be done", + "enum": [ + "LocalToRemote", + "RemoteToLocal" + ], + "x-ms-enum": { + "name": "MySqlMigrationType", + "modelAsString": false + } + }, + "NameIdentifier": { + "type": "object", + "description": "Identifies an object.", + "properties": { + "name": { + "type": "string", + "description": "Name of the object." + } + } + }, + "NameValuePair": { + "type": "object", + "description": "Name value pair.", + "properties": { + "name": { + "type": "string", + "description": "Pair name." + }, + "value": { + "type": "string", + "description": "Pair value." + } + } + }, + "NetworkFeatures": { + "type": "object", + "description": "Full view of network features for an app (presently VNET integration and Hybrid Connections).", + "properties": { + "properties": { + "$ref": "#/definitions/NetworkFeaturesProperties", + "description": "NetworkFeatures resource specific properties", + "x-ms-client-flatten": true + }, + "kind": { + "type": "string", + "description": "Kind of resource." + } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ] + }, + "NetworkFeaturesProperties": { + "type": "object", + "description": "NetworkFeatures resource specific properties", + "properties": { + "virtualNetworkName": { + "type": "string", + "description": "The Virtual Network name.", + "readOnly": true + }, + "virtualNetworkConnection": { + "$ref": "#/definitions/VnetInfo", + "description": "The Virtual Network summary view.", + "readOnly": true + }, + "hybridConnections": { + "type": "array", + "description": "The Hybrid Connections summary view.", + "items": { + "$ref": "#/definitions/RelayServiceConnectionEntity" + }, + "readOnly": true, + "xml": { + "wrapped": true + } + }, + "hybridConnectionsV2": { + "type": "array", + "description": "The Hybrid Connection V2 (Service Bus) view.", + "items": { + "$ref": "#/definitions/HybridConnection" + }, + "readOnly": true, + "xml": { + "wrapped": true + } + } + } + }, + "NetworkTrace": { + "type": "object", + "description": "Network trace", + "properties": { + "path": { + "type": "string", + "description": "Local file path for the captured network trace file." + }, + "status": { + "type": "string", + "description": "Current status of the network trace operation, same as Operation.Status (InProgress/Succeeded/Failed)." + }, + "message": { + "type": "string", + "description": "Detailed message of a network trace operation, e.g. error message in case of failure." + } + } + }, + "Nonce": { + "type": "object", + "description": "The configuration settings of the nonce used in the login flow.", + "properties": { + "validateNonce": { + "type": "boolean", + "description": "false if the nonce should not be validated while completing the login flow; otherwise, true." + }, + "nonceExpirationInterval": { + "type": "string", + "description": "The time after the request is made when the nonce should expire." + } + } + }, + "NotificationLevel": { + "type": "string", + "description": "Level indicating how critical this recommendation can impact.", + "enum": [ + "Critical", + "Warning", + "Information", + "NonUrgentSuggestion" + ], + "x-ms-enum": { + "name": "NotificationLevel", + "modelAsString": false + } + }, + "OpenAuthenticationAccessPolicies": { + "type": "object", + "description": "AuthenticationPolicy of type Open.", + "properties": { + "policies": { + "type": "object", + "description": "Open authentication policies.", + "additionalProperties": { + "$ref": "#/definitions/OpenAuthenticationAccessPolicy" + } + } + } + }, + "OpenAuthenticationAccessPolicy": { + "type": "object", + "description": "Open authentication access policy defined by user.", + "properties": { + "type": { + "$ref": "#/definitions/OpenAuthenticationProviderType", + "description": "Type of provider for OAuth." + }, + "claims": { + "type": "array", + "description": "The access policy claims.", + "items": { + "$ref": "#/definitions/OpenAuthenticationPolicyClaim" + }, + "xml": { + "wrapped": true + }, + "x-ms-identifiers": [ + "name" + ] + } + } + }, + "OpenAuthenticationPolicyClaim": { + "type": "object", + "description": "Open authentication policy claim.", + "properties": { + "name": { + "type": "string", + "description": "The name of the claim." + }, + "value": { + "type": "string", + "description": "The value of the claim." + } + } + }, + "OpenAuthenticationProviderType": { + "type": "string", + "description": "Open authentication policy provider type.", + "enum": [ + "AAD" + ], + "x-ms-enum": { + "name": "OpenAuthenticationProviderType", + "modelAsString": true, + "values": [ + { + "name": "AAD", + "value": "AAD" + } + ] + } + }, + "OpenIdConnectClientCredential": { + "type": "object", + "description": "The authentication client credentials of the custom Open ID Connect provider.", + "properties": { + "method": { + "type": "string", + "description": "The method that should be used to authenticate the user.", + "enum": [ + "ClientSecretPost" + ], + "x-ms-enum": { + "modelAsString": false + } + }, + "clientSecretSettingName": { + "type": "string", + "description": "The app setting that contains the client secret for the custom Open ID Connect provider." + } + } + }, + "OpenIdConnectConfig": { + "type": "object", + "description": "The configuration settings of the endpoints used for the custom Open ID Connect provider.", + "properties": { + "authorizationEndpoint": { + "type": "string", + "description": "The endpoint to be used to make an authorization request." + }, + "tokenEndpoint": { + "type": "string", + "description": "The endpoint to be used to request a token." + }, + "issuer": { + "type": "string", + "description": "The endpoint that issues the token." + }, + "certificationUri": { + "type": "string", + "description": "The endpoint that provides the keys necessary to validate the token." + }, + "wellKnownOpenIdConfiguration": { + "type": "string", + "description": "The endpoint that contains all the configuration endpoints for the provider." + } + } + }, + "OpenIdConnectLogin": { + "type": "object", + "description": "The configuration settings of the login flow of the custom Open ID Connect provider.", + "properties": { + "nameClaimType": { + "type": "string", + "description": "The name of the claim that contains the users name." + }, + "scopes": { + "type": "array", + "description": "A list of the scopes that should be requested while authenticating.", + "items": { + "type": "string" + }, + "xml": { + "wrapped": true + } + } + } + }, + "OpenIdConnectRegistration": { + "type": "object", + "description": "The configuration settings of the app registration for the custom Open ID Connect provider.", + "properties": { + "clientId": { + "type": "string", + "description": "The client id of the custom Open ID Connect provider." + }, + "clientCredential": { + "$ref": "#/definitions/OpenIdConnectClientCredential", + "description": "The authentication credentials of the custom Open ID Connect provider." + }, + "openIdConnectConfiguration": { + "$ref": "#/definitions/OpenIdConnectConfig", + "description": "The configuration settings of the endpoints used for the custom Open ID Connect provider." + } + } + }, + "Operation": { + "type": "object", + "description": "An operation on a resource.", + "properties": { + "id": { + "type": "string", + "description": "Operation ID." + }, + "name": { + "type": "string", + "description": "Operation name." + }, + "status": { + "$ref": "#/definitions/OperationStatus", + "description": "The current status of the operation." + }, + "errors": { + "type": "array", + "description": "Any errors associate with the operation.", + "items": { + "$ref": "#/definitions/ErrorEntity" + }, + "xml": { + "wrapped": true + }, + "x-ms-identifiers": [] + }, + "createdTime": { + "type": "string", + "format": "date-time", + "description": "Time when operation has started." + }, + "modifiedTime": { + "type": "string", + "format": "date-time", + "description": "Time when operation has been updated." + }, + "expirationTime": { + "type": "string", + "format": "date-time", + "description": "Time when operation will expire." + }, + "geoMasterOperationId": { + "type": "string", + "format": "uuid", + "description": "Applicable only for stamp operation ids." + } + } + }, + "OperationResult": { + "type": "object", + "description": "The operation result definition.", + "properties": { + "trackingId": { + "type": "string", + "description": "Gets the tracking id.", + "readOnly": true + }, + "inputs": { + "description": "Gets the inputs.", + "readOnly": true + }, + "inputsLink": { + "$ref": "#/definitions/ContentLink", + "description": "Gets the link to inputs.", + "readOnly": true + }, + "outputs": { + "description": "Gets the outputs.", + "readOnly": true + }, + "outputsLink": { + "$ref": "#/definitions/ContentLink", + "description": "Gets the link to outputs.", + "readOnly": true + }, + "trackedProperties": { + "description": "Gets the tracked properties.", + "readOnly": true + }, + "retryHistory": { + "type": "array", + "description": "Gets the retry histories.", + "items": { + "$ref": "#/definitions/RetryHistory" + }, + "xml": { + "wrapped": true + }, + "x-ms-identifiers": [] + }, + "iterationCount": { + "type": "integer", + "format": "int32" + } + }, + "allOf": [ + { + "$ref": "#/definitions/OperationResultProperties" + } + ] + }, + "OperationResultProperties": { + "type": "object", + "description": "The run operation result properties.", + "properties": { + "startTime": { + "type": "string", + "format": "date-time", + "description": "The start time of the workflow scope repetition." + }, + "endTime": { + "type": "string", + "format": "date-time", + "description": "The end time of the workflow scope repetition." + }, + "correlation": { + "$ref": "#/definitions/RunActionCorrelation", + "description": "The correlation properties." + }, + "status": { + "$ref": "#/definitions/WorkflowStatus", + "description": "The status of the workflow scope repetition." + }, + "code": { + "type": "string", + "description": "The workflow scope repetition code." + }, + "error": { + "description": "Anything" + } + } + }, + "OperationStatus": { + "type": "string", + "description": "The current status of the operation.", + "enum": [ + "InProgress", + "Failed", + "Succeeded", + "TimedOut", + "Created" + ], + "x-ms-enum": { + "name": "OperationStatus", + "modelAsString": false + } + }, + "OutboundEnvironmentEndpoint": { + "type": "object", + "description": "Endpoints accessed for a common purpose that the App Service Environment requires outbound network access to.", + "properties": { + "category": { + "type": "string", + "description": "The type of service accessed by the App Service Environment, e.g., Azure Storage, Azure SQL Database, and Azure Active Directory." + }, + "endpoints": { + "type": "array", + "description": "The endpoints that the App Service Environment reaches the service at.", + "items": { + "$ref": "#/definitions/EndpointDependency" + }, + "xml": { + "wrapped": true + }, + "x-ms-identifiers": [ + "domainName" + ] + } + } + }, + "OutboundEnvironmentEndpointCollection": { + "type": "object", + "description": "Paged collection of OutboundEnvironmentEndpoint items", + "properties": { + "value": { + "type": "array", + "description": "The OutboundEnvironmentEndpoint items on this page", + "items": { + "$ref": "#/definitions/OutboundEnvironmentEndpoint" + }, + "xml": { + "wrapped": true + }, + "x-ms-identifiers": [ + "category" + ] + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "OutboundVnetRouting": { + "type": "object", + "description": "Outbound traffic options over virtual network.", + "properties": { + "allTraffic": { + "type": "boolean", + "description": "Enables all other routing options defined in OutboundVnetRouting if this setting is set to true." + }, + "applicationTraffic": { + "type": "boolean", + "description": "This causes all outbound traffic to have Virtual Network Security Groups and User Defined Routes applied. Previously called VnetRouteAllEnabled." + }, + "contentShareTraffic": { + "type": "boolean", + "description": "Enables accessing content over virtual network. Previously called VnetContentShareEnabled" + }, + "imagePullTraffic": { + "type": "boolean", + "description": "Enables pulling image over Virtual Network. Previously called VnetImagePullEnabled." + }, + "backupRestoreTraffic": { + "type": "boolean", + "description": "Enables Backup and Restore operations over virtual network. Previously called VnetBackupRestoreEnabled" + } + } + }, + "ParameterType": { + "type": "string", + "description": "The parameter type.", + "enum": [ + "NotSpecified", + "String", + "SecureString", + "Int", + "Float", + "Bool", + "Array", + "Object", + "SecureObject" + ], + "x-ms-enum": { + "name": "ParameterType", + "modelAsString": true, + "values": [ + { + "name": "NotSpecified", + "value": "NotSpecified" + }, + { + "name": "String", + "value": "String" + }, + { + "name": "SecureString", + "value": "SecureString" + }, + { + "name": "Int", + "value": "Int" + }, + { + "name": "Float", + "value": "Float" + }, + { + "name": "Bool", + "value": "Bool" + }, + { + "name": "Array", + "value": "Array" + }, + { + "name": "Object", + "value": "Object" + }, + { + "name": "SecureObject", + "value": "SecureObject" + } + ] + } + }, + "PerfMonCounterCollection": { + "type": "object", + "description": "Collection of performance monitor counters.", + "properties": { + "value": { + "type": "array", + "description": "The PerfMonResponse items on this page", + "items": { + "$ref": "#/definitions/PerfMonResponse" + }, + "xml": { + "wrapped": true + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "PerfMonResponse": { + "type": "object", + "description": "Performance monitor API response.", + "properties": { + "code": { + "type": "string", + "description": "The response code." + }, + "message": { + "type": "string", + "description": "The message." + }, + "data": { + "$ref": "#/definitions/PerfMonSet", + "description": "The performance monitor counters." + } + } + }, + "PerfMonSample": { + "type": "object", + "description": "Performance monitor sample in a set.", + "properties": { + "time": { + "type": "string", + "format": "date-time", + "description": "Point in time for which counter was measured." + }, + "instanceName": { + "type": "string", + "description": "Name of the server on which the measurement is made." + }, + "value": { + "type": "number", + "format": "double", + "description": "Value of counter at a certain time." + } + } + }, + "PerfMonSet": { + "type": "object", + "description": "Metric information.", + "properties": { + "name": { + "type": "string", + "description": "Unique key name of the counter." + }, + "startTime": { + "type": "string", + "format": "date-time", + "description": "Start time of the period." + }, + "endTime": { + "type": "string", + "format": "date-time", + "description": "End time of the period." + }, + "timeGrain": { + "type": "string", + "description": "Presented time grain." + }, + "values": { + "type": "array", + "description": "Collection of workers that are active during this time.", + "items": { + "$ref": "#/definitions/PerfMonSample" + }, + "xml": { + "wrapped": true + }, + "x-ms-identifiers": [] + } + } + }, + "PremierAddOn": { + "type": "object", + "description": "Premier add-on.", + "properties": { + "properties": { + "$ref": "#/definitions/PremierAddOnProperties", + "description": "PremierAddOn resource specific properties", + "x-ms-client-flatten": true + }, + "kind": { + "type": "string", + "description": "Kind of resource." + } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" + } + ] + }, + "PremierAddOnOffer": { + "type": "object", + "description": "Premier add-on offer.", + "properties": { + "properties": { + "$ref": "#/definitions/PremierAddOnOfferProperties", + "description": "PremierAddOnOffer resource specific properties", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "#/definitions/ProxyOnlyResource" + } + ] + }, + "PremierAddOnOfferCollection": { + "type": "object", + "description": "Collection of premier add-on offers.", + "properties": { + "value": { + "type": "array", + "description": "The PremierAddOnOffer items on this page", + "items": { + "$ref": "#/definitions/PremierAddOnOffer" + }, + "xml": { + "wrapped": true + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "PremierAddOnOfferProperties": { + "type": "object", + "description": "PremierAddOnOffer resource specific properties", + "properties": { + "sku": { + "type": "string", + "description": "Premier add on SKU." + }, + "product": { + "type": "string", + "description": "Premier add on offer Product." + }, + "vendor": { + "type": "string", + "description": "Premier add on offer Vendor." + }, + "promoCodeRequired": { + "type": "boolean", + "description": "true if promotion code is required; otherwise, false." + }, + "quota": { + "type": "integer", + "format": "int32", + "description": "Premier add on offer Quota." + }, + "webHostingPlanRestrictions": { + "$ref": "#/definitions/AppServicePlanRestrictions", + "description": "App Service plans this offer is restricted to." + }, + "privacyPolicyUrl": { + "type": "string", + "description": "Privacy policy URL." + }, + "legalTermsUrl": { + "type": "string", + "description": "Legal terms URL." + }, + "marketplacePublisher": { + "type": "string", + "description": "Marketplace publisher." + }, + "marketplaceOffer": { + "type": "string", + "description": "Marketplace offer." + } + } + }, + "PremierAddOnPatchResource": { + "type": "object", + "description": "ARM resource for a PremierAddOn.", + "properties": { + "properties": { + "$ref": "#/definitions/PremierAddOnPatchResourceProperties", + "description": "PremierAddOnPatchResource resource specific properties", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "#/definitions/ProxyOnlyResource" + } + ] + }, + "PremierAddOnPatchResourceProperties": { + "type": "object", + "description": "PremierAddOnPatchResource resource specific properties", + "properties": { + "sku": { + "type": "string", + "description": "Premier add on SKU." + }, + "product": { + "type": "string", + "description": "Premier add on Product." + }, + "vendor": { + "type": "string", + "description": "Premier add on Vendor." + }, + "marketplacePublisher": { + "type": "string", + "description": "Premier add on Marketplace publisher." + }, + "marketplaceOffer": { + "type": "string", + "description": "Premier add on Marketplace offer." + } + } + }, + "PremierAddOnProperties": { + "type": "object", + "description": "PremierAddOn resource specific properties", + "properties": { + "sku": { + "type": "string", + "description": "Premier add on SKU." + }, + "product": { + "type": "string", + "description": "Premier add on Product." + }, + "vendor": { + "type": "string", + "description": "Premier add on Vendor." + }, + "marketplacePublisher": { + "type": "string", + "description": "Premier add on Marketplace publisher." + }, + "marketplaceOffer": { + "type": "string", + "description": "Premier add on Marketplace offer." + } + } + }, + "PrivateAccess": { + "type": "object", + "description": "Description of the parameters of Private Access for a Web Site.", + "properties": { + "properties": { + "$ref": "#/definitions/PrivateAccessProperties", + "description": "PrivateAccess resource specific properties", + "x-ms-client-flatten": true + }, + "kind": { + "type": "string", + "description": "Kind of resource." + } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ] + }, + "PrivateAccessProperties": { + "type": "object", + "description": "PrivateAccess resource specific properties", + "properties": { + "enabled": { + "type": "boolean", + "description": "Whether private access is enabled or not." + }, + "virtualNetworks": { + "type": "array", + "description": "The Virtual Networks (and subnets) allowed to access the site privately.", + "items": { + "$ref": "#/definitions/PrivateAccessVirtualNetwork" + }, + "xml": { + "wrapped": true + }, + "x-ms-identifiers": [ + "key" + ] + } + } + }, + "PrivateAccessSubnet": { + "type": "object", + "description": "Description of a Virtual Network subnet that is useable for private site access.", + "properties": { + "name": { + "type": "string", + "description": "The name of the subnet." + }, + "key": { + "type": "integer", + "format": "int32", + "description": "The key (ID) of the subnet." + } + } + }, + "PrivateAccessVirtualNetwork": { + "type": "object", + "description": "Description of a Virtual Network that is useable for private site access.", + "properties": { + "name": { + "type": "string", + "description": "The name of the Virtual Network." + }, + "key": { + "type": "integer", + "format": "int32", + "description": "The key (ID) of the Virtual Network." + }, + "resourceId": { + "type": "string", + "description": "The ARM uri of the Virtual Network" + }, + "subnets": { + "type": "array", + "description": "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.", + "items": { + "$ref": "#/definitions/PrivateAccessSubnet" + }, + "xml": { + "wrapped": true + }, + "x-ms-identifiers": [ + "key" + ] + } + } + }, + "PrivateEndpointConnectionCollection": { + "type": "object", + "description": "Paged collection of RemotePrivateEndpointConnectionARMResource items", + "properties": { + "value": { + "type": "array", + "description": "The RemotePrivateEndpointConnectionARMResource items on this page", + "items": { + "$ref": "#/definitions/RemotePrivateEndpointConnectionARMResource" + }, + "xml": { + "wrapped": true + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "PrivateLinkConnectionApprovalRequest": { + "type": "object", + "description": "A request to approve or reject a private endpoint connection", + "properties": { + "privateLinkServiceConnectionState": { + "$ref": "#/definitions/PrivateLinkConnectionState", + "description": "The state of a private link connection" + } + } + }, + "PrivateLinkConnectionApprovalRequestResource": { + "type": "object", + "description": "Private Endpoint Connection Approval ARM resource.", + "properties": { + "properties": { + "$ref": "#/definitions/PrivateLinkConnectionApprovalRequest", + "description": "Core resource properties", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "#/definitions/ProxyOnlyResource" + } + ] + }, + "PrivateLinkConnectionState": { + "type": "object", + "description": "The state of a private link connection", + "properties": { + "status": { + "type": "string", + "description": "Status of a private link connection" + }, + "description": { + "type": "string", + "description": "Description of a private link connection" + }, + "actionsRequired": { + "type": "string", + "description": "ActionsRequired for a private link connection" + } + } + }, + "PrivateLinkResource": { + "type": "object", + "description": "A private link resource", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string", + "description": "Name of a private link resource" + }, + "type": { + "type": "string" + }, + "properties": { + "$ref": "#/definitions/PrivateLinkResourceProperties", + "description": "Properties of a private link resource" + } + }, + "required": [ + "id", + "name", + "type", + "properties" + ] + }, + "PrivateLinkResourceProperties": { + "type": "object", + "description": "Properties of a private link resource", + "properties": { + "groupId": { + "type": "string", + "description": "GroupId of a private link resource", + "readOnly": true + }, + "requiredMembers": { + "type": "array", + "description": "RequiredMembers of a private link resource", + "items": { + "type": "string" + }, + "readOnly": true, + "xml": { + "wrapped": true + } + }, + "requiredZoneNames": { + "type": "array", + "description": "RequiredZoneNames of a private link resource", + "items": { + "type": "string" + }, + "readOnly": true, + "xml": { + "wrapped": true + } + } + } + }, + "PrivateLinkResourcesWrapper": { + "type": "object", + "description": "Wrapper for a collection of private link resources", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/PrivateLinkResource" + }, + "xml": { + "wrapped": true + } + } + }, + "required": [ + "value" + ] + }, + "ProcessInfo": { + "type": "object", + "description": "Process Information.", + "properties": { + "properties": { + "$ref": "#/definitions/ProcessInfoProperties", + "description": "ProcessInfo resource specific properties", + "x-ms-client-flatten": true + }, + "kind": { + "type": "string", + "description": "Kind of resource." + } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ] + }, + "ProcessInfoCollection": { + "type": "object", + "description": "Collection of Kudu process information elements.", + "properties": { + "value": { + "type": "array", + "description": "The ProcessInfo items on this page", + "items": { + "$ref": "#/definitions/ProcessInfo" + }, + "xml": { + "wrapped": true + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "ProcessInfoProperties": { + "type": "object", + "description": "ProcessInfo resource specific properties", + "properties": { + "identifier": { + "type": "integer", + "format": "int32", + "description": "ARM Identifier for deployment.", + "readOnly": true + }, + "deployment_name": { + "type": "string", + "description": "Deployment name.", + "x-ms-client-name": "deploymentName" + }, + "href": { + "type": "string", + "description": "HRef URI." + }, + "minidump": { + "type": "string", + "description": "Minidump URI." + }, + "is_profile_running": { + "type": "boolean", + "description": "Is profile running?", + "x-ms-client-name": "isProfileRunning" + }, + "is_iis_profile_running": { + "type": "boolean", + "description": "Is the IIS Profile running?", + "x-ms-client-name": "isIisProfileRunning" + }, + "iis_profile_timeout_in_seconds": { + "type": "number", + "format": "double", + "description": "IIS Profile timeout (seconds).", + "x-ms-client-name": "iisProfileTimeoutInSeconds" + }, + "parent": { + "type": "string", + "description": "Parent process." + }, + "children": { + "type": "array", + "description": "Child process list.", + "items": { + "type": "string" + }, + "xml": { + "wrapped": true + } + }, + "threads": { + "type": "array", + "description": "Thread list.", + "items": { + "$ref": "#/definitions/ProcessThreadInfo" + }, + "xml": { + "wrapped": true + } + }, + "open_file_handles": { + "type": "array", + "description": "List of open files.", + "items": { + "type": "string" + }, + "xml": { + "wrapped": true + }, + "x-ms-client-name": "openFileHandles" + }, + "modules": { + "type": "array", + "description": "List of modules.", + "items": { + "$ref": "#/definitions/ProcessModuleInfo" + }, + "xml": { + "wrapped": true + } + }, + "file_name": { + "type": "string", + "description": "File name of this process.", + "x-ms-client-name": "fileName" + }, + "command_line": { + "type": "string", + "description": "Command line.", + "x-ms-client-name": "commandLine" + }, + "user_name": { + "type": "string", + "description": "User name.", + "x-ms-client-name": "userName" + }, + "handle_count": { + "type": "integer", + "format": "int32", + "description": "Handle count.", + "x-ms-client-name": "handleCount" + }, + "module_count": { + "type": "integer", + "format": "int32", + "description": "Module count.", + "x-ms-client-name": "moduleCount" + }, + "thread_count": { + "type": "integer", + "format": "int32", + "description": "Thread count.", + "x-ms-client-name": "threadCount" + }, + "start_time": { + "type": "string", + "format": "date-time", + "description": "Start time.", + "x-ms-client-name": "startTime" + }, + "total_cpu_time": { + "type": "string", + "description": "Total CPU time.", + "x-ms-client-name": "totalCpuTime" + }, + "user_cpu_time": { + "type": "string", + "description": "User CPU time.", + "x-ms-client-name": "userCpuTime" + }, + "privileged_cpu_time": { + "type": "string", + "description": "Privileged CPU time.", + "x-ms-client-name": "privilegedCpuTime" + }, + "working_set": { + "type": "integer", + "format": "int64", + "description": "Working set.", + "x-ms-client-name": "workingSet" + }, + "peak_working_set": { + "type": "integer", + "format": "int64", + "description": "Peak working set.", + "x-ms-client-name": "peakWorkingSet" + }, + "private_memory": { + "type": "integer", + "format": "int64", + "description": "Private memory size.", + "x-ms-client-name": "privateMemory" + }, + "virtual_memory": { + "type": "integer", + "format": "int64", + "description": "Virtual memory size.", + "x-ms-client-name": "virtualMemory" + }, + "peak_virtual_memory": { + "type": "integer", + "format": "int64", + "description": "Peak virtual memory usage.", + "x-ms-client-name": "peakVirtualMemory" + }, + "paged_system_memory": { + "type": "integer", + "format": "int64", + "description": "Paged system memory.", + "x-ms-client-name": "pagedSystemMemory" + }, + "non_paged_system_memory": { + "type": "integer", + "format": "int64", + "description": "Non-paged system memory.", + "x-ms-client-name": "nonPagedSystemMemory" + }, + "paged_memory": { + "type": "integer", + "format": "int64", + "description": "Paged memory.", + "x-ms-client-name": "pagedMemory" + }, + "peak_paged_memory": { + "type": "integer", + "format": "int64", + "description": "Peak paged memory.", + "x-ms-client-name": "peakPagedMemory" + }, + "time_stamp": { + "type": "string", + "format": "date-time", + "description": "Time stamp.", + "x-ms-client-name": "timeStamp" + }, + "environment_variables": { + "type": "object", + "description": "List of environment variables.", + "additionalProperties": { + "type": "string" + }, + "x-ms-client-name": "environmentVariables" + }, + "is_scm_site": { + "type": "boolean", + "description": "Is this the SCM site?", + "x-ms-client-name": "isScmSite" + }, + "is_webjob": { + "type": "boolean", + "description": "Is this a Web Job?", + "x-ms-client-name": "isWebjob" + }, + "description": { + "type": "string", + "description": "Description of process." + } + } + }, + "ProcessModuleInfo": { + "type": "object", + "description": "Process Module Information.", + "properties": { + "properties": { + "$ref": "#/definitions/ProcessModuleInfoProperties", + "description": "ProcessModuleInfo resource specific properties", + "x-ms-client-flatten": true + }, + "kind": { + "type": "string", + "description": "Kind of resource." + } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ] + }, + "ProcessModuleInfoCollection": { + "type": "object", + "description": "Collection of Kudu thread information elements.", + "properties": { + "value": { + "type": "array", + "description": "The ProcessModuleInfo items on this page", + "items": { + "$ref": "#/definitions/ProcessModuleInfo" + }, + "xml": { + "wrapped": true + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "ProcessModuleInfoProperties": { + "type": "object", + "description": "ProcessModuleInfo resource specific properties", + "properties": { + "base_address": { + "type": "string", + "description": "Base address. Used as module identifier in ARM resource URI.", + "x-ms-client-name": "baseAddress" + }, + "file_name": { + "type": "string", + "description": "File name.", + "x-ms-client-name": "fileName" + }, + "href": { + "type": "string", + "description": "HRef URI." + }, + "file_path": { + "type": "string", + "description": "File path.", + "x-ms-client-name": "filePath" + }, + "module_memory_size": { + "type": "integer", + "format": "int32", + "description": "Module memory size.", + "x-ms-client-name": "moduleMemorySize" + }, + "file_version": { + "type": "string", + "description": "File version.", + "x-ms-client-name": "fileVersion" + }, + "file_description": { + "type": "string", + "description": "File description.", + "x-ms-client-name": "fileDescription" + }, + "product": { + "type": "string", + "description": "Product name." + }, + "product_version": { + "type": "string", + "description": "Product version.", + "x-ms-client-name": "productVersion" + }, + "is_debug": { + "type": "boolean", + "description": "Is debug?", + "x-ms-client-name": "isDebug" + }, + "language": { + "type": "string", + "description": "Module language (locale)." + } + } + }, + "ProcessThreadInfo": { + "type": "object", + "description": "Process Thread Information.", + "properties": { + "properties": { + "$ref": "#/definitions/ProcessThreadInfoProperties", + "description": "ProcessThreadInfo resource specific properties", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "#/definitions/ProxyOnlyResource" + } + ] + }, + "ProcessThreadInfoCollection": { + "type": "object", + "description": "Collection of Kudu thread information elements.", + "properties": { + "value": { + "type": "array", + "description": "The ProcessThreadInfo items on this page", + "items": { + "$ref": "#/definitions/ProcessThreadInfo" + }, + "xml": { + "wrapped": true + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "ProcessThreadInfoProperties": { + "type": "object", + "description": "ProcessThreadInfo resource specific properties", + "properties": { + "identifier": { + "type": "integer", + "format": "int32", + "description": "Site extension ID.", + "readOnly": true + }, + "href": { + "type": "string", + "description": "HRef URI." + }, + "process": { + "type": "string", + "description": "Process URI." + }, + "start_address": { + "type": "string", + "description": "Start address.", + "x-ms-client-name": "startAddress" + }, + "current_priority": { + "type": "integer", + "format": "int32", + "description": "Current thread priority.", + "x-ms-client-name": "currentPriority" + }, + "priority_level": { + "type": "string", + "description": "Thread priority level.", + "x-ms-client-name": "priorityLevel" + }, + "base_priority": { + "type": "integer", + "format": "int32", + "description": "Base priority.", + "x-ms-client-name": "basePriority" + }, + "start_time": { + "type": "string", + "format": "date-time", + "description": "Start time.", + "x-ms-client-name": "startTime" + }, + "total_processor_time": { + "type": "string", + "description": "Total processor time.", + "x-ms-client-name": "totalProcessorTime" + }, + "user_processor_time": { + "type": "string", + "description": "User processor time.", + "x-ms-client-name": "userProcessorTime" + }, + "state": { + "type": "string", + "description": "Thread state." + }, + "wait_reason": { + "type": "string", + "description": "Wait reason.", + "x-ms-client-name": "waitReason" + } + } + }, + "ProvisioningState": { + "type": "string", + "description": "Provisioning state of the App Service Plan.", + "enum": [ + "Succeeded", + "Failed", + "Canceled", + "InProgress", + "Deleting" + ], + "x-ms-enum": { + "name": "ProvisioningState", + "modelAsString": false + } + }, + "ProxyOnlyResource": { + "type": "object", + "description": "Azure proxy only resource. This resource is not tracked by Azure Resource Manager.", + "properties": { + "id": { + "type": "string", + "description": "Resource Id.", + "readOnly": true + }, + "name": { + "type": "string", + "description": "Resource Name.", + "readOnly": true + }, + "kind": { + "type": "string", + "description": "Kind of resource." + }, + "type": { + "type": "string", + "description": "Resource type.", + "readOnly": true + } + } + }, + "PublicCertificate": { + "type": "object", + "description": "Public certificate object", + "properties": { + "properties": { + "$ref": "#/definitions/PublicCertificateProperties", + "description": "PublicCertificate resource specific properties", + "x-ms-client-flatten": true + }, + "kind": { + "type": "string", + "description": "Kind of resource." + } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ] + }, + "PublicCertificateCollection": { + "type": "object", + "description": "Collection of public certificates", + "properties": { + "value": { + "type": "array", + "description": "The PublicCertificate items on this page", + "items": { + "$ref": "#/definitions/PublicCertificate" + }, + "xml": { + "wrapped": true + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "PublicCertificateLocation": { + "type": "string", + "description": "Public Certificate Location", + "enum": [ + "CurrentUserMy", + "LocalMachineMy", + "Unknown" + ], + "x-ms-enum": { + "name": "PublicCertificateLocation", + "modelAsString": false + } + }, + "PublicCertificateProperties": { + "type": "object", + "description": "PublicCertificate resource specific properties", + "properties": { + "blob": { + "type": "string", + "format": "byte", + "description": "Public Certificate byte array" + }, + "publicCertificateLocation": { + "$ref": "#/definitions/PublicCertificateLocation", + "description": "Public Certificate Location" + }, + "thumbprint": { + "type": "string", + "description": "Certificate Thumbprint", + "readOnly": true + } + } + }, + "PublishingCredentialsPoliciesCollection": { + "type": "object", + "description": "Publishing Credentials Policies entity collection ARM resource.", + "properties": { + "value": { + "type": "array", + "description": "The CsmPublishingCredentialsPoliciesEntity items on this page", + "items": { + "$ref": "#/definitions/CsmPublishingCredentialsPoliciesEntity" + }, + "xml": { + "wrapped": true + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "PublishingProfileFormat": { + "type": "string", + "description": "Name of the format. Valid values are:\nFileZilla3\nWebDeploy -- default\nFtp", + "enum": [ + "FileZilla3", + "WebDeploy", + "Ftp" + ], + "x-ms-enum": { + "name": "PublishingProfileFormat", + "modelAsString": true, + "values": [ + { + "name": "FileZilla3", + "value": "FileZilla3" + }, + { + "name": "WebDeploy", + "value": "WebDeploy" + }, + { + "name": "Ftp", + "value": "Ftp" + } + ] + } + }, + "PushSettings": { + "type": "object", + "description": "Push settings for the App.", + "properties": { + "properties": { + "$ref": "#/definitions/PushSettingsProperties", + "description": "PushSettings resource specific properties", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "#/definitions/ProxyOnlyResource" + } + ] + }, + "PushSettingsProperties": { + "type": "object", + "description": "PushSettings resource specific properties", + "properties": { + "isPushEnabled": { + "type": "boolean", + "description": "Gets or sets a flag indicating whether the Push endpoint is enabled." + }, + "tagWhitelistJson": { + "type": "string", + "description": "Gets or sets a JSON string containing a list of tags that are whitelisted for use by the push registration endpoint." + }, + "tagsRequiringAuth": { + "type": "string", + "description": "Gets or sets a JSON string containing a list of tags that require user authentication to be used in the push registration endpoint.\nTags can consist of alphanumeric characters and the following:\n'_', '@', '#', '.', ':', '-'. \nValidation should be performed at the PushRequestHandler." + }, + "dynamicTagsJson": { + "type": "string", + "description": "Gets or sets a JSON string containing a list of dynamic tags that will be evaluated from user claims in the push registration endpoint." + } + }, + "required": [ + "isPushEnabled" + ] + }, + "QueryUtterancesResult": { + "type": "object", + "description": "Result for utterances query.", + "properties": { + "sampleUtterance": { + "$ref": "#/definitions/SampleUtterance", + "description": "A sample utterance." + }, + "score": { + "type": "number", + "format": "float", + "description": "Score of a sample utterance." + } + } + }, + "QueryUtterancesResults": { + "type": "object", + "description": "Suggested utterances where the detector can be applicable", + "properties": { + "query": { + "type": "string", + "description": "Search Query." + }, + "results": { + "type": "array", + "description": "Array of utterance results for search query.", + "items": { + "$ref": "#/definitions/QueryUtterancesResult" + }, + "xml": { + "wrapped": true + }, + "x-ms-identifiers": [] + } + } + }, + "RampUpRule": { + "type": "object", + "description": "Routing rules for ramp up testing. This rule allows to redirect static traffic % to a slot or to gradually change routing % based on performance.", + "properties": { + "actionHostName": { + "type": "string", + "description": "Hostname of a slot to which the traffic will be redirected if decided to. E.g. myapp-stage.azurewebsites.net." + }, + "reroutePercentage": { + "type": "number", + "format": "double", + "description": "Percentage of the traffic which will be redirected to ActionHostName." + }, + "changeStep": { + "type": "number", + "format": "double", + "description": "In auto ramp up scenario this is the step to add/remove from ReroutePercentage until it reaches \\nMinReroutePercentage or\nMaxReroutePercentage. Site metrics are checked every N minutes specified in ChangeIntervalInMinutes.\\nCustom decision algorithm\ncan be provided in TiPCallback site extension which URL can be specified in ChangeDecisionCallbackUrl." + }, + "changeIntervalInMinutes": { + "type": "integer", + "format": "int32", + "description": "Specifies interval in minutes to reevaluate ReroutePercentage." + }, + "minReroutePercentage": { + "type": "number", + "format": "double", + "description": "Specifies lower boundary above which ReroutePercentage will stay." + }, + "maxReroutePercentage": { + "type": "number", + "format": "double", + "description": "Specifies upper boundary below which ReroutePercentage will stay." + }, + "changeDecisionCallbackUrl": { + "type": "string", + "description": "Custom decision algorithm can be provided in TiPCallback site extension which URL can be specified." + }, + "name": { + "type": "string", + "description": "Name of the routing rule. The recommended name would be to point to the slot which will receive the traffic in the experiment." + } + } + }, + "Recommendation": { + "type": "object", + "description": "Represents a recommendation result generated by the recommendation engine.", + "properties": { + "properties": { + "$ref": "#/definitions/RecommendationProperties", + "description": "Recommendation resource specific properties", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "#/definitions/ProxyOnlyResource" + } + ] + }, + "RecommendationCollection": { + "type": "object", + "description": "Collection of recommendations.", + "properties": { + "value": { + "type": "array", + "description": "The Recommendation items on this page", + "items": { + "$ref": "#/definitions/Recommendation" + }, + "xml": { + "wrapped": true + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "RecommendationProperties": { + "type": "object", + "description": "Recommendation resource specific properties", + "properties": { + "creationTime": { + "type": "string", + "format": "date-time", + "description": "Timestamp when this instance was created." + }, + "recommendationId": { + "type": "string", + "format": "uuid", + "description": "A GUID value that each recommendation object is associated with." + }, + "resourceId": { + "type": "string", + "description": "Full ARM resource ID string that this recommendation object is associated with." + }, + "resourceScope": { + "$ref": "#/definitions/ResourceScopeType", + "description": "Name of a resource type this recommendation applies, e.g. Subscription, ServerFarm, Site." + }, + "ruleName": { + "type": "string", + "description": "Unique name of the rule." + }, + "displayName": { + "type": "string", + "description": "UI friendly name of the rule (may not be unique)." + }, + "message": { + "type": "string", + "description": "Recommendation text." + }, + "level": { + "$ref": "#/definitions/NotificationLevel", + "description": "Level indicating how critical this recommendation can impact." + }, + "channels": { + "$ref": "#/definitions/Channels", + "description": "List of channels that this recommendation can apply." + }, + "categoryTags": { + "type": "array", + "description": "The list of category tags that this recommendation belongs to.", + "items": { + "type": "string" + }, + "readOnly": true, + "xml": { + "wrapped": true + } + }, + "actionName": { + "type": "string", + "description": "Name of action recommended by this object." + }, + "enabled": { + "type": "integer", + "format": "int32", + "description": "True if this recommendation is still valid (i.e. \"actionable\"). False if it is invalid." + }, + "states": { + "type": "array", + "description": "The list of states of this recommendation. If it's null then it should be considered \"Active\".", + "items": { + "type": "string" + }, + "xml": { + "wrapped": true + } + }, + "startTime": { + "type": "string", + "format": "date-time", + "description": "The beginning time in UTC of a range that the recommendation refers to." + }, + "endTime": { + "type": "string", + "format": "date-time", + "description": "The end time in UTC of a range that the recommendation refers to." + }, + "nextNotificationTime": { + "type": "string", + "format": "date-time", + "description": "When to notify this recommendation next in UTC. Null means that this will never be notified anymore." + }, + "notificationExpirationTime": { + "type": "string", + "format": "date-time", + "description": "Date and time in UTC when this notification expires." + }, + "notifiedTime": { + "type": "string", + "format": "date-time", + "description": "Last timestamp in UTC this instance was actually notified. Null means that this recommendation hasn't been notified yet." + }, + "score": { + "type": "number", + "format": "double", + "description": "A metric value measured by the rule." + }, + "isDynamic": { + "type": "boolean", + "description": "True if this is associated with a dynamically added rule" + }, + "extensionName": { + "type": "string", + "description": "Extension name of the portal if exists." + }, + "bladeName": { + "type": "string", + "description": "Deep link to a blade on the portal." + }, + "forwardLink": { + "type": "string", + "description": "Forward link to an external document associated with the rule." + } + } + }, + "RecommendationRule": { + "type": "object", + "description": "Represents a recommendation rule that the recommendation engine can perform.", + "properties": { + "properties": { + "$ref": "#/definitions/RecommendationRuleProperties", + "description": "RecommendationRule resource specific properties", + "x-ms-client-flatten": true + }, + "kind": { + "type": "string", + "description": "Kind of resource." + } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ] + }, + "RecommendationRuleProperties": { + "type": "object", + "description": "RecommendationRule resource specific properties", + "properties": { + "recommendationName": { + "type": "string", + "description": "Unique name of the rule." + }, + "displayName": { + "type": "string", + "description": "UI friendly name of the rule." + }, + "message": { + "type": "string", + "description": "Localized name of the rule (Good for UI)." + }, + "recommendationId": { + "type": "string", + "format": "uuid", + "description": "Recommendation ID of an associated recommendation object tied to the rule, if exists.\nIf such an object doesn't exist, it is set to null." + }, + "description": { + "type": "string", + "description": "Localized detailed description of the rule." + }, + "actionName": { + "type": "string", + "description": "Name of action that is recommended by this rule in string." + }, + "level": { + "$ref": "#/definitions/NotificationLevel", + "description": "Level of impact indicating how critical this rule is." + }, + "channels": { + "$ref": "#/definitions/Channels", + "description": "List of available channels that this rule applies." + }, + "categoryTags": { + "type": "array", + "description": "The list of category tags that this recommendation rule belongs to.", + "items": { + "type": "string" + }, + "readOnly": true, + "xml": { + "wrapped": true + } + }, + "isDynamic": { + "type": "boolean", + "description": "True if this is associated with a dynamically added rule" + }, + "extensionName": { + "type": "string", + "description": "Extension name of the portal if exists. Applicable to dynamic rule only." + }, + "bladeName": { + "type": "string", + "description": "Deep link to a blade on the portal. Applicable to dynamic rule only." + }, + "forwardLink": { + "type": "string", + "description": "Forward link to an external document associated with the rule. Applicable to dynamic rule only." + } + } + }, + "RecurrenceFrequency": { + "type": "string", + "description": "The recurrence frequency.", + "enum": [ + "NotSpecified", + "Second", + "Minute", + "Hour", + "Day", + "Week", + "Month", + "Year" + ], + "x-ms-enum": { + "name": "RecurrenceFrequency", + "modelAsString": true, + "values": [ + { + "name": "NotSpecified", + "value": "NotSpecified" + }, + { + "name": "Second", + "value": "Second" + }, + { + "name": "Minute", + "value": "Minute" + }, + { + "name": "Hour", + "value": "Hour" + }, + { + "name": "Day", + "value": "Day" + }, + { + "name": "Week", + "value": "Week" + }, + { + "name": "Month", + "value": "Month" + }, + { + "name": "Year", + "value": "Year" + } + ] + } + }, + "RecurrenceSchedule": { + "type": "object", + "description": "The recurrence schedule.", + "properties": { + "minutes": { + "type": "array", + "description": "The minutes.", + "items": { + "type": "integer", + "format": "int32" + }, + "xml": { + "wrapped": true + } + }, + "hours": { + "type": "array", + "description": "The hours.", + "items": { + "type": "integer", + "format": "int32" + }, + "xml": { + "wrapped": true + } + }, + "weekDays": { + "type": "array", + "description": "The days of the week.", + "items": { + "$ref": "#/definitions/DaysOfWeek" + }, + "xml": { + "wrapped": true + } + }, + "monthDays": { + "type": "array", + "description": "The month days.", + "items": { + "type": "integer", + "format": "int32" + }, + "xml": { + "wrapped": true + } + }, + "monthlyOccurrences": { + "type": "array", + "description": "The monthly occurrences.", + "items": { + "$ref": "#/definitions/RecurrenceScheduleOccurrence" + }, + "xml": { + "wrapped": true + }, + "x-ms-identifiers": [] + } + } + }, + "RecurrenceScheduleOccurrence": { + "type": "object", + "description": "The recurrence schedule occurrence.", + "properties": { + "day": { + "$ref": "#/definitions/DayOfWeek", + "description": "The day of the week." + }, + "occurrence": { + "type": "integer", + "format": "int32", + "description": "The occurrence." + } + } + }, + "RedundancyMode": { + "type": "string", + "description": "Site redundancy mode", + "enum": [ + "None", + "Manual", + "Failover", + "ActiveActive", + "GeoRedundant" + ], + "x-ms-enum": { + "name": "RedundancyMode", + "modelAsString": false + } + }, + "RegenerateActionParameter": { + "type": "object", + "description": "The access key regenerate action content.", + "properties": { + "keyType": { + "$ref": "#/definitions/KeyType", + "description": "The key type." + } + } + }, + "RegistryAdapter": { + "type": "object", + "description": "Server farm registry adapter configuration.", + "properties": { + "registryKey": { + "type": "string", + "description": "Registry key for the adapter." + }, + "type": { + "$ref": "#/definitions/RegistryAdapterType", + "description": "Type of the registry adapter." + }, + "keyVaultSecretReference": { + "$ref": "#/definitions/KeyVaultReferenceWithStatus", + "description": "Key vault reference to the value that will be placed in the registry location" + } + } + }, + "RegistryAdapterType": { + "type": "string", + "description": "Type of the registry adapter.", + "enum": [ + "Binary", + "String", + "Expand_String", + "Multi_String", + "DWord", + "QWord" + ], + "x-ms-enum": { + "name": "RegistryAdapterType", + "modelAsString": true, + "values": [ + { + "name": "Binary", + "value": "Binary" + }, + { + "name": "String", + "value": "String" + }, + { + "name": "Expand_String", + "value": "Expand_String" + }, + { + "name": "Multi_String", + "value": "Multi_String" + }, + { + "name": "DWord", + "value": "DWord" + }, + { + "name": "QWord", + "value": "QWord" + } + ] + } + }, + "RelayServiceConnectionEntity": { + "type": "object", + "description": "Hybrid Connection for an App Service app.", + "properties": { + "properties": { + "$ref": "#/definitions/RelayServiceConnectionEntityProperties", + "description": "RelayServiceConnectionEntity resource specific properties", + "x-ms-client-flatten": true + }, + "kind": { + "type": "string", + "description": "Kind of resource." + } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ] + }, + "RelayServiceConnectionEntityProperties": { + "type": "object", + "description": "RelayServiceConnectionEntity resource specific properties", + "properties": { + "entityName": { + "type": "string" + }, + "entityConnectionString": { + "type": "string" + }, + "resourceType": { + "type": "string" + }, + "resourceConnectionString": { + "type": "string" + }, + "hostname": { + "type": "string" + }, + "port": { + "type": "integer", + "format": "int32" + }, + "biztalkUri": { + "type": "string" + } + } + }, + "RemotePrivateEndpointConnection": { + "type": "object", + "description": "A remote private endpoint connection", + "properties": { + "properties": { + "$ref": "#/definitions/RemotePrivateEndpointConnectionProperties", + "description": "RemotePrivateEndpointConnection resource specific properties", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "#/definitions/ProxyOnlyResource" + } + ] + }, + "RemotePrivateEndpointConnectionARMResource": { + "type": "object", + "description": "Remote Private Endpoint Connection ARM resource.", + "properties": { + "properties": { + "$ref": "#/definitions/RemotePrivateEndpointConnectionARMResourceProperties", + "description": "RemotePrivateEndpointConnectionARMResource resource specific properties", + "x-ms-client-flatten": true + }, + "kind": { + "type": "string", + "description": "Kind of resource." + } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ] + }, + "RemotePrivateEndpointConnectionARMResourceProperties": { + "type": "object", + "description": "RemotePrivateEndpointConnectionARMResource resource specific properties", + "properties": { + "provisioningState": { + "type": "string", + "readOnly": true + }, + "privateEndpoint": { + "$ref": "#/definitions/ArmIdWrapper", + "description": "PrivateEndpoint of a remote private endpoint connection" + }, + "privateLinkServiceConnectionState": { + "$ref": "#/definitions/PrivateLinkConnectionState", + "description": "The state of a private link connection" + }, + "ipAddresses": { + "type": "array", + "description": "Private IPAddresses mapped to the remote private endpoint", + "items": { + "type": "string" + }, + "xml": { + "wrapped": true + } + } + } + }, + "RemotePrivateEndpointConnectionProperties": { + "type": "object", + "description": "RemotePrivateEndpointConnection resource specific properties", + "properties": { + "provisioningState": { + "type": "string", + "readOnly": true + }, + "privateEndpoint": { + "$ref": "#/definitions/ArmIdWrapper", + "description": "PrivateEndpoint of a remote private endpoint connection" + }, + "privateLinkServiceConnectionState": { + "$ref": "#/definitions/PrivateLinkConnectionState", + "description": "The state of a private link connection" + }, + "ipAddresses": { + "type": "array", + "description": "Private IPAddresses mapped to the remote private endpoint", + "items": { + "type": "string" + }, + "xml": { + "wrapped": true + } + } + } + }, + "Rendering": { + "type": "object", + "description": "Instructions for rendering the data", + "properties": { + "type": { + "$ref": "#/definitions/RenderingType", + "description": "Rendering Type" + }, + "title": { + "type": "string", + "description": "Title of data" + }, + "description": { + "type": "string", + "description": "Description of the data that will help it be interpreted" + } + } + }, + "RenderingType": { + "type": "string", + "description": "Rendering Type", + "enum": [ + "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" + ], + "x-ms-enum": { + "name": "RenderingType", + "modelAsString": false + } + }, + "RepetitionIndex": { + "type": "object", + "description": "The workflow run action repetition index.", + "properties": { + "scopeName": { + "type": "string", + "description": "The scope." + }, + "itemIndex": { + "type": "integer", + "format": "int32", + "description": "The index." + } + }, + "required": [ + "itemIndex" + ] + }, + "Request": { + "type": "object", + "description": "A request.", + "properties": { + "headers": { + "description": "A list of all the headers attached to the request." + }, + "uri": { + "type": "string", + "description": "The destination for the request." + }, + "method": { + "type": "string", + "description": "The HTTP method used for the request." + } + } + }, + "RequestHistory": { + "type": "object", + "description": "The request history.", + "properties": { + "properties": { + "$ref": "#/definitions/RequestHistoryProperties", + "description": "The request history properties." + } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" + } + ] + }, + "RequestHistoryListResult": { + "type": "object", + "description": "The response of a RequestHistory list operation.", + "properties": { + "value": { + "type": "array", + "description": "The RequestHistory items on this page", + "items": { + "$ref": "#/definitions/RequestHistory" + }, + "xml": { + "wrapped": true + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ], + "xml": { + "name": "ResourceListResult" + } + }, + "RequestHistoryProperties": { + "type": "object", + "description": "The request history.", + "properties": { + "startTime": { + "type": "string", + "format": "date-time", + "description": "The time the request started." + }, + "endTime": { + "type": "string", + "format": "date-time", + "description": "The time the request ended." + }, + "request": { + "$ref": "#/definitions/Request", + "description": "The request." + }, + "response": { + "$ref": "#/definitions/Response", + "description": "The response." + } + } + }, + "RequestsBasedTrigger": { + "type": "object", + "description": "Trigger based on total requests.", + "properties": { + "count": { + "type": "integer", + "format": "int32", + "description": "Request Count." + }, + "timeInterval": { + "type": "string", + "description": "Time interval." + } + } + }, + "ResolveStatus": { + "type": "string", + "enum": [ + "Initialized", + "Resolved", + "InvalidSyntax", + "MSINotEnabled", + "VaultNotFound", + "SecretNotFound", + "SecretVersionNotFound", + "AccessToKeyVaultDenied", + "OtherReasons", + "FetchTimedOut", + "UnauthorizedClient" + ], + "x-ms-enum": { + "name": "ResolveStatus", + "modelAsString": false + } + }, + "ResourceCollection": { + "type": "object", + "description": "Collection of resources.", + "properties": { + "value": { + "type": "array", + "description": "Collection of resources.", + "items": { + "type": "string" + }, + "xml": { + "wrapped": true + } + }, + "nextLink": { + "type": "string", + "description": "Link to next page of resources." + } + }, + "required": [ + "value" + ] + }, + "ResourceConfig": { + "type": "object", + "description": "Function app resource requirements.", + "properties": { + "cpu": { + "type": "number", + "format": "double", + "description": "Required CPU in cores, e.g. 0.5" + }, + "memory": { + "type": "string", + "description": "Required memory, e.g. \"1Gi\"" + } + } + }, + "ResourceHealthMetadata": { + "type": "object", + "description": "Used for getting ResourceHealthCheck settings.", + "properties": { + "properties": { + "$ref": "#/definitions/ResourceHealthMetadataProperties", + "description": "ResourceHealthMetadata resource specific properties", + "x-ms-client-flatten": true + }, + "kind": { + "type": "string", + "description": "Kind of resource." + } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ] + }, + "ResourceHealthMetadataCollection": { + "type": "object", + "description": "Collection of resource health metadata.", + "properties": { + "value": { + "type": "array", + "description": "The ResourceHealthMetadata items on this page", + "items": { + "$ref": "#/definitions/ResourceHealthMetadata" + }, + "xml": { + "wrapped": true + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "ResourceHealthMetadataProperties": { + "type": "object", + "description": "ResourceHealthMetadata resource specific properties", + "properties": { + "category": { + "type": "string", + "description": "The category that the resource matches in the RHC Policy File" + }, + "signalAvailability": { + "type": "boolean", + "description": "Is there a health signal for the resource" + } + } + }, + "ResourceMetricAvailability": { + "type": "object", + "description": "Metrics availability and retention.", + "properties": { + "timeGrain": { + "type": "string", + "description": "Time grain .", + "readOnly": true + }, + "retention": { + "type": "string", + "description": "Retention period for the current time grain.", + "readOnly": true + } + } + }, + "ResourceMetricDefinition": { + "type": "object", + "description": "Metadata for the metrics.", + "properties": { + "properties": { + "$ref": "#/definitions/ResourceMetricDefinitionProperties", + "description": "ResourceMetricDefinition resource specific properties", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "#/definitions/ProxyOnlyResource" + } + ] + }, + "ResourceMetricDefinitionCollection": { + "type": "object", + "description": "Collection of metric definitions.", + "properties": { + "value": { + "type": "array", + "description": "The ResourceMetricDefinition items on this page", + "items": { + "$ref": "#/definitions/ResourceMetricDefinition" + }, + "xml": { + "wrapped": true + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "ResourceMetricDefinitionProperties": { + "type": "object", + "description": "ResourceMetricDefinition resource specific properties", + "properties": { + "unit": { + "type": "string", + "description": "Unit of the metric.", + "readOnly": true + }, + "primaryAggregationType": { + "type": "string", + "description": "Primary aggregation type.", + "readOnly": true + }, + "metricAvailabilities": { + "type": "array", + "description": "List of time grains supported for the metric together with retention period.", + "items": { + "$ref": "#/definitions/ResourceMetricAvailability" + }, + "readOnly": true, + "xml": { + "wrapped": true + }, + "x-ms-identifiers": [] + }, + "resourceUri": { + "type": "string", + "description": "Resource URI.", + "readOnly": true + }, + "properties": { + "type": "object", + "description": "Resource metric definition properties.", + "additionalProperties": { + "type": "string" + }, + "readOnly": true + } + } + }, + "ResourceNameAvailability": { + "type": "object", + "description": "Information regarding availability of a resource name.", + "properties": { + "nameAvailable": { + "type": "boolean", + "description": "true indicates name is valid and available. false indicates the name is invalid, unavailable, or both." + }, + "reason": { + "$ref": "#/definitions/InAvailabilityReasonType", + "description": "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." + }, + "message": { + "type": "string", + "description": "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." + } + } + }, + "ResourceNameAvailabilityRequest": { + "type": "object", + "description": "Resource name availability request content.", + "properties": { + "name": { + "type": "string", + "description": "Resource name to verify." + }, + "type": { + "$ref": "#/definitions/CheckNameResourceTypes", + "description": "Resource type used for verification." + }, + "isFqdn": { + "type": "boolean", + "description": "Is fully qualified domain name." + }, + "environmentId": { + "type": "string", + "description": "Azure Resource Manager ID of the customer's selected Container Apps Environment on which to host the Function app. This must be of the form /subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.App/managedEnvironments/{managedEnvironmentName}" + } + }, + "required": [ + "name", + "type" + ] + }, + "ResourceReference": { + "type": "object", + "description": "The resource reference.", + "properties": { + "id": { + "type": "string", + "description": "The resource id." + }, + "name": { + "type": "string", + "description": "Gets the resource name.", + "readOnly": true + }, + "type": { + "type": "string", + "description": "Gets the resource type.", + "readOnly": true + } + } + }, + "ResourceScopeType": { + "type": "string", + "description": "Name of a resource type this recommendation applies, e.g. Subscription, ServerFarm, Site.", + "enum": [ + "ServerFarm", + "Subscription", + "WebSite" + ], + "x-ms-enum": { + "name": "ResourceScopeType", + "modelAsString": true, + "values": [ + { + "name": "ServerFarm", + "value": "ServerFarm" + }, + { + "name": "Subscription", + "value": "Subscription" + }, + { + "name": "WebSite", + "value": "WebSite" + } + ] + } + }, + "Response": { + "type": "object", + "description": "A response.", + "properties": { + "headers": { + "description": "A list of all the headers attached to the response." + }, + "statusCode": { + "type": "integer", + "format": "int32", + "description": "The status code of the response." + }, + "bodyLink": { + "$ref": "#/definitions/ContentLink", + "description": "Details on the location of the body content." + } + } + }, + "ResponseMessageEnvelopeRemotePrivateEndpointConnection": { + "type": "object", + "description": "Message envelope that contains the common Azure resource manager properties and the resource provider specific content.", + "properties": { + "id": { + "type": "string", + "description": "Resource Id. Typically ID is populated only for responses to GET requests. Caller is responsible for passing in this\nvalue for GET requests only.\nFor example: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupId}/providers/Microsoft.Web/sites/{sitename}" + }, + "name": { + "type": "string", + "description": "Name of resource." + }, + "type": { + "type": "string", + "description": "Type of resource e.g \"Microsoft.Web/sites\"." + }, + "location": { + "type": "string", + "description": "Geographical region resource belongs to e.g. SouthCentralUS, SouthEastAsia." + }, + "tags": { + "type": "object", + "description": "Tags associated with resource.", + "additionalProperties": { + "type": "string" + } + }, + "plan": { + "$ref": "#/definitions/ArmPlan", + "description": "Azure resource manager plan." + }, + "properties": { + "$ref": "#/definitions/RemotePrivateEndpointConnection", + "description": "Resource specific properties." + }, + "sku": { + "$ref": "#/definitions/SkuDescription", + "description": "SKU description of the resource." + }, + "status": { + "type": "string", + "description": "Azure-AsyncOperation Status info." + }, + "error": { + "$ref": "#/definitions/ErrorEntity", + "description": "Azure-AsyncOperation Error info." + }, + "identity": { + "$ref": "#/definitions/ManagedServiceIdentity", + "description": "MSI resource" + }, + "zones": { + "type": "array", + "description": "Logical Availability Zones the service is hosted in", + "items": { + "type": "string" + }, + "xml": { + "wrapped": true + } + } + } + }, + "ResponseMetaData": { + "type": "object", + "properties": { + "dataSource": { + "$ref": "#/definitions/DataSource", + "description": "Source of the Data" + } + } + }, + "RestoreRequest": { + "type": "object", + "description": "Description of a restore request.", + "properties": { + "properties": { + "$ref": "#/definitions/RestoreRequestProperties", + "description": "RestoreRequest resource specific properties", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "#/definitions/ProxyOnlyResource" + } + ] + }, + "RestoreRequestProperties": { + "type": "object", + "description": "RestoreRequest resource specific properties", + "properties": { + "storageAccountUrl": { + "type": "string", + "description": "SAS URL to the container." + }, + "blobName": { + "type": "string", + "description": "Name of a blob which contains the backup." + }, + "overwrite": { + "type": "boolean", + "description": "true if the restore operation can overwrite target app; otherwise, false. true is needed if trying to restore over an existing app." + }, + "siteName": { + "type": "string", + "description": "Name of an app." + }, + "databases": { + "type": "array", + "description": "Collection of databases which should be restored. This list has to match the list of databases included in the backup.", + "items": { + "$ref": "#/definitions/DatabaseBackupSetting" + }, + "xml": { + "wrapped": true + }, + "x-ms-identifiers": [ + "name" + ] + }, + "ignoreConflictingHostNames": { + "type": "boolean", + "description": "Changes a logic when restoring an app with custom domains. true to remove custom domains automatically. If false, custom domains are added to \\nthe app's object when it is being restored, but that might fail due to conflicts during the operation.", + "default": false + }, + "ignoreDatabases": { + "type": "boolean", + "description": "Ignore the databases and only restore the site content", + "default": false + }, + "appServicePlan": { + "type": "string", + "description": "Specify app service plan that will own restored site." + }, + "operationType": { + "type": "string", + "description": "Operation type.", + "default": "Default", + "enum": [ + "Default", + "Clone", + "Relocation", + "Snapshot", + "CloudFS" + ], + "x-ms-enum": { + "name": "BackupRestoreOperationType", + "modelAsString": false + } + }, + "adjustConnectionStrings": { + "type": "boolean", + "description": "true if SiteConfig.ConnectionStrings should be set in new app; otherwise, false." + }, + "hostingEnvironment": { + "type": "string", + "description": "App Service Environment name, if needed (only when restoring an app to an App Service Environment)." + } + }, + "required": [ + "storageAccountUrl", + "overwrite" + ] + }, + "RetryHistory": { + "type": "object", + "description": "The retry history.", + "properties": { + "startTime": { + "type": "string", + "format": "date-time", + "description": "Gets the start time." + }, + "endTime": { + "type": "string", + "format": "date-time", + "description": "Gets the end time." + }, + "code": { + "type": "string", + "description": "Gets the status code." + }, + "clientRequestId": { + "type": "string", + "description": "Gets the client request Id." + }, + "serviceRequestId": { + "type": "string", + "description": "Gets the service request Id." + }, + "error": { + "$ref": "#/definitions/ErrorResponse", + "description": "Gets the error response." + } + } + }, + "RouteType": { + "type": "string", + "description": "The type of route this is:\nDEFAULT - By default, every app has routes to the local address ranges specified by RFC1918\nINHERITED - Routes inherited from the real Virtual Network routes\nSTATIC - Static route set on the app only\n\nThese values will be used for syncing an app's routes with those from a Virtual Network.", + "enum": [ + "DEFAULT", + "INHERITED", + "STATIC" + ], + "x-ms-enum": { + "name": "RouteType", + "modelAsString": true, + "values": [ + { + "name": "DEFAULT", + "value": "DEFAULT" + }, + { + "name": "INHERITED", + "value": "INHERITED" + }, + { + "name": "STATIC", + "value": "STATIC" + } + ] + } + }, + "RunActionCorrelation": { + "type": "object", + "description": "The workflow run action correlation properties.", + "properties": { + "actionTrackingId": { + "type": "string", + "description": "The action tracking identifier." + } + }, + "allOf": [ + { + "$ref": "#/definitions/RunCorrelation" + } + ] + }, + "RunCorrelation": { + "type": "object", + "description": "The correlation properties.", + "properties": { + "clientTrackingId": { + "type": "string", + "description": "The client tracking identifier." + }, + "clientKeywords": { + "type": "array", + "description": "The client keywords.", + "items": { + "type": "string" + }, + "xml": { + "wrapped": true + } + } + } + }, + "RuntimeName": { + "type": "string", + "description": "Function app runtime name. Available options: dotnet-isolated, node, java, powershell, python, custom", + "enum": [ + "dotnet-isolated", + "node", + "java", + "powershell", + "python", + "custom" + ], + "x-ms-enum": { + "name": "RuntimeName", + "modelAsString": true, + "values": [ + { + "name": "dotnet-isolated", + "value": "dotnet-isolated" + }, + { + "name": "node", + "value": "node" + }, + { + "name": "java", + "value": "java" + }, + { + "name": "powershell", + "value": "powershell" + }, + { + "name": "python", + "value": "python" + }, + { + "name": "custom", + "value": "custom" + } + ] + } + }, + "SampleUtterance": { + "type": "object", + "description": "Sample utterance.", + "properties": { + "text": { + "type": "string", + "description": "Text attribute of sample utterance." + }, + "links": { + "type": "array", + "description": "Links attribute of sample utterance.", + "items": { + "type": "string" + }, + "xml": { + "wrapped": true + } + }, + "qid": { + "type": "string", + "description": "Question id of sample utterance (for stackoverflow questions titles)." + } + } + }, + "ScmType": { + "type": "string", + "description": "SCM type.", + "enum": [ + "None", + "Dropbox", + "Tfs", + "LocalGit", + "GitHub", + "CodePlexGit", + "CodePlexHg", + "BitbucketGit", + "BitbucketHg", + "ExternalGit", + "ExternalHg", + "OneDrive", + "VSO", + "VSTSRM" + ], + "x-ms-enum": { + "name": "ScmType", + "modelAsString": true, + "values": [ + { + "name": "None", + "value": "None" + }, + { + "name": "Dropbox", + "value": "Dropbox" + }, + { + "name": "Tfs", + "value": "Tfs" + }, + { + "name": "LocalGit", + "value": "LocalGit" + }, + { + "name": "GitHub", + "value": "GitHub" + }, + { + "name": "CodePlexGit", + "value": "CodePlexGit" + }, + { + "name": "CodePlexHg", + "value": "CodePlexHg" + }, + { + "name": "BitbucketGit", + "value": "BitbucketGit" + }, + { + "name": "BitbucketHg", + "value": "BitbucketHg" + }, + { + "name": "ExternalGit", + "value": "ExternalGit" + }, + { + "name": "ExternalHg", + "value": "ExternalHg" + }, + { + "name": "OneDrive", + "value": "OneDrive" + }, + { + "name": "VSO", + "value": "VSO" + }, + { + "name": "VSTSRM", + "value": "VSTSRM" + } + ] + } + }, + "ServerFarmInstance": { + "type": "object", + "description": "Represents details of a single instance in a server farm.", + "properties": { + "instanceName": { + "type": "string", + "description": "The instance name.", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z0-9]+$" + }, + "ipAddress": { + "type": "string", + "description": "The instance IP address." + }, + "status": { + "type": "string", + "description": "The instance status." + } + } + }, + "ServerFarmInstanceDetails": { + "type": "object", + "description": "Represents instance details for an app service plan.", + "properties": { + "serverFarmName": { + "type": "string", + "description": "The server farm name." + }, + "instances": { + "type": "array", + "description": "The list of server farm instances.", + "items": { + "$ref": "#/definitions/ServerFarmInstance" + }, + "xml": { + "wrapped": true + }, + "x-ms-identifiers": [] + }, + "instanceCount": { + "type": "integer", + "format": "int32", + "description": "The total number of instances." + } + } + }, + "ServerFarmNetworkSettings": { + "type": "object", + "description": "Network settings for an app service plan.", + "properties": { + "virtualNetworkSubnetId": { + "type": "string", + "description": "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}" + } + } + }, + "ServerFarmRdpDetails": { + "type": "object", + "description": "Server Farm RDP connection details.", + "properties": { + "rdpPassword": { + "type": "string", + "format": "password", + "description": "The RDP password for the server farm.", + "x-ms-secret": true + }, + "rdpPasswordExpiry": { + "type": "string", + "format": "date-time", + "description": "The RDP password expiry date." + } + } + }, + "ServiceSpecification": { + "type": "object", + "description": "Resource metrics service provided by Microsoft.Insights resource provider.", + "properties": { + "metricSpecifications": { + "type": "array", + "items": { + "$ref": "#/definitions/MetricSpecification" + }, + "xml": { + "wrapped": true + }, + "x-ms-identifiers": [ + "name" + ] + }, + "logSpecifications": { + "type": "array", + "items": { + "$ref": "#/definitions/LogSpecification" + }, + "xml": { + "wrapped": true + }, + "x-ms-identifiers": [ + "name" + ] + } + } + }, + "Site": { + "type": "object", + "description": "A web app, a mobile app backend, or an API app.", + "properties": { + "properties": { + "$ref": "#/definitions/SiteProperties", + "description": "Site resource specific properties", + "x-ms-client-flatten": true + }, + "identity": { + "$ref": "#/definitions/ManagedServiceIdentity", + "description": "Managed service identity." + }, + "extendedLocation": { + "$ref": "#/definitions/ExtendedLocation", + "description": "Extended Location." + }, + "kind": { + "type": "string", + "description": "Kind of resource. If the resource is an app, you can refer to https://github.com/Azure/app-service-linux-docs/blob/master/Things_You_Should_Know/kind_property.md#app-service-resource-kind-reference for details supported values for kind." + } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" + } + ] + }, + "SiteAuthSettings": { + "type": "object", + "description": "Configuration settings for the Azure App Service Authentication / Authorization feature.", + "properties": { + "properties": { + "$ref": "#/definitions/SiteAuthSettingsProperties", + "description": "SiteAuthSettings resource specific properties", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "#/definitions/ProxyOnlyResource" + } + ] + }, + "SiteAuthSettingsProperties": { + "type": "object", + "description": "SiteAuthSettings resource specific properties", + "properties": { + "enabled": { + "type": "boolean", + "description": "true if the Authentication / Authorization feature is enabled for the current app; otherwise, false." + }, + "runtimeVersion": { + "type": "string", + "description": "The RuntimeVersion of the Authentication / Authorization feature in use for the current app.\nThe setting in this value can control the behavior of certain features in the Authentication / Authorization module." + }, + "unauthenticatedClientAction": { + "$ref": "#/definitions/UnauthenticatedClientAction", + "description": "The action to take when an unauthenticated client attempts to access the app." + }, + "tokenStoreEnabled": { + "type": "boolean", + "description": "true to durably store platform-specific security tokens that are obtained during login flows; otherwise, false.\nThe default is false." + }, + "allowedExternalRedirectUrls": { + "type": "array", + "description": "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.\nThis is an advanced setting typically only needed by Windows Store application backends.\nNote that URLs within the current domain are always implicitly allowed.", + "items": { + "type": "string" + }, + "xml": { + "wrapped": true + } + }, + "defaultProvider": { + "$ref": "#/definitions/BuiltInAuthenticationProvider", + "description": "The default authentication provider to use when multiple providers are configured.\nThis setting is only needed if multiple providers are configured and the unauthenticated client\naction is set to \"RedirectToLoginPage\"." + }, + "tokenRefreshExtensionHours": { + "type": "number", + "format": "double", + "description": "The number of hours after session token expiration that a session token can be used to\ncall the token refresh API. The default is 72 hours." + }, + "clientId": { + "type": "string", + "description": "The Client ID of this relying party application, known as the client_id.\nThis setting is required for enabling OpenID Connection authentication with Azure Active Directory or\nother 3rd party OpenID Connect providers.\nMore information on OpenID Connect: http://openid.net/specs/openid-connect-core-1_0.html" + }, + "clientSecret": { + "type": "string", + "description": "The Client Secret of this relying party application (in Azure Active Directory, this is also referred to as the Key).\nThis setting is optional. If no client secret is configured, the OpenID Connect implicit auth flow is used to authenticate end users.\nOtherwise, the OpenID Connect Authorization Code Flow is used to authenticate end users.\nMore information on OpenID Connect: http://openid.net/specs/openid-connect-core-1_0.html" + }, + "clientSecretSettingName": { + "type": "string", + "description": "The app setting name that contains the client secret of the relying party application." + }, + "clientSecretCertificateThumbprint": { + "type": "string", + "description": "An alternative to the client secret, that is the thumbprint of a certificate used for signing purposes. This property acts as\na replacement for the Client Secret. It is also optional." + }, + "issuer": { + "type": "string", + "description": "The OpenID Connect Issuer URI that represents the entity which issues access tokens for this application.\nWhen using Azure Active Directory, this value is the URI of the directory tenant, e.g. `https://sts.windows.net/{tenant-guid}/`.\nThis URI is a case-sensitive identifier for the token issuer.\nMore information on OpenID Connect Discovery: http://openid.net/specs/openid-connect-discovery-1_0.html" + }, + "validateIssuer": { + "type": "boolean", + "description": "Gets a value indicating whether the issuer should be a valid HTTPS url and be validated as such." + }, + "allowedAudiences": { + "type": "array", + "description": "Allowed audience values to consider when validating JSON Web Tokens issued by\nAzure Active Directory. Note that the ClientID value is always considered an\nallowed audience, regardless of this setting.", + "items": { + "type": "string" + }, + "xml": { + "wrapped": true + } + }, + "additionalLoginParams": { + "type": "array", + "description": "Login parameters to send to the OpenID Connect authorization endpoint when\na user logs in. Each parameter must be in the form \"key=value\".", + "items": { + "type": "string" + }, + "xml": { + "wrapped": true + } + }, + "aadClaimsAuthorization": { + "type": "string", + "description": "Gets a JSON string containing the Azure AD Acl settings." + }, + "googleClientId": { + "type": "string", + "description": "The OpenID Connect Client ID for the Google web application.\nThis setting is required for enabling Google Sign-In.\nGoogle Sign-In documentation: https://developers.google.com/identity/sign-in/web/" + }, + "googleClientSecret": { + "type": "string", + "description": "The client secret associated with the Google web application.\nThis setting is required for enabling Google Sign-In.\nGoogle Sign-In documentation: https://developers.google.com/identity/sign-in/web/" + }, + "googleClientSecretSettingName": { + "type": "string", + "description": "The app setting name that contains the client secret associated with\nthe Google web application." + }, + "googleOAuthScopes": { + "type": "array", + "description": "The OAuth 2.0 scopes that will be requested as part of Google Sign-In authentication.\nThis setting is optional. If not specified, \"openid\", \"profile\", and \"email\" are used as default scopes.\nGoogle Sign-In documentation: https://developers.google.com/identity/sign-in/web/", + "items": { + "type": "string" + }, + "xml": { + "wrapped": true + } + }, + "facebookAppId": { + "type": "string", + "description": "The App ID of the Facebook app used for login.\nThis setting is required for enabling Facebook Login.\nFacebook Login documentation: https://developers.facebook.com/docs/facebook-login" + }, + "facebookAppSecret": { + "type": "string", + "description": "The App Secret of the Facebook app used for Facebook Login.\nThis setting is required for enabling Facebook Login.\nFacebook Login documentation: https://developers.facebook.com/docs/facebook-login" + }, + "facebookAppSecretSettingName": { + "type": "string", + "description": "The app setting name that contains the app secret used for Facebook Login." + }, + "facebookOAuthScopes": { + "type": "array", + "description": "The OAuth 2.0 scopes that will be requested as part of Facebook Login authentication.\nThis setting is optional.\nFacebook Login documentation: https://developers.facebook.com/docs/facebook-login", + "items": { + "type": "string" + }, + "xml": { + "wrapped": true + } + }, + "gitHubClientId": { + "type": "string", + "description": "The Client Id of the GitHub app used for login.\nThis setting is required for enabling Github login" + }, + "gitHubClientSecret": { + "type": "string", + "description": "The Client Secret of the GitHub app used for Github Login.\nThis setting is required for enabling Github login." + }, + "gitHubClientSecretSettingName": { + "type": "string", + "description": "The app setting name that contains the client secret of the Github\napp used for GitHub Login." + }, + "gitHubOAuthScopes": { + "type": "array", + "description": "The OAuth 2.0 scopes that will be requested as part of GitHub Login authentication.\nThis setting is optional", + "items": { + "type": "string" + }, + "xml": { + "wrapped": true + } + }, + "twitterConsumerKey": { + "type": "string", + "description": "The OAuth 1.0a consumer key of the Twitter application used for sign-in.\nThis setting is required for enabling Twitter Sign-In.\nTwitter Sign-In documentation: https://dev.twitter.com/web/sign-in" + }, + "twitterConsumerSecret": { + "type": "string", + "description": "The OAuth 1.0a consumer secret of the Twitter application used for sign-in.\nThis setting is required for enabling Twitter Sign-In.\nTwitter Sign-In documentation: https://dev.twitter.com/web/sign-in" + }, + "twitterConsumerSecretSettingName": { + "type": "string", + "description": "The app setting name that contains the OAuth 1.0a consumer secret of the Twitter\napplication used for sign-in." + }, + "microsoftAccountClientId": { + "type": "string", + "description": "The OAuth 2.0 client ID that was created for the app used for authentication.\nThis setting is required for enabling Microsoft Account authentication.\nMicrosoft Account OAuth documentation: https://dev.onedrive.com/auth/msa_oauth.htm" + }, + "microsoftAccountClientSecret": { + "type": "string", + "description": "The OAuth 2.0 client secret that was created for the app used for authentication.\nThis setting is required for enabling Microsoft Account authentication.\nMicrosoft Account OAuth documentation: https://dev.onedrive.com/auth/msa_oauth.htm" + }, + "microsoftAccountClientSecretSettingName": { + "type": "string", + "description": "The app setting name containing the OAuth 2.0 client secret that was created for the\napp used for authentication." + }, + "microsoftAccountOAuthScopes": { + "type": "array", + "description": "The OAuth 2.0 scopes that will be requested as part of Microsoft Account authentication.\nThis setting is optional. If not specified, \"wl.basic\" is used as the default scope.\nMicrosoft Account Scopes and permissions documentation: https://msdn.microsoft.com/en-us/library/dn631845.aspx", + "items": { + "type": "string" + }, + "xml": { + "wrapped": true + } + }, + "isAuthFromFile": { + "type": "string", + "description": "\"true\" if the auth config settings should be read from a file,\n\"false\" otherwise" + }, + "authFilePath": { + "type": "string", + "description": "The path of the config file containing auth settings.\nIf the path is relative, base will the site's root directory." + }, + "configVersion": { + "type": "string", + "description": "The ConfigVersion of the Authentication / Authorization feature in use for the current app.\nThe setting in this value can control the behavior of the control plane for Authentication / Authorization." + } + } + }, + "SiteAuthSettingsV2": { + "type": "object", + "description": "Configuration settings for the Azure App Service Authentication / Authorization V2 feature.", + "properties": { + "properties": { + "$ref": "#/definitions/SiteAuthSettingsV2Properties", + "description": "SiteAuthSettingsV2 resource specific properties", + "x-ms-client-flatten": true + }, + "kind": { + "type": "string", + "description": "Kind of resource. If the resource is an app, you can refer to https://github.com/Azure/app-service-linux-docs/blob/master/Things_You_Should_Know/kind_property.md#app-service-resource-kind-reference for details supported values for kind." + } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ] + }, + "SiteAuthSettingsV2Properties": { + "type": "object", + "description": "SiteAuthSettingsV2 resource specific properties", + "properties": { + "platform": { + "$ref": "#/definitions/AuthPlatform", + "description": "The configuration settings of the platform of App Service Authentication/Authorization." + }, + "globalValidation": { + "$ref": "#/definitions/GlobalValidation", + "description": "The configuration settings that determines the validation flow of users using App Service Authentication/Authorization." + }, + "identityProviders": { + "$ref": "#/definitions/IdentityProviders", + "description": "The configuration settings of each of the identity providers used to configure App Service Authentication/Authorization." + }, + "login": { + "$ref": "#/definitions/Login", + "description": "The configuration settings of the login flow of users using App Service Authentication/Authorization." + }, + "httpSettings": { + "$ref": "#/definitions/HttpSettings", + "description": "The configuration settings of the HTTP requests for authentication and authorization requests made against App Service Authentication/Authorization." + } + } + }, + "SiteAvailabilityState": { + "type": "string", + "description": "Management information availability state for the app.", + "enum": [ + "Normal", + "Limited", + "DisasterRecoveryMode" + ], + "x-ms-enum": { + "name": "SiteAvailabilityState", + "modelAsString": false + } + }, + "SiteCloneability": { + "type": "object", + "description": "Represents whether or not an app is cloneable.", + "properties": { + "result": { + "$ref": "#/definitions/CloneAbilityResult", + "description": "Name of app." + }, + "blockingFeatures": { + "type": "array", + "description": "List of features enabled on app that prevent cloning.", + "items": { + "$ref": "#/definitions/SiteCloneabilityCriterion" + }, + "xml": { + "wrapped": true + }, + "x-ms-identifiers": [ + "name" + ] + }, + "unsupportedFeatures": { + "type": "array", + "description": "List of features enabled on app that are non-blocking but cannot be cloned. The app can still be cloned\nbut the features in this list will not be set up on cloned app.", + "items": { + "$ref": "#/definitions/SiteCloneabilityCriterion" + }, + "xml": { + "wrapped": true + }, + "x-ms-identifiers": [ + "name" + ] + }, + "blockingCharacteristics": { + "type": "array", + "description": "List of blocking application characteristics.", + "items": { + "$ref": "#/definitions/SiteCloneabilityCriterion" + }, + "xml": { + "wrapped": true + }, + "x-ms-identifiers": [ + "name" + ] + } + } + }, + "SiteCloneabilityCriterion": { + "type": "object", + "description": "An app cloneability criterion.", + "properties": { + "name": { + "type": "string", + "description": "Name of criterion." + }, + "description": { + "type": "string", + "description": "Description of criterion." + } + } + }, + "SiteConfig": { + "type": "object", + "description": "Configuration of an App Service app.", + "properties": { + "numberOfWorkers": { + "type": "integer", + "format": "int32", + "description": "Number of workers." + }, + "defaultDocuments": { + "type": "array", + "description": "Default documents.", + "items": { + "type": "string" + }, + "xml": { + "wrapped": true + } + }, + "netFrameworkVersion": { + "type": "string", + "description": ".NET Framework version.", + "default": "v4.6" + }, + "phpVersion": { + "type": "string", + "description": "Version of PHP." + }, + "pythonVersion": { + "type": "string", + "description": "Version of Python." + }, + "nodeVersion": { + "type": "string", + "description": "Version of Node.js." + }, + "powerShellVersion": { + "type": "string", + "description": "Version of PowerShell." + }, + "linuxFxVersion": { + "type": "string", + "description": "Linux App Framework and version" + }, + "windowsFxVersion": { + "type": "string", + "description": "Xenon App Framework and version" + }, + "requestTracingEnabled": { + "type": "boolean", + "description": "true if request tracing is enabled; otherwise, false." + }, + "requestTracingExpirationTime": { + "type": "string", + "format": "date-time", + "description": "Request tracing expiration time." + }, + "remoteDebuggingEnabled": { + "type": "boolean", + "description": "true if remote debugging is enabled; otherwise, false." + }, + "remoteDebuggingVersion": { + "type": "string", + "description": "Remote debugging version." + }, + "httpLoggingEnabled": { + "type": "boolean", + "description": "true if HTTP logging is enabled; otherwise, false." + }, + "acrUseManagedIdentityCreds": { + "type": "boolean", + "description": "Flag to use Managed Identity Creds for ACR pull" + }, + "acrUserManagedIdentityID": { + "type": "string", + "description": "If using user managed identity, the user managed identity ClientId" + }, + "logsDirectorySizeLimit": { + "type": "integer", + "format": "int32", + "description": "HTTP logs directory size limit." + }, + "detailedErrorLoggingEnabled": { + "type": "boolean", + "description": "true if detailed error logging is enabled; otherwise, false." + }, + "publishingUsername": { + "type": "string", + "description": "Publishing user name." + }, + "appSettings": { + "type": "array", + "description": "Application settings. This property is not returned in response to normal create and read requests since it may contain sensitive information.", + "items": { + "$ref": "#/definitions/NameValuePair" + }, + "xml": { + "wrapped": true + }, + "x-ms-identifiers": [ + "name" + ], + "x-ms-mutability": [ + "update", + "create" + ] + }, + "metadata": { + "type": "array", + "description": "Application metadata. This property cannot be retrieved, since it may contain secrets.", + "items": { + "$ref": "#/definitions/NameValuePair" + }, + "xml": { + "wrapped": true + }, + "x-ms-identifiers": [ + "name" + ], + "x-ms-mutability": [ + "update", + "create" + ] + }, + "connectionStrings": { + "type": "array", + "description": "Connection strings. This property is not returned in response to normal create and read requests since it may contain sensitive information.", + "items": { + "$ref": "#/definitions/ConnStringInfo" + }, + "xml": { + "wrapped": true + }, + "x-ms-identifiers": [ + "name" + ], + "x-ms-mutability": [ + "update", + "create" + ] + }, + "machineKey": { + "$ref": "#/definitions/SiteMachineKey", + "description": "Site MachineKey.", + "readOnly": true + }, + "handlerMappings": { + "type": "array", + "description": "Handler mappings.", + "items": { + "$ref": "#/definitions/HandlerMapping" + }, + "xml": { + "wrapped": true + }, + "x-ms-identifiers": [ + "extension" + ] + }, + "documentRoot": { + "type": "string", + "description": "Document root." + }, + "scmType": { + "$ref": "#/definitions/ScmType", + "description": "SCM type." + }, + "use32BitWorkerProcess": { + "type": "boolean", + "description": "true to use 32-bit worker process; otherwise, false." + }, + "webSocketsEnabled": { + "type": "boolean", + "description": "true if WebSocket is enabled; otherwise, false." + }, + "alwaysOn": { + "type": "boolean", + "description": "true if Always On is enabled; otherwise, false." + }, + "javaVersion": { + "type": "string", + "description": "Java version." + }, + "javaContainer": { + "type": "string", + "description": "Java container." + }, + "javaContainerVersion": { + "type": "string", + "description": "Java container version." + }, + "appCommandLine": { + "type": "string", + "description": "App command line to launch." + }, + "managedPipelineMode": { + "$ref": "#/definitions/ManagedPipelineMode", + "description": "Managed pipeline mode." + }, + "virtualApplications": { + "type": "array", + "description": "Virtual applications.", + "items": { + "$ref": "#/definitions/VirtualApplication" + }, + "xml": { + "wrapped": true + }, + "x-ms-identifiers": [ + "virtualPath" + ] + }, + "loadBalancing": { + "$ref": "#/definitions/SiteLoadBalancing", + "description": "Site load balancing." + }, + "experiments": { + "$ref": "#/definitions/Experiments", + "description": "This is work around for polymorphic types." + }, + "limits": { + "$ref": "#/definitions/SiteLimits", + "description": "Site limits." + }, + "autoHealEnabled": { + "type": "boolean", + "description": "true if Auto Heal is enabled; otherwise, false." + }, + "autoHealRules": { + "$ref": "#/definitions/AutoHealRules", + "description": "Auto Heal rules." + }, + "tracingOptions": { + "type": "string", + "description": "Tracing options." + }, + "vnetName": { + "type": "string", + "description": "Virtual Network name.", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "vnetRouteAllEnabled": { + "type": "boolean", + "description": "Virtual Network Route All enabled. This causes all outbound traffic to have Virtual Network Security Groups and User Defined Routes applied." + }, + "vnetPrivatePortsCount": { + "type": "integer", + "format": "int32", + "description": "The number of private ports assigned to this app. These will be assigned dynamically on runtime." + }, + "cors": { + "$ref": "#/definitions/CorsSettings", + "description": "Cross-Origin Resource Sharing (CORS) settings." + }, + "push": { + "$ref": "#/definitions/PushSettings", + "description": "Push endpoint settings." + }, + "apiDefinition": { + "$ref": "#/definitions/ApiDefinitionInfo", + "description": "Information about the formal API definition for the app." + }, + "apiManagementConfig": { + "$ref": "#/definitions/ApiManagementConfig", + "description": "Azure API management settings linked to the app." + }, + "autoSwapSlotName": { + "type": "string", + "description": "Auto-swap slot name." + }, + "localMySqlEnabled": { + "type": "boolean", + "description": "true to enable local MySQL; otherwise, false.", + "default": false + }, + "managedServiceIdentityId": { + "type": "integer", + "format": "int32", + "description": "Managed Service Identity Id" + }, + "xManagedServiceIdentityId": { + "type": "integer", + "format": "int32", + "description": "Explicit Managed Service Identity Id" + }, + "keyVaultReferenceIdentity": { + "type": "string", + "description": "Identity to use for Key Vault Reference authentication." + }, + "ipSecurityRestrictions": { + "type": "array", + "description": "IP security restrictions for main.", + "items": { + "$ref": "#/definitions/IpSecurityRestriction" + }, + "xml": { + "wrapped": true + }, + "x-ms-identifiers": [ + "name" + ] + }, + "ipSecurityRestrictionsDefaultAction": { + "$ref": "#/definitions/DefaultAction", + "description": "Default action for main access restriction if no rules are matched." + }, + "scmIpSecurityRestrictions": { + "type": "array", + "description": "IP security restrictions for scm.", + "items": { + "$ref": "#/definitions/IpSecurityRestriction" + }, + "xml": { + "wrapped": true + }, + "x-ms-identifiers": [ + "name" + ] + }, + "scmIpSecurityRestrictionsDefaultAction": { + "$ref": "#/definitions/DefaultAction", + "description": "Default action for scm access restriction if no rules are matched." + }, + "scmIpSecurityRestrictionsUseMain": { + "type": "boolean", + "description": "IP security restrictions for scm to use main." + }, + "http20Enabled": { + "type": "boolean", + "description": "Http20Enabled: configures a web site to allow clients to connect over http2.0", + "default": true + }, + "http20ProxyFlag": { + "type": "integer", + "format": "int32", + "description": "Http20ProxyFlag: Configures a website to allow http2.0 to pass be proxied all the way to the app. 0 = disabled, 1 = pass through all http2 traffic, 2 = pass through gRPC only.", + "default": 0 + }, + "minTlsVersion": { + "$ref": "#/definitions/SupportedTlsVersions", + "description": "MinTlsVersion: configures the minimum version of TLS required for SSL requests" + }, + "minTlsCipherSuite": { + "$ref": "#/definitions/TlsCipherSuites", + "description": "The minimum strength TLS cipher suite allowed for an application" + }, + "scmMinTlsVersion": { + "$ref": "#/definitions/SupportedTlsVersions", + "description": "ScmMinTlsVersion: configures the minimum version of TLS required for SSL requests for SCM site" + }, + "ftpsState": { + "$ref": "#/definitions/FtpsState", + "description": "State of FTP / FTPS service" + }, + "preWarmedInstanceCount": { + "type": "integer", + "format": "int32", + "description": "Number of preWarmed instances.\nThis setting only applies to the Consumption and Elastic Plans", + "minimum": 0, + "maximum": 10 + }, + "functionAppScaleLimit": { + "type": "integer", + "format": "int32", + "description": "Maximum number of workers that a site can scale out to.\nThis setting only applies to the Consumption and Elastic Premium Plans", + "minimum": 0 + }, + "elasticWebAppScaleLimit": { + "type": "integer", + "format": "int32", + "description": "Maximum number of workers that a site can scale out to.\nThis setting only applies to apps in plans where ElasticScaleEnabled is true", + "minimum": 0 + }, + "healthCheckPath": { + "type": "string", + "description": "Health check path" + }, + "functionsRuntimeScaleMonitoringEnabled": { + "type": "boolean", + "description": "Gets or sets a value indicating whether functions runtime scale monitoring is enabled. When enabled,\nthe ScaleController will not monitor event sources directly, but will instead call to the\nruntime to get scale status." + }, + "websiteTimeZone": { + "type": "string", + "description": "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" + }, + "minimumElasticInstanceCount": { + "type": "integer", + "format": "int32", + "description": "Number of minimum instance count for a site\nThis setting only applies to the Elastic Plans", + "minimum": 0, + "maximum": 20 + }, + "azureStorageAccounts": { + "type": "object", + "description": "List of Azure Storage Accounts.", + "additionalProperties": { + "$ref": "#/definitions/AzureStorageInfoValue" + } + }, + "publicNetworkAccess": { + "type": "string", + "description": "Property to allow or block all public traffic." + } + } + }, + "SiteConfigPropertiesDictionary": { + "type": "object", + "description": "Site config properties dictionary.", + "properties": { + "use32BitWorkerProcess": { + "type": "boolean", + "description": "true if use32BitWorkerProcess should be set to true for the stack; otherwise, false.", + "readOnly": true + }, + "linuxFxVersion": { + "type": "string", + "description": "LinuxFxVersion configuration setting.", + "readOnly": true + }, + "javaVersion": { + "type": "string", + "description": "JavaVersion configuration setting.", + "readOnly": true + }, + "powerShellVersion": { + "type": "string", + "description": "PowerShellVersion configuration setting.", + "readOnly": true + } + } + }, + "SiteConfigResource": { + "type": "object", + "description": "Web app configuration ARM resource.", + "properties": { + "properties": { + "$ref": "#/definitions/SiteConfig", + "description": "Core resource properties", + "x-ms-client-flatten": true + }, + "kind": { + "type": "string", + "description": "Kind of resource. If the resource is an app, you can refer to https://github.com/Azure/app-service-linux-docs/blob/master/Things_You_Should_Know/kind_property.md#app-service-resource-kind-reference for details supported values for kind." + } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ] + }, + "SiteConfigResourceCollection": { + "type": "object", + "description": "Collection of site configurations.", + "properties": { + "value": { + "type": "array", + "description": "The SiteConfigResource items on this page", + "items": { + "$ref": "#/definitions/SiteConfigResource" + }, + "xml": { + "wrapped": true + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "SiteConfigurationSnapshotInfo": { + "type": "object", + "description": "A snapshot of a web app configuration.", + "properties": { + "properties": { + "$ref": "#/definitions/SiteConfigurationSnapshotInfoProperties", + "description": "SiteConfigurationSnapshotInfo resource specific properties", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "#/definitions/ProxyOnlyResource" + } + ] + }, + "SiteConfigurationSnapshotInfoCollection": { + "type": "object", + "description": "Collection of metadata for the app configuration snapshots that can be restored.", + "properties": { + "value": { + "type": "array", + "description": "The SiteConfigurationSnapshotInfo items on this page", + "items": { + "$ref": "#/definitions/SiteConfigurationSnapshotInfo" + }, + "xml": { + "wrapped": true + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "SiteConfigurationSnapshotInfoProperties": { + "type": "object", + "description": "SiteConfigurationSnapshotInfo resource specific properties", + "properties": { + "time": { + "type": "string", + "format": "date-time", + "description": "The time the snapshot was taken.", + "readOnly": true + }, + "snapshotId": { + "type": "integer", + "format": "int32", + "description": "The id of the snapshot", + "readOnly": true + } + } + }, + "SiteContainer": { + "type": "object", + "description": "Container of a site", + "properties": { + "properties": { + "$ref": "#/definitions/SiteContainerProperties", + "description": "SiteContainer resource specific properties", + "x-ms-client-flatten": true + }, + "kind": { + "type": "string", + "description": "Kind of resource." + } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ] + }, + "SiteContainerCollection": { + "type": "object", + "description": "Collection of site containers", + "properties": { + "value": { + "type": "array", + "description": "The SiteContainer items on this page", + "items": { + "$ref": "#/definitions/SiteContainer" + }, + "xml": { + "wrapped": true + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "SiteContainerProperties": { + "type": "object", + "description": "SiteContainer resource specific properties", + "properties": { + "image": { + "type": "string", + "description": "Image Name" + }, + "targetPort": { + "type": "string", + "description": "Target Port" + }, + "isMain": { + "type": "boolean", + "description": "true if the container is the main site container; false otherwise." + }, + "startUpCommand": { + "type": "string", + "description": "StartUp Command" + }, + "authType": { + "$ref": "#/definitions/AuthType", + "description": "Auth Type" + }, + "userName": { + "type": "string", + "description": "User Name" + }, + "passwordSecret": { + "type": "string", + "description": "Password Secret" + }, + "userManagedIdentityClientId": { + "type": "string", + "description": "UserManagedIdentity ClientId" + }, + "createdTime": { + "type": "string", + "format": "date-time", + "description": "Created Time", + "readOnly": true + }, + "lastModifiedTime": { + "type": "string", + "format": "date-time", + "description": "Last Modified Time", + "readOnly": true + }, + "volumeMounts": { + "type": "array", + "description": "List of volume mounts", + "items": { + "$ref": "#/definitions/VolumeMount" + }, + "xml": { + "wrapped": true + }, + "x-ms-identifiers": [] + }, + "inheritAppSettingsAndConnectionStrings": { + "type": "boolean", + "description": "true if all AppSettings and ConnectionStrings have to be passed to the container as environment variables; false otherwise." + }, + "environmentVariables": { + "type": "array", + "description": "List of environment variables", + "items": { + "$ref": "#/definitions/EnvironmentVariable" + }, + "xml": { + "wrapped": true + } + } + }, + "required": [ + "image", + "isMain" + ] + }, + "SiteDnsConfig": { + "type": "object", + "properties": { + "dnsServers": { + "type": "array", + "description": "List of custom DNS servers to be used by an app for lookups. Maximum 5 dns servers can be set.", + "items": { + "type": "string" + }, + "xml": { + "wrapped": true + } + }, + "dnsAltServer": { + "type": "string", + "description": "Alternate DNS server to be used by apps. This property replicates the WEBSITE_DNS_ALT_SERVER app setting." + }, + "dnsRetryAttemptTimeout": { + "type": "integer", + "format": "int32", + "description": "Timeout for a single dns lookup in seconds. Allowed range: 1-30. Default is 3." + }, + "dnsRetryAttemptCount": { + "type": "integer", + "format": "int32", + "description": "Total number of retries for dns lookup. Allowed range: 1-5. Default is 3." + }, + "dnsMaxCacheTimeout": { + "type": "integer", + "format": "int32", + "description": "Custom time for DNS to be cached in seconds. Allowed range: 0-60. Default is 30 seconds. 0 means caching disabled." + }, + "dnsLegacySortOrder": { + "type": "boolean", + "description": "Indicates that sites using Virtual network custom DNS servers are still sorting the list of DNS servers. Read-Only.", + "readOnly": true + } + } + }, + "SiteExtensionInfo": { + "type": "object", + "description": "Site Extension Information.", + "properties": { + "properties": { + "$ref": "#/definitions/SiteExtensionInfoProperties", + "description": "SiteExtensionInfo resource specific properties", + "x-ms-client-flatten": true + }, + "kind": { + "type": "string", + "description": "Kind of resource." + } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ] + }, + "SiteExtensionInfoCollection": { + "type": "object", + "description": "Collection of Kudu site extension information elements.", + "properties": { + "value": { + "type": "array", + "description": "The SiteExtensionInfo items on this page", + "items": { + "$ref": "#/definitions/SiteExtensionInfo" + }, + "xml": { + "wrapped": true + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "SiteExtensionInfoProperties": { + "type": "object", + "description": "SiteExtensionInfo resource specific properties", + "properties": { + "extension_id": { + "type": "string", + "description": "Site extension ID.", + "x-ms-client-name": "extensionId" + }, + "title": { + "type": "string" + }, + "extension_type": { + "$ref": "#/definitions/SiteExtensionType", + "description": "Site extension type.", + "x-ms-client-name": "extensionType" + }, + "summary": { + "type": "string", + "description": "Summary description." + }, + "description": { + "type": "string", + "description": "Detailed description." + }, + "version": { + "type": "string", + "description": "Version information." + }, + "extension_url": { + "type": "string", + "description": "Extension URL.", + "x-ms-client-name": "extensionUrl" + }, + "project_url": { + "type": "string", + "description": "Project URL.", + "x-ms-client-name": "projectUrl" + }, + "icon_url": { + "type": "string", + "description": "Icon URL.", + "x-ms-client-name": "iconUrl" + }, + "license_url": { + "type": "string", + "description": "License URL.", + "x-ms-client-name": "licenseUrl" + }, + "feed_url": { + "type": "string", + "description": "Feed URL.", + "x-ms-client-name": "feedUrl" + }, + "authors": { + "type": "array", + "description": "List of authors.", + "items": { + "type": "string" + }, + "xml": { + "wrapped": true + } + }, + "installer_command_line_params": { + "type": "string", + "description": "Installer command line parameters.", + "x-ms-client-name": "installerCommandLineParams" + }, + "published_date_time": { + "type": "string", + "format": "date-time", + "description": "Published timestamp.", + "x-ms-client-name": "publishedDateTime" + }, + "download_count": { + "type": "integer", + "format": "int32", + "description": "Count of downloads.", + "x-ms-client-name": "downloadCount" + }, + "local_is_latest_version": { + "type": "boolean", + "description": "true if the local version is the latest version; false otherwise.", + "x-ms-client-name": "localIsLatestVersion" + }, + "local_path": { + "type": "string", + "description": "Local path.", + "x-ms-client-name": "localPath" + }, + "installed_date_time": { + "type": "string", + "format": "date-time", + "description": "Installed timestamp.", + "x-ms-client-name": "installedDateTime" + }, + "provisioningState": { + "type": "string", + "description": "Provisioning state." + }, + "comment": { + "type": "string", + "description": "Site Extension comment." + } + } + }, + "SiteExtensionType": { + "type": "string", + "description": "Site extension type.", + "enum": [ + "Gallery", + "WebRoot" + ], + "x-ms-enum": { + "name": "SiteExtensionType", + "modelAsString": false + } + }, + "SiteLimits": { + "type": "object", + "description": "Metric limits set on an app.", + "properties": { + "maxPercentageCpu": { + "type": "number", + "format": "double", + "description": "Maximum allowed CPU usage percentage." + }, + "maxMemoryInMb": { + "type": "integer", + "format": "int64", + "description": "Maximum allowed memory usage in MB." + }, + "maxDiskSizeInMb": { + "type": "integer", + "format": "int64", + "description": "Maximum allowed disk size usage in MB." + } + } + }, + "SiteLoadBalancing": { + "type": "string", + "description": "Site load balancing.", + "enum": [ + "WeightedRoundRobin", + "LeastRequests", + "LeastResponseTime", + "WeightedTotalTraffic", + "RequestHash", + "PerSiteRoundRobin", + "LeastRequestsWithTieBreaker" + ], + "x-ms-enum": { + "name": "SiteLoadBalancing", + "modelAsString": false + } + }, + "SiteLogsConfig": { + "type": "object", + "description": "Configuration of App Service site logs.", + "properties": { + "properties": { + "$ref": "#/definitions/SiteLogsConfigProperties", + "description": "SiteLogsConfig resource specific properties", + "x-ms-client-flatten": true + }, + "kind": { + "type": "string", + "description": "Kind of resource." + } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ] + }, + "SiteLogsConfigProperties": { + "type": "object", + "description": "SiteLogsConfig resource specific properties", + "properties": { + "applicationLogs": { + "$ref": "#/definitions/ApplicationLogsConfig", + "description": "Application logs configuration." + }, + "httpLogs": { + "$ref": "#/definitions/HttpLogsConfig", + "description": "HTTP logs configuration." + }, + "failedRequestsTracing": { + "$ref": "#/definitions/EnabledConfig", + "description": "Failed requests tracing configuration." + }, + "detailedErrorMessages": { + "$ref": "#/definitions/EnabledConfig", + "description": "Detailed error messages configuration." + } + } + }, + "SiteMachineKey": { + "type": "object", + "description": "MachineKey of an app.", + "properties": { + "validation": { + "type": "string", + "description": "MachineKey validation." + }, + "validationKey": { + "type": "string", + "description": "Validation key." + }, + "decryption": { + "type": "string", + "description": "Algorithm used for decryption." + }, + "decryptionKey": { + "type": "string", + "description": "Decryption key." + } + } + }, + "SitePatchResource": { + "type": "object", + "description": "ARM resource for a site.", + "properties": { + "properties": { + "$ref": "#/definitions/SitePatchResourceProperties", + "description": "SitePatchResource resource specific properties", + "x-ms-client-flatten": true + }, + "identity": { + "$ref": "#/definitions/ManagedServiceIdentity", + "description": "Managed service identity." + } + }, + "allOf": [ + { + "$ref": "#/definitions/ProxyOnlyResource" + } + ] + }, + "SitePatchResourceProperties": { + "type": "object", + "description": "SitePatchResource resource specific properties", + "properties": { + "state": { + "type": "string", + "description": "Current state of the app.", + "readOnly": true + }, + "hostNames": { + "type": "array", + "description": "Hostnames associated with the app.", + "items": { + "type": "string" + }, + "readOnly": true, + "xml": { + "wrapped": true + } + }, + "repositorySiteName": { + "type": "string", + "description": "Name of the repository site.", + "readOnly": true + }, + "usageState": { + "$ref": "#/definitions/UsageState", + "description": "State indicating whether the app has exceeded its quota usage. Read-only.", + "readOnly": true + }, + "enabled": { + "type": "boolean", + "description": "true if the app is enabled; otherwise, false. Setting this value to false disables the app (takes the app offline)." + }, + "enabledHostNames": { + "type": "array", + "description": "Enabled hostnames for the app.Hostnames need to be assigned (see HostNames) AND enabled. Otherwise,\nthe app is not served on those hostnames.", + "items": { + "type": "string" + }, + "readOnly": true, + "xml": { + "wrapped": true + } + }, + "availabilityState": { + "$ref": "#/definitions/SiteAvailabilityState", + "description": "Management information availability state for the app.", + "readOnly": true + }, + "hostNameSslStates": { + "type": "array", + "description": "Hostname SSL states are used to manage the SSL bindings for app's hostnames.", + "items": { + "$ref": "#/definitions/HostNameSslState" + }, + "xml": { + "wrapped": true + }, + "x-ms-identifiers": [ + "name" + ] + }, + "serverFarmId": { + "type": "string", + "description": "Resource ID of the associated App Service plan, formatted as: \"/subscriptions/{subscriptionID}/resourceGroups/{groupName}/providers/Microsoft.Web/serverfarms/{appServicePlanName}\"." + }, + "reserved": { + "type": "boolean", + "description": "true if reserved; otherwise, false.", + "default": false, + "x-ms-mutability": [ + "read", + "create" + ] + }, + "isXenon": { + "type": "boolean", + "description": "Obsolete: Hyper-V sandbox.", + "default": false, + "x-ms-mutability": [ + "read", + "create" + ] + }, + "hyperV": { + "type": "boolean", + "description": "Hyper-V sandbox.", + "default": false, + "x-ms-mutability": [ + "read", + "create" + ] + }, + "lastModifiedTimeUtc": { + "type": "string", + "format": "date-time", + "description": "Last time the app was modified, in UTC. Read-only.", + "readOnly": true + }, + "dnsConfiguration": { + "$ref": "#/definitions/SiteDnsConfig", + "description": "Property to configure various DNS related settings for a site." + }, + "siteConfig": { + "$ref": "#/definitions/SiteConfig", + "description": "Configuration of the app." + }, + "trafficManagerHostNames": { + "type": "array", + "description": "Azure Traffic Manager hostnames associated with the app. Read-only.", + "items": { + "type": "string" + }, + "readOnly": true, + "xml": { + "wrapped": true + } + }, + "scmSiteAlsoStopped": { + "type": "boolean", + "description": "true to stop SCM (KUDU) site when the app is stopped; otherwise, false. The default is false.", + "default": false + }, + "targetSwapSlot": { + "type": "string", + "description": "Specifies which deployment slot this app will swap into. Read-only.", + "readOnly": true + }, + "hostingEnvironmentProfile": { + "$ref": "#/definitions/HostingEnvironmentProfile", + "description": "App Service Environment to use for the app.", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "clientAffinityEnabled": { + "type": "boolean", + "description": "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." + }, + "clientAffinityProxyEnabled": { + "type": "boolean", + "description": "true to override client affinity cookie domain with X-Forwarded-Host request header. false to use default domain. Default is false." + }, + "clientCertEnabled": { + "type": "boolean", + "description": "true to enable client certificate authentication (TLS mutual authentication); otherwise, false. Default is false." + }, + "clientCertMode": { + "$ref": "#/definitions/ClientCertMode", + "description": "This composes with ClientCertEnabled setting.\n- ClientCertEnabled: false means ClientCert is ignored.\n- ClientCertEnabled: true and ClientCertMode: Required means ClientCert is required.\n- ClientCertEnabled: true and ClientCertMode: Optional means ClientCert is optional or accepted." + }, + "clientCertExclusionPaths": { + "type": "string", + "description": "client certificate authentication comma-separated exclusion paths" + }, + "hostNamesDisabled": { + "type": "boolean", + "description": "true to disable the public hostnames of the app; otherwise, false.\\n If true, the app is only accessible via API management process." + }, + "customDomainVerificationId": { + "type": "string", + "description": "Unique identifier that verifies the custom domains assigned to the app. Customer will add this id to a txt record for verification." + }, + "outboundIpAddresses": { + "type": "string", + "description": "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.", + "readOnly": true + }, + "possibleOutboundIpAddresses": { + "type": "string", + "description": "List of IP addresses that the app uses for outbound connections (e.g. database access). Includes VIPs from all tenants except dataComponent. Read-only.", + "readOnly": true + }, + "containerSize": { + "type": "integer", + "format": "int32", + "description": "Size of the function container." + }, + "dailyMemoryTimeQuota": { + "type": "integer", + "format": "int32", + "description": "Maximum allowed daily memory-time quota (applicable on dynamic apps only)." + }, + "suspendedTill": { + "type": "string", + "format": "date-time", + "description": "App suspended till in case memory-time quota is exceeded.", + "readOnly": true + }, + "maxNumberOfWorkers": { + "type": "integer", + "format": "int32", + "description": "Maximum number of workers.\nThis only applies to Functions container.", + "readOnly": true + }, + "cloningInfo": { + "$ref": "#/definitions/CloningInfo", + "description": "If specified during app creation, the app is cloned from a source app.", + "x-ms-mutability": [ + "create" + ] + }, + "resourceGroup": { + "type": "string", + "description": "Name of the resource group the app belongs to. Read-only.", + "readOnly": true + }, + "isDefaultContainer": { + "type": "boolean", + "description": "true if the app is a default container; otherwise, false.", + "readOnly": true + }, + "defaultHostName": { + "type": "string", + "description": "Default hostname of the app. Read-only.", + "readOnly": true + }, + "slotSwapStatus": { + "$ref": "#/definitions/SlotSwapStatus", + "description": "Status of the last deployment slot swap operation.", + "readOnly": true + }, + "httpsOnly": { + "type": "boolean", + "description": "HttpsOnly: configures a web site to accept only https requests. Issues redirect for\nhttp requests" + }, + "redundancyMode": { + "$ref": "#/definitions/RedundancyMode", + "description": "Site redundancy mode" + }, + "inProgressOperationId": { + "type": "string", + "format": "uuid", + "description": "Specifies an operation id if this site has a pending operation.", + "readOnly": true + }, + "publicNetworkAccess": { + "type": "string", + "description": "Property to allow or block all public traffic. Allowed Values: 'Enabled', 'Disabled' or an empty string." + }, + "storageAccountRequired": { + "type": "boolean", + "description": "Checks if Customer provided storage account is required" + }, + "keyVaultReferenceIdentity": { + "type": "string", + "description": "Identity to use for Key Vault Reference authentication." + }, + "virtualNetworkSubnetId": { + "type": "string", + "description": "Azure Resource Manager ID of the Virtual network and subnet to be joined by Regional VNET Integration.\nThis must be of the form /subscriptions/{subscriptionName}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{vnetName}/subnets/{subnetName}" + } + } + }, + "SitePhpErrorLogFlag": { + "type": "object", + "description": "Used for getting PHP error logging flag.", + "properties": { + "properties": { + "$ref": "#/definitions/SitePhpErrorLogFlagProperties", + "description": "SitePhpErrorLogFlag resource specific properties", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "#/definitions/ProxyOnlyResource" + } + ] + }, + "SitePhpErrorLogFlagProperties": { + "type": "object", + "description": "SitePhpErrorLogFlag resource specific properties", + "properties": { + "localLogErrors": { + "type": "string", + "description": "Local log_errors setting." + }, + "masterLogErrors": { + "type": "string", + "description": "Master log_errors setting." + }, + "localLogErrorsMaxLength": { + "type": "string", + "description": "Local log_errors_max_len setting." + }, + "masterLogErrorsMaxLength": { + "type": "string", + "description": "Master log_errors_max_len setting." + } + } + }, + "SiteProperties": { + "type": "object", + "description": "Site resource specific properties", + "properties": { + "state": { + "type": "string", + "description": "Current state of the app.", + "readOnly": true + }, + "hostNames": { + "type": "array", + "description": "Hostnames associated with the app.", + "items": { + "type": "string" + }, + "readOnly": true, + "xml": { + "wrapped": true + } + }, + "repositorySiteName": { + "type": "string", + "description": "Name of the repository site.", + "readOnly": true + }, + "usageState": { + "$ref": "#/definitions/UsageState", + "description": "State indicating whether the app has exceeded its quota usage. Read-only.", + "readOnly": true + }, + "enabled": { + "type": "boolean", + "description": "true if the app is enabled; otherwise, false. Setting this value to false disables the app (takes the app offline)." + }, + "enabledHostNames": { + "type": "array", + "description": "Enabled hostnames for the app.Hostnames need to be assigned (see HostNames) AND enabled. Otherwise,\nthe app is not served on those hostnames.", + "items": { + "type": "string" + }, + "readOnly": true, + "xml": { + "wrapped": true + } + }, + "availabilityState": { + "$ref": "#/definitions/SiteAvailabilityState", + "description": "Management information availability state for the app.", + "readOnly": true + }, + "hostNameSslStates": { + "type": "array", + "description": "Hostname SSL states are used to manage the SSL bindings for app's hostnames.", + "items": { + "$ref": "#/definitions/HostNameSslState" + }, + "xml": { + "wrapped": true + }, + "x-ms-identifiers": [ + "name" + ] + }, + "serverFarmId": { + "type": "string", + "description": "Resource ID of the associated App Service plan, formatted as: \"/subscriptions/{subscriptionID}/resourceGroups/{groupName}/providers/Microsoft.Web/serverfarms/{appServicePlanName}\"." + }, + "reserved": { + "type": "boolean", + "description": "true if reserved; otherwise, false.", + "default": false, + "x-ms-mutability": [ + "read", + "create" + ] + }, + "isXenon": { + "type": "boolean", + "description": "Obsolete: Hyper-V sandbox.", + "default": false, + "x-ms-mutability": [ + "read", + "create" + ] + }, + "hyperV": { + "type": "boolean", + "description": "Hyper-V sandbox.", + "default": false, + "x-ms-mutability": [ + "read", + "create" + ] + }, + "lastModifiedTimeUtc": { + "type": "string", + "format": "date-time", + "description": "Last time the app was modified, in UTC. Read-only.", + "readOnly": true + }, + "dnsConfiguration": { + "$ref": "#/definitions/SiteDnsConfig", + "description": "Property to configure various DNS related settings for a site." + }, + "outboundVnetRouting": { + "$ref": "#/definitions/OutboundVnetRouting", + "description": "Property to configure various outbound traffic routing options over virtual network for a site" + }, + "siteConfig": { + "$ref": "#/definitions/SiteConfig", + "description": "Configuration of an App Service app. This property is not returned in response to normal create and read requests since it may contain sensitive information.", + "x-ms-mutability": [ + "update", + "create" + ] + }, + "functionAppConfig": { + "$ref": "#/definitions/FunctionAppConfig", + "description": "Configuration specific of the Azure Function app." + }, + "daprConfig": { + "$ref": "#/definitions/DaprConfig", + "description": "Dapr configuration of the app." + }, + "workloadProfileName": { + "type": "string", + "description": "Workload profile name for function app to execute on." + }, + "resourceConfig": { + "$ref": "#/definitions/ResourceConfig", + "description": "Function app resource requirements." + }, + "trafficManagerHostNames": { + "type": "array", + "description": "Azure Traffic Manager hostnames associated with the app. Read-only.", + "items": { + "type": "string" + }, + "readOnly": true, + "xml": { + "wrapped": true + } + }, + "scmSiteAlsoStopped": { + "type": "boolean", + "description": "true to stop SCM (KUDU) site when the app is stopped; otherwise, false. The default is false.", + "default": false + }, + "targetSwapSlot": { + "type": "string", + "description": "Specifies which deployment slot this app will swap into. Read-only.", + "readOnly": true + }, + "hostingEnvironmentProfile": { + "$ref": "#/definitions/HostingEnvironmentProfile", + "description": "App Service Environment to use for the app.", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "clientAffinityEnabled": { + "type": "boolean", + "description": "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.", + "default": false + }, + "clientAffinityPartitioningEnabled": { + "type": "boolean", + "description": "true to enable client affinity partitioning using CHIPS cookies, this will add the partitioned property to the affinity cookies; false to stop sending partitioned affinity cookies. Default is false." + }, + "clientAffinityProxyEnabled": { + "type": "boolean", + "description": "true to override client affinity cookie domain with X-Forwarded-Host request header. false to use default domain. Default is false." + }, + "clientCertEnabled": { + "type": "boolean", + "description": "true to enable client certificate authentication (TLS mutual authentication); otherwise, false. Default is false." + }, + "clientCertMode": { + "$ref": "#/definitions/ClientCertMode", + "description": "This composes with ClientCertEnabled setting.\n- ClientCertEnabled: false means ClientCert is ignored.\n- ClientCertEnabled: true and ClientCertMode: Required means ClientCert is required.\n- ClientCertEnabled: true and ClientCertMode: Optional means ClientCert is optional or accepted." + }, + "clientCertExclusionPaths": { + "type": "string", + "description": "client certificate authentication comma-separated exclusion paths" + }, + "ipMode": { + "$ref": "#/definitions/IPMode", + "description": "Specifies the IP mode of the app." + }, + "endToEndEncryptionEnabled": { + "type": "boolean", + "description": "Whether to use end to end encryption between the FrontEnd and the Worker" + }, + "sshEnabled": { + "type": "boolean", + "description": "Whether to enable ssh access." + }, + "hostNamesDisabled": { + "type": "boolean", + "description": "true to disable the public hostnames of the app; otherwise, false.\nIf true, the app is only accessible via API management process." + }, + "customDomainVerificationId": { + "type": "string", + "description": "Unique identifier that verifies the custom domains assigned to the app. Customer will add this id to a txt record for verification." + }, + "outboundIpAddresses": { + "type": "string", + "description": "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.", + "readOnly": true + }, + "possibleOutboundIpAddresses": { + "type": "string", + "description": "List of IP addresses that the app uses for outbound connections (e.g. database access). Includes VIPs from all tenants except dataComponent. Read-only.", + "readOnly": true + }, + "containerSize": { + "type": "integer", + "format": "int32", + "description": "Size of the function container." + }, + "dailyMemoryTimeQuota": { + "type": "integer", + "format": "int32", + "description": "Maximum allowed daily memory-time quota (applicable on dynamic apps only)." + }, + "suspendedTill": { + "type": "string", + "format": "date-time", + "description": "App suspended till in case memory-time quota is exceeded.", + "readOnly": true + }, + "maxNumberOfWorkers": { + "type": "integer", + "format": "int32", + "description": "Maximum number of workers.\nThis only applies to Functions container.", + "readOnly": true + }, + "cloningInfo": { + "$ref": "#/definitions/CloningInfo", + "description": "If specified during app creation, the app is cloned from a source app.", + "x-ms-mutability": [ + "create" + ] + }, + "resourceGroup": { + "type": "string", + "description": "Name of the resource group the app belongs to. Read-only.", + "readOnly": true + }, + "isDefaultContainer": { + "type": "boolean", + "description": "true if the app is a default container; otherwise, false.", + "readOnly": true + }, + "defaultHostName": { + "type": "string", + "description": "Default hostname of the app. Read-only.", + "readOnly": true + }, + "slotSwapStatus": { + "$ref": "#/definitions/SlotSwapStatus", + "description": "Status of the last deployment slot swap operation.", + "readOnly": true + }, + "httpsOnly": { + "type": "boolean", + "description": "HttpsOnly: configures a web site to accept only https requests. Issues redirect for\nhttp requests" + }, + "redundancyMode": { + "$ref": "#/definitions/RedundancyMode", + "description": "Site redundancy mode" + }, + "inProgressOperationId": { + "type": "string", + "format": "uuid", + "description": "Specifies an operation id if this site has a pending operation.", + "readOnly": true + }, + "publicNetworkAccess": { + "type": "string", + "description": "Property to allow or block all public traffic. Allowed Values: 'Enabled', 'Disabled' or an empty string." + }, + "storageAccountRequired": { + "type": "boolean", + "description": "Checks if Customer provided storage account is required" + }, + "keyVaultReferenceIdentity": { + "type": "string", + "description": "Identity to use for Key Vault Reference authentication." + }, + "autoGeneratedDomainNameLabelScope": { + "$ref": "#/definitions/AutoGeneratedDomainNameLabelScope", + "description": "Specifies the scope of uniqueness for the default hostname during resource creation" + }, + "virtualNetworkSubnetId": { + "type": "string", + "description": "Azure Resource Manager ID of the Virtual network and subnet to be joined by Regional VNET Integration.\nThis must be of the form /subscriptions/{subscriptionName}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{vnetName}/subnets/{subnetName}" + }, + "managedEnvironmentId": { + "type": "string", + "description": "Azure Resource Manager ID of the customer's selected Managed Environment on which to host this app. This must be of the form /subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.App/managedEnvironments/{managedEnvironmentName}" + }, + "sku": { + "type": "string", + "description": "Current SKU of application based on associated App Service Plan. Some valid SKU values are Free, Shared, Basic, Dynamic, FlexConsumption, Standard, Premium, PremiumV2, PremiumV3, Isolated, IsolatedV2", + "readOnly": true + } + } + }, + "SiteRuntimeState": { + "type": "string", + "enum": [ + "READY", + "STOPPED", + "UNKNOWN" + ], + "x-ms-enum": { + "name": "SiteRuntimeState", + "modelAsString": false + } + }, + "SiteSourceControl": { + "type": "object", + "description": "Source control configuration for an app.", + "properties": { + "properties": { + "$ref": "#/definitions/SiteSourceControlProperties", + "description": "SiteSourceControl resource specific properties", + "x-ms-client-flatten": true + }, + "kind": { + "type": "string", + "description": "Kind of resource." + } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ] + }, + "SiteSourceControlProperties": { + "type": "object", + "description": "SiteSourceControl resource specific properties", + "properties": { + "repoUrl": { + "type": "string", + "description": "Repository or source control URL.", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "branch": { + "type": "string", + "description": "Name of branch to use for deployment.", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "isManualIntegration": { + "type": "boolean", + "description": "true to limit to manual integration; false to enable continuous integration (which configures webhooks into online repos like GitHub).", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "isGitHubAction": { + "type": "boolean", + "description": "true if this is deployed via GitHub action.", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "deploymentRollbackEnabled": { + "type": "boolean", + "description": "true to enable deployment rollback; otherwise, false.", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "isMercurial": { + "type": "boolean", + "description": "true for a Mercurial repository; false for a Git repository.", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "gitHubActionConfiguration": { + "$ref": "#/definitions/GitHubActionConfiguration", + "description": "If GitHub Action is selected, than the associated configuration." + } + } + }, + "SkuCapacity": { + "type": "object", + "description": "Description of the App Service plan scale options.", + "properties": { + "minimum": { + "type": "integer", + "format": "int32", + "description": "Minimum number of workers for this App Service plan SKU." + }, + "maximum": { + "type": "integer", + "format": "int32", + "description": "Maximum number of workers for this App Service plan SKU." + }, + "elasticMaximum": { + "type": "integer", + "format": "int32", + "description": "Maximum number of Elastic workers for this App Service plan SKU." + }, + "default": { + "type": "integer", + "format": "int32", + "description": "Default number of workers for this App Service plan SKU." + }, + "scaleType": { + "type": "string", + "description": "Available scale configurations for an App Service plan." + } + } + }, + "SkuDescription": { + "type": "object", + "description": "Description of a SKU for a scalable resource.", + "properties": { + "name": { + "type": "string", + "description": "Name of the resource SKU." + }, + "tier": { + "type": "string", + "description": "Service tier of the resource SKU." + }, + "size": { + "type": "string", + "description": "Size specifier of the resource SKU." + }, + "family": { + "type": "string", + "description": "Family code of the resource SKU." + }, + "capacity": { + "type": "integer", + "format": "int32", + "description": "Current number of instances assigned to the resource." + }, + "skuCapacity": { + "$ref": "#/definitions/SkuCapacity", + "description": "Min, max, and default scale values of the SKU." + }, + "locations": { + "type": "array", + "description": "Locations of the SKU.", + "items": { + "type": "string" + }, + "xml": { + "wrapped": true + } + }, + "capabilities": { + "type": "array", + "description": "Capabilities of the SKU, e.g., is traffic manager enabled?", + "items": { + "$ref": "#/definitions/Capability" + }, + "xml": { + "wrapped": true + }, + "x-ms-identifiers": [ + "name" + ] + } + } + }, + "SkuInfo": { + "type": "object", + "description": "SKU discovery information.", + "properties": { + "resourceType": { + "type": "string", + "description": "Resource type that this SKU applies to." + }, + "sku": { + "$ref": "#/definitions/SkuDescription", + "description": "Name and tier of the SKU." + }, + "capacity": { + "$ref": "#/definitions/SkuCapacity", + "description": "Min, max, and default scale values of the SKU." + } + } + }, + "SkuInfoCollection": { + "type": "object", + "description": "Paged collection of SkuInfo items", + "properties": { + "value": { + "type": "array", + "description": "The SkuInfo items on this page", + "items": { + "$ref": "#/definitions/SkuInfo" + }, + "xml": { + "wrapped": true + }, + "x-ms-identifiers": [ + "/sku/name", + "resourceType" + ] + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "SkuInfos": { + "type": "object", + "description": "Collection of SKU information.", + "properties": { + "resourceType": { + "type": "string", + "description": "Resource type that this SKU applies to." + }, + "skus": { + "type": "array", + "description": "List of SKUs the subscription is able to use.", + "items": { + "$ref": "#/definitions/GlobalCsmSkuDescription" + }, + "xml": { + "wrapped": true + }, + "x-ms-identifiers": [ + "name" + ] + } + } + }, + "SlotConfigNames": { + "type": "object", + "description": "Names for connection strings, application settings, and external Azure storage account configuration\nidentifiers to be marked as sticky to the deployment slot and not moved during a swap operation.\nThis is valid for all deployment slots in an app.", + "properties": { + "connectionStringNames": { + "type": "array", + "description": "List of connection string names.", + "items": { + "type": "string" + }, + "xml": { + "wrapped": true + } + }, + "appSettingNames": { + "type": "array", + "description": "List of application settings names.", + "items": { + "type": "string" + }, + "xml": { + "wrapped": true + } + }, + "azureStorageConfigNames": { + "type": "array", + "description": "List of external Azure storage account identifiers.", + "items": { + "type": "string" + }, + "xml": { + "wrapped": true + } + } + } + }, + "SlotConfigNamesResource": { + "type": "object", + "description": "Slot Config names azure resource.", + "properties": { + "properties": { + "$ref": "#/definitions/SlotConfigNames", + "description": "Core resource properties", + "x-ms-client-flatten": true + }, + "kind": { + "type": "string", + "description": "Kind of resource." + } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ] + }, + "SlotDifference": { + "type": "object", + "description": "A setting difference between two deployment slots of an app.", + "properties": { + "properties": { + "$ref": "#/definitions/SlotDifferenceProperties", + "description": "SlotDifference resource specific properties", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "#/definitions/ProxyOnlyResource" + } + ] + }, + "SlotDifferenceCollection": { + "type": "object", + "description": "Collection of slot differences.", + "properties": { + "value": { + "type": "array", + "description": "The SlotDifference items on this page", + "items": { + "$ref": "#/definitions/SlotDifference" + }, + "xml": { + "wrapped": true + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "SlotDifferenceProperties": { + "type": "object", + "description": "SlotDifference resource specific properties", + "properties": { + "level": { + "type": "string", + "description": "Level of the difference: Information, Warning or Error.", + "readOnly": true + }, + "settingType": { + "type": "string", + "description": "The type of the setting: General, AppSetting or ConnectionString.", + "readOnly": true + }, + "diffRule": { + "type": "string", + "description": "Rule that describes how to process the setting difference during a slot swap.", + "readOnly": true + }, + "settingName": { + "type": "string", + "description": "Name of the setting.", + "readOnly": true + }, + "valueInCurrentSlot": { + "type": "string", + "description": "Value of the setting in the current slot.", + "readOnly": true + }, + "valueInTargetSlot": { + "type": "string", + "description": "Value of the setting in the target slot.", + "readOnly": true + }, + "description": { + "type": "string", + "description": "Description of the setting difference.", + "readOnly": true + } + } + }, + "SlotSwapStatus": { + "type": "object", + "description": "The status of the last successful slot swap operation.", + "properties": { + "timestampUtc": { + "type": "string", + "format": "date-time", + "description": "The time the last successful slot swap completed.", + "readOnly": true + }, + "sourceSlotName": { + "type": "string", + "description": "The source slot of the last swap operation.", + "readOnly": true + }, + "destinationSlotName": { + "type": "string", + "description": "The destination slot of the last swap operation.", + "readOnly": true + } + } + }, + "SlowRequestsBasedTrigger": { + "type": "object", + "description": "Trigger based on request execution time.", + "properties": { + "timeTaken": { + "type": "string", + "description": "Time taken." + }, + "path": { + "type": "string", + "description": "Request Path." + }, + "count": { + "type": "integer", + "format": "int32", + "description": "Request Count." + }, + "timeInterval": { + "type": "string", + "description": "Time interval." + } + } + }, + "Snapshot": { + "type": "object", + "description": "A snapshot of an app.", + "properties": { + "properties": { + "$ref": "#/definitions/SnapshotProperties", + "description": "Snapshot resource specific properties", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "#/definitions/ProxyOnlyResource" + } + ] + }, + "SnapshotCollection": { + "type": "object", + "description": "Collection of snapshots which can be used to revert an app to a previous time.", + "properties": { + "value": { + "type": "array", + "description": "The Snapshot items on this page", + "items": { + "$ref": "#/definitions/Snapshot" + }, + "xml": { + "wrapped": true + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "SnapshotProperties": { + "type": "object", + "description": "Snapshot resource specific properties", + "properties": { + "time": { + "type": "string", + "description": "The time the snapshot was taken.", + "readOnly": true + } + } + }, + "SnapshotRecoverySource": { + "type": "object", + "description": "Specifies the web app that snapshot contents will be retrieved from.", + "properties": { + "location": { + "type": "string", + "description": "Geographical location of the source web app, e.g. SouthEastAsia, SouthCentralUS" + }, + "id": { + "type": "string", + "description": "ARM resource ID of the source app.\n/subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName} for production slots and\n/subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/slots/{slotName} for other slots." + } + } + }, + "SnapshotRestoreRequest": { + "type": "object", + "description": "Details about app recovery operation.", + "properties": { + "properties": { + "$ref": "#/definitions/SnapshotRestoreRequestProperties", + "description": "SnapshotRestoreRequest resource specific properties", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "#/definitions/ProxyOnlyResource" + } + ] + }, + "SnapshotRestoreRequestProperties": { + "type": "object", + "description": "SnapshotRestoreRequest resource specific properties", + "properties": { + "snapshotTime": { + "type": "string", + "description": "Point in time in which the app restore should be done, formatted as a DateTime string." + }, + "recoverySource": { + "$ref": "#/definitions/SnapshotRecoverySource", + "description": "Optional. Specifies the web app that snapshot contents will be retrieved from.\nIf empty, the targeted web app will be used as the source." + }, + "overwrite": { + "type": "boolean", + "description": "If true the restore operation can overwrite source app; otherwise, false." + }, + "recoverConfiguration": { + "type": "boolean", + "description": "If true, site configuration, in addition to content, will be reverted." + }, + "ignoreConflictingHostNames": { + "type": "boolean", + "description": "If true, custom hostname conflicts will be ignored when recovering to a target web app.\nThis setting is only necessary when RecoverConfiguration is enabled." + }, + "useDRSecondary": { + "type": "boolean", + "description": "If true, the snapshot is retrieved from DRSecondary endpoint." + } + }, + "required": [ + "overwrite" + ] + }, + "Solution": { + "type": "object", + "description": "Class Representing Solution for problems detected.", + "properties": { + "id": { + "type": "number", + "format": "double", + "description": "Solution Id." + }, + "displayName": { + "type": "string", + "description": "Display Name of the solution" + }, + "order": { + "type": "number", + "format": "double", + "description": "Order of the solution." + }, + "description": { + "type": "string", + "description": "Description of the solution" + }, + "type": { + "$ref": "#/definitions/SolutionType", + "description": "Type of Solution" + }, + "data": { + "type": "array", + "description": "Solution Data.", + "items": { + "type": "array", + "items": { + "$ref": "#/definitions/NameValuePair" + } + }, + "xml": { + "wrapped": true + }, + "x-ms-identifiers": [ + "name" + ] + }, + "metadata": { + "type": "array", + "description": "Solution Metadata.", + "items": { + "type": "array", + "items": { + "$ref": "#/definitions/NameValuePair" + } + }, + "xml": { + "wrapped": true + }, + "x-ms-identifiers": [ + "name" + ] + } + } + }, + "SolutionType": { + "type": "string", + "description": "Type of Solution", + "enum": [ + "QuickSolution", + "DeepInvestigation", + "BestPractices" + ], + "x-ms-enum": { + "name": "SolutionType", + "modelAsString": false + } + }, + "SourceControl": { + "type": "object", + "description": "The source control OAuth token.", + "properties": { + "properties": { + "$ref": "#/definitions/SourceControlProperties", + "description": "SourceControl resource specific properties", + "x-ms-client-flatten": true + }, + "kind": { + "type": "string", + "description": "Kind of resource." + } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ] + }, + "SourceControlCollection": { + "type": "object", + "description": "Collection of source controls.", + "properties": { + "value": { + "type": "array", + "description": "The SourceControl items on this page", + "items": { + "$ref": "#/definitions/SourceControl" + }, + "xml": { + "wrapped": true + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "SourceControlProperties": { + "type": "object", + "description": "SourceControl resource specific properties", + "properties": { + "token": { + "type": "string", + "description": "OAuth access token." + }, + "tokenSecret": { + "type": "string", + "description": "OAuth access token secret." + }, + "refreshToken": { + "type": "string", + "description": "OAuth refresh token." + }, + "expirationTime": { + "type": "string", + "format": "date-time", + "description": "OAuth token expiration." + } + } + }, + "SslState": { + "type": "string", + "description": "SSL type", + "enum": [ + "Disabled", + "SniEnabled", + "IpBasedEnabled" + ], + "x-ms-enum": { + "name": "SslState", + "modelAsString": false + } + }, + "StackMajorVersion": { + "type": "object", + "description": "Application stack major version.", + "properties": { + "displayVersion": { + "type": "string", + "description": "Application stack major version (display only)." + }, + "runtimeVersion": { + "type": "string", + "description": "Application stack major version (runtime only)." + }, + "isDefault": { + "type": "boolean", + "description": "true if this is the default major version; otherwise, false." + }, + "minorVersions": { + "type": "array", + "description": "Minor versions associated with the major version.", + "items": { + "$ref": "#/definitions/StackMinorVersion" + }, + "xml": { + "wrapped": true + }, + "x-ms-identifiers": [ + "runtimeVersion" + ] + }, + "applicationInsights": { + "type": "boolean", + "description": "true if this supports Application Insights; otherwise, false." + }, + "isPreview": { + "type": "boolean", + "description": "true if this stack is in Preview, otherwise false." + }, + "isDeprecated": { + "type": "boolean", + "description": "true if this stack has been deprecated, otherwise false." + }, + "isHidden": { + "type": "boolean", + "description": "true if this stack should be hidden for new customers on portal, otherwise false." + }, + "appSettingsDictionary": { + "type": "object", + "description": "\n\n\nExample: All the function apps need AppSetting: \"FUNCTIONS_WORKER_RUNTIME\" to be set stack name", + "additionalProperties": {} + }, + "siteConfigPropertiesDictionary": { + "type": "object", + "description": "\n\n\nExample: All Linux Function Apps, need Use32BitWorkerProcess to be set to 0", + "additionalProperties": {} + } + } + }, + "StackMinorVersion": { + "type": "object", + "description": "Application stack minor version.", + "properties": { + "displayVersion": { + "type": "string", + "description": "Application stack minor version (display only)." + }, + "runtimeVersion": { + "type": "string", + "description": "Application stack minor version (runtime only)." + }, + "isDefault": { + "type": "boolean", + "description": "true if this is the default minor version; otherwise, false." + }, + "isRemoteDebuggingEnabled": { + "type": "boolean", + "description": "true if this supports Remote Debugging, otherwise false." + } + } + }, + "StackPreferredOs": { + "type": "string", + "description": "Function App stack preferred OS.", + "enum": [ + "Windows", + "Linux" + ], + "x-ms-enum": { + "name": "StackPreferredOs", + "modelAsString": false + } + }, + "StagingEnvironmentPolicy": { + "type": "string", + "description": "State indicating whether staging environments are allowed or not allowed for a static web app.", + "enum": [ + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "name": "StagingEnvironmentPolicy", + "modelAsString": false + } + }, + "StampCapacity": { + "type": "object", + "description": "Stamp capacity information.", + "properties": { + "name": { + "type": "string", + "description": "Name of the stamp." + }, + "availableCapacity": { + "type": "integer", + "format": "int64", + "description": "Available capacity (# of machines, bytes of storage etc...)." + }, + "totalCapacity": { + "type": "integer", + "format": "int64", + "description": "Total capacity (# of machines, bytes of storage etc...)." + }, + "unit": { + "type": "string", + "description": "Name of the unit." + }, + "computeMode": { + "$ref": "#/definitions/ComputeModeOptions", + "description": "Shared/dedicated workers." + }, + "workerSize": { + "$ref": "#/definitions/WorkerSizeOptions", + "description": "Size of the machines." + }, + "workerSizeId": { + "type": "integer", + "format": "int32", + "description": "Size ID of machines:\n0 - Small\n1 - Medium\n2 - Large" + }, + "excludeFromCapacityAllocation": { + "type": "boolean", + "description": "If true, it includes basic apps.\nBasic apps are not used for capacity allocation." + }, + "isApplicableForAllComputeModes": { + "type": "boolean", + "description": "true if capacity is applicable for all apps; otherwise, false." + }, + "siteMode": { + "type": "string", + "description": "Shared or Dedicated." + }, + "isLinux": { + "type": "boolean", + "description": "Is this a linux stamp capacity" + } + } + }, + "StampCapacityCollection": { + "type": "object", + "description": "Paged collection of StampCapacity items", + "properties": { + "value": { + "type": "array", + "description": "The StampCapacity items on this page", + "items": { + "$ref": "#/definitions/StampCapacity" + }, + "xml": { + "wrapped": true + }, + "x-ms-identifiers": [ + "name" + ] + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "StaticSite": { + "type": "object", + "description": "A static site.", + "properties": { + "defaultHostname": { + "type": "string", + "description": "The default autogenerated hostname for the static site.", + "readOnly": true + }, + "repositoryUrl": { + "type": "string", + "description": "URL for the repository of the static site." + }, + "branch": { + "type": "string", + "description": "The target branch in the repository." + }, + "customDomains": { + "type": "array", + "description": "The custom domains associated with this static site.", + "items": { + "type": "string" + }, + "readOnly": true, + "xml": { + "wrapped": true + } + }, + "repositoryToken": { + "type": "string", + "description": "A user's github repository token. This is used to setup the Github Actions workflow file and API secrets." + }, + "buildProperties": { + "$ref": "#/definitions/StaticSiteBuildProperties", + "description": "Build properties to configure on the repository." + }, + "privateEndpointConnections": { + "type": "array", + "description": "Private endpoint connections", + "items": { + "$ref": "#/definitions/ResponseMessageEnvelopeRemotePrivateEndpointConnection" + }, + "readOnly": true, + "xml": { + "wrapped": true + } + }, + "stagingEnvironmentPolicy": { + "$ref": "#/definitions/StagingEnvironmentPolicy", + "description": "State indicating whether staging environments are allowed or not allowed for a static web app." + }, + "allowConfigFileUpdates": { + "type": "boolean", + "description": "false if config file is locked for this static web app; otherwise, true." + }, + "templateProperties": { + "$ref": "#/definitions/StaticSiteTemplateOptions", + "description": "Template options for generating a new repository." + }, + "contentDistributionEndpoint": { + "type": "string", + "description": "The content distribution endpoint for the static site.", + "readOnly": true + }, + "keyVaultReferenceIdentity": { + "type": "string", + "description": "Identity to use for Key Vault Reference authentication.", + "readOnly": true + }, + "userProvidedFunctionApps": { + "type": "array", + "description": "User provided function apps registered with the static site", + "items": { + "$ref": "#/definitions/StaticSiteUserProvidedFunctionApp" + }, + "readOnly": true, + "xml": { + "wrapped": true + } + }, + "linkedBackends": { + "type": "array", + "description": "Backends linked to the static side", + "items": { + "$ref": "#/definitions/StaticSiteLinkedBackend" + }, + "readOnly": true, + "xml": { + "wrapped": true + }, + "x-ms-identifiers": [] + }, + "provider": { + "type": "string", + "description": "The provider that submitted the last deployment to the primary environment of the static site." + }, + "enterpriseGradeCdnStatus": { + "$ref": "#/definitions/EnterpriseGradeCdnStatus", + "description": "State indicating the status of the enterprise grade CDN serving traffic to the static web app." + }, + "publicNetworkAccess": { + "type": "string", + "description": "State indicating whether public traffic are allowed or not for a static web app. Allowed Values: 'Enabled', 'Disabled' or an empty string." + }, + "databaseConnections": { + "type": "array", + "description": "Database connections for the static site", + "items": { + "$ref": "#/definitions/DatabaseConnectionOverview" + }, + "readOnly": true, + "xml": { + "wrapped": true + }, + "x-ms-identifiers": [ + "name" + ] + } + } + }, + "StaticSiteARMResource": { + "type": "object", + "description": "Concrete tracked resource types can be created by aliasing this type using a specific property type.", + "properties": { + "properties": { + "$ref": "#/definitions/StaticSite", + "description": "Core resource properties", + "x-ms-client-flatten": true + }, + "kind": { + "type": "string", + "description": "Kind of resource." + }, + "sku": { + "$ref": "#/definitions/SkuDescription", + "description": "Description of a SKU for a scalable resource." + }, + "identity": { + "$ref": "#/definitions/ManagedServiceIdentity", + "description": "Managed service identity." + } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" + } + ] + }, + "StaticSiteBasicAuthPropertiesARMResource": { + "type": "object", + "description": "Static site basic auth properties ARM resource.", + "properties": { + "properties": { + "$ref": "#/definitions/StaticSiteBasicAuthPropertiesARMResourceProperties", + "description": "StaticSiteBasicAuthPropertiesARMResource resource specific properties", + "x-ms-client-flatten": true + }, + "kind": { + "type": "string", + "description": "Kind of resource." + } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ] + }, + "StaticSiteBasicAuthPropertiesARMResourceProperties": { + "type": "object", + "description": "StaticSiteBasicAuthPropertiesARMResource resource specific properties", + "properties": { + "password": { + "type": "string", + "description": "The password for basic auth." + }, + "secretUrl": { + "type": "string", + "description": "Url to the secret in Key Vault." + }, + "applicableEnvironmentsMode": { + "type": "string", + "description": "State indicating if basic auth is enabled and for what environments it is active." + }, + "environments": { + "type": "array", + "description": "The list of enabled environments for Basic Auth if ApplicableEnvironmentsMode is set to SpecifiedEnvironments.", + "items": { + "type": "string" + }, + "xml": { + "wrapped": true + } + }, + "secretState": { + "type": "string", + "description": "State indicating if basic auth has a secret and what type it is.", + "readOnly": true + } + }, + "required": [ + "applicableEnvironmentsMode" + ] + }, + "StaticSiteBasicAuthPropertiesCollection": { + "type": "object", + "description": "Collection of static site basic auth.", + "properties": { + "value": { + "type": "array", + "description": "The StaticSiteBasicAuthPropertiesARMResource items on this page", + "items": { + "$ref": "#/definitions/StaticSiteBasicAuthPropertiesARMResource" + }, + "xml": { + "wrapped": true + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "StaticSiteBuildARMResource": { + "type": "object", + "description": "Static Site Build ARM resource.", + "properties": { + "properties": { + "$ref": "#/definitions/StaticSiteBuildARMResourceProperties", + "description": "StaticSiteBuildARMResource resource specific properties", + "x-ms-client-flatten": true + }, + "kind": { + "type": "string", + "description": "Kind of resource." + } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ] + }, + "StaticSiteBuildARMResourceProperties": { + "type": "object", + "description": "StaticSiteBuildARMResource resource specific properties", + "properties": { + "buildId": { + "type": "string", + "description": "An identifier for the static site build.", + "readOnly": true + }, + "sourceBranch": { + "type": "string", + "description": "The source branch.", + "readOnly": true + }, + "pullRequestTitle": { + "type": "string", + "description": "The title of a pull request that a static site build is related to.", + "readOnly": true + }, + "hostname": { + "type": "string", + "description": "The hostname for a static site build.", + "readOnly": true + }, + "createdTimeUtc": { + "type": "string", + "format": "date-time", + "description": "When this build was created.", + "readOnly": true + }, + "lastUpdatedOn": { + "type": "string", + "format": "date-time", + "description": "When this build was updated.", + "readOnly": true + }, + "status": { + "$ref": "#/definitions/BuildStatus", + "description": "The status of the static site build.", + "readOnly": true + }, + "userProvidedFunctionApps": { + "type": "array", + "description": "User provided function apps registered with the static site build", + "items": { + "$ref": "#/definitions/StaticSiteUserProvidedFunctionApp" + }, + "readOnly": true, + "xml": { + "wrapped": true + } + }, + "linkedBackends": { + "type": "array", + "description": "Backends linked to the static side build", + "items": { + "$ref": "#/definitions/StaticSiteLinkedBackend" + }, + "readOnly": true, + "xml": { + "wrapped": true + }, + "x-ms-identifiers": [] + }, + "databaseConnections": { + "type": "array", + "description": "Database connections for the static site build", + "items": { + "$ref": "#/definitions/DatabaseConnectionOverview" + }, + "readOnly": true, + "xml": { + "wrapped": true + }, + "x-ms-identifiers": [ + "name" + ] + } + } + }, + "StaticSiteBuildCollection": { + "type": "object", + "description": "Collection of static site builds.", + "properties": { + "value": { + "type": "array", + "description": "The StaticSiteBuildARMResource items on this page", + "items": { + "$ref": "#/definitions/StaticSiteBuildARMResource" + }, + "xml": { + "wrapped": true + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "StaticSiteBuildProperties": { + "type": "object", + "description": "Build properties for the static site.", + "properties": { + "appLocation": { + "type": "string", + "description": "The path to the app code within the repository." + }, + "apiLocation": { + "type": "string", + "description": "The path to the api code within the repository." + }, + "appArtifactLocation": { + "type": "string", + "description": "Deprecated: The path of the app artifacts after building (deprecated in favor of OutputLocation)" + }, + "outputLocation": { + "type": "string", + "description": "The output path of the app after building." + }, + "appBuildCommand": { + "type": "string", + "description": "A custom command to run during deployment of the static content application." + }, + "apiBuildCommand": { + "type": "string", + "description": "A custom command to run during deployment of the Azure Functions API application." + }, + "skipGithubActionWorkflowGeneration": { + "type": "boolean", + "description": "Skip Github Action workflow generation." + }, + "githubActionSecretNameOverride": { + "type": "string", + "description": "Github Action secret name override." + } + } + }, + "StaticSiteCollection": { + "type": "object", + "description": "Collection of static sites.", + "properties": { + "value": { + "type": "array", + "description": "The StaticSiteARMResource items on this page", + "items": { + "$ref": "#/definitions/StaticSiteARMResource" + }, + "xml": { + "wrapped": true + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "StaticSiteCustomDomainOverviewARMResource": { + "type": "object", + "description": "Static Site Custom Domain Overview ARM resource.", + "properties": { + "properties": { + "$ref": "#/definitions/StaticSiteCustomDomainOverviewARMResourceProperties", + "description": "StaticSiteCustomDomainOverviewARMResource resource specific properties", + "x-ms-client-flatten": true + }, + "kind": { + "type": "string", + "description": "Kind of resource." + } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ] + }, + "StaticSiteCustomDomainOverviewARMResourceProperties": { + "type": "object", + "description": "StaticSiteCustomDomainOverviewARMResource resource specific properties", + "properties": { + "domainName": { + "type": "string", + "description": "The domain name for the static site custom domain.", + "readOnly": true + }, + "createdOn": { + "type": "string", + "format": "date-time", + "description": "The date and time on which the custom domain was created for the static site.", + "readOnly": true + }, + "status": { + "$ref": "#/definitions/CustomDomainStatus", + "description": "The status of the custom domain", + "readOnly": true + }, + "validationToken": { + "type": "string", + "description": "The TXT record validation token", + "readOnly": true + }, + "errorMessage": { + "type": "string", + "readOnly": true + } + } + }, + "StaticSiteCustomDomainOverviewCollection": { + "type": "object", + "description": "Collection of static site custom domains.", + "properties": { + "value": { + "type": "array", + "description": "The StaticSiteCustomDomainOverviewARMResource items on this page", + "items": { + "$ref": "#/definitions/StaticSiteCustomDomainOverviewARMResource" + }, + "xml": { + "wrapped": true + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "StaticSiteCustomDomainRequestPropertiesARMResource": { + "type": "object", + "description": "Static Site Custom Domain Request Properties ARM resource.", + "properties": { + "properties": { + "$ref": "#/definitions/StaticSiteCustomDomainRequestPropertiesARMResourceProperties", + "description": "StaticSiteCustomDomainRequestPropertiesARMResource resource specific properties", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "#/definitions/ProxyOnlyResource" + } + ] + }, + "StaticSiteCustomDomainRequestPropertiesARMResourceProperties": { + "type": "object", + "description": "StaticSiteCustomDomainRequestPropertiesARMResource resource specific properties", + "properties": { + "validationMethod": { + "type": "string", + "description": "Validation method for adding a custom domain", + "default": "cname-delegation" + } + } + }, + "StaticSiteDatabaseConnectionConfigurationFileOverview": { + "type": "object", + "description": "A database connection configuration file", + "properties": { + "fileName": { + "type": "string", + "description": "The name of the configuration file.", + "readOnly": true + }, + "contents": { + "type": "string", + "description": "The Base64 encoding of the file contents.", + "readOnly": true + }, + "type": { + "type": "string", + "description": "The type of configuration file.", + "readOnly": true + } + } + }, + "StaticSiteFunctionOverviewARMResource": { + "type": "object", + "description": "Static Site Function Overview ARM resource.", + "properties": { + "properties": { + "$ref": "#/definitions/StaticSiteFunctionOverviewARMResourceProperties", + "description": "StaticSiteFunctionOverviewARMResource resource specific properties", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "#/definitions/ProxyOnlyResource" + } + ] + }, + "StaticSiteFunctionOverviewARMResourceProperties": { + "type": "object", + "description": "StaticSiteFunctionOverviewARMResource resource specific properties", + "properties": { + "functionName": { + "type": "string", + "description": "The name for the function", + "readOnly": true + }, + "triggerType": { + "$ref": "#/definitions/TriggerTypes", + "description": "The trigger type of the function", + "readOnly": true + } + } + }, + "StaticSiteFunctionOverviewCollection": { + "type": "object", + "description": "Collection of static site functions.", + "properties": { + "value": { + "type": "array", + "description": "The StaticSiteFunctionOverviewARMResource items on this page", + "items": { + "$ref": "#/definitions/StaticSiteFunctionOverviewARMResource" + }, + "xml": { + "wrapped": true + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "StaticSiteLinkedBackend": { + "type": "object", + "description": "Static Site Linked Backend ARM resource.", + "properties": { + "backendResourceId": { + "type": "string", + "description": "The resource id of the backend linked to the static site" + }, + "region": { + "type": "string", + "description": "The region of the backend linked to the static site" + }, + "createdOn": { + "type": "string", + "format": "date-time", + "description": "The date and time on which the backend was linked to the static site.", + "readOnly": true + }, + "provisioningState": { + "type": "string", + "description": "The provisioning state of the linking process.", + "readOnly": true + } + } + }, + "StaticSiteLinkedBackendARMResource": { + "type": "object", + "description": "Static Site Linked Backend ARM resource.", + "properties": { + "properties": { + "$ref": "#/definitions/StaticSiteLinkedBackendARMResourceProperties", + "description": "StaticSiteLinkedBackendARMResource resource specific properties", + "x-ms-client-flatten": true + }, + "kind": { + "type": "string", + "description": "Kind of resource." + } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ] + }, + "StaticSiteLinkedBackendARMResourceProperties": { + "type": "object", + "description": "StaticSiteLinkedBackendARMResource resource specific properties", + "properties": { + "backendResourceId": { + "type": "string", + "description": "The resource id of the backend linked to the static site" + }, + "region": { + "type": "string", + "description": "The region of the backend linked to the static site" + }, + "createdOn": { + "type": "string", + "format": "date-time", + "description": "The date and time on which the backend was linked to the static site.", + "readOnly": true + }, + "provisioningState": { + "type": "string", + "description": "The provisioning state of the linking process.", + "readOnly": true + } + } + }, + "StaticSiteLinkedBackendsCollection": { + "type": "object", + "description": "Collection of static site linked backends.", + "properties": { + "value": { + "type": "array", + "description": "The StaticSiteLinkedBackendARMResource items on this page", + "items": { + "$ref": "#/definitions/StaticSiteLinkedBackendARMResource" + }, + "xml": { + "wrapped": true + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "StaticSitePatchResource": { + "type": "object", + "description": "ARM resource for a static site when patching", + "properties": { + "properties": { + "$ref": "#/definitions/StaticSite", + "description": "Core resource properties", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "#/definitions/ProxyOnlyResource" + } + ] + }, + "StaticSiteResetPropertiesARMResource": { + "type": "object", + "description": "Static Site Reset Properties ARM resource.", + "properties": { + "properties": { + "$ref": "#/definitions/StaticSiteResetPropertiesARMResourceProperties", + "description": "StaticSiteResetPropertiesARMResource resource specific properties", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "#/definitions/ProxyOnlyResource" + } + ] + }, + "StaticSiteResetPropertiesARMResourceProperties": { + "type": "object", + "description": "StaticSiteResetPropertiesARMResource resource specific properties", + "properties": { + "repositoryToken": { + "type": "string", + "description": "The token which proves admin privileges to the repository." + }, + "shouldUpdateRepository": { + "type": "boolean", + "description": "Determines whether the repository should be updated with the new properties." + } + } + }, + "StaticSiteTemplateOptions": { + "type": "object", + "description": "Template Options for the static site.", + "properties": { + "templateRepositoryUrl": { + "type": "string", + "description": "URL of the template repository. The newly generated repository will be based on this one." + }, + "owner": { + "type": "string", + "description": "Owner of the newly generated repository." + }, + "repositoryName": { + "type": "string", + "description": "Name of the newly generated repository." + }, + "description": { + "type": "string", + "description": "Description of the newly generated repository." + }, + "isPrivate": { + "type": "boolean", + "description": "Whether or not the newly generated repository is a private repository. Defaults to false (i.e. public)." + } + } + }, + "StaticSiteUserARMResource": { + "type": "object", + "description": "Static Site User ARM resource.", + "properties": { + "properties": { + "$ref": "#/definitions/StaticSiteUserARMResourceProperties", + "description": "StaticSiteUserARMResource resource specific properties", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "#/definitions/ProxyOnlyResource" + } + ] + }, + "StaticSiteUserARMResourceProperties": { + "type": "object", + "description": "StaticSiteUserARMResource resource specific properties", + "properties": { + "provider": { + "type": "string", + "description": "The identity provider for the static site user.", + "readOnly": true + }, + "userId": { + "type": "string", + "description": "The user id for the static site user.", + "readOnly": true + }, + "displayName": { + "type": "string", + "description": "The display name for the static site user.", + "readOnly": true + }, + "roles": { + "type": "string", + "description": "The roles for the static site user, in free-form string format" + } + } + }, + "StaticSiteUserCollection": { + "type": "object", + "description": "Collection of static site custom users.", + "properties": { + "value": { + "type": "array", + "description": "The StaticSiteUserARMResource items on this page", + "items": { + "$ref": "#/definitions/StaticSiteUserARMResource" + }, + "xml": { + "wrapped": true + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "StaticSiteUserInvitationRequestResource": { + "type": "object", + "description": "Static sites user roles invitation resource.", + "properties": { + "properties": { + "$ref": "#/definitions/StaticSiteUserInvitationRequestResourceProperties", + "description": "StaticSiteUserInvitationRequestResource resource specific properties", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "#/definitions/ProxyOnlyResource" + } + ] + }, + "StaticSiteUserInvitationRequestResourceProperties": { + "type": "object", + "description": "StaticSiteUserInvitationRequestResource resource specific properties", + "properties": { + "domain": { + "type": "string", + "description": "The domain name for the static site custom domain." + }, + "provider": { + "type": "string", + "description": "The identity provider for the static site user." + }, + "userDetails": { + "type": "string", + "description": "The user id for the static site user." + }, + "roles": { + "type": "string", + "description": "The roles for the static site user, in free-form string format" + }, + "numHoursToExpiration": { + "type": "integer", + "format": "int32", + "description": "The number of hours the sas token stays valid" + } + } + }, + "StaticSiteUserInvitationResponseResource": { + "type": "object", + "description": "Static sites user roles invitation link resource.", + "properties": { + "properties": { + "$ref": "#/definitions/StaticSiteUserInvitationResponseResourceProperties", + "description": "StaticSiteUserInvitationResponseResource resource specific properties", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "#/definitions/ProxyOnlyResource" + } + ] + }, + "StaticSiteUserInvitationResponseResourceProperties": { + "type": "object", + "description": "StaticSiteUserInvitationResponseResource resource specific properties", + "properties": { + "expiresOn": { + "type": "string", + "format": "date-time", + "description": "The expiration time of the invitation", + "readOnly": true + }, + "invitationUrl": { + "type": "string", + "description": "The url for the invitation link", + "readOnly": true + } + } + }, + "StaticSiteUserProvidedFunctionApp": { + "type": "object", + "description": "A static site user provided function.", + "properties": { + "properties": { + "$ref": "#/definitions/StaticSiteUserProvidedFunctionAppProperties", + "description": "StaticSiteUserProvidedFunctionApp resource specific properties", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "#/definitions/ProxyOnlyResource" + } + ] + }, + "StaticSiteUserProvidedFunctionAppARMResource": { + "type": "object", + "description": "Static Site User Provided Function App ARM resource.", + "properties": { + "properties": { + "$ref": "#/definitions/StaticSiteUserProvidedFunctionAppARMResourceProperties", + "description": "StaticSiteUserProvidedFunctionAppARMResource resource specific properties", + "x-ms-client-flatten": true + }, + "kind": { + "type": "string", + "description": "Kind of resource." + } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ] + }, + "StaticSiteUserProvidedFunctionAppARMResourceProperties": { + "type": "object", + "description": "StaticSiteUserProvidedFunctionAppARMResource resource specific properties", + "properties": { + "functionAppResourceId": { + "type": "string", + "description": "The resource id of the function app registered with the static site" + }, + "functionAppRegion": { + "type": "string", + "description": "The region of the function app registered with the static site" + }, + "createdOn": { + "type": "string", + "format": "date-time", + "description": "The date and time on which the function app was registered with the static site.", + "readOnly": true + } + } + }, + "StaticSiteUserProvidedFunctionAppProperties": { + "type": "object", + "description": "StaticSiteUserProvidedFunctionApp resource specific properties", + "properties": { + "functionAppResourceId": { + "type": "string", + "description": "The resource id of the function app registered with the static site" + }, + "functionAppRegion": { + "type": "string", + "description": "The region of the function app registered with the static site" + }, + "createdOn": { + "type": "string", + "format": "date-time", + "description": "The date and time on which the function app was registered with the static site.", + "readOnly": true + } + } + }, + "StaticSiteUserProvidedFunctionAppsCollection": { + "type": "object", + "description": "Collection of static site user provided function apps.", + "properties": { + "value": { + "type": "array", + "description": "The StaticSiteUserProvidedFunctionAppARMResource items on this page", + "items": { + "$ref": "#/definitions/StaticSiteUserProvidedFunctionAppARMResource" + }, + "xml": { + "wrapped": true + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "StaticSiteZipDeployment": { + "type": "object", + "description": "A static site zip deployment.", + "properties": { + "appZipUrl": { + "type": "string", + "description": "URL for the zipped app content" + }, + "apiZipUrl": { + "type": "string", + "description": "URL for the zipped api content" + }, + "deploymentTitle": { + "type": "string", + "description": "A title to label the deployment" + }, + "provider": { + "type": "string", + "description": "The provider submitting this deployment" + }, + "functionLanguage": { + "type": "string", + "description": "The language of the api content, if it exists" + } + } + }, + "StaticSiteZipDeploymentARMResource": { + "type": "object", + "description": "Static site zip deployment ARM resource.", + "properties": { + "properties": { + "$ref": "#/definitions/StaticSiteZipDeployment", + "description": "Core resource properties", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "#/definitions/ProxyOnlyResource" + } + ] + }, + "StaticSitesWorkflowPreview": { + "type": "object", + "description": "Preview for the Static Site Workflow to be generated", + "properties": { + "properties": { + "$ref": "#/definitions/StaticSitesWorkflowPreviewProperties", + "description": "StaticSitesWorkflowPreview resource specific properties", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "#/definitions/ProxyOnlyResource" + } + ] + }, + "StaticSitesWorkflowPreviewProperties": { + "type": "object", + "description": "StaticSitesWorkflowPreview resource specific properties", + "properties": { + "path": { + "type": "string", + "description": "The path for the workflow file to be generated", + "readOnly": true + }, + "contents": { + "type": "string", + "description": "The contents for the workflow file to be generated", + "readOnly": true + } + } + }, + "StaticSitesWorkflowPreviewRequest": { + "type": "object", + "description": "Request entity for previewing the Static Site workflow", + "properties": { + "properties": { + "$ref": "#/definitions/StaticSitesWorkflowPreviewRequestProperties", + "description": "StaticSitesWorkflowPreviewRequest resource specific properties", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "#/definitions/ProxyOnlyResource" + } + ] + }, + "StaticSitesWorkflowPreviewRequestProperties": { + "type": "object", + "description": "StaticSitesWorkflowPreviewRequest resource specific properties", + "properties": { + "repositoryUrl": { + "type": "string", + "description": "URL for the repository of the static site." + }, + "branch": { + "type": "string", + "description": "The target branch in the repository." + }, + "buildProperties": { + "$ref": "#/definitions/StaticSiteBuildProperties", + "description": "Build properties to configure on the repository." + } + } + }, + "Status": { + "type": "object", + "description": "Identify the status of the most severe insight generated by the detector.", + "properties": { + "message": { + "type": "string", + "description": "Descriptive message." + }, + "statusId": { + "$ref": "#/definitions/InsightStatus", + "description": "Level of the most severe insight generated by the detector." + } + } + }, + "StatusCodesBasedTrigger": { + "type": "object", + "description": "Trigger based on status code.", + "properties": { + "status": { + "type": "integer", + "format": "int32", + "description": "HTTP status code." + }, + "subStatus": { + "type": "integer", + "format": "int32", + "description": "Request Sub Status." + }, + "win32Status": { + "type": "integer", + "format": "int32", + "description": "Win32 error code." + }, + "count": { + "type": "integer", + "format": "int32", + "description": "Request Count." + }, + "timeInterval": { + "type": "string", + "description": "Time interval." + }, + "path": { + "type": "string", + "description": "Request Path" + } + } + }, + "StatusCodesRangeBasedTrigger": { + "type": "object", + "description": "Trigger based on range of status codes.", + "properties": { + "statusCodes": { + "type": "string", + "description": "HTTP status code." + }, + "path": { + "type": "string" + }, + "count": { + "type": "integer", + "format": "int32", + "description": "Request Count." + }, + "timeInterval": { + "type": "string", + "description": "Time interval." + } + } + }, + "StatusOptions": { + "type": "string", + "description": "App Service plan status.", + "enum": [ + "Ready", + "Pending", + "Creating" + ], + "x-ms-enum": { + "name": "StatusOptions", + "modelAsString": false + } + }, + "StorageMigrationOptions": { + "type": "object", + "description": "Options for app content migration.", + "properties": { + "properties": { + "$ref": "#/definitions/StorageMigrationOptionsProperties", + "description": "StorageMigrationOptions resource specific properties", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "#/definitions/ProxyOnlyResource" + } + ] + }, + "StorageMigrationOptionsProperties": { + "type": "object", + "description": "StorageMigrationOptions resource specific properties", + "properties": { + "azurefilesConnectionString": { + "type": "string", + "description": "AzureFiles connection string.", + "x-ms-mutability": [ + "create" + ] + }, + "azurefilesShare": { + "type": "string", + "description": "AzureFiles share.", + "x-ms-mutability": [ + "create" + ] + }, + "switchSiteAfterMigration": { + "type": "boolean", + "description": "trueif the app should be switched over; otherwise, false.", + "default": false, + "x-ms-mutability": [ + "create" + ] + }, + "blockWriteAccessToSite": { + "type": "boolean", + "description": "true if the app should be read only during copy operation; otherwise, false.", + "default": false, + "x-ms-mutability": [ + "create" + ] + } + }, + "required": [ + "azurefilesConnectionString", + "azurefilesShare" + ] + }, + "StorageMigrationResponse": { + "type": "object", + "description": "Response for a migration of app content request.", + "properties": { + "properties": { + "$ref": "#/definitions/StorageMigrationResponseProperties", + "description": "StorageMigrationResponse resource specific properties", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "#/definitions/ProxyOnlyResource" + } + ] + }, + "StorageMigrationResponseProperties": { + "type": "object", + "description": "StorageMigrationResponse resource specific properties", + "properties": { + "operationId": { + "type": "string", + "description": "When server starts the migration process, it will return an operation ID identifying that particular migration operation.", + "readOnly": true + } + } + }, + "StorageMount": { + "type": "object", + "description": "Server farm storage mount configuration.", + "properties": { + "name": { + "type": "string", + "description": "Name of the storage mount." + }, + "type": { + "$ref": "#/definitions/StorageMountType", + "description": "Type of the storage mount." + }, + "source": { + "type": "string", + "description": "Source of the fileshare/storage." + }, + "destinationPath": { + "type": "string", + "description": "Path on worker where storage will be mounted." + }, + "credentialsKeyVaultReference": { + "$ref": "#/definitions/KeyVaultReferenceWithStatus", + "description": "KV reference to the credentials to connect to the share." + } + } + }, + "StorageMountType": { + "type": "string", + "description": "Type of the storage mount.", + "enum": [ + "AzureFiles", + "LocalStorage", + "FileShare" + ], + "x-ms-enum": { + "name": "StorageMountType", + "modelAsString": true, + "values": [ + { + "name": "AzureFiles", + "value": "AzureFiles" + }, + { + "name": "LocalStorage", + "value": "LocalStorage" + }, + { + "name": "FileShare", + "value": "FileShare" + } + ] + } + }, + "StorageType": { + "type": "string", + "enum": [ + "LocalNode", + "NetworkFileSystem" + ], + "x-ms-enum": { + "name": "StorageType", + "modelAsString": false + } + }, + "StringDictionary": { + "type": "object", + "description": "String dictionary resource.", + "properties": { + "properties": { + "type": "object", + "description": "Settings.", + "additionalProperties": { + "type": "string" + }, + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "#/definitions/ProxyOnlyResource" + } + ] + }, + "StringList": { + "type": "object", + "description": "String list resource.", + "properties": { + "properties": { + "type": "array", + "description": "List of string resources.", + "items": { + "type": "string" + }, + "xml": { + "wrapped": true + } + } + }, + "allOf": [ + { + "$ref": "#/definitions/ProxyOnlyResource" + } + ] + }, + "SupportTopic": { + "type": "object", + "description": "Defines a unique Support Topic", + "properties": { + "id": { + "type": "string", + "description": "Support Topic Id", + "readOnly": true + }, + "pesId": { + "type": "string", + "description": "Unique resource Id", + "readOnly": true + } + } + }, + "SupportedTlsVersions": { + "type": "string", + "description": "MinTlsVersion: configures the minimum version of TLS required for SSL requests", + "enum": [ + "1.0", + "1.1", + "1.2", + "1.3" + ], + "x-ms-enum": { + "name": "SupportedTlsVersions", + "modelAsString": true, + "values": [ + { + "name": "1.0", + "value": "1.0" + }, + { + "name": "1.1", + "value": "1.1" + }, + { + "name": "1.2", + "value": "1.2" + }, + { + "name": "1.3", + "value": "1.3" + } + ] + } + }, + "SwiftVirtualNetwork": { + "type": "object", + "description": "Swift Virtual Network Contract. This is used to enable the new Swift way of doing virtual network integration.", + "properties": { + "properties": { + "$ref": "#/definitions/SwiftVirtualNetworkProperties", + "description": "SwiftVirtualNetwork resource specific properties", + "x-ms-client-flatten": true + }, + "kind": { + "type": "string", + "description": "Kind of resource." + } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ] + }, + "SwiftVirtualNetworkProperties": { + "type": "object", + "description": "SwiftVirtualNetwork resource specific properties", + "properties": { + "subnetResourceId": { + "type": "string", + "description": "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." + }, + "swiftSupported": { + "type": "boolean", + "description": "A flag that specifies if the scale unit this Web App is on supports Swift integration." + } + } + }, + "TlsCipherSuites": { + "type": "string", + "description": "The minimum strength TLS cipher suite allowed for an application", + "enum": [ + "TLS_AES_256_GCM_SHA384", + "TLS_AES_128_GCM_SHA256", + "TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384", + "TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256", + "TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256", + "TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384", + "TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256", + "TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384", + "TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256", + "TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA", + "TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA", + "TLS_RSA_WITH_AES_256_GCM_SHA384", + "TLS_RSA_WITH_AES_128_GCM_SHA256", + "TLS_RSA_WITH_AES_256_CBC_SHA256", + "TLS_RSA_WITH_AES_128_CBC_SHA256", + "TLS_RSA_WITH_AES_256_CBC_SHA", + "TLS_RSA_WITH_AES_128_CBC_SHA" + ], + "x-ms-enum": { + "name": "TlsCipherSuites", + "modelAsString": true, + "values": [ + { + "name": "TLS_AES_256_GCM_SHA384", + "value": "TLS_AES_256_GCM_SHA384" + }, + { + "name": "TLS_AES_128_GCM_SHA256", + "value": "TLS_AES_128_GCM_SHA256" + }, + { + "name": "TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384", + "value": "TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384" + }, + { + "name": "TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256", + "value": "TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256" + }, + { + "name": "TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256", + "value": "TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256" + }, + { + "name": "TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384", + "value": "TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384" + }, + { + "name": "TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256", + "value": "TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256" + }, + { + "name": "TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384", + "value": "TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384" + }, + { + "name": "TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256", + "value": "TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256" + }, + { + "name": "TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA", + "value": "TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA" + }, + { + "name": "TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA", + "value": "TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA" + }, + { + "name": "TLS_RSA_WITH_AES_256_GCM_SHA384", + "value": "TLS_RSA_WITH_AES_256_GCM_SHA384" + }, + { + "name": "TLS_RSA_WITH_AES_128_GCM_SHA256", + "value": "TLS_RSA_WITH_AES_128_GCM_SHA256" + }, + { + "name": "TLS_RSA_WITH_AES_256_CBC_SHA256", + "value": "TLS_RSA_WITH_AES_256_CBC_SHA256" + }, + { + "name": "TLS_RSA_WITH_AES_128_CBC_SHA256", + "value": "TLS_RSA_WITH_AES_128_CBC_SHA256" + }, + { + "name": "TLS_RSA_WITH_AES_256_CBC_SHA", + "value": "TLS_RSA_WITH_AES_256_CBC_SHA" + }, + { + "name": "TLS_RSA_WITH_AES_128_CBC_SHA", + "value": "TLS_RSA_WITH_AES_128_CBC_SHA" + } + ] + } + }, + "TokenStore": { + "type": "object", + "description": "The configuration settings of the token store.", + "properties": { + "enabled": { + "type": "boolean", + "description": "true to durably store platform-specific security tokens that are obtained during login flows; otherwise, false.\nThe default is false." + }, + "tokenRefreshExtensionHours": { + "type": "number", + "format": "double", + "description": "The number of hours after session token expiration that a session token can be used to\ncall the token refresh API. The default is 72 hours." + }, + "fileSystem": { + "$ref": "#/definitions/FileSystemTokenStore", + "description": "The configuration settings of the storage of the tokens if a file system is used." + }, + "azureBlobStorage": { + "$ref": "#/definitions/BlobStorageTokenStore", + "description": "The configuration settings of the storage of the tokens if blob storage is used." + } + } + }, + "TriggerTypes": { + "type": "string", + "description": "The trigger type of the function", + "enum": [ + "HttpTrigger", + "Unknown" + ], + "x-ms-enum": { + "name": "TriggerTypes", + "modelAsString": true, + "values": [ + { + "name": "HttpTrigger", + "value": "HttpTrigger" + }, + { + "name": "Unknown", + "value": "Unknown" + } + ] + } + }, + "TriggeredJobHistory": { + "type": "object", + "description": "Triggered Web Job History. List of Triggered Web Job Run Information elements.", + "properties": { + "properties": { + "$ref": "#/definitions/TriggeredJobHistoryProperties", + "description": "TriggeredJobHistory resource specific properties", + "x-ms-client-flatten": true + }, + "kind": { + "type": "string", + "description": "Kind of resource." + } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ] + }, + "TriggeredJobHistoryCollection": { + "type": "object", + "description": "Collection of Kudu continuous web job information elements.", + "properties": { + "value": { + "type": "array", + "description": "The TriggeredJobHistory items on this page", + "items": { + "$ref": "#/definitions/TriggeredJobHistory" + }, + "xml": { + "wrapped": true + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "TriggeredJobHistoryProperties": { + "type": "object", + "description": "TriggeredJobHistory resource specific properties", + "properties": { + "runs": { + "type": "array", + "description": "List of triggered web job runs.", + "items": { + "$ref": "#/definitions/TriggeredJobRun" + }, + "xml": { + "wrapped": true + }, + "x-ms-identifiers": [ + "web_job_id" + ] + } + } + }, + "TriggeredJobRun": { + "type": "object", + "description": "Triggered Web Job Run Information.", + "properties": { + "web_job_id": { + "type": "string", + "description": "Job ID.", + "x-ms-client-name": "webJobId" + }, + "web_job_name": { + "type": "string", + "description": "Job name.", + "x-ms-client-name": "webJobName" + }, + "status": { + "$ref": "#/definitions/TriggeredWebJobStatus", + "description": "Job status." + }, + "start_time": { + "type": "string", + "format": "date-time", + "description": "Start time.", + "x-ms-client-name": "startTime" + }, + "end_time": { + "type": "string", + "format": "date-time", + "description": "End time.", + "x-ms-client-name": "endTime" + }, + "duration": { + "type": "string", + "description": "Job duration." + }, + "output_url": { + "type": "string", + "description": "Output URL.", + "x-ms-client-name": "outputUrl" + }, + "error_url": { + "type": "string", + "description": "Error URL.", + "x-ms-client-name": "errorUrl" + }, + "url": { + "type": "string", + "description": "Job URL." + }, + "job_name": { + "type": "string", + "description": "Job name.", + "x-ms-client-name": "jobName" + }, + "trigger": { + "type": "string", + "description": "Job trigger." + } + } + }, + "TriggeredWebJob": { + "type": "object", + "description": "Triggered Web Job Information.", + "properties": { + "properties": { + "$ref": "#/definitions/TriggeredWebJobProperties", + "description": "TriggeredWebJob resource specific properties", + "x-ms-client-flatten": true + }, + "kind": { + "type": "string", + "description": "Kind of resource." + } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ] + }, + "TriggeredWebJobCollection": { + "type": "object", + "description": "Collection of Kudu continuous web job information elements.", + "properties": { + "value": { + "type": "array", + "description": "The TriggeredWebJob items on this page", + "items": { + "$ref": "#/definitions/TriggeredWebJob" + }, + "xml": { + "wrapped": true + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "TriggeredWebJobProperties": { + "type": "object", + "description": "TriggeredWebJob resource specific properties", + "properties": { + "latest_run": { + "$ref": "#/definitions/TriggeredJobRun", + "description": "Latest job run information.", + "x-ms-client-name": "latestRun" + }, + "history_url": { + "type": "string", + "description": "History URL.", + "x-ms-client-name": "historyUrl" + }, + "scheduler_logs_url": { + "type": "string", + "description": "Scheduler Logs URL.", + "x-ms-client-name": "schedulerLogsUrl" + }, + "run_command": { + "type": "string", + "description": "Run command.", + "x-ms-client-name": "runCommand" + }, + "url": { + "type": "string", + "description": "Job URL." + }, + "extra_info_url": { + "type": "string", + "description": "Extra Info URL.", + "x-ms-client-name": "extraInfoUrl" + }, + "web_job_type": { + "$ref": "#/definitions/WebJobType", + "description": "Job type.", + "x-ms-client-name": "webJobType" + }, + "error": { + "type": "string", + "description": "Error information." + }, + "using_sdk": { + "type": "boolean", + "description": "Using SDK?", + "x-ms-client-name": "usingSdk" + }, + "publicNetworkAccess": { + "type": "string", + "description": "Property to allow or block all public traffic. Allowed Values: 'Enabled', 'Disabled' or an empty string." + }, + "storageAccountRequired": { + "type": "boolean", + "description": "Checks if Customer provided storage account is required" + }, + "settings": { + "type": "object", + "description": "Job settings.", + "additionalProperties": {} + } + } + }, + "TriggeredWebJobStatus": { + "type": "string", + "description": "Job status.", + "enum": [ + "Success", + "Failed", + "Error" + ], + "x-ms-enum": { + "name": "TriggeredWebJobStatus", + "modelAsString": false + } + }, + "Twitter": { + "type": "object", + "description": "The configuration settings of the Twitter provider.", + "properties": { + "enabled": { + "type": "boolean", + "description": "false if the Twitter provider should not be enabled despite the set registration; otherwise, true." + }, + "registration": { + "$ref": "#/definitions/TwitterRegistration", + "description": "The configuration settings of the app registration for the Twitter provider." + } + } + }, + "TwitterRegistration": { + "type": "object", + "description": "The configuration settings of the app registration for the Twitter provider.", + "properties": { + "consumerKey": { + "type": "string", + "description": "The OAuth 1.0a consumer key of the Twitter application used for sign-in.\nThis setting is required for enabling Twitter Sign-In.\nTwitter Sign-In documentation: https://dev.twitter.com/web/sign-in" + }, + "consumerSecretSettingName": { + "type": "string", + "description": "The app setting name that contains the OAuth 1.0a consumer secret of the Twitter\napplication used for sign-in." + } + } + }, + "UnauthenticatedClientAction": { + "type": "string", + "description": "The action to take when an unauthenticated client attempts to access the app.", + "enum": [ + "RedirectToLoginPage", + "AllowAnonymous" + ], + "x-ms-enum": { + "name": "UnauthenticatedClientAction", + "modelAsString": false + } + }, + "UnauthenticatedClientActionV2": { + "type": "string", + "description": "The action to take when an unauthenticated client attempts to access the app.", + "enum": [ + "RedirectToLoginPage", + "AllowAnonymous", + "Return401", + "Return403" + ], + "x-ms-enum": { + "name": "UnauthenticatedClientActionV2", + "modelAsString": false + } + }, + "UpgradeAvailability": { + "type": "string", + "description": "Whether an upgrade is available for this App Service Environment.", + "enum": [ + "None", + "Ready" + ], + "x-ms-enum": { + "name": "UpgradeAvailability", + "modelAsString": true, + "values": [ + { + "name": "None", + "value": "None", + "description": "No upgrade is currently available for this App Service Environment" + }, + { + "name": "Ready", + "value": "Ready", + "description": "An upgrade is ready to be manually initiated on this App Service Environment" + } + ] + } + }, + "Usage": { + "type": "object", + "description": "Usage of the quota resource.", + "properties": { + "properties": { + "$ref": "#/definitions/UsageProperties", + "description": "Usage resource specific properties", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "#/definitions/ProxyOnlyResource" + } + ] + }, + "UsageCollection": { + "type": "object", + "description": "Collection of usages.", + "properties": { + "value": { + "type": "array", + "description": "The Usage items on this page", + "items": { + "$ref": "#/definitions/Usage" + }, + "xml": { + "wrapped": true + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "UsageProperties": { + "type": "object", + "description": "Usage resource specific properties", + "properties": { + "displayName": { + "type": "string", + "description": "Friendly name shown in the UI.", + "readOnly": true + }, + "resourceName": { + "type": "string", + "description": "Name of the quota resource.", + "readOnly": true + }, + "unit": { + "type": "string", + "description": "Units of measurement for the quota resource.", + "readOnly": true + }, + "currentValue": { + "type": "integer", + "format": "int64", + "description": "The current value of the resource counter.", + "readOnly": true + }, + "limit": { + "type": "integer", + "format": "int64", + "description": "The resource limit.", + "readOnly": true + }, + "nextResetTime": { + "type": "string", + "format": "date-time", + "description": "Next reset time for the resource counter.", + "readOnly": true + }, + "computeMode": { + "$ref": "#/definitions/ComputeModeOptions", + "description": "Compute mode used for this usage.", + "readOnly": true + }, + "siteMode": { + "type": "string", + "description": "Site mode used for this usage.", + "readOnly": true + } + } + }, + "UsageState": { + "type": "string", + "description": "State indicating whether the app has exceeded its quota usage. Read-only.", + "enum": [ + "Normal", + "Exceeded" + ], + "x-ms-enum": { + "name": "UsageState", + "modelAsString": false + } + }, + "User": { + "type": "object", + "description": "User credentials used for publishing activity.", + "properties": { + "properties": { + "$ref": "#/definitions/UserProperties", + "description": "User resource specific properties", + "x-ms-client-flatten": true + }, + "kind": { + "type": "string", + "description": "Kind of resource." + } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ] + }, + "UserAssignedIdentity": { + "type": "object", + "description": "User Assigned identity.", + "properties": { + "principalId": { + "type": "string", + "description": "Principal Id of user assigned identity", + "readOnly": true + }, + "clientId": { + "type": "string", + "description": "Client Id of user assigned identity", + "readOnly": true + } + } + }, + "UserProperties": { + "type": "object", + "description": "User resource specific properties", + "properties": { + "publishingUserName": { + "type": "string", + "description": "Username used for publishing." + }, + "publishingPassword": { + "type": "string", + "format": "password", + "description": "Password used for publishing.", + "x-ms-secret": true + }, + "publishingPasswordHash": { + "type": "string", + "format": "password", + "description": "Password hash used for publishing.", + "x-ms-secret": true + }, + "publishingPasswordHashSalt": { + "type": "string", + "format": "password", + "description": "Password hash salt used for publishing.", + "x-ms-secret": true + }, + "scmUri": { + "type": "string", + "description": "Url of SCM site." + } + }, + "required": [ + "publishingUserName" + ] + }, + "ValidateProperties": { + "type": "object", + "description": "App properties used for validation.", + "properties": { + "serverFarmId": { + "type": "string", + "description": "ARM resource ID of an App Service plan that would host the app." + }, + "skuName": { + "type": "string", + "description": "Name of the target SKU for the App Service plan." + }, + "needLinuxWorkers": { + "type": "boolean", + "description": "true if App Service plan is for Linux workers; otherwise, false." + }, + "isSpot": { + "type": "boolean", + "description": "true if App Service plan is for Spot instances; otherwise, false." + }, + "capacity": { + "type": "integer", + "format": "int32", + "description": "Target capacity of the App Service plan (number of VMs).", + "minimum": 1 + }, + "hostingEnvironment": { + "type": "string", + "description": "Name of App Service Environment where app or App Service plan should be created." + }, + "isXenon": { + "type": "boolean", + "description": "true if App Service plan is running as a windows container" + }, + "containerRegistryBaseUrl": { + "type": "string", + "description": "Base URL of the container registry" + }, + "containerRegistryUsername": { + "type": "string", + "description": "Username for to access the container registry" + }, + "containerRegistryPassword": { + "type": "string", + "description": "Password for to access the container registry" + }, + "containerImageRepository": { + "type": "string", + "description": "Repository name (image name)" + }, + "containerImageTag": { + "type": "string", + "description": "Image tag" + }, + "containerImagePlatform": { + "type": "string", + "description": "Platform (windows or linux)" + }, + "appServiceEnvironment": { + "$ref": "#/definitions/AppServiceEnvironment", + "description": "App Service Environment Properties" + } + } + }, + "ValidateRequest": { + "type": "object", + "description": "Resource validation request content.", + "properties": { + "name": { + "type": "string", + "description": "Resource name to verify." + }, + "type": { + "$ref": "#/definitions/ValidateResourceTypes", + "description": "Resource type used for verification." + }, + "location": { + "type": "string", + "description": "Expected location of the resource." + }, + "properties": { + "$ref": "#/definitions/ValidateProperties", + "description": "Properties of the resource to validate.", + "x-ms-client-flatten": true + } + }, + "required": [ + "name", + "type", + "location", + "properties" + ] + }, + "ValidateResourceTypes": { + "type": "string", + "description": "Resource type used for verification.", + "enum": [ + "ServerFarm", + "Site", + "Microsoft.Web/hostingEnvironments" + ], + "x-ms-enum": { + "name": "ValidateResourceTypes", + "modelAsString": true, + "values": [ + { + "name": "ServerFarm", + "value": "ServerFarm" + }, + { + "name": "Site", + "value": "Site" + }, + { + "name": "Microsoft.Web/hostingEnvironments", + "value": "Microsoft.Web/hostingEnvironments" + } + ] + } + }, + "ValidateResponse": { + "type": "object", + "description": "Describes the result of resource validation.", + "properties": { + "status": { + "type": "string", + "description": "Result of validation." + }, + "error": { + "$ref": "#/definitions/ValidateResponseError", + "description": "Error details for the case when validation fails." + } + } + }, + "ValidateResponseError": { + "type": "object", + "description": "Error details for when validation fails.", + "properties": { + "code": { + "type": "string", + "description": "Validation error code." + }, + "message": { + "type": "string", + "description": "Validation error message." + } + } + }, + "VirtualApplication": { + "type": "object", + "description": "Virtual application in an app.", + "properties": { + "virtualPath": { + "type": "string", + "description": "Virtual path." + }, + "physicalPath": { + "type": "string", + "description": "Physical path." + }, + "preloadEnabled": { + "type": "boolean", + "description": "true if preloading is enabled; otherwise, false." + }, + "virtualDirectories": { + "type": "array", + "description": "Virtual directories for virtual application.", + "items": { + "$ref": "#/definitions/VirtualDirectory" + }, + "xml": { + "wrapped": true + }, + "x-ms-identifiers": [ + "virtualPath" + ] + } + } + }, + "VirtualDirectory": { + "type": "object", + "description": "Directory for virtual application.", + "properties": { + "virtualPath": { + "type": "string", + "description": "Path to virtual application." + }, + "physicalPath": { + "type": "string", + "description": "Physical path." + } + } + }, + "VirtualIPMapping": { + "type": "object", + "description": "Virtual IP mapping.", + "properties": { + "virtualIP": { + "type": "string", + "description": "Virtual IP address." + }, + "internalHttpPort": { + "type": "integer", + "format": "int32", + "description": "Internal HTTP port." + }, + "internalHttpsPort": { + "type": "integer", + "format": "int32", + "description": "Internal HTTPS port." + }, + "inUse": { + "type": "boolean", + "description": "Is virtual IP mapping in use." + }, + "serviceName": { + "type": "string", + "description": "name of the service that virtual IP is assigned to" + } + } + }, + "VirtualNetworkProfile": { + "type": "object", + "description": "Specification for using a Virtual Network.", + "properties": { + "id": { + "type": "string", + "description": "Resource id of the Virtual Network." + }, + "name": { + "type": "string", + "description": "Name of the Virtual Network (read-only).", + "readOnly": true + }, + "type": { + "type": "string", + "description": "Resource type of the Virtual Network (read-only).", + "readOnly": true + }, + "subnet": { + "type": "string", + "description": "Subnet within the Virtual Network." + } + }, + "required": [ + "id" + ] + }, + "VnetGateway": { + "type": "object", + "description": "The Virtual Network gateway contract. This is used to give the Virtual Network gateway access to the VPN package.", + "properties": { + "properties": { + "$ref": "#/definitions/VnetGatewayProperties", + "description": "VnetGateway resource specific properties", + "x-ms-client-flatten": true + }, + "kind": { + "type": "string", + "description": "Kind of resource." + } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ] + }, + "VnetGatewayProperties": { + "type": "object", + "description": "VnetGateway resource specific properties", + "properties": { + "vnetName": { + "type": "string", + "description": "The Virtual Network name.", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "vpnPackageUri": { + "type": "string", + "description": "The URI where the VPN package can be downloaded.", + "x-ms-mutability": [ + "update", + "create" + ] + } + }, + "required": [ + "vpnPackageUri" + ] + }, + "VnetInfo": { + "type": "object", + "description": "Virtual Network information contract.", + "properties": { + "vnetResourceId": { + "type": "string", + "description": "The Virtual Network's resource ID." + }, + "certThumbprint": { + "type": "string", + "description": "The client certificate thumbprint.", + "readOnly": true + }, + "certBlob": { + "type": "string", + "description": "A certificate file (.cer) blob containing the public key of the private key used to authenticate a \\nPoint-To-Site VPN connection." + }, + "routes": { + "type": "array", + "description": "The routes that this Virtual Network connection uses.", + "items": { + "$ref": "#/definitions/VnetRoute" + }, + "readOnly": true, + "xml": { + "wrapped": true + } + }, + "resyncRequired": { + "type": "boolean", + "description": "true if a resync is required; otherwise, false.", + "readOnly": true + }, + "dnsServers": { + "type": "string", + "description": "DNS servers to be used by this Virtual Network. This should be a comma-separated list of IP addresses." + }, + "isSwift": { + "type": "boolean", + "description": "Flag that is used to denote if this is VNET injection" + } + } + }, + "VnetInfoResource": { + "type": "object", + "description": "Virtual Network information ARM resource.", + "properties": { + "properties": { + "$ref": "#/definitions/VnetInfo", + "description": "Core resource properties", + "x-ms-client-flatten": true + }, + "kind": { + "type": "string", + "description": "Kind of resource." + } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ] + }, + "VnetParameters": { + "type": "object", + "description": "The required set of inputs to validate a VNET", + "properties": { + "properties": { + "$ref": "#/definitions/VnetParametersProperties", + "description": "VnetParameters resource specific properties", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "#/definitions/ProxyOnlyResource" + } + ] + }, + "VnetParametersProperties": { + "type": "object", + "description": "VnetParameters resource specific properties", + "properties": { + "vnetResourceGroup": { + "type": "string", + "description": "The Resource Group of the VNET to be validated" + }, + "vnetName": { + "type": "string", + "description": "The name of the VNET to be validated" + }, + "vnetSubnetName": { + "type": "string", + "description": "The subnet name to be validated" + }, + "subnetResourceId": { + "type": "string", + "description": "The ARM Resource ID of the subnet to validate" + } + } + }, + "VnetRoute": { + "type": "object", + "description": "Virtual Network route contract used to pass routing information for a Virtual Network.", + "properties": { + "properties": { + "$ref": "#/definitions/VnetRouteProperties", + "description": "VnetRoute resource specific properties", + "x-ms-client-flatten": true + }, + "kind": { + "type": "string", + "description": "Kind of resource." + } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ] + }, + "VnetRouteProperties": { + "type": "object", + "description": "VnetRoute resource specific properties", + "properties": { + "startAddress": { + "type": "string", + "description": "The starting address for this route. This may also include a CIDR notation, in which case the end address must not be specified." + }, + "endAddress": { + "type": "string", + "description": "The ending address for this route. If the start address is specified in CIDR notation, this must be omitted." + }, + "routeType": { + "$ref": "#/definitions/RouteType", + "description": "The type of route this is:\nDEFAULT - By default, every app has routes to the local address ranges specified by RFC1918\nINHERITED - Routes inherited from the real Virtual Network routes\nSTATIC - Static route set on the app only\n\nThese values will be used for syncing an app's routes with those from a Virtual Network." + } + } + }, + "VnetValidationFailureDetails": { + "type": "object", + "description": "A class that describes the reason for a validation failure.", + "properties": { + "properties": { + "$ref": "#/definitions/VnetValidationFailureDetailsProperties", + "description": "VnetValidationFailureDetails resource specific properties", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "#/definitions/ProxyOnlyResource" + } + ] + }, + "VnetValidationFailureDetailsProperties": { + "type": "object", + "description": "VnetValidationFailureDetails resource specific properties", + "properties": { + "message": { + "type": "string", + "description": "Text describing the validation outcome." + }, + "failed": { + "type": "boolean", + "description": "A flag describing whether or not validation failed." + }, + "failedTests": { + "type": "array", + "description": "A list of tests that failed in the validation.", + "items": { + "$ref": "#/definitions/VnetValidationTestFailure" + }, + "xml": { + "wrapped": true + } + }, + "warnings": { + "type": "array", + "description": "A list of warnings generated during validation.", + "items": { + "$ref": "#/definitions/VnetValidationTestFailure" + }, + "xml": { + "wrapped": true + } + } + } + }, + "VnetValidationTestFailure": { + "type": "object", + "description": "A class that describes a test that failed during NSG and UDR validation.", + "properties": { + "properties": { + "$ref": "#/definitions/VnetValidationTestFailureProperties", + "description": "VnetValidationTestFailure resource specific properties", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "#/definitions/ProxyOnlyResource" + } + ] + }, + "VnetValidationTestFailureProperties": { + "type": "object", + "description": "VnetValidationTestFailure resource specific properties", + "properties": { + "testName": { + "type": "string", + "description": "The name of the test that failed." + }, + "details": { + "type": "string", + "description": "The details of what caused the failure, e.g. the blocking rule name, etc." + } + } + }, + "VolumeMount": { + "type": "object", + "properties": { + "volumeSubPath": { + "type": "string", + "description": "Sub path in the volume where volume is mounted from." + }, + "containerMountPath": { + "type": "string", + "description": "Target path on the container where volume is mounted on" + }, + "data": { + "type": "string", + "description": "Config Data to be mounted on the volume" + }, + "readOnly": { + "type": "boolean", + "description": "Boolean to specify if the mount is read only on the container" + } + }, + "required": [ + "volumeSubPath", + "containerMountPath" + ] + }, + "WebAppCollection": { + "type": "object", + "description": "Collection of App Service apps.", + "properties": { + "value": { + "type": "array", + "description": "The Site items on this page", + "items": { + "$ref": "#/definitions/Site" + }, + "xml": { + "wrapped": true + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "WebAppInstanceStatusCollection": { + "type": "object", + "description": "Collection of app instances.", + "properties": { + "value": { + "type": "array", + "description": "The WebSiteInstanceStatus items on this page", + "items": { + "$ref": "#/definitions/WebSiteInstanceStatus" + }, + "xml": { + "wrapped": true + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "WebAppMajorVersion": { + "type": "object", + "description": "Web App stack major version.", + "properties": { + "displayText": { + "type": "string", + "description": "Web App stack major version (display only).", + "readOnly": true + }, + "value": { + "type": "string", + "description": "Web App stack major version name.", + "readOnly": true + }, + "minorVersions": { + "type": "array", + "description": "Minor versions associated with the major version.", + "items": { + "$ref": "#/definitions/WebAppMinorVersion" + }, + "readOnly": true, + "xml": { + "wrapped": true + }, + "x-ms-identifiers": [ + "value" + ] + } + } + }, + "WebAppMinorVersion": { + "type": "object", + "description": "Web App stack minor version.", + "properties": { + "displayText": { + "type": "string", + "description": "Web App stack minor version (display only).", + "readOnly": true + }, + "value": { + "type": "string", + "description": "Web App stack major version name.", + "readOnly": true + }, + "stackSettings": { + "$ref": "#/definitions/WebAppRuntimes", + "description": "Settings associated with the minor version.", + "readOnly": true + } + } + }, + "WebAppRuntimeSettings": { + "type": "object", + "description": "Web App runtime settings.", + "properties": { + "runtimeVersion": { + "type": "string", + "description": "Web App stack minor version (runtime only).", + "readOnly": true + }, + "remoteDebuggingSupported": { + "type": "boolean", + "description": "true if remote debugging is supported for the stack; otherwise, false.", + "readOnly": true + }, + "appInsightsSettings": { + "$ref": "#/definitions/AppInsightsWebAppStackSettings", + "description": "Application Insights settings associated with the minor version.", + "readOnly": true + }, + "gitHubActionSettings": { + "$ref": "#/definitions/GitHubActionWebAppStackSettings", + "description": "GitHub Actions settings associated with the minor version.", + "readOnly": true + }, + "isPreview": { + "type": "boolean", + "description": "true if the stack is in preview; otherwise, false.", + "readOnly": true + }, + "isDeprecated": { + "type": "boolean", + "description": "true if the stack is deprecated; otherwise, false.", + "readOnly": true + }, + "isHidden": { + "type": "boolean", + "description": "true if the stack should be hidden; otherwise, false.", + "readOnly": true + }, + "endOfLifeDate": { + "type": "string", + "format": "date-time", + "description": "End-of-life date for the minor version.", + "readOnly": true + }, + "isAutoUpdate": { + "type": "boolean", + "description": "true if the stack version is auto-updated; otherwise, false.", + "readOnly": true + }, + "isEarlyAccess": { + "type": "boolean", + "description": "true if the minor version is early-access; otherwise, false.", + "readOnly": true + } + } + }, + "WebAppRuntimes": { + "type": "object", + "description": "Web App stack runtimes.", + "properties": { + "linuxRuntimeSettings": { + "$ref": "#/definitions/WebAppRuntimeSettings", + "description": "Linux-specific settings associated with the minor version.", + "readOnly": true + }, + "windowsRuntimeSettings": { + "$ref": "#/definitions/WebAppRuntimeSettings", + "description": "Windows-specific settings associated with the minor version.", + "readOnly": true + }, + "linuxContainerSettings": { + "$ref": "#/definitions/LinuxJavaContainerSettings", + "description": "Linux-specific settings associated with the Java container minor version.", + "readOnly": true + }, + "windowsContainerSettings": { + "$ref": "#/definitions/WindowsJavaContainerSettings", + "description": "Windows-specific settings associated with the Java container minor version.", + "readOnly": true + } + } + }, + "WebAppStack": { + "type": "object", + "description": "Web App stack.", + "properties": { + "location": { + "type": "string", + "description": "Web App stack location.", + "readOnly": true + }, + "properties": { + "$ref": "#/definitions/WebAppStackProperties", + "description": "WebAppStack resource specific properties", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "#/definitions/ProxyOnlyResource" + } + ] + }, + "WebAppStackCollection": { + "type": "object", + "description": "Collection of Web app Stacks", + "properties": { + "value": { + "type": "array", + "description": "The WebAppStack items on this page", + "items": { + "$ref": "#/definitions/WebAppStack" + }, + "xml": { + "wrapped": true + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "WebAppStackProperties": { + "type": "object", + "description": "WebAppStack resource specific properties", + "properties": { + "displayText": { + "type": "string", + "description": "Web App stack (display only).", + "readOnly": true + }, + "value": { + "type": "string", + "description": "Web App stack name.", + "readOnly": true + }, + "majorVersions": { + "type": "array", + "description": "List of major versions available.", + "items": { + "$ref": "#/definitions/WebAppMajorVersion" + }, + "readOnly": true, + "xml": { + "wrapped": true + }, + "x-ms-identifiers": [ + "value" + ] + }, + "preferredOs": { + "$ref": "#/definitions/StackPreferredOs", + "description": "Web App stack preferred OS.", + "readOnly": true + } + } + }, + "WebJob": { + "type": "object", + "description": "Web Job Information.", + "properties": { + "properties": { + "$ref": "#/definitions/WebJobProperties", + "description": "WebJob resource specific properties", + "x-ms-client-flatten": true + }, + "kind": { + "type": "string", + "description": "Kind of resource." + } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ] + }, + "WebJobCollection": { + "type": "object", + "description": "Collection of Kudu web job information elements.", + "properties": { + "value": { + "type": "array", + "description": "The WebJob items on this page", + "items": { + "$ref": "#/definitions/WebJob" + }, + "xml": { + "wrapped": true + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "WebJobProperties": { + "type": "object", + "description": "WebJob resource specific properties", + "properties": { + "run_command": { + "type": "string", + "description": "Run command.", + "x-ms-client-name": "runCommand" + }, + "url": { + "type": "string", + "description": "Job URL." + }, + "extra_info_url": { + "type": "string", + "description": "Extra Info URL.", + "x-ms-client-name": "extraInfoUrl" + }, + "web_job_type": { + "$ref": "#/definitions/WebJobType", + "description": "Job type.", + "x-ms-client-name": "webJobType" + }, + "error": { + "type": "string", + "description": "Error information." + }, + "using_sdk": { + "type": "boolean", + "description": "Using SDK?", + "x-ms-client-name": "usingSdk" + }, + "settings": { + "type": "object", + "description": "Job settings.", + "additionalProperties": {} + } + } + }, + "WebJobType": { + "type": "string", + "description": "Job type.", + "enum": [ + "Continuous", + "Triggered" + ], + "x-ms-enum": { + "name": "WebJobType", + "modelAsString": false + } + }, + "WebSiteInstanceStatus": { + "type": "object", + "description": "Concrete proxy resource types can be created by aliasing this type using a specific property type.", + "properties": { + "properties": { + "$ref": "#/definitions/WebSiteInstanceStatusProperties", + "description": "WebSiteInstanceStatus resource specific properties", + "x-ms-client-flatten": true + }, + "kind": { + "type": "string", + "description": "Kind of resource." + } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ] + }, + "WebSiteInstanceStatusProperties": { + "type": "object", + "description": "WebSiteInstanceStatus resource specific properties", + "properties": { + "state": { + "$ref": "#/definitions/SiteRuntimeState" + }, + "statusUrl": { + "type": "string", + "description": "Link to the GetStatusApi in Kudu" + }, + "detectorUrl": { + "type": "string", + "description": "Link to the Diagnose and Solve Portal" + }, + "consoleUrl": { + "type": "string", + "description": "Link to the console to web app instance" + }, + "healthCheckUrl": { + "type": "string", + "description": "Link to the console to web app instance" + }, + "containers": { + "type": "object", + "description": "Dictionary of ", + "additionalProperties": { + "$ref": "#/definitions/ContainerInfo" + } + }, + "physicalZone": { + "type": "string", + "description": "The physical zone that the instance is in" + } + } + }, + "WindowsJavaContainerSettings": { + "type": "object", + "description": "Windows Java Container settings.", + "properties": { + "javaContainer": { + "type": "string", + "description": "Java container (runtime only).", + "readOnly": true + }, + "javaContainerVersion": { + "type": "string", + "description": "Java container version (runtime only).", + "readOnly": true + }, + "isPreview": { + "type": "boolean", + "description": "true if the stack is in preview; otherwise, false.", + "readOnly": true + }, + "isDeprecated": { + "type": "boolean", + "description": "true if the stack is deprecated; otherwise, false.", + "readOnly": true + }, + "isHidden": { + "type": "boolean", + "description": "true if the stack should be hidden; otherwise, false.", + "readOnly": true + }, + "endOfLifeDate": { + "type": "string", + "format": "date-time", + "description": "End-of-life date for the minor version.", + "readOnly": true + }, + "isAutoUpdate": { + "type": "boolean", + "description": "true if the stack version is auto-updated; otherwise, false.", + "readOnly": true + }, + "isEarlyAccess": { + "type": "boolean", + "description": "true if the minor version is early-access; otherwise, false.", + "readOnly": true + } + } + }, + "WorkerPool": { + "type": "object", + "description": "Worker pool of an App Service Environment.", + "properties": { + "workerSizeId": { + "type": "integer", + "format": "int32", + "description": "Worker size ID for referencing this worker pool." + }, + "computeMode": { + "$ref": "#/definitions/ComputeModeOptions", + "description": "Shared or dedicated app hosting." + }, + "workerSize": { + "type": "string", + "description": "VM size of the worker pool instances." + }, + "workerCount": { + "type": "integer", + "format": "int32", + "description": "Number of instances in the worker pool." + }, + "instanceNames": { + "type": "array", + "description": "Names of all instances in the worker pool (read only).", + "items": { + "type": "string" + }, + "readOnly": true, + "xml": { + "wrapped": true + } + } + } + }, + "WorkerPoolCollection": { + "type": "object", + "description": "Collection of worker pools.", + "properties": { + "value": { + "type": "array", + "description": "The WorkerPoolResource items on this page", + "items": { + "$ref": "#/definitions/WorkerPoolResource" + }, + "xml": { + "wrapped": true + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "WorkerPoolResource": { + "type": "object", + "description": "Worker pool of an App Service Environment ARM resource.", + "properties": { + "properties": { + "$ref": "#/definitions/WorkerPool", + "description": "Core resource properties", + "x-ms-client-flatten": true + }, + "sku": { + "$ref": "#/definitions/SkuDescription", + "description": "Description of a SKU for a scalable resource." + }, + "kind": { + "type": "string", + "description": "Kind of resource. If the resource is an app, you can refer to https://github.com/Azure/app-service-linux-docs/blob/master/Things_You_Should_Know/kind_property.md#app-service-resource-kind-reference for details supported values for kind." + } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ] + }, + "WorkerSizeOptions": { + "type": "string", + "description": "Size of the machines.", + "enum": [ + "Small", + "Medium", + "Large", + "D1", + "D2", + "D3", + "SmallV3", + "MediumV3", + "LargeV3", + "NestedSmall", + "NestedSmallLinux", + "Default" + ], + "x-ms-enum": { + "name": "WorkerSizeOptions", + "modelAsString": false + } + }, + "Workflow": { + "type": "object", + "description": "The workflow type.", + "properties": { + "properties": { + "$ref": "#/definitions/WorkflowProperties", + "description": "The workflow properties.", + "x-ms-client-flatten": true + }, + "identity": { + "$ref": "#/definitions/ManagedServiceIdentity", + "description": "Managed service identity." + } + }, + "allOf": [ + { + "$ref": "#/definitions/WorkflowResource" + } + ] + }, + "WorkflowArtifacts": { + "type": "object", + "description": "The workflow filter.", + "properties": { + "appSettings": { + "description": "Application settings of the workflow." + }, + "files": { + "type": "object", + "description": "Files of the app.", + "additionalProperties": {} + }, + "filesToDelete": { + "type": "array", + "description": "Files of the app to delete.", + "items": { + "type": "string" + }, + "xml": { + "wrapped": true + } + } + } + }, + "WorkflowEnvelope": { + "type": "object", + "description": "Workflow properties definition.", + "properties": { + "properties": { + "$ref": "#/definitions/WorkflowEnvelopeProperties", + "description": "Additional workflow properties." + }, + "kind": { + "type": "string", + "description": "The resource kind." + }, + "location": { + "type": "string", + "description": "The resource location.", + "x-ms-mutability": [ + "read", + "create" + ] + } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ] + }, + "WorkflowEnvelopeCollection": { + "type": "object", + "description": "Collection of Kudu workflow information elements.", + "properties": { + "value": { + "type": "array", + "description": "The WorkflowEnvelope items on this page", + "items": { + "$ref": "#/definitions/WorkflowEnvelope" + }, + "xml": { + "wrapped": true + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "WorkflowEnvelopeProperties": { + "type": "object", + "description": "Additional workflow properties.", + "properties": { + "files": { + "type": "object", + "description": "Gets or sets the files.", + "additionalProperties": {} + }, + "flowState": { + "$ref": "#/definitions/WorkflowState", + "description": "Gets or sets the state of the workflow." + }, + "health": { + "$ref": "#/definitions/WorkflowHealth", + "description": "Gets or sets workflow health." + } + } + }, + "WorkflowHealth": { + "type": "object", + "description": "Represents the workflow health.", + "properties": { + "state": { + "$ref": "#/definitions/WorkflowHealthState", + "description": "Gets or sets the workflow health state." + }, + "error": { + "$ref": "#/definitions/ErrorEntity", + "description": "Gets or sets the workflow error." + } + }, + "required": [ + "state" + ] + }, + "WorkflowHealthState": { + "type": "string", + "description": "Gets or sets the workflow health state.", + "enum": [ + "NotSpecified", + "Healthy", + "Unhealthy", + "Unknown" + ], + "x-ms-enum": { + "name": "WorkflowHealthState", + "modelAsString": false + } + }, + "WorkflowOutputParameter": { + "type": "object", + "description": "The workflow output parameter.", + "properties": { + "error": { + "description": "Gets the error.", + "readOnly": true + } + }, + "allOf": [ + { + "$ref": "#/definitions/WorkflowParameter" + } + ] + }, + "WorkflowParameter": { + "type": "object", + "description": "The workflow parameters.", + "properties": { + "type": { + "$ref": "#/definitions/ParameterType", + "description": "The type." + }, + "value": { + "description": "The value." + }, + "metadata": { + "description": "The metadata." + }, + "description": { + "type": "string", + "description": "The description." + } + } + }, + "WorkflowProperties": { + "type": "object", + "description": "The workflow properties.", + "properties": { + "provisioningState": { + "$ref": "#/definitions/WorkflowProvisioningState", + "description": "Gets the provisioning state.", + "readOnly": true + }, + "createdTime": { + "type": "string", + "format": "date-time", + "description": "Gets the created time.", + "readOnly": true + }, + "changedTime": { + "type": "string", + "format": "date-time", + "description": "Gets the changed time.", + "readOnly": true + }, + "state": { + "$ref": "#/definitions/WorkflowState", + "description": "The state." + }, + "version": { + "type": "string", + "description": "Gets the version.", + "readOnly": true + }, + "accessEndpoint": { + "type": "string", + "description": "Gets the access endpoint.", + "readOnly": true + }, + "endpointsConfiguration": { + "$ref": "#/definitions/FlowEndpointsConfiguration", + "description": "The endpoints configuration." + }, + "accessControl": { + "$ref": "#/definitions/FlowAccessControlConfiguration", + "description": "The access control configuration." + }, + "sku": { + "$ref": "#/definitions/WorkflowSku", + "description": "The sku.", + "readOnly": true + }, + "integrationAccount": { + "$ref": "#/definitions/ResourceReference", + "description": "The integration account." + }, + "integrationServiceEnvironment": { + "$ref": "#/definitions/ResourceReference", + "description": "The integration service environment." + }, + "definition": { + "description": "The definition." + }, + "parameters": { + "type": "object", + "description": "The parameters.", + "additionalProperties": { + "$ref": "#/definitions/WorkflowParameter" + } + }, + "kind": { + "$ref": "#/definitions/Kind", + "description": "The workflow kind." + } + } + }, + "WorkflowProvisioningState": { + "type": "string", + "description": "The workflow provisioning state.", + "enum": [ + "NotSpecified", + "Accepted", + "Running", + "Ready", + "Creating", + "Created", + "Deleting", + "Deleted", + "Canceled", + "Failed", + "Succeeded", + "Moving", + "Updating", + "Registering", + "Registered", + "Unregistering", + "Unregistered", + "Completed", + "Renewing", + "Pending", + "Waiting", + "InProgress" + ], + "x-ms-enum": { + "name": "WorkflowProvisioningState", + "modelAsString": true, + "values": [ + { + "name": "NotSpecified", + "value": "NotSpecified" + }, + { + "name": "Accepted", + "value": "Accepted" + }, + { + "name": "Running", + "value": "Running" + }, + { + "name": "Ready", + "value": "Ready" + }, + { + "name": "Creating", + "value": "Creating" + }, + { + "name": "Created", + "value": "Created" + }, + { + "name": "Deleting", + "value": "Deleting" + }, + { + "name": "Deleted", + "value": "Deleted" + }, + { + "name": "Canceled", + "value": "Canceled" + }, + { + "name": "Failed", + "value": "Failed" + }, + { + "name": "Succeeded", + "value": "Succeeded" + }, + { + "name": "Moving", + "value": "Moving" + }, + { + "name": "Updating", + "value": "Updating" + }, + { + "name": "Registering", + "value": "Registering" + }, + { + "name": "Registered", + "value": "Registered" + }, + { + "name": "Unregistering", + "value": "Unregistering" + }, + { + "name": "Unregistered", + "value": "Unregistered" + }, + { + "name": "Completed", + "value": "Completed" + }, + { + "name": "Renewing", + "value": "Renewing" + }, + { + "name": "Pending", + "value": "Pending" + }, + { + "name": "Waiting", + "value": "Waiting" + }, + { + "name": "InProgress", + "value": "InProgress" + } + ] + } + }, + "WorkflowResource": { + "type": "object", + "description": "The base resource type.", + "properties": { + "id": { + "type": "string", + "description": "The resource id.", + "readOnly": true + }, + "name": { + "type": "string", + "description": "Gets the resource name.", + "readOnly": true + }, + "type": { + "type": "string", + "description": "Gets the resource type.", + "readOnly": true + }, + "location": { + "type": "string", + "description": "The resource location." + }, + "tags": { + "type": "object", + "description": "The resource tags.", + "additionalProperties": { + "type": "string" + } + } + } + }, + "WorkflowRun": { + "type": "object", + "description": "The workflow run.", + "properties": { + "properties": { + "$ref": "#/definitions/WorkflowRunProperties", + "description": "The workflow run properties.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ] + }, + "WorkflowRunAction": { + "type": "object", + "description": "The workflow run action.", + "properties": { + "properties": { + "$ref": "#/definitions/WorkflowRunActionProperties", + "description": "The workflow run action properties.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ] + }, + "WorkflowRunActionListResult": { + "type": "object", + "description": "The response of a WorkflowRunAction list operation.", + "properties": { + "value": { + "type": "array", + "description": "The WorkflowRunAction items on this page", + "items": { + "$ref": "#/definitions/WorkflowRunAction" + }, + "xml": { + "wrapped": true + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ], + "xml": { + "name": "ResourceListResult" + } + }, + "WorkflowRunActionProperties": { + "type": "object", + "description": "The workflow run action properties.", + "properties": { + "startTime": { + "type": "string", + "format": "date-time", + "description": "Gets the start time.", + "readOnly": true + }, + "endTime": { + "type": "string", + "format": "date-time", + "description": "Gets the end time.", + "readOnly": true + }, + "status": { + "$ref": "#/definitions/WorkflowStatus", + "description": "Gets the status.", + "readOnly": true + }, + "code": { + "type": "string", + "description": "Gets the code.", + "readOnly": true + }, + "error": { + "description": "Gets the error.", + "readOnly": true + }, + "trackingId": { + "type": "string", + "description": "Gets the tracking id.", + "readOnly": true + }, + "correlation": { + "$ref": "#/definitions/RunActionCorrelation", + "description": "The correlation properties." + }, + "inputsLink": { + "$ref": "#/definitions/ContentLink", + "description": "Gets the link to inputs.", + "readOnly": true + }, + "outputsLink": { + "$ref": "#/definitions/ContentLink", + "description": "Gets the link to outputs.", + "readOnly": true + }, + "trackedProperties": { + "description": "Gets the tracked properties.", + "readOnly": true + }, + "retryHistory": { + "type": "array", + "description": "Gets the retry histories.", + "items": { + "$ref": "#/definitions/RetryHistory" + }, + "xml": { + "wrapped": true + }, + "x-ms-identifiers": [] + } + } + }, + "WorkflowRunActionRepetitionDefinition": { + "type": "object", + "description": "The workflow run action repetition definition.", + "properties": { + "properties": { + "$ref": "#/definitions/WorkflowRunActionRepetitionProperties", + "description": "The workflow run action repetition properties definition.", + "x-ms-client-flatten": true + } + }, + "required": [ + "properties" + ], + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" + } + ] + }, + "WorkflowRunActionRepetitionDefinitionCollection": { + "type": "object", + "description": "A collection of workflow run action repetitions.", + "properties": { + "value": { + "type": "array", + "description": "The WorkflowRunActionRepetitionDefinition items on this page", + "items": { + "$ref": "#/definitions/WorkflowRunActionRepetitionDefinition" + }, + "xml": { + "wrapped": true + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "WorkflowRunActionRepetitionProperties": { + "type": "object", + "description": "The workflow run action repetition properties definition.", + "properties": { + "repetitionIndexes": { + "type": "array", + "description": "The repetition indexes.", + "items": { + "$ref": "#/definitions/RepetitionIndex" + }, + "xml": { + "wrapped": true + }, + "x-ms-identifiers": [ + "itemIndex" + ] + } + }, + "allOf": [ + { + "$ref": "#/definitions/OperationResult" + } + ] + }, + "WorkflowRunListResult": { + "type": "object", + "description": "The response of a WorkflowRun list operation.", + "properties": { + "value": { + "type": "array", + "description": "The WorkflowRun items on this page", + "items": { + "$ref": "#/definitions/WorkflowRun" + }, + "xml": { + "wrapped": true + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ], + "xml": { + "name": "ResourceListResult" + } + }, + "WorkflowRunProperties": { + "type": "object", + "description": "The workflow run properties.", + "properties": { + "waitEndTime": { + "type": "string", + "format": "date-time", + "description": "Gets the wait end time.", + "readOnly": true + }, + "startTime": { + "type": "string", + "format": "date-time", + "description": "Gets the start time.", + "readOnly": true + }, + "endTime": { + "type": "string", + "format": "date-time", + "description": "Gets the end time.", + "readOnly": true + }, + "status": { + "$ref": "#/definitions/WorkflowStatus", + "description": "Gets the status.", + "readOnly": true + }, + "code": { + "type": "string", + "description": "Gets the code.", + "readOnly": true + }, + "error": { + "description": "Gets the error.", + "readOnly": true + }, + "correlationId": { + "type": "string", + "description": "Gets the correlation id.", + "readOnly": true + }, + "correlation": { + "$ref": "#/definitions/Correlation", + "description": "The run correlation." + }, + "workflow": { + "$ref": "#/definitions/ResourceReference", + "description": "Gets the reference to workflow version.", + "readOnly": true + }, + "trigger": { + "$ref": "#/definitions/WorkflowRunTrigger", + "description": "Gets the fired trigger.", + "readOnly": true + }, + "outputs": { + "type": "object", + "description": "Gets the outputs.", + "additionalProperties": { + "$ref": "#/definitions/WorkflowOutputParameter" + }, + "readOnly": true + }, + "response": { + "$ref": "#/definitions/WorkflowRunTrigger", + "description": "Gets the response of the flow run.", + "readOnly": true + } + } + }, + "WorkflowRunTrigger": { + "type": "object", + "description": "The workflow run trigger.", + "properties": { + "name": { + "type": "string", + "description": "Gets the name.", + "readOnly": true + }, + "inputs": { + "description": "Gets the inputs.", + "readOnly": true + }, + "inputsLink": { + "$ref": "#/definitions/ContentLink", + "description": "Gets the link to inputs.", + "readOnly": true + }, + "outputs": { + "description": "Gets the outputs.", + "readOnly": true + }, + "outputsLink": { + "$ref": "#/definitions/ContentLink", + "description": "Gets the link to outputs.", + "readOnly": true + }, + "scheduledTime": { + "type": "string", + "format": "date-time", + "description": "Gets the scheduled time.", + "readOnly": true + }, + "startTime": { + "type": "string", + "format": "date-time", + "description": "Gets the start time.", + "readOnly": true + }, + "endTime": { + "type": "string", + "format": "date-time", + "description": "Gets the end time.", + "readOnly": true + }, + "trackingId": { + "type": "string", + "description": "Gets the tracking id.", + "readOnly": true + }, + "correlation": { + "$ref": "#/definitions/Correlation", + "description": "The run correlation." + }, + "code": { + "type": "string", + "description": "Gets the code.", + "readOnly": true + }, + "status": { + "$ref": "#/definitions/WorkflowStatus", + "description": "Gets the status.", + "readOnly": true + }, + "error": { + "description": "Gets the error.", + "readOnly": true + }, + "trackedProperties": { + "description": "Gets the tracked properties.", + "readOnly": true + } + } + }, + "WorkflowSku": { + "type": "object", + "description": "The sku type.", + "properties": { + "name": { + "$ref": "#/definitions/WorkflowSkuName", + "description": "The name." + }, + "plan": { + "$ref": "#/definitions/ResourceReference", + "description": "The reference to plan." + } + }, + "required": [ + "name" + ] + }, + "WorkflowSkuName": { + "type": "string", + "description": "The sku name.", + "enum": [ + "NotSpecified", + "Free", + "Shared", + "Basic", + "Standard", + "Premium" + ], + "x-ms-enum": { + "name": "WorkflowSkuName", + "modelAsString": true, + "values": [ + { + "name": "NotSpecified", + "value": "NotSpecified" + }, + { + "name": "Free", + "value": "Free" + }, + { + "name": "Shared", + "value": "Shared" + }, + { + "name": "Basic", + "value": "Basic" + }, + { + "name": "Standard", + "value": "Standard" + }, + { + "name": "Premium", + "value": "Premium" + } + ] + } + }, + "WorkflowState": { + "type": "string", + "description": "The workflow state.", + "enum": [ + "NotSpecified", + "Completed", + "Enabled", + "Disabled", + "Deleted", + "Suspended" + ], + "x-ms-enum": { + "name": "WorkflowState", + "modelAsString": true, + "values": [ + { + "name": "NotSpecified", + "value": "NotSpecified" + }, + { + "name": "Completed", + "value": "Completed" + }, + { + "name": "Enabled", + "value": "Enabled" + }, + { + "name": "Disabled", + "value": "Disabled" + }, + { + "name": "Deleted", + "value": "Deleted" + }, + { + "name": "Suspended", + "value": "Suspended" + } + ] + } + }, + "WorkflowStatus": { + "type": "string", + "description": "The workflow status.", + "enum": [ + "NotSpecified", + "Paused", + "Running", + "Waiting", + "Succeeded", + "Skipped", + "Suspended", + "Cancelled", + "Failed", + "Faulted", + "TimedOut", + "Aborted", + "Ignored" + ], + "x-ms-enum": { + "name": "WorkflowStatus", + "modelAsString": true, + "values": [ + { + "name": "NotSpecified", + "value": "NotSpecified" + }, + { + "name": "Paused", + "value": "Paused" + }, + { + "name": "Running", + "value": "Running" + }, + { + "name": "Waiting", + "value": "Waiting" + }, + { + "name": "Succeeded", + "value": "Succeeded" + }, + { + "name": "Skipped", + "value": "Skipped" + }, + { + "name": "Suspended", + "value": "Suspended" + }, + { + "name": "Cancelled", + "value": "Cancelled" + }, + { + "name": "Failed", + "value": "Failed" + }, + { + "name": "Faulted", + "value": "Faulted" + }, + { + "name": "TimedOut", + "value": "TimedOut" + }, + { + "name": "Aborted", + "value": "Aborted" + }, + { + "name": "Ignored", + "value": "Ignored" + } + ] + } + }, + "WorkflowTrigger": { + "type": "object", + "description": "The workflow trigger.", + "properties": { + "properties": { + "$ref": "#/definitions/WorkflowTriggerProperties", + "description": "The workflow trigger properties.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ] + }, + "WorkflowTriggerCallbackUrl": { + "type": "object", + "description": "The workflow trigger callback URL.", + "properties": { + "value": { + "type": "string", + "description": "Gets the workflow trigger callback URL.", + "readOnly": true + }, + "method": { + "type": "string", + "description": "Gets the workflow trigger callback URL HTTP method.", + "readOnly": true + }, + "basePath": { + "type": "string", + "description": "Gets the workflow trigger callback URL base path.", + "readOnly": true + }, + "relativePath": { + "type": "string", + "description": "Gets the workflow trigger callback URL relative path.", + "readOnly": true + }, + "relativePathParameters": { + "type": "array", + "description": "Gets the workflow trigger callback URL relative path parameters.", + "items": { + "type": "string" + }, + "xml": { + "wrapped": true + } + }, + "queries": { + "$ref": "#/definitions/WorkflowTriggerListCallbackUrlQueries", + "description": "Gets the workflow trigger callback URL query parameters." + } + } + }, + "WorkflowTriggerHistory": { + "type": "object", + "description": "The workflow trigger history.", + "properties": { + "properties": { + "$ref": "#/definitions/WorkflowTriggerHistoryProperties", + "description": "Gets the workflow trigger history properties.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ] + }, + "WorkflowTriggerHistoryListResult": { + "type": "object", + "description": "The response of a WorkflowTriggerHistory list operation.", + "properties": { + "value": { + "type": "array", + "description": "The WorkflowTriggerHistory items on this page", + "items": { + "$ref": "#/definitions/WorkflowTriggerHistory" + }, + "xml": { + "wrapped": true + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ], + "xml": { + "name": "ResourceListResult" + } + }, + "WorkflowTriggerHistoryProperties": { + "type": "object", + "description": "The workflow trigger history properties.", + "properties": { + "startTime": { + "type": "string", + "format": "date-time", + "description": "Gets the start time.", + "readOnly": true + }, + "endTime": { + "type": "string", + "format": "date-time", + "description": "Gets the end time.", + "readOnly": true + }, + "scheduledTime": { + "type": "string", + "format": "date-time", + "description": "The scheduled time.", + "readOnly": true + }, + "status": { + "$ref": "#/definitions/WorkflowStatus", + "description": "Gets the status.", + "readOnly": true + }, + "code": { + "type": "string", + "description": "Gets the code.", + "readOnly": true + }, + "error": { + "description": "Gets the error.", + "readOnly": true + }, + "trackingId": { + "type": "string", + "description": "Gets the tracking id.", + "readOnly": true + }, + "correlation": { + "$ref": "#/definitions/Correlation", + "description": "The run correlation." + }, + "inputsLink": { + "$ref": "#/definitions/ContentLink", + "description": "Gets the link to input parameters.", + "readOnly": true + }, + "outputsLink": { + "$ref": "#/definitions/ContentLink", + "description": "Gets the link to output parameters.", + "readOnly": true + }, + "fired": { + "type": "boolean", + "description": "The value indicating whether trigger was fired.", + "readOnly": true + }, + "run": { + "$ref": "#/definitions/ResourceReference", + "description": "Gets the reference to workflow run.", + "readOnly": true + } + } + }, + "WorkflowTriggerListCallbackUrlQueries": { + "type": "object", + "description": "Gets the workflow trigger callback URL query parameters.", + "properties": { + "api-version": { + "type": "string", + "description": "The api version.", + "x-ms-client-name": "apiVersion" + }, + "sp": { + "type": "string", + "description": "The SAS permissions." + }, + "sv": { + "type": "string", + "description": "The SAS version." + }, + "sig": { + "type": "string", + "description": "The SAS signature." + }, + "se": { + "type": "string", + "description": "The SAS timestamp." + } + } + }, + "WorkflowTriggerListResult": { + "type": "object", + "description": "The response of a WorkflowTrigger list operation.", + "properties": { + "value": { + "type": "array", + "description": "The WorkflowTrigger items on this page", + "items": { + "$ref": "#/definitions/WorkflowTrigger" + }, + "xml": { + "wrapped": true + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ], + "xml": { + "name": "ResourceListResult" + } + }, + "WorkflowTriggerProperties": { + "type": "object", + "description": "The workflow trigger properties.", + "properties": { + "provisioningState": { + "$ref": "#/definitions/WorkflowTriggerProvisioningState", + "description": "Gets the provisioning state.", + "readOnly": true + }, + "createdTime": { + "type": "string", + "format": "date-time", + "description": "Gets the created time.", + "readOnly": true + }, + "changedTime": { + "type": "string", + "format": "date-time", + "description": "Gets the changed time.", + "readOnly": true + }, + "state": { + "$ref": "#/definitions/WorkflowState", + "description": "Gets the state.", + "readOnly": true + }, + "status": { + "$ref": "#/definitions/WorkflowStatus", + "description": "Gets the status.", + "readOnly": true + }, + "lastExecutionTime": { + "type": "string", + "format": "date-time", + "description": "Gets the last execution time.", + "readOnly": true + }, + "nextExecutionTime": { + "type": "string", + "format": "date-time", + "description": "Gets the next execution time.", + "readOnly": true + }, + "recurrence": { + "$ref": "#/definitions/WorkflowTriggerRecurrence", + "description": "Gets the workflow trigger recurrence.", + "readOnly": true + }, + "workflow": { + "$ref": "#/definitions/ResourceReference", + "description": "Gets the reference to workflow.", + "readOnly": true + } + } + }, + "WorkflowTriggerProvisioningState": { + "type": "string", + "description": "The workflow trigger provisioning state.", + "enum": [ + "NotSpecified", + "Accepted", + "Running", + "Ready", + "Creating", + "Created", + "Deleting", + "Deleted", + "Canceled", + "Failed", + "Succeeded", + "Moving", + "Updating", + "Registering", + "Registered", + "Unregistering", + "Unregistered", + "Completed" + ], + "x-ms-enum": { + "name": "WorkflowTriggerProvisioningState", + "modelAsString": true, + "values": [ + { + "name": "NotSpecified", + "value": "NotSpecified" + }, + { + "name": "Accepted", + "value": "Accepted" + }, + { + "name": "Running", + "value": "Running" + }, + { + "name": "Ready", + "value": "Ready" + }, + { + "name": "Creating", + "value": "Creating" + }, + { + "name": "Created", + "value": "Created" + }, + { + "name": "Deleting", + "value": "Deleting" + }, + { + "name": "Deleted", + "value": "Deleted" + }, + { + "name": "Canceled", + "value": "Canceled" + }, + { + "name": "Failed", + "value": "Failed" + }, + { + "name": "Succeeded", + "value": "Succeeded" + }, + { + "name": "Moving", + "value": "Moving" + }, + { + "name": "Updating", + "value": "Updating" + }, + { + "name": "Registering", + "value": "Registering" + }, + { + "name": "Registered", + "value": "Registered" + }, + { + "name": "Unregistering", + "value": "Unregistering" + }, + { + "name": "Unregistered", + "value": "Unregistered" + }, + { + "name": "Completed", + "value": "Completed" + } + ] + } + }, + "WorkflowTriggerRecurrence": { + "type": "object", + "description": "The workflow trigger recurrence.", + "properties": { + "frequency": { + "$ref": "#/definitions/RecurrenceFrequency", + "description": "The frequency." + }, + "interval": { + "type": "integer", + "format": "int32", + "description": "The interval." + }, + "startTime": { + "type": "string", + "description": "The start time." + }, + "endTime": { + "type": "string", + "description": "The end time." + }, + "timeZone": { + "type": "string", + "description": "The time zone." + }, + "schedule": { + "$ref": "#/definitions/RecurrenceSchedule", + "description": "The recurrence schedule." + } + } + }, + "WorkflowVersion": { + "type": "object", + "description": "The workflow version.", + "properties": { + "properties": { + "$ref": "#/definitions/WorkflowVersionProperties", + "description": "The workflow version properties.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" + } + ] + }, + "WorkflowVersionListResult": { + "type": "object", + "description": "The response of a WorkflowVersion list operation.", + "properties": { + "value": { + "type": "array", + "description": "The WorkflowVersion items on this page", + "items": { + "$ref": "#/definitions/WorkflowVersion" + }, + "xml": { + "wrapped": true + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ], + "xml": { + "name": "ResourceListResult" + } + }, + "WorkflowVersionProperties": { + "type": "object", + "description": "The workflow version properties.", + "properties": { + "provisioningState": { + "$ref": "#/definitions/WorkflowProvisioningState", + "description": "The provisioning state.", + "readOnly": true + }, + "createdTime": { + "type": "string", + "format": "date-time", + "description": "Gets the created time.", + "readOnly": true + }, + "changedTime": { + "type": "string", + "format": "date-time", + "description": "Gets the changed time.", + "readOnly": true + }, + "state": { + "$ref": "#/definitions/WorkflowState", + "description": "The state." + }, + "version": { + "type": "string", + "description": "Gets the version.", + "readOnly": true + }, + "accessEndpoint": { + "type": "string", + "description": "Gets the access endpoint.", + "readOnly": true + }, + "endpointsConfiguration": { + "$ref": "#/definitions/FlowEndpointsConfiguration", + "description": "The endpoints configuration." + }, + "accessControl": { + "$ref": "#/definitions/FlowAccessControlConfiguration", + "description": "The access control configuration." + }, + "sku": { + "$ref": "#/definitions/WorkflowSku", + "description": "The sku.", + "readOnly": true + }, + "integrationAccount": { + "$ref": "#/definitions/ResourceReference", + "description": "The integration account." + }, + "definition": { + "description": "The definition." + }, + "parameters": { + "type": "object", + "description": "The parameters.", + "additionalProperties": { + "$ref": "#/definitions/WorkflowParameter" + } + } + } + }, + "stringApplicationJson": { + "type": "string" + } + }, + "parameters": {} +} diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/tspconfig.yaml b/specification/web/resource-manager/Microsoft.Web/AppService/tspconfig.yaml new file mode 100644 index 000000000000..80991e5b9e81 --- /dev/null +++ b/specification/web/resource-manager/Microsoft.Web/AppService/tspconfig.yaml @@ -0,0 +1,44 @@ +parameters: + "service-dir": + default: "sdk/appservice" +emit: + - "@azure-tools/typespec-autorest" +options: + "@azure-tools/typespec-autorest": + omit-unreachable-types: true + emitter-output-dir: "{project-root}" + azure-resource-provider-folder: "resource-manager" + output-file: "{version-status}/{version}/openapi.json" + arm-types-dir: "{project-root}/../../../../common-types/resource-management" + emit-lro-options: "all" + examples-dir: "{project-root}/examples" + "@azure-tools/typespec-python": + emitter-output-dir: "{output-dir}/{service-dir}/azure-mgmt-web" + namespace: "azure.mgmt.web" + generate-test: true + generate-sample: true + flavor: "azure" + "@azure-tools/typespec-java": + emitter-output-dir: "{output-dir}/{service-dir}/azure-resourcemanager-appservice-generated" + namespace: "com.azure.resourcemanager.appservice.generated" + service-name: "AppService" # human-readable service name, whitespace allowed + flavor: azure + "@azure-tools/typespec-ts": + emitter-output-dir: "{output-dir}/{service-dir}/arm-appservice" + flavor: "azure" + experimental-extensible-enums: true + package-details: + name: "@azure/arm-appservice" + "@azure-tools/typespec-go": + service-dir: "sdk/resourcemanager/appservice" + emitter-output-dir: "{output-dir}/{service-dir}/armappservice" + module: "github.com/Azure/azure-sdk-for-go/{service-dir}/armappservice" + fix-const-stuttering: false + flavor: "azure" + generate-samples: true + generate-fakes: true + head-as-boolean: true + inject-spans: true +linter: + extends: + - "@azure-tools/typespec-azure-rulesets/resource-manager"