getDevice

Get a Device. Use '.unassigned' or '.default' for the device group and product names when a device does not belong to a device group and product. 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/#accessing-any-api-version-via-local-packages for details.

Return

An device resource belonging to a device group resource.

Parameters

argument

null


suspend fun getDevice(catalogName: String, deviceGroupName: String, deviceName: String, productName: String, resourceGroupName: String): GetDeviceResult

Return

An device resource belonging to a device group resource.

Parameters

catalogName

Name of catalog

deviceGroupName

Name of device group.

deviceName

Device name

productName

Name of product.

resourceGroupName

The name of the resource group. The name is case insensitive.

See also


suspend fun getDevice(argument: suspend GetDevicePlainArgsBuilder.() -> Unit): GetDeviceResult

Return

An device resource belonging to a device group resource.

Parameters

argument

Builder for com.pulumi.azurenative.azuresphere.kotlin.inputs.GetDevicePlainArgs.

See also