1. Packages
  2. Google Cloud Native
  3. API Docs
  4. iap
  5. iap/v1
  6. DestGroup

Google Cloud Native is in preview. Google Cloud Classic is fully supported.

Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi

google-native.iap/v1.DestGroup

Explore with Pulumi AI

google-native logo

Google Cloud Native is in preview. Google Cloud Classic is fully supported.

Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi

    Creates a new TunnelDestGroup.

    Create DestGroup Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new DestGroup(name: string, args: DestGroupArgs, opts?: CustomResourceOptions);
    @overload
    def DestGroup(resource_name: str,
                  args: DestGroupArgs,
                  opts: Optional[ResourceOptions] = None)
    
    @overload
    def DestGroup(resource_name: str,
                  opts: Optional[ResourceOptions] = None,
                  tunnel_dest_group_id: Optional[str] = None,
                  cidrs: Optional[Sequence[str]] = None,
                  fqdns: Optional[Sequence[str]] = None,
                  location: Optional[str] = None,
                  name: Optional[str] = None,
                  project: Optional[str] = None)
    func NewDestGroup(ctx *Context, name string, args DestGroupArgs, opts ...ResourceOption) (*DestGroup, error)
    public DestGroup(string name, DestGroupArgs args, CustomResourceOptions? opts = null)
    public DestGroup(String name, DestGroupArgs args)
    public DestGroup(String name, DestGroupArgs args, CustomResourceOptions options)
    
    type: google-native:iap/v1:DestGroup
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args DestGroupArgs
    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 DestGroupArgs
    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 DestGroupArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args DestGroupArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args DestGroupArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var destGroupResource = new GoogleNative.Iap.V1.DestGroup("destGroupResource", new()
    {
        TunnelDestGroupId = "string",
        Cidrs = new[]
        {
            "string",
        },
        Fqdns = new[]
        {
            "string",
        },
        Location = "string",
        Name = "string",
        Project = "string",
    });
    
    example, err := iap.NewDestGroup(ctx, "destGroupResource", &iap.DestGroupArgs{
    TunnelDestGroupId: pulumi.String("string"),
    Cidrs: pulumi.StringArray{
    pulumi.String("string"),
    },
    Fqdns: pulumi.StringArray{
    pulumi.String("string"),
    },
    Location: pulumi.String("string"),
    Name: pulumi.String("string"),
    Project: pulumi.String("string"),
    })
    
    var destGroupResource = new DestGroup("destGroupResource", DestGroupArgs.builder()
        .tunnelDestGroupId("string")
        .cidrs("string")
        .fqdns("string")
        .location("string")
        .name("string")
        .project("string")
        .build());
    
    dest_group_resource = google_native.iap.v1.DestGroup("destGroupResource",
        tunnel_dest_group_id="string",
        cidrs=["string"],
        fqdns=["string"],
        location="string",
        name="string",
        project="string")
    
    const destGroupResource = new google_native.iap.v1.DestGroup("destGroupResource", {
        tunnelDestGroupId: "string",
        cidrs: ["string"],
        fqdns: ["string"],
        location: "string",
        name: "string",
        project: "string",
    });
    
    type: google-native:iap/v1:DestGroup
    properties:
        cidrs:
            - string
        fqdns:
            - string
        location: string
        name: string
        project: string
        tunnelDestGroupId: string
    

    DestGroup 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 DestGroup resource accepts the following input properties:

    TunnelDestGroupId string
    Required. The ID to use for the TunnelDestGroup, which becomes the final component of the resource name. This value must be 4-63 characters, and valid characters are [a-z]-.
    Cidrs List<string>
    Unordered list. List of CIDRs that this group applies to.
    Fqdns List<string>
    Unordered list. List of FQDNs that this group applies to.
    Location string
    Name string
    Immutable. Identifier for the TunnelDestGroup. Must be unique within the project and contain only lower case letters (a-z) and dashes (-).
    Project string
    TunnelDestGroupId string
    Required. The ID to use for the TunnelDestGroup, which becomes the final component of the resource name. This value must be 4-63 characters, and valid characters are [a-z]-.
    Cidrs []string
    Unordered list. List of CIDRs that this group applies to.
    Fqdns []string
    Unordered list. List of FQDNs that this group applies to.
    Location string
    Name string
    Immutable. Identifier for the TunnelDestGroup. Must be unique within the project and contain only lower case letters (a-z) and dashes (-).
    Project string
    tunnelDestGroupId String
    Required. The ID to use for the TunnelDestGroup, which becomes the final component of the resource name. This value must be 4-63 characters, and valid characters are [a-z]-.
    cidrs List<String>
    Unordered list. List of CIDRs that this group applies to.
    fqdns List<String>
    Unordered list. List of FQDNs that this group applies to.
    location String
    name String
    Immutable. Identifier for the TunnelDestGroup. Must be unique within the project and contain only lower case letters (a-z) and dashes (-).
    project String
    tunnelDestGroupId string
    Required. The ID to use for the TunnelDestGroup, which becomes the final component of the resource name. This value must be 4-63 characters, and valid characters are [a-z]-.
    cidrs string[]
    Unordered list. List of CIDRs that this group applies to.
    fqdns string[]
    Unordered list. List of FQDNs that this group applies to.
    location string
    name string
    Immutable. Identifier for the TunnelDestGroup. Must be unique within the project and contain only lower case letters (a-z) and dashes (-).
    project string
    tunnel_dest_group_id str
    Required. The ID to use for the TunnelDestGroup, which becomes the final component of the resource name. This value must be 4-63 characters, and valid characters are [a-z]-.
    cidrs Sequence[str]
    Unordered list. List of CIDRs that this group applies to.
    fqdns Sequence[str]
    Unordered list. List of FQDNs that this group applies to.
    location str
    name str
    Immutable. Identifier for the TunnelDestGroup. Must be unique within the project and contain only lower case letters (a-z) and dashes (-).
    project str
    tunnelDestGroupId String
    Required. The ID to use for the TunnelDestGroup, which becomes the final component of the resource name. This value must be 4-63 characters, and valid characters are [a-z]-.
    cidrs List<String>
    Unordered list. List of CIDRs that this group applies to.
    fqdns List<String>
    Unordered list. List of FQDNs that this group applies to.
    location String
    name String
    Immutable. Identifier for the TunnelDestGroup. Must be unique within the project and contain only lower case letters (a-z) and dashes (-).
    project String

    Outputs

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

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Package Details

    Repository
    Google Cloud Native pulumi/pulumi-google-native
    License
    Apache-2.0
    google-native logo

    Google Cloud Native is in preview. Google Cloud Classic is fully supported.

    Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi