UNPKG

@pulumi/yandex

Version:

A Pulumi package for creating and managing yandex cloud resources.

140 lines (139 loc) 4.69 kB
import * as pulumi from "@pulumi/pulumi"; import { input as inputs, output as outputs } from "./types"; export declare class VpcDefaultSecurityGroup extends pulumi.CustomResource { /** * Get an existing VpcDefaultSecurityGroup resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: VpcDefaultSecurityGroupState, opts?: pulumi.CustomResourceOptions): VpcDefaultSecurityGroup; /** * Returns true if the given object is an instance of VpcDefaultSecurityGroup. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is VpcDefaultSecurityGroup; /** * Creation timestamp of this security group. */ readonly createdAt: pulumi.Output<string>; /** * Description of the security group. */ readonly description: pulumi.Output<string | undefined>; /** * A list of egress rules. The structure is documented below. */ readonly egresses: pulumi.Output<outputs.VpcDefaultSecurityGroupEgress[]>; /** * ID of the folder this security group belongs to. */ readonly folderId: pulumi.Output<string>; /** * A list of ingress rules. */ readonly ingresses: pulumi.Output<outputs.VpcDefaultSecurityGroupIngress[]>; /** * Labels to assign to this security group. */ readonly labels: pulumi.Output<{ [key: string]: string; }>; /** * Name of this security group. */ readonly name: pulumi.Output<string>; /** * ID of the network this security group belongs to. */ readonly networkId: pulumi.Output<string>; /** * Status of this security group. */ readonly status: pulumi.Output<string>; /** * Create a VpcDefaultSecurityGroup resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: VpcDefaultSecurityGroupArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering VpcDefaultSecurityGroup resources. */ export interface VpcDefaultSecurityGroupState { /** * Creation timestamp of this security group. */ createdAt?: pulumi.Input<string>; /** * Description of the security group. */ description?: pulumi.Input<string>; /** * A list of egress rules. The structure is documented below. */ egresses?: pulumi.Input<pulumi.Input<inputs.VpcDefaultSecurityGroupEgress>[]>; /** * ID of the folder this security group belongs to. */ folderId?: pulumi.Input<string>; /** * A list of ingress rules. */ ingresses?: pulumi.Input<pulumi.Input<inputs.VpcDefaultSecurityGroupIngress>[]>; /** * Labels to assign to this security group. */ labels?: pulumi.Input<{ [key: string]: pulumi.Input<string>; }>; /** * Name of this security group. */ name?: pulumi.Input<string>; /** * ID of the network this security group belongs to. */ networkId?: pulumi.Input<string>; /** * Status of this security group. */ status?: pulumi.Input<string>; } /** * The set of arguments for constructing a VpcDefaultSecurityGroup resource. */ export interface VpcDefaultSecurityGroupArgs { /** * Description of the security group. */ description?: pulumi.Input<string>; /** * A list of egress rules. The structure is documented below. */ egresses?: pulumi.Input<pulumi.Input<inputs.VpcDefaultSecurityGroupEgress>[]>; /** * ID of the folder this security group belongs to. */ folderId?: pulumi.Input<string>; /** * A list of ingress rules. */ ingresses?: pulumi.Input<pulumi.Input<inputs.VpcDefaultSecurityGroupIngress>[]>; /** * Labels to assign to this security group. */ labels?: pulumi.Input<{ [key: string]: pulumi.Input<string>; }>; /** * ID of the network this security group belongs to. */ networkId: pulumi.Input<string>; }