@pulumiverse/scaleway
Version:
A Pulumi package for creating and managing Scaleway cloud resources.
85 lines • 2.42 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
/**
* Gets information about an IOT Hub.
*/
export declare function getHub(args?: GetHubArgs, opts?: pulumi.InvokeOptions): Promise<GetHubResult>;
/**
* A collection of arguments for invoking getHub.
*/
export interface GetHubArgs {
/**
* 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 getHub.
*/
export interface GetHubResult {
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.
*/
export declare function getHubOutput(args?: GetHubOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetHubResult>;
/**
* A collection of arguments for invoking getHub.
*/
export interface GetHubOutputArgs {
/**
* The Hub ID.
* Only one of the `name` and `hubId` should be specified.
*/
hubId?: pulumi.Input<string | undefined>;
/**
* The name of the Hub.
* Only one of the `name` and `hubId` should be specified.
*/
name?: pulumi.Input<string | undefined>;
/**
* The ID of the project the hub is associated with.
*/
projectId?: pulumi.Input<string | undefined>;
/**
* `region`) The region in which the hub exists.
*/
region?: pulumi.Input<string | undefined>;
}
//# sourceMappingURL=getHub.d.ts.map