1. Packages
  2. Scaleway
  3. API Docs
  4. getIotDevice
Scaleway v1.26.0 published on Friday, Mar 28, 2025 by pulumiverse

scaleway.getIotDevice

Explore with Pulumi AI

Scaleway v1.26.0 published on Friday, Mar 28, 2025 by pulumiverse
Deprecated: scaleway.index/getiotdevice.getIotDevice has been deprecated in favor of scaleway.iot/getdevice.getDevice

Gets information about an IOT Device.

Using getIotDevice

Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

function getIotDevice(args: GetIotDeviceArgs, opts?: InvokeOptions): Promise<GetIotDeviceResult>
function getIotDeviceOutput(args: GetIotDeviceOutputArgs, opts?: InvokeOptions): Output<GetIotDeviceResult>
Copy
def get_iot_device(device_id: Optional[str] = None,
                   hub_id: Optional[str] = None,
                   name: Optional[str] = None,
                   region: Optional[str] = None,
                   opts: Optional[InvokeOptions] = None) -> GetIotDeviceResult
def get_iot_device_output(device_id: Optional[pulumi.Input[str]] = None,
                   hub_id: Optional[pulumi.Input[str]] = None,
                   name: Optional[pulumi.Input[str]] = None,
                   region: Optional[pulumi.Input[str]] = None,
                   opts: Optional[InvokeOptions] = None) -> Output[GetIotDeviceResult]
Copy
func LookupIotDevice(ctx *Context, args *LookupIotDeviceArgs, opts ...InvokeOption) (*LookupIotDeviceResult, error)
func LookupIotDeviceOutput(ctx *Context, args *LookupIotDeviceOutputArgs, opts ...InvokeOption) LookupIotDeviceResultOutput
Copy

> Note: This function is named LookupIotDevice in the Go SDK.

public static class GetIotDevice 
{
    public static Task<GetIotDeviceResult> InvokeAsync(GetIotDeviceArgs args, InvokeOptions? opts = null)
    public static Output<GetIotDeviceResult> Invoke(GetIotDeviceInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetIotDeviceResult> getIotDevice(GetIotDeviceArgs args, InvokeOptions options)
public static Output<GetIotDeviceResult> getIotDevice(GetIotDeviceArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: scaleway:index/getIotDevice:getIotDevice
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

DeviceId string
The device ID. Only one of the name and device_id should be specified.
HubId string
The hub ID.
Name string
The name of the Hub. Only one of the name and device_id should be specified.
Region string
region) The region in which the hub exists.
DeviceId string
The device ID. Only one of the name and device_id should be specified.
HubId string
The hub ID.
Name string
The name of the Hub. Only one of the name and device_id should be specified.
Region string
region) The region in which the hub exists.
deviceId String
The device ID. Only one of the name and device_id should be specified.
hubId String
The hub ID.
name String
The name of the Hub. Only one of the name and device_id should be specified.
region String
region) The region in which the hub exists.
deviceId string
The device ID. Only one of the name and device_id should be specified.
hubId string
The hub ID.
name string
The name of the Hub. Only one of the name and device_id should be specified.
region string
region) The region in which the hub exists.
device_id str
The device ID. Only one of the name and device_id should be specified.
hub_id str
The hub ID.
name str
The name of the Hub. Only one of the name and device_id should be specified.
region str
region) The region in which the hub exists.
deviceId String
The device ID. Only one of the name and device_id should be specified.
hubId String
The hub ID.
name String
The name of the Hub. Only one of the name and device_id should be specified.
region String
region) The region in which the hub exists.

getIotDevice Result

The following output properties are available:

AllowInsecure bool
AllowMultipleConnections bool
Certificates []GetIotDeviceCertificate
CreatedAt string
Description string
HubId string
Id string
The provider-assigned unique ID for this managed resource.
IsConnected bool
LastActivityAt string
MessageFilters []GetIotDeviceMessageFilter
Status string
UpdatedAt string
DeviceId string
Name string
Region string
allowInsecure Boolean
allowMultipleConnections Boolean
certificates List<GetIotDeviceCertificate>
createdAt String
description String
hubId String
id String
The provider-assigned unique ID for this managed resource.
isConnected Boolean
lastActivityAt String
messageFilters List<GetIotDeviceMessageFilter>
status String
updatedAt String
deviceId String
name String
region String
allowInsecure boolean
allowMultipleConnections boolean
certificates GetIotDeviceCertificate[]
createdAt string
description string
hubId string
id string
The provider-assigned unique ID for this managed resource.
isConnected boolean
lastActivityAt string
messageFilters GetIotDeviceMessageFilter[]
status string
updatedAt string
deviceId string
name string
region string
allowInsecure Boolean
allowMultipleConnections Boolean
certificates List<Property Map>
createdAt String
description String
hubId String
id String
The provider-assigned unique ID for this managed resource.
isConnected Boolean
lastActivityAt String
messageFilters List<Property Map>
status String
updatedAt String
deviceId String
name String
region String

