-
Notifications
You must be signed in to change notification settings - Fork 5k
/
CreateOrUpdateAzureDevOpsOrgs_example.json
51 lines (51 loc) · 1.88 KB
/
CreateOrUpdateAzureDevOpsOrgs_example.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
{
"parameters": {
"subscriptionId": "0806e1cd-cfda-4ff8-b99c-2b0af42cffd3",
"resourceGroupName": "myRg",
"securityConnectorName": "mySecurityConnectorName",
"orgName": "myAzDevOpsOrg",
"azureDevOpsOrg": {
"properties": {
"onboardingState": "NotApplicable",
"actionableRemediation": {
"state": "Enabled"
}
}
},
"api-version": "2023-09-01-preview"
},
"responses": {
"200": {
"headers": {},
"body": {
"properties": {
"onboardingState": "Onboarded",
"actionableRemediation": {
"state": "Enabled"
},
"provisioningState": "Succeeded"
},
"id": "/subscriptions/0806e1cd-cfda-4ff8-b99c-2b0af42cffd3/resourceGroups/myRg/providers/Microsoft.Security/securityConnectors/mySecurityConnectorName/devops/default/azureDevOpsOrgs/myAzDevOpsOrg",
"name": "myAzDevOpsOrg",
"type": "Microsoft.Security/securityConnectors/devops/azureDevOpsOrgs"
}
},
"201": {
"headers": {
"Azure-AsyncOperation": "https://management.azure.com/subscriptions/0806e1cd-cfda-4ff8-b99c-2b0af42cffd3/resourceGroups/myRg/providers/Microsoft.Security/securityConnectors/mySecurityConnectorName/devops/default/operationResults/4e826cf1-5c36-4808-a7d2-fb4f5170978b?api-version=2023-09-01-preview"
},
"body": {
"properties": {
"onboardingState": "NotApplicable",
"actionableRemediation": {
"state": "None"
},
"provisioningState": "Accepted"
},
"id": "/subscriptions/0806e1cd-cfda-4ff8-b99c-2b0af42cffd3/resourceGroups/myRg/providers/Microsoft.Security/securityConnectors/mySecurityConnectorName/devops/default/azureDevOpsOrgs/myAzDevOpsOrg",
"name": "myAzDevOpsOrg",
"type": "Microsoft.Security/securityConnectors/devops/azureDevOpsOrgs"
}
}
}
}