
com.pulumi.azurenative.authorization.outputs.GetPolicyAssignmentResult Maven / Gradle / Ivy
// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
package com.pulumi.azurenative.authorization.outputs;
import com.pulumi.azurenative.authorization.outputs.IdentityResponse;
import com.pulumi.azurenative.authorization.outputs.NonComplianceMessageResponse;
import com.pulumi.azurenative.authorization.outputs.OverrideResponse;
import com.pulumi.azurenative.authorization.outputs.ParameterValuesValueResponse;
import com.pulumi.azurenative.authorization.outputs.ResourceSelectorResponse;
import com.pulumi.azurenative.authorization.outputs.SystemDataResponse;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Object;
import java.lang.String;
import java.util.List;
import java.util.Map;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class GetPolicyAssignmentResult {
/**
* @return This message will be part of response in case of policy violation.
*
*/
private @Nullable String description;
/**
* @return The display name of the policy assignment.
*
*/
private @Nullable String displayName;
/**
* @return The policy assignment enforcement mode. Possible values are Default and DoNotEnforce.
*
*/
private @Nullable String enforcementMode;
/**
* @return The ID of the policy assignment.
*
*/
private String id;
/**
* @return The managed identity associated with the policy assignment.
*
*/
private @Nullable IdentityResponse identity;
/**
* @return The location of the policy assignment. Only required when utilizing managed identity.
*
*/
private @Nullable String location;
/**
* @return The policy assignment metadata. Metadata is an open ended object and is typically a collection of key value pairs.
*
*/
private @Nullable Object metadata;
/**
* @return The name of the policy assignment.
*
*/
private String name;
/**
* @return The messages that describe why a resource is non-compliant with the policy.
*
*/
private @Nullable List nonComplianceMessages;
/**
* @return The policy's excluded scopes.
*
*/
private @Nullable List notScopes;
/**
* @return The policy property value override.
*
*/
private @Nullable List overrides;
/**
* @return The parameter values for the assigned policy rule. The keys are the parameter names.
*
*/
private @Nullable Map parameters;
/**
* @return The ID of the policy definition or policy set definition being assigned.
*
*/
private @Nullable String policyDefinitionId;
/**
* @return The resource selector list to filter policies by resource properties.
*
*/
private @Nullable List resourceSelectors;
/**
* @return The scope for the policy assignment.
*
*/
private String scope;
/**
* @return The system metadata relating to this resource.
*
*/
private SystemDataResponse systemData;
/**
* @return The type of the policy assignment.
*
*/
private String type;
private GetPolicyAssignmentResult() {}
/**
* @return This message will be part of response in case of policy violation.
*
*/
public Optional description() {
return Optional.ofNullable(this.description);
}
/**
* @return The display name of the policy assignment.
*
*/
public Optional displayName() {
return Optional.ofNullable(this.displayName);
}
/**
* @return The policy assignment enforcement mode. Possible values are Default and DoNotEnforce.
*
*/
public Optional enforcementMode() {
return Optional.ofNullable(this.enforcementMode);
}
/**
* @return The ID of the policy assignment.
*
*/
public String id() {
return this.id;
}
/**
* @return The managed identity associated with the policy assignment.
*
*/
public Optional identity() {
return Optional.ofNullable(this.identity);
}
/**
* @return The location of the policy assignment. Only required when utilizing managed identity.
*
*/
public Optional location() {
return Optional.ofNullable(this.location);
}
/**
* @return The policy assignment metadata. Metadata is an open ended object and is typically a collection of key value pairs.
*
*/
public Optional
© 2015 - 2025 Weber Informatics LLC | Privacy Policy