Package com.pulumi.openstack.firewall
Class PolicyV2Args
- java.lang.Object
-
- com.pulumi.resources.InputArgs
-
- com.pulumi.resources.ResourceArgs
-
- com.pulumi.openstack.firewall.PolicyV2Args
-
public final class PolicyV2Args extends com.pulumi.resources.ResourceArgs
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPolicyV2Args.Builder
-
Field Summary
Fields Modifier and Type Field Description static PolicyV2ArgsEmpty
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Optional<com.pulumi.core.Output<java.lang.Boolean>>audited()static PolicyV2Args.Builderbuilder()static PolicyV2Args.Builderbuilder(PolicyV2Args defaults)java.util.Optional<com.pulumi.core.Output<java.lang.String>>description()java.util.Optional<com.pulumi.core.Output<java.lang.String>>name()java.util.Optional<com.pulumi.core.Output<java.lang.String>>projectId()java.util.Optional<com.pulumi.core.Output<java.lang.String>>region()java.util.Optional<com.pulumi.core.Output<java.util.List<java.lang.String>>>rules()java.util.Optional<com.pulumi.core.Output<java.lang.Boolean>>shared()java.util.Optional<com.pulumi.core.Output<java.lang.String>>tenantId()
-
-
-
Field Detail
-
Empty
public static final PolicyV2Args Empty
-
-
Method Detail
-
audited
public java.util.Optional<com.pulumi.core.Output<java.lang.Boolean>> audited()
- Returns:
- Audit status of the firewall policy (must be "true" or "false" if provided - defaults to "false"). This status is set to "false" whenever the firewall policy or any of its rules are changed. Changing this updates the `audited` status of an existing firewall policy.
-
description
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> description()
- Returns:
- A description for the firewall policy. Changing this updates the `description` of an existing firewall policy.
-
name
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> name()
- Returns:
- A name for the firewall policy. Changing this updates the `name` of an existing firewall policy.
-
projectId
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> projectId()
- Returns:
- This argument conflicts and is interchangeable with `tenant_id`. The owner of the firewall policy. Required if admin wants to create a firewall policy for another project. Changing this creates a new firewall policy.
-
region
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> region()
- Returns:
- The region in which to obtain the v2 networking client. A networking client is needed to create a firewall policy. If omitted, the `region` argument of the provider is used. Changing this creates a new firewall policy.
-
rules
public java.util.Optional<com.pulumi.core.Output<java.util.List<java.lang.String>>> rules()
- Returns:
- An array of one or more firewall rules that comprise the policy. Changing this results in adding/removing rules from the existing firewall policy.
-
shared
public java.util.Optional<com.pulumi.core.Output<java.lang.Boolean>> shared()
- Returns:
- Sharing status of the firewall policy (must be "true" or "false" if provided). If this is "true" the policy is visible to, and can be used in, firewalls in other tenants. Changing this updates the `shared` status of an existing firewall policy. Only administrative users can specify if the policy should be shared.
-
tenantId
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> tenantId()
- Returns:
- This argument conflicts and is interchangeable with `project_id`. The owner of the firewall policy. Required if admin wants to create a firewall policy for another tenant. Changing this creates a new firewall policy.
-
builder
public static PolicyV2Args.Builder builder()
-
builder
public static PolicyV2Args.Builder builder(PolicyV2Args defaults)
-
-