AuthorizationPolicyState class
Input properties used for looking up and filtering AuthorizationPolicy resources.
Constructors
-
AuthorizationPolicyState({Input<
String?> ? action, Input<String?> ? createTime, Input<String?> ? deletionPolicy, Input<String?> ? description, Input<Map< ? effectiveLabels, Input<String, String> ?>Map< ? labels, Input<String, String> ?>String?> ? location, Input<String?> ? name, Input<String?> ? project, Input<Map< ? pulumiLabels, Input<String, String> ?>List< ? rules, Input<AuthorizationPolicyRule> ?>String?> ? updateTime}) -
Creates a new AuthorizationPolicyState.
actionThe action to take when a rule match is found. Possible values are "ALLOW" or "DENY".createTimeTime the AuthorizationPolicy was created in UTC.deletionPolicyWhether Terraform will be prevented from destroying the resource. Defaults to DELETE.descriptionA free-text description of the resource. Max length 1024 characters.effectiveLabelsAll of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.labelsSet of label tags associated with the AuthorizationPolicy resource.locationThe location of the authorization policy.nameName of the AuthorizationPolicy resource.projectThe ID of the project in which the resource belongs.pulumiLabelsThe combination of labels configured directly on the resourcerulesList of rules to match. Note that at least one of the rules must match in order for the action specified in the 'action' field to be taken.updateTimeTime the AuthorizationPolicy was updated in UTC.const -
AuthorizationPolicyState.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
action
→ Input<
String?> ? -
The action to take when a rule match is found. Possible values are "ALLOW" or "DENY".
Possible values are:
ALLOW,DENY.final -
createTime
→ Input<
String?> ? -
Time the AuthorizationPolicy was created in UTC.
final
-
deletionPolicy
→ Input<
String?> ? -
Whether Terraform will be prevented from destroying the resource. Defaults to DELETE.
When a 'terraform destroy' or 'pulumi up' would delete the resource,
the command will fail if this field is set to "PREVENT" in Terraform state.
When set to "ABANDON", the command will remove the resource from Terraform
management without updating or deleting the resource in the API.
When set to "DELETE", deleting the resource is allowed.
final
-
description
→ Input<
String?> ? -
A free-text description of the resource. Max length 1024 characters.
final
-
effectiveLabels
→ Input<
Map< ?String, String> ?> -
All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
labels
→ Input<
Map< ?String, String> ?> -
Set of label tags associated with the AuthorizationPolicy resource.
Note: This field is non-authoritative, and will only manage the labels present in your configuration.
Please refer to the field
effectiveLabelsfor all of the labels present on the resource.final -
location
→ Input<
String?> ? -
The location of the authorization policy.
The default value is
global.final -
name
→ Input<
String?> ? -
Name of the AuthorizationPolicy resource.
final
-
project
→ Input<
String?> ? -
The ID of the project in which the resource belongs.
If it is not provided, the provider project is used.
final
-
pulumiLabels
→ Input<
Map< ?String, String> ?> -
The combination of labels configured directly on the resource
and default labels configured on the provider.
final
-
rules
→ Input<
List< ?AuthorizationPolicyRule> ?> -
List of rules to match. Note that at least one of the rules must match in order for the action specified in the 'action' field to be taken.
A rule is a match if there is a matching source and destination. If left blank, the action specified in the action field will be applied on every request.
Structure is documented below.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
updateTime
→ Input<
String?> ? -
Time the AuthorizationPolicy was updated in UTC.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited