Yandex

Pulumi Official
Package maintained by Pulumi
v0.13.0 published on Tuesday, Feb 22, 2022 by Pulumi

VpcDefaultSecurityGroup

Create a VpcDefaultSecurityGroup Resource

new VpcDefaultSecurityGroup(name: string, args: VpcDefaultSecurityGroupArgs, opts?: CustomResourceOptions);
@overload
def VpcDefaultSecurityGroup(resource_name: str,
                            opts: Optional[ResourceOptions] = None,
                            description: Optional[str] = None,
                            egresses: Optional[Sequence[VpcDefaultSecurityGroupEgressArgs]] = None,
                            folder_id: Optional[str] = None,
                            ingresses: Optional[Sequence[VpcDefaultSecurityGroupIngressArgs]] = None,
                            labels: Optional[Mapping[str, str]] = None,
                            network_id: Optional[str] = None)
@overload
def VpcDefaultSecurityGroup(resource_name: str,
                            args: VpcDefaultSecurityGroupArgs,
                            opts: Optional[ResourceOptions] = None)
func NewVpcDefaultSecurityGroup(ctx *Context, name string, args VpcDefaultSecurityGroupArgs, opts ...ResourceOption) (*VpcDefaultSecurityGroup, error)
public VpcDefaultSecurityGroup(string name, VpcDefaultSecurityGroupArgs args, CustomResourceOptions? opts = null)
public VpcDefaultSecurityGroup(String name, VpcDefaultSecurityGroupArgs args)
public VpcDefaultSecurityGroup(String name, VpcDefaultSecurityGroupArgs args, CustomResourceOptions options)
type: yandex:VpcDefaultSecurityGroup
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args VpcDefaultSecurityGroupArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
args VpcDefaultSecurityGroupArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name string
The unique name of the resource.
args VpcDefaultSecurityGroupArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args VpcDefaultSecurityGroupArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args VpcDefaultSecurityGroupArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

VpcDefaultSecurityGroup Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

The VpcDefaultSecurityGroup resource accepts the following input properties:

NetworkId string

ID of the network this security group belongs to.

Description string

Description of the security group.

Egresses List<VpcDefaultSecurityGroupEgressArgs>

A list of egress rules. The structure is documented below.

FolderId string

ID of the folder this security group belongs to.

Ingresses List<VpcDefaultSecurityGroupIngressArgs>

A list of ingress rules.

Labels Dictionary<string, string>

Labels to assign to this security group.

NetworkId string

ID of the network this security group belongs to.

Description string

Description of the security group.

Egresses []VpcDefaultSecurityGroupEgressArgs

A list of egress rules. The structure is documented below.

FolderId string

ID of the folder this security group belongs to.

Ingresses []VpcDefaultSecurityGroupIngressArgs

A list of ingress rules.

Labels map[string]string

Labels to assign to this security group.

networkId String

ID of the network this security group belongs to.

description String

Description of the security group.

egresses ListDefaultSecurityGroupEgressArgs>

A list of egress rules. The structure is documented below.

folderId String

ID of the folder this security group belongs to.

ingresses ListDefaultSecurityGroupIngressArgs>

A list of ingress rules.

labels Map

Labels to assign to this security group.

networkId string

ID of the network this security group belongs to.

description string

Description of the security group.

egresses VpcDefaultSecurityGroupEgressArgs[]

A list of egress rules. The structure is documented below.

folderId string

ID of the folder this security group belongs to.

ingresses VpcDefaultSecurityGroupIngressArgs[]

A list of ingress rules.

labels {[key: string]: string}

Labels to assign to this security group.

network_id str

ID of the network this security group belongs to.

description str

Description of the security group.

egresses Sequence[VpcDefaultSecurityGroupEgressArgs]

A list of egress rules. The structure is documented below.

folder_id str

ID of the folder this security group belongs to.

ingresses Sequence[VpcDefaultSecurityGroupIngressArgs]

A list of ingress rules.

labels Mapping[str, str]

Labels to assign to this security group.

networkId String

ID of the network this security group belongs to.

description String

Description of the security group.

egresses List

A list of egress rules. The structure is documented below.

folderId String

ID of the folder this security group belongs to.

ingresses List

A list of ingress rules.

labels Map

Labels to assign to this security group.

Outputs

All input properties are implicitly available as output properties. Additionally, the VpcDefaultSecurityGroup resource produces the following output properties:

