iot

package
v1.12.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 29, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

nolint: lll

nolint: lll

nolint: lll

nolint: lll

nolint: lll

nolint: lll

nolint: lll

nolint: lll

nolint: lll

nolint: lll

nolint: lll

nolint: lll

nolint: lll

nolint: lll

nolint: lll

nolint: lll

nolint: lll

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Certificate added in v0.19.1

type Certificate struct {
	pulumi.CustomResourceState

	// The Base-64 representation of the X509 leaf certificate .cer file or just a .pem file content.
	CertificateContent pulumi.StringOutput `pulumi:"certificateContent"`
	// The name of the IoT Device Provisioning Service that this certificate will be attached to. Changing this forces a new resource to be created.
	IotDpsName pulumi.StringOutput `pulumi:"iotDpsName"`
	// Specifies the name of the Iot Device Provisioning Service Certificate resource. Changing this forces a new resource to be created.
	Name pulumi.StringOutput `pulumi:"name"`
	// The name of the resource group under which the Iot Device Provisioning Service Certificate resource has to be created. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"`
}

Manages an IotHub Device Provisioning Service Certificate.

> This content is derived from https://github.com/terraform-providers/terraform-provider-azurerm/blob/master/website/docs/r/iot_dps_certificate.html.markdown.

func GetCertificate added in v0.19.1

func GetCertificate(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *CertificateState, opts ...pulumi.ResourceOption) (*Certificate, error)

GetCertificate gets an existing Certificate resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewCertificate added in v0.19.1

func NewCertificate(ctx *pulumi.Context,
	name string, args *CertificateArgs, opts ...pulumi.ResourceOption) (*Certificate, error)

NewCertificate registers a new resource with the given unique name, arguments, and options.

type CertificateArgs added in v0.19.1

type CertificateArgs struct {
	// The Base-64 representation of the X509 leaf certificate .cer file or just a .pem file content.
	CertificateContent pulumi.StringInput
	// The name of the IoT Device Provisioning Service that this certificate will be attached to. Changing this forces a new resource to be created.
	IotDpsName pulumi.StringInput
	// Specifies the name of the Iot Device Provisioning Service Certificate resource. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// The name of the resource group under which the Iot Device Provisioning Service Certificate resource has to be created. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringInput
}

The set of arguments for constructing a Certificate resource.

func (CertificateArgs) ElementType added in v1.12.0

func (CertificateArgs) ElementType() reflect.Type

type CertificateState added in v0.19.1

type CertificateState struct {
	// The Base-64 representation of the X509 leaf certificate .cer file or just a .pem file content.
	CertificateContent pulumi.StringPtrInput
	// The name of the IoT Device Provisioning Service that this certificate will be attached to. Changing this forces a new resource to be created.
	IotDpsName pulumi.StringPtrInput
	// Specifies the name of the Iot Device Provisioning Service Certificate resource. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// The name of the resource group under which the Iot Device Provisioning Service Certificate resource has to be created. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringPtrInput
}

func (CertificateState) ElementType added in v1.12.0

func (CertificateState) ElementType() reflect.Type

type ConsumerGroup added in v0.16.5

type ConsumerGroup struct {
	pulumi.CustomResourceState

	// The name of the Event Hub-compatible endpoint in the IoT hub. Changing this forces a new resource to be created.
	EventhubEndpointName pulumi.StringOutput `pulumi:"eventhubEndpointName"`
	// The name of the IoT Hub. Changing this forces a new resource to be created.
	IothubName pulumi.StringOutput `pulumi:"iothubName"`
	// The name of this Consumer Group. Changing this forces a new resource to be created.
	Name pulumi.StringOutput `pulumi:"name"`
	// The name of the resource group that contains the IoT hub. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"`
}

Manages a Consumer Group within an IotHub

> This content is derived from https://github.com/terraform-providers/terraform-provider-azurerm/blob/master/website/docs/r/iothub_consumer_group.html.markdown.

func GetConsumerGroup added in v0.16.5

func GetConsumerGroup(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ConsumerGroupState, opts ...pulumi.ResourceOption) (*ConsumerGroup, error)

GetConsumerGroup gets an existing ConsumerGroup resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewConsumerGroup added in v0.16.5

func NewConsumerGroup(ctx *pulumi.Context,
	name string, args *ConsumerGroupArgs, opts ...pulumi.ResourceOption) (*ConsumerGroup, error)

NewConsumerGroup registers a new resource with the given unique name, arguments, and options.

type ConsumerGroupArgs added in v0.16.5

type ConsumerGroupArgs struct {
	// The name of the Event Hub-compatible endpoint in the IoT hub. Changing this forces a new resource to be created.
	EventhubEndpointName pulumi.StringInput
	// The name of the IoT Hub. Changing this forces a new resource to be created.
	IothubName pulumi.StringInput
	// The name of this Consumer Group. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// The name of the resource group that contains the IoT hub. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringInput
}

The set of arguments for constructing a ConsumerGroup resource.

func (ConsumerGroupArgs) ElementType added in v1.12.0

func (ConsumerGroupArgs) ElementType() reflect.Type

type ConsumerGroupState added in v0.16.5

type ConsumerGroupState struct {
	// The name of the Event Hub-compatible endpoint in the IoT hub. Changing this forces a new resource to be created.
	EventhubEndpointName pulumi.StringPtrInput
	// The name of the IoT Hub. Changing this forces a new resource to be created.
	IothubName pulumi.StringPtrInput
	// The name of this Consumer Group. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// The name of the resource group that contains the IoT hub. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringPtrInput
}

func (ConsumerGroupState) ElementType added in v1.12.0

func (ConsumerGroupState) ElementType() reflect.Type

type Dps added in v0.19.1

type Dps struct {
	pulumi.CustomResourceState

	// A `linkedHub` block as defined below.
	LinkedHubs DpsLinkedHubArrayOutput `pulumi:"linkedHubs"`
	// Specifies the supported Azure location where the resource has to be createc. Changing this forces a new resource to be created.
	Location pulumi.StringOutput `pulumi:"location"`
	// Specifies the name of the Iot Device Provisioning Service resource. Changing this forces a new resource to be created.
	Name pulumi.StringOutput `pulumi:"name"`
	// 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.
	ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"`
	// A `sku` block as defined below.
	Sku DpsSkuOutput `pulumi:"sku"`
	// A mapping of tags to assign to the resource.
	Tags pulumi.StringMapOutput `pulumi:"tags"`
}

Manages an IotHub Device Provisioning Service.

> This content is derived from https://github.com/terraform-providers/terraform-provider-azurerm/blob/master/website/docs/r/iot_dps.html.markdown.

func GetDps added in v0.19.1

func GetDps(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *DpsState, opts ...pulumi.ResourceOption) (*Dps, error)

GetDps gets an existing Dps resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewDps added in v0.19.1

func NewDps(ctx *pulumi.Context,
	name string, args *DpsArgs, opts ...pulumi.ResourceOption) (*Dps, error)

NewDps registers a new resource with the given unique name, arguments, and options.

type DpsArgs added in v0.19.1

type DpsArgs struct {
	// A `linkedHub` block as defined below.
	LinkedHubs DpsLinkedHubArrayInput
	// Specifies the supported Azure location where the resource has to be createc. Changing this forces a new resource to be created.
	Location pulumi.StringPtrInput
	// Specifies the name of the Iot Device Provisioning Service resource. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// 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.
	ResourceGroupName pulumi.StringInput
	// A `sku` block as defined below.
	Sku DpsSkuInput
	// A mapping of tags to assign to the resource.
	Tags pulumi.StringMapInput
}

The set of arguments for constructing a Dps resource.

func (DpsArgs) ElementType added in v1.12.0

func (DpsArgs) ElementType() reflect.Type

type DpsLinkedHub added in v1.12.0

type DpsLinkedHub struct {
	AllocationWeight      *int    `pulumi:"allocationWeight"`
	ApplyAllocationPolicy *bool   `pulumi:"applyAllocationPolicy"`
	ConnectionString      string  `pulumi:"connectionString"`
	Hostname              *string `pulumi:"hostname"`
	// Specifies the supported Azure location where the resource has to be createc. Changing this forces a new resource to be created.
	Location string `pulumi:"location"`
}

type DpsLinkedHubArgs added in v1.12.0

type DpsLinkedHubArgs struct {
	AllocationWeight      pulumi.IntPtrInput    `pulumi:"allocationWeight"`
	ApplyAllocationPolicy pulumi.BoolPtrInput   `pulumi:"applyAllocationPolicy"`
	ConnectionString      pulumi.StringInput    `pulumi:"connectionString"`
	Hostname              pulumi.StringPtrInput `pulumi:"hostname"`
	// Specifies the supported Azure location where the resource has to be createc. Changing this forces a new resource to be created.
	Location pulumi.StringInput `pulumi:"location"`
}

func (DpsLinkedHubArgs) ElementType added in v1.12.0

func (DpsLinkedHubArgs) ElementType() reflect.Type

func (DpsLinkedHubArgs) ToDpsLinkedHubOutput added in v1.12.0

func (i DpsLinkedHubArgs) ToDpsLinkedHubOutput() DpsLinkedHubOutput

func (DpsLinkedHubArgs) ToDpsLinkedHubOutputWithContext added in v1.12.0

func (i DpsLinkedHubArgs) ToDpsLinkedHubOutputWithContext(ctx context.Context) DpsLinkedHubOutput

type DpsLinkedHubArray added in v1.12.0

type DpsLinkedHubArray []DpsLinkedHubInput

func (DpsLinkedHubArray) ElementType added in v1.12.0

func (DpsLinkedHubArray) ElementType() reflect.Type

func (DpsLinkedHubArray) ToDpsLinkedHubArrayOutput added in v1.12.0

func (i DpsLinkedHubArray) ToDpsLinkedHubArrayOutput() DpsLinkedHubArrayOutput

func (DpsLinkedHubArray) ToDpsLinkedHubArrayOutputWithContext added in v1.12.0

func (i DpsLinkedHubArray) ToDpsLinkedHubArrayOutputWithContext(ctx context.Context) DpsLinkedHubArrayOutput

type DpsLinkedHubArrayInput added in v1.12.0

type DpsLinkedHubArrayInput interface {
	pulumi.Input

	ToDpsLinkedHubArrayOutput() DpsLinkedHubArrayOutput
	ToDpsLinkedHubArrayOutputWithContext(context.Context) DpsLinkedHubArrayOutput
}

type DpsLinkedHubArrayOutput added in v1.12.0

type DpsLinkedHubArrayOutput struct{ *pulumi.OutputState }

func (DpsLinkedHubArrayOutput) ElementType added in v1.12.0

func (DpsLinkedHubArrayOutput) ElementType() reflect.Type

func (DpsLinkedHubArrayOutput) Index added in v1.12.0

func (DpsLinkedHubArrayOutput) ToDpsLinkedHubArrayOutput added in v1.12.0

func (o DpsLinkedHubArrayOutput) ToDpsLinkedHubArrayOutput() DpsLinkedHubArrayOutput

func (DpsLinkedHubArrayOutput) ToDpsLinkedHubArrayOutputWithContext added in v1.12.0

func (o DpsLinkedHubArrayOutput) ToDpsLinkedHubArrayOutputWithContext(ctx context.Context) DpsLinkedHubArrayOutput

type DpsLinkedHubInput added in v1.12.0

type DpsLinkedHubInput interface {
	pulumi.Input

	ToDpsLinkedHubOutput() DpsLinkedHubOutput
	ToDpsLinkedHubOutputWithContext(context.Context) DpsLinkedHubOutput
}

type DpsLinkedHubOutput added in v1.12.0

type DpsLinkedHubOutput struct{ *pulumi.OutputState }

func (DpsLinkedHubOutput) AllocationWeight added in v1.12.0

func (o DpsLinkedHubOutput) AllocationWeight() pulumi.IntPtrOutput

func (DpsLinkedHubOutput) ApplyAllocationPolicy added in v1.12.0

func (o DpsLinkedHubOutput) ApplyAllocationPolicy() pulumi.BoolPtrOutput

func (DpsLinkedHubOutput) ConnectionString added in v1.12.0

func (o DpsLinkedHubOutput) ConnectionString() pulumi.StringOutput

func (DpsLinkedHubOutput) ElementType added in v1.12.0

func (DpsLinkedHubOutput) ElementType() reflect.Type

func (DpsLinkedHubOutput) Hostname added in v1.12.0

func (DpsLinkedHubOutput) Location added in v1.12.0

func (o DpsLinkedHubOutput) Location() pulumi.StringOutput

Specifies the supported Azure location where the resource has to be createc. Changing this forces a new resource to be created.

func (DpsLinkedHubOutput) ToDpsLinkedHubOutput added in v1.12.0

func (o DpsLinkedHubOutput) ToDpsLinkedHubOutput() DpsLinkedHubOutput

func (DpsLinkedHubOutput) ToDpsLinkedHubOutputWithContext added in v1.12.0

func (o DpsLinkedHubOutput) ToDpsLinkedHubOutputWithContext(ctx context.Context) DpsLinkedHubOutput

type DpsSharedAccessPolicy added in v1.10.0

type DpsSharedAccessPolicy struct {
	pulumi.CustomResourceState

	// Adds `EnrollmentRead` permission to this Shared Access Account. It allows read access to enrollment data.
	EnrollmentRead pulumi.BoolPtrOutput `pulumi:"enrollmentRead"`
	// Adds `EnrollmentWrite` permission to this Shared Access Account. It allows write access to enrollment data.
	EnrollmentWrite pulumi.BoolPtrOutput `pulumi:"enrollmentWrite"`
	// The name of the IoT Hub Device Provisioning service to which this Shared Access Policy belongs. Changing this forces a new resource to be created.
	IothubDpsName pulumi.StringOutput `pulumi:"iothubDpsName"`
	// Specifies the name of the IotHub Shared Access Policy resource. Changing this forces a new resource to be created.
	Name pulumi.StringOutput `pulumi:"name"`
	// The primary connection string of the Shared Access Policy.
	PrimaryConnectionString pulumi.StringOutput `pulumi:"primaryConnectionString"`
	// The primary key used to create the authentication token.
	PrimaryKey pulumi.StringOutput `pulumi:"primaryKey"`
	// Adds `RegistrationStatusRead` permission to this Shared Access Account. It allows read access to device registrations.
	RegistrationRead pulumi.BoolPtrOutput `pulumi:"registrationRead"`
	// Adds `RegistrationStatusWrite` permission to this Shared Access Account. It allows write access to device registrations.
	RegistrationWrite pulumi.BoolPtrOutput `pulumi:"registrationWrite"`
	// The name of the resource group under which the IotHub Shared Access Policy resource has to be created. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"`
	// The secondary connection string of the Shared Access Policy.
	SecondaryConnectionString pulumi.StringOutput `pulumi:"secondaryConnectionString"`
	// The secondary key used to create the authentication token.
	SecondaryKey pulumi.StringOutput `pulumi:"secondaryKey"`
	// Adds `ServiceConfig` permission to this Shared Access Account. It allows configuration of the Device Provisioning Service.
	ServiceConfig pulumi.BoolPtrOutput `pulumi:"serviceConfig"`
}

Manages an IotHub Device Provisioning Service Shared Access Policy

