|
2872 | 2872 | }
|
2873 | 2873 | }
|
2874 | 2874 | },
|
| 2875 | + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/deploymentStatus": { |
| 2876 | + "get": { |
| 2877 | + "tags": [ |
| 2878 | + "WebApps" |
| 2879 | + ], |
| 2880 | + "summary": "List deployment statuses for an app (or deployment slot, if specified).", |
| 2881 | + "operationId": "WebApps_ListProductionSiteDeploymentStatuses", |
| 2882 | + "parameters": [ |
| 2883 | + { |
| 2884 | + "$ref": "#/parameters/resourceGroupNameParameter" |
| 2885 | + }, |
| 2886 | + { |
| 2887 | + "name": "name", |
| 2888 | + "in": "path", |
| 2889 | + "description": "Name of the app.", |
| 2890 | + "required": true, |
| 2891 | + "type": "string" |
| 2892 | + }, |
| 2893 | + { |
| 2894 | + "$ref": "#/parameters/subscriptionIdParameter" |
| 2895 | + }, |
| 2896 | + { |
| 2897 | + "$ref": "#/parameters/apiVersionParameter" |
| 2898 | + } |
| 2899 | + ], |
| 2900 | + "responses": { |
| 2901 | + "200": { |
| 2902 | + "description": "OK", |
| 2903 | + "schema": { |
| 2904 | + "$ref": "#/definitions/CsmDeploymentStatusCollection" |
| 2905 | + } |
| 2906 | + }, |
| 2907 | + "default": { |
| 2908 | + "description": "App Service error response.", |
| 2909 | + "schema": { |
| 2910 | + "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" |
| 2911 | + } |
| 2912 | + } |
| 2913 | + }, |
| 2914 | + "x-ms-examples": { |
| 2915 | + "List Deployment Status": { |
| 2916 | + "$ref": "./examples/ListSiteDeploymentStatus.json" |
| 2917 | + } |
| 2918 | + }, |
| 2919 | + "x-ms-pageable": { |
| 2920 | + "nextLinkName": "nextLink" |
| 2921 | + } |
| 2922 | + } |
| 2923 | + }, |
| 2924 | + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/deploymentStatus/{deploymentStatusId}": { |
| 2925 | + "get": { |
| 2926 | + "tags": [ |
| 2927 | + "WebApps" |
| 2928 | + ], |
| 2929 | + "summary": "Gets the deployment status for an app (or deployment slot, if specified).", |
| 2930 | + "operationId": "WebApps_GetProductionSiteDeploymentStatus", |
| 2931 | + "parameters": [ |
| 2932 | + { |
| 2933 | + "$ref": "#/parameters/subscriptionIdParameter" |
| 2934 | + }, |
| 2935 | + { |
| 2936 | + "$ref": "#/parameters/resourceGroupNameParameter" |
| 2937 | + }, |
| 2938 | + { |
| 2939 | + "name": "name", |
| 2940 | + "in": "path", |
| 2941 | + "description": "Name of the app.", |
| 2942 | + "required": true, |
| 2943 | + "type": "string" |
| 2944 | + }, |
| 2945 | + { |
| 2946 | + "name": "deploymentStatusId", |
| 2947 | + "in": "path", |
| 2948 | + "description": "GUID of the deployment operation.", |
| 2949 | + "required": true, |
| 2950 | + "type": "string" |
| 2951 | + }, |
| 2952 | + { |
| 2953 | + "$ref": "#/parameters/apiVersionParameter" |
| 2954 | + } |
| 2955 | + ], |
| 2956 | + "responses": { |
| 2957 | + "200": { |
| 2958 | + "description": "OK", |
| 2959 | + "schema": { |
| 2960 | + "$ref": "#/definitions/CsmDeploymentStatus" |
| 2961 | + } |
| 2962 | + }, |
| 2963 | + "202": { |
| 2964 | + "description": "Operation is in progress.", |
| 2965 | + "schema": { |
| 2966 | + "$ref": "#/definitions/CsmDeploymentStatus" |
| 2967 | + } |
| 2968 | + }, |
| 2969 | + "default": { |
| 2970 | + "description": "App Service error response.", |
| 2971 | + "schema": { |
| 2972 | + "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" |
| 2973 | + } |
| 2974 | + } |
| 2975 | + }, |
| 2976 | + "x-ms-examples": { |
| 2977 | + "Get Deployment Status": { |
| 2978 | + "$ref": "./examples/GetSiteDeploymentStatus.json" |
| 2979 | + } |
| 2980 | + }, |
| 2981 | + "x-ms-long-running-operation": true |
| 2982 | + } |
| 2983 | + }, |
2875 | 2984 | "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/deployments": {
|
2876 | 2985 | "get": {
|
2877 | 2986 | "tags": [
|
@@ -11677,6 +11786,129 @@
|
11677 | 11786 | }
|
11678 | 11787 | }
|
11679 | 11788 | },
|
| 11789 | + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/deploymentStatus": { |
| 11790 | + "get": { |
| 11791 | + "tags": [ |
| 11792 | + "WebApps" |
| 11793 | + ], |
| 11794 | + "summary": "List deployment statuses for an app (or deployment slot, if specified).", |
| 11795 | + "operationId": "WebApps_ListSlotSiteDeploymentStatusesSlot", |
| 11796 | + "parameters": [ |
| 11797 | + { |
| 11798 | + "$ref": "#/parameters/resourceGroupNameParameter" |
| 11799 | + }, |
| 11800 | + { |
| 11801 | + "name": "name", |
| 11802 | + "in": "path", |
| 11803 | + "description": "Name of the app.", |
| 11804 | + "required": true, |
| 11805 | + "type": "string" |
| 11806 | + }, |
| 11807 | + { |
| 11808 | + "name": "slot", |
| 11809 | + "in": "path", |
| 11810 | + "description": "Name of the deployment slot. If a slot is not specified, the API will get the deployment status for the production slot.", |
| 11811 | + "required": true, |
| 11812 | + "type": "string" |
| 11813 | + }, |
| 11814 | + { |
| 11815 | + "$ref": "#/parameters/subscriptionIdParameter" |
| 11816 | + }, |
| 11817 | + { |
| 11818 | + "$ref": "#/parameters/apiVersionParameter" |
| 11819 | + } |
| 11820 | + ], |
| 11821 | + "responses": { |
| 11822 | + "200": { |
| 11823 | + "description": "OK", |
| 11824 | + "schema": { |
| 11825 | + "$ref": "#/definitions/CsmDeploymentStatusCollection" |
| 11826 | + } |
| 11827 | + }, |
| 11828 | + "default": { |
| 11829 | + "description": "App Service error response.", |
| 11830 | + "schema": { |
| 11831 | + "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" |
| 11832 | + } |
| 11833 | + } |
| 11834 | + }, |
| 11835 | + "x-ms-examples": { |
| 11836 | + "List Deployment Status Slot": { |
| 11837 | + "$ref": "./examples/ListSiteDeploymentStatusSlot.json" |
| 11838 | + } |
| 11839 | + }, |
| 11840 | + "x-ms-pageable": { |
| 11841 | + "nextLinkName": "nextLink" |
| 11842 | + } |
| 11843 | + } |
| 11844 | + }, |
| 11845 | + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/deploymentStatus/{deploymentStatusId}": { |
| 11846 | + "get": { |
| 11847 | + "tags": [ |
| 11848 | + "WebApps" |
| 11849 | + ], |
| 11850 | + "summary": "Gets the deployment status for an app (or deployment slot, if specified).", |
| 11851 | + "operationId": "WebApps_GetSlotSiteDeploymentStatusSlot", |
| 11852 | + "parameters": [ |
| 11853 | + { |
| 11854 | + "$ref": "#/parameters/subscriptionIdParameter" |
| 11855 | + }, |
| 11856 | + { |
| 11857 | + "$ref": "#/parameters/resourceGroupNameParameter" |
| 11858 | + }, |
| 11859 | + { |
| 11860 | + "name": "name", |
| 11861 | + "in": "path", |
| 11862 | + "description": "Name of the app.", |
| 11863 | + "required": true, |
| 11864 | + "type": "string" |
| 11865 | + }, |
| 11866 | + { |
| 11867 | + "name": "slot", |
| 11868 | + "in": "path", |
| 11869 | + "description": "Name of the deployment slot. If a slot is not specified, the API will get the deployment status for the production slot.", |
| 11870 | + "required": true, |
| 11871 | + "type": "string" |
| 11872 | + }, |
| 11873 | + { |
| 11874 | + "name": "deploymentStatusId", |
| 11875 | + "in": "path", |
| 11876 | + "description": "GUID of the deployment operation.", |
| 11877 | + "required": true, |
| 11878 | + "type": "string" |
| 11879 | + }, |
| 11880 | + { |
| 11881 | + "$ref": "#/parameters/apiVersionParameter" |
| 11882 | + } |
| 11883 | + ], |
| 11884 | + "responses": { |
| 11885 | + "200": { |
| 11886 | + "description": "OK", |
| 11887 | + "schema": { |
| 11888 | + "$ref": "#/definitions/CsmDeploymentStatus" |
| 11889 | + } |
| 11890 | + }, |
| 11891 | + "202": { |
| 11892 | + "description": "Operation is in progress.", |
| 11893 | + "schema": { |
| 11894 | + "$ref": "#/definitions/CsmDeploymentStatus" |
| 11895 | + } |
| 11896 | + }, |
| 11897 | + "default": { |
| 11898 | + "description": "App Service error response.", |
| 11899 | + "schema": { |
| 11900 | + "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" |
| 11901 | + } |
| 11902 | + } |
| 11903 | + }, |
| 11904 | + "x-ms-examples": { |
| 11905 | + "Get Deployment Status Slot": { |
| 11906 | + "$ref": "./examples/GetSiteDeploymentStatusSlot.json" |
| 11907 | + } |
| 11908 | + }, |
| 11909 | + "x-ms-long-running-operation": true |
| 11910 | + } |
| 11911 | + }, |
11680 | 11912 | "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/deployments": {
|
11681 | 11913 | "get": {
|
11682 | 11914 | "tags": [
|
@@ -22339,6 +22571,102 @@
|
22339 | 22571 | }
|
22340 | 22572 | }
|
22341 | 22573 | },
|
| 22574 | + "CsmDeploymentStatus": { |
| 22575 | + "description": "Deployment status response payload.", |
| 22576 | + "type": "object", |
| 22577 | + "allOf": [ |
| 22578 | + { |
| 22579 | + "$ref": "./CommonDefinitions.json#/definitions/ProxyOnlyResource" |
| 22580 | + } |
| 22581 | + ], |
| 22582 | + "properties": { |
| 22583 | + "properties": { |
| 22584 | + "description": "CsmDeploymentStatus resource specific properties", |
| 22585 | + "type": "object", |
| 22586 | + "properties": { |
| 22587 | + "deploymentId": { |
| 22588 | + "description": "Deployment operation id.", |
| 22589 | + "type": "string" |
| 22590 | + }, |
| 22591 | + "status": { |
| 22592 | + "description": "Deployment build status.", |
| 22593 | + "enum": [ |
| 22594 | + "TimedOut", |
| 22595 | + "RuntimeFailed", |
| 22596 | + "BuildAborted", |
| 22597 | + "BuildFailed", |
| 22598 | + "BuildRequestReceived", |
| 22599 | + "BuildPending", |
| 22600 | + "BuildInProgress", |
| 22601 | + "BuildSuccessful", |
| 22602 | + "PostBuildRestartRequired", |
| 22603 | + "StartPolling", |
| 22604 | + "StartPollingWithRestart", |
| 22605 | + "RuntimeStarting", |
| 22606 | + "RuntimeSuccessful" |
| 22607 | + ], |
| 22608 | + "type": "string", |
| 22609 | + "x-ms-enum": { |
| 22610 | + "name": "DeploymentBuildStatus", |
| 22611 | + "modelAsString": true |
| 22612 | + } |
| 22613 | + }, |
| 22614 | + "numberOfInstancesInProgress": { |
| 22615 | + "format": "int32", |
| 22616 | + "description": "Number of site instances currently being provisioned.", |
| 22617 | + "type": "integer" |
| 22618 | + }, |
| 22619 | + "numberOfInstancesSuccessful": { |
| 22620 | + "format": "int32", |
| 22621 | + "description": "Number of site instances provisioned successfully.", |
| 22622 | + "type": "integer" |
| 22623 | + }, |
| 22624 | + "numberOfInstancesFailed": { |
| 22625 | + "format": "int32", |
| 22626 | + "description": "Number of site instances failed to provision.", |
| 22627 | + "type": "integer" |
| 22628 | + }, |
| 22629 | + "failedInstancesLogs": { |
| 22630 | + "description": "List of URLs pointing to logs for instances which failed to provision.", |
| 22631 | + "type": "array", |
| 22632 | + "items": { |
| 22633 | + "type": "string" |
| 22634 | + } |
| 22635 | + }, |
| 22636 | + "errors": { |
| 22637 | + "description": "List of errors.", |
| 22638 | + "type": "array", |
| 22639 | + "items": { |
| 22640 | + "$ref": "./CommonDefinitions.json#/definitions/ErrorEntity" |
| 22641 | + }, |
| 22642 | + "x-ms-identifiers": [] |
| 22643 | + } |
| 22644 | + }, |
| 22645 | + "x-ms-client-flatten": true |
| 22646 | + } |
| 22647 | + } |
| 22648 | + }, |
| 22649 | + "CsmDeploymentStatusCollection": { |
| 22650 | + "description": "Deployment status collection ARM resource.", |
| 22651 | + "required": [ |
| 22652 | + "value" |
| 22653 | + ], |
| 22654 | + "type": "object", |
| 22655 | + "properties": { |
| 22656 | + "value": { |
| 22657 | + "description": "Collection of resources.", |
| 22658 | + "type": "array", |
| 22659 | + "items": { |
| 22660 | + "$ref": "#/definitions/CsmDeploymentStatus" |
| 22661 | + } |
| 22662 | + }, |
| 22663 | + "nextLink": { |
| 22664 | + "description": "Link to next page of resources.", |
| 22665 | + "type": "string", |
| 22666 | + "readOnly": true |
| 22667 | + } |
| 22668 | + } |
| 22669 | + }, |
22342 | 22670 | "CsmPublishingCredentialsPoliciesEntity": {
|
22343 | 22671 | "description": "Publishing Credentials Policies parameters.",
|
22344 | 22672 | "type": "object",
|
|
0 commit comments