CreatedAt string

Creation timestamp of this security group.

Id string

The provider-assigned unique ID for this managed resource.

Name string

Name of this security group.

Status string

Status of this security group.

CreatedAt string

Creation timestamp of this security group.

Id string

The provider-assigned unique ID for this managed resource.

Name string

Name of this security group.

Status string

Status of this security group.

createdAt String

Creation timestamp of this security group.

id String

The provider-assigned unique ID for this managed resource.

name String

Name of this security group.

status String

Status of this security group.

createdAt string

Creation timestamp of this security group.

id string

The provider-assigned unique ID for this managed resource.

name string

Name of this security group.

status string

Status of this security group.

created_at str

Creation timestamp of this security group.

id str

The provider-assigned unique ID for this managed resource.

name str

Name of this security group.

status str

Status of this security group.

createdAt String

Creation timestamp of this security group.

id String

The provider-assigned unique ID for this managed resource.

name String

Name of this security group.

status String

Status of this security group.

Look up an Existing VpcDefaultSecurityGroup Resource

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

public static get(name: string, id: Input<ID>, state?: VpcDefaultSecurityGroupState, opts?: CustomResourceOptions): VpcDefaultSecurityGroup
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        created_at: Optional[str] = None,
        description: Optional[str] = None,
        egresses: Optional[Sequence[VpcDefaultSecurityGroupEgressArgs]] = None,
        folder_id: Optional[str] = None,
        ingresses: Optional[Sequence[VpcDefaultSecurityGroupIngressArgs]] = None,
        labels: Optional[Mapping[str, str]] = None,
        name: Optional[str] = None,
        network_id: Optional[str] = None,
        status: Optional[str] = None) -> VpcDefaultSecurityGroup
