public final class PolicyEventInner extends Object
Constructor and Description |
---|
PolicyEventInner() |
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
additionalProperties()
Get the additionalProperties property: Policy event record.
|
String |
complianceState()
Get the complianceState property: Compliance state of the resource.
|
List<ComponentEventDetails> |
components()
Get the components property: Components events records populated only when URL contains $expand=components
clause.
|
String |
effectiveParameters()
Get the effectiveParameters property: Effective parameters for the policy assignment.
|
Boolean |
isCompliant()
Get the isCompliant property: Flag which states whether the resource is compliant against the policy assignment
it was evaluated against.
|
String |
managementGroupIds()
Get the managementGroupIds property: Comma separated list of management group IDs, which represent the hierarchy
of the management groups the resource is under.
|
String |
odataContext()
Get the odataContext property: OData context string; used by OData clients to resolve type information based on
metadata.
|
String |
odataId()
Get the odataId property: OData entity ID; always set to null since policy event records do not have an entity
ID.
|
String |
policyAssignmentId()
Get the policyAssignmentId property: Policy assignment ID.
|
String |
policyAssignmentName()
Get the policyAssignmentName property: Policy assignment name.
|
String |
policyAssignmentOwner()
Get the policyAssignmentOwner property: Policy assignment owner.
|
String |
policyAssignmentParameters()
Get the policyAssignmentParameters property: Policy assignment parameters.
|
String |
policyAssignmentScope()
Get the policyAssignmentScope property: Policy assignment scope.
|
String |
policyDefinitionAction()
Get the policyDefinitionAction property: Policy definition action, i.e.
|
String |
policyDefinitionCategory()
Get the policyDefinitionCategory property: Policy definition category.
|
String |
policyDefinitionId()
Get the policyDefinitionId property: Policy definition ID.
|
String |
policyDefinitionName()
Get the policyDefinitionName property: Policy definition name.
|
String |
policyDefinitionReferenceId()
Get the policyDefinitionReferenceId property: Reference ID for the policy definition inside the policy set, if
the policy assignment is for a policy set.
|
String |
policySetDefinitionCategory()
Get the policySetDefinitionCategory property: Policy set definition category, if the policy assignment is for a
policy set.
|
String |
policySetDefinitionId()
Get the policySetDefinitionId property: Policy set definition ID, if the policy assignment is for a policy set.
|
String |
policySetDefinitionName()
Get the policySetDefinitionName property: Policy set definition name, if the policy assignment is for a policy
set.
|
String |
policySetDefinitionOwner()
Get the policySetDefinitionOwner property: Policy set definition owner, if the policy assignment is for a policy
set.
|
String |
policySetDefinitionParameters()
Get the policySetDefinitionParameters property: Policy set definition parameters, if the policy assignment is for
a policy set.
|
String |
principalOid()
Get the principalOid property: Principal object ID for the user who initiated the resource operation that
triggered the policy event.
|
String |
resourceGroup()
Get the resourceGroup property: Resource group name.
|
String |
resourceId()
Get the resourceId property: Resource ID.
|
String |
resourceLocation()
Get the resourceLocation property: Resource location.
|
String |
resourceTags()
Get the resourceTags property: List of resource tags.
|
String |
resourceType()
Get the resourceType property: Resource type.
|
String |
subscriptionId()
Get the subscriptionId property: Subscription ID.
|
String |
tenantId()
Get the tenantId property: Tenant ID for the policy event record.
|
OffsetDateTime |
timestamp()
Get the timestamp property: Timestamp for the policy event record.
|
void |
validate()
Validates the instance.
|
PolicyEventInner |
withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additionalProperties property: Policy event record.
|
PolicyEventInner |
withComplianceState(String complianceState)
Set the complianceState property: Compliance state of the resource.
|
PolicyEventInner |
withComponents(List<ComponentEventDetails> components)
Set the components property: Components events records populated only when URL contains $expand=components
clause.
|
PolicyEventInner |
withEffectiveParameters(String effectiveParameters)
Set the effectiveParameters property: Effective parameters for the policy assignment.
|
PolicyEventInner |
withIsCompliant(Boolean isCompliant)
Set the isCompliant property: Flag which states whether the resource is compliant against the policy assignment
it was evaluated against.
|
PolicyEventInner |
withManagementGroupIds(String managementGroupIds)
Set the managementGroupIds property: Comma separated list of management group IDs, which represent the hierarchy
of the management groups the resource is under.
|
PolicyEventInner |
withOdataContext(String odataContext)
Set the odataContext property: OData context string; used by OData clients to resolve type information based on
metadata.
|
PolicyEventInner |
withOdataId(String odataId)
Set the odataId property: OData entity ID; always set to null since policy event records do not have an entity
ID.
|
PolicyEventInner |
withPolicyAssignmentId(String policyAssignmentId)
Set the policyAssignmentId property: Policy assignment ID.
|
PolicyEventInner |
withPolicyAssignmentName(String policyAssignmentName)
Set the policyAssignmentName property: Policy assignment name.
|
PolicyEventInner |
withPolicyAssignmentOwner(String policyAssignmentOwner)
Set the policyAssignmentOwner property: Policy assignment owner.
|
PolicyEventInner |
withPolicyAssignmentParameters(String policyAssignmentParameters)
Set the policyAssignmentParameters property: Policy assignment parameters.
|
PolicyEventInner |
withPolicyAssignmentScope(String policyAssignmentScope)
Set the policyAssignmentScope property: Policy assignment scope.
|
PolicyEventInner |
withPolicyDefinitionAction(String policyDefinitionAction)
Set the policyDefinitionAction property: Policy definition action, i.e.
|
PolicyEventInner |
withPolicyDefinitionCategory(String policyDefinitionCategory)
Set the policyDefinitionCategory property: Policy definition category.
|
PolicyEventInner |
withPolicyDefinitionId(String policyDefinitionId)
Set the policyDefinitionId property: Policy definition ID.
|
PolicyEventInner |
withPolicyDefinitionName(String policyDefinitionName)
Set the policyDefinitionName property: Policy definition name.
|
PolicyEventInner |
withPolicyDefinitionReferenceId(String policyDefinitionReferenceId)
Set the policyDefinitionReferenceId property: Reference ID for the policy definition inside the policy set, if
the policy assignment is for a policy set.
|
PolicyEventInner |
withPolicySetDefinitionCategory(String policySetDefinitionCategory)
Set the policySetDefinitionCategory property: Policy set definition category, if the policy assignment is for a
policy set.
|
PolicyEventInner |
withPolicySetDefinitionId(String policySetDefinitionId)
Set the policySetDefinitionId property: Policy set definition ID, if the policy assignment is for a policy set.
|
PolicyEventInner |
withPolicySetDefinitionName(String policySetDefinitionName)
Set the policySetDefinitionName property: Policy set definition name, if the policy assignment is for a policy
set.
|
PolicyEventInner |
withPolicySetDefinitionOwner(String policySetDefinitionOwner)
Set the policySetDefinitionOwner property: Policy set definition owner, if the policy assignment is for a policy
set.
|
PolicyEventInner |
withPolicySetDefinitionParameters(String policySetDefinitionParameters)
Set the policySetDefinitionParameters property: Policy set definition parameters, if the policy assignment is for
a policy set.
|
PolicyEventInner |
withPrincipalOid(String principalOid)
Set the principalOid property: Principal object ID for the user who initiated the resource operation that
triggered the policy event.
|
PolicyEventInner |
withResourceGroup(String resourceGroup)
Set the resourceGroup property: Resource group name.
|
PolicyEventInner |
withResourceId(String resourceId)
Set the resourceId property: Resource ID.
|
PolicyEventInner |
withResourceLocation(String resourceLocation)
Set the resourceLocation property: Resource location.
|
PolicyEventInner |
withResourceTags(String resourceTags)
Set the resourceTags property: List of resource tags.
|
PolicyEventInner |
withResourceType(String resourceType)
Set the resourceType property: Resource type.
|
PolicyEventInner |
withSubscriptionId(String subscriptionId)
Set the subscriptionId property: Subscription ID.
|
PolicyEventInner |
withTenantId(String tenantId)
Set the tenantId property: Tenant ID for the policy event record.
|
PolicyEventInner |
withTimestamp(OffsetDateTime timestamp)
Set the timestamp property: Timestamp for the policy event record.
|
public String odataId()
public PolicyEventInner withOdataId(String odataId)
odataId
- the odataId value to set.public String odataContext()
public PolicyEventInner withOdataContext(String odataContext)
odataContext
- the odataContext value to set.public OffsetDateTime timestamp()
public PolicyEventInner withTimestamp(OffsetDateTime timestamp)
timestamp
- the timestamp value to set.public String resourceId()
public PolicyEventInner withResourceId(String resourceId)
resourceId
- the resourceId value to set.public String policyAssignmentId()
public PolicyEventInner withPolicyAssignmentId(String policyAssignmentId)
policyAssignmentId
- the policyAssignmentId value to set.public String policyDefinitionId()
public PolicyEventInner withPolicyDefinitionId(String policyDefinitionId)
policyDefinitionId
- the policyDefinitionId value to set.public String effectiveParameters()
public PolicyEventInner withEffectiveParameters(String effectiveParameters)
effectiveParameters
- the effectiveParameters value to set.public Boolean isCompliant()
public PolicyEventInner withIsCompliant(Boolean isCompliant)
isCompliant
- the isCompliant value to set.public String subscriptionId()
public PolicyEventInner withSubscriptionId(String subscriptionId)
subscriptionId
- the subscriptionId value to set.public String resourceType()
public PolicyEventInner withResourceType(String resourceType)
resourceType
- the resourceType value to set.public String resourceLocation()
public PolicyEventInner withResourceLocation(String resourceLocation)
resourceLocation
- the resourceLocation value to set.public String resourceGroup()
public PolicyEventInner withResourceGroup(String resourceGroup)
resourceGroup
- the resourceGroup value to set.public String resourceTags()
public PolicyEventInner withResourceTags(String resourceTags)
resourceTags
- the resourceTags value to set.public String policyAssignmentName()
public PolicyEventInner withPolicyAssignmentName(String policyAssignmentName)
policyAssignmentName
- the policyAssignmentName value to set.public String policyAssignmentOwner()
public PolicyEventInner withPolicyAssignmentOwner(String policyAssignmentOwner)
policyAssignmentOwner
- the policyAssignmentOwner value to set.public String policyAssignmentParameters()
public PolicyEventInner withPolicyAssignmentParameters(String policyAssignmentParameters)
policyAssignmentParameters
- the policyAssignmentParameters value to set.public String policyAssignmentScope()
public PolicyEventInner withPolicyAssignmentScope(String policyAssignmentScope)
policyAssignmentScope
- the policyAssignmentScope value to set.public String policyDefinitionName()
public PolicyEventInner withPolicyDefinitionName(String policyDefinitionName)
policyDefinitionName
- the policyDefinitionName value to set.public String policyDefinitionAction()
public PolicyEventInner withPolicyDefinitionAction(String policyDefinitionAction)
policyDefinitionAction
- the policyDefinitionAction value to set.public String policyDefinitionCategory()
public PolicyEventInner withPolicyDefinitionCategory(String policyDefinitionCategory)
policyDefinitionCategory
- the policyDefinitionCategory value to set.public String policySetDefinitionId()
public PolicyEventInner withPolicySetDefinitionId(String policySetDefinitionId)
policySetDefinitionId
- the policySetDefinitionId value to set.public String policySetDefinitionName()
public PolicyEventInner withPolicySetDefinitionName(String policySetDefinitionName)
policySetDefinitionName
- the policySetDefinitionName value to set.public String policySetDefinitionOwner()
public PolicyEventInner withPolicySetDefinitionOwner(String policySetDefinitionOwner)
policySetDefinitionOwner
- the policySetDefinitionOwner value to set.public String policySetDefinitionCategory()
public PolicyEventInner withPolicySetDefinitionCategory(String policySetDefinitionCategory)
policySetDefinitionCategory
- the policySetDefinitionCategory value to set.public String policySetDefinitionParameters()
public PolicyEventInner withPolicySetDefinitionParameters(String policySetDefinitionParameters)
policySetDefinitionParameters
- the policySetDefinitionParameters value to set.public String managementGroupIds()
public PolicyEventInner withManagementGroupIds(String managementGroupIds)
managementGroupIds
- the managementGroupIds value to set.public String policyDefinitionReferenceId()
public PolicyEventInner withPolicyDefinitionReferenceId(String policyDefinitionReferenceId)
policyDefinitionReferenceId
- the policyDefinitionReferenceId value to set.public String complianceState()
public PolicyEventInner withComplianceState(String complianceState)
complianceState
- the complianceState value to set.public String tenantId()
public PolicyEventInner withTenantId(String tenantId)
tenantId
- the tenantId value to set.public String principalOid()
public PolicyEventInner withPrincipalOid(String principalOid)
principalOid
- the principalOid value to set.public List<ComponentEventDetails> components()
public PolicyEventInner withComponents(List<ComponentEventDetails> components)
components
- the components value to set.public Map<String,Object> additionalProperties()
public PolicyEventInner withAdditionalProperties(Map<String,Object> additionalProperties)
additionalProperties
- the additionalProperties value to set.public void validate()
IllegalArgumentException
- thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.