Scaleway v1.25.0 published on Saturday, Mar 22, 2025 by pulumiverse
scaleway.iot.getDevice
Explore with Pulumi AI
Gets information about an IOT Device.
Using getDevice
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 getDevice(args: GetDeviceArgs, opts?: InvokeOptions): Promise<GetDeviceResult>
function getDeviceOutput(args: GetDeviceOutputArgs, opts?: InvokeOptions): Output<GetDeviceResult>def get_device(device_id: Optional[str] = None,
               hub_id: Optional[str] = None,
               name: Optional[str] = None,
               region: Optional[str] = None,
               opts: Optional[InvokeOptions] = None) -> GetDeviceResult
def get_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[GetDeviceResult]func LookupDevice(ctx *Context, args *LookupDeviceArgs, opts ...InvokeOption) (*LookupDeviceResult, error)
func LookupDeviceOutput(ctx *Context, args *LookupDeviceOutputArgs, opts ...InvokeOption) LookupDeviceResultOutput> Note: This function is named LookupDevice in the Go SDK.
public static class GetDevice 
{
    public static Task<GetDeviceResult> InvokeAsync(GetDeviceArgs args, InvokeOptions? opts = null)
    public static Output<GetDeviceResult> Invoke(GetDeviceInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetDeviceResult> getDevice(GetDeviceArgs args, InvokeOptions options)
public static Output<GetDeviceResult> getDevice(GetDeviceArgs args, InvokeOptions options)
fn::invoke:
  function: scaleway:iot/getDevice:getDevice
  arguments:
    # arguments dictionaryThe following arguments are supported:
getDevice Result
The following output properties are available:
- AllowInsecure bool
- AllowMultiple boolConnections 
- Certificates
List<Pulumiverse.Scaleway. Iot. Outputs. Get Device Certificate> 
- CreatedAt string
- Description string
- HubId string
- Id string
- The provider-assigned unique ID for this managed resource.
- IsConnected bool
- LastActivity stringAt 
- MessageFilters List<Pulumiverse.Scaleway. Iot. Outputs. Get Device Message Filter> 
- Status string
- UpdatedAt string
- DeviceId string
- Name string
- Region string
- AllowInsecure bool
- AllowMultiple boolConnections 
- Certificates
[]GetDevice Certificate 
- CreatedAt string
- Description string
- HubId string
- Id string
- The provider-assigned unique ID for this managed resource.
- IsConnected bool
- LastActivity stringAt 
- MessageFilters []GetDevice Message Filter 
- Status string
- UpdatedAt string
- DeviceId string
- Name string
- Region string
- allowInsecure Boolean
- allowMultiple BooleanConnections 
- certificates
List<GetDevice Certificate> 
- createdAt String
- description String
- hubId String
- id String
- The provider-assigned unique ID for this managed resource.
- isConnected Boolean
- lastActivity StringAt 
- messageFilters List<GetDevice Message Filter> 
- status String
- updatedAt String
- deviceId String
- name String
- region String
- allowInsecure boolean
- allowMultiple booleanConnections 
- certificates
GetDevice Certificate[] 
- createdAt string
- description string
- hubId string
- id string
- The provider-assigned unique ID for this managed resource.
- isConnected boolean
- lastActivity stringAt 
- messageFilters GetDevice Message Filter[] 
- status string
- updatedAt string
- deviceId string
- name string
- region string
- allow_insecure bool
- allow_multiple_ boolconnections 
- certificates
Sequence[GetDevice 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[GetDevice Message Filter] 
- status str
- updated_at str
- device_id str
- name str
- region str
- allowInsecure Boolean
- allowMultiple BooleanConnections 
- certificates List<Property Map>
- createdAt String
- description String
- hubId String
- id String
- The provider-assigned unique ID for this managed resource.
- isConnected Boolean
- lastActivity StringAt 
- messageFilters List<Property Map>
- status String
- updatedAt String
- deviceId String
- name String
- region String
Supporting Types
GetDeviceCertificate  
GetDeviceMessageFilter   
- Publishes
List<Pulumiverse.Scaleway. Iot. Inputs. Get Device Message Filter Publish> 
- Rule to restrict topics the device can publish to
- Subscribes
List<Pulumiverse.Scaleway. Iot. Inputs. Get Device Message Filter Subscribe> 
- Rule to restrict topics the device can subscribe to
- Publishes
[]GetDevice Message Filter Publish 
- Rule to restrict topics the device can publish to
- Subscribes
[]GetDevice Message Filter Subscribe 
- Rule to restrict topics the device can subscribe to
- publishes
List<GetDevice Message Filter Publish> 
- Rule to restrict topics the device can publish to
- subscribes
List<GetDevice Message Filter Subscribe> 
- Rule to restrict topics the device can subscribe to
- publishes
GetDevice Message Filter Publish[] 
- Rule to restrict topics the device can publish to
- subscribes
GetDevice Message Filter Subscribe[] 
- Rule to restrict topics the device can subscribe to
- publishes
Sequence[GetDevice Message Filter Publish] 
- Rule to restrict topics the device can publish to
- subscribes
Sequence[GetDevice 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
GetDeviceMessageFilterPublish    
GetDeviceMessageFilterSubscribe    
Package Details
- Repository
- scaleway pulumiverse/pulumi-scaleway
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the scalewayTerraform Provider.
