Class PortSecGroupAssociateArgs


  • public final class PortSecGroupAssociateArgs
    extends com.pulumi.resources.ResourceArgs
    • Method Detail

      • enforce

        public java.util.Optional<com.pulumi.core.Output<java.lang.Boolean>> enforce()
        Returns:
        Whether to replace or append the list of security groups, specified in the `security_group_ids`. Defaults to `false`.
      • portId

        public com.pulumi.core.Output<java.lang.String> portId()
        Returns:
        An UUID of the port to apply security groups to.
      • 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 manage a port. If omitted, the `region` argument of the provider is used. Changing this creates a new resource.
      • securityGroupIds

        public com.pulumi.core.Output<java.util.List<java.lang.String>> securityGroupIds()
        Returns:
        A list of security group IDs to apply to the port. The security groups must be specified by ID and not name (as opposed to how they are configured with the Compute Instance).