Class GetDps
Inheritance
System.Object
GetDps
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.Azure.Iot
Assembly: Pulumi.Azure.dll
Syntax
public static class GetDps
Methods
View SourceInvokeAsync(GetDpsArgs, InvokeOptions)
Use this data source to access information about an existing IotHub Device Provisioning Service.
{{% examples %}}
Example Usage
{{% example %}}
using Pulumi;
using Azure = Pulumi.Azure;
class MyStack : Stack
{
public MyStack()
{
var example = Output.Create(Azure.Iot.GetDps.InvokeAsync(new Azure.Iot.GetDpsArgs
{
Name = "iot_hub_dps_test",
ResourceGroupName = "iothub_dps_rg",
}));
}
}
{{% /example %}} {{% /examples %}}
Declaration
public static Task<GetDpsResult> InvokeAsync(GetDpsArgs args, InvokeOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| GetDpsArgs | args | |
| InvokeOptions | options |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<GetDpsResult> |