|
| 1 | +{ |
| 2 | + "parameters": { |
| 3 | + "subscriptionId": "subid", |
| 4 | + "resourceGroupName": "rg", |
| 5 | + "jitRequestName": "myJitRequest", |
| 6 | + "api-version": "2021-07-01", |
| 7 | + "parameters": { |
| 8 | + "properties": { |
| 9 | + "applicationResourceId": "/subscriptions/00c76877-e316-48a7-af60-4a09fec9d43f/resourceGroups/52F30DB2/providers/Microsoft.Solutions/applications/7E193158", |
| 10 | + "jitAuthorizationPolicies": [ |
| 11 | + { |
| 12 | + "principalId": "1db8e132e2934dbcb8e1178a61319491", |
| 13 | + "roleDefinitionId": "ecd05a23-931a-4c38-a52b-ac7c4c583334" |
| 14 | + } |
| 15 | + ], |
| 16 | + "jitSchedulingPolicy": { |
| 17 | + "type": "Once", |
| 18 | + "duration": "PT8H", |
| 19 | + "startTime": "2021-04-22T05:48:30.6661804Z" |
| 20 | + } |
| 21 | + } |
| 22 | + } |
| 23 | + }, |
| 24 | + "responses": { |
| 25 | + "200": { |
| 26 | + "headers": {}, |
| 27 | + "body": { |
| 28 | + "properties": { |
| 29 | + "applicationResourceId": "/subscriptions/00c76877-e316-48a7-af60-4a09fec9d43f/resourceGroups/52F30DB2/providers/Microsoft.Solutions/applications/7E193158", |
| 30 | + "jitAuthorizationPolicies": [ |
| 31 | + { |
| 32 | + "principalId": "1db8e132e2934dbcb8e1178a61319491", |
| 33 | + "roleDefinitionId": "ecd05a23-931a-4c38-a52b-ac7c4c583334" |
| 34 | + } |
| 35 | + ], |
| 36 | + "jitSchedulingPolicy": { |
| 37 | + "type": "Once", |
| 38 | + "duration": "PT8H", |
| 39 | + "startTime": "2021-04-22T05:48:30.6661804Z" |
| 40 | + }, |
| 41 | + "provisioningState": "Accepted", |
| 42 | + "jitRequestState": "Pending", |
| 43 | + "createdBy": { |
| 44 | + "oid": "", |
| 45 | + "applicationId": "33a83f1f-c363-4ae7-9e0a-a0c08466354d" |
| 46 | + }, |
| 47 | + "updatedBy": { |
| 48 | + "oid": "", |
| 49 | + "applicationId": "33a83f1f-c363-4ae7-9e0a-a0c08466354d" |
| 50 | + } |
| 51 | + }, |
| 52 | + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Solutions/jitRequests/myJitRequest", |
| 53 | + "name": "myJitRequest", |
| 54 | + "type": "Microsoft.Solutions/jitRequests" |
| 55 | + } |
| 56 | + }, |
| 57 | + "201": { |
| 58 | + "headers": {}, |
| 59 | + "body": { |
| 60 | + "properties": { |
| 61 | + "applicationResourceId": "/subscriptions/00c76877-e316-48a7-af60-4a09fec9d43f/resourceGroups/52F30DB2/providers/Microsoft.Solutions/applications/7E193158", |
| 62 | + "jitAuthorizationPolicies": [ |
| 63 | + { |
| 64 | + "principalId": "1db8e132e2934dbcb8e1178a61319491", |
| 65 | + "roleDefinitionId": "ecd05a23-931a-4c38-a52b-ac7c4c583334" |
| 66 | + } |
| 67 | + ], |
| 68 | + "jitSchedulingPolicy": { |
| 69 | + "type": "Once", |
| 70 | + "duration": "PT8H", |
| 71 | + "startTime": "2021-04-22T05:48:30.6661804Z" |
| 72 | + }, |
| 73 | + "provisioningState": "Accepted", |
| 74 | + "jitRequestState": "Pending", |
| 75 | + "createdBy": { |
| 76 | + "oid": "", |
| 77 | + "applicationId": "33a83f1f-c363-4ae7-9e0a-a0c08466354d" |
| 78 | + }, |
| 79 | + "updatedBy": { |
| 80 | + "oid": "", |
| 81 | + "applicationId": "33a83f1f-c363-4ae7-9e0a-a0c08466354d" |
| 82 | + } |
| 83 | + }, |
| 84 | + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Solutions/jitRequests/myJitRequest", |
| 85 | + "name": "myJitRequest", |
| 86 | + "type": "Microsoft.Solutions/jitRequests" |
| 87 | + } |
| 88 | + } |
| 89 | + } |
| 90 | +} |
0 commit comments