PolicyLogInfo Class

  • java.lang.Object
    • com.azure.resourcemanager.resources.models.PolicyLogInfo

Implements

public final class PolicyLogInfo
implements JsonSerializable<PolicyLogInfo>

The policy log info.

Method Summary

Modifier and Type Method and Description
static PolicyLogInfo fromJson(JsonReader jsonReader)

Reads an instance of PolicyLogInfo from the JsonReader.

String policyAssignmentId()

Get the policyAssignmentId property: The policy assignment Id.

String policyAssignmentName()

Get the policyAssignmentName property: The policy assignment name.

String policyAssignmentScope()

Get the policyAssignmentScope property: The policy assignment scope.

String policyAssignmentVersion()

Get the policyAssignmentVersion property: The policy assignment version.

String policyDefinitionEffect()

Get the policyDefinitionEffect property: The policy definition action.

String policyDefinitionId()

Get the policyDefinitionId property: The policy definition Id.

String policyDefinitionName()

Get the policyDefinitionName property: The policy definition name.

String policyDefinitionReferenceId()

Get the policyDefinitionReferenceId property: The policy definition instance Id inside a policy set.

String policyDefinitionVersion()

Get the policyDefinitionVersion property: The policy definition version.

String policySetDefinitionId()

Get the policySetDefinitionId property: The policy set definition Id.

String policySetDefinitionName()

Get the policySetDefinitionName property: The policy set definition name.

String policySetDefinitionVersion()

Get the policySetDefinitionVersion property: The policy set definition version.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Method Details

fromJson

public static PolicyLogInfo fromJson(JsonReader jsonReader)

Reads an instance of PolicyLogInfo from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of PolicyLogInfo if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the PolicyLogInfo.

policyAssignmentId

public String policyAssignmentId()

Get the policyAssignmentId property: The policy assignment Id.

Returns:

the policyAssignmentId value.

policyAssignmentName

public String policyAssignmentName()

Get the policyAssignmentName property: The policy assignment name.

Returns:

the policyAssignmentName value.

policyAssignmentScope

public String policyAssignmentScope()

Get the policyAssignmentScope property: The policy assignment scope.

Returns:

the policyAssignmentScope value.

policyAssignmentVersion

public String policyAssignmentVersion()

Get the policyAssignmentVersion property: The policy assignment version.

Returns:

the policyAssignmentVersion value.

policyDefinitionEffect

public String policyDefinitionEffect()

Get the policyDefinitionEffect property: The policy definition action.

Returns:

the policyDefinitionEffect value.

policyDefinitionId

public String policyDefinitionId()

Get the policyDefinitionId property: The policy definition Id.

Returns:

the policyDefinitionId value.

policyDefinitionName

public String policyDefinitionName()

Get the policyDefinitionName property: The policy definition name.

Returns:

the policyDefinitionName value.

policyDefinitionReferenceId

public String policyDefinitionReferenceId()

Get the policyDefinitionReferenceId property: The policy definition instance Id inside a policy set.

Returns:

the policyDefinitionReferenceId value.

policyDefinitionVersion

public String policyDefinitionVersion()

Get the policyDefinitionVersion property: The policy definition version.

Returns:

the policyDefinitionVersion value.

policySetDefinitionId

public String policySetDefinitionId()

Get the policySetDefinitionId property: The policy set definition Id.

Returns:

the policySetDefinitionId value.

policySetDefinitionName

public String policySetDefinitionName()

Get the policySetDefinitionName property: The policy set definition name.

Returns:

the policySetDefinitionName value.

policySetDefinitionVersion

public String policySetDefinitionVersion()

Get the policySetDefinitionVersion property: The policy set definition version.

Returns:

the policySetDefinitionVersion value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to