Google Cloud Native is in preview. Google Cloud Classic is fully supported.
google-native.iap/v1.DestGroup
Explore with Pulumi AI
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
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
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The DestGroup resource accepts the following input properties:
- Tunnel
Dest stringGroup Id - 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
- Tunnel
Dest stringGroup Id - 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 StringGroup Id - 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
- tunnel
Dest stringGroup Id - 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_ strgroup_ id - 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
- tunnel
Dest StringGroup Id - 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 Cloud Native is in preview. Google Cloud Classic is fully supported.