scaleway.IotNetwork
Explore with Pulumi AI
Import
IoT Networks can be imported using the {region}/{id}
, e.g. bash
$ pulumi import scaleway:index/iotNetwork:IotNetwork net01 fr-par/11111111-1111-1111-1111-111111111111
Create IotNetwork Resource
new IotNetwork(name: string, args: IotNetworkArgs, opts?: CustomResourceOptions);
@overload
def IotNetwork(resource_name: str,
opts: Optional[ResourceOptions] = None,
hub_id: Optional[str] = None,
name: Optional[str] = None,
topic_prefix: Optional[str] = None,
type: Optional[str] = None)
@overload
def IotNetwork(resource_name: str,
args: IotNetworkArgs,
opts: Optional[ResourceOptions] = None)
func NewIotNetwork(ctx *Context, name string, args IotNetworkArgs, opts ...ResourceOption) (*IotNetwork, error)
public IotNetwork(string name, IotNetworkArgs args, CustomResourceOptions? opts = null)
public IotNetwork(String name, IotNetworkArgs args)
public IotNetwork(String name, IotNetworkArgs args, CustomResourceOptions options)
type: scaleway:IotNetwork
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args IotNetworkArgs
- 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 IotNetworkArgs
- 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 IotNetworkArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args IotNetworkArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args IotNetworkArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
IotNetwork 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 IotNetwork resource accepts the following input properties:
- Hub
Id string The hub ID to which the Network will be attached to.
- Type string
The network type to create (e.g.
sigfox
).- Name string
The name of the IoT Network you want to create (e.g.
my-net
).- Topic
Prefix string The prefix that will be prepended to all topics for this Network.
- Hub
Id string The hub ID to which the Network will be attached to.
- Type string
The network type to create (e.g.
sigfox
).- Name string
The name of the IoT Network you want to create (e.g.
my-net
).- Topic
Prefix string The prefix that will be prepended to all topics for this Network.
- hub
Id String The hub ID to which the Network will be attached to.
- type String
The network type to create (e.g.
sigfox
).- name String
The name of the IoT Network you want to create (e.g.
my-net
).- topic
Prefix String The prefix that will be prepended to all topics for this Network.
- hub
Id string The hub ID to which the Network will be attached to.
- type string
The network type to create (e.g.
sigfox
).- name string
The name of the IoT Network you want to create (e.g.
my-net
).- topic
Prefix string The prefix that will be prepended to all topics for this Network.
- hub_
id str The hub ID to which the Network will be attached to.
- type str
The network type to create (e.g.
sigfox
).- name str
The name of the IoT Network you want to create (e.g.
my-net
).- topic_
prefix str The prefix that will be prepended to all topics for this Network.
- hub
Id String The hub ID to which the Network will be attached to.
- type String
The network type to create (e.g.
sigfox
).- name String
The name of the IoT Network you want to create (e.g.
my-net
).- topic
Prefix String The prefix that will be prepended to all topics for this Network.
Outputs
All input properties are implicitly available as output properties. Additionally, the IotNetwork resource produces the following output properties:
- created_
at str The date and time the Network was created.
- endpoint str
The endpoint to use when interacting with the network.
- id str
The provider-assigned unique ID for this managed resource.
- secret str
The endpoint key to keep secret.
Look up Existing IotNetwork Resource
Get an existing IotNetwork 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?: IotNetworkState, opts?: CustomResourceOptions): IotNetwork
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
created_at: Optional[str] = None,
endpoint: Optional[str] = None,
hub_id: Optional[str] = None,
name: Optional[str] = None,
secret: Optional[str] = None,
topic_prefix: Optional[str] = None,
type: Optional[str] = None) -> IotNetwork
func GetIotNetwork(ctx *Context, name string, id IDInput, state *IotNetworkState, opts ...ResourceOption) (*IotNetwork, error)
public static IotNetwork Get(string name, Input<string> id, IotNetworkState? state, CustomResourceOptions? opts = null)
public static IotNetwork get(String name, Output<String> id, IotNetworkState 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.
- Created
At string The date and time the Network was created.
- Endpoint string
The endpoint to use when interacting with the network.
- Hub
Id string The hub ID to which the Network will be attached to.
- Name string
The name of the IoT Network you want to create (e.g.
my-net
).- Secret string
The endpoint key to keep secret.
- Topic
Prefix string The prefix that will be prepended to all topics for this Network.
- Type string
The network type to create (e.g.
sigfox
).
- Created
At string The date and time the Network was created.
- Endpoint string
The endpoint to use when interacting with the network.
- Hub
Id string The hub ID to which the Network will be attached to.
- Name string
The name of the IoT Network you want to create (e.g.
my-net
).- Secret string
The endpoint key to keep secret.
- Topic
Prefix string The prefix that will be prepended to all topics for this Network.
- Type string
The network type to create (e.g.
sigfox
).
- created
At String The date and time the Network was created.
- endpoint String
The endpoint to use when interacting with the network.
- hub
Id String The hub ID to which the Network will be attached to.
- name String
The name of the IoT Network you want to create (e.g.
my-net
).- secret String
The endpoint key to keep secret.
- topic
Prefix String The prefix that will be prepended to all topics for this Network.
- type String
The network type to create (e.g.
sigfox
).
- created
At string The date and time the Network was created.
- endpoint string
The endpoint to use when interacting with the network.
- hub
Id string The hub ID to which the Network will be attached to.
- name string
The name of the IoT Network you want to create (e.g.
my-net
).- secret string
The endpoint key to keep secret.
- topic
Prefix string The prefix that will be prepended to all topics for this Network.
- type string
The network type to create (e.g.
sigfox
).
- created_
at str The date and time the Network was created.
- endpoint str
The endpoint to use when interacting with the network.
- hub_
id str The hub ID to which the Network will be attached to.
- name str
The name of the IoT Network you want to create (e.g.
my-net
).- secret str
The endpoint key to keep secret.
- topic_
prefix str The prefix that will be prepended to all topics for this Network.
- type str
The network type to create (e.g.
sigfox
).
- created
At String The date and time the Network was created.
- endpoint String
The endpoint to use when interacting with the network.
- hub
Id String The hub ID to which the Network will be attached to.
- name String
The name of the IoT Network you want to create (e.g.
my-net
).- secret String
The endpoint key to keep secret.
- topic
Prefix String The prefix that will be prepended to all topics for this Network.
- type String
The network type to create (e.g.
sigfox
).
Package Details
- Repository
- scaleway lbrlabs/pulumi-scaleway
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
scaleway
Terraform Provider.