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

scaleway.iot.getHub

Explore with Pulumi AI

Scaleway v1.26.0 published on Friday, Mar 28, 2025 by pulumiverse

Gets information about an IOT Hub.

Using getHub

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 getHub(args: GetHubArgs, opts?: InvokeOptions): Promise<GetHubResult>
function getHubOutput(args: GetHubOutputArgs, opts?: InvokeOptions): Output<GetHubResult>
Copy
def get_hub(hub_id: Optional[str] = None,
            name: Optional[str] = None,
            project_id: Optional[str] = None,
            region: Optional[str] = None,
            opts: Optional[InvokeOptions] = None) -> GetHubResult
def get_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[GetHubResult]
Copy
func LookupHub(ctx *Context, args *LookupHubArgs, opts ...InvokeOption) (*LookupHubResult, error)
func LookupHubOutput(ctx *Context, args *LookupHubOutputArgs, opts ...InvokeOption) LookupHubResultOutput
Copy

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

public static class GetHub 
{
    public static Task<GetHubResult> InvokeAsync(GetHubArgs args, InvokeOptions? opts = null)
    public static Output<GetHubResult> Invoke(GetHubInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetHubResult> getHub(GetHubArgs args, InvokeOptions options)
public static Output<GetHubResult> getHub(GetHubArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: scaleway:iot/getHub:getHub
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

HubId string
The Hub ID. Only one of the name and hub_id should be specified.
Name string
The name of the Hub. Only one of the name and hub_id should be specified.
ProjectId string
The ID of the project the hub is associated with.
Region string
region) The region in which the hub exists.
HubId string
The Hub ID. Only one of the name and hub_id should be specified.
Name string
The name of the Hub. Only one of the name and hub_id should be specified.
ProjectId string
The ID of the project the hub is associated with.
Region string
region) The region in which the hub exists.
hubId String
The Hub ID. Only one of the name and hub_id should be specified.
name String
The name of the Hub. Only one of the name and hub_id should be specified.
projectId String
The ID of the project the hub is associated with.
region String
region) The region in which the hub exists.
hubId string
The Hub ID. Only one of the name and hub_id should be specified.
name string
The name of the Hub. Only one of the name and hub_id should be specified.
projectId string
The ID of the project the hub is associated with.
region string
region) The region in which the hub exists.
hub_id str
The Hub ID. Only one of the name and hub_id should be specified.
name str
The name of the Hub. Only one of the name and hub_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.
hubId String
The Hub ID. Only one of the name and hub_id should be specified.
name String
The name of the Hub. Only one of the name and hub_id should be specified.
projectId String
The ID of the project the hub is associated with.
region String
region) The region in which the hub exists.

getHub Result

The following output properties are available:

ConnectedDeviceCount int
CreatedAt string
DeviceAutoProvisioning bool
DeviceCount int
DisableEvents bool
Enabled bool
Endpoint string
EventsTopicPrefix string
HubCa string
HubCaChallenge string
Id string
The provider-assigned unique ID for this managed resource.
MqttCa string
MqttCaUrl string
OrganizationId string
ProductPlan string
Status string
UpdatedAt string
HubId string
Name string
ProjectId string
Region string
ConnectedDeviceCount int
CreatedAt string
DeviceAutoProvisioning bool
DeviceCount int
DisableEvents bool
Enabled bool
Endpoint string
EventsTopicPrefix string
HubCa string
HubCaChallenge string
Id string
The provider-assigned unique ID for this managed resource.
MqttCa string
MqttCaUrl string
OrganizationId string
ProductPlan string
Status string
UpdatedAt string
HubId string
Name string
ProjectId string
Region string
connectedDeviceCount Integer
createdAt String
deviceAutoProvisioning Boolean
deviceCount Integer
disableEvents Boolean
enabled Boolean
endpoint String
eventsTopicPrefix String
hubCa String
hubCaChallenge String
id String
The provider-assigned unique ID for this managed resource.
mqttCa String
mqttCaUrl String
organizationId String
productPlan String
status String
updatedAt String
hubId String
name String
projectId String
region String
connectedDeviceCount number
createdAt string
deviceAutoProvisioning boolean
deviceCount number
disableEvents boolean
enabled boolean
endpoint string
eventsTopicPrefix string
hubCa string
hubCaChallenge string
id string
The provider-assigned unique ID for this managed resource.
mqttCa string
mqttCaUrl string
organizationId string
productPlan string
status string
updatedAt string
hubId string
name string
projectId string
region string
connectedDeviceCount Number
createdAt String
deviceAutoProvisioning Boolean
deviceCount Number
disableEvents Boolean
enabled Boolean
endpoint String
eventsTopicPrefix String
hubCa String
hubCaChallenge String
id String
The provider-assigned unique ID for this managed resource.
mqttCa String
mqttCaUrl String
organizationId String
productPlan String
status String
updatedAt String
hubId String
name String
projectId 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.
Scaleway v1.26.0 published on Friday, Mar 28, 2025 by pulumiverse