> This content is derived from https://github.com/terraform-providers/terraform-provider-azurerm/blob/master/website/docs/r/iothub_dps_shared_access_policy.html.markdown.

func GetDpsSharedAccessPolicy added in v1.10.0

func GetDpsSharedAccessPolicy(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *DpsSharedAccessPolicyState, opts ...pulumi.ResourceOption) (*DpsSharedAccessPolicy, error)

GetDpsSharedAccessPolicy gets an existing DpsSharedAccessPolicy resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewDpsSharedAccessPolicy added in v1.10.0

func NewDpsSharedAccessPolicy(ctx *pulumi.Context,
	name string, args *DpsSharedAccessPolicyArgs, opts ...pulumi.ResourceOption) (*DpsSharedAccessPolicy, error)

NewDpsSharedAccessPolicy registers a new resource with the given unique name, arguments, and options.

type DpsSharedAccessPolicyArgs added in v1.10.0

type DpsSharedAccessPolicyArgs struct {
	// Adds `EnrollmentRead` permission to this Shared Access Account. It allows read access to enrollment data.
	EnrollmentRead pulumi.BoolPtrInput
	// Adds `EnrollmentWrite` permission to this Shared Access Account. It allows write access to enrollment data.
	EnrollmentWrite pulumi.BoolPtrInput
	// The name of the IoT Hub Device Provisioning service to which this Shared Access Policy belongs. Changing this forces a new resource to be created.
	IothubDpsName pulumi.StringInput
	// Specifies the name of the IotHub Shared Access Policy resource. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// Adds `RegistrationStatusRead` permission to this Shared Access Account. It allows read access to device registrations.
	RegistrationRead pulumi.BoolPtrInput
	// Adds `RegistrationStatusWrite` permission to this Shared Access Account. It allows write access to device registrations.
	RegistrationWrite pulumi.BoolPtrInput
	// The name of the resource group under which the IotHub Shared Access Policy resource has to be created. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringInput
	// Adds `ServiceConfig` permission to this Shared Access Account. It allows configuration of the Device Provisioning Service.
	ServiceConfig pulumi.BoolPtrInput
}

The set of arguments for constructing a DpsSharedAccessPolicy resource.

func (DpsSharedAccessPolicyArgs) ElementType added in v1.12.0

func (DpsSharedAccessPolicyArgs) ElementType() reflect.Type

type DpsSharedAccessPolicyState added in v1.10.0

type DpsSharedAccessPolicyState struct {
	// Adds `EnrollmentRead` permission to this Shared Access Account. It allows read access to enrollment data.
	EnrollmentRead pulumi.BoolPtrInput
	// Adds `EnrollmentWrite` permission to this Shared Access Account. It allows write access to enrollment data.
	EnrollmentWrite pulumi.BoolPtrInput
	// The name of the IoT Hub Device Provisioning service to which this Shared Access Policy belongs. Changing this forces a new resource to be created.
	IothubDpsName pulumi.StringPtrInput
	// Specifies the name of the IotHub Shared Access Policy resource. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// The primary connection string of the Shared Access Policy.
	PrimaryConnectionString pulumi.StringPtrInput
	// The primary key used to create the authentication token.
	PrimaryKey pulumi.StringPtrInput
	// Adds `RegistrationStatusRead` permission to this Shared Access Account. It allows read access to device registrations.
	RegistrationRead pulumi.BoolPtrInput
	// Adds `RegistrationStatusWrite` permission to this Shared Access Account. It allows write access to device registrations.
	RegistrationWrite pulumi.BoolPtrInput
	// The name of the resource group under which the IotHub Shared Access Policy resource has to be created. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringPtrInput
	// The secondary connection string of the Shared Access Policy.
	SecondaryConnectionString pulumi.StringPtrInput
	// The secondary key used to create the authentication token.
	SecondaryKey pulumi.StringPtrInput
	// Adds `ServiceConfig` permission to this Shared Access Account. It allows configuration of the Device Provisioning Service.
	ServiceConfig pulumi.BoolPtrInput
}

func (DpsSharedAccessPolicyState) ElementType added in v1.12.0

func (DpsSharedAccessPolicyState) ElementType() reflect.Type

type DpsSku added in v1.12.0

type DpsSku struct {
	Capacity int `pulumi:"capacity"`
	// Specifies the name of the Iot Device Provisioning Service resource. Changing this forces a new resource to be created.
	Name string  `pulumi:"name"`
	Tier *string `pulumi:"tier"`
}

type DpsSkuArgs added in v1.12.0

type DpsSkuArgs struct {
	Capacity pulumi.IntInput `pulumi:"capacity"`
	// Specifies the name of the Iot Device Provisioning Service resource. Changing this forces a new resource to be created.
	Name pulumi.StringInput    `pulumi:"name"`
	Tier pulumi.StringPtrInput `pulumi:"tier"`
}

func (DpsSkuArgs) ElementType added in v1.12.0

func (DpsSkuArgs) ElementType() reflect.Type

func (DpsSkuArgs) ToDpsSkuOutput added in v1.12.0

func (i DpsSkuArgs) ToDpsSkuOutput() DpsSkuOutput

func (DpsSkuArgs) ToDpsSkuOutputWithContext added in v1.12.0

func (i DpsSkuArgs) ToDpsSkuOutputWithContext(ctx context.Context) DpsSkuOutput

func (DpsSkuArgs) ToDpsSkuPtrOutput added in v1.12.0

func (i DpsSkuArgs) ToDpsSkuPtrOutput() DpsSkuPtrOutput

func (DpsSkuArgs) ToDpsSkuPtrOutputWithContext added in v1.12.0

func (i DpsSkuArgs) ToDpsSkuPtrOutputWithContext(ctx context.Context) DpsSkuPtrOutput

type DpsSkuInput added in v1.12.0

type DpsSkuInput interface {
	pulumi.Input

	ToDpsSkuOutput() DpsSkuOutput
	ToDpsSkuOutputWithContext(context.Context) DpsSkuOutput
}

type DpsSkuOutput added in v1.12.0

type DpsSkuOutput struct{ *pulumi.OutputState }

func (DpsSkuOutput) Capacity added in v1.12.0

func (o DpsSkuOutput) Capacity() pulumi.IntOutput

func (DpsSkuOutput) ElementType added in v1.12.0

func (DpsSkuOutput) ElementType() reflect.Type

func (DpsSkuOutput) Name added in v1.12.0

func (o DpsSkuOutput) Name() pulumi.StringOutput

Specifies the name of the Iot Device Provisioning Service resource. Changing this forces a new resource to be created.

func (DpsSkuOutput) Tier added in v1.12.0

func (DpsSkuOutput) ToDpsSkuOutput added in v1.12.0

func (o DpsSkuOutput) ToDpsSkuOutput() DpsSkuOutput

func (DpsSkuOutput) ToDpsSkuOutputWithContext added in v1.12.0

func (o DpsSkuOutput) ToDpsSkuOutputWithContext(ctx context.Context) DpsSkuOutput

func (DpsSkuOutput) ToDpsSkuPtrOutput added in v1.12.0

func (o DpsSkuOutput) ToDpsSkuPtrOutput() DpsSkuPtrOutput

func (DpsSkuOutput) ToDpsSkuPtrOutputWithContext added in v1.12.0

func (o DpsSkuOutput) ToDpsSkuPtrOutputWithContext(ctx context.Context) DpsSkuPtrOutput

type DpsSkuPtrInput added in v1.12.0

type DpsSkuPtrInput interface {
	pulumi.Input

	ToDpsSkuPtrOutput() DpsSkuPtrOutput
	ToDpsSkuPtrOutputWithContext(context.Context) DpsSkuPtrOutput
}

func DpsSkuPtr added in v1.12.0

func DpsSkuPtr(v *DpsSkuArgs) DpsSkuPtrInput

type DpsSkuPtrOutput added in v1.12.0

type DpsSkuPtrOutput struct{ *pulumi.OutputState }

func (DpsSkuPtrOutput) Capacity added in v1.12.0

func (o DpsSkuPtrOutput) Capacity() pulumi.IntOutput

func (DpsSkuPtrOutput) Elem added in v1.12.0

func (o DpsSkuPtrOutput) Elem() DpsSkuOutput

func (DpsSkuPtrOutput) ElementType added in v1.12.0

func (DpsSkuPtrOutput) ElementType() reflect.Type

func (DpsSkuPtrOutput) Name added in v1.12.0

Specifies the name of the Iot Device Provisioning Service resource. Changing this forces a new resource to be created.

func (DpsSkuPtrOutput) Tier added in v1.12.0

func (DpsSkuPtrOutput) ToDpsSkuPtrOutput added in v1.12.0

func (o DpsSkuPtrOutput) ToDpsSkuPtrOutput() DpsSkuPtrOutput

func (DpsSkuPtrOutput) ToDpsSkuPtrOutputWithContext added in v1.12.0

func (o DpsSkuPtrOutput) ToDpsSkuPtrOutputWithContext(ctx context.Context) DpsSkuPtrOutput

type DpsState added in v0.19.1

type DpsState struct {
	// A `linkedHub` block as defined below.
	LinkedHubs DpsLinkedHubArrayInput
	// Specifies the supported Azure location where the resource has to be createc. Changing this forces a new resource to be created.
	Location pulumi.StringPtrInput
	// Specifies the name of the Iot Device Provisioning Service resource. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// 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.
	ResourceGroupName pulumi.StringPtrInput
	// A `sku` block as defined below.
	Sku DpsSkuPtrInput
	// A mapping of tags to assign to the resource.
	Tags pulumi.StringMapInput
}

func (DpsState) ElementType added in v1.12.0

func (DpsState) ElementType() reflect.Type

type EndpointEventhub added in v1.5.0

type EndpointEventhub struct {
	pulumi.CustomResourceState

	// The connection string for the endpoint.
	ConnectionString pulumi.StringOutput `pulumi:"connectionString"`
	IothubName       pulumi.StringOutput `pulumi:"iothubName"`
	// The name of the endpoint. The name must be unique across endpoint types. The following names are reserved:  `events`, `operationsMonitoringEvents`, `fileNotifications` and `$default`.
	Name              pulumi.StringOutput `pulumi:"name"`
	ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"`
}

Manages an IotHub EventHub Endpoint

> **NOTE:** Endpoints can be defined either directly on the `iot.IoTHub` resource, or using the `azurerm_iothub_endpoint_*` resources - but the two ways of defining the endpoints cannot be used together. If both are used against the same IoTHub, spurious changes will occur. Also, defining a `azurerm_iothub_endpoint_*` resource and another endpoint of a different type directly on the `iot.IoTHub` resource is not supported.

> This content is derived from https://github.com/terraform-providers/terraform-provider-azurerm/blob/master/website/docs/r/iothub_endpoint_eventhub.html.markdown.

func GetEndpointEventhub added in v1.5.0

func GetEndpointEventhub(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *EndpointEventhubState, opts ...pulumi.ResourceOption) (*EndpointEventhub, error)

GetEndpointEventhub gets an existing EndpointEventhub resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewEndpointEventhub added in v1.5.0

func NewEndpointEventhub(ctx *pulumi.Context,
	name string, args *EndpointEventhubArgs, opts ...pulumi.ResourceOption) (*EndpointEventhub, error)

NewEndpointEventhub registers a new resource with the given unique name, arguments, and options.

type EndpointEventhubArgs added in v1.5.0

type EndpointEventhubArgs struct {
	// The connection string for the endpoint.
	ConnectionString pulumi.StringInput
	IothubName       pulumi.StringInput
	// The name of the endpoint. The name must be unique across endpoint types. The following names are reserved:  `events`, `operationsMonitoringEvents`, `fileNotifications` and `$default`.
	Name              pulumi.StringPtrInput
	ResourceGroupName pulumi.StringInput
}

The set of arguments for constructing a EndpointEventhub resource.

func (EndpointEventhubArgs) ElementType added in v1.12.0

func (EndpointEventhubArgs) ElementType() reflect.Type

type EndpointEventhubState added in v1.5.0

type EndpointEventhubState struct {
	// The connection string for the endpoint.
	ConnectionString pulumi.StringPtrInput
	IothubName       pulumi.StringPtrInput
	// The name of the endpoint. The name must be unique across endpoint types. The following names are reserved:  `events`, `operationsMonitoringEvents`, `fileNotifications` and `$default`.
	Name              pulumi.StringPtrInput
	ResourceGroupName pulumi.StringPtrInput
}

func (EndpointEventhubState) ElementType added in v1.12.0

func (EndpointEventhubState) ElementType() reflect.Type

type EndpointServicebusQueue added in v1.5.0

type EndpointServicebusQueue struct {
	pulumi.CustomResourceState

	// The connection string for the endpoint.
	ConnectionString pulumi.StringOutput `pulumi:"connectionString"`
	IothubName       pulumi.StringOutput `pulumi:"iothubName"`
	// The name of the endpoint. The name must be unique across endpoint types. The following names are reserved:  `events`, `operationsMonitoringEvents`, `fileNotifications` and `$default`.
	Name              pulumi.StringOutput `pulumi:"name"`
	ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"`
}

Manages an IotHub ServiceBus Queue Endpoint

> **NOTE:** Endpoints can be defined either directly on the `iot.IoTHub` resource, or using the `azurerm_iothub_endpoint_*` resources - but the two ways of defining the endpoints cannot be used together. If both are used against the same IoTHub, spurious changes will occur. Also, defining a `azurerm_iothub_endpoint_*` resource and another endpoint of a different type directly on the `iot.IoTHub` resource is not supported.

> This content is derived from https://github.com/terraform-providers/terraform-provider-azurerm/blob/master/website/docs/r/iothub_endpoint_servicebus_queue.html.markdown.

func GetEndpointServicebusQueue added in v1.5.0

func GetEndpointServicebusQueue(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *EndpointServicebusQueueState, opts ...pulumi.ResourceOption) (*EndpointServicebusQueue, error)

GetEndpointServicebusQueue gets an existing EndpointServicebusQueue resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewEndpointServicebusQueue added in v1.5.0

func NewEndpointServicebusQueue(ctx *pulumi.Context,
	name string, args *EndpointServicebusQueueArgs, opts ...pulumi.ResourceOption) (*EndpointServicebusQueue, error)

NewEndpointServicebusQueue registers a new resource with the given unique name, arguments, and options.

type EndpointServicebusQueueArgs added in v1.5.0

type EndpointServicebusQueueArgs struct {
	// The connection string for the endpoint.
	ConnectionString pulumi.StringInput
	IothubName       pulumi.StringInput
	// The name of the endpoint. The name must be unique across endpoint types. The following names are reserved:  `events`, `operationsMonitoringEvents`, `fileNotifications` and `$default`.
	Name              pulumi.StringPtrInput
	ResourceGroupName pulumi.StringInput
}

The set of arguments for constructing a EndpointServicebusQueue resource.

func (EndpointServicebusQueueArgs) ElementType added in v1.12.0

type EndpointServicebusQueueState added in v1.5.0

type EndpointServicebusQueueState struct {
	// The connection string for the endpoint.
	ConnectionString pulumi.StringPtrInput
	IothubName       pulumi.StringPtrInput
	// The name of the endpoint. The name must be unique across endpoint types. The following names are reserved:  `events`, `operationsMonitoringEvents`, `fileNotifications` and `$default`.
	Name              pulumi.StringPtrInput
	ResourceGroupName pulumi.StringPtrInput
}

