glesys.Privatenetwork
Explore with Pulumi AI
Create a PrivateNetwork resource.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as glesys from "@pulumi/glesys";
const test = new glesys.Privatenetwork("test", {});
import pulumi
import pulumi_glesys as glesys
test = glesys.Privatenetwork("test")
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/glesys/glesys"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := glesys.NewPrivatenetwork(ctx, "test", nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Glesys = Pulumi.Glesys;
return await Deployment.RunAsync(() =>
{
var test = new Glesys.Privatenetwork("test");
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.glesys.Privatenetwork;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var test = new Privatenetwork("test");
}
}
resources:
test:
type: glesys:Privatenetwork
Create Privatenetwork Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Privatenetwork(name: string, args?: PrivatenetworkArgs, opts?: CustomResourceOptions);
@overload
def Privatenetwork(resource_name: str,
args: Optional[PrivatenetworkArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def Privatenetwork(resource_name: str,
opts: Optional[ResourceOptions] = None,
name: Optional[str] = None,
privatenetwork_id: Optional[str] = None)
func NewPrivatenetwork(ctx *Context, name string, args *PrivatenetworkArgs, opts ...ResourceOption) (*Privatenetwork, error)
public Privatenetwork(string name, PrivatenetworkArgs? args = null, CustomResourceOptions? opts = null)
public Privatenetwork(String name, PrivatenetworkArgs args)
public Privatenetwork(String name, PrivatenetworkArgs args, CustomResourceOptions options)
type: glesys:Privatenetwork
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 PrivatenetworkArgs
- 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 PrivatenetworkArgs
- 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 PrivatenetworkArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args PrivatenetworkArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args PrivatenetworkArgs
- 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 privatenetworkResource = new Glesys.Privatenetwork("privatenetworkResource", new()
{
Name = "string",
PrivatenetworkId = "string",
});
example, err := glesys.NewPrivatenetwork(ctx, "privatenetworkResource", &glesys.PrivatenetworkArgs{
Name: pulumi.String("string"),
PrivatenetworkId: pulumi.String("string"),
})
var privatenetworkResource = new Privatenetwork("privatenetworkResource", PrivatenetworkArgs.builder()
.name("string")
.privatenetworkId("string")
.build());
privatenetwork_resource = glesys.Privatenetwork("privatenetworkResource",
name="string",
privatenetwork_id="string")
const privatenetworkResource = new glesys.Privatenetwork("privatenetworkResource", {
name: "string",
privatenetworkId: "string",
});
type: glesys:Privatenetwork
properties:
name: string
privatenetworkId: string
Privatenetwork 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 Privatenetwork resource accepts the following input properties:
- Name string
- PrivateNetwork name
- Privatenetwork
Id string - The ID of this resource.
- Name string
- PrivateNetwork name
- Privatenetwork
Id string - The ID of this resource.
- name String
- PrivateNetwork name
- privatenetwork
Id String - The ID of this resource.
- name string
- PrivateNetwork name
- privatenetwork
Id string - The ID of this resource.
- name str
- PrivateNetwork name
- privatenetwork_
id str - The ID of this resource.
- name String
- PrivateNetwork name
- privatenetwork
Id String - The ID of this resource.
Outputs
All input properties are implicitly available as output properties. Additionally, the Privatenetwork resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Ipv6aggregate string
- IPv6Aggregate for the PrivateNetwork.
- Id string
- The provider-assigned unique ID for this managed resource.
- Ipv6aggregate string
- IPv6Aggregate for the PrivateNetwork.
- id String
- The provider-assigned unique ID for this managed resource.
- ipv6aggregate String
- IPv6Aggregate for the PrivateNetwork.
- id string
- The provider-assigned unique ID for this managed resource.
- ipv6aggregate string
- IPv6Aggregate for the PrivateNetwork.
- id str
- The provider-assigned unique ID for this managed resource.
- ipv6aggregate str
- IPv6Aggregate for the PrivateNetwork.
- id String
- The provider-assigned unique ID for this managed resource.
- ipv6aggregate String
- IPv6Aggregate for the PrivateNetwork.
Look up Existing Privatenetwork Resource
Get an existing Privatenetwork 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?: PrivatenetworkState, opts?: CustomResourceOptions): Privatenetwork
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
ipv6aggregate: Optional[str] = None,
name: Optional[str] = None,
privatenetwork_id: Optional[str] = None) -> Privatenetwork
func GetPrivatenetwork(ctx *Context, name string, id IDInput, state *PrivatenetworkState, opts ...ResourceOption) (*Privatenetwork, error)
public static Privatenetwork Get(string name, Input<string> id, PrivatenetworkState? state, CustomResourceOptions? opts = null)
public static Privatenetwork get(String name, Output<String> id, PrivatenetworkState state, CustomResourceOptions options)
resources: _: type: glesys:Privatenetwork get: id: ${id}
- 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.
- Ipv6aggregate string
- IPv6Aggregate for the PrivateNetwork.
- Name string
- PrivateNetwork name
- Privatenetwork
Id string - The ID of this resource.
- Ipv6aggregate string
- IPv6Aggregate for the PrivateNetwork.
- Name string
- PrivateNetwork name
- Privatenetwork
Id string - The ID of this resource.
- ipv6aggregate String
- IPv6Aggregate for the PrivateNetwork.
- name String
- PrivateNetwork name
- privatenetwork
Id String - The ID of this resource.
- ipv6aggregate string
- IPv6Aggregate for the PrivateNetwork.
- name string
- PrivateNetwork name
- privatenetwork
Id string - The ID of this resource.
- ipv6aggregate str
- IPv6Aggregate for the PrivateNetwork.
- name str
- PrivateNetwork name
- privatenetwork_
id str - The ID of this resource.
- ipv6aggregate String
- IPv6Aggregate for the PrivateNetwork.
- name String
- PrivateNetwork name
- privatenetwork
Id String - The ID of this resource.
Package Details
- Repository
- glesys glesys/terraform-provider-glesys
- License
- Notes
- This Pulumi package is based on the
glesys
Terraform Provider.