get Dps
Use this data source to access information about an existing IotHub Device Provisioning Service.
Example Usage
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azure.iot.IotFunctions;
import com.pulumi.azure.iot.inputs.GetDpsArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var example = IotFunctions.getDps(GetDpsArgs.builder()
.name("iot_hub_dps_test")
.resourceGroupName("iothub_dps_rg")
.build());
}
}
Content copied to clipboard
Return
A collection of values returned by getDps.
Parameters
argument
A collection of arguments for invoking getDps.
suspend fun getDps(name: String, resourceGroupName: String, tags: Map<String, String>? = null): GetDpsResult
Return
A collection of values returned by getDps.
See also
Parameters
name
Specifies the name of the Iot Device Provisioning Service resource.
resource Group Name
The name of the resource group under which the Iot Device Provisioning Service is located in.
tags
Return
A collection of values returned by getDps.
See also
Parameters
argument
Builder for com.pulumi.azure.iot.kotlin.inputs.GetDpsPlainArgs.