func (EndpointServicebusQueueState) ElementType added in v1.12.0

type EndpointServicebusTopic added in v1.5.0

type EndpointServicebusTopic struct {
	pulumi.CustomResourceState

	// The connection string for the endpoint.
	ConnectionString pulumi.StringOutput `pulumi:"connectionString"`
	IothubName       pulumi.StringOutput `pulumi:"iothubName"`
	// The name of the endpoint. The name must be unique across endpoint types. The following names are reserved:  `events`, `operationsMonitoringEvents`, `fileNotifications` and `$default`.
	Name              pulumi.StringOutput `pulumi:"name"`
	ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"`
}

Manages an IotHub ServiceBus Topic Endpoint

> **NOTE:** Endpoints can be defined either directly on the `iot.IoTHub` resource, or using the `azurerm_iothub_endpoint_*` resources - but the two ways of defining the endpoints cannot be used together. If both are used against the same IoTHub, spurious changes will occur. Also, defining a `azurerm_iothub_endpoint_*` resource and another endpoint of a different type directly on the `iot.IoTHub` resource is not supported.

> This content is derived from https://github.com/terraform-providers/terraform-provider-azurerm/blob/master/website/docs/r/iothub_endpoint_servicebus_topic.html.markdown.

func GetEndpointServicebusTopic added in v1.5.0

func GetEndpointServicebusTopic(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *EndpointServicebusTopicState, opts ...pulumi.ResourceOption) (*EndpointServicebusTopic, error)

GetEndpointServicebusTopic gets an existing EndpointServicebusTopic resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewEndpointServicebusTopic added in v1.5.0

func NewEndpointServicebusTopic(ctx *pulumi.Context,
	name string, args *EndpointServicebusTopicArgs, opts ...pulumi.ResourceOption) (*EndpointServicebusTopic, error)

NewEndpointServicebusTopic registers a new resource with the given unique name, arguments, and options.

type EndpointServicebusTopicArgs added in v1.5.0

type EndpointServicebusTopicArgs struct {
	// The connection string for the endpoint.
	ConnectionString pulumi.StringInput
	IothubName       pulumi.StringInput
	// The name of the endpoint. The name must be unique across endpoint types. The following names are reserved:  `events`, `operationsMonitoringEvents`, `fileNotifications` and `$default`.
	Name              pulumi.StringPtrInput
	ResourceGroupName pulumi.StringInput
}

The set of arguments for constructing a EndpointServicebusTopic resource.

func (EndpointServicebusTopicArgs) ElementType added in v1.12.0

type EndpointServicebusTopicState added in v1.5.0

type EndpointServicebusTopicState struct {
	// The connection string for the endpoint.
	ConnectionString pulumi.StringPtrInput
	IothubName       pulumi.StringPtrInput
	// The name of the endpoint. The name must be unique across endpoint types. The following names are reserved:  `events`, `operationsMonitoringEvents`, `fileNotifications` and `$default`.
	Name              pulumi.StringPtrInput
	ResourceGroupName pulumi.StringPtrInput
}

func (EndpointServicebusTopicState) ElementType added in v1.12.0

type EndpointStorageContainer added in v1.5.0

type EndpointStorageContainer struct {
	pulumi.CustomResourceState

	// Time interval at which blobs are written to storage. Value should be between 60 and 720 seconds. Default value is 300 seconds.
	BatchFrequencyInSeconds pulumi.IntPtrOutput `pulumi:"batchFrequencyInSeconds"`
	// The connection string for the endpoint.
	ConnectionString pulumi.StringOutput `pulumi:"connectionString"`
	// The name of storage container in the storage account.
	// *
	ContainerName pulumi.StringOutput `pulumi:"containerName"`
	// Encoding that is used to serialize messages to blobs. Supported values are 'avro' and 'avrodeflate'. Default value is 'avro'.
	Encoding pulumi.StringPtrOutput `pulumi:"encoding"`
	// File name format for the blob. Default format is “{iothub}/{partition}/{YYYY}/{MM}/{DD}/{HH}/{mm}“. All parameters are mandatory but can be reordered.
	FileNameFormat pulumi.StringPtrOutput `pulumi:"fileNameFormat"`
	// The name of the IoTHub to which this Storage Container Endpoint belongs. Changing this forces a new resource to be created.
	IothubName pulumi.StringOutput `pulumi:"iothubName"`
	// Maximum number of bytes for each blob written to storage. Value should be between 10485760(10MB) and 524288000(500MB). Default value is 314572800(300MB).
	MaxChunkSizeInBytes pulumi.IntPtrOutput `pulumi:"maxChunkSizeInBytes"`
	// The name of the endpoint. The name must be unique across endpoint types. The following names are reserved:  `events`, `operationsMonitoringEvents`, `fileNotifications` and `$default`.
	Name pulumi.StringOutput `pulumi:"name"`
	// The name of the resource group under which the IotHub Storage Container Endpoint resource has to be created. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"`
}

Manages an IotHub Storage Container Endpoint

> **NOTE:** Endpoints can be defined either directly on the `iot.IoTHub` resource, or using the `azurerm_iothub_endpoint_*` resources - but the two ways of defining the endpoints cannot be used together. If both are used against the same IoTHub, spurious changes will occur. Also, defining a `azurerm_iothub_endpoint_*` resource and another endpoint of a different type directly on the `iot.IoTHub` resource is not supported.

> This content is derived from https://github.com/terraform-providers/terraform-provider-azurerm/blob/master/website/docs/r/iothub_endpoint_storage_container.html.markdown.

func GetEndpointStorageContainer added in v1.5.0

func GetEndpointStorageContainer(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *EndpointStorageContainerState, opts ...pulumi.ResourceOption) (*EndpointStorageContainer, error)

GetEndpointStorageContainer gets an existing EndpointStorageContainer resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewEndpointStorageContainer added in v1.5.0

func NewEndpointStorageContainer(ctx *pulumi.Context,
	name string, args *EndpointStorageContainerArgs, opts ...pulumi.ResourceOption) (*EndpointStorageContainer, error)

NewEndpointStorageContainer registers a new resource with the given unique name, arguments, and options.

type EndpointStorageContainerArgs added in v1.5.0

type EndpointStorageContainerArgs struct {
	// Time interval at which blobs are written to storage. Value should be between 60 and 720 seconds. Default value is 300 seconds.
	BatchFrequencyInSeconds pulumi.IntPtrInput
	// The connection string for the endpoint.
	ConnectionString pulumi.StringInput
	// The name of storage container in the storage account.
	// *
	ContainerName pulumi.StringInput
	// Encoding that is used to serialize messages to blobs. Supported values are 'avro' and 'avrodeflate'. Default value is 'avro'.
	Encoding pulumi.StringPtrInput
	// File name format for the blob. Default format is “{iothub}/{partition}/{YYYY}/{MM}/{DD}/{HH}/{mm}“. All parameters are mandatory but can be reordered.
	FileNameFormat pulumi.StringPtrInput
	// The name of the IoTHub to which this Storage Container Endpoint belongs. Changing this forces a new resource to be created.
	IothubName pulumi.StringInput
	// Maximum number of bytes for each blob written to storage. Value should be between 10485760(10MB) and 524288000(500MB). Default value is 314572800(300MB).
	MaxChunkSizeInBytes pulumi.IntPtrInput
	// The name of the endpoint. The name must be unique across endpoint types. The following names are reserved:  `events`, `operationsMonitoringEvents`, `fileNotifications` and `$default`.
	Name pulumi.StringPtrInput
	// The name of the resource group under which the IotHub Storage Container Endpoint resource has to be created. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringInput
}

The set of arguments for constructing a EndpointStorageContainer resource.

func (EndpointStorageContainerArgs) ElementType added in v1.12.0

type EndpointStorageContainerState added in v1.5.0

type EndpointStorageContainerState struct {
	// Time interval at which blobs are written to storage. Value should be between 60 and 720 seconds. Default value is 300 seconds.
	BatchFrequencyInSeconds pulumi.IntPtrInput
	// The connection string for the endpoint.
	ConnectionString pulumi.StringPtrInput
	// The name of storage container in the storage account.
	// *
	ContainerName pulumi.StringPtrInput
	// Encoding that is used to serialize messages to blobs. Supported values are 'avro' and 'avrodeflate'. Default value is 'avro'.
	Encoding pulumi.StringPtrInput
	// File name format for the blob. Default format is “{iothub}/{partition}/{YYYY}/{MM}/{DD}/{HH}/{mm}“. All parameters are mandatory but can be reordered.
	FileNameFormat pulumi.StringPtrInput
	// The name of the IoTHub to which this Storage Container Endpoint belongs. Changing this forces a new resource to be created.
	IothubName pulumi.StringPtrInput
	// Maximum number of bytes for each blob written to storage. Value should be between 10485760(10MB) and 524288000(500MB). Default value is 314572800(300MB).
	MaxChunkSizeInBytes pulumi.IntPtrInput
	// The name of the endpoint. The name must be unique across endpoint types. The following names are reserved:  `events`, `operationsMonitoringEvents`, `fileNotifications` and `$default`.
	Name pulumi.StringPtrInput
	// The name of the resource group under which the IotHub Storage Container Endpoint resource has to be created. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringPtrInput
}

func (EndpointStorageContainerState) ElementType added in v1.12.0

type FallbackRoute added in v1.7.0

type FallbackRoute struct {
	pulumi.CustomResourceState

	// The condition that is evaluated to apply the routing rule. If no condition is provided, it evaluates to `true` by default. For grammar, see: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-query-language.
	Condition pulumi.StringPtrOutput `pulumi:"condition"`
	// Used to specify whether the fallback route is enabled.
	Enabled pulumi.BoolOutput `pulumi:"enabled"`
	// The endpoints to which messages that satisfy the condition are routed. Currently only 1 endpoint is allowed.
	EndpointNames pulumi.StringOutput `pulumi:"endpointNames"`
	// The name of the IoTHub to which this Fallback Route belongs. Changing this forces a new resource to be created.
	IothubName pulumi.StringOutput `pulumi:"iothubName"`
	// The name of the resource group under which the IotHub Storage Container Endpoint resource has to be created. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"`
}

Manages an IotHub Fallback Route

> **NOTE:** Fallback route can be defined either directly on the `iot.IoTHub` resource, or using the `iot.FallbackRoute` resource - but the two cannot be used together. If both are used against the same IoTHub, spurious changes will occur.

> This content is derived from https://github.com/terraform-providers/terraform-provider-azurerm/blob/master/website/docs/r/iothub_fallback_route.html.markdown.

func GetFallbackRoute added in v1.7.0

func GetFallbackRoute(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *FallbackRouteState, opts ...pulumi.ResourceOption) (*FallbackRoute, error)

GetFallbackRoute gets an existing FallbackRoute resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewFallbackRoute added in v1.7.0

func NewFallbackRoute(ctx *pulumi.Context,
	name string, args *FallbackRouteArgs, opts ...pulumi.ResourceOption) (*FallbackRoute, error)

NewFallbackRoute registers a new resource with the given unique name, arguments, and options.

type FallbackRouteArgs added in v1.7.0

type FallbackRouteArgs struct {
	// The condition that is evaluated to apply the routing rule. If no condition is provided, it evaluates to `true` by default. For grammar, see: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-query-language.
	Condition pulumi.StringPtrInput
	// Used to specify whether the fallback route is enabled.
	Enabled pulumi.BoolInput
	// The endpoints to which messages that satisfy the condition are routed. Currently only 1 endpoint is allowed.
	EndpointNames pulumi.StringInput
	// The name of the IoTHub to which this Fallback Route belongs. Changing this forces a new resource to be created.
	IothubName pulumi.StringInput
	// The name of the resource group under which the IotHub Storage Container Endpoint resource has to be created. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringInput
}

The set of arguments for constructing a FallbackRoute resource.

func (FallbackRouteArgs) ElementType added in v1.12.0

func (FallbackRouteArgs) ElementType() reflect.Type

type FallbackRouteState added in v1.7.0

type FallbackRouteState struct {
	// The condition that is evaluated to apply the routing rule. If no condition is provided, it evaluates to `true` by default. For grammar, see: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-query-language.
	Condition pulumi.StringPtrInput
	// Used to specify whether the fallback route is enabled.
	Enabled pulumi.BoolPtrInput
	// The endpoints to which messages that satisfy the condition are routed. Currently only 1 endpoint is allowed.
	EndpointNames pulumi.StringPtrInput
	// The name of the IoTHub to which this Fallback Route belongs. Changing this forces a new resource to be created.
	IothubName pulumi.StringPtrInput
	// The name of the resource group under which the IotHub Storage Container Endpoint resource has to be created. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringPtrInput
}

func (FallbackRouteState) ElementType added in v1.12.0

func (FallbackRouteState) ElementType() reflect.Type

type IoTHub

type IoTHub struct {
	pulumi.CustomResourceState

	// An `endpoint` block as defined below.
	Endpoints IoTHubEndpointArrayOutput `pulumi:"endpoints"`
	// The EventHub compatible endpoint for events data
	EventHubEventsEndpoint pulumi.StringOutput `pulumi:"eventHubEventsEndpoint"`
	// The EventHub compatible path for events data
	EventHubEventsPath pulumi.StringOutput `pulumi:"eventHubEventsPath"`
	// The EventHub compatible endpoint for operational data
	EventHubOperationsEndpoint pulumi.StringOutput `pulumi:"eventHubOperationsEndpoint"`
	// The EventHub compatible path for operational data
	EventHubOperationsPath pulumi.StringOutput `pulumi:"eventHubOperationsPath"`
	// The number of device-to-cloud partitions used by backing event hubs. Must be between `2` and `128`.
	EventHubPartitionCount pulumi.IntOutput `pulumi:"eventHubPartitionCount"`
	// The event hub retention to use in days. Must be between `1` and `7`.
	EventHubRetentionInDays pulumi.IntOutput `pulumi:"eventHubRetentionInDays"`
	// A `fallbackRoute` block as defined below. If the fallback route is enabled, messages that don't match any of the supplied routes are automatically sent to this route. Defaults to messages/events.
	FallbackRoute IoTHubFallbackRouteOutput `pulumi:"fallbackRoute"`
	// A `fileUpload` block as defined below.
	FileUpload IoTHubFileUploadPtrOutput `pulumi:"fileUpload"`
	// The hostname of the IotHub Resource.
	Hostname pulumi.StringOutput `pulumi:"hostname"`
	// One or more `ipFilterRule` blocks as defined below.
	IpFilterRules IoTHubIpFilterRuleArrayOutput `pulumi:"ipFilterRules"`
	// Specifies the supported Azure location where the resource has to be createc. Changing this forces a new resource to be created.
	Location pulumi.StringOutput `pulumi:"location"`
	// Specifies the name of the IotHub resource. Changing this forces a new resource to be created.
	Name pulumi.StringOutput `pulumi:"name"`
	// The name of the resource group under which the IotHub resource has to be created. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"`
	// A `route` block as defined below.
	Routes IoTHubRouteArrayOutput `pulumi:"routes"`
	// One or more `sharedAccessPolicy` blocks as defined below.
	SharedAccessPolicies IoTHubSharedAccessPolicyArrayOutput `pulumi:"sharedAccessPolicies"`
	// A `sku` block as defined below.
	Sku IoTHubSkuOutput `pulumi:"sku"`
	// A mapping of tags to assign to the resource.
	Tags pulumi.StringMapOutput `pulumi:"tags"`
	Type pulumi.StringOutput    `pulumi:"type"`
}

