public class PolicyInner
extends com.azure.core.management.Resource
Constructor and Description |
---|
PolicyInner() |
Modifier and Type | Method and Description |
---|---|
OffsetDateTime |
createdDate()
Get the createdDate property: The creation date of the policy.
|
String |
description()
Get the description property: The description of the policy.
|
PolicyEvaluatorType |
evaluatorType()
Get the evaluatorType property: The evaluator type of the policy (i.e.
|
String |
factData()
Get the factData property: The fact data of the policy.
|
PolicyFactName |
factName()
Get the factName property: The fact name of the policy (e.g.
|
String |
provisioningState()
Get the provisioningState property: The provisioning status of the resource.
|
PolicyStatus |
status()
Get the status property: The status of the policy.
|
String |
threshold()
Get the threshold property: The threshold of the policy (i.e.
|
String |
uniqueIdentifier()
Get the uniqueIdentifier property: The unique immutable identifier of a resource (Guid).
|
void |
validate()
Validates the instance.
|
PolicyInner |
withDescription(String description)
Set the description property: The description of the policy.
|
PolicyInner |
withEvaluatorType(PolicyEvaluatorType evaluatorType)
Set the evaluatorType property: The evaluator type of the policy (i.e.
|
PolicyInner |
withFactData(String factData)
Set the factData property: The fact data of the policy.
|
PolicyInner |
withFactName(PolicyFactName factName)
Set the factName property: The fact name of the policy (e.g.
|
PolicyInner |
withLocation(String location) |
PolicyInner |
withStatus(PolicyStatus status)
Set the status property: The status of the policy.
|
PolicyInner |
withTags(Map<String,String> tags) |
PolicyInner |
withThreshold(String threshold)
Set the threshold property: The threshold of the policy (i.e.
|
public String description()
public PolicyInner withDescription(String description)
description
- the description value to set.public PolicyStatus status()
public PolicyInner withStatus(PolicyStatus status)
status
- the status value to set.public PolicyFactName factName()
public PolicyInner withFactName(PolicyFactName factName)
factName
- the factName value to set.public String factData()
public PolicyInner withFactData(String factData)
factData
- the factData value to set.public String threshold()
public PolicyInner withThreshold(String threshold)
threshold
- the threshold value to set.public PolicyEvaluatorType evaluatorType()
public PolicyInner withEvaluatorType(PolicyEvaluatorType evaluatorType)
evaluatorType
- the evaluatorType value to set.public OffsetDateTime createdDate()
public String provisioningState()
public String uniqueIdentifier()
public PolicyInner withLocation(String location)
withLocation
in class com.azure.core.management.Resource
public PolicyInner withTags(Map<String,String> tags)
withTags
in class com.azure.core.management.Resource
public void validate()
IllegalArgumentException
- thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.