Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"api-version": "2017-08-01-preview",
"scope": "providers/Microsoft.Management/managementGroups/148059f7-faf3-49a6-ba35-85122112291e",
"informationProtectionPolicyName": "custom",
"InformationProtectionPolicy": {
"informationProtectionPolicy": {
"id": "/providers/Microsoft.Management/managementGroups/148059f7-faf3-49a6-ba35-85122112291e/providers/Microsoft.Security/informationProtectionPolicies/custom",
"name": "custom",
"type": "Microsoft.Security/informationProtectionPolicies",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,9 @@
},
{
"$ref": "#/parameters/InformationProtectionPolicyName"
},
{
"$ref": "#/parameters/InformationProtectionPolicy"
}
],
"responses": {
Expand Down Expand Up @@ -231,6 +234,25 @@
"type": "string",
"description": "The name of the sensitivity label."
},
"description": {
"type": "string",
"description": "The description of the sensitivity label."
},
"rank": {
"type": "string",
"description": "The rank of the sensitivity label.",
"enum": [
"None",
"Low",
"Medium",
"High",
"Critical"
],
"x-ms-enum": {
"name": "rank",
"modelAsString": false
}
},
"order": {
"type": "number",
"description": "The order of the sensitivity label."
Expand All @@ -249,6 +271,10 @@
"type": "string",
"description": "The name of the information type."
},
"description": {
"type": "string",
"description": "The description of the information type."
},
"order": {
"type": "number",
"description": "The order of the information type."
Expand Down Expand Up @@ -310,6 +336,16 @@
],
"description": "Name of the information protection policy.",
"x-ms-parameter-location": "method"
},
"InformationProtectionPolicy": {
"name": "informationProtectionPolicy",
"in": "body",
"required": true,
"description": "Information protection policy.",
"schema": {
"$ref": "#/definitions/InformationProtectionPolicy"
},
"x-ms-parameter-location": "method"
}
}
}