azure-native.devices.IotDpsResource
Explore with Pulumi AI
The description of the provisioning service. API Version: 2020-03-01.
Example Usage
DPSCreate
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var iotDpsResource = new AzureNative.Devices.IotDpsResource("iotDpsResource", new()
{
Location = "East US",
Properties = null,
ProvisioningServiceName = "myFirstProvisioningService",
ResourceGroupName = "myResourceGroup",
Sku = new AzureNative.Devices.Inputs.IotDpsSkuInfoArgs
{
Capacity = 1,
Name = "S1",
},
Tags = null,
});
});
package main
import (
devices "github.com/pulumi/pulumi-azure-native-sdk/devices"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := devices.NewIotDpsResource(ctx, "iotDpsResource", &devices.IotDpsResourceArgs{
Location: pulumi.String("East US"),
Properties: nil,
ProvisioningServiceName: pulumi.String("myFirstProvisioningService"),
ResourceGroupName: pulumi.String("myResourceGroup"),
Sku: &devices.IotDpsSkuInfoArgs{
Capacity: pulumi.Float64(1),
Name: pulumi.String("S1"),
},
Tags: nil,
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.devices.IotDpsResource;
import com.pulumi.azurenative.devices.IotDpsResourceArgs;
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) {
var iotDpsResource = new IotDpsResource("iotDpsResource", IotDpsResourceArgs.builder()
.location("East US")
.properties()
.provisioningServiceName("myFirstProvisioningService")
.resourceGroupName("myResourceGroup")
.sku(Map.ofEntries(
Map.entry("capacity", 1),
Map.entry("name", "S1")
))
.tags()
.build());
}
}
import pulumi
import pulumi_azure_native as azure_native
iot_dps_resource = azure_native.devices.IotDpsResource("iotDpsResource",
location="East US",
properties=azure_native.devices.IotDpsPropertiesDescriptionArgs(),
provisioning_service_name="myFirstProvisioningService",
resource_group_name="myResourceGroup",
sku=azure_native.devices.IotDpsSkuInfoArgs(
capacity=1,
name="S1",
),
tags={})
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const iotDpsResource = new azure_native.devices.IotDpsResource("iotDpsResource", {
location: "East US",
properties: {},
provisioningServiceName: "myFirstProvisioningService",
resourceGroupName: "myResourceGroup",
sku: {
capacity: 1,
name: "S1",
},
tags: {},
});
resources:
iotDpsResource:
type: azure-native:devices:IotDpsResource
properties:
location: East US
properties: {}
provisioningServiceName: myFirstProvisioningService
resourceGroupName: myResourceGroup
sku:
capacity: 1
name: S1
tags: {}
Create IotDpsResource Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new IotDpsResource(name: string, args: IotDpsResourceArgs, opts?: CustomResourceOptions);
@overload
def IotDpsResource(resource_name: str,
args: IotDpsResourceArgs,
opts: Optional[ResourceOptions] = None)
@overload
def IotDpsResource(resource_name: str,
opts: Optional[ResourceOptions] = None,
properties: Optional[IotDpsPropertiesDescriptionArgs] = None,
resource_group_name: Optional[str] = None,
sku: Optional[IotDpsSkuInfoArgs] = None,
location: Optional[str] = None,
provisioning_service_name: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None)
func NewIotDpsResource(ctx *Context, name string, args IotDpsResourceArgs, opts ...ResourceOption) (*IotDpsResource, error)
public IotDpsResource(string name, IotDpsResourceArgs args, CustomResourceOptions? opts = null)
public IotDpsResource(String name, IotDpsResourceArgs args)
public IotDpsResource(String name, IotDpsResourceArgs args, CustomResourceOptions options)
type: azure-native:devices:IotDpsResource
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args IotDpsResourceArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args IotDpsResourceArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args IotDpsResourceArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args IotDpsResourceArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args IotDpsResourceArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var iotDpsResourceResource = new AzureNative.Devices.IotDpsResource("iotDpsResourceResource", new()
{
Properties =
{
{ "allocationPolicy", "string" },
{ "authorizationPolicies", new[]
{
{
{ "keyName", "string" },
{ "rights", "string" },
{ "primaryKey", "string" },
{ "secondaryKey", "string" },
},
} },
{ "iotHubs", new[]
{
{
{ "connectionString", "string" },
{ "location", "string" },
{ "allocationWeight", 0 },
{ "applyAllocationPolicy", false },
},
} },
{ "ipFilterRules", new[]
{
{
{ "action", "Accept" },
{ "filterName", "string" },
{ "ipMask", "string" },
{ "target", "all" },
},
} },
{ "privateEndpointConnections", new[]
{
{
{ "properties",
{
{ "privateLinkServiceConnectionState",
{
{ "description", "string" },
{ "status", "string" },
{ "actionsRequired", "string" },
} },
} },
},
} },
{ "provisioningState", "string" },
{ "publicNetworkAccess", "string" },
{ "state", "string" },
},
ResourceGroupName = "string",
Sku =
{
{ "capacity", 0 },
{ "name", "string" },
},
Location = "string",
ProvisioningServiceName = "string",
Tags =
{
{ "string", "string" },
},
});
example, err := devices.NewIotDpsResource(ctx, "iotDpsResourceResource", &devices.IotDpsResourceArgs{
Properties: map[string]interface{}{
"allocationPolicy": "string",
"authorizationPolicies": []map[string]interface{}{
map[string]interface{}{
"keyName": "string",
"rights": "string",
"primaryKey": "string",
"secondaryKey": "string",
},
},
"iotHubs": []map[string]interface{}{
map[string]interface{}{
"connectionString": "string",
"location": "string",
"allocationWeight": 0,
"applyAllocationPolicy": false,
},
},
"ipFilterRules": []map[string]interface{}{
map[string]interface{}{
"action": "Accept",
"filterName": "string",
"ipMask": "string",
"target": "all",
},
},
"privateEndpointConnections": []map[string]interface{}{
map[string]interface{}{
"properties": map[string]interface{}{
"privateLinkServiceConnectionState": map[string]interface{}{
"description": "string",
"status": "string",
"actionsRequired": "string",
},
},
},
},
"provisioningState": "string",
"publicNetworkAccess": "string",
"state": "string",
},
ResourceGroupName: "string",
Sku: map[string]interface{}{
"capacity": 0,
"name": "string",
},
Location: "string",
ProvisioningServiceName: "string",
Tags: map[string]interface{}{
"string": "string",
},
})
var iotDpsResourceResource = new IotDpsResource("iotDpsResourceResource", IotDpsResourceArgs.builder()
.properties(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.resourceGroupName("string")
.sku(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.location("string")
.provisioningServiceName("string")
.tags(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.build());
iot_dps_resource_resource = azure_native.devices.IotDpsResource("iotDpsResourceResource",
properties={
allocationPolicy: string,
authorizationPolicies: [{
keyName: string,
rights: string,
primaryKey: string,
secondaryKey: string,
}],
iotHubs: [{
connectionString: string,
location: string,
allocationWeight: 0,
applyAllocationPolicy: False,
}],
ipFilterRules: [{
action: Accept,
filterName: string,
ipMask: string,
target: all,
}],
privateEndpointConnections: [{
properties: {
privateLinkServiceConnectionState: {
description: string,
status: string,
actionsRequired: string,
},
},
}],
provisioningState: string,
publicNetworkAccess: string,
state: string,
},
resource_group_name=string,
sku={
capacity: 0,
name: string,
},
location=string,
provisioning_service_name=string,
tags={
string: string,
})
const iotDpsResourceResource = new azure_native.devices.IotDpsResource("iotDpsResourceResource", {
properties: {
allocationPolicy: "string",
authorizationPolicies: [{
keyName: "string",
rights: "string",
primaryKey: "string",
secondaryKey: "string",
}],
iotHubs: [{
connectionString: "string",
location: "string",
allocationWeight: 0,
applyAllocationPolicy: false,
}],
ipFilterRules: [{
action: "Accept",
filterName: "string",
ipMask: "string",
target: "all",
}],
privateEndpointConnections: [{
properties: {
privateLinkServiceConnectionState: {
description: "string",
status: "string",
actionsRequired: "string",
},
},
}],
provisioningState: "string",
publicNetworkAccess: "string",
state: "string",
},
resourceGroupName: "string",
sku: {
capacity: 0,
name: "string",
},
location: "string",
provisioningServiceName: "string",
tags: {
string: "string",
},
});
type: azure-native:devices:IotDpsResource
properties:
location: string
properties:
allocationPolicy: string
authorizationPolicies:
- keyName: string
primaryKey: string
rights: string
secondaryKey: string
iotHubs:
- allocationWeight: 0
applyAllocationPolicy: false
connectionString: string
location: string
ipFilterRules:
- action: Accept
filterName: string
ipMask: string
target: all
privateEndpointConnections:
- properties:
privateLinkServiceConnectionState:
actionsRequired: string
description: string
status: string
provisioningState: string
publicNetworkAccess: string
state: string
provisioningServiceName: string
resourceGroupName: string
sku:
capacity: 0
name: string
tags:
string: string
IotDpsResource Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The IotDpsResource resource accepts the following input properties:
- Properties
Pulumi.
Azure Native. Devices. Inputs. Iot Dps Properties Description - Service specific properties for a provisioning service
- Resource
Group stringName - Resource group identifier.
- Sku
Pulumi.
Azure Native. Devices. Inputs. Iot Dps Sku Info - Sku info for a provisioning Service.
- Location string
- The resource location.
- Provisioning
Service stringName - Name of provisioning service to create or update.
- Dictionary<string, string>
- The resource tags.
- Properties
Iot
Dps Properties Description Args - Service specific properties for a provisioning service
- Resource
Group stringName - Resource group identifier.
- Sku
Iot
Dps Sku Info Args - Sku info for a provisioning Service.
- Location string
- The resource location.
- Provisioning
Service stringName - Name of provisioning service to create or update.
- map[string]string
- The resource tags.
- properties
Iot
Dps Properties Description - Service specific properties for a provisioning service
- resource
Group StringName - Resource group identifier.
- sku
Iot
Dps Sku Info - Sku info for a provisioning Service.
- location String
- The resource location.
- provisioning
Service StringName - Name of provisioning service to create or update.
- Map<String,String>
- The resource tags.
- properties
Iot
Dps Properties Description - Service specific properties for a provisioning service
- resource
Group stringName - Resource group identifier.
- sku
Iot
Dps Sku Info - Sku info for a provisioning Service.
- location string
- The resource location.
- provisioning
Service stringName - Name of provisioning service to create or update.
- {[key: string]: string}
- The resource tags.
- properties
Iot
Dps Properties Description Args - Service specific properties for a provisioning service
- resource_
group_ strname - Resource group identifier.
- sku
Iot
Dps Sku Info Args - Sku info for a provisioning Service.
- location str
- The resource location.
- provisioning_
service_ strname - Name of provisioning service to create or update.
- Mapping[str, str]
- The resource tags.
- properties Property Map
- Service specific properties for a provisioning service
- resource
Group StringName - Resource group identifier.
- sku Property Map
- Sku info for a provisioning Service.
- location String
- The resource location.
- provisioning
Service StringName - Name of provisioning service to create or update.
- Map<String>
- The resource tags.
Outputs
All input properties are implicitly available as output properties. Additionally, the IotDpsResource resource produces the following output properties:
Supporting Types
AccessRightsDescription, AccessRightsDescriptionArgs
- Service
Config - ServiceConfig
- Enrollment
Read - EnrollmentRead
- Enrollment
Write - EnrollmentWrite
- Device
Connect - DeviceConnect
- Registration
Status Read - RegistrationStatusRead
- Registration
Status Write - RegistrationStatusWrite
- Access
Rights Description Service Config - ServiceConfig
- Access
Rights Description Enrollment Read - EnrollmentRead
- Access
Rights Description Enrollment Write - EnrollmentWrite
- Access
Rights Description Device Connect - DeviceConnect
- Access
Rights Description Registration Status Read - RegistrationStatusRead
- Access
Rights Description Registration Status Write - RegistrationStatusWrite
- Service
Config - ServiceConfig
- Enrollment
Read - EnrollmentRead
- Enrollment
Write - EnrollmentWrite
- Device
Connect - DeviceConnect
- Registration
Status Read - RegistrationStatusRead
- Registration
Status Write - RegistrationStatusWrite
- Service
Config - ServiceConfig
- Enrollment
Read - EnrollmentRead
- Enrollment
Write - EnrollmentWrite
- Device
Connect - DeviceConnect
- Registration
Status Read - RegistrationStatusRead
- Registration
Status Write - RegistrationStatusWrite
- SERVICE_CONFIG
- ServiceConfig
- ENROLLMENT_READ
- EnrollmentRead
- ENROLLMENT_WRITE
- EnrollmentWrite
- DEVICE_CONNECT
- DeviceConnect
- REGISTRATION_STATUS_READ
- RegistrationStatusRead
- REGISTRATION_STATUS_WRITE
- RegistrationStatusWrite
- "Service
Config" - ServiceConfig
- "Enrollment
Read" - EnrollmentRead
- "Enrollment
Write" - EnrollmentWrite
- "Device
Connect" - DeviceConnect
- "Registration
Status Read" - RegistrationStatusRead
- "Registration
Status Write" - RegistrationStatusWrite
AllocationPolicy, AllocationPolicyArgs
- Hashed
- Hashed
- Geo
Latency - GeoLatency
- Static
- Static
- Allocation
Policy Hashed - Hashed
- Allocation
Policy Geo Latency - GeoLatency
- Allocation
Policy Static - Static
- Hashed
- Hashed
- Geo
Latency - GeoLatency
- Static
- Static
- Hashed
- Hashed
- Geo
Latency - GeoLatency
- Static
- Static
- HASHED
- Hashed
- GEO_LATENCY
- GeoLatency
- STATIC
- Static
- "Hashed"
- Hashed
- "Geo
Latency" - GeoLatency
- "Static"
- Static
IotDpsPropertiesDescription, IotDpsPropertiesDescriptionArgs
- Allocation
Policy string | Pulumi.Azure Native. Devices. Allocation Policy - Allocation policy to be used by this provisioning service.
- List<Pulumi.
Azure Native. Devices. Inputs. Shared Access Signature Authorization Rule Access Rights Description> - List of authorization keys for a provisioning service.
- Iot
Hubs List<Pulumi.Azure Native. Devices. Inputs. Iot Hub Definition Description> - List of IoT hubs associated with this provisioning service.
- Ip
Filter List<Pulumi.Rules Azure Native. Devices. Inputs. Target Ip Filter Rule> - The IP filter rules.
- Private
Endpoint List<Pulumi.Connections Azure Native. Devices. Inputs. Private Endpoint Connection> - Private endpoint connections created on this IotHub
- Provisioning
State string - The ARM provisioning state of the provisioning service.
- Public
Network string | Pulumi.Access Azure Native. Devices. Public Network Access - Whether requests from Public Network are allowed
- State
string | Pulumi.
Azure Native. Devices. State - Current state of the provisioning service.
- Allocation
Policy string | AllocationPolicy - Allocation policy to be used by this provisioning service.
- []Shared
Access Signature Authorization Rule Access Rights Description - List of authorization keys for a provisioning service.
- Iot
Hubs []IotHub Definition Description - List of IoT hubs associated with this provisioning service.
- Ip
Filter []TargetRules Ip Filter Rule - The IP filter rules.
- Private
Endpoint []PrivateConnections Endpoint Connection Type - Private endpoint connections created on this IotHub
- Provisioning
State string - The ARM provisioning state of the provisioning service.
- Public
Network string | PublicAccess Network Access - Whether requests from Public Network are allowed
- State string | State
- Current state of the provisioning service.
- allocation
Policy String | AllocationPolicy - Allocation policy to be used by this provisioning service.
- List<Shared
Access Signature Authorization Rule Access Rights Description> - List of authorization keys for a provisioning service.
- iot
Hubs List<IotHub Definition Description> - List of IoT hubs associated with this provisioning service.
- ip
Filter List<TargetRules Ip Filter Rule> - The IP filter rules.
- private
Endpoint List<PrivateConnections Endpoint Connection> - Private endpoint connections created on this IotHub
- provisioning
State String - The ARM provisioning state of the provisioning service.
- public
Network String | PublicAccess Network Access - Whether requests from Public Network are allowed
- state String | State
- Current state of the provisioning service.
- allocation
Policy string | AllocationPolicy - Allocation policy to be used by this provisioning service.
- Shared
Access Signature Authorization Rule Access Rights Description[] - List of authorization keys for a provisioning service.
- iot
Hubs IotHub Definition Description[] - List of IoT hubs associated with this provisioning service.
- ip
Filter TargetRules Ip Filter Rule[] - The IP filter rules.
- private
Endpoint PrivateConnections Endpoint Connection[] - Private endpoint connections created on this IotHub
- provisioning
State string - The ARM provisioning state of the provisioning service.
- public
Network string | PublicAccess Network Access - Whether requests from Public Network are allowed
- state string | State
- Current state of the provisioning service.
- allocation_
policy str | AllocationPolicy - Allocation policy to be used by this provisioning service.
- Sequence[Shared
Access Signature Authorization Rule Access Rights Description] - List of authorization keys for a provisioning service.
- iot_
hubs Sequence[IotHub Definition Description] - List of IoT hubs associated with this provisioning service.
- ip_
filter_ Sequence[Targetrules Ip Filter Rule] - The IP filter rules.
- private_
endpoint_ Sequence[Privateconnections Endpoint Connection] - Private endpoint connections created on this IotHub
- provisioning_
state str - The ARM provisioning state of the provisioning service.
- public_
network_ str | Publicaccess Network Access - Whether requests from Public Network are allowed
- state str | State
- Current state of the provisioning service.
- allocation
Policy String | "Hashed" | "GeoLatency" | "Static" - Allocation policy to be used by this provisioning service.
- List<Property Map>
- List of authorization keys for a provisioning service.
- iot
Hubs List<Property Map> - List of IoT hubs associated with this provisioning service.
- ip
Filter List<Property Map>Rules - The IP filter rules.
- private
Endpoint List<Property Map>Connections - Private endpoint connections created on this IotHub
- provisioning
State String - The ARM provisioning state of the provisioning service.
- public
Network String | "Enabled" | "Disabled"Access - Whether requests from Public Network are allowed
- state
String | "Activating" | "Active" | "Deleting" | "Deleted" | "Activation
Failed" | "Deletion Failed" | "Transitioning" | "Suspending" | "Suspended" | "Resuming" | "Failing Over" | "Failover Failed" - Current state of the provisioning service.
IotDpsPropertiesDescriptionResponse, IotDpsPropertiesDescriptionResponseArgs
- Device
Provisioning stringHost Name - Device endpoint for this provisioning service.
- Id
Scope string - Unique identifier of this provisioning service.
- Service
Operations stringHost Name - Service endpoint for provisioning service.
- Allocation
Policy string - Allocation policy to be used by this provisioning service.
- List<Pulumi.
Azure Native. Devices. Inputs. Shared Access Signature Authorization Rule Access Rights Description Response> - List of authorization keys for a provisioning service.
- Iot
Hubs List<Pulumi.Azure Native. Devices. Inputs. Iot Hub Definition Description Response> - List of IoT hubs associated with this provisioning service.
- Ip
Filter List<Pulumi.Rules Azure Native. Devices. Inputs. Target Ip Filter Rule Response> - The IP filter rules.
- Private
Endpoint List<Pulumi.Connections Azure Native. Devices. Inputs. Private Endpoint Connection Response> - Private endpoint connections created on this IotHub
- Provisioning
State string - The ARM provisioning state of the provisioning service.
- Public
Network stringAccess - Whether requests from Public Network are allowed
- State string
- Current state of the provisioning service.
- Device
Provisioning stringHost Name - Device endpoint for this provisioning service.
- Id
Scope string - Unique identifier of this provisioning service.
- Service
Operations stringHost Name - Service endpoint for provisioning service.
- Allocation
Policy string - Allocation policy to be used by this provisioning service.
- []Shared
Access Signature Authorization Rule Access Rights Description Response - List of authorization keys for a provisioning service.
- Iot
Hubs []IotHub Definition Description Response - List of IoT hubs associated with this provisioning service.
- Ip
Filter []TargetRules Ip Filter Rule Response - The IP filter rules.
- Private
Endpoint []PrivateConnections Endpoint Connection Response - Private endpoint connections created on this IotHub
- Provisioning
State string - The ARM provisioning state of the provisioning service.
- Public
Network stringAccess - Whether requests from Public Network are allowed
- State string
- Current state of the provisioning service.
- device
Provisioning StringHost Name - Device endpoint for this provisioning service.
- id
Scope String - Unique identifier of this provisioning service.
- service
Operations StringHost Name - Service endpoint for provisioning service.
- allocation
Policy String - Allocation policy to be used by this provisioning service.
- List<Shared
Access Signature Authorization Rule Access Rights Description Response> - List of authorization keys for a provisioning service.
- iot
Hubs List<IotHub Definition Description Response> - List of IoT hubs associated with this provisioning service.
- ip
Filter List<TargetRules Ip Filter Rule Response> - The IP filter rules.
- private
Endpoint List<PrivateConnections Endpoint Connection Response> - Private endpoint connections created on this IotHub
- provisioning
State String - The ARM provisioning state of the provisioning service.
- public
Network StringAccess - Whether requests from Public Network are allowed
- state String
- Current state of the provisioning service.
- device
Provisioning stringHost Name - Device endpoint for this provisioning service.
- id
Scope string - Unique identifier of this provisioning service.
- service
Operations stringHost Name - Service endpoint for provisioning service.
- allocation
Policy string - Allocation policy to be used by this provisioning service.
- Shared
Access Signature Authorization Rule Access Rights Description Response[] - List of authorization keys for a provisioning service.
- iot
Hubs IotHub Definition Description Response[] - List of IoT hubs associated with this provisioning service.
- ip
Filter TargetRules Ip Filter Rule Response[] - The IP filter rules.
- private
Endpoint PrivateConnections Endpoint Connection Response[] - Private endpoint connections created on this IotHub
- provisioning
State string - The ARM provisioning state of the provisioning service.
- public
Network stringAccess - Whether requests from Public Network are allowed
- state string
- Current state of the provisioning service.
- device_
provisioning_ strhost_ name - Device endpoint for this provisioning service.
- id_
scope str - Unique identifier of this provisioning service.
- service_
operations_ strhost_ name - Service endpoint for provisioning service.
- allocation_
policy str - Allocation policy to be used by this provisioning service.
- Sequence[Shared
Access Signature Authorization Rule Access Rights Description Response] - List of authorization keys for a provisioning service.
- iot_
hubs Sequence[IotHub Definition Description Response] - List of IoT hubs associated with this provisioning service.
- ip_
filter_ Sequence[Targetrules Ip Filter Rule Response] - The IP filter rules.
- private_
endpoint_ Sequence[Privateconnections Endpoint Connection Response] - Private endpoint connections created on this IotHub
- provisioning_
state str - The ARM provisioning state of the provisioning service.
- public_
network_ straccess - Whether requests from Public Network are allowed
- state str
- Current state of the provisioning service.
- device
Provisioning StringHost Name - Device endpoint for this provisioning service.
- id
Scope String - Unique identifier of this provisioning service.
- service
Operations StringHost Name - Service endpoint for provisioning service.
- allocation
Policy String - Allocation policy to be used by this provisioning service.
- List<Property Map>
- List of authorization keys for a provisioning service.
- iot
Hubs List<Property Map> - List of IoT hubs associated with this provisioning service.
- ip
Filter List<Property Map>Rules - The IP filter rules.
- private
Endpoint List<Property Map>Connections - Private endpoint connections created on this IotHub
- provisioning
State String - The ARM provisioning state of the provisioning service.
- public
Network StringAccess - Whether requests from Public Network are allowed
- state String
- Current state of the provisioning service.
IotDpsSku, IotDpsSkuArgs
- S1
- S1
- Iot
Dps Sku S1 - S1
- S1
- S1
- S1
- S1
- S1
- S1
- "S1"
- S1
IotDpsSkuInfo, IotDpsSkuInfoArgs
- Capacity double
- The number of units to provision
- Name
string | Pulumi.
Azure Native. Devices. Iot Dps Sku - Sku name.
IotDpsSkuInfoResponse, IotDpsSkuInfoResponseArgs
IotHubDefinitionDescription, IotHubDefinitionDescriptionArgs
- Connection
String string - Connection string of the IoT hub.
- Location string
- ARM region of the IoT hub.
- Allocation
Weight int - weight to apply for a given iot h.
- Apply
Allocation boolPolicy - flag for applying allocationPolicy or not for a given iot hub.
- Connection
String string - Connection string of the IoT hub.
- Location string
- ARM region of the IoT hub.
- Allocation
Weight int - weight to apply for a given iot h.
- Apply
Allocation boolPolicy - flag for applying allocationPolicy or not for a given iot hub.
- connection
String String - Connection string of the IoT hub.
- location String
- ARM region of the IoT hub.
- allocation
Weight Integer - weight to apply for a given iot h.
- apply
Allocation BooleanPolicy - flag for applying allocationPolicy or not for a given iot hub.
- connection
String string - Connection string of the IoT hub.
- location string
- ARM region of the IoT hub.
- allocation
Weight number - weight to apply for a given iot h.
- apply
Allocation booleanPolicy - flag for applying allocationPolicy or not for a given iot hub.
- connection_
string str - Connection string of the IoT hub.
- location str
- ARM region of the IoT hub.
- allocation_
weight int - weight to apply for a given iot h.
- apply_
allocation_ boolpolicy - flag for applying allocationPolicy or not for a given iot hub.
- connection
String String - Connection string of the IoT hub.
- location String
- ARM region of the IoT hub.
- allocation
Weight Number - weight to apply for a given iot h.
- apply
Allocation BooleanPolicy - flag for applying allocationPolicy or not for a given iot hub.
IotHubDefinitionDescriptionResponse, IotHubDefinitionDescriptionResponseArgs
- Connection
String string - Connection string of the IoT hub.
- Location string
- ARM region of the IoT hub.
- Name string
- Host name of the IoT hub.
- Allocation
Weight int - weight to apply for a given iot h.
- Apply
Allocation boolPolicy - flag for applying allocationPolicy or not for a given iot hub.
- Connection
String string - Connection string of the IoT hub.
- Location string
- ARM region of the IoT hub.
- Name string
- Host name of the IoT hub.
- Allocation
Weight int - weight to apply for a given iot h.
- Apply
Allocation boolPolicy - flag for applying allocationPolicy or not for a given iot hub.
- connection
String String - Connection string of the IoT hub.
- location String
- ARM region of the IoT hub.
- name String
- Host name of the IoT hub.
- allocation
Weight Integer - weight to apply for a given iot h.
- apply
Allocation BooleanPolicy - flag for applying allocationPolicy or not for a given iot hub.
- connection
String string - Connection string of the IoT hub.
- location string
- ARM region of the IoT hub.
- name string
- Host name of the IoT hub.
- allocation
Weight number - weight to apply for a given iot h.
- apply
Allocation booleanPolicy - flag for applying allocationPolicy or not for a given iot hub.
- connection_
string str - Connection string of the IoT hub.
- location str
- ARM region of the IoT hub.
- name str
- Host name of the IoT hub.
- allocation_
weight int - weight to apply for a given iot h.
- apply_
allocation_ boolpolicy - flag for applying allocationPolicy or not for a given iot hub.
- connection
String String - Connection string of the IoT hub.
- location String
- ARM region of the IoT hub.
- name String
- Host name of the IoT hub.
- allocation
Weight Number - weight to apply for a given iot h.
- apply
Allocation BooleanPolicy - flag for applying allocationPolicy or not for a given iot hub.
IpFilterActionType, IpFilterActionTypeArgs
- Accept
- Accept
- Reject
- Reject
- Ip
Filter Action Type Accept - Accept
- Ip
Filter Action Type Reject - Reject
- Accept
- Accept
- Reject
- Reject
- Accept
- Accept
- Reject
- Reject
- ACCEPT
- Accept
- REJECT
- Reject
- "Accept"
- Accept
- "Reject"
- Reject
IpFilterTargetType, IpFilterTargetTypeArgs
- All
- all
- Service
Api - serviceApi
- Device
Api - deviceApi
- Ip
Filter Target Type All - all
- Ip
Filter Target Type Service Api - serviceApi
- Ip
Filter Target Type Device Api - deviceApi
- All
- all
- Service
Api - serviceApi
- Device
Api - deviceApi
- All
- all
- Service
Api - serviceApi
- Device
Api - deviceApi
- ALL
- all
- SERVICE_API
- serviceApi
- DEVICE_API
- deviceApi
- "all"
- all
- "service
Api" - serviceApi
- "device
Api" - deviceApi
PrivateEndpointConnection, PrivateEndpointConnectionArgs
- Properties
Pulumi.
Azure Native. Devices. Inputs. Private Endpoint Connection Properties - The properties of a private endpoint connection
- Properties
Private
Endpoint Connection Properties - The properties of a private endpoint connection
- properties
Private
Endpoint Connection Properties - The properties of a private endpoint connection
- properties
Private
Endpoint Connection Properties - The properties of a private endpoint connection
- properties
Private
Endpoint Connection Properties - The properties of a private endpoint connection
- properties Property Map
- The properties of a private endpoint connection
PrivateEndpointConnectionProperties, PrivateEndpointConnectionPropertiesArgs
- Private
Link Pulumi.Service Connection State Azure Native. Devices. Inputs. Private Link Service Connection State - The current state of a private endpoint connection
- Private
Link PrivateService Connection State Link Service Connection State - The current state of a private endpoint connection
- private
Link PrivateService Connection State Link Service Connection State - The current state of a private endpoint connection
- private
Link PrivateService Connection State Link Service Connection State - The current state of a private endpoint connection
- private_
link_ Privateservice_ connection_ state Link Service Connection State - The current state of a private endpoint connection
- private
Link Property MapService Connection State - The current state of a private endpoint connection
PrivateEndpointConnectionPropertiesResponse, PrivateEndpointConnectionPropertiesResponseArgs
- Private
Link Pulumi.Service Connection State Azure Native. Devices. Inputs. Private Link Service Connection State Response - The current state of a private endpoint connection
- Private
Endpoint Pulumi.Azure Native. Devices. Inputs. Private Endpoint Response - The private endpoint property of a private endpoint connection
- Private
Link PrivateService Connection State Link Service Connection State Response - The current state of a private endpoint connection
- Private
Endpoint PrivateEndpoint Response - The private endpoint property of a private endpoint connection
- private
Link PrivateService Connection State Link Service Connection State Response - The current state of a private endpoint connection
- private
Endpoint PrivateEndpoint Response - The private endpoint property of a private endpoint connection
- private
Link PrivateService Connection State Link Service Connection State Response - The current state of a private endpoint connection
- private
Endpoint PrivateEndpoint Response - The private endpoint property of a private endpoint connection
- private_
link_ Privateservice_ connection_ state Link Service Connection State Response - The current state of a private endpoint connection
- private_
endpoint PrivateEndpoint Response - The private endpoint property of a private endpoint connection
- private
Link Property MapService Connection State - The current state of a private endpoint connection
- private
Endpoint Property Map - The private endpoint property of a private endpoint connection
PrivateEndpointConnectionResponse, PrivateEndpointConnectionResponseArgs
- Id string
- The resource identifier.
- Name string
- The resource name.
- Properties
Pulumi.
Azure Native. Devices. Inputs. Private Endpoint Connection Properties Response - The properties of a private endpoint connection
- Type string
- The resource type.
- Id string
- The resource identifier.
- Name string
- The resource name.
- Properties
Private
Endpoint Connection Properties Response - The properties of a private endpoint connection
- Type string
- The resource type.
- id String
- The resource identifier.
- name String
- The resource name.
- properties
Private
Endpoint Connection Properties Response - The properties of a private endpoint connection
- type String
- The resource type.
- id string
- The resource identifier.
- name string
- The resource name.
- properties
Private
Endpoint Connection Properties Response - The properties of a private endpoint connection
- type string
- The resource type.
- id str
- The resource identifier.
- name str
- The resource name.
- properties
Private
Endpoint Connection Properties Response - The properties of a private endpoint connection
- type str
- The resource type.
- id String
- The resource identifier.
- name String
- The resource name.
- properties Property Map
- The properties of a private endpoint connection
- type String
- The resource type.
PrivateEndpointResponse, PrivateEndpointResponseArgs
- Id string
- The resource identifier.
- Id string
- The resource identifier.
- id String
- The resource identifier.
- id string
- The resource identifier.
- id str
- The resource identifier.
- id String
- The resource identifier.
PrivateLinkServiceConnectionState, PrivateLinkServiceConnectionStateArgs
- Description string
- The description for the current state of a private endpoint connection
- Status
string | Pulumi.
Azure Native. Devices. Private Link Service Connection Status - The status of a private endpoint connection
- Actions
Required string - Actions required for a private endpoint connection
- Description string
- The description for the current state of a private endpoint connection
- Status
string | Private
Link Service Connection Status - The status of a private endpoint connection
- Actions
Required string - Actions required for a private endpoint connection
- description String
- The description for the current state of a private endpoint connection
- status
String | Private
Link Service Connection Status - The status of a private endpoint connection
- actions
Required String - Actions required for a private endpoint connection
- description string
- The description for the current state of a private endpoint connection
- status
string | Private
Link Service Connection Status - The status of a private endpoint connection
- actions
Required string - Actions required for a private endpoint connection
- description str
- The description for the current state of a private endpoint connection
- status
str | Private
Link Service Connection Status - The status of a private endpoint connection
- actions_
required str - Actions required for a private endpoint connection
- description String
- The description for the current state of a private endpoint connection
- status String | "Pending" | "Approved" | "Rejected" | "Disconnected"
- The status of a private endpoint connection
- actions
Required String - Actions required for a private endpoint connection
PrivateLinkServiceConnectionStateResponse, PrivateLinkServiceConnectionStateResponseArgs
- Description string
- The description for the current state of a private endpoint connection
- Status string
- The status of a private endpoint connection
- Actions
Required string - Actions required for a private endpoint connection
- Description string
- The description for the current state of a private endpoint connection
- Status string
- The status of a private endpoint connection
- Actions
Required string - Actions required for a private endpoint connection
- description String
- The description for the current state of a private endpoint connection
- status String
- The status of a private endpoint connection
- actions
Required String - Actions required for a private endpoint connection
- description string
- The description for the current state of a private endpoint connection
- status string
- The status of a private endpoint connection
- actions
Required string - Actions required for a private endpoint connection
- description str
- The description for the current state of a private endpoint connection
- status str
- The status of a private endpoint connection
- actions_
required str - Actions required for a private endpoint connection
- description String
- The description for the current state of a private endpoint connection
- status String
- The status of a private endpoint connection
- actions
Required String - Actions required for a private endpoint connection
PrivateLinkServiceConnectionStatus, PrivateLinkServiceConnectionStatusArgs
- Pending
- Pending
- Approved
- Approved
- Rejected
- Rejected
- Disconnected
- Disconnected
- Private
Link Service Connection Status Pending - Pending
- Private
Link Service Connection Status Approved - Approved
- Private
Link Service Connection Status Rejected - Rejected
- Private
Link Service Connection Status Disconnected - Disconnected
- Pending
- Pending
- Approved
- Approved
- Rejected
- Rejected
- Disconnected
- Disconnected
- Pending
- Pending
- Approved
- Approved
- Rejected
- Rejected
- Disconnected
- Disconnected
- PENDING
- Pending
- APPROVED
- Approved
- REJECTED
- Rejected
- DISCONNECTED
- Disconnected
- "Pending"
- Pending
- "Approved"
- Approved
- "Rejected"
- Rejected
- "Disconnected"
- Disconnected
PublicNetworkAccess, PublicNetworkAccessArgs
- Enabled
- Enabled
- Disabled
- Disabled
- Public
Network Access Enabled - Enabled
- Public
Network Access Disabled - Disabled
- Enabled
- Enabled
- Disabled
- Disabled
- Enabled
- Enabled
- Disabled
- Disabled
- ENABLED
- Enabled
- DISABLED
- Disabled
- "Enabled"
- Enabled
- "Disabled"
- Disabled
SharedAccessSignatureAuthorizationRuleAccessRightsDescription, SharedAccessSignatureAuthorizationRuleAccessRightsDescriptionArgs
- Key
Name string - Name of the key.
- Rights
string | Pulumi.
Azure Native. Devices. Access Rights Description - Rights that this key has.
- Primary
Key string - Primary SAS key value.
- Secondary
Key string - Secondary SAS key value.
- Key
Name string - Name of the key.
- Rights
string | Access
Rights Description - Rights that this key has.
- Primary
Key string - Primary SAS key value.
- Secondary
Key string - Secondary SAS key value.
- key
Name String - Name of the key.
- rights
String | Access
Rights Description - Rights that this key has.
- primary
Key String - Primary SAS key value.
- secondary
Key String - Secondary SAS key value.
- key
Name string - Name of the key.
- rights
string | Access
Rights Description - Rights that this key has.
- primary
Key string - Primary SAS key value.
- secondary
Key string - Secondary SAS key value.
- key_
name str - Name of the key.
- rights
str | Access
Rights Description - Rights that this key has.
- primary_
key str - Primary SAS key value.
- secondary_
key str - Secondary SAS key value.
- key
Name String - Name of the key.
- rights
String | "Service
Config" | "Enrollment Read" | "Enrollment Write" | "Device Connect" | "Registration Status Read" | "Registration Status Write" - Rights that this key has.
- primary
Key String - Primary SAS key value.
- secondary
Key String - Secondary SAS key value.
SharedAccessSignatureAuthorizationRuleAccessRightsDescriptionResponse, SharedAccessSignatureAuthorizationRuleAccessRightsDescriptionResponseArgs
- Key
Name string - Name of the key.
- Rights string
- Rights that this key has.
- Primary
Key string - Primary SAS key value.
- Secondary
Key string - Secondary SAS key value.
- Key
Name string - Name of the key.
- Rights string
- Rights that this key has.
- Primary
Key string - Primary SAS key value.
- Secondary
Key string - Secondary SAS key value.
- key
Name String - Name of the key.
- rights String
- Rights that this key has.
- primary
Key String - Primary SAS key value.
- secondary
Key String - Secondary SAS key value.
- key
Name string - Name of the key.
- rights string
- Rights that this key has.
- primary
Key string - Primary SAS key value.
- secondary
Key string - Secondary SAS key value.
- key_
name str - Name of the key.
- rights str
- Rights that this key has.
- primary_
key str - Primary SAS key value.
- secondary_
key str - Secondary SAS key value.
- key
Name String - Name of the key.
- rights String
- Rights that this key has.
- primary
Key String - Primary SAS key value.
- secondary
Key String - Secondary SAS key value.
State, StateArgs
- Activating
- Activating
- Active
- Active
- Deleting
- Deleting
- Deleted
- Deleted
- Activation
Failed - ActivationFailed
- Deletion
Failed - DeletionFailed
- Transitioning
- Transitioning
- Suspending
- Suspending
- Suspended
- Suspended
- Resuming
- Resuming
- Failing
Over - FailingOver
- Failover
Failed - FailoverFailed
- State
Activating - Activating
- State
Active - Active
- State
Deleting - Deleting
- State
Deleted - Deleted
- State
Activation Failed - ActivationFailed
- State
Deletion Failed - DeletionFailed
- State
Transitioning - Transitioning
- State
Suspending - Suspending
- State
Suspended - Suspended
- State
Resuming - Resuming
- State
Failing Over - FailingOver
- State
Failover Failed - FailoverFailed
- Activating
- Activating
- Active
- Active
- Deleting
- Deleting
- Deleted
- Deleted
- Activation
Failed - ActivationFailed
- Deletion
Failed - DeletionFailed
- Transitioning
- Transitioning
- Suspending
- Suspending
- Suspended
- Suspended
- Resuming
- Resuming
- Failing
Over - FailingOver
- Failover
Failed - FailoverFailed
- Activating
- Activating
- Active
- Active
- Deleting
- Deleting
- Deleted
- Deleted
- Activation
Failed - ActivationFailed
- Deletion
Failed - DeletionFailed
- Transitioning
- Transitioning
- Suspending
- Suspending
- Suspended
- Suspended
- Resuming
- Resuming
- Failing
Over - FailingOver
- Failover
Failed - FailoverFailed
- ACTIVATING
- Activating
- ACTIVE
- Active
- DELETING
- Deleting
- DELETED
- Deleted
- ACTIVATION_FAILED
- ActivationFailed
- DELETION_FAILED
- DeletionFailed
- TRANSITIONING
- Transitioning
- SUSPENDING
- Suspending
- SUSPENDED
- Suspended
- RESUMING
- Resuming
- FAILING_OVER
- FailingOver
- FAILOVER_FAILED
- FailoverFailed
- "Activating"
- Activating
- "Active"
- Active
- "Deleting"
- Deleting
- "Deleted"
- Deleted
- "Activation
Failed" - ActivationFailed
- "Deletion
Failed" - DeletionFailed
- "Transitioning"
- Transitioning
- "Suspending"
- Suspending
- "Suspended"
- Suspended
- "Resuming"
- Resuming
- "Failing
Over" - FailingOver
- "Failover
Failed" - FailoverFailed
TargetIpFilterRule, TargetIpFilterRuleArgs
- Action
Pulumi.
Azure Native. Devices. Ip Filter Action Type - The desired action for requests captured by this rule.
- Filter
Name string - The name of the IP filter rule.
- Ip
Mask string - A string that contains the IP address range in CIDR notation for the rule.
- Target
Pulumi.
Azure Native. Devices. Ip Filter Target Type - Target for requests captured by this rule.
- Action
Ip
Filter Action Type - The desired action for requests captured by this rule.
- Filter
Name string - The name of the IP filter rule.
- Ip
Mask string - A string that contains the IP address range in CIDR notation for the rule.
- Target
Ip
Filter Target Type - Target for requests captured by this rule.
- action
Ip
Filter Action Type - The desired action for requests captured by this rule.
- filter
Name String - The name of the IP filter rule.
- ip
Mask String - A string that contains the IP address range in CIDR notation for the rule.
- target
Ip
Filter Target Type - Target for requests captured by this rule.
- action
Ip
Filter Action Type - The desired action for requests captured by this rule.
- filter
Name string - The name of the IP filter rule.
- ip
Mask string - A string that contains the IP address range in CIDR notation for the rule.
- target
Ip
Filter Target Type - Target for requests captured by this rule.
- action
Ip
Filter Action Type - The desired action for requests captured by this rule.
- filter_
name str - The name of the IP filter rule.
- ip_
mask str - A string that contains the IP address range in CIDR notation for the rule.
- target
Ip
Filter Target Type - Target for requests captured by this rule.
- action "Accept" | "Reject"
- The desired action for requests captured by this rule.
- filter
Name String - The name of the IP filter rule.
- ip
Mask String - A string that contains the IP address range in CIDR notation for the rule.
- target
"all" | "service
Api" | "device Api" - Target for requests captured by this rule.
TargetIpFilterRuleResponse, TargetIpFilterRuleResponseArgs
- Action string
- The desired action for requests captured by this rule.
- Filter
Name string - The name of the IP filter rule.
- Ip
Mask string - A string that contains the IP address range in CIDR notation for the rule.
- Target string
- Target for requests captured by this rule.
- Action string
- The desired action for requests captured by this rule.
- Filter
Name string - The name of the IP filter rule.
- Ip
Mask string - A string that contains the IP address range in CIDR notation for the rule.
- Target string
- Target for requests captured by this rule.
- action String
- The desired action for requests captured by this rule.
- filter
Name String - The name of the IP filter rule.
- ip
Mask String - A string that contains the IP address range in CIDR notation for the rule.
- target String
- Target for requests captured by this rule.
- action string
- The desired action for requests captured by this rule.
- filter
Name string - The name of the IP filter rule.
- ip
Mask string - A string that contains the IP address range in CIDR notation for the rule.
- target string
- Target for requests captured by this rule.
- action str
- The desired action for requests captured by this rule.
- filter_
name str - The name of the IP filter rule.
- ip_
mask str - A string that contains the IP address range in CIDR notation for the rule.
- target str
- Target for requests captured by this rule.
- action String
- The desired action for requests captured by this rule.
- filter
Name String - The name of the IP filter rule.
- ip
Mask String - A string that contains the IP address range in CIDR notation for the rule.
- target String
- Target for requests captured by this rule.
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:devices:IotDpsResource myFirstProvisioningService /subscriptions/91d12660-3dec-467a-be2a-213b5544ddc0/resourceGroups//providers/Microsoft.Devices/ProvisioningServices/myFirstProvisioningService
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- azure-native-v1 pulumi/pulumi-azure-native
- License
- Apache-2.0