Manages an IotHub

> **NOTE:** Endpoints can be defined either directly on the `iot.IoTHub` resource, or using the `azurerm_iothub_endpoint_*` resources - but the two ways of defining the endpoints cannot be used together. If both are used against the same IoTHub, spurious changes will occur. Also, defining a `azurerm_iothub_endpoint_*` resource and another endpoint of a different type directly on the `iot.IoTHub` resource is not supported.

> **NOTE:** Routes can be defined either directly on the `iot.IoTHub` resource, or using the `iot.Route` resource - but the two cannot be used together. If both are used against the same IoTHub, spurious changes will occur.

> **NOTE:** Fallback route can be defined either directly on the `iot.IoTHub` resource, or using the `iot.FallbackRoute` resource - but the two cannot be used together. If both are used against the same IoTHub, spurious changes will occur.

> This content is derived from https://github.com/terraform-providers/terraform-provider-azurerm/blob/master/website/docs/r/iothub.html.markdown.

func GetIoTHub

func GetIoTHub(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *IoTHubState, opts ...pulumi.ResourceOption) (*IoTHub, error)

GetIoTHub gets an existing IoTHub resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewIoTHub

func NewIoTHub(ctx *pulumi.Context,
	name string, args *IoTHubArgs, opts ...pulumi.ResourceOption) (*IoTHub, error)

NewIoTHub registers a new resource with the given unique name, arguments, and options.

type IoTHubArgs

type IoTHubArgs struct {
	// An `endpoint` block as defined below.
	Endpoints IoTHubEndpointArrayInput
	// The number of device-to-cloud partitions used by backing event hubs. Must be between `2` and `128`.
	EventHubPartitionCount pulumi.IntPtrInput
	// The event hub retention to use in days. Must be between `1` and `7`.
	EventHubRetentionInDays pulumi.IntPtrInput
	// A `fallbackRoute` block as defined below. If the fallback route is enabled, messages that don't match any of the supplied routes are automatically sent to this route. Defaults to messages/events.
	FallbackRoute IoTHubFallbackRoutePtrInput
	// A `fileUpload` block as defined below.
	FileUpload IoTHubFileUploadPtrInput
	// One or more `ipFilterRule` blocks as defined below.
	IpFilterRules IoTHubIpFilterRuleArrayInput
	// Specifies the supported Azure location where the resource has to be createc. Changing this forces a new resource to be created.
	Location pulumi.StringPtrInput
	// Specifies the name of the IotHub resource. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// The name of the resource group under which the IotHub resource has to be created. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringInput
	// A `route` block as defined below.
	Routes IoTHubRouteArrayInput
	// A `sku` block as defined below.
	Sku IoTHubSkuInput
	// A mapping of tags to assign to the resource.
	Tags pulumi.StringMapInput
}

The set of arguments for constructing a IoTHub resource.

func (IoTHubArgs) ElementType added in v1.12.0

func (IoTHubArgs) ElementType() reflect.Type

type IoTHubEndpoint added in v1.12.0

type IoTHubEndpoint struct {
	BatchFrequencyInSeconds *int    `pulumi:"batchFrequencyInSeconds"`
	ConnectionString        string  `pulumi:"connectionString"`
	ContainerName           *string `pulumi:"containerName"`
	Encoding                *string `pulumi:"encoding"`
	FileNameFormat          *string `pulumi:"fileNameFormat"`
	MaxChunkSizeInBytes     *int    `pulumi:"maxChunkSizeInBytes"`
	// Specifies the name of the IotHub resource. Changing this forces a new resource to be created.
	Name string `pulumi:"name"`
	Type string `pulumi:"type"`
}

type IoTHubEndpointArgs added in v1.12.0

type IoTHubEndpointArgs struct {
	BatchFrequencyInSeconds pulumi.IntPtrInput    `pulumi:"batchFrequencyInSeconds"`
	ConnectionString        pulumi.StringInput    `pulumi:"connectionString"`
	ContainerName           pulumi.StringPtrInput `pulumi:"containerName"`
	Encoding                pulumi.StringPtrInput `pulumi:"encoding"`
	FileNameFormat          pulumi.StringPtrInput `pulumi:"fileNameFormat"`
	MaxChunkSizeInBytes     pulumi.IntPtrInput    `pulumi:"maxChunkSizeInBytes"`
	// Specifies the name of the IotHub resource. Changing this forces a new resource to be created.
	Name pulumi.StringInput `pulumi:"name"`
	Type pulumi.StringInput `pulumi:"type"`
}

func (IoTHubEndpointArgs) ElementType added in v1.12.0

func (IoTHubEndpointArgs) ElementType() reflect.Type

func (IoTHubEndpointArgs) ToIoTHubEndpointOutput added in v1.12.0

func (i IoTHubEndpointArgs) ToIoTHubEndpointOutput() IoTHubEndpointOutput

func (IoTHubEndpointArgs) ToIoTHubEndpointOutputWithContext added in v1.12.0

func (i IoTHubEndpointArgs) ToIoTHubEndpointOutputWithContext(ctx context.Context) IoTHubEndpointOutput

type IoTHubEndpointArray added in v1.12.0

type IoTHubEndpointArray []IoTHubEndpointInput

func (IoTHubEndpointArray) ElementType added in v1.12.0

func (IoTHubEndpointArray) ElementType() reflect.Type

func (IoTHubEndpointArray) ToIoTHubEndpointArrayOutput added in v1.12.0

func (i IoTHubEndpointArray) ToIoTHubEndpointArrayOutput() IoTHubEndpointArrayOutput

func (IoTHubEndpointArray) ToIoTHubEndpointArrayOutputWithContext added in v1.12.0

func (i IoTHubEndpointArray) ToIoTHubEndpointArrayOutputWithContext(ctx context.Context) IoTHubEndpointArrayOutput

type IoTHubEndpointArrayInput added in v1.12.0

type IoTHubEndpointArrayInput interface {
	pulumi.Input

	ToIoTHubEndpointArrayOutput() IoTHubEndpointArrayOutput
	ToIoTHubEndpointArrayOutputWithContext(context.Context) IoTHubEndpointArrayOutput
}

type IoTHubEndpointArrayOutput added in v1.12.0

type IoTHubEndpointArrayOutput struct{ *pulumi.OutputState }

func (IoTHubEndpointArrayOutput) ElementType added in v1.12.0

func (IoTHubEndpointArrayOutput) ElementType() reflect.Type

func (IoTHubEndpointArrayOutput) Index added in v1.12.0

func (IoTHubEndpointArrayOutput) ToIoTHubEndpointArrayOutput added in v1.12.0

func (o IoTHubEndpointArrayOutput) ToIoTHubEndpointArrayOutput() IoTHubEndpointArrayOutput

func (IoTHubEndpointArrayOutput) ToIoTHubEndpointArrayOutputWithContext added in v1.12.0

func (o IoTHubEndpointArrayOutput) ToIoTHubEndpointArrayOutputWithContext(ctx context.Context) IoTHubEndpointArrayOutput

type IoTHubEndpointInput added in v1.12.0

type IoTHubEndpointInput interface {
	pulumi.Input

	ToIoTHubEndpointOutput() IoTHubEndpointOutput
	ToIoTHubEndpointOutputWithContext(context.Context) IoTHubEndpointOutput
}

type IoTHubEndpointOutput added in v1.12.0

type IoTHubEndpointOutput struct{ *pulumi.OutputState }

func (IoTHubEndpointOutput) BatchFrequencyInSeconds added in v1.12.0

func (o IoTHubEndpointOutput) BatchFrequencyInSeconds() pulumi.IntPtrOutput

func (IoTHubEndpointOutput) ConnectionString added in v1.12.0

func (o IoTHubEndpointOutput) ConnectionString() pulumi.StringOutput

func (IoTHubEndpointOutput) ContainerName added in v1.12.0

func (o IoTHubEndpointOutput) ContainerName() pulumi.StringPtrOutput

func (IoTHubEndpointOutput) ElementType added in v1.12.0

func (IoTHubEndpointOutput) ElementType() reflect.Type

func (IoTHubEndpointOutput) Encoding added in v1.12.0

func (IoTHubEndpointOutput) FileNameFormat added in v1.12.0

func (o IoTHubEndpointOutput) FileNameFormat() pulumi.StringPtrOutput

func (IoTHubEndpointOutput) MaxChunkSizeInBytes added in v1.12.0

func (o IoTHubEndpointOutput) MaxChunkSizeInBytes() pulumi.IntPtrOutput

func (IoTHubEndpointOutput) Name added in v1.12.0

Specifies the name of the IotHub resource. Changing this forces a new resource to be created.

func (IoTHubEndpointOutput) ToIoTHubEndpointOutput added in v1.12.0

func (o IoTHubEndpointOutput) ToIoTHubEndpointOutput() IoTHubEndpointOutput

func (IoTHubEndpointOutput) ToIoTHubEndpointOutputWithContext added in v1.12.0

func (o IoTHubEndpointOutput) ToIoTHubEndpointOutputWithContext(ctx context.Context) IoTHubEndpointOutput

func (IoTHubEndpointOutput) Type added in v1.12.0

type IoTHubFallbackRoute added in v1.12.0

type IoTHubFallbackRoute struct {
	Condition     *string  `pulumi:"condition"`
	Enabled       *bool    `pulumi:"enabled"`
	EndpointNames []string `pulumi:"endpointNames"`
	Source        *string  `pulumi:"source"`
}

type IoTHubFallbackRouteArgs added in v1.12.0

type IoTHubFallbackRouteArgs struct {
	Condition     pulumi.StringPtrInput   `pulumi:"condition"`
	Enabled       pulumi.BoolPtrInput     `pulumi:"enabled"`
	EndpointNames pulumi.StringArrayInput `pulumi:"endpointNames"`
	Source        pulumi.StringPtrInput   `pulumi:"source"`
}

func (IoTHubFallbackRouteArgs) ElementType added in v1.12.0

func (IoTHubFallbackRouteArgs) ElementType() reflect.Type

func (IoTHubFallbackRouteArgs) ToIoTHubFallbackRouteOutput added in v1.12.0

func (i IoTHubFallbackRouteArgs) ToIoTHubFallbackRouteOutput() IoTHubFallbackRouteOutput

func (IoTHubFallbackRouteArgs) ToIoTHubFallbackRouteOutputWithContext added in v1.12.0

func (i IoTHubFallbackRouteArgs) ToIoTHubFallbackRouteOutputWithContext(ctx context.Context) IoTHubFallbackRouteOutput

func (IoTHubFallbackRouteArgs) ToIoTHubFallbackRoutePtrOutput added in v1.12.0

func (i IoTHubFallbackRouteArgs) ToIoTHubFallbackRoutePtrOutput() IoTHubFallbackRoutePtrOutput

func (IoTHubFallbackRouteArgs) ToIoTHubFallbackRoutePtrOutputWithContext added in v1.12.0

func (i IoTHubFallbackRouteArgs) ToIoTHubFallbackRoutePtrOutputWithContext(ctx context.Context) IoTHubFallbackRoutePtrOutput

type IoTHubFallbackRouteInput added in v1.12.0

type IoTHubFallbackRouteInput interface {
	pulumi.Input

	ToIoTHubFallbackRouteOutput() IoTHubFallbackRouteOutput
	ToIoTHubFallbackRouteOutputWithContext(context.Context) IoTHubFallbackRouteOutput
}

type IoTHubFallbackRouteOutput added in v1.12.0

type IoTHubFallbackRouteOutput struct{ *pulumi.OutputState }

func (IoTHubFallbackRouteOutput) Condition added in v1.12.0

func (IoTHubFallbackRouteOutput) ElementType added in v1.12.0

func (IoTHubFallbackRouteOutput) ElementType() reflect.Type

func (IoTHubFallbackRouteOutput) Enabled added in v1.12.0

func (IoTHubFallbackRouteOutput) EndpointNames added in v1.12.0

func (IoTHubFallbackRouteOutput) Source added in v1.12.0

func (IoTHubFallbackRouteOutput) ToIoTHubFallbackRouteOutput added in v1.12.0

func (o IoTHubFallbackRouteOutput) ToIoTHubFallbackRouteOutput() IoTHubFallbackRouteOutput

func (IoTHubFallbackRouteOutput) ToIoTHubFallbackRouteOutputWithContext added in v1.12.0

func (o IoTHubFallbackRouteOutput) ToIoTHubFallbackRouteOutputWithContext(ctx context.Context) IoTHubFallbackRouteOutput

func (IoTHubFallbackRouteOutput) ToIoTHubFallbackRoutePtrOutput added in v1.12.0

func (o IoTHubFallbackRouteOutput) ToIoTHubFallbackRoutePtrOutput() IoTHubFallbackRoutePtrOutput

func (IoTHubFallbackRouteOutput) ToIoTHubFallbackRoutePtrOutputWithContext added in v1.12.0

func (o IoTHubFallbackRouteOutput) ToIoTHubFallbackRoutePtrOutputWithContext(ctx context.Context) IoTHubFallbackRoutePtrOutput

type IoTHubFallbackRoutePtrInput added in v1.12.0

type IoTHubFallbackRoutePtrInput interface {
	pulumi.Input

	ToIoTHubFallbackRoutePtrOutput() IoTHubFallbackRoutePtrOutput
	ToIoTHubFallbackRoutePtrOutputWithContext(context.Context) IoTHubFallbackRoutePtrOutput
}

func IoTHubFallbackRoutePtr added in v1.12.0

func IoTHubFallbackRoutePtr(v *IoTHubFallbackRouteArgs) IoTHubFallbackRoutePtrInput

type IoTHubFallbackRoutePtrOutput added in v1.12.0

type IoTHubFallbackRoutePtrOutput struct{ *pulumi.OutputState }

func (IoTHubFallbackRoutePtrOutput) Condition added in v1.12.0

func (IoTHubFallbackRoutePtrOutput) Elem added in v1.12.0

func (IoTHubFallbackRoutePtrOutput) ElementType added in v1.12.0

func (IoTHubFallbackRoutePtrOutput) Enabled added in v1.12.0

func (IoTHubFallbackRoutePtrOutput) EndpointNames added in v1.12.0

func (IoTHubFallbackRoutePtrOutput) Source added in v1.12.0

func (IoTHubFallbackRoutePtrOutput) ToIoTHubFallbackRoutePtrOutput added in v1.12.0

func (o IoTHubFallbackRoutePtrOutput) ToIoTHubFallbackRoutePtrOutput() IoTHubFallbackRoutePtrOutput

func (IoTHubFallbackRoutePtrOutput) ToIoTHubFallbackRoutePtrOutputWithContext added in v1.12.0

func (o IoTHubFallbackRoutePtrOutput) ToIoTHubFallbackRoutePtrOutputWithContext(ctx context.Context) IoTHubFallbackRoutePtrOutput

type IoTHubFileUpload added in v1.12.0

type IoTHubFileUpload struct {
	ConnectionString string  `pulumi:"connectionString"`
	ContainerName    string  `pulumi:"containerName"`
	DefaultTtl       *string `pulumi:"defaultTtl"`
	LockDuration     *string `pulumi:"lockDuration"`
	MaxDeliveryCount *int    `pulumi:"maxDeliveryCount"`
	Notifications    *bool   `pulumi:"notifications"`
	SasTtl           *string `pulumi:"sasTtl"`
}

