Scaleway

Community
Package contributed by a community member
v0.3.0 published on Tuesday, Jun 7, 2022 by Lee Briggs

getIotDevice

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>
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]
func LookupIotDevice(ctx *Context, args *LookupIotDeviceArgs, opts ...InvokeOption) (*LookupIotDeviceResult, error)
func LookupIotDeviceOutput(ctx *Context, args *LookupIotDeviceOutputArgs, opts ...InvokeOption) LookupIotDeviceResultOutput

> 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)
}
public static CompletableFuture<GetIotDeviceResult> getIotDevice(GetIotDeviceArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
Fn::Invoke:
  Function: scaleway:index/getIotDevice:getIotDevice
  Arguments:
    # Arguments dictionary

The following arguments are supported:

DeviceId string
HubId string
Name string
Region string
DeviceId string
HubId string
Name string
Region string
deviceId String
hubId String
name String
region String
deviceId string
hubId string
name string
region string
deviceId String
hubId String
name String
region String

getIotDevice Result

The following output properties are available:

AllowInsecure bool
AllowMultipleConnections bool
Certificates List<GetIotDeviceCertificate>
CreatedAt string
Description string
HubId string
Id string

The provider-assigned unique ID for this managed resource.

IsConnected bool
LastActivityAt string
MessageFilters List<GetIotDeviceMessageFilter>
Status string
UpdatedAt string
DeviceId string
Name string
Region string
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 string
Key string
Crt string
Key string
crt String
key String
crt string
key string
crt str
key str
crt String
key String

GetIotDeviceMessageFilter

GetIotDeviceMessageFilterPublish

Policy string
Topics List<string>
Policy string
Topics []string
policy String
topics List<String>
policy string
topics string[]
policy str
topics Sequence[str]
policy String
topics List<String>

GetIotDeviceMessageFilterSubscribe

Policy string
Topics List<string>
Policy string
Topics []string
policy String
topics List<String>
policy string
topics string[]
policy str
topics Sequence[str]
policy String
topics List<String>

Package Details

Repository
https://github.com/jaxxstorm/pulumi-scaleway
License
Apache-2.0
Notes

This Pulumi package is based on the scaleway Terraform Provider.