Skip to content

Commit

Permalink
iotDefenderSettings - Add onboardingKind property (#13434)
Browse files Browse the repository at this point in the history
* onboardingKind field

* Missing property in PUT example

Co-authored-by: Liran Chen <[email protected]>
  • Loading branch information
liranc and Liran Chen authored Mar 18, 2021
1 parent cfa9ee9 commit d9b7c90
Show file tree
Hide file tree
Showing 8 changed files with 48 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -307,11 +307,24 @@
"items": {
"type": "string"
}
},
"onboardingKind": {
"type": "string",
"enum": [
"Default",
"MigratedToAzure"
],
"description": "The kind of onboarding for the subscription",
"x-ms-enum": {
"name": "OnboardingKind",
"modelAsString": true
}
}
},
"required": [
"deviceQuota",
"sentinelWorkspaceResourceIds"
"sentinelWorkspaceResourceIds",
"onboardingKind"
]
},
"DownloadLink": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@
"deviceQuota": 2000,
"sentinelWorkspaceResourceIds": [
"/subscriptions/c4930e90-cd72-4aa5-93e9-2d081d129569/resourceGroups/myRg/providers/Microsoft.OperationalInsights/workspaces/myWorkspace1"
]
],
"onboardingKind": "Default"
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@
"deviceQuota": 2000,
"sentinelWorkspaceResourceIds": [
"/subscriptions/c4930e90-cd72-4aa5-93e9-2d081d129569/resourceGroups/myRg/providers/Microsoft.OperationalInsights/workspaces/myWorkspace1"
]
],
"onboardingKind": "Default"
}
}
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
"deviceQuota": 2000,
"sentinelWorkspaceResourceIds": [
"/subscriptions/c4930e90-cd72-4aa5-93e9-2d081d129569/resourceGroups/myRg/providers/Microsoft.OperationalInsights/workspaces/myWorkspace1"
]
],
"onboardingKind": "Default"
}
}
},
Expand All @@ -21,7 +22,8 @@
"deviceQuota": 2000,
"sentinelWorkspaceResourceIds": [
"/subscriptions/c4930e90-cd72-4aa5-93e9-2d081d129569/resourceGroups/myRg/providers/Microsoft.OperationalInsights/workspaces/myWorkspace1"
]
],
"onboardingKind": "Default"
}
}
},
Expand All @@ -34,7 +36,8 @@
"deviceQuota": 2000,
"sentinelWorkspaceResourceIds": [
"/subscriptions/c4930e90-cd72-4aa5-93e9-2d081d129569/resourceGroups/myRg/providers/Microsoft.OperationalInsights/workspaces/myWorkspace1"
]
],
"onboardingKind": "Default"
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@
"deviceQuota": 2000,
"sentinelWorkspaceResourceIds": [
"/subscriptions/c4930e90-cd72-4aa5-93e9-2d081d129569/resourceGroups/myRg/providers/Microsoft.OperationalInsights/workspaces/myWorkspace1"
]
],
"onboardingKind": "Default"
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@
"deviceQuota": 2000,
"sentinelWorkspaceResourceIds": [
"/subscriptions/c4930e90-cd72-4aa5-93e9-2d081d129569/resourceGroups/myRg/providers/Microsoft.OperationalInsights/workspaces/myWorkspace1"
]
],
"onboardingKind": "Default"
}
}
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
"deviceQuota": 2000,
"sentinelWorkspaceResourceIds": [
"/subscriptions/c4930e90-cd72-4aa5-93e9-2d081d129569/resourceGroups/myRg/providers/Microsoft.OperationalInsights/workspaces/myWorkspace1"
]
],
"onboardingKind": "Default"
}
}
},
Expand All @@ -21,7 +22,8 @@
"deviceQuota": 2000,
"sentinelWorkspaceResourceIds": [
"/subscriptions/c4930e90-cd72-4aa5-93e9-2d081d129569/resourceGroups/myRg/providers/Microsoft.OperationalInsights/workspaces/myWorkspace1"
]
],
"onboardingKind": "Default"
}
}
},
Expand All @@ -34,7 +36,8 @@
"deviceQuota": 2000,
"sentinelWorkspaceResourceIds": [
"/subscriptions/c4930e90-cd72-4aa5-93e9-2d081d129569/resourceGroups/myRg/providers/Microsoft.OperationalInsights/workspaces/myWorkspace1"
]
],
"onboardingKind": "Default"
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -307,11 +307,24 @@
"items": {
"type": "string"
}
},
"onboardingKind": {
"type": "string",
"enum": [
"Default",
"MigratedToAzure"
],
"description": "The kind of onboarding for the subscription",
"x-ms-enum": {
"name": "OnboardingKind",
"modelAsString": true
}
}
},
"required": [
"deviceQuota",
"sentinelWorkspaceResourceIds"
"sentinelWorkspaceResourceIds",
"onboardingKind"
]
},
"DownloadLink": {
Expand Down

0 comments on commit d9b7c90

Please sign in to comment.