type IoTHubFileUploadArgs added in v1.12.0

type IoTHubFileUploadArgs struct {
	ConnectionString pulumi.StringInput    `pulumi:"connectionString"`
	ContainerName    pulumi.StringInput    `pulumi:"containerName"`
	DefaultTtl       pulumi.StringPtrInput `pulumi:"defaultTtl"`
	LockDuration     pulumi.StringPtrInput `pulumi:"lockDuration"`
	MaxDeliveryCount pulumi.IntPtrInput    `pulumi:"maxDeliveryCount"`
	Notifications    pulumi.BoolPtrInput   `pulumi:"notifications"`
	SasTtl           pulumi.StringPtrInput `pulumi:"sasTtl"`
}

func (IoTHubFileUploadArgs) ElementType added in v1.12.0

func (IoTHubFileUploadArgs) ElementType() reflect.Type

func (IoTHubFileUploadArgs) ToIoTHubFileUploadOutput added in v1.12.0

func (i IoTHubFileUploadArgs) ToIoTHubFileUploadOutput() IoTHubFileUploadOutput

func (IoTHubFileUploadArgs) ToIoTHubFileUploadOutputWithContext added in v1.12.0

func (i IoTHubFileUploadArgs) ToIoTHubFileUploadOutputWithContext(ctx context.Context) IoTHubFileUploadOutput

func (IoTHubFileUploadArgs) ToIoTHubFileUploadPtrOutput added in v1.12.0

func (i IoTHubFileUploadArgs) ToIoTHubFileUploadPtrOutput() IoTHubFileUploadPtrOutput

func (IoTHubFileUploadArgs) ToIoTHubFileUploadPtrOutputWithContext added in v1.12.0

func (i IoTHubFileUploadArgs) ToIoTHubFileUploadPtrOutputWithContext(ctx context.Context) IoTHubFileUploadPtrOutput

type IoTHubFileUploadInput added in v1.12.0

type IoTHubFileUploadInput interface {
	pulumi.Input

	ToIoTHubFileUploadOutput() IoTHubFileUploadOutput
	ToIoTHubFileUploadOutputWithContext(context.Context) IoTHubFileUploadOutput
}

type IoTHubFileUploadOutput added in v1.12.0

type IoTHubFileUploadOutput struct{ *pulumi.OutputState }

func (IoTHubFileUploadOutput) ConnectionString added in v1.12.0

func (o IoTHubFileUploadOutput) ConnectionString() pulumi.StringOutput

func (IoTHubFileUploadOutput) ContainerName added in v1.12.0

func (o IoTHubFileUploadOutput) ContainerName() pulumi.StringOutput

func (IoTHubFileUploadOutput) DefaultTtl added in v1.12.0

func (IoTHubFileUploadOutput) ElementType added in v1.12.0

func (IoTHubFileUploadOutput) ElementType() reflect.Type

func (IoTHubFileUploadOutput) LockDuration added in v1.12.0

func (IoTHubFileUploadOutput) MaxDeliveryCount added in v1.12.0

func (o IoTHubFileUploadOutput) MaxDeliveryCount() pulumi.IntPtrOutput

func (IoTHubFileUploadOutput) Notifications added in v1.12.0

func (o IoTHubFileUploadOutput) Notifications() pulumi.BoolPtrOutput

func (IoTHubFileUploadOutput) SasTtl added in v1.12.0

func (IoTHubFileUploadOutput) ToIoTHubFileUploadOutput added in v1.12.0

func (o IoTHubFileUploadOutput) ToIoTHubFileUploadOutput() IoTHubFileUploadOutput

func (IoTHubFileUploadOutput) ToIoTHubFileUploadOutputWithContext added in v1.12.0

func (o IoTHubFileUploadOutput) ToIoTHubFileUploadOutputWithContext(ctx context.Context) IoTHubFileUploadOutput

func (IoTHubFileUploadOutput) ToIoTHubFileUploadPtrOutput added in v1.12.0

func (o IoTHubFileUploadOutput) ToIoTHubFileUploadPtrOutput() IoTHubFileUploadPtrOutput

func (IoTHubFileUploadOutput) ToIoTHubFileUploadPtrOutputWithContext added in v1.12.0

func (o IoTHubFileUploadOutput) ToIoTHubFileUploadPtrOutputWithContext(ctx context.Context) IoTHubFileUploadPtrOutput

type IoTHubFileUploadPtrInput added in v1.12.0

type IoTHubFileUploadPtrInput interface {
	pulumi.Input

	ToIoTHubFileUploadPtrOutput() IoTHubFileUploadPtrOutput
	ToIoTHubFileUploadPtrOutputWithContext(context.Context) IoTHubFileUploadPtrOutput
}

func IoTHubFileUploadPtr added in v1.12.0

func IoTHubFileUploadPtr(v *IoTHubFileUploadArgs) IoTHubFileUploadPtrInput

type IoTHubFileUploadPtrOutput added in v1.12.0

type IoTHubFileUploadPtrOutput struct{ *pulumi.OutputState }

func (IoTHubFileUploadPtrOutput) ConnectionString added in v1.12.0

func (o IoTHubFileUploadPtrOutput) ConnectionString() pulumi.StringOutput

func (IoTHubFileUploadPtrOutput) ContainerName added in v1.12.0

func (o IoTHubFileUploadPtrOutput) ContainerName() pulumi.StringOutput

func (IoTHubFileUploadPtrOutput) DefaultTtl added in v1.12.0

func (IoTHubFileUploadPtrOutput) Elem added in v1.12.0

func (IoTHubFileUploadPtrOutput) ElementType added in v1.12.0

func (IoTHubFileUploadPtrOutput) ElementType() reflect.Type

func (IoTHubFileUploadPtrOutput) LockDuration added in v1.12.0

func (IoTHubFileUploadPtrOutput) MaxDeliveryCount added in v1.12.0

func (o IoTHubFileUploadPtrOutput) MaxDeliveryCount() pulumi.IntPtrOutput

func (IoTHubFileUploadPtrOutput) Notifications added in v1.12.0

func (IoTHubFileUploadPtrOutput) SasTtl added in v1.12.0

func (IoTHubFileUploadPtrOutput) ToIoTHubFileUploadPtrOutput added in v1.12.0

func (o IoTHubFileUploadPtrOutput) ToIoTHubFileUploadPtrOutput() IoTHubFileUploadPtrOutput

func (IoTHubFileUploadPtrOutput) ToIoTHubFileUploadPtrOutputWithContext added in v1.12.0

func (o IoTHubFileUploadPtrOutput) ToIoTHubFileUploadPtrOutputWithContext(ctx context.Context) IoTHubFileUploadPtrOutput

type IoTHubIpFilterRule added in v1.12.0

type IoTHubIpFilterRule struct {
	Action string `pulumi:"action"`
	IpMask string `pulumi:"ipMask"`
	// Specifies the name of the IotHub resource. Changing this forces a new resource to be created.
	Name string `pulumi:"name"`
}

type IoTHubIpFilterRuleArgs added in v1.12.0

type IoTHubIpFilterRuleArgs struct {
	Action pulumi.StringInput `pulumi:"action"`
	IpMask pulumi.StringInput `pulumi:"ipMask"`
	// Specifies the name of the IotHub resource. Changing this forces a new resource to be created.
	Name pulumi.StringInput `pulumi:"name"`
}

func (IoTHubIpFilterRuleArgs) ElementType added in v1.12.0

func (IoTHubIpFilterRuleArgs) ElementType() reflect.Type

func (IoTHubIpFilterRuleArgs) ToIoTHubIpFilterRuleOutput added in v1.12.0

func (i IoTHubIpFilterRuleArgs) ToIoTHubIpFilterRuleOutput() IoTHubIpFilterRuleOutput

func (IoTHubIpFilterRuleArgs) ToIoTHubIpFilterRuleOutputWithContext added in v1.12.0

func (i IoTHubIpFilterRuleArgs) ToIoTHubIpFilterRuleOutputWithContext(ctx context.Context) IoTHubIpFilterRuleOutput

type IoTHubIpFilterRuleArray added in v1.12.0

type IoTHubIpFilterRuleArray []IoTHubIpFilterRuleInput

func (IoTHubIpFilterRuleArray) ElementType added in v1.12.0

func (IoTHubIpFilterRuleArray) ElementType() reflect.Type

func (IoTHubIpFilterRuleArray) ToIoTHubIpFilterRuleArrayOutput added in v1.12.0

func (i IoTHubIpFilterRuleArray) ToIoTHubIpFilterRuleArrayOutput() IoTHubIpFilterRuleArrayOutput

func (IoTHubIpFilterRuleArray) ToIoTHubIpFilterRuleArrayOutputWithContext added in v1.12.0

func (i IoTHubIpFilterRuleArray) ToIoTHubIpFilterRuleArrayOutputWithContext(ctx context.Context) IoTHubIpFilterRuleArrayOutput

type IoTHubIpFilterRuleArrayInput added in v1.12.0

type IoTHubIpFilterRuleArrayInput interface {
	pulumi.Input

	ToIoTHubIpFilterRuleArrayOutput() IoTHubIpFilterRuleArrayOutput
	ToIoTHubIpFilterRuleArrayOutputWithContext(context.Context) IoTHubIpFilterRuleArrayOutput
}

type IoTHubIpFilterRuleArrayOutput added in v1.12.0

type IoTHubIpFilterRuleArrayOutput struct{ *pulumi.OutputState }

func (IoTHubIpFilterRuleArrayOutput) ElementType added in v1.12.0

func (IoTHubIpFilterRuleArrayOutput) Index added in v1.12.0

func (IoTHubIpFilterRuleArrayOutput) ToIoTHubIpFilterRuleArrayOutput added in v1.12.0

func (o IoTHubIpFilterRuleArrayOutput) ToIoTHubIpFilterRuleArrayOutput() IoTHubIpFilterRuleArrayOutput

func (IoTHubIpFilterRuleArrayOutput) ToIoTHubIpFilterRuleArrayOutputWithContext added in v1.12.0

func (o IoTHubIpFilterRuleArrayOutput) ToIoTHubIpFilterRuleArrayOutputWithContext(ctx context.Context) IoTHubIpFilterRuleArrayOutput

type IoTHubIpFilterRuleInput added in v1.12.0

type IoTHubIpFilterRuleInput interface {
	pulumi.Input

	ToIoTHubIpFilterRuleOutput() IoTHubIpFilterRuleOutput
	ToIoTHubIpFilterRuleOutputWithContext(context.Context) IoTHubIpFilterRuleOutput
}

type IoTHubIpFilterRuleOutput added in v1.12.0

type IoTHubIpFilterRuleOutput struct{ *pulumi.OutputState }

func (IoTHubIpFilterRuleOutput) Action added in v1.12.0

func (IoTHubIpFilterRuleOutput) ElementType added in v1.12.0

func (IoTHubIpFilterRuleOutput) ElementType() reflect.Type

func (IoTHubIpFilterRuleOutput) IpMask added in v1.12.0

func (IoTHubIpFilterRuleOutput) Name added in v1.12.0

Specifies the name of the IotHub resource. Changing this forces a new resource to be created.

func (IoTHubIpFilterRuleOutput) ToIoTHubIpFilterRuleOutput added in v1.12.0

func (o IoTHubIpFilterRuleOutput) ToIoTHubIpFilterRuleOutput() IoTHubIpFilterRuleOutput

func (IoTHubIpFilterRuleOutput) ToIoTHubIpFilterRuleOutputWithContext added in v1.12.0

func (o IoTHubIpFilterRuleOutput) ToIoTHubIpFilterRuleOutputWithContext(ctx context.Context) IoTHubIpFilterRuleOutput

type IoTHubRoute added in v1.12.0

type IoTHubRoute struct {
	Condition     *string  `pulumi:"condition"`
	Enabled       bool     `pulumi:"enabled"`
	EndpointNames []string `pulumi:"endpointNames"`
	// Specifies the name of the IotHub resource. Changing this forces a new resource to be created.
	Name   string `pulumi:"name"`
	Source string `pulumi:"source"`
}

type IoTHubRouteArgs added in v1.12.0

type IoTHubRouteArgs struct {
	Condition     pulumi.StringPtrInput   `pulumi:"condition"`
	Enabled       pulumi.BoolInput        `pulumi:"enabled"`
	EndpointNames pulumi.StringArrayInput `pulumi:"endpointNames"`
	// Specifies the name of the IotHub resource. Changing this forces a new resource to be created.
	Name   pulumi.StringInput `pulumi:"name"`
	Source pulumi.StringInput `pulumi:"source"`
}

func (IoTHubRouteArgs) ElementType added in v1.12.0

func (IoTHubRouteArgs) ElementType() reflect.Type

func (IoTHubRouteArgs) ToIoTHubRouteOutput added in v1.12.0

func (i IoTHubRouteArgs) ToIoTHubRouteOutput() IoTHubRouteOutput

func (IoTHubRouteArgs) ToIoTHubRouteOutputWithContext added in v1.12.0

func (i IoTHubRouteArgs) ToIoTHubRouteOutputWithContext(ctx context.Context) IoTHubRouteOutput

type IoTHubRouteArray added in v1.12.0

type IoTHubRouteArray []IoTHubRouteInput

func (IoTHubRouteArray) ElementType added in v1.12.0

func (IoTHubRouteArray) ElementType() reflect.Type

func (IoTHubRouteArray) ToIoTHubRouteArrayOutput added in v1.12.0

func (i IoTHubRouteArray) ToIoTHubRouteArrayOutput() IoTHubRouteArrayOutput

func (IoTHubRouteArray) ToIoTHubRouteArrayOutputWithContext added in v1.12.0

func (i IoTHubRouteArray) ToIoTHubRouteArrayOutputWithContext(ctx context.Context) IoTHubRouteArrayOutput

type IoTHubRouteArrayInput added in v1.12.0

type IoTHubRouteArrayInput interface {
	pulumi.Input

	ToIoTHubRouteArrayOutput() IoTHubRouteArrayOutput
	ToIoTHubRouteArrayOutputWithContext(context.Context) IoTHubRouteArrayOutput
}

type IoTHubRouteArrayOutput added in v1.12.0

type IoTHubRouteArrayOutput struct{ *pulumi.OutputState }

func (IoTHubRouteArrayOutput) ElementType added in v1.12.0

func (IoTHubRouteArrayOutput) ElementType() reflect.Type

func (IoTHubRouteArrayOutput) Index added in v1.12.0

func (IoTHubRouteArrayOutput) ToIoTHubRouteArrayOutput added in v1.12.0

func (o IoTHubRouteArrayOutput) ToIoTHubRouteArrayOutput() IoTHubRouteArrayOutput

func (IoTHubRouteArrayOutput) ToIoTHubRouteArrayOutputWithContext added in v1.12.0

func (o IoTHubRouteArrayOutput) ToIoTHubRouteArrayOutputWithContext(ctx context.Context) IoTHubRouteArrayOutput

type IoTHubRouteInput added in v1.12.0

type IoTHubRouteInput interface {
	pulumi.Input

	ToIoTHubRouteOutput() IoTHubRouteOutput
	ToIoTHubRouteOutputWithContext(context.Context) IoTHubRouteOutput
}