Supporting Types

GetIotDeviceCertificate

Crt This property is required. string
X509 PEM encoded certificate of the device
Key This property is required. string
X509 PEM encoded key of the device
Crt This property is required. string
X509 PEM encoded certificate of the device
Key This property is required. string
X509 PEM encoded key of the device
crt This property is required. String
X509 PEM encoded certificate of the device
key This property is required. String
X509 PEM encoded key of the device
crt This property is required. string
X509 PEM encoded certificate of the device
key This property is required. string
X509 PEM encoded key of the device
crt This property is required. str
X509 PEM encoded certificate of the device
key This property is required. str
X509 PEM encoded key of the device
crt This property is required. String
X509 PEM encoded certificate of the device
key This property is required. String
X509 PEM encoded key of the device

GetIotDeviceMessageFilter

Publishes This property is required. List<Pulumiverse.Scaleway.Inputs.GetIotDeviceMessageFilterPublish>
Rule to restrict topics the device can publish to
Subscribes This property is required. List<Pulumiverse.Scaleway.Inputs.GetIotDeviceMessageFilterSubscribe>
Rule to restrict topics the device can subscribe to
Publishes This property is required. []GetIotDeviceMessageFilterPublish
Rule to restrict topics the device can publish to
Subscribes This property is required. []GetIotDeviceMessageFilterSubscribe
Rule to restrict topics the device can subscribe to
publishes This property is required. List<GetIotDeviceMessageFilterPublish>
Rule to restrict topics the device can publish to
subscribes This property is required. List<GetIotDeviceMessageFilterSubscribe>
Rule to restrict topics the device can subscribe to
publishes This property is required. GetIotDeviceMessageFilterPublish[]
Rule to restrict topics the device can publish to
subscribes This property is required. GetIotDeviceMessageFilterSubscribe[]
Rule to restrict topics the device can subscribe to
publishes This property is required. Sequence[GetIotDeviceMessageFilterPublish]
Rule to restrict topics the device can publish to
subscribes This property is required. Sequence[GetIotDeviceMessageFilterSubscribe]
Rule to restrict topics the device can subscribe to
publishes This property is required. List<Property Map>
Rule to restrict topics the device can publish to
subscribes This property is required. List<Property Map>
Rule to restrict topics the device can subscribe to

GetIotDeviceMessageFilterPublish

Policy This property is required. string
Publish message filter policy
Topics This property is required. List<string>
List of topics in the set
Policy This property is required. string
Publish message filter policy
Topics This property is required. []string
List of topics in the set
policy This property is required. String
Publish message filter policy
topics This property is required. List<String>
List of topics in the set
policy This property is required. string
Publish message filter policy
topics This property is required. string[]
List of topics in the set
policy This property is required. str
Publish message filter policy
topics This property is required. Sequence[str]
List of topics in the set
policy This property is required. String
Publish message filter policy
topics This property is required. List<String>
List of topics in the set

GetIotDeviceMessageFilterSubscribe

Policy This property is required. string
Subscribe message filter policy
Topics This property is required. List<string>
List of topics in the set
Policy This property is required. string
Subscribe message filter policy
Topics This property is required. []string
List of topics in the set
policy This property is required. String
Subscribe message filter policy
topics This property is required. List<String>
List of topics in the set
policy This property is required. string
Subscribe message filter policy
topics This property is required. string[]
List of topics in the set
policy This property is required. str
Subscribe message filter policy
topics This property is required. Sequence[str]
List of topics in the set
policy This property is required. String
Subscribe message filter policy
topics This property is required. List<String>
List of topics in the set

Package Details

Repository
scaleway pulumiverse/pulumi-scaleway
License
Apache-2.0
Notes
This Pulumi package is based on the scaleway Terraform Provider.
Scaleway v1.26.0 published on Friday, Mar 28, 2025 by pulumiverse