Scaleway v1.20.0 published on Monday, Nov 4, 2024 by pulumiverse
scaleway.getIotDevice
Explore with Pulumi AI
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>
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:
getIotDevice Result
The following output properties are available:
- Allow
Insecure bool - Allow
Multiple boolConnections - Certificates
List<Pulumiverse.
Scaleway. Outputs. Get Iot Device Certificate> - Created
At string - Description string
- Hub
Id string - Id string
- The provider-assigned unique ID for this managed resource.
- Is
Connected bool - Last
Activity stringAt - Message
Filters List<Pulumiverse.Scaleway. Outputs. Get Iot Device Message Filter> - Status string
- Updated
At string - Device
Id string - Name string
- Region string
- Allow
Insecure bool - Allow
Multiple boolConnections - Certificates
[]Get
Iot Device Certificate - Created
At string - Description string
- Hub
Id string - Id string
- The provider-assigned unique ID for this managed resource.
- Is
Connected bool - Last
Activity stringAt - Message
Filters []GetIot Device Message Filter - Status string
- Updated
At string - Device
Id string - Name string
- Region string
- allow
Insecure Boolean - allow
Multiple BooleanConnections - certificates
List<Get
Iot Device Certificate> - created
At String - description String
- hub
Id String - id String
- The provider-assigned unique ID for this managed resource.
- is
Connected Boolean - last
Activity StringAt - message
Filters List<GetIot Device Message Filter> - status String
- updated
At String - device
Id String - name String
- region String
- allow
Insecure boolean - allow
Multiple booleanConnections - certificates
Get
Iot Device Certificate[] - created
At string - description string
- hub
Id string - id string
- The provider-assigned unique ID for this managed resource.
- is
Connected boolean - last
Activity stringAt - message
Filters GetIot Device Message Filter[] - status string
- updated
At string - device
Id string - name string
- region string
- allow_
insecure bool - allow_
multiple_ boolconnections - certificates
Sequence[Get
Iot Device Certificate] - created_
at str - description str
- hub_
id str - id str
- The provider-assigned unique ID for this managed resource.
- is_
connected bool - last_
activity_ strat - message_
filters Sequence[GetIot Device Message Filter] - status str
- updated_
at str - device_
id str - name str
- region str
- allow
Insecure Boolean - allow
Multiple BooleanConnections - certificates List<Property Map>
- created
At String - description String
- hub
Id String - id String
- The provider-assigned unique ID for this managed resource.
- is
Connected Boolean - last
Activity StringAt - message
Filters List<Property Map> - status String
- updated
At String - device
Id String - name String
- region String
Supporting Types
GetIotDeviceCertificate
GetIotDeviceMessageFilter
- Publishes
List<Pulumiverse.
Scaleway. Inputs. Get Iot Device Message Filter Publish> - Rule to restrict topics the device can publish to
- Subscribes
List<Pulumiverse.
Scaleway. Inputs. Get Iot Device Message Filter Subscribe> - Rule to restrict topics the device can subscribe to
- Publishes
[]Get
Iot Device Message Filter Publish - Rule to restrict topics the device can publish to
- Subscribes
[]Get
Iot Device Message Filter Subscribe - Rule to restrict topics the device can subscribe to
- publishes
List<Get
Iot Device Message Filter Publish> - Rule to restrict topics the device can publish to
- subscribes
List<Get
Iot Device Message Filter Subscribe> - Rule to restrict topics the device can subscribe to
- publishes
Get
Iot Device Message Filter Publish[] - Rule to restrict topics the device can publish to
- subscribes
Get
Iot Device Message Filter Subscribe[] - Rule to restrict topics the device can subscribe to
- publishes
Sequence[Get
Iot Device Message Filter Publish] - Rule to restrict topics the device can publish to
- subscribes
Sequence[Get
Iot Device Message Filter Subscribe] - Rule to restrict topics the device can subscribe to
- publishes List<Property Map>
- Rule to restrict topics the device can publish to
- subscribes List<Property Map>
- Rule to restrict topics the device can subscribe to
GetIotDeviceMessageFilterPublish
GetIotDeviceMessageFilterSubscribe
Package Details
- Repository
- scaleway pulumiverse/pulumi-scaleway
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
scaleway
Terraform Provider.