type IoTHubRouteOutput added in v1.12.0

type IoTHubRouteOutput struct{ *pulumi.OutputState }

func (IoTHubRouteOutput) Condition added in v1.12.0

func (IoTHubRouteOutput) ElementType added in v1.12.0

func (IoTHubRouteOutput) ElementType() reflect.Type

func (IoTHubRouteOutput) Enabled added in v1.12.0

func (o IoTHubRouteOutput) Enabled() pulumi.BoolOutput

func (IoTHubRouteOutput) EndpointNames added in v1.12.0

func (o IoTHubRouteOutput) EndpointNames() pulumi.StringArrayOutput

func (IoTHubRouteOutput) Name added in v1.12.0

Specifies the name of the IotHub resource. Changing this forces a new resource to be created.

func (IoTHubRouteOutput) Source added in v1.12.0

func (IoTHubRouteOutput) ToIoTHubRouteOutput added in v1.12.0

func (o IoTHubRouteOutput) ToIoTHubRouteOutput() IoTHubRouteOutput

func (IoTHubRouteOutput) ToIoTHubRouteOutputWithContext added in v1.12.0

func (o IoTHubRouteOutput) ToIoTHubRouteOutputWithContext(ctx context.Context) IoTHubRouteOutput

type IoTHubSharedAccessPolicy added in v1.12.0

type IoTHubSharedAccessPolicy struct {
	// The name of the shared access policy.
	KeyName *string `pulumi:"keyName"`
	// The permissions assigned to the shared access policy.
	Permissions *string `pulumi:"permissions"`
	// The primary key.
	PrimaryKey *string `pulumi:"primaryKey"`
	// The secondary key.
	SecondaryKey *string `pulumi:"secondaryKey"`
}

type IoTHubSharedAccessPolicyArgs added in v1.12.0

type IoTHubSharedAccessPolicyArgs struct {
	// The name of the shared access policy.
	KeyName pulumi.StringPtrInput `pulumi:"keyName"`
	// The permissions assigned to the shared access policy.
	Permissions pulumi.StringPtrInput `pulumi:"permissions"`
	// The primary key.
	PrimaryKey pulumi.StringPtrInput `pulumi:"primaryKey"`
	// The secondary key.
	SecondaryKey pulumi.StringPtrInput `pulumi:"secondaryKey"`
}

func (IoTHubSharedAccessPolicyArgs) ElementType added in v1.12.0

func (IoTHubSharedAccessPolicyArgs) ToIoTHubSharedAccessPolicyOutput added in v1.12.0

func (i IoTHubSharedAccessPolicyArgs) ToIoTHubSharedAccessPolicyOutput() IoTHubSharedAccessPolicyOutput

func (IoTHubSharedAccessPolicyArgs) ToIoTHubSharedAccessPolicyOutputWithContext added in v1.12.0

func (i IoTHubSharedAccessPolicyArgs) ToIoTHubSharedAccessPolicyOutputWithContext(ctx context.Context) IoTHubSharedAccessPolicyOutput

type IoTHubSharedAccessPolicyArray added in v1.12.0

type IoTHubSharedAccessPolicyArray []IoTHubSharedAccessPolicyInput

func (IoTHubSharedAccessPolicyArray) ElementType added in v1.12.0

func (IoTHubSharedAccessPolicyArray) ToIoTHubSharedAccessPolicyArrayOutput added in v1.12.0

func (i IoTHubSharedAccessPolicyArray) ToIoTHubSharedAccessPolicyArrayOutput() IoTHubSharedAccessPolicyArrayOutput

func (IoTHubSharedAccessPolicyArray) ToIoTHubSharedAccessPolicyArrayOutputWithContext added in v1.12.0

func (i IoTHubSharedAccessPolicyArray) ToIoTHubSharedAccessPolicyArrayOutputWithContext(ctx context.Context) IoTHubSharedAccessPolicyArrayOutput

type IoTHubSharedAccessPolicyArrayInput added in v1.12.0

type IoTHubSharedAccessPolicyArrayInput interface {
	pulumi.Input

	ToIoTHubSharedAccessPolicyArrayOutput() IoTHubSharedAccessPolicyArrayOutput
	ToIoTHubSharedAccessPolicyArrayOutputWithContext(context.Context) IoTHubSharedAccessPolicyArrayOutput
}

type IoTHubSharedAccessPolicyArrayOutput added in v1.12.0

type IoTHubSharedAccessPolicyArrayOutput struct{ *pulumi.OutputState }

func (IoTHubSharedAccessPolicyArrayOutput) ElementType added in v1.12.0

func (IoTHubSharedAccessPolicyArrayOutput) Index added in v1.12.0

func (IoTHubSharedAccessPolicyArrayOutput) ToIoTHubSharedAccessPolicyArrayOutput added in v1.12.0

func (o IoTHubSharedAccessPolicyArrayOutput) ToIoTHubSharedAccessPolicyArrayOutput() IoTHubSharedAccessPolicyArrayOutput

func (IoTHubSharedAccessPolicyArrayOutput) ToIoTHubSharedAccessPolicyArrayOutputWithContext added in v1.12.0

func (o IoTHubSharedAccessPolicyArrayOutput) ToIoTHubSharedAccessPolicyArrayOutputWithContext(ctx context.Context) IoTHubSharedAccessPolicyArrayOutput

type IoTHubSharedAccessPolicyInput added in v1.12.0

type IoTHubSharedAccessPolicyInput interface {
	pulumi.Input

	ToIoTHubSharedAccessPolicyOutput() IoTHubSharedAccessPolicyOutput
	ToIoTHubSharedAccessPolicyOutputWithContext(context.Context) IoTHubSharedAccessPolicyOutput
}

type IoTHubSharedAccessPolicyOutput added in v1.12.0

type IoTHubSharedAccessPolicyOutput struct{ *pulumi.OutputState }

func (IoTHubSharedAccessPolicyOutput) ElementType added in v1.12.0

func (IoTHubSharedAccessPolicyOutput) KeyName added in v1.12.0

The name of the shared access policy.

func (IoTHubSharedAccessPolicyOutput) Permissions added in v1.12.0

The permissions assigned to the shared access policy.

func (IoTHubSharedAccessPolicyOutput) PrimaryKey added in v1.12.0

The primary key.

func (IoTHubSharedAccessPolicyOutput) SecondaryKey added in v1.12.0

The secondary key.

func (IoTHubSharedAccessPolicyOutput) ToIoTHubSharedAccessPolicyOutput added in v1.12.0

func (o IoTHubSharedAccessPolicyOutput) ToIoTHubSharedAccessPolicyOutput() IoTHubSharedAccessPolicyOutput

func (IoTHubSharedAccessPolicyOutput) ToIoTHubSharedAccessPolicyOutputWithContext added in v1.12.0

func (o IoTHubSharedAccessPolicyOutput) ToIoTHubSharedAccessPolicyOutputWithContext(ctx context.Context) IoTHubSharedAccessPolicyOutput

type IoTHubSku added in v1.12.0

type IoTHubSku struct {
	Capacity int `pulumi:"capacity"`
	// Specifies the name of the IotHub resource. Changing this forces a new resource to be created.
	Name string  `pulumi:"name"`
	Tier *string `pulumi:"tier"`
}

type IoTHubSkuArgs added in v1.12.0

type IoTHubSkuArgs struct {
	Capacity pulumi.IntInput `pulumi:"capacity"`
	// Specifies the name of the IotHub resource. Changing this forces a new resource to be created.
	Name pulumi.StringInput    `pulumi:"name"`
	Tier pulumi.StringPtrInput `pulumi:"tier"`
}

func (IoTHubSkuArgs) ElementType added in v1.12.0

func (IoTHubSkuArgs) ElementType() reflect.Type

func (IoTHubSkuArgs) ToIoTHubSkuOutput added in v1.12.0

func (i IoTHubSkuArgs) ToIoTHubSkuOutput() IoTHubSkuOutput

func (IoTHubSkuArgs) ToIoTHubSkuOutputWithContext added in v1.12.0

func (i IoTHubSkuArgs) ToIoTHubSkuOutputWithContext(ctx context.Context) IoTHubSkuOutput

func (IoTHubSkuArgs) ToIoTHubSkuPtrOutput added in v1.12.0

func (i IoTHubSkuArgs) ToIoTHubSkuPtrOutput() IoTHubSkuPtrOutput

func (IoTHubSkuArgs) ToIoTHubSkuPtrOutputWithContext added in v1.12.0

func (i IoTHubSkuArgs) ToIoTHubSkuPtrOutputWithContext(ctx context.Context) IoTHubSkuPtrOutput

type IoTHubSkuInput added in v1.12.0

type IoTHubSkuInput interface {
	pulumi.Input

	ToIoTHubSkuOutput() IoTHubSkuOutput
	ToIoTHubSkuOutputWithContext(context.Context) IoTHubSkuOutput
}

type IoTHubSkuOutput added in v1.12.0

type IoTHubSkuOutput struct{ *pulumi.OutputState }

func (IoTHubSkuOutput) Capacity added in v1.12.0

func (o IoTHubSkuOutput) Capacity() pulumi.IntOutput

func (IoTHubSkuOutput) ElementType added in v1.12.0

func (IoTHubSkuOutput) ElementType() reflect.Type

func (IoTHubSkuOutput) Name added in v1.12.0

Specifies the name of the IotHub resource. Changing this forces a new resource to be created.

func (IoTHubSkuOutput) Tier added in v1.12.0

func (IoTHubSkuOutput) ToIoTHubSkuOutput added in v1.12.0

func (o IoTHubSkuOutput) ToIoTHubSkuOutput() IoTHubSkuOutput

func (IoTHubSkuOutput) ToIoTHubSkuOutputWithContext added in v1.12.0

func (o IoTHubSkuOutput) ToIoTHubSkuOutputWithContext(ctx context.Context) IoTHubSkuOutput

func (IoTHubSkuOutput) ToIoTHubSkuPtrOutput added in v1.12.0

func (o IoTHubSkuOutput) ToIoTHubSkuPtrOutput() IoTHubSkuPtrOutput

func (IoTHubSkuOutput) ToIoTHubSkuPtrOutputWithContext added in v1.12.0

func (o IoTHubSkuOutput) ToIoTHubSkuPtrOutputWithContext(ctx context.Context) IoTHubSkuPtrOutput

type IoTHubSkuPtrInput added in v1.12.0

type IoTHubSkuPtrInput interface {
	pulumi.Input

	ToIoTHubSkuPtrOutput() IoTHubSkuPtrOutput
	ToIoTHubSkuPtrOutputWithContext(context.Context) IoTHubSkuPtrOutput
}

func IoTHubSkuPtr added in v1.12.0

func IoTHubSkuPtr(v *IoTHubSkuArgs) IoTHubSkuPtrInput

type IoTHubSkuPtrOutput added in v1.12.0

type IoTHubSkuPtrOutput struct{ *pulumi.OutputState }

func (IoTHubSkuPtrOutput) Capacity added in v1.12.0

func (o IoTHubSkuPtrOutput) Capacity() pulumi.IntOutput

func (IoTHubSkuPtrOutput) Elem added in v1.12.0

func (IoTHubSkuPtrOutput) ElementType added in v1.12.0

func (IoTHubSkuPtrOutput) ElementType() reflect.Type

func (IoTHubSkuPtrOutput) Name added in v1.12.0

Specifies the name of the IotHub resource. Changing this forces a new resource to be created.

func (IoTHubSkuPtrOutput) Tier added in v1.12.0

func (IoTHubSkuPtrOutput) ToIoTHubSkuPtrOutput added in v1.12.0

func (o IoTHubSkuPtrOutput) ToIoTHubSkuPtrOutput() IoTHubSkuPtrOutput

func (IoTHubSkuPtrOutput) ToIoTHubSkuPtrOutputWithContext added in v1.12.0

func (o IoTHubSkuPtrOutput) ToIoTHubSkuPtrOutputWithContext(ctx context.Context) IoTHubSkuPtrOutput

type IoTHubState

type IoTHubState struct {
	// An `endpoint` block as defined below.
	Endpoints IoTHubEndpointArrayInput
	// The EventHub compatible endpoint for events data
	EventHubEventsEndpoint pulumi.StringPtrInput
	// The EventHub compatible path for events data
	EventHubEventsPath pulumi.StringPtrInput
	// The EventHub compatible endpoint for operational data
	EventHubOperationsEndpoint pulumi.StringPtrInput
	// The EventHub compatible path for operational data
	EventHubOperationsPath pulumi.StringPtrInput
	// The number of device-to-cloud partitions used by backing event hubs. Must be between `2` and `128`.
	EventHubPartitionCount pulumi.IntPtrInput
	// The event hub retention to use in days. Must be between `1` and `7`.
	EventHubRetentionInDays pulumi.IntPtrInput
	// A `fallbackRoute` block as defined below. If the fallback route is enabled, messages that don't match any of the supplied routes are automatically sent to this route. Defaults to messages/events.
	FallbackRoute IoTHubFallbackRoutePtrInput
	// A `fileUpload` block as defined below.
	FileUpload IoTHubFileUploadPtrInput
	// The hostname of the IotHub Resource.
	Hostname pulumi.StringPtrInput
	// One or more `ipFilterRule` blocks as defined below.
	IpFilterRules IoTHubIpFilterRuleArrayInput
	// Specifies the supported Azure location where the resource has to be createc. Changing this forces a new resource to be created.
	Location pulumi.StringPtrInput
	// Specifies the name of the IotHub resource. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// The name of the resource group under which the IotHub resource has to be created. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringPtrInput
	// A `route` block as defined below.
	Routes IoTHubRouteArrayInput
	// One or more `sharedAccessPolicy` blocks as defined below.
	SharedAccessPolicies IoTHubSharedAccessPolicyArrayInput
	// A `sku` block as defined below.
	Sku IoTHubSkuPtrInput
	// A mapping of tags to assign to the resource.
	Tags pulumi.StringMapInput
	Type pulumi.StringPtrInput
}

func (IoTHubState) ElementType added in v1.12.0

func (IoTHubState) ElementType() reflect.Type

type IotHubCertificate added in v1.5.0

type IotHubCertificate struct {
	pulumi.CustomResourceState

	// The Base-64 representation of the X509 leaf certificate .cer file or just a .pem file content.
	CertificateContent pulumi.StringOutput `pulumi:"certificateContent"`
	// The name of the IoT Device Provisioning Service that this certificate will be attached to. Changing this forces a new resource to be created.
	IotDpsName pulumi.StringOutput `pulumi:"iotDpsName"`
	// Specifies the name of the Iot Device Provisioning Service Certificate resource. Changing this forces a new resource to be created.
	Name pulumi.StringOutput `pulumi:"name"`
	// The name of the resource group under which the Iot Device Provisioning Service Certificate resource has to be created. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"`
}

Manages an IotHub Device Provisioning Service Certificate.

> This content is derived from https://github.com/terraform-providers/terraform-provider-azurerm/blob/master/website/docs/r/iothub_dps_certificate.html.markdown.

func GetIotHubCertificate added in v1.5.0

func GetIotHubCertificate(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *IotHubCertificateState, opts ...pulumi.ResourceOption) (*IotHubCertificate, error)

