PolicyLogInfo Class
- java.
lang. Object - com.
azure. resourcemanager. resources. models. PolicyLogInfo
- com.
Implements
public final class PolicyLogInfo
implements JsonSerializable<PolicyLogInfo>
The policy log info.
Constructor Summary
| Constructor | Description |
|---|---|
| PolicyLogInfo() |
Creates an instance of Policy |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
ancestors()
Get the ancestors property: The management group ancestors. |
| String |
complianceReasonCode()
Get the compliance |
|
static
Policy |
fromJson(JsonReader jsonReader)
Reads an instance of Policy |
| String |
policyAssignmentDisplayName()
Get the policy |
| String |
policyAssignmentId()
Get the policy |
| String |
policyAssignmentName()
Get the policy |
| String |
policyAssignmentScope()
Get the policy |
| String |
policyAssignmentVersion()
Get the policy |
| String |
policyDefinitionDisplayName()
Get the policy |
| String |
policyDefinitionEffect()
Get the policy |
| List<String> |
policyDefinitionGroupNames()
Get the policy |
| String |
policyDefinitionId()
Get the policy |
| String |
policyDefinitionName()
Get the policy |
| String |
policyDefinitionReferenceId()
Get the policy |
| String |
policyDefinitionVersion()
Get the policy |
| List<String> |
policyExemptionIds()
Get the policy |
| String |
policySetDefinitionCategory()
Get the policy |
| String |
policySetDefinitionDisplayName()
Get the policy |
| String |
policySetDefinitionId()
Get the policy |
| String |
policySetDefinitionName()
Get the policy |
| String |
policySetDefinitionVersion()
Get the policy |
| String |
resourceLocation()
Get the resource |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Policy |
withAncestors(String ancestors)
Set the ancestors property: The management group ancestors. |
|
Policy |
withComplianceReasonCode(String complianceReasonCode)
Set the compliance |
|
Policy |
withPolicyAssignmentDisplayName(String policyAssignmentDisplayName)
Set the policy |
|
Policy |
withPolicyAssignmentId(String policyAssignmentId)
Set the policy |
|
Policy |
withPolicyAssignmentName(String policyAssignmentName)
Set the policy |
|
Policy |
withPolicyAssignmentScope(String policyAssignmentScope)
Set the policy |
|
Policy |
withPolicyAssignmentVersion(String policyAssignmentVersion)
Set the policy |
|
Policy |
withPolicyDefinitionDisplayName(String policyDefinitionDisplayName)
Set the policy |
|
Policy |
withPolicyDefinitionEffect(String policyDefinitionEffect)
Set the policy |
|
Policy |
withPolicyDefinitionGroupNames(List<String> policyDefinitionGroupNames)
Set the policy |
|
Policy |
withPolicyDefinitionId(String policyDefinitionId)
Set the policy |
|
Policy |
withPolicyDefinitionName(String policyDefinitionName)
Set the policy |
|
Policy |
withPolicyDefinitionReferenceId(String policyDefinitionReferenceId)
Set the policy |
|
Policy |
withPolicyDefinitionVersion(String policyDefinitionVersion)
Set the policy |
|
Policy |
withPolicyExemptionIds(List<String> policyExemptionIds)
Set the policy |
|
Policy |
withPolicySetDefinitionCategory(String policySetDefinitionCategory)
Set the policy |
|
Policy |
withPolicySetDefinitionDisplayName(String policySetDefinitionDisplayName)
Set the policy |
|
Policy |
withPolicySetDefinitionId(String policySetDefinitionId)
Set the policy |
|
Policy |
withPolicySetDefinitionName(String policySetDefinitionName)
Set the policy |
|
Policy |
withPolicySetDefinitionVersion(String policySetDefinitionVersion)
Set the policy |
|
Policy |
withResourceLocation(String resourceLocation)
Set the resource |
Methods inherited from java.lang.Object
Constructor Details
PolicyLogInfo
public PolicyLogInfo()
Creates an instance of PolicyLogInfo class.
Method Details
ancestors
public String ancestors()
Get the ancestors property: The management group ancestors.
Returns:
complianceReasonCode
public String complianceReasonCode()
Get the complianceReasonCode property: The policy compliance reason code.
Returns:
fromJson
public static PolicyLogInfo fromJson(JsonReader jsonReader)
Reads an instance of PolicyLogInfo from the JsonReader.
Parameters:
Returns:
Throws:
policyAssignmentDisplayName
public String policyAssignmentDisplayName()
Get the policyAssignmentDisplayName property: The policy assignment display name.
Returns:
policyAssignmentId
public String policyAssignmentId()
Get the policyAssignmentId property: The policy assignment Id.
Returns:
policyAssignmentName
public String policyAssignmentName()
Get the policyAssignmentName property: The policy assignment name.
Returns:
policyAssignmentScope
public String policyAssignmentScope()
Get the policyAssignmentScope property: The policy assignment scope.
Returns:
policyAssignmentVersion
public String policyAssignmentVersion()
Get the policyAssignmentVersion property: The policy assignment version.
Returns:
policyDefinitionDisplayName
public String policyDefinitionDisplayName()
Get the policyDefinitionDisplayName property: The policy definition display name.
Returns:
policyDefinitionEffect
public String policyDefinitionEffect()
Get the policyDefinitionEffect property: The policy definition action.
Returns:
policyDefinitionGroupNames
public List<String> policyDefinitionGroupNames()
Get the policyDefinitionGroupNames property: An array of policy definition group names.
Returns:
policyDefinitionId
public String policyDefinitionId()
Get the policyDefinitionId property: The policy definition Id.
Returns:
policyDefinitionName
public String policyDefinitionName()
Get the policyDefinitionName property: The policy definition name.
Returns:
policyDefinitionReferenceId
public String policyDefinitionReferenceId()
Get the policyDefinitionReferenceId property: The policy definition instance Id inside a policy set.
Returns:
policyDefinitionVersion
public String policyDefinitionVersion()
Get the policyDefinitionVersion property: The policy definition version.
Returns:
policyExemptionIds
public List<String> policyExemptionIds()
Get the policyExemptionIds property: An array of policy exemption Ids.
Returns:
policySetDefinitionCategory
public String policySetDefinitionCategory()
Get the policySetDefinitionCategory property: The policy set definition category.
Returns:
policySetDefinitionDisplayName
public String policySetDefinitionDisplayName()
Get the policySetDefinitionDisplayName property: The policy set definition display name.
Returns:
policySetDefinitionId
public String policySetDefinitionId()
Get the policySetDefinitionId property: The policy set definition Id.
Returns:
policySetDefinitionName
public String policySetDefinitionName()
Get the policySetDefinitionName property: The policy set definition name.
Returns:
policySetDefinitionVersion
public String policySetDefinitionVersion()
Get the policySetDefinitionVersion property: The policy set definition version.
Returns:
resourceLocation
public String resourceLocation()
Get the resourceLocation property: The resource location.
Returns:
toJson
validate
public void validate()
Validates the instance.
withAncestors
public PolicyLogInfo withAncestors(String ancestors)
Set the ancestors property: The management group ancestors.
Parameters:
Returns:
withComplianceReasonCode
public PolicyLogInfo withComplianceReasonCode(String complianceReasonCode)
Set the complianceReasonCode property: The policy compliance reason code.
Parameters:
Returns:
withPolicyAssignmentDisplayName
public PolicyLogInfo withPolicyAssignmentDisplayName(String policyAssignmentDisplayName)
Set the policyAssignmentDisplayName property: The policy assignment display name.
Parameters:
Returns:
withPolicyAssignmentId
public PolicyLogInfo withPolicyAssignmentId(String policyAssignmentId)
Set the policyAssignmentId property: The policy assignment Id.
Parameters:
Returns:
withPolicyAssignmentName
public PolicyLogInfo withPolicyAssignmentName(String policyAssignmentName)
Set the policyAssignmentName property: The policy assignment name.
Parameters:
Returns:
withPolicyAssignmentScope
public PolicyLogInfo withPolicyAssignmentScope(String policyAssignmentScope)
Set the policyAssignmentScope property: The policy assignment scope.
Parameters:
Returns:
withPolicyAssignmentVersion
public PolicyLogInfo withPolicyAssignmentVersion(String policyAssignmentVersion)
Set the policyAssignmentVersion property: The policy assignment version.
Parameters:
Returns:
withPolicyDefinitionDisplayName
public PolicyLogInfo withPolicyDefinitionDisplayName(String policyDefinitionDisplayName)
Set the policyDefinitionDisplayName property: The policy definition display name.
Parameters:
Returns:
withPolicyDefinitionEffect
public PolicyLogInfo withPolicyDefinitionEffect(String policyDefinitionEffect)
Set the policyDefinitionEffect property: The policy definition action.
Parameters:
Returns:
withPolicyDefinitionGroupNames
public PolicyLogInfo withPolicyDefinitionGroupNames(List<String> policyDefinitionGroupNames)
Set the policyDefinitionGroupNames property: An array of policy definition group names.
Parameters:
Returns:
withPolicyDefinitionId
public PolicyLogInfo withPolicyDefinitionId(String policyDefinitionId)
Set the policyDefinitionId property: The policy definition Id.
Parameters:
Returns:
withPolicyDefinitionName
public PolicyLogInfo withPolicyDefinitionName(String policyDefinitionName)
Set the policyDefinitionName property: The policy definition name.
Parameters:
Returns:
withPolicyDefinitionReferenceId
public PolicyLogInfo withPolicyDefinitionReferenceId(String policyDefinitionReferenceId)
Set the policyDefinitionReferenceId property: The policy definition instance Id inside a policy set.
Parameters:
Returns:
withPolicyDefinitionVersion
public PolicyLogInfo withPolicyDefinitionVersion(String policyDefinitionVersion)
Set the policyDefinitionVersion property: The policy definition version.
Parameters:
Returns:
withPolicyExemptionIds
public PolicyLogInfo withPolicyExemptionIds(List<String> policyExemptionIds)
Set the policyExemptionIds property: An array of policy exemption Ids.
Parameters:
Returns:
withPolicySetDefinitionCategory
public PolicyLogInfo withPolicySetDefinitionCategory(String policySetDefinitionCategory)
Set the policySetDefinitionCategory property: The policy set definition category.
Parameters:
Returns:
withPolicySetDefinitionDisplayName
public PolicyLogInfo withPolicySetDefinitionDisplayName(String policySetDefinitionDisplayName)
Set the policySetDefinitionDisplayName property: The policy set definition display name.
Parameters:
Returns:
withPolicySetDefinitionId
public PolicyLogInfo withPolicySetDefinitionId(String policySetDefinitionId)
Set the policySetDefinitionId property: The policy set definition Id.
Parameters:
Returns:
withPolicySetDefinitionName
public PolicyLogInfo withPolicySetDefinitionName(String policySetDefinitionName)
Set the policySetDefinitionName property: The policy set definition name.
Parameters:
Returns:
withPolicySetDefinitionVersion
public PolicyLogInfo withPolicySetDefinitionVersion(String policySetDefinitionVersion)
Set the policySetDefinitionVersion property: The policy set definition version.
Parameters:
Returns:
withResourceLocation
public PolicyLogInfo withResourceLocation(String resourceLocation)
Set the resourceLocation property: The resource location.
Parameters:
Returns: