Show / Hide Table of Contents

Class SecGroup

Inheritance
System.Object
Resource
CustomResource
SecGroup
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 SecGroup : CustomResource

Constructors

View Source

SecGroup(String, SecGroupArgs, CustomResourceOptions)

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

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

The unique name of the resource

SecGroupArgs 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

AllTags

The collection of tags assigned on the security group, which have been explicitly and implicitly added.

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

DeleteDefaultRules

Whether or not to delete the default egress security rules. This is false by default. See the below note for more information.

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

Description

A unique name for the security group.

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

Name

A unique name for the security group.

Declaration
public Output<string> Name { 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 create a port. If omitted, the region argument of the provider is used. Changing this creates a new security group.

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

Tags

A set of string tags for the security group.

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

TenantId

The owner of the security group. Required if admin wants to create a port for another tenant. Changing this creates a new security group.

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

Methods

View Source

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

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

Declaration
public static SecGroup Get(string name, Input<string> id, SecGroupState 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.

SecGroupState state

Any extra arguments used during the lookup.

CustomResourceOptions options

A bag of options that control this resource's behavior

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