GetIotHubCertificate gets an existing IotHubCertificate resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewIotHubCertificate added in v1.5.0

func NewIotHubCertificate(ctx *pulumi.Context,
	name string, args *IotHubCertificateArgs, opts ...pulumi.ResourceOption) (*IotHubCertificate, error)

NewIotHubCertificate registers a new resource with the given unique name, arguments, and options.

type IotHubCertificateArgs added in v1.5.0

type IotHubCertificateArgs struct {
	// The Base-64 representation of the X509 leaf certificate .cer file or just a .pem file content.
	CertificateContent pulumi.StringInput
	// The name of the IoT Device Provisioning Service that this certificate will be attached to. Changing this forces a new resource to be created.
	IotDpsName pulumi.StringInput
	// Specifies the name of the Iot Device Provisioning Service Certificate resource. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// The name of the resource group under which the Iot Device Provisioning Service Certificate resource has to be created. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringInput
}

The set of arguments for constructing a IotHubCertificate resource.

func (IotHubCertificateArgs) ElementType added in v1.12.0

func (IotHubCertificateArgs) ElementType() reflect.Type

type IotHubCertificateState added in v1.5.0

type IotHubCertificateState struct {
	// The Base-64 representation of the X509 leaf certificate .cer file or just a .pem file content.
	CertificateContent pulumi.StringPtrInput
	// The name of the IoT Device Provisioning Service that this certificate will be attached to. Changing this forces a new resource to be created.
	IotDpsName pulumi.StringPtrInput
	// Specifies the name of the Iot Device Provisioning Service Certificate resource. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// The name of the resource group under which the Iot Device Provisioning Service Certificate resource has to be created. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringPtrInput
}

func (IotHubCertificateState) ElementType added in v1.12.0

func (IotHubCertificateState) ElementType() reflect.Type

type IotHubDps added in v1.5.0

type IotHubDps struct {
	pulumi.CustomResourceState

	// The allocation policy of the IoT Device Provisioning Service.
	AllocationPolicy pulumi.StringOutput `pulumi:"allocationPolicy"`
	// The device endpoint of the IoT Device Provisioning Service.
	DeviceProvisioningHostName pulumi.StringOutput `pulumi:"deviceProvisioningHostName"`
	// The unique identifier of the IoT Device Provisioning Service.
	IdScope pulumi.StringOutput `pulumi:"idScope"`
	// A `linkedHub` block as defined below.
	LinkedHubs IotHubDpsLinkedHubArrayOutput `pulumi:"linkedHubs"`
	// Specifies the supported Azure location where the resource has to be createc. Changing this forces a new resource to be created.
	Location pulumi.StringOutput `pulumi:"location"`
	// Specifies the name of the Iot Device Provisioning Service resource. Changing this forces a new resource to be created.
	Name pulumi.StringOutput `pulumi:"name"`
	// 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.
	ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"`
	// The service endpoint of the IoT Device Provisioning Service.
	ServiceOperationsHostName pulumi.StringOutput `pulumi:"serviceOperationsHostName"`
	// A `sku` block as defined below.
	Sku IotHubDpsSkuOutput `pulumi:"sku"`
	// A mapping of tags to assign to the resource.
	Tags pulumi.StringMapOutput `pulumi:"tags"`
}

Manages an IotHub Device Provisioning Service.

> This content is derived from https://github.com/terraform-providers/terraform-provider-azurerm/blob/master/website/docs/r/iothub_dps.html.markdown.

func GetIotHubDps added in v1.5.0

func GetIotHubDps(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *IotHubDpsState, opts ...pulumi.ResourceOption) (*IotHubDps, error)

GetIotHubDps gets an existing IotHubDps resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewIotHubDps added in v1.5.0

func NewIotHubDps(ctx *pulumi.Context,
	name string, args *IotHubDpsArgs, opts ...pulumi.ResourceOption) (*IotHubDps, error)

NewIotHubDps registers a new resource with the given unique name, arguments, and options.

type IotHubDpsArgs added in v1.5.0

type IotHubDpsArgs struct {
	// A `linkedHub` block as defined below.
	LinkedHubs IotHubDpsLinkedHubArrayInput
	// Specifies the supported Azure location where the resource has to be createc. Changing this forces a new resource to be created.
	Location pulumi.StringPtrInput
	// Specifies the name of the Iot Device Provisioning Service resource. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// 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.
	ResourceGroupName pulumi.StringInput
	// A `sku` block as defined below.
	Sku IotHubDpsSkuInput
	// A mapping of tags to assign to the resource.
	Tags pulumi.StringMapInput
}

The set of arguments for constructing a IotHubDps resource.

func (IotHubDpsArgs) ElementType added in v1.12.0

func (IotHubDpsArgs) ElementType() reflect.Type

type IotHubDpsLinkedHub added in v1.12.0

type IotHubDpsLinkedHub struct {
	AllocationWeight      *int    `pulumi:"allocationWeight"`
	ApplyAllocationPolicy *bool   `pulumi:"applyAllocationPolicy"`
	ConnectionString      string  `pulumi:"connectionString"`
	Hostname              *string `pulumi:"hostname"`
	// Specifies the supported Azure location where the resource has to be createc. Changing this forces a new resource to be created.
	Location string `pulumi:"location"`
}

type IotHubDpsLinkedHubArgs added in v1.12.0

type IotHubDpsLinkedHubArgs struct {
	AllocationWeight      pulumi.IntPtrInput    `pulumi:"allocationWeight"`
	ApplyAllocationPolicy pulumi.BoolPtrInput   `pulumi:"applyAllocationPolicy"`
	ConnectionString      pulumi.StringInput    `pulumi:"connectionString"`
	Hostname              pulumi.StringPtrInput `pulumi:"hostname"`
	// Specifies the supported Azure location where the resource has to be createc. Changing this forces a new resource to be created.
	Location pulumi.StringInput `pulumi:"location"`
}

func (IotHubDpsLinkedHubArgs) ElementType added in v1.12.0

func (IotHubDpsLinkedHubArgs) ElementType() reflect.Type

func (IotHubDpsLinkedHubArgs) ToIotHubDpsLinkedHubOutput added in v1.12.0

func (i IotHubDpsLinkedHubArgs) ToIotHubDpsLinkedHubOutput() IotHubDpsLinkedHubOutput

func (IotHubDpsLinkedHubArgs) ToIotHubDpsLinkedHubOutputWithContext added in v1.12.0

func (i IotHubDpsLinkedHubArgs) ToIotHubDpsLinkedHubOutputWithContext(ctx context.Context) IotHubDpsLinkedHubOutput

type IotHubDpsLinkedHubArray added in v1.12.0

type IotHubDpsLinkedHubArray []IotHubDpsLinkedHubInput

func (IotHubDpsLinkedHubArray) ElementType added in v1.12.0

func (IotHubDpsLinkedHubArray) ElementType() reflect.Type

func (IotHubDpsLinkedHubArray) ToIotHubDpsLinkedHubArrayOutput added in v1.12.0

func (i IotHubDpsLinkedHubArray) ToIotHubDpsLinkedHubArrayOutput() IotHubDpsLinkedHubArrayOutput

func (IotHubDpsLinkedHubArray) ToIotHubDpsLinkedHubArrayOutputWithContext added in v1.12.0

func (i IotHubDpsLinkedHubArray) ToIotHubDpsLinkedHubArrayOutputWithContext(ctx context.Context) IotHubDpsLinkedHubArrayOutput

type IotHubDpsLinkedHubArrayInput added in v1.12.0

type IotHubDpsLinkedHubArrayInput interface {
	pulumi.Input

	ToIotHubDpsLinkedHubArrayOutput() IotHubDpsLinkedHubArrayOutput
	ToIotHubDpsLinkedHubArrayOutputWithContext(context.Context) IotHubDpsLinkedHubArrayOutput
}

type IotHubDpsLinkedHubArrayOutput added in v1.12.0

type IotHubDpsLinkedHubArrayOutput struct{ *pulumi.OutputState }

func (IotHubDpsLinkedHubArrayOutput) ElementType added in v1.12.0

func (IotHubDpsLinkedHubArrayOutput) Index added in v1.12.0

func (IotHubDpsLinkedHubArrayOutput) ToIotHubDpsLinkedHubArrayOutput added in v1.12.0

func (o IotHubDpsLinkedHubArrayOutput) ToIotHubDpsLinkedHubArrayOutput() IotHubDpsLinkedHubArrayOutput

func (IotHubDpsLinkedHubArrayOutput) ToIotHubDpsLinkedHubArrayOutputWithContext added in v1.12.0

func (o IotHubDpsLinkedHubArrayOutput) ToIotHubDpsLinkedHubArrayOutputWithContext(ctx context.Context) IotHubDpsLinkedHubArrayOutput

type IotHubDpsLinkedHubInput added in v1.12.0

type IotHubDpsLinkedHubInput interface {
	pulumi.Input

	ToIotHubDpsLinkedHubOutput() IotHubDpsLinkedHubOutput
	ToIotHubDpsLinkedHubOutputWithContext(context.Context) IotHubDpsLinkedHubOutput
}

type IotHubDpsLinkedHubOutput added in v1.12.0

type IotHubDpsLinkedHubOutput struct{ *pulumi.OutputState }

func (IotHubDpsLinkedHubOutput) AllocationWeight added in v1.12.0

func (o IotHubDpsLinkedHubOutput) AllocationWeight() pulumi.IntPtrOutput

func (IotHubDpsLinkedHubOutput) ApplyAllocationPolicy added in v1.12.0

func (o IotHubDpsLinkedHubOutput) ApplyAllocationPolicy() pulumi.BoolPtrOutput

func (IotHubDpsLinkedHubOutput) ConnectionString added in v1.12.0

func (o IotHubDpsLinkedHubOutput) ConnectionString() pulumi.StringOutput

func (IotHubDpsLinkedHubOutput) ElementType added in v1.12.0

func (IotHubDpsLinkedHubOutput) ElementType() reflect.Type

func (IotHubDpsLinkedHubOutput) Hostname added in v1.12.0

func (IotHubDpsLinkedHubOutput) Location added in v1.12.0

Specifies the supported Azure location where the resource has to be createc. Changing this forces a new resource to be created.

func (IotHubDpsLinkedHubOutput) ToIotHubDpsLinkedHubOutput added in v1.12.0

func (o IotHubDpsLinkedHubOutput) ToIotHubDpsLinkedHubOutput() IotHubDpsLinkedHubOutput

func (IotHubDpsLinkedHubOutput) ToIotHubDpsLinkedHubOutputWithContext added in v1.12.0

func (o IotHubDpsLinkedHubOutput) ToIotHubDpsLinkedHubOutputWithContext(ctx context.Context) IotHubDpsLinkedHubOutput

type IotHubDpsSku added in v1.12.0

type IotHubDpsSku struct {
	Capacity int `pulumi:"capacity"`
	// Specifies the name of the Iot Device Provisioning Service resource. Changing this forces a new resource to be created.
	Name string  `pulumi:"name"`
	Tier *string `pulumi:"tier"`
}

type IotHubDpsSkuArgs added in v1.12.0

type IotHubDpsSkuArgs struct {
	Capacity pulumi.IntInput `pulumi:"capacity"`
	// Specifies the name of the Iot Device Provisioning Service resource. Changing this forces a new resource to be created.
	Name pulumi.StringInput    `pulumi:"name"`
	Tier pulumi.StringPtrInput `pulumi:"tier"`
}

func (IotHubDpsSkuArgs) ElementType added in v1.12.0

func (IotHubDpsSkuArgs) ElementType() reflect.Type

func (IotHubDpsSkuArgs) ToIotHubDpsSkuOutput added in v1.12.0

func (i IotHubDpsSkuArgs) ToIotHubDpsSkuOutput() IotHubDpsSkuOutput

func (IotHubDpsSkuArgs) ToIotHubDpsSkuOutputWithContext added in v1.12.0

func (i IotHubDpsSkuArgs) ToIotHubDpsSkuOutputWithContext(ctx context.Context) IotHubDpsSkuOutput

func (IotHubDpsSkuArgs) ToIotHubDpsSkuPtrOutput added in v1.12.0

func (i IotHubDpsSkuArgs) ToIotHubDpsSkuPtrOutput() IotHubDpsSkuPtrOutput

func (IotHubDpsSkuArgs) ToIotHubDpsSkuPtrOutputWithContext added in v1.12.0

func (i IotHubDpsSkuArgs) ToIotHubDpsSkuPtrOutputWithContext(ctx context.Context) IotHubDpsSkuPtrOutput

type IotHubDpsSkuInput added in v1.12.0

type IotHubDpsSkuInput interface {
	pulumi.Input

	ToIotHubDpsSkuOutput() IotHubDpsSkuOutput
	ToIotHubDpsSkuOutputWithContext(context.Context) IotHubDpsSkuOutput
}

type IotHubDpsSkuOutput added in v1.12.0

type IotHubDpsSkuOutput struct{ *pulumi.OutputState }

func (IotHubDpsSkuOutput) Capacity added in v1.12.0

func (o IotHubDpsSkuOutput) Capacity() pulumi.IntOutput

func (IotHubDpsSkuOutput) ElementType added in v1.12.0

func (IotHubDpsSkuOutput) ElementType() reflect.Type

func (IotHubDpsSkuOutput) Name added in v1.12.0

Specifies the name of the Iot Device Provisioning Service resource. Changing this forces a new resource to be created.

func (IotHubDpsSkuOutput) Tier added in v1.12.0

func (IotHubDpsSkuOutput) ToIotHubDpsSkuOutput added in v1.12.0

func (o IotHubDpsSkuOutput) ToIotHubDpsSkuOutput() IotHubDpsSkuOutput

func (IotHubDpsSkuOutput) ToIotHubDpsSkuOutputWithContext added in v1.12.0

func (o IotHubDpsSkuOutput) ToIotHubDpsSkuOutputWithContext(ctx context.Context) IotHubDpsSkuOutput

func (IotHubDpsSkuOutput) ToIotHubDpsSkuPtrOutput added in v1.12.0

func (o IotHubDpsSkuOutput) ToIotHubDpsSkuPtrOutput() IotHubDpsSkuPtrOutput

func (IotHubDpsSkuOutput) ToIotHubDpsSkuPtrOutputWithContext added in v1.12.0

func (o IotHubDpsSkuOutput) ToIotHubDpsSkuPtrOutputWithContext(ctx context.Context) IotHubDpsSkuPtrOutput

type IotHubDpsSkuPtrInput added in v1.12.0

type IotHubDpsSkuPtrInput interface {
	pulumi.Input

	ToIotHubDpsSkuPtrOutput() IotHubDpsSkuPtrOutput
	ToIotHubDpsSkuPtrOutputWithContext(context.Context) IotHubDpsSkuPtrOutput
}

func IotHubDpsSkuPtr added in v1.12.0

func IotHubDpsSkuPtr(v *IotHubDpsSkuArgs) IotHubDpsSkuPtrInput

type IotHubDpsSkuPtrOutput added in v1.12.0

type IotHubDpsSkuPtrOutput struct{ *pulumi.OutputState }

func (IotHubDpsSkuPtrOutput) Capacity added in v1.12.0

func (o IotHubDpsSkuPtrOutput) Capacity() pulumi.IntOutput

func (IotHubDpsSkuPtrOutput) Elem added in v1.12.0

