@pulumiverse/scaleway
Version:
A Pulumi package for creating and managing Scaleway cloud resources.
87 lines (86 loc) • 2.6 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
/**
* Gets information about an IOT Hub.
*/
/** @deprecated scaleway.index/getiothub.getIotHub has been deprecated in favor of scaleway.iot/gethub.getHub */
export declare function getIotHub(args?: GetIotHubArgs, opts?: pulumi.InvokeOptions): Promise<GetIotHubResult>;
/**
* A collection of arguments for invoking getIotHub.
*/
export interface GetIotHubArgs {
/**
* The Hub ID.
* Only one of the `name` and `hubId` should be specified.
*/
hubId?: string;
/**
* The name of the Hub.
* Only one of the `name` and `hubId` should be specified.
*/
name?: string;
/**
* The ID of the project the hub is associated with.
*/
projectId?: string;
/**
* `region`) The region in which the hub exists.
*/
region?: string;
}
/**
* A collection of values returned by getIotHub.
*/
export interface GetIotHubResult {
readonly connectedDeviceCount: number;
readonly createdAt: string;
readonly deviceAutoProvisioning: boolean;
readonly deviceCount: number;
readonly disableEvents: boolean;
readonly enabled: boolean;
readonly endpoint: string;
readonly eventsTopicPrefix: string;
readonly hubCa: string;
readonly hubCaChallenge: string;
readonly hubId?: string;
/**
* The provider-assigned unique ID for this managed resource.
*/
readonly id: string;
readonly mqttCa: string;
readonly mqttCaUrl: string;
readonly name?: string;
readonly organizationId: string;
readonly productPlan: string;
readonly projectId?: string;
readonly region?: string;
readonly status: string;
readonly updatedAt: string;
}
/**
* Gets information about an IOT Hub.
*/
/** @deprecated scaleway.index/getiothub.getIotHub has been deprecated in favor of scaleway.iot/gethub.getHub */
export declare function getIotHubOutput(args?: GetIotHubOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetIotHubResult>;
/**
* A collection of arguments for invoking getIotHub.
*/
export interface GetIotHubOutputArgs {
/**
* The Hub ID.
* Only one of the `name` and `hubId` should be specified.
*/
hubId?: pulumi.Input<string>;
/**
* The name of the Hub.
* Only one of the `name` and `hubId` should be specified.
*/
name?: pulumi.Input<string>;
/**
* The ID of the project the hub is associated with.
*/
projectId?: pulumi.Input<string>;
/**
* `region`) The region in which the hub exists.
*/
region?: pulumi.Input<string>;
}