@pulumi/azure-native
Version:
[](https://slack.pulumi.com) [](https://npmjs.com/package/@pulumi/azure-native) [ • 2.68 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
* Lists devices for catalog.
*
* Uses Azure REST API version 2024-04-01.
*
* Other available API versions: 2022-09-01-preview. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native azuresphere [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details.
*/
export declare function listCatalogDevices(args: ListCatalogDevicesArgs, opts?: pulumi.InvokeOptions): Promise<ListCatalogDevicesResult>;
export interface ListCatalogDevicesArgs {
/**
* Name of catalog
*/
catalogName: string;
/**
* Filter the result list using the given expression
*/
filter?: string;
/**
* The maximum number of result items per page.
*/
maxpagesize?: number;
/**
* The name of the resource group. The name is case insensitive.
*/
resourceGroupName: string;
/**
* The number of result items to skip.
*/
skip?: number;
/**
* The number of result items to return.
*/
top?: number;
}
/**
* The response of a Device list operation.
*/
export interface ListCatalogDevicesResult {
/**
* The link to the next page of items
*/
readonly nextLink?: string;
/**
* The Device items on this page
*/
readonly value: outputs.azuresphere.DeviceResponse[];
}
/**
* Lists devices for catalog.
*
* Uses Azure REST API version 2024-04-01.
*
* Other available API versions: 2022-09-01-preview. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native azuresphere [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details.
*/
export declare function listCatalogDevicesOutput(args: ListCatalogDevicesOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<ListCatalogDevicesResult>;
export interface ListCatalogDevicesOutputArgs {
/**
* Name of catalog
*/
catalogName: pulumi.Input<string>;
/**
* Filter the result list using the given expression
*/
filter?: pulumi.Input<string>;
/**
* The maximum number of result items per page.
*/
maxpagesize?: pulumi.Input<number>;
/**
* The name of the resource group. The name is case insensitive.
*/
resourceGroupName: pulumi.Input<string>;
/**
* The number of result items to skip.
*/
skip?: pulumi.Input<number>;
/**
* The number of result items to return.
*/
top?: pulumi.Input<number>;
}