func (IotHubDpsSkuPtrOutput) ElementType added in v1.12.0

func (IotHubDpsSkuPtrOutput) ElementType() reflect.Type

func (IotHubDpsSkuPtrOutput) Name added in v1.12.0

Specifies the name of the Iot Device Provisioning Service resource. Changing this forces a new resource to be created.

func (IotHubDpsSkuPtrOutput) Tier added in v1.12.0

func (IotHubDpsSkuPtrOutput) ToIotHubDpsSkuPtrOutput added in v1.12.0

func (o IotHubDpsSkuPtrOutput) ToIotHubDpsSkuPtrOutput() IotHubDpsSkuPtrOutput

func (IotHubDpsSkuPtrOutput) ToIotHubDpsSkuPtrOutputWithContext added in v1.12.0

func (o IotHubDpsSkuPtrOutput) ToIotHubDpsSkuPtrOutputWithContext(ctx context.Context) IotHubDpsSkuPtrOutput

type IotHubDpsState added in v1.5.0

type IotHubDpsState struct {
	// The allocation policy of the IoT Device Provisioning Service.
	AllocationPolicy pulumi.StringPtrInput
	// The device endpoint of the IoT Device Provisioning Service.
	DeviceProvisioningHostName pulumi.StringPtrInput
	// The unique identifier of the IoT Device Provisioning Service.
	IdScope pulumi.StringPtrInput
	// A `linkedHub` block as defined below.
	LinkedHubs IotHubDpsLinkedHubArrayInput
	// Specifies the supported Azure location where the resource has to be createc. Changing this forces a new resource to be created.
	Location pulumi.StringPtrInput
	// Specifies the name of the Iot Device Provisioning Service resource. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// 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.
	ResourceGroupName pulumi.StringPtrInput
	// The service endpoint of the IoT Device Provisioning Service.
	ServiceOperationsHostName pulumi.StringPtrInput
	// A `sku` block as defined below.
	Sku IotHubDpsSkuPtrInput
	// A mapping of tags to assign to the resource.
	Tags pulumi.StringMapInput
}

func (IotHubDpsState) ElementType added in v1.12.0

func (IotHubDpsState) ElementType() reflect.Type

type LookupDpsArgs added in v1.12.0

type LookupDpsArgs struct {
	// Specifies the name of the Iot Device Provisioning Service resource.
	Name string `pulumi:"name"`
	// The name of the resource group under which the Iot Device Provisioning Service is located in.
	ResourceGroupName string            `pulumi:"resourceGroupName"`
	Tags              map[string]string `pulumi:"tags"`
}

A collection of arguments for invoking getDps.

type LookupDpsResult added in v1.12.0

type LookupDpsResult struct {
	// The allocation policy of the IoT Device Provisioning Service.
	AllocationPolicy string `pulumi:"allocationPolicy"`
	// The device endpoint of the IoT Device Provisioning Service.
	DeviceProvisioningHostName string `pulumi:"deviceProvisioningHostName"`
	// id is the provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// The unique identifier of the IoT Device Provisioning Service.
	IdScope string `pulumi:"idScope"`
	// Specifies the supported Azure location where the IoT Device Provisioning Service exists.
	Location          string `pulumi:"location"`
	Name              string `pulumi:"name"`
	ResourceGroupName string `pulumi:"resourceGroupName"`
	// The service endpoint of the IoT Device Provisioning Service.
	ServiceOperationsHostName string            `pulumi:"serviceOperationsHostName"`
	Tags                      map[string]string `pulumi:"tags"`
}

A collection of values returned by getDps.

func LookupDps added in v1.11.0

func LookupDps(ctx *pulumi.Context, args *LookupDpsArgs, opts ...pulumi.InvokeOption) (*LookupDpsResult, error)

Use this data source to access information about an existing IotHub Device Provisioning Service.

> This content is derived from https://github.com/terraform-providers/terraform-provider-azurerm/blob/master/website/docs/d/iothub_dps.html.markdown.

type LookupSharedAccessPolicyArgs added in v1.12.0

type LookupSharedAccessPolicyArgs struct {
	// The name of the IoTHub to which this Shared Access Policy belongs.
	IothubName string `pulumi:"iothubName"`
	// Specifies the name of the IotHub Shared Access Policy resource.
	Name string `pulumi:"name"`
	// The name of the resource group under which the IotHub Shared Access Policy resource has to be created.
	ResourceGroupName string `pulumi:"resourceGroupName"`
}

A collection of arguments for invoking getSharedAccessPolicy.

type LookupSharedAccessPolicyResult added in v1.12.0

type LookupSharedAccessPolicyResult struct {
	// id is the provider-assigned unique ID for this managed resource.
	Id         string `pulumi:"id"`
	IothubName string `pulumi:"iothubName"`
	Name       string `pulumi:"name"`
	// The primary connection string of the Shared Access Policy.
	PrimaryConnectionString string `pulumi:"primaryConnectionString"`
	// The primary key used to create the authentication token.
	PrimaryKey        string `pulumi:"primaryKey"`
	ResourceGroupName string `pulumi:"resourceGroupName"`
	// The secondary connection string of the Shared Access Policy.
	SecondaryConnectionString string `pulumi:"secondaryConnectionString"`
	// The secondary key used to create the authentication token.
	SecondaryKey string `pulumi:"secondaryKey"`
}

A collection of values returned by getSharedAccessPolicy.

func LookupSharedAccessPolicy added in v1.11.0

func LookupSharedAccessPolicy(ctx *pulumi.Context, args *LookupSharedAccessPolicyArgs, opts ...pulumi.InvokeOption) (*LookupSharedAccessPolicyResult, error)

Use this data source to access information about an existing IotHub Shared Access Policy

> This content is derived from https://github.com/terraform-providers/terraform-provider-azurerm/blob/master/website/docs/d/iothub_shared_access_policy.html.markdown.

type Route added in v1.5.0

type Route struct {
	pulumi.CustomResourceState

	// The condition that is evaluated to apply the routing rule. If no condition is provided, it evaluates to `true` by default. For grammar, see: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-query-language.
	Condition pulumi.StringPtrOutput `pulumi:"condition"`
	// Specifies whether a route is enabled.
	Enabled pulumi.BoolOutput `pulumi:"enabled"`
	// The list of endpoints to which messages that satisfy the condition are routed. Currently only one endpoint is allowed.
	EndpointNames pulumi.StringOutput `pulumi:"endpointNames"`
	// The name of the IoTHub to which this Route belongs. Changing this forces a new resource to be created.
	IothubName pulumi.StringOutput `pulumi:"iothubName"`
	// The name of the route.
	Name pulumi.StringOutput `pulumi:"name"`
	// The name of the resource group under which the IotHub Route resource has to be created. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"`
	// The source that the routing rule is to be applied to. Possible values include: `DeviceJobLifecycleEvents`, `DeviceLifecycleEvents`, `DeviceMessages`, `Invalid`, `TwinChangeEvents`.
	Source pulumi.StringOutput `pulumi:"source"`
}

Manages an IotHub Route

> **NOTE:** Routes can be defined either directly on the `iot.IoTHub` resource, or using the `iot.Route` resourcs - but the two cannot be used together. If both are used against the same IoTHub, spurious changes will occur.

> This content is derived from https://github.com/terraform-providers/terraform-provider-azurerm/blob/master/website/docs/r/iothub_route.html.markdown.

func GetRoute added in v1.5.0

func GetRoute(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *RouteState, opts ...pulumi.ResourceOption) (*Route, error)

GetRoute gets an existing Route resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewRoute added in v1.5.0

func NewRoute(ctx *pulumi.Context,
	name string, args *RouteArgs, opts ...pulumi.ResourceOption) (*Route, error)

NewRoute registers a new resource with the given unique name, arguments, and options.

type RouteArgs added in v1.5.0

type RouteArgs struct {
	// The condition that is evaluated to apply the routing rule. If no condition is provided, it evaluates to `true` by default. For grammar, see: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-query-language.
	Condition pulumi.StringPtrInput
	// Specifies whether a route is enabled.
	Enabled pulumi.BoolInput
	// The list of endpoints to which messages that satisfy the condition are routed. Currently only one endpoint is allowed.
	EndpointNames pulumi.StringInput
	// The name of the IoTHub to which this Route belongs. Changing this forces a new resource to be created.
	IothubName pulumi.StringInput
	// The name of the route.
	Name pulumi.StringPtrInput
	// The name of the resource group under which the IotHub Route resource has to be created. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringInput
	// The source that the routing rule is to be applied to. Possible values include: `DeviceJobLifecycleEvents`, `DeviceLifecycleEvents`, `DeviceMessages`, `Invalid`, `TwinChangeEvents`.
	Source pulumi.StringInput
}

The set of arguments for constructing a Route resource.

func (RouteArgs) ElementType added in v1.12.0

func (RouteArgs) ElementType() reflect.Type

type RouteState added in v1.5.0

type RouteState struct {
	// The condition that is evaluated to apply the routing rule. If no condition is provided, it evaluates to `true` by default. For grammar, see: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-query-language.
	Condition pulumi.StringPtrInput
	// Specifies whether a route is enabled.
	Enabled pulumi.BoolPtrInput
	// The list of endpoints to which messages that satisfy the condition are routed. Currently only one endpoint is allowed.
	EndpointNames pulumi.StringPtrInput
	// The name of the IoTHub to which this Route belongs. Changing this forces a new resource to be created.
	IothubName pulumi.StringPtrInput
	// The name of the route.
	Name pulumi.StringPtrInput
	// The name of the resource group under which the IotHub Route resource has to be created. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringPtrInput
	// The source that the routing rule is to be applied to. Possible values include: `DeviceJobLifecycleEvents`, `DeviceLifecycleEvents`, `DeviceMessages`, `Invalid`, `TwinChangeEvents`.
	Source pulumi.StringPtrInput
}

func (RouteState) ElementType added in v1.12.0

func (RouteState) ElementType() reflect.Type

type SharedAccessPolicy added in v0.18.0

type SharedAccessPolicy struct {
	pulumi.CustomResourceState

	// Adds `DeviceConnect` permission to this Shared Access Account. It allows sending and receiving on the device-side endpoints.
	DeviceConnect pulumi.BoolPtrOutput `pulumi:"deviceConnect"`
	// The name of the IoTHub to which this Shared Access Policy belongs. Changing this forces a new resource to be created.
	IothubName pulumi.StringOutput `pulumi:"iothubName"`
	// Specifies the name of the IotHub Shared Access Policy resource. Changing this forces a new resource to be created.
	Name pulumi.StringOutput `pulumi:"name"`
	// The primary connection string of the Shared Access Policy.
	PrimaryConnectionString pulumi.StringOutput `pulumi:"primaryConnectionString"`
	// The primary key used to create the authentication token.
	PrimaryKey pulumi.StringOutput `pulumi:"primaryKey"`
	// Adds `RegistryRead` permission to this Shared Access Account. It allows read access to the identity registry.
	RegistryRead pulumi.BoolPtrOutput `pulumi:"registryRead"`
	// Adds `RegistryWrite` permission to this Shared Access Account. It allows write access to the identity registry.
	RegistryWrite pulumi.BoolPtrOutput `pulumi:"registryWrite"`
	// The name of the resource group under which the IotHub Shared Access Policy resource has to be created. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"`
	// The secondary connection string of the Shared Access Policy.
	SecondaryConnectionString pulumi.StringOutput `pulumi:"secondaryConnectionString"`
	// The secondary key used to create the authentication token.
	SecondaryKey pulumi.StringOutput `pulumi:"secondaryKey"`
	// Adds `ServiceConnect` permission to this Shared Access Account. It allows sending and receiving on the cloud-side endpoints.
	ServiceConnect pulumi.BoolPtrOutput `pulumi:"serviceConnect"`
}

Manages an IotHub Shared Access Policy

> This content is derived from https://github.com/terraform-providers/terraform-provider-azurerm/blob/master/website/docs/r/iothub_shared_access_policy.html.markdown.

func GetSharedAccessPolicy added in v0.18.0

func GetSharedAccessPolicy(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *SharedAccessPolicyState, opts ...pulumi.ResourceOption) (*SharedAccessPolicy, error)

GetSharedAccessPolicy gets an existing SharedAccessPolicy resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewSharedAccessPolicy added in v0.18.0

func NewSharedAccessPolicy(ctx *pulumi.Context,
	name string, args *SharedAccessPolicyArgs, opts ...pulumi.ResourceOption) (*SharedAccessPolicy, error)

NewSharedAccessPolicy registers a new resource with the given unique name, arguments, and options.

type SharedAccessPolicyArgs added in v0.18.0

type SharedAccessPolicyArgs struct {
	// Adds `DeviceConnect` permission to this Shared Access Account. It allows sending and receiving on the device-side endpoints.
	DeviceConnect pulumi.BoolPtrInput
	// The name of the IoTHub to which this Shared Access Policy belongs. Changing this forces a new resource to be created.
	IothubName pulumi.StringInput
	// Specifies the name of the IotHub Shared Access Policy resource. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// Adds `RegistryRead` permission to this Shared Access Account. It allows read access to the identity registry.
	RegistryRead pulumi.BoolPtrInput
	// Adds `RegistryWrite` permission to this Shared Access Account. It allows write access to the identity registry.
	RegistryWrite pulumi.BoolPtrInput
	// The name of the resource group under which the IotHub Shared Access Policy resource has to be created. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringInput
	// Adds `ServiceConnect` permission to this Shared Access Account. It allows sending and receiving on the cloud-side endpoints.
	ServiceConnect pulumi.BoolPtrInput
}

The set of arguments for constructing a SharedAccessPolicy resource.

func (SharedAccessPolicyArgs) ElementType added in v1.12.0

func (SharedAccessPolicyArgs) ElementType() reflect.Type

type SharedAccessPolicyState added in v0.18.0

type SharedAccessPolicyState struct {
	// Adds `DeviceConnect` permission to this Shared Access Account. It allows sending and receiving on the device-side endpoints.
	DeviceConnect pulumi.BoolPtrInput
	// The name of the IoTHub to which this Shared Access Policy belongs. Changing this forces a new resource to be created.
	IothubName pulumi.StringPtrInput
	// Specifies the name of the IotHub Shared Access Policy resource. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// The primary connection string of the Shared Access Policy.
	PrimaryConnectionString pulumi.StringPtrInput
	// The primary key used to create the authentication token.
	PrimaryKey pulumi.StringPtrInput
	// Adds `RegistryRead` permission to this Shared Access Account. It allows read access to the identity registry.
	RegistryRead pulumi.BoolPtrInput
	// Adds `RegistryWrite` permission to this Shared Access Account. It allows write access to the identity registry.
	RegistryWrite pulumi.BoolPtrInput
	// The name of the resource group under which the IotHub Shared Access Policy resource has to be created. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringPtrInput
	// The secondary connection string of the Shared Access Policy.
	SecondaryConnectionString pulumi.StringPtrInput
	// The secondary key used to create the authentication token.
	SecondaryKey pulumi.StringPtrInput
	// Adds `ServiceConnect` permission to this Shared Access Account. It allows sending and receiving on the cloud-side endpoints.
	ServiceConnect pulumi.BoolPtrInput
}

func (SharedAccessPolicyState) ElementType added in v1.12.0

func (SharedAccessPolicyState) ElementType() reflect.Type

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL