Scaleway v1.20.0 published on Monday, Nov 4, 2024 by pulumiverse
scaleway.getIotHub
Explore with Pulumi AI
Gets information about an IOT Hub.
Using getIotHub
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 getIotHub(args: GetIotHubArgs, opts?: InvokeOptions): Promise<GetIotHubResult>
function getIotHubOutput(args: GetIotHubOutputArgs, opts?: InvokeOptions): Output<GetIotHubResult>
def get_iot_hub(hub_id: Optional[str] = None,
name: Optional[str] = None,
project_id: Optional[str] = None,
region: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetIotHubResult
def get_iot_hub_output(hub_id: Optional[pulumi.Input[str]] = None,
name: Optional[pulumi.Input[str]] = None,
project_id: Optional[pulumi.Input[str]] = None,
region: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetIotHubResult]
func LookupIotHub(ctx *Context, args *LookupIotHubArgs, opts ...InvokeOption) (*LookupIotHubResult, error)
func LookupIotHubOutput(ctx *Context, args *LookupIotHubOutputArgs, opts ...InvokeOption) LookupIotHubResultOutput
> Note: This function is named LookupIotHub
in the Go SDK.
public static class GetIotHub
{
public static Task<GetIotHubResult> InvokeAsync(GetIotHubArgs args, InvokeOptions? opts = null)
public static Output<GetIotHubResult> Invoke(GetIotHubInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetIotHubResult> getIotHub(GetIotHubArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: scaleway:index/getIotHub:getIotHub
arguments:
# arguments dictionary
The following arguments are supported:
- hub_
id str - The Hub ID.
Only one of the
name
andhub_id
should be specified. - name str
- The name of the Hub.
Only one of the
name
andhub_id
should be specified. - project_
id str - The ID of the project the hub is associated with.
- region str
region
) The region in which the hub exists.
getIotHub Result
The following output properties are available:
- Connected
Device intCount - Created
At string - Device
Auto boolProvisioning - Device
Count int - Disable
Events bool - Enabled bool
- Endpoint string
- Events
Topic stringPrefix - Hub
Ca string - Hub
Ca stringChallenge - Id string
- The provider-assigned unique ID for this managed resource.
- Mqtt
Ca string - Mqtt
Ca stringUrl - Organization
Id string - Product
Plan string - Status string
- Updated
At string - Hub
Id string - Name string
- Project
Id string - Region string
- Connected
Device intCount - Created
At string - Device
Auto boolProvisioning - Device
Count int - Disable
Events bool - Enabled bool
- Endpoint string
- Events
Topic stringPrefix - Hub
Ca string - Hub
Ca stringChallenge - Id string
- The provider-assigned unique ID for this managed resource.
- Mqtt
Ca string - Mqtt
Ca stringUrl - Organization
Id string - Product
Plan string - Status string
- Updated
At string - Hub
Id string - Name string
- Project
Id string - Region string
- connected
Device IntegerCount - created
At String - device
Auto BooleanProvisioning - device
Count Integer - disable
Events Boolean - enabled Boolean
- endpoint String
- events
Topic StringPrefix - hub
Ca String - hub
Ca StringChallenge - id String
- The provider-assigned unique ID for this managed resource.
- mqtt
Ca String - mqtt
Ca StringUrl - organization
Id String - product
Plan String - status String
- updated
At String - hub
Id String - name String
- project
Id String - region String
- connected
Device numberCount - created
At string - device
Auto booleanProvisioning - device
Count number - disable
Events boolean - enabled boolean
- endpoint string
- events
Topic stringPrefix - hub
Ca string - hub
Ca stringChallenge - id string
- The provider-assigned unique ID for this managed resource.
- mqtt
Ca string - mqtt
Ca stringUrl - organization
Id string - product
Plan string - status string
- updated
At string - hub
Id string - name string
- project
Id string - region string
- connected_
device_ intcount - created_
at str - device_
auto_ boolprovisioning - device_
count int - disable_
events bool - enabled bool
- endpoint str
- events_
topic_ strprefix - hub_
ca str - hub_
ca_ strchallenge - id str
- The provider-assigned unique ID for this managed resource.
- mqtt_
ca str - mqtt_
ca_ strurl - organization_
id str - product_
plan str - status str
- updated_
at str - hub_
id str - name str
- project_
id str - region str
- connected
Device NumberCount - created
At String - device
Auto BooleanProvisioning - device
Count Number - disable
Events Boolean - enabled Boolean
- endpoint String
- events
Topic StringPrefix - hub
Ca String - hub
Ca StringChallenge - id String
- The provider-assigned unique ID for this managed resource.
- mqtt
Ca String - mqtt
Ca StringUrl - organization
Id String - product
Plan String - status String
- updated
At String - hub
Id String - name String
- project
Id String - region String
Package Details
- Repository
- scaleway pulumiverse/pulumi-scaleway
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
scaleway
Terraform Provider.