public final class ClassificationRulesBaseClient extends Object
Modifier and Type | Method and Description |
---|---|
DynamicRequest |
createOrUpdate(String classificationRuleName)
Creates or Updates a classification rule.
|
DynamicRequest |
delete(String classificationRuleName)
Deletes a classification rule.
|
DynamicRequest |
get(String classificationRuleName)
Get a classification rule.
|
DynamicRequest |
invoke()
Create an empty DynamicRequest with the serializer and pipeline initialized for this client.
|
DynamicRequest |
listAll()
List classification rules in Account.
|
DynamicRequest |
listAllNext(String nextLink)
Get the next page of items.
|
DynamicRequest |
listVersionsByClassificationRuleName(String classificationRuleName)
Lists the rule versions of a classification rule.
|
DynamicRequest |
listVersionsByClassificationRuleNameNext(String nextLink)
Get the next page of items.
|
DynamicRequest |
tagClassificationVersion(String classificationRuleName,
int classificationRuleVersion,
String action)
Sets Classification Action on a specific classification rule version.
|
public DynamicRequest get(String classificationRuleName)
Response Body Schema
{
id: String
name: String
}
classificationRuleName
- The classificationRuleName parameter.public DynamicRequest createOrUpdate(String classificationRuleName)
Request Body Schema
{
id: String
name: String
}
Response Body Schema
(recursive schema, see above)
classificationRuleName
- The classificationRuleName parameter.public DynamicRequest delete(String classificationRuleName)
Response Body Schema
{
id: String
name: String
}
classificationRuleName
- The classificationRuleName parameter.public DynamicRequest listAll()
Response Body Schema
{
value: [
{
id: String
name: String
}
]
nextLink: String
count: Long
}
public DynamicRequest listVersionsByClassificationRuleName(String classificationRuleName)
Response Body Schema
{
value: [
{
id: String
name: String
}
]
nextLink: String
count: Long
}
classificationRuleName
- The classificationRuleName parameter.public DynamicRequest tagClassificationVersion(String classificationRuleName, int classificationRuleVersion, String action)
Response Body Schema
{
scanResultId: UUID
startTime: OffsetDateTime
endTime: OffsetDateTime
status: String(Accepted/InProgress/TransientFailure/Succeeded/Failed/Canceled)
error: {
code: String
message: String
target: String
details: [
{
code: String
message: String
target: String
details: [
(recursive schema, see above)
]
}
]
}
}
classificationRuleName
- The classificationRuleName parameter.classificationRuleVersion
- The classificationRuleVersion parameter.action
- The action parameter.public DynamicRequest listAllNext(String nextLink)
Response Body Schema
{
value: [
{
id: String
name: String
}
]
nextLink: String
count: Long
}
nextLink
- The nextLink parameter.public DynamicRequest listVersionsByClassificationRuleNameNext(String nextLink)
Response Body Schema
{
value: [
{
id: String
name: String
}
]
nextLink: String
count: Long
}
nextLink
- The nextLink parameter.public DynamicRequest invoke()
Copyright © 2021. All rights reserved.