Class IotHubDps
Manages an IotHub Device Provisioning Service.
Example Usage
using Pulumi;
using Azure = Pulumi.Azure;
class MyStack : Stack
{
public MyStack()
{
var exampleResourceGroup = new Azure.Core.ResourceGroup("exampleResourceGroup", new Azure.Core.ResourceGroupArgs
{
Location = "West US",
});
var exampleIotHubDps = new Azure.Iot.IotHubDps("exampleIotHubDps", new Azure.Iot.IotHubDpsArgs
{
ResourceGroupName = exampleResourceGroup.Name,
Location = exampleResourceGroup.Location,
Sku = new Azure.Iot.Inputs.IotHubDpsSkuArgs
{
Name = "S1",
Capacity = "1",
},
});
}
}
Inherited Members
Namespace: Pulumi.Azure.Iot
Assembly: Pulumi.Azure.dll
Syntax
public class IotHubDps : CustomResource
Constructors
View SourceIotHubDps(String, IotHubDpsArgs, CustomResourceOptions)
Create a IotHubDps resource with the given unique name, arguments, and options.
Declaration
public IotHubDps(string name, IotHubDpsArgs args, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resource |
| IotHubDpsArgs | args | The arguments used to populate this resource's properties |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Properties
View SourceAllocationPolicy
The allocation policy of the IoT Device Provisioning Service.
Declaration
public Output<string> AllocationPolicy { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
DeviceProvisioningHostName
The device endpoint of the IoT Device Provisioning Service.
Declaration
public Output<string> DeviceProvisioningHostName { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
IdScope
The unique identifier of the IoT Device Provisioning Service.
Declaration
public Output<string> IdScope { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
LinkedHubs
A linked_hub block as defined below.
Declaration
public Output<ImmutableArray<IotHubDpsLinkedHub>> LinkedHubs { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Collections.Immutable.ImmutableArray<IotHubDpsLinkedHub>> |
Location
Specifies the supported Azure location where the resource has to be createc. Changing this forces a new resource to be created.
Declaration
public Output<string> Location { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Name
Specifies the name of the Iot Device Provisioning Service resource. Changing this forces a new resource to be created.
Declaration
public Output<string> Name { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
ResourceGroupName
The name of the resource group under which the Iot Device Provisioning Service resource has to be created. Changing this forces a new resource to be created.
Declaration
public Output<string> ResourceGroupName { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
ServiceOperationsHostName
The service endpoint of the IoT Device Provisioning Service.
Declaration
public Output<string> ServiceOperationsHostName { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Sku
A sku block as defined below.
Declaration
public Output<IotHubDpsSku> Sku { get; }
Property Value
| Type | Description |
|---|---|
| Output<IotHubDpsSku> |
Tags
A mapping of tags to assign to the resource.
Declaration
public Output<ImmutableDictionary<string, string>> Tags { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Collections.Immutable.ImmutableDictionary<System.String, System.String>> |
Methods
View SourceGet(String, Input<String>, IotHubDpsState, CustomResourceOptions)
Get an existing IotHubDps resource's state with the given name, ID, and optional extra properties used to qualify the lookup.
Declaration
public static IotHubDps Get(string name, Input<string> id, IotHubDpsState state = null, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resulting resource. |
| Input<System.String> | id | The unique provider ID of the resource to lookup. |
| IotHubDpsState | state | Any extra arguments used during the lookup. |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Returns
| Type | Description |
|---|---|
| IotHubDps |