Show / Hide Table of Contents

Class PortSecGroupAssociate

Inheritance
System.Object
Resource
CustomResource
PortSecGroupAssociate
Inherited Members
CustomResource.Id
Resource.GetResourceType()
Resource.GetResourceName()
Resource.Urn
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.OpenStack.Networking
Assembly: Pulumi.OpenStack.dll
Syntax
public class PortSecGroupAssociate : CustomResource

Constructors

View Source

PortSecGroupAssociate(String, PortSecGroupAssociateArgs, CustomResourceOptions)

Create a PortSecGroupAssociate resource with the given unique name, arguments, and options.

Declaration
public PortSecGroupAssociate(string name, PortSecGroupAssociateArgs args, CustomResourceOptions options = null)
Parameters
Type Name Description
System.String name

The unique name of the resource

PortSecGroupAssociateArgs args

The arguments used to populate this resource's properties

CustomResourceOptions options

A bag of options that control this resource's behavior

Properties

View Source

AllSecurityGroupIds

The collection of Security Group IDs on the port which have been explicitly and implicitly added.

Declaration
public Output<ImmutableArray<string>> AllSecurityGroupIds { get; }
Property Value
Type Description
Output<System.Collections.Immutable.ImmutableArray<System.String>>
View Source

Enforce

Whether to replace or append the list of security groups, specified in the security_group_ids. Defaults to false.

Declaration
public Output<bool?> Enforce { get; }
Property Value
Type Description
Output<System.Nullable<System.Boolean>>
View Source

PortId

An UUID of the port to apply security groups to.

Declaration
public Output<string> PortId { get; }
Property Value
Type Description
Output<System.String>
View Source

Region

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.

Declaration
public Output<string> Region { get; }
Property Value
Type Description
Output<System.String>
View Source

SecurityGroupIds

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).

Declaration
public Output<ImmutableArray<string>> SecurityGroupIds { get; }
Property Value
Type Description
Output<System.Collections.Immutable.ImmutableArray<System.String>>

Methods

View Source

Get(String, Input<String>, PortSecGroupAssociateState, CustomResourceOptions)

Get an existing PortSecGroupAssociate resource's state with the given name, ID, and optional extra properties used to qualify the lookup.

Declaration
public static PortSecGroupAssociate Get(string name, Input<string> id, PortSecGroupAssociateState state = null, CustomResourceOptions options = null)
Parameters
Type Name Description
System.String name

The unique name of the resulting resource.

Input<System.String> id

The unique provider ID of the resource to lookup.

PortSecGroupAssociateState state

Any extra arguments used during the lookup.

CustomResourceOptions options

A bag of options that control this resource's behavior

Returns
Type Description
PortSecGroupAssociate
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.