|
601 | 601 | }
|
602 | 602 | }
|
603 | 603 | },
|
604 |
| - "/providers/Microsoft.Resources/deployments/{deploymentName}/whatIf": { |
605 |
| - "post": { |
606 |
| - "tags": [ |
607 |
| - "Deployments" |
608 |
| - ], |
609 |
| - "operationId": "Deployments_WhatIfAtTenantScope", |
610 |
| - "description": "Returns changes that will be made by the deployment if executed at the scope of the tenant group.", |
611 |
| - "parameters": [ |
612 |
| - { |
613 |
| - "$ref": "#/parameters/DeploymentNameParameter" |
614 |
| - }, |
615 |
| - { |
616 |
| - "name": "parameters", |
617 |
| - "in": "body", |
618 |
| - "required": true, |
619 |
| - "schema": { |
620 |
| - "$ref": "#/definitions/ScopedDeploymentWhatIf" |
621 |
| - }, |
622 |
| - "description": "Parameters to validate." |
623 |
| - }, |
624 |
| - { |
625 |
| - "$ref": "#/parameters/ApiVersionParameter" |
626 |
| - } |
627 |
| - ], |
628 |
| - "responses": { |
629 |
| - "200": { |
630 |
| - "description": "OK - Returns What-If operation status", |
631 |
| - "schema": { |
632 |
| - "$ref": "#/definitions/WhatIfOperationResult" |
633 |
| - } |
634 |
| - }, |
635 |
| - "202": { |
636 |
| - "description": "Accepted - Returns URL in Location header to query for long-running operation status.", |
637 |
| - "headers": { |
638 |
| - "Location": { |
639 |
| - "type": "string", |
640 |
| - "description": "URL to get status of this long-running operation." |
641 |
| - }, |
642 |
| - "Retry-After": { |
643 |
| - "type": "string", |
644 |
| - "description": "Number of seconds to wait before polling for status." |
645 |
| - } |
646 |
| - } |
647 |
| - }, |
648 |
| - "default": { |
649 |
| - "description": "Error response describing why the operation failed.", |
650 |
| - "schema": { |
651 |
| - "$ref": "#/definitions/CloudError" |
652 |
| - } |
653 |
| - } |
654 |
| - }, |
655 |
| - "x-ms-examples": { |
656 |
| - "Predict template changes at management group scope": { |
657 |
| - "$ref": "./examples/PostDeploymentWhatIfOnTenant.json" |
658 |
| - } |
659 |
| - }, |
660 |
| - "x-ms-long-running-operation": true, |
661 |
| - "x-ms-long-running-operation-options": { |
662 |
| - "final-state-via": "location" |
663 |
| - } |
664 |
| - } |
665 |
| - }, |
666 | 604 | "/providers/Microsoft.Resources/deployments/{deploymentName}/exportTemplate": {
|
667 | 605 | "post": {
|
668 | 606 | "tags": [
|
|
976 | 914 | }
|
977 | 915 | }
|
978 | 916 | },
|
979 |
| - "/providers/Microsoft.Management/managementGroups/{groupId}/providers/Microsoft.Resources/deployments/{deploymentName}/whatIf": { |
980 |
| - "post": { |
981 |
| - "tags": [ |
982 |
| - "Deployments" |
983 |
| - ], |
984 |
| - "operationId": "Deployments_WhatIfAtManagementGroupScope", |
985 |
| - "description": "Returns changes that will be made by the deployment if executed at the scope of the management group.", |
986 |
| - "parameters": [ |
987 |
| - { |
988 |
| - "$ref": "#/parameters/GroupIdParameter" |
989 |
| - }, |
990 |
| - { |
991 |
| - "$ref": "#/parameters/DeploymentNameParameter" |
992 |
| - }, |
993 |
| - { |
994 |
| - "name": "parameters", |
995 |
| - "in": "body", |
996 |
| - "required": true, |
997 |
| - "schema": { |
998 |
| - "$ref": "#/definitions/ScopedDeploymentWhatIf" |
999 |
| - }, |
1000 |
| - "description": "Parameters to validate." |
1001 |
| - }, |
1002 |
| - { |
1003 |
| - "$ref": "#/parameters/ApiVersionParameter" |
1004 |
| - } |
1005 |
| - ], |
1006 |
| - "responses": { |
1007 |
| - "200": { |
1008 |
| - "description": "OK - Returns What-If operation status", |
1009 |
| - "schema": { |
1010 |
| - "$ref": "#/definitions/WhatIfOperationResult" |
1011 |
| - } |
1012 |
| - }, |
1013 |
| - "202": { |
1014 |
| - "description": "Accepted - Returns URL in Location header to query for long-running operation status.", |
1015 |
| - "headers": { |
1016 |
| - "Location": { |
1017 |
| - "type": "string", |
1018 |
| - "description": "URL to get status of this long-running operation." |
1019 |
| - }, |
1020 |
| - "Retry-After": { |
1021 |
| - "type": "string", |
1022 |
| - "description": "Number of seconds to wait before polling for status." |
1023 |
| - } |
1024 |
| - } |
1025 |
| - }, |
1026 |
| - "default": { |
1027 |
| - "description": "Error response describing why the operation failed.", |
1028 |
| - "schema": { |
1029 |
| - "$ref": "#/definitions/CloudError" |
1030 |
| - } |
1031 |
| - } |
1032 |
| - }, |
1033 |
| - "x-ms-examples": { |
1034 |
| - "Predict template changes at management group scope": { |
1035 |
| - "$ref": "./examples/PostDeploymentWhatIfOnManagementGroup.json" |
1036 |
| - } |
1037 |
| - }, |
1038 |
| - "x-ms-long-running-operation": true, |
1039 |
| - "x-ms-long-running-operation-options": { |
1040 |
| - "final-state-via": "location" |
1041 |
| - } |
1042 |
| - } |
1043 |
| - }, |
1044 | 917 | "/providers/Microsoft.Management/managementGroups/{groupId}/providers/Microsoft.Resources/deployments/{deploymentName}/exportTemplate": {
|
1045 | 918 | "post": {
|
1046 | 919 | "tags": [
|
|
4298 | 4171 | ],
|
4299 | 4172 | "description": "Deployment What-if operation parameters."
|
4300 | 4173 | },
|
4301 |
| - "ScopedDeploymentWhatIf": { |
4302 |
| - "properties": { |
4303 |
| - "location": { |
4304 |
| - "type": "string", |
4305 |
| - "description": "The location to store the deployment data." |
4306 |
| - }, |
4307 |
| - "properties": { |
4308 |
| - "$ref": "#/definitions/DeploymentWhatIfProperties", |
4309 |
| - "description": "The deployment properties." |
4310 |
| - } |
4311 |
| - }, |
4312 |
| - "required": [ |
4313 |
| - "location", |
4314 |
| - "properties" |
4315 |
| - ], |
4316 |
| - "description": "Deployment What-if operation parameters." |
4317 |
| - }, |
4318 | 4174 | "DeploymentWhatIfProperties": {
|
4319 | 4175 | "properties": {
|
4320 | 4176 | "whatIfSettings": {
|
|
0 commit comments