func GetVpcDefaultSecurityGroup(ctx *Context, name string, id IDInput, state *VpcDefaultSecurityGroupState, opts ...ResourceOption) (*VpcDefaultSecurityGroup, error)
public static VpcDefaultSecurityGroup Get(string name, Input<string> id, VpcDefaultSecurityGroupState? state, CustomResourceOptions? opts = null)
public static VpcDefaultSecurityGroup get(String name, Output<String> id, VpcDefaultSecurityGroupState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
The following state arguments are supported:
CreatedAt string

Creation timestamp of this security group.

Description string

Description of the security group.

Egresses List<VpcDefaultSecurityGroupEgressArgs>

A list of egress rules. The structure is documented below.

FolderId string

ID of the folder this security group belongs to.

Ingresses List<VpcDefaultSecurityGroupIngressArgs>

A list of ingress rules.

Labels Dictionary<string, string>

Labels to assign to this security group.

Name string

Name of this security group.

NetworkId string

ID of the network this security group belongs to.

Status string

Status of this security group.

CreatedAt string

Creation timestamp of this security group.

Description string

Description of the security group.

Egresses []VpcDefaultSecurityGroupEgressArgs

A list of egress rules. The structure is documented below.

FolderId string

ID of the folder this security group belongs to.

Ingresses []VpcDefaultSecurityGroupIngressArgs

A list of ingress rules.

Labels map[string]string

Labels to assign to this security group.

Name string

Name of this security group.

NetworkId string

ID of the network this security group belongs to.

Status string

Status of this security group.

createdAt String

Creation timestamp of this security group.

description String

Description of the security group.

egresses ListDefaultSecurityGroupEgressArgs>

A list of egress rules. The structure is documented below.

folderId String

ID of the folder this security group belongs to.

ingresses ListDefaultSecurityGroupIngressArgs>

A list of ingress rules.

labels Map

Labels to assign to this security group.

name String

Name of this security group.

networkId String

ID of the network this security group belongs to.

status String

Status of this security group.

createdAt string

Creation timestamp of this security group.

description string

Description of the security group.

egresses VpcDefaultSecurityGroupEgressArgs[]

A list of egress rules. The structure is documented below.

folderId string

ID of the folder this security group belongs to.

ingresses VpcDefaultSecurityGroupIngressArgs[]

A list of ingress rules.

labels {[key: string]: string}

Labels to assign to this security group.

name string

Name of this security group.

networkId string

ID of the network this security group belongs to.

status string

Status of this security group.

created_at str

Creation timestamp of this security group.

description str

Description of the security group.

egresses Sequence[VpcDefaultSecurityGroupEgressArgs]

A list of egress rules. The structure is documented below.

folder_id str

ID of the folder this security group belongs to.

ingresses Sequence[VpcDefaultSecurityGroupIngressArgs]

A list of ingress rules.

labels Mapping[str, str]

Labels to assign to this security group.

name str

Name of this security group.

network_id str

ID of the network this security group belongs to.

status str

Status of this security group.

createdAt String

Creation timestamp of this security group.

description String

Description of the security group.

egresses List

A list of egress rules. The structure is documented below.

folderId String

ID of the folder this security group belongs to.

ingresses List

A list of ingress rules.

labels Map

Labels to assign to this security group.

name String

Name of this security group.

networkId String

ID of the network this security group belongs to.

status String

Status of this security group.

Supporting Types

VpcDefaultSecurityGroupEgress

Protocol string
Description string

Description of the security group.

FromPort int
Id string

Id of the security group.

Labels Dictionary<string, string>

Labels to assign to this security group.

Port int
PredefinedTarget string
SecurityGroupId string
ToPort int
V4CidrBlocks List<string>
V6CidrBlocks List<string>
Protocol string
Description string

Description of the security group.

FromPort int
Id string

Id of the security group.

Labels map[string]string

Labels to assign to this security group.

Port int
PredefinedTarget string
SecurityGroupId string
ToPort int
V4CidrBlocks []string
V6CidrBlocks []string
protocol String
description String

Description of the security group.

fromPort Integer
id String

Id of the security group.

labels Map

Labels to assign to this security group.

port Integer
predefinedTarget String
securityGroupId String
toPort Integer
v4CidrBlocks List
v6CidrBlocks List
protocol string
description string

Description of the security group.

fromPort number
id string

Id of the security group.

labels {[key: string]: string}

Labels to assign to this security group.

port number
predefinedTarget string
securityGroupId string
toPort number
v4CidrBlocks string[]
v6CidrBlocks string[]
protocol str
description str

Description of the security group.

from_port int
id str

Id of the security group.

labels Mapping[str, str]

Labels to assign to this security group.

port int
predefined_target str
security_group_id str
to_port int
v4_cidr_blocks Sequence[str]
v6_cidr_blocks Sequence[str]
protocol String
description String

Description of the security group.

fromPort Number
id String

Id of the security group.

labels Map

Labels to assign to this security group.

port Number
predefinedTarget String
securityGroupId String
toPort Number
v4CidrBlocks List
v6CidrBlocks List

VpcDefaultSecurityGroupIngress

Protocol string
Description string

Description of the security group.

FromPort int
Id string

Id of the security group.

Labels Dictionary<string, string>

Labels to assign to this security group.

Port int
PredefinedTarget string
SecurityGroupId string
ToPort int
V4CidrBlocks List<string>
V6CidrBlocks List<string>
Protocol string
Description string

Description of the security group.

FromPort int
Id string

Id of the security group.

Labels map[string]string

Labels to assign to this security group.

Port int
PredefinedTarget string
SecurityGroupId string
ToPort int
V4CidrBlocks []string
V6CidrBlocks []string
protocol String
description String

Description of the security group.

fromPort Integer
id String

Id of the security group.

labels Map

Labels to assign to this security group.

port Integer
predefinedTarget String
securityGroupId String
toPort Integer
v4CidrBlocks List
v6CidrBlocks List
protocol string
description string

Description of the security group.

fromPort number
id string

Id of the security group.

labels {[key: string]: string}

Labels to assign to this security group.

port number
predefinedTarget string
securityGroupId string
toPort number
v4CidrBlocks string[]
v6CidrBlocks string[]
protocol str
description str

Description of the security group.

from_port int
id str

Id of the security group.

labels Mapping[str, str]

Labels to assign to this security group.

port int
predefined_target str
security_group_id str
to_port int
v4_cidr_blocks Sequence[str]
v6_cidr_blocks Sequence[str]
protocol String
description String

Description of the security group.

fromPort Number
id String

Id of the security group.

labels Map

Labels to assign to this security group.

port Number
predefinedTarget String
securityGroupId String
toPort Number
v4CidrBlocks List
v6CidrBlocks List

Package Details

Repository
https://github.com/pulumi/pulumi-yandex
License
Apache-2.0
Notes

This Pulumi package is based on the yandex Terraform Provider.