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
Index ¶
- type ConsumerGroup
- type ConsumerGroupArgs
- type ConsumerGroupState
- type DpsSharedAccessPolicy
- type DpsSharedAccessPolicyArgs
- type DpsSharedAccessPolicyState
- type EndpointEventhub
- type EndpointEventhubArgs
- type EndpointEventhubState
- type EndpointServicebusQueue
- type EndpointServicebusQueueArgs
- type EndpointServicebusQueueState
- type EndpointServicebusTopic
- type EndpointServicebusTopicArgs
- type EndpointServicebusTopicState
- type EndpointStorageContainer
- type EndpointStorageContainerArgs
- type EndpointStorageContainerState
- type FallbackRoute
- type FallbackRouteArgs
- type FallbackRouteState
- type GetDpsArgs
- type GetDpsResult
- type IoTHub
- type IoTHubArgs
- type IoTHubEndpoint
- type IoTHubEndpointArgs
- type IoTHubEndpointArray
- type IoTHubEndpointArrayInput
- type IoTHubEndpointArrayOutput
- func (IoTHubEndpointArrayOutput) ElementType() reflect.Type
- func (o IoTHubEndpointArrayOutput) Index(i pulumi.IntInput) IoTHubEndpointOutput
- func (o IoTHubEndpointArrayOutput) ToIoTHubEndpointArrayOutput() IoTHubEndpointArrayOutput
- func (o IoTHubEndpointArrayOutput) ToIoTHubEndpointArrayOutputWithContext(ctx context.Context) IoTHubEndpointArrayOutput
- type IoTHubEndpointInput
- type IoTHubEndpointOutput
- func (o IoTHubEndpointOutput) BatchFrequencyInSeconds() pulumi.IntPtrOutput
- func (o IoTHubEndpointOutput) ConnectionString() pulumi.StringOutput
- func (o IoTHubEndpointOutput) ContainerName() pulumi.StringPtrOutput
- func (IoTHubEndpointOutput) ElementType() reflect.Type
- func (o IoTHubEndpointOutput) Encoding() pulumi.StringPtrOutput
- func (o IoTHubEndpointOutput) FileNameFormat() pulumi.StringPtrOutput
- func (o IoTHubEndpointOutput) MaxChunkSizeInBytes() pulumi.IntPtrOutput
- func (o IoTHubEndpointOutput) Name() pulumi.StringOutput
- func (o IoTHubEndpointOutput) ToIoTHubEndpointOutput() IoTHubEndpointOutput
- func (o IoTHubEndpointOutput) ToIoTHubEndpointOutputWithContext(ctx context.Context) IoTHubEndpointOutput
- func (o IoTHubEndpointOutput) Type() pulumi.StringOutput
- type IoTHubFallbackRoute
- type IoTHubFallbackRouteArgs
- func (IoTHubFallbackRouteArgs) ElementType() reflect.Type
- func (i IoTHubFallbackRouteArgs) ToIoTHubFallbackRouteOutput() IoTHubFallbackRouteOutput
- func (i IoTHubFallbackRouteArgs) ToIoTHubFallbackRouteOutputWithContext(ctx context.Context) IoTHubFallbackRouteOutput
- func (i IoTHubFallbackRouteArgs) ToIoTHubFallbackRoutePtrOutput() IoTHubFallbackRoutePtrOutput
- func (i IoTHubFallbackRouteArgs) ToIoTHubFallbackRoutePtrOutputWithContext(ctx context.Context) IoTHubFallbackRoutePtrOutput
- type IoTHubFallbackRouteInput
- type IoTHubFallbackRouteOutput
- func (o IoTHubFallbackRouteOutput) Condition() pulumi.StringPtrOutput
- func (IoTHubFallbackRouteOutput) ElementType() reflect.Type
- func (o IoTHubFallbackRouteOutput) Enabled() pulumi.BoolPtrOutput
- func (o IoTHubFallbackRouteOutput) EndpointNames() pulumi.StringArrayOutput
- func (o IoTHubFallbackRouteOutput) Source() pulumi.StringPtrOutput
- func (o IoTHubFallbackRouteOutput) ToIoTHubFallbackRouteOutput() IoTHubFallbackRouteOutput
- func (o IoTHubFallbackRouteOutput) ToIoTHubFallbackRouteOutputWithContext(ctx context.Context) IoTHubFallbackRouteOutput
- func (o IoTHubFallbackRouteOutput) ToIoTHubFallbackRoutePtrOutput() IoTHubFallbackRoutePtrOutput
- func (o IoTHubFallbackRouteOutput) ToIoTHubFallbackRoutePtrOutputWithContext(ctx context.Context) IoTHubFallbackRoutePtrOutput
- type IoTHubFallbackRoutePtrInput
- type IoTHubFallbackRoutePtrOutput
- func (o IoTHubFallbackRoutePtrOutput) Condition() pulumi.StringPtrOutput
- func (o IoTHubFallbackRoutePtrOutput) Elem() IoTHubFallbackRouteOutput
- func (IoTHubFallbackRoutePtrOutput) ElementType() reflect.Type
- func (o IoTHubFallbackRoutePtrOutput) Enabled() pulumi.BoolPtrOutput
- func (o IoTHubFallbackRoutePtrOutput) EndpointNames() pulumi.StringArrayOutput
- func (o IoTHubFallbackRoutePtrOutput) Source() pulumi.StringPtrOutput
- func (o IoTHubFallbackRoutePtrOutput) ToIoTHubFallbackRoutePtrOutput() IoTHubFallbackRoutePtrOutput
- func (o IoTHubFallbackRoutePtrOutput) ToIoTHubFallbackRoutePtrOutputWithContext(ctx context.Context) IoTHubFallbackRoutePtrOutput
- type IoTHubFileUpload
- type IoTHubFileUploadArgs
- func (IoTHubFileUploadArgs) ElementType() reflect.Type
- func (i IoTHubFileUploadArgs) ToIoTHubFileUploadOutput() IoTHubFileUploadOutput
- func (i IoTHubFileUploadArgs) ToIoTHubFileUploadOutputWithContext(ctx context.Context) IoTHubFileUploadOutput
- func (i IoTHubFileUploadArgs) ToIoTHubFileUploadPtrOutput() IoTHubFileUploadPtrOutput
- func (i IoTHubFileUploadArgs) ToIoTHubFileUploadPtrOutputWithContext(ctx context.Context) IoTHubFileUploadPtrOutput
- type IoTHubFileUploadInput
- type IoTHubFileUploadOutput
- func (o IoTHubFileUploadOutput) ConnectionString() pulumi.StringOutput
- func (o IoTHubFileUploadOutput) ContainerName() pulumi.StringOutput
- func (o IoTHubFileUploadOutput) DefaultTtl() pulumi.StringPtrOutput
- func (IoTHubFileUploadOutput) ElementType() reflect.Type
- func (o IoTHubFileUploadOutput) LockDuration() pulumi.StringPtrOutput
- func (o IoTHubFileUploadOutput) MaxDeliveryCount() pulumi.IntPtrOutput
- func (o IoTHubFileUploadOutput) Notifications() pulumi.BoolPtrOutput
- func (o IoTHubFileUploadOutput) SasTtl() pulumi.StringPtrOutput
- func (o IoTHubFileUploadOutput) ToIoTHubFileUploadOutput() IoTHubFileUploadOutput
- func (o IoTHubFileUploadOutput) ToIoTHubFileUploadOutputWithContext(ctx context.Context) IoTHubFileUploadOutput
- func (o IoTHubFileUploadOutput) ToIoTHubFileUploadPtrOutput() IoTHubFileUploadPtrOutput
- func (o IoTHubFileUploadOutput) ToIoTHubFileUploadPtrOutputWithContext(ctx context.Context) IoTHubFileUploadPtrOutput
- type IoTHubFileUploadPtrInput
- type IoTHubFileUploadPtrOutput
- func (o IoTHubFileUploadPtrOutput) ConnectionString() pulumi.StringOutput
- func (o IoTHubFileUploadPtrOutput) ContainerName() pulumi.StringOutput
- func (o IoTHubFileUploadPtrOutput) DefaultTtl() pulumi.StringPtrOutput
- func (o IoTHubFileUploadPtrOutput) Elem() IoTHubFileUploadOutput
- func (IoTHubFileUploadPtrOutput) ElementType() reflect.Type
- func (o IoTHubFileUploadPtrOutput) LockDuration() pulumi.StringPtrOutput
- func (o IoTHubFileUploadPtrOutput) MaxDeliveryCount() pulumi.IntPtrOutput
- func (o IoTHubFileUploadPtrOutput) Notifications() pulumi.BoolPtrOutput
- func (o IoTHubFileUploadPtrOutput) SasTtl() pulumi.StringPtrOutput
- func (o IoTHubFileUploadPtrOutput) ToIoTHubFileUploadPtrOutput() IoTHubFileUploadPtrOutput
- func (o IoTHubFileUploadPtrOutput) ToIoTHubFileUploadPtrOutputWithContext(ctx context.Context) IoTHubFileUploadPtrOutput
- type IoTHubIpFilterRule
- type IoTHubIpFilterRuleArgs
- type IoTHubIpFilterRuleArray
- type IoTHubIpFilterRuleArrayInput
- type IoTHubIpFilterRuleArrayOutput
- func (IoTHubIpFilterRuleArrayOutput) ElementType() reflect.Type
- func (o IoTHubIpFilterRuleArrayOutput) Index(i pulumi.IntInput) IoTHubIpFilterRuleOutput
- func (o IoTHubIpFilterRuleArrayOutput) ToIoTHubIpFilterRuleArrayOutput() IoTHubIpFilterRuleArrayOutput
- func (o IoTHubIpFilterRuleArrayOutput) ToIoTHubIpFilterRuleArrayOutputWithContext(ctx context.Context) IoTHubIpFilterRuleArrayOutput
- type IoTHubIpFilterRuleInput
- type IoTHubIpFilterRuleOutput
- func (o IoTHubIpFilterRuleOutput) Action() pulumi.StringOutput
- func (IoTHubIpFilterRuleOutput) ElementType() reflect.Type
- func (o IoTHubIpFilterRuleOutput) IpMask() pulumi.StringOutput
- func (o IoTHubIpFilterRuleOutput) Name() pulumi.StringOutput
- func (o IoTHubIpFilterRuleOutput) ToIoTHubIpFilterRuleOutput() IoTHubIpFilterRuleOutput
- func (o IoTHubIpFilterRuleOutput) ToIoTHubIpFilterRuleOutputWithContext(ctx context.Context) IoTHubIpFilterRuleOutput
- type IoTHubRoute
- type IoTHubRouteArgs
- type IoTHubRouteArray
- type IoTHubRouteArrayInput
- type IoTHubRouteArrayOutput
- func (IoTHubRouteArrayOutput) ElementType() reflect.Type
- func (o IoTHubRouteArrayOutput) Index(i pulumi.IntInput) IoTHubRouteOutput
- func (o IoTHubRouteArrayOutput) ToIoTHubRouteArrayOutput() IoTHubRouteArrayOutput
- func (o IoTHubRouteArrayOutput) ToIoTHubRouteArrayOutputWithContext(ctx context.Context) IoTHubRouteArrayOutput
- type IoTHubRouteInput
- type IoTHubRouteOutput
- func (o IoTHubRouteOutput) Condition() pulumi.StringPtrOutput
- func (IoTHubRouteOutput) ElementType() reflect.Type
- func (o IoTHubRouteOutput) Enabled() pulumi.BoolOutput
- func (o IoTHubRouteOutput) EndpointNames() pulumi.StringArrayOutput
- func (o IoTHubRouteOutput) Name() pulumi.StringOutput
- func (o IoTHubRouteOutput) Source() pulumi.StringOutput
- func (o IoTHubRouteOutput) ToIoTHubRouteOutput() IoTHubRouteOutput
- func (o IoTHubRouteOutput) ToIoTHubRouteOutputWithContext(ctx context.Context) IoTHubRouteOutput
- type IoTHubSharedAccessPolicy
- type IoTHubSharedAccessPolicyArgs
- func (IoTHubSharedAccessPolicyArgs) ElementType() reflect.Type
- func (i IoTHubSharedAccessPolicyArgs) ToIoTHubSharedAccessPolicyOutput() IoTHubSharedAccessPolicyOutput
- func (i IoTHubSharedAccessPolicyArgs) ToIoTHubSharedAccessPolicyOutputWithContext(ctx context.Context) IoTHubSharedAccessPolicyOutput
- type IoTHubSharedAccessPolicyArray
- func (IoTHubSharedAccessPolicyArray) ElementType() reflect.Type
- func (i IoTHubSharedAccessPolicyArray) ToIoTHubSharedAccessPolicyArrayOutput() IoTHubSharedAccessPolicyArrayOutput
- func (i IoTHubSharedAccessPolicyArray) ToIoTHubSharedAccessPolicyArrayOutputWithContext(ctx context.Context) IoTHubSharedAccessPolicyArrayOutput
- type IoTHubSharedAccessPolicyArrayInput
- type IoTHubSharedAccessPolicyArrayOutput
- func (IoTHubSharedAccessPolicyArrayOutput) ElementType() reflect.Type
- func (o IoTHubSharedAccessPolicyArrayOutput) Index(i pulumi.IntInput) IoTHubSharedAccessPolicyOutput
- func (o IoTHubSharedAccessPolicyArrayOutput) ToIoTHubSharedAccessPolicyArrayOutput() IoTHubSharedAccessPolicyArrayOutput
- func (o IoTHubSharedAccessPolicyArrayOutput) ToIoTHubSharedAccessPolicyArrayOutputWithContext(ctx context.Context) IoTHubSharedAccessPolicyArrayOutput
- type IoTHubSharedAccessPolicyInput
- type IoTHubSharedAccessPolicyOutput
- func (IoTHubSharedAccessPolicyOutput) ElementType() reflect.Type
- func (o IoTHubSharedAccessPolicyOutput) KeyName() pulumi.StringPtrOutput
- func (o IoTHubSharedAccessPolicyOutput) Permissions() pulumi.StringPtrOutput
- func (o IoTHubSharedAccessPolicyOutput) PrimaryKey() pulumi.StringPtrOutput
- func (o IoTHubSharedAccessPolicyOutput) SecondaryKey() pulumi.StringPtrOutput
- func (o IoTHubSharedAccessPolicyOutput) ToIoTHubSharedAccessPolicyOutput() IoTHubSharedAccessPolicyOutput
- func (o IoTHubSharedAccessPolicyOutput) ToIoTHubSharedAccessPolicyOutputWithContext(ctx context.Context) IoTHubSharedAccessPolicyOutput
- type IoTHubSku
- type IoTHubSkuArgs
- func (IoTHubSkuArgs) ElementType() reflect.Type
- func (i IoTHubSkuArgs) ToIoTHubSkuOutput() IoTHubSkuOutput
- func (i IoTHubSkuArgs) ToIoTHubSkuOutputWithContext(ctx context.Context) IoTHubSkuOutput
- func (i IoTHubSkuArgs) ToIoTHubSkuPtrOutput() IoTHubSkuPtrOutput
- func (i IoTHubSkuArgs) ToIoTHubSkuPtrOutputWithContext(ctx context.Context) IoTHubSkuPtrOutput
- type IoTHubSkuInput
- type IoTHubSkuOutput
- func (o IoTHubSkuOutput) Capacity() pulumi.IntOutput
- func (IoTHubSkuOutput) ElementType() reflect.Type
- func (o IoTHubSkuOutput) Name() pulumi.StringOutput
- func (o IoTHubSkuOutput) ToIoTHubSkuOutput() IoTHubSkuOutput
- func (o IoTHubSkuOutput) ToIoTHubSkuOutputWithContext(ctx context.Context) IoTHubSkuOutput
- func (o IoTHubSkuOutput) ToIoTHubSkuPtrOutput() IoTHubSkuPtrOutput
- func (o IoTHubSkuOutput) ToIoTHubSkuPtrOutputWithContext(ctx context.Context) IoTHubSkuPtrOutput
- type IoTHubSkuPtrInput
- type IoTHubSkuPtrOutput
- func (o IoTHubSkuPtrOutput) Capacity() pulumi.IntOutput
- func (o IoTHubSkuPtrOutput) Elem() IoTHubSkuOutput
- func (IoTHubSkuPtrOutput) ElementType() reflect.Type
- func (o IoTHubSkuPtrOutput) Name() pulumi.StringOutput
- func (o IoTHubSkuPtrOutput) ToIoTHubSkuPtrOutput() IoTHubSkuPtrOutput
- func (o IoTHubSkuPtrOutput) ToIoTHubSkuPtrOutputWithContext(ctx context.Context) IoTHubSkuPtrOutput
- type IoTHubState
- type IotHubCertificate
- type IotHubCertificateArgs
- type IotHubCertificateState
- type IotHubDps
- type IotHubDpsArgs
- type IotHubDpsLinkedHub
- type IotHubDpsLinkedHubArgs
- type IotHubDpsLinkedHubArray
- type IotHubDpsLinkedHubArrayInput
- type IotHubDpsLinkedHubArrayOutput
- func (IotHubDpsLinkedHubArrayOutput) ElementType() reflect.Type
- func (o IotHubDpsLinkedHubArrayOutput) Index(i pulumi.IntInput) IotHubDpsLinkedHubOutput
- func (o IotHubDpsLinkedHubArrayOutput) ToIotHubDpsLinkedHubArrayOutput() IotHubDpsLinkedHubArrayOutput
- func (o IotHubDpsLinkedHubArrayOutput) ToIotHubDpsLinkedHubArrayOutputWithContext(ctx context.Context) IotHubDpsLinkedHubArrayOutput
- type IotHubDpsLinkedHubInput
- type IotHubDpsLinkedHubOutput
- func (o IotHubDpsLinkedHubOutput) AllocationWeight() pulumi.IntPtrOutput
- func (o IotHubDpsLinkedHubOutput) ApplyAllocationPolicy() pulumi.BoolPtrOutput
- func (o IotHubDpsLinkedHubOutput) ConnectionString() pulumi.StringOutput
- func (IotHubDpsLinkedHubOutput) ElementType() reflect.Type
- func (o IotHubDpsLinkedHubOutput) Hostname() pulumi.StringPtrOutput
- func (o IotHubDpsLinkedHubOutput) Location() pulumi.StringOutput
- func (o IotHubDpsLinkedHubOutput) ToIotHubDpsLinkedHubOutput() IotHubDpsLinkedHubOutput
- func (o IotHubDpsLinkedHubOutput) ToIotHubDpsLinkedHubOutputWithContext(ctx context.Context) IotHubDpsLinkedHubOutput
- type IotHubDpsSku
- type IotHubDpsSkuArgs
- func (IotHubDpsSkuArgs) ElementType() reflect.Type
- func (i IotHubDpsSkuArgs) ToIotHubDpsSkuOutput() IotHubDpsSkuOutput
- func (i IotHubDpsSkuArgs) ToIotHubDpsSkuOutputWithContext(ctx context.Context) IotHubDpsSkuOutput
- func (i IotHubDpsSkuArgs) ToIotHubDpsSkuPtrOutput() IotHubDpsSkuPtrOutput
- func (i IotHubDpsSkuArgs) ToIotHubDpsSkuPtrOutputWithContext(ctx context.Context) IotHubDpsSkuPtrOutput
- type IotHubDpsSkuInput
- type IotHubDpsSkuOutput
- func (o IotHubDpsSkuOutput) Capacity() pulumi.IntOutput
- func (IotHubDpsSkuOutput) ElementType() reflect.Type
- func (o IotHubDpsSkuOutput) Name() pulumi.StringOutput
- func (o IotHubDpsSkuOutput) ToIotHubDpsSkuOutput() IotHubDpsSkuOutput
- func (o IotHubDpsSkuOutput) ToIotHubDpsSkuOutputWithContext(ctx context.Context) IotHubDpsSkuOutput
- func (o IotHubDpsSkuOutput) ToIotHubDpsSkuPtrOutput() IotHubDpsSkuPtrOutput
- func (o IotHubDpsSkuOutput) ToIotHubDpsSkuPtrOutputWithContext(ctx context.Context) IotHubDpsSkuPtrOutput
- type IotHubDpsSkuPtrInput
- type IotHubDpsSkuPtrOutput
- func (o IotHubDpsSkuPtrOutput) Capacity() pulumi.IntOutput
- func (o IotHubDpsSkuPtrOutput) Elem() IotHubDpsSkuOutput
- func (IotHubDpsSkuPtrOutput) ElementType() reflect.Type
- func (o IotHubDpsSkuPtrOutput) Name() pulumi.StringOutput
- func (o IotHubDpsSkuPtrOutput) ToIotHubDpsSkuPtrOutput() IotHubDpsSkuPtrOutput
- func (o IotHubDpsSkuPtrOutput) ToIotHubDpsSkuPtrOutputWithContext(ctx context.Context) IotHubDpsSkuPtrOutput
- type IotHubDpsState
- type LookupDpsSharedAccessPolicyArgs
- type LookupDpsSharedAccessPolicyResult
- type LookupSharedAccessPolicyArgs
- type LookupSharedAccessPolicyResult
- type Route
- type RouteArgs
- type RouteState
- type SharedAccessPolicy
- type SharedAccessPolicyArgs
- type SharedAccessPolicyState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConsumerGroup ¶
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 ¶
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 ¶
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 ¶
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 ¶
func (ConsumerGroupArgs) ElementType() reflect.Type
type ConsumerGroupState ¶
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 ¶
func (ConsumerGroupState) ElementType() reflect.Type
type DpsSharedAccessPolicy ¶
type DpsSharedAccessPolicy struct { pulumi.BoolPtrOutput `pulumi:"enrollmentRead"` EnrollmentWrite pulumi.BoolPtrOutput `pulumi:"enrollmentWrite"` IothubDpsName pulumi.StringOutput `pulumi:"iothubDpsName"` Name pulumi.StringOutput `pulumi:"name"` PrimaryConnectionString pulumi.StringOutput `pulumi:"primaryConnectionString"` PrimaryKey pulumi.StringOutput `pulumi:"primaryKey"` RegistrationRead pulumi.BoolPtrOutput `pulumi:"registrationRead"` RegistrationWrite pulumi.BoolPtrOutput `pulumi:"registrationWrite"` ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"` SecondaryConnectionString pulumi.StringOutput `pulumi:"secondaryConnectionString"` SecondaryKey pulumi.StringOutput `pulumi:"secondaryKey"` ServiceConfig pulumi.BoolPtrOutput `pulumi:"serviceConfig"` }EnrollmentRead
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 ¶
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 ¶
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 ¶
type DpsSharedAccessPolicyArgs struct { pulumi.BoolPtrInput EnrollmentWrite pulumi.BoolPtrInput IothubDpsName pulumi.StringInput Name pulumi.StringPtrInput RegistrationRead pulumi.BoolPtrInput RegistrationWrite pulumi.BoolPtrInput ResourceGroupName pulumi.StringInput ServiceConfig pulumi.BoolPtrInput }EnrollmentRead
The set of arguments for constructing a DpsSharedAccessPolicy resource.
func (DpsSharedAccessPolicyArgs) ElementType ¶
func (DpsSharedAccessPolicyArgs) ElementType() reflect.Type
type DpsSharedAccessPolicyState ¶
type DpsSharedAccessPolicyState struct { pulumi.BoolPtrInput EnrollmentWrite pulumi.BoolPtrInput IothubDpsName pulumi.StringPtrInput Name pulumi.StringPtrInput PrimaryConnectionString pulumi.StringPtrInput PrimaryKey pulumi.StringPtrInput RegistrationRead pulumi.BoolPtrInput RegistrationWrite pulumi.BoolPtrInput ResourceGroupName pulumi.StringPtrInput SecondaryConnectionString pulumi.StringPtrInput SecondaryKey pulumi.StringPtrInput ServiceConfig pulumi.BoolPtrInput }EnrollmentRead
func (DpsSharedAccessPolicyState) ElementType ¶
func (DpsSharedAccessPolicyState) ElementType() reflect.Type
type EndpointEventhub ¶
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 ¶
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 ¶
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 ¶
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 ¶
func (EndpointEventhubArgs) ElementType() reflect.Type
type EndpointEventhubState ¶
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 ¶
func (EndpointEventhubState) ElementType() reflect.Type
type EndpointServicebusQueue ¶
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 ¶
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 ¶
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 ¶
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 ¶
func (EndpointServicebusQueueArgs) ElementType() reflect.Type
type EndpointServicebusQueueState ¶
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 ¶
func (EndpointServicebusQueueState) ElementType() reflect.Type
type EndpointServicebusTopic ¶
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 ¶
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 ¶
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 ¶
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 ¶
func (EndpointServicebusTopicArgs) ElementType() reflect.Type
type EndpointServicebusTopicState ¶
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 ¶
func (EndpointServicebusTopicState) ElementType() reflect.Type
type EndpointStorageContainer ¶
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 ¶
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 ¶
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 ¶
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 ¶
func (EndpointStorageContainerArgs) ElementType() reflect.Type
type EndpointStorageContainerState ¶
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 ¶
func (EndpointStorageContainerState) ElementType() reflect.Type
type FallbackRoute ¶
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
## Disclaimers
> **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.
> **Note:** Since this resource is provisioned by default, the Azure Provider will not check for the presence of an existing resource prior to attempting to create it.
> 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 ¶
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 ¶
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 ¶
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 ¶
func (FallbackRouteArgs) ElementType() reflect.Type
type FallbackRouteState ¶
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 ¶
func (FallbackRouteState) ElementType() reflect.Type
type GetDpsArgs ¶
type GetDpsArgs 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 GetDpsResult ¶
type GetDpsResult 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 GetDps ¶
func GetDps(ctx *pulumi.Context, args *GetDpsArgs, opts ...pulumi.InvokeOption) (*GetDpsResult, 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 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"` 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"` // The type of the endpoint. Possible values are `AzureIotHub.StorageContainer`, `AzureIotHub.ServiceBusQueue`, `AzureIotHub.ServiceBusTopic` or `AzureIotHub.EventHub`. 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 ¶
func (IoTHubArgs) ElementType() reflect.Type
type IoTHubEndpoint ¶
type IoTHubEndpoint struct { // Time interval at which blobs are written to storage. Value should be between 60 and 720 seconds. Default value is 300 seconds. This attribute is mandatory for endpoint type `AzureIotHub.StorageContainer`. BatchFrequencyInSeconds *int `pulumi:"batchFrequencyInSeconds"` // The connection string for the endpoint. ConnectionString string `pulumi:"connectionString"` // The name of storage container in the storage account. This attribute is mandatory for endpoint type `AzureIotHub.StorageContainer`. ContainerName *string `pulumi:"containerName"` // Encoding that is used to serialize messages to blobs. Supported values are 'avro' and 'avrodeflate'. Default value is 'avro'. This attribute is mandatory for endpoint type `AzureIotHub.StorageContainer`. Encoding *string `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. This attribute is mandatory for endpoint type `AzureIotHub.StorageContainer`. FileNameFormat *string `pulumi:"fileNameFormat"` // Maximum number of bytes for each blob written to storage. Value should be between 10485760(10MB) and 524288000(500MB). Default value is 314572800(300MB). This attribute is mandatory for endpoint type `AzureIotHub.StorageContainer`. MaxChunkSizeInBytes *int `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 string `pulumi:"name"` // The type of the endpoint. Possible values are `AzureIotHub.StorageContainer`, `AzureIotHub.ServiceBusQueue`, `AzureIotHub.ServiceBusTopic` or `AzureIotHub.EventHub`. Type string `pulumi:"type"` }
type IoTHubEndpointArgs ¶
type IoTHubEndpointArgs struct { // Time interval at which blobs are written to storage. Value should be between 60 and 720 seconds. Default value is 300 seconds. This attribute is mandatory for endpoint type `AzureIotHub.StorageContainer`. BatchFrequencyInSeconds pulumi.IntPtrInput `pulumi:"batchFrequencyInSeconds"` // The connection string for the endpoint. ConnectionString pulumi.StringInput `pulumi:"connectionString"` // The name of storage container in the storage account. This attribute is mandatory for endpoint type `AzureIotHub.StorageContainer`. ContainerName pulumi.StringPtrInput `pulumi:"containerName"` // Encoding that is used to serialize messages to blobs. Supported values are 'avro' and 'avrodeflate'. Default value is 'avro'. This attribute is mandatory for endpoint type `AzureIotHub.StorageContainer`. Encoding pulumi.StringPtrInput `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. This attribute is mandatory for endpoint type `AzureIotHub.StorageContainer`. FileNameFormat pulumi.StringPtrInput `pulumi:"fileNameFormat"` // Maximum number of bytes for each blob written to storage. Value should be between 10485760(10MB) and 524288000(500MB). Default value is 314572800(300MB). This attribute is mandatory for endpoint type `AzureIotHub.StorageContainer`. MaxChunkSizeInBytes pulumi.IntPtrInput `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.StringInput `pulumi:"name"` // The type of the endpoint. Possible values are `AzureIotHub.StorageContainer`, `AzureIotHub.ServiceBusQueue`, `AzureIotHub.ServiceBusTopic` or `AzureIotHub.EventHub`. Type pulumi.StringInput `pulumi:"type"` }
func (IoTHubEndpointArgs) ElementType ¶
func (IoTHubEndpointArgs) ElementType() reflect.Type
func (IoTHubEndpointArgs) ToIoTHubEndpointOutput ¶
func (i IoTHubEndpointArgs) ToIoTHubEndpointOutput() IoTHubEndpointOutput
func (IoTHubEndpointArgs) ToIoTHubEndpointOutputWithContext ¶
func (i IoTHubEndpointArgs) ToIoTHubEndpointOutputWithContext(ctx context.Context) IoTHubEndpointOutput
type IoTHubEndpointArray ¶
type IoTHubEndpointArray []IoTHubEndpointInput
func (IoTHubEndpointArray) ElementType ¶
func (IoTHubEndpointArray) ElementType() reflect.Type
func (IoTHubEndpointArray) ToIoTHubEndpointArrayOutput ¶
func (i IoTHubEndpointArray) ToIoTHubEndpointArrayOutput() IoTHubEndpointArrayOutput
func (IoTHubEndpointArray) ToIoTHubEndpointArrayOutputWithContext ¶
func (i IoTHubEndpointArray) ToIoTHubEndpointArrayOutputWithContext(ctx context.Context) IoTHubEndpointArrayOutput
type IoTHubEndpointArrayInput ¶
type IoTHubEndpointArrayInput interface { pulumi.Input ToIoTHubEndpointArrayOutput() IoTHubEndpointArrayOutput ToIoTHubEndpointArrayOutputWithContext(context.Context) IoTHubEndpointArrayOutput }
type IoTHubEndpointArrayOutput ¶
type IoTHubEndpointArrayOutput struct{ *pulumi.OutputState }
func (IoTHubEndpointArrayOutput) ElementType ¶
func (IoTHubEndpointArrayOutput) ElementType() reflect.Type
func (IoTHubEndpointArrayOutput) Index ¶
func (o IoTHubEndpointArrayOutput) Index(i pulumi.IntInput) IoTHubEndpointOutput
func (IoTHubEndpointArrayOutput) ToIoTHubEndpointArrayOutput ¶
func (o IoTHubEndpointArrayOutput) ToIoTHubEndpointArrayOutput() IoTHubEndpointArrayOutput
func (IoTHubEndpointArrayOutput) ToIoTHubEndpointArrayOutputWithContext ¶
func (o IoTHubEndpointArrayOutput) ToIoTHubEndpointArrayOutputWithContext(ctx context.Context) IoTHubEndpointArrayOutput
type IoTHubEndpointInput ¶
type IoTHubEndpointInput interface { pulumi.Input ToIoTHubEndpointOutput() IoTHubEndpointOutput ToIoTHubEndpointOutputWithContext(context.Context) IoTHubEndpointOutput }
type IoTHubEndpointOutput ¶
type IoTHubEndpointOutput struct{ *pulumi.OutputState }
func (IoTHubEndpointOutput) BatchFrequencyInSeconds ¶
func (o IoTHubEndpointOutput) BatchFrequencyInSeconds() pulumi.IntPtrOutput
Time interval at which blobs are written to storage. Value should be between 60 and 720 seconds. Default value is 300 seconds. This attribute is mandatory for endpoint type `AzureIotHub.StorageContainer`.
func (IoTHubEndpointOutput) ConnectionString ¶
func (o IoTHubEndpointOutput) ConnectionString() pulumi.StringOutput
The connection string for the endpoint.
func (IoTHubEndpointOutput) ContainerName ¶
func (o IoTHubEndpointOutput) ContainerName() pulumi.StringPtrOutput
The name of storage container in the storage account. This attribute is mandatory for endpoint type `AzureIotHub.StorageContainer`.
func (IoTHubEndpointOutput) ElementType ¶
func (IoTHubEndpointOutput) ElementType() reflect.Type
func (IoTHubEndpointOutput) Encoding ¶
func (o IoTHubEndpointOutput) Encoding() pulumi.StringPtrOutput
Encoding that is used to serialize messages to blobs. Supported values are 'avro' and 'avrodeflate'. Default value is 'avro'. This attribute is mandatory for endpoint type `AzureIotHub.StorageContainer`.
func (IoTHubEndpointOutput) FileNameFormat ¶
func (o IoTHubEndpointOutput) FileNameFormat() pulumi.StringPtrOutput
File name format for the blob. Default format is “{iothub}/{partition}/{YYYY}/{MM}/{DD}/{HH}/{mm}“. All parameters are mandatory but can be reordered. This attribute is mandatory for endpoint type `AzureIotHub.StorageContainer`.
func (IoTHubEndpointOutput) MaxChunkSizeInBytes ¶
func (o IoTHubEndpointOutput) MaxChunkSizeInBytes() pulumi.IntPtrOutput
Maximum number of bytes for each blob written to storage. Value should be between 10485760(10MB) and 524288000(500MB). Default value is 314572800(300MB). This attribute is mandatory for endpoint type `AzureIotHub.StorageContainer`.
func (IoTHubEndpointOutput) Name ¶
func (o IoTHubEndpointOutput) Name() pulumi.StringOutput
The name of the endpoint. The name must be unique across endpoint types. The following names are reserved: `events`, `operationsMonitoringEvents`, `fileNotifications` and `$default`.
func (IoTHubEndpointOutput) ToIoTHubEndpointOutput ¶
func (o IoTHubEndpointOutput) ToIoTHubEndpointOutput() IoTHubEndpointOutput
func (IoTHubEndpointOutput) ToIoTHubEndpointOutputWithContext ¶
func (o IoTHubEndpointOutput) ToIoTHubEndpointOutputWithContext(ctx context.Context) IoTHubEndpointOutput
func (IoTHubEndpointOutput) Type ¶
func (o IoTHubEndpointOutput) Type() pulumi.StringOutput
The type of the endpoint. Possible values are `AzureIotHub.StorageContainer`, `AzureIotHub.ServiceBusQueue`, `AzureIotHub.ServiceBusTopic` or `AzureIotHub.EventHub`.
type IoTHubFallbackRoute ¶
type IoTHubFallbackRoute 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 *string `pulumi:"condition"` // Used to specify whether the fallback route is enabled. Enabled *bool `pulumi:"enabled"` // The endpoints to which messages that satisfy the condition are routed. Currently only 1 endpoint is allowed. EndpointNames []string `pulumi:"endpointNames"` // The source that the routing rule is to be applied to, such as `DeviceMessages`. Possible values include: `RoutingSourceInvalid`, `RoutingSourceDeviceMessages`, `RoutingSourceTwinChangeEvents`, `RoutingSourceDeviceLifecycleEvents`, `RoutingSourceDeviceJobLifecycleEvents`. Source *string `pulumi:"source"` }
type IoTHubFallbackRouteArgs ¶
type IoTHubFallbackRouteArgs 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 `pulumi:"condition"` // Used to specify whether the fallback route is enabled. Enabled pulumi.BoolPtrInput `pulumi:"enabled"` // The endpoints to which messages that satisfy the condition are routed. Currently only 1 endpoint is allowed. EndpointNames pulumi.StringArrayInput `pulumi:"endpointNames"` // The source that the routing rule is to be applied to, such as `DeviceMessages`. Possible values include: `RoutingSourceInvalid`, `RoutingSourceDeviceMessages`, `RoutingSourceTwinChangeEvents`, `RoutingSourceDeviceLifecycleEvents`, `RoutingSourceDeviceJobLifecycleEvents`. Source pulumi.StringPtrInput `pulumi:"source"` }
func (IoTHubFallbackRouteArgs) ElementType ¶
func (IoTHubFallbackRouteArgs) ElementType() reflect.Type
func (IoTHubFallbackRouteArgs) ToIoTHubFallbackRouteOutput ¶
func (i IoTHubFallbackRouteArgs) ToIoTHubFallbackRouteOutput() IoTHubFallbackRouteOutput
func (IoTHubFallbackRouteArgs) ToIoTHubFallbackRouteOutputWithContext ¶
func (i IoTHubFallbackRouteArgs) ToIoTHubFallbackRouteOutputWithContext(ctx context.Context) IoTHubFallbackRouteOutput
func (IoTHubFallbackRouteArgs) ToIoTHubFallbackRoutePtrOutput ¶
func (i IoTHubFallbackRouteArgs) ToIoTHubFallbackRoutePtrOutput() IoTHubFallbackRoutePtrOutput
func (IoTHubFallbackRouteArgs) ToIoTHubFallbackRoutePtrOutputWithContext ¶
func (i IoTHubFallbackRouteArgs) ToIoTHubFallbackRoutePtrOutputWithContext(ctx context.Context) IoTHubFallbackRoutePtrOutput
type IoTHubFallbackRouteInput ¶
type IoTHubFallbackRouteInput interface { pulumi.Input ToIoTHubFallbackRouteOutput() IoTHubFallbackRouteOutput ToIoTHubFallbackRouteOutputWithContext(context.Context) IoTHubFallbackRouteOutput }
type IoTHubFallbackRouteOutput ¶
type IoTHubFallbackRouteOutput struct{ *pulumi.OutputState }
func (IoTHubFallbackRouteOutput) Condition ¶
func (o IoTHubFallbackRouteOutput) Condition() pulumi.StringPtrOutput
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.
func (IoTHubFallbackRouteOutput) ElementType ¶
func (IoTHubFallbackRouteOutput) ElementType() reflect.Type
func (IoTHubFallbackRouteOutput) Enabled ¶
func (o IoTHubFallbackRouteOutput) Enabled() pulumi.BoolPtrOutput
Used to specify whether the fallback route is enabled.
func (IoTHubFallbackRouteOutput) EndpointNames ¶
func (o IoTHubFallbackRouteOutput) EndpointNames() pulumi.StringArrayOutput
The endpoints to which messages that satisfy the condition are routed. Currently only 1 endpoint is allowed.
func (IoTHubFallbackRouteOutput) Source ¶
func (o IoTHubFallbackRouteOutput) Source() pulumi.StringPtrOutput
The source that the routing rule is to be applied to, such as `DeviceMessages`. Possible values include: `RoutingSourceInvalid`, `RoutingSourceDeviceMessages`, `RoutingSourceTwinChangeEvents`, `RoutingSourceDeviceLifecycleEvents`, `RoutingSourceDeviceJobLifecycleEvents`.
func (IoTHubFallbackRouteOutput) ToIoTHubFallbackRouteOutput ¶
func (o IoTHubFallbackRouteOutput) ToIoTHubFallbackRouteOutput() IoTHubFallbackRouteOutput
func (IoTHubFallbackRouteOutput) ToIoTHubFallbackRouteOutputWithContext ¶
func (o IoTHubFallbackRouteOutput) ToIoTHubFallbackRouteOutputWithContext(ctx context.Context) IoTHubFallbackRouteOutput
func (IoTHubFallbackRouteOutput) ToIoTHubFallbackRoutePtrOutput ¶
func (o IoTHubFallbackRouteOutput) ToIoTHubFallbackRoutePtrOutput() IoTHubFallbackRoutePtrOutput
func (IoTHubFallbackRouteOutput) ToIoTHubFallbackRoutePtrOutputWithContext ¶
func (o IoTHubFallbackRouteOutput) ToIoTHubFallbackRoutePtrOutputWithContext(ctx context.Context) IoTHubFallbackRoutePtrOutput
type IoTHubFallbackRoutePtrInput ¶
type IoTHubFallbackRoutePtrInput interface { pulumi.Input ToIoTHubFallbackRoutePtrOutput() IoTHubFallbackRoutePtrOutput ToIoTHubFallbackRoutePtrOutputWithContext(context.Context) IoTHubFallbackRoutePtrOutput }
func IoTHubFallbackRoutePtr ¶
func IoTHubFallbackRoutePtr(v *IoTHubFallbackRouteArgs) IoTHubFallbackRoutePtrInput
type IoTHubFallbackRoutePtrOutput ¶
type IoTHubFallbackRoutePtrOutput struct{ *pulumi.OutputState }
func (IoTHubFallbackRoutePtrOutput) Condition ¶
func (o IoTHubFallbackRoutePtrOutput) Condition() pulumi.StringPtrOutput
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.
func (IoTHubFallbackRoutePtrOutput) Elem ¶
func (o IoTHubFallbackRoutePtrOutput) Elem() IoTHubFallbackRouteOutput
func (IoTHubFallbackRoutePtrOutput) ElementType ¶
func (IoTHubFallbackRoutePtrOutput) ElementType() reflect.Type
func (IoTHubFallbackRoutePtrOutput) Enabled ¶
func (o IoTHubFallbackRoutePtrOutput) Enabled() pulumi.BoolPtrOutput
Used to specify whether the fallback route is enabled.
func (IoTHubFallbackRoutePtrOutput) EndpointNames ¶
func (o IoTHubFallbackRoutePtrOutput) EndpointNames() pulumi.StringArrayOutput
The endpoints to which messages that satisfy the condition are routed. Currently only 1 endpoint is allowed.
func (IoTHubFallbackRoutePtrOutput) Source ¶
func (o IoTHubFallbackRoutePtrOutput) Source() pulumi.StringPtrOutput
The source that the routing rule is to be applied to, such as `DeviceMessages`. Possible values include: `RoutingSourceInvalid`, `RoutingSourceDeviceMessages`, `RoutingSourceTwinChangeEvents`, `RoutingSourceDeviceLifecycleEvents`, `RoutingSourceDeviceJobLifecycleEvents`.
func (IoTHubFallbackRoutePtrOutput) ToIoTHubFallbackRoutePtrOutput ¶
func (o IoTHubFallbackRoutePtrOutput) ToIoTHubFallbackRoutePtrOutput() IoTHubFallbackRoutePtrOutput
func (IoTHubFallbackRoutePtrOutput) ToIoTHubFallbackRoutePtrOutputWithContext ¶
func (o IoTHubFallbackRoutePtrOutput) ToIoTHubFallbackRoutePtrOutputWithContext(ctx context.Context) IoTHubFallbackRoutePtrOutput
type IoTHubFileUpload ¶
type IoTHubFileUpload struct { // The connection string for the Azure Storage account to which files are uploaded. ConnectionString string `pulumi:"connectionString"` // The name of the root container where you upload files. The container need not exist but should be creatable using the connectionString specified. ContainerName string `pulumi:"containerName"` // The period of time for which a file upload notification message is available to consume before it is expired by the IoT hub, specified as an [ISO 8601 timespan duration](https://en.wikipedia.org/wiki/ISO_8601#Durations). This value must be between 1 minute and 48 hours, and evaluates to 'PT1H' by default. DefaultTtl *string `pulumi:"defaultTtl"` // The lock duration for the file upload notifications queue, specified as an [ISO 8601 timespan duration](https://en.wikipedia.org/wiki/ISO_8601#Durations). This value must be between 5 and 300 seconds, and evaluates to 'PT1M' by default. LockDuration *string `pulumi:"lockDuration"` // The number of times the IoT hub attempts to deliver a file upload notification message. It evaluates to 10 by default. MaxDeliveryCount *int `pulumi:"maxDeliveryCount"` // Used to specify whether file notifications are sent to IoT Hub on upload. It evaluates to false by default. Notifications *bool `pulumi:"notifications"` // The period of time for which the SAS URI generated by IoT Hub for file upload is valid, specified as an [ISO 8601 timespan duration](https://en.wikipedia.org/wiki/ISO_8601#Durations). This value must be between 1 minute and 24 hours, and evaluates to 'PT1H' by default. SasTtl *string `pulumi:"sasTtl"` }
type IoTHubFileUploadArgs ¶
type IoTHubFileUploadArgs struct { // The connection string for the Azure Storage account to which files are uploaded. ConnectionString pulumi.StringInput `pulumi:"connectionString"` // The name of the root container where you upload files. The container need not exist but should be creatable using the connectionString specified. ContainerName pulumi.StringInput `pulumi:"containerName"` // The period of time for which a file upload notification message is available to consume before it is expired by the IoT hub, specified as an [ISO 8601 timespan duration](https://en.wikipedia.org/wiki/ISO_8601#Durations). This value must be between 1 minute and 48 hours, and evaluates to 'PT1H' by default. DefaultTtl pulumi.StringPtrInput `pulumi:"defaultTtl"` // The lock duration for the file upload notifications queue, specified as an [ISO 8601 timespan duration](https://en.wikipedia.org/wiki/ISO_8601#Durations). This value must be between 5 and 300 seconds, and evaluates to 'PT1M' by default. LockDuration pulumi.StringPtrInput `pulumi:"lockDuration"` // The number of times the IoT hub attempts to deliver a file upload notification message. It evaluates to 10 by default. MaxDeliveryCount pulumi.IntPtrInput `pulumi:"maxDeliveryCount"` // Used to specify whether file notifications are sent to IoT Hub on upload. It evaluates to false by default. Notifications pulumi.BoolPtrInput `pulumi:"notifications"` // The period of time for which the SAS URI generated by IoT Hub for file upload is valid, specified as an [ISO 8601 timespan duration](https://en.wikipedia.org/wiki/ISO_8601#Durations). This value must be between 1 minute and 24 hours, and evaluates to 'PT1H' by default. SasTtl pulumi.StringPtrInput `pulumi:"sasTtl"` }
func (IoTHubFileUploadArgs) ElementType ¶
func (IoTHubFileUploadArgs) ElementType() reflect.Type
func (IoTHubFileUploadArgs) ToIoTHubFileUploadOutput ¶
func (i IoTHubFileUploadArgs) ToIoTHubFileUploadOutput() IoTHubFileUploadOutput
func (IoTHubFileUploadArgs) ToIoTHubFileUploadOutputWithContext ¶
func (i IoTHubFileUploadArgs) ToIoTHubFileUploadOutputWithContext(ctx context.Context) IoTHubFileUploadOutput
func (IoTHubFileUploadArgs) ToIoTHubFileUploadPtrOutput ¶
func (i IoTHubFileUploadArgs) ToIoTHubFileUploadPtrOutput() IoTHubFileUploadPtrOutput
func (IoTHubFileUploadArgs) ToIoTHubFileUploadPtrOutputWithContext ¶
func (i IoTHubFileUploadArgs) ToIoTHubFileUploadPtrOutputWithContext(ctx context.Context) IoTHubFileUploadPtrOutput
type IoTHubFileUploadInput ¶
type IoTHubFileUploadInput interface { pulumi.Input ToIoTHubFileUploadOutput() IoTHubFileUploadOutput ToIoTHubFileUploadOutputWithContext(context.Context) IoTHubFileUploadOutput }
type IoTHubFileUploadOutput ¶
type IoTHubFileUploadOutput struct{ *pulumi.OutputState }
func (IoTHubFileUploadOutput) ConnectionString ¶
func (o IoTHubFileUploadOutput) ConnectionString() pulumi.StringOutput
The connection string for the Azure Storage account to which files are uploaded.
func (IoTHubFileUploadOutput) ContainerName ¶
func (o IoTHubFileUploadOutput) ContainerName() pulumi.StringOutput
The name of the root container where you upload files. The container need not exist but should be creatable using the connectionString specified.
func (IoTHubFileUploadOutput) DefaultTtl ¶
func (o IoTHubFileUploadOutput) DefaultTtl() pulumi.StringPtrOutput
The period of time for which a file upload notification message is available to consume before it is expired by the IoT hub, specified as an [ISO 8601 timespan duration](https://en.wikipedia.org/wiki/ISO_8601#Durations). This value must be between 1 minute and 48 hours, and evaluates to 'PT1H' by default.
func (IoTHubFileUploadOutput) ElementType ¶
func (IoTHubFileUploadOutput) ElementType() reflect.Type
func (IoTHubFileUploadOutput) LockDuration ¶
func (o IoTHubFileUploadOutput) LockDuration() pulumi.StringPtrOutput
The lock duration for the file upload notifications queue, specified as an [ISO 8601 timespan duration](https://en.wikipedia.org/wiki/ISO_8601#Durations). This value must be between 5 and 300 seconds, and evaluates to 'PT1M' by default.
func (IoTHubFileUploadOutput) MaxDeliveryCount ¶
func (o IoTHubFileUploadOutput) MaxDeliveryCount() pulumi.IntPtrOutput
The number of times the IoT hub attempts to deliver a file upload notification message. It evaluates to 10 by default.
func (IoTHubFileUploadOutput) Notifications ¶
func (o IoTHubFileUploadOutput) Notifications() pulumi.BoolPtrOutput
Used to specify whether file notifications are sent to IoT Hub on upload. It evaluates to false by default.
func (IoTHubFileUploadOutput) SasTtl ¶
func (o IoTHubFileUploadOutput) SasTtl() pulumi.StringPtrOutput
The period of time for which the SAS URI generated by IoT Hub for file upload is valid, specified as an [ISO 8601 timespan duration](https://en.wikipedia.org/wiki/ISO_8601#Durations). This value must be between 1 minute and 24 hours, and evaluates to 'PT1H' by default.
func (IoTHubFileUploadOutput) ToIoTHubFileUploadOutput ¶
func (o IoTHubFileUploadOutput) ToIoTHubFileUploadOutput() IoTHubFileUploadOutput
func (IoTHubFileUploadOutput) ToIoTHubFileUploadOutputWithContext ¶
func (o IoTHubFileUploadOutput) ToIoTHubFileUploadOutputWithContext(ctx context.Context) IoTHubFileUploadOutput
func (IoTHubFileUploadOutput) ToIoTHubFileUploadPtrOutput ¶
func (o IoTHubFileUploadOutput) ToIoTHubFileUploadPtrOutput() IoTHubFileUploadPtrOutput
func (IoTHubFileUploadOutput) ToIoTHubFileUploadPtrOutputWithContext ¶
func (o IoTHubFileUploadOutput) ToIoTHubFileUploadPtrOutputWithContext(ctx context.Context) IoTHubFileUploadPtrOutput
type IoTHubFileUploadPtrInput ¶
type IoTHubFileUploadPtrInput interface { pulumi.Input ToIoTHubFileUploadPtrOutput() IoTHubFileUploadPtrOutput ToIoTHubFileUploadPtrOutputWithContext(context.Context) IoTHubFileUploadPtrOutput }
func IoTHubFileUploadPtr ¶
func IoTHubFileUploadPtr(v *IoTHubFileUploadArgs) IoTHubFileUploadPtrInput
type IoTHubFileUploadPtrOutput ¶
type IoTHubFileUploadPtrOutput struct{ *pulumi.OutputState }
func (IoTHubFileUploadPtrOutput) ConnectionString ¶
func (o IoTHubFileUploadPtrOutput) ConnectionString() pulumi.StringOutput
The connection string for the Azure Storage account to which files are uploaded.
func (IoTHubFileUploadPtrOutput) ContainerName ¶
func (o IoTHubFileUploadPtrOutput) ContainerName() pulumi.StringOutput
The name of the root container where you upload files. The container need not exist but should be creatable using the connectionString specified.
func (IoTHubFileUploadPtrOutput) DefaultTtl ¶
func (o IoTHubFileUploadPtrOutput) DefaultTtl() pulumi.StringPtrOutput
The period of time for which a file upload notification message is available to consume before it is expired by the IoT hub, specified as an [ISO 8601 timespan duration](https://en.wikipedia.org/wiki/ISO_8601#Durations). This value must be between 1 minute and 48 hours, and evaluates to 'PT1H' by default.
func (IoTHubFileUploadPtrOutput) Elem ¶
func (o IoTHubFileUploadPtrOutput) Elem() IoTHubFileUploadOutput
func (IoTHubFileUploadPtrOutput) ElementType ¶
func (IoTHubFileUploadPtrOutput) ElementType() reflect.Type
func (IoTHubFileUploadPtrOutput) LockDuration ¶
func (o IoTHubFileUploadPtrOutput) LockDuration() pulumi.StringPtrOutput
The lock duration for the file upload notifications queue, specified as an [ISO 8601 timespan duration](https://en.wikipedia.org/wiki/ISO_8601#Durations). This value must be between 5 and 300 seconds, and evaluates to 'PT1M' by default.
func (IoTHubFileUploadPtrOutput) MaxDeliveryCount ¶
func (o IoTHubFileUploadPtrOutput) MaxDeliveryCount() pulumi.IntPtrOutput
The number of times the IoT hub attempts to deliver a file upload notification message. It evaluates to 10 by default.
func (IoTHubFileUploadPtrOutput) Notifications ¶
func (o IoTHubFileUploadPtrOutput) Notifications() pulumi.BoolPtrOutput
Used to specify whether file notifications are sent to IoT Hub on upload. It evaluates to false by default.
func (IoTHubFileUploadPtrOutput) SasTtl ¶
func (o IoTHubFileUploadPtrOutput) SasTtl() pulumi.StringPtrOutput
The period of time for which the SAS URI generated by IoT Hub for file upload is valid, specified as an [ISO 8601 timespan duration](https://en.wikipedia.org/wiki/ISO_8601#Durations). This value must be between 1 minute and 24 hours, and evaluates to 'PT1H' by default.
func (IoTHubFileUploadPtrOutput) ToIoTHubFileUploadPtrOutput ¶
func (o IoTHubFileUploadPtrOutput) ToIoTHubFileUploadPtrOutput() IoTHubFileUploadPtrOutput
func (IoTHubFileUploadPtrOutput) ToIoTHubFileUploadPtrOutputWithContext ¶
func (o IoTHubFileUploadPtrOutput) ToIoTHubFileUploadPtrOutputWithContext(ctx context.Context) IoTHubFileUploadPtrOutput
type IoTHubIpFilterRule ¶
type IoTHubIpFilterRule struct { // The desired action for requests captured by this rule. Possible values are `Accept`, `Reject` Action string `pulumi:"action"` // The IP address range in CIDR notation for the rule. IpMask string `pulumi:"ipMask"` // The name of the filter. Name string `pulumi:"name"` }
type IoTHubIpFilterRuleArgs ¶
type IoTHubIpFilterRuleArgs struct { // The desired action for requests captured by this rule. Possible values are `Accept`, `Reject` Action pulumi.StringInput `pulumi:"action"` // The IP address range in CIDR notation for the rule. IpMask pulumi.StringInput `pulumi:"ipMask"` // The name of the filter. Name pulumi.StringInput `pulumi:"name"` }
func (IoTHubIpFilterRuleArgs) ElementType ¶
func (IoTHubIpFilterRuleArgs) ElementType() reflect.Type
func (IoTHubIpFilterRuleArgs) ToIoTHubIpFilterRuleOutput ¶
func (i IoTHubIpFilterRuleArgs) ToIoTHubIpFilterRuleOutput() IoTHubIpFilterRuleOutput
func (IoTHubIpFilterRuleArgs) ToIoTHubIpFilterRuleOutputWithContext ¶
func (i IoTHubIpFilterRuleArgs) ToIoTHubIpFilterRuleOutputWithContext(ctx context.Context) IoTHubIpFilterRuleOutput
type IoTHubIpFilterRuleArray ¶
type IoTHubIpFilterRuleArray []IoTHubIpFilterRuleInput
func (IoTHubIpFilterRuleArray) ElementType ¶
func (IoTHubIpFilterRuleArray) ElementType() reflect.Type
func (IoTHubIpFilterRuleArray) ToIoTHubIpFilterRuleArrayOutput ¶
func (i IoTHubIpFilterRuleArray) ToIoTHubIpFilterRuleArrayOutput() IoTHubIpFilterRuleArrayOutput
func (IoTHubIpFilterRuleArray) ToIoTHubIpFilterRuleArrayOutputWithContext ¶
func (i IoTHubIpFilterRuleArray) ToIoTHubIpFilterRuleArrayOutputWithContext(ctx context.Context) IoTHubIpFilterRuleArrayOutput
type IoTHubIpFilterRuleArrayInput ¶
type IoTHubIpFilterRuleArrayInput interface { pulumi.Input ToIoTHubIpFilterRuleArrayOutput() IoTHubIpFilterRuleArrayOutput ToIoTHubIpFilterRuleArrayOutputWithContext(context.Context) IoTHubIpFilterRuleArrayOutput }
type IoTHubIpFilterRuleArrayOutput ¶
type IoTHubIpFilterRuleArrayOutput struct{ *pulumi.OutputState }
func (IoTHubIpFilterRuleArrayOutput) ElementType ¶
func (IoTHubIpFilterRuleArrayOutput) ElementType() reflect.Type
func (IoTHubIpFilterRuleArrayOutput) Index ¶
func (o IoTHubIpFilterRuleArrayOutput) Index(i pulumi.IntInput) IoTHubIpFilterRuleOutput
func (IoTHubIpFilterRuleArrayOutput) ToIoTHubIpFilterRuleArrayOutput ¶
func (o IoTHubIpFilterRuleArrayOutput) ToIoTHubIpFilterRuleArrayOutput() IoTHubIpFilterRuleArrayOutput
func (IoTHubIpFilterRuleArrayOutput) ToIoTHubIpFilterRuleArrayOutputWithContext ¶
func (o IoTHubIpFilterRuleArrayOutput) ToIoTHubIpFilterRuleArrayOutputWithContext(ctx context.Context) IoTHubIpFilterRuleArrayOutput
type IoTHubIpFilterRuleInput ¶
type IoTHubIpFilterRuleInput interface { pulumi.Input ToIoTHubIpFilterRuleOutput() IoTHubIpFilterRuleOutput ToIoTHubIpFilterRuleOutputWithContext(context.Context) IoTHubIpFilterRuleOutput }
type IoTHubIpFilterRuleOutput ¶
type IoTHubIpFilterRuleOutput struct{ *pulumi.OutputState }
func (IoTHubIpFilterRuleOutput) Action ¶
func (o IoTHubIpFilterRuleOutput) Action() pulumi.StringOutput
The desired action for requests captured by this rule. Possible values are `Accept`, `Reject`
func (IoTHubIpFilterRuleOutput) ElementType ¶
func (IoTHubIpFilterRuleOutput) ElementType() reflect.Type
func (IoTHubIpFilterRuleOutput) IpMask ¶
func (o IoTHubIpFilterRuleOutput) IpMask() pulumi.StringOutput
The IP address range in CIDR notation for the rule.
func (IoTHubIpFilterRuleOutput) Name ¶
func (o IoTHubIpFilterRuleOutput) Name() pulumi.StringOutput
The name of the filter.
func (IoTHubIpFilterRuleOutput) ToIoTHubIpFilterRuleOutput ¶
func (o IoTHubIpFilterRuleOutput) ToIoTHubIpFilterRuleOutput() IoTHubIpFilterRuleOutput
func (IoTHubIpFilterRuleOutput) ToIoTHubIpFilterRuleOutputWithContext ¶
func (o IoTHubIpFilterRuleOutput) ToIoTHubIpFilterRuleOutputWithContext(ctx context.Context) IoTHubIpFilterRuleOutput
type IoTHubRoute ¶
type IoTHubRoute 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 *string `pulumi:"condition"` // Used to specify whether a route is enabled. Enabled bool `pulumi:"enabled"` // The list of endpoints to which messages that satisfy the condition are routed. EndpointNames []string `pulumi:"endpointNames"` // The name of the route. Name string `pulumi:"name"` // The source that the routing rule is to be applied to, such as `DeviceMessages`. Possible values include: `RoutingSourceInvalid`, `RoutingSourceDeviceMessages`, `RoutingSourceTwinChangeEvents`, `RoutingSourceDeviceLifecycleEvents`, `RoutingSourceDeviceJobLifecycleEvents`. Source string `pulumi:"source"` }
type IoTHubRouteArgs ¶
type IoTHubRouteArgs 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 `pulumi:"condition"` // Used to specify whether a route is enabled. Enabled pulumi.BoolInput `pulumi:"enabled"` // The list of endpoints to which messages that satisfy the condition are routed. EndpointNames pulumi.StringArrayInput `pulumi:"endpointNames"` // The name of the route. Name pulumi.StringInput `pulumi:"name"` // The source that the routing rule is to be applied to, such as `DeviceMessages`. Possible values include: `RoutingSourceInvalid`, `RoutingSourceDeviceMessages`, `RoutingSourceTwinChangeEvents`, `RoutingSourceDeviceLifecycleEvents`, `RoutingSourceDeviceJobLifecycleEvents`. Source pulumi.StringInput `pulumi:"source"` }
func (IoTHubRouteArgs) ElementType ¶
func (IoTHubRouteArgs) ElementType() reflect.Type
func (IoTHubRouteArgs) ToIoTHubRouteOutput ¶
func (i IoTHubRouteArgs) ToIoTHubRouteOutput() IoTHubRouteOutput
func (IoTHubRouteArgs) ToIoTHubRouteOutputWithContext ¶
func (i IoTHubRouteArgs) ToIoTHubRouteOutputWithContext(ctx context.Context) IoTHubRouteOutput
type IoTHubRouteArray ¶
type IoTHubRouteArray []IoTHubRouteInput
func (IoTHubRouteArray) ElementType ¶
func (IoTHubRouteArray) ElementType() reflect.Type
func (IoTHubRouteArray) ToIoTHubRouteArrayOutput ¶
func (i IoTHubRouteArray) ToIoTHubRouteArrayOutput() IoTHubRouteArrayOutput
func (IoTHubRouteArray) ToIoTHubRouteArrayOutputWithContext ¶
func (i IoTHubRouteArray) ToIoTHubRouteArrayOutputWithContext(ctx context.Context) IoTHubRouteArrayOutput
type IoTHubRouteArrayInput ¶
type IoTHubRouteArrayInput interface { pulumi.Input ToIoTHubRouteArrayOutput() IoTHubRouteArrayOutput ToIoTHubRouteArrayOutputWithContext(context.Context) IoTHubRouteArrayOutput }
type IoTHubRouteArrayOutput ¶
type IoTHubRouteArrayOutput struct{ *pulumi.OutputState }
func (IoTHubRouteArrayOutput) ElementType ¶
func (IoTHubRouteArrayOutput) ElementType() reflect.Type
func (IoTHubRouteArrayOutput) Index ¶
func (o IoTHubRouteArrayOutput) Index(i pulumi.IntInput) IoTHubRouteOutput
func (IoTHubRouteArrayOutput) ToIoTHubRouteArrayOutput ¶
func (o IoTHubRouteArrayOutput) ToIoTHubRouteArrayOutput() IoTHubRouteArrayOutput
func (IoTHubRouteArrayOutput) ToIoTHubRouteArrayOutputWithContext ¶
func (o IoTHubRouteArrayOutput) ToIoTHubRouteArrayOutputWithContext(ctx context.Context) IoTHubRouteArrayOutput
type IoTHubRouteInput ¶
type IoTHubRouteInput interface { pulumi.Input ToIoTHubRouteOutput() IoTHubRouteOutput ToIoTHubRouteOutputWithContext(context.Context) IoTHubRouteOutput }
type IoTHubRouteOutput ¶
type IoTHubRouteOutput struct{ *pulumi.OutputState }
func (IoTHubRouteOutput) Condition ¶
func (o IoTHubRouteOutput) Condition() pulumi.StringPtrOutput
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.
func (IoTHubRouteOutput) ElementType ¶
func (IoTHubRouteOutput) ElementType() reflect.Type
func (IoTHubRouteOutput) Enabled ¶
func (o IoTHubRouteOutput) Enabled() pulumi.BoolOutput
Used to specify whether a route is enabled.
func (IoTHubRouteOutput) EndpointNames ¶
func (o IoTHubRouteOutput) EndpointNames() pulumi.StringArrayOutput
The list of endpoints to which messages that satisfy the condition are routed.
func (IoTHubRouteOutput) Name ¶
func (o IoTHubRouteOutput) Name() pulumi.StringOutput
The name of the route.
func (IoTHubRouteOutput) Source ¶
func (o IoTHubRouteOutput) Source() pulumi.StringOutput
The source that the routing rule is to be applied to, such as `DeviceMessages`. Possible values include: `RoutingSourceInvalid`, `RoutingSourceDeviceMessages`, `RoutingSourceTwinChangeEvents`, `RoutingSourceDeviceLifecycleEvents`, `RoutingSourceDeviceJobLifecycleEvents`.
func (IoTHubRouteOutput) ToIoTHubRouteOutput ¶
func (o IoTHubRouteOutput) ToIoTHubRouteOutput() IoTHubRouteOutput
func (IoTHubRouteOutput) ToIoTHubRouteOutputWithContext ¶
func (o IoTHubRouteOutput) ToIoTHubRouteOutputWithContext(ctx context.Context) IoTHubRouteOutput
type IoTHubSharedAccessPolicyArgs ¶
type IoTHubSharedAccessPolicyArgs struct { pulumi.StringPtrInput `pulumi:"keyName"` Permissions pulumi.StringPtrInput `pulumi:"permissions"` PrimaryKey pulumi.StringPtrInput `pulumi:"primaryKey"` SecondaryKey pulumi.StringPtrInput `pulumi:"secondaryKey"` }KeyName
func (IoTHubSharedAccessPolicyArgs) ElementType ¶
func (IoTHubSharedAccessPolicyArgs) ElementType() reflect.Type
func (IoTHubSharedAccessPolicyArgs) ToIoTHubSharedAccessPolicyOutput ¶
func (i IoTHubSharedAccessPolicyArgs) ToIoTHubSharedAccessPolicyOutput() IoTHubSharedAccessPolicyOutput
func (IoTHubSharedAccessPolicyArgs) ToIoTHubSharedAccessPolicyOutputWithContext ¶
func (i IoTHubSharedAccessPolicyArgs) ToIoTHubSharedAccessPolicyOutputWithContext(ctx context.Context) IoTHubSharedAccessPolicyOutput
type IoTHubSharedAccessPolicyArray ¶
type IoTHubSharedAccessPolicyArray []IoTHubSharedAccessPolicyInput
func (IoTHubSharedAccessPolicyArray) ElementType ¶
func (IoTHubSharedAccessPolicyArray) ElementType() reflect.Type
func (IoTHubSharedAccessPolicyArray) ToIoTHubSharedAccessPolicyArrayOutput ¶
func (i IoTHubSharedAccessPolicyArray) ToIoTHubSharedAccessPolicyArrayOutput() IoTHubSharedAccessPolicyArrayOutput
func (IoTHubSharedAccessPolicyArray) ToIoTHubSharedAccessPolicyArrayOutputWithContext ¶
func (i IoTHubSharedAccessPolicyArray) ToIoTHubSharedAccessPolicyArrayOutputWithContext(ctx context.Context) IoTHubSharedAccessPolicyArrayOutput
type IoTHubSharedAccessPolicyArrayOutput ¶
func (IoTHubSharedAccessPolicyArrayOutput) ElementType ¶
func (IoTHubSharedAccessPolicyArrayOutput) ElementType() reflect.Type
func (IoTHubSharedAccessPolicyArrayOutput) Index ¶
func (o IoTHubSharedAccessPolicyArrayOutput) Index(i pulumi.IntInput) IoTHubSharedAccessPolicyOutput
func (IoTHubSharedAccessPolicyArrayOutput) ToIoTHubSharedAccessPolicyArrayOutput ¶
func (o IoTHubSharedAccessPolicyArrayOutput) ToIoTHubSharedAccessPolicyArrayOutput() IoTHubSharedAccessPolicyArrayOutput
func (IoTHubSharedAccessPolicyArrayOutput) ToIoTHubSharedAccessPolicyArrayOutputWithContext ¶
func (o IoTHubSharedAccessPolicyArrayOutput) ToIoTHubSharedAccessPolicyArrayOutputWithContext(ctx context.Context) IoTHubSharedAccessPolicyArrayOutput
type IoTHubSharedAccessPolicyOutput ¶
func (IoTHubSharedAccessPolicyOutput) ElementType ¶
func (IoTHubSharedAccessPolicyOutput) ElementType() reflect.Type
func (IoTHubSharedAccessPolicyOutput) KeyName ¶
func (o IoTHubSharedAccessPolicyOutput) KeyName() pulumi.StringPtrOutput
The name of the shared access policy.
func (IoTHubSharedAccessPolicyOutput) Permissions ¶
func (o IoTHubSharedAccessPolicyOutput) Permissions() pulumi.StringPtrOutput
The permissions assigned to the shared access policy.
func (IoTHubSharedAccessPolicyOutput) PrimaryKey ¶
func (o IoTHubSharedAccessPolicyOutput) PrimaryKey() pulumi.StringPtrOutput
The primary key.
func (IoTHubSharedAccessPolicyOutput) SecondaryKey ¶
func (o IoTHubSharedAccessPolicyOutput) SecondaryKey() pulumi.StringPtrOutput
The secondary key.
func (IoTHubSharedAccessPolicyOutput) ToIoTHubSharedAccessPolicyOutput ¶
func (o IoTHubSharedAccessPolicyOutput) ToIoTHubSharedAccessPolicyOutput() IoTHubSharedAccessPolicyOutput
func (IoTHubSharedAccessPolicyOutput) ToIoTHubSharedAccessPolicyOutputWithContext ¶
func (o IoTHubSharedAccessPolicyOutput) ToIoTHubSharedAccessPolicyOutputWithContext(ctx context.Context) IoTHubSharedAccessPolicyOutput
type IoTHubSkuArgs ¶
type IoTHubSkuArgs struct { // The number of provisioned IoT Hub units. Capacity pulumi.IntInput `pulumi:"capacity"` // The name of the sku. Possible values are `B1`, `B2`, `B3`, `F1`, `S1`, `S2`, and `S3`. Name pulumi.StringInput `pulumi:"name"` }
func (IoTHubSkuArgs) ElementType ¶
func (IoTHubSkuArgs) ElementType() reflect.Type
func (IoTHubSkuArgs) ToIoTHubSkuOutput ¶
func (i IoTHubSkuArgs) ToIoTHubSkuOutput() IoTHubSkuOutput
func (IoTHubSkuArgs) ToIoTHubSkuOutputWithContext ¶
func (i IoTHubSkuArgs) ToIoTHubSkuOutputWithContext(ctx context.Context) IoTHubSkuOutput
func (IoTHubSkuArgs) ToIoTHubSkuPtrOutput ¶
func (i IoTHubSkuArgs) ToIoTHubSkuPtrOutput() IoTHubSkuPtrOutput
func (IoTHubSkuArgs) ToIoTHubSkuPtrOutputWithContext ¶
func (i IoTHubSkuArgs) ToIoTHubSkuPtrOutputWithContext(ctx context.Context) IoTHubSkuPtrOutput
type IoTHubSkuInput ¶
type IoTHubSkuInput interface { pulumi.Input ToIoTHubSkuOutput() IoTHubSkuOutput ToIoTHubSkuOutputWithContext(context.Context) IoTHubSkuOutput }
type IoTHubSkuOutput ¶
type IoTHubSkuOutput struct{ *pulumi.OutputState }
func (IoTHubSkuOutput) Capacity ¶
func (o IoTHubSkuOutput) Capacity() pulumi.IntOutput
The number of provisioned IoT Hub units.
func (IoTHubSkuOutput) ElementType ¶
func (IoTHubSkuOutput) ElementType() reflect.Type
func (IoTHubSkuOutput) Name ¶
func (o IoTHubSkuOutput) Name() pulumi.StringOutput
The name of the sku. Possible values are `B1`, `B2`, `B3`, `F1`, `S1`, `S2`, and `S3`.
func (IoTHubSkuOutput) ToIoTHubSkuOutput ¶
func (o IoTHubSkuOutput) ToIoTHubSkuOutput() IoTHubSkuOutput
func (IoTHubSkuOutput) ToIoTHubSkuOutputWithContext ¶
func (o IoTHubSkuOutput) ToIoTHubSkuOutputWithContext(ctx context.Context) IoTHubSkuOutput
func (IoTHubSkuOutput) ToIoTHubSkuPtrOutput ¶
func (o IoTHubSkuOutput) ToIoTHubSkuPtrOutput() IoTHubSkuPtrOutput
func (IoTHubSkuOutput) ToIoTHubSkuPtrOutputWithContext ¶
func (o IoTHubSkuOutput) ToIoTHubSkuPtrOutputWithContext(ctx context.Context) IoTHubSkuPtrOutput
type IoTHubSkuPtrInput ¶
type IoTHubSkuPtrInput interface { pulumi.Input ToIoTHubSkuPtrOutput() IoTHubSkuPtrOutput ToIoTHubSkuPtrOutputWithContext(context.Context) IoTHubSkuPtrOutput }
func IoTHubSkuPtr ¶
func IoTHubSkuPtr(v *IoTHubSkuArgs) IoTHubSkuPtrInput
type IoTHubSkuPtrOutput ¶
type IoTHubSkuPtrOutput struct{ *pulumi.OutputState }
func (IoTHubSkuPtrOutput) Capacity ¶
func (o IoTHubSkuPtrOutput) Capacity() pulumi.IntOutput
The number of provisioned IoT Hub units.
func (IoTHubSkuPtrOutput) Elem ¶
func (o IoTHubSkuPtrOutput) Elem() IoTHubSkuOutput
func (IoTHubSkuPtrOutput) ElementType ¶
func (IoTHubSkuPtrOutput) ElementType() reflect.Type
func (IoTHubSkuPtrOutput) Name ¶
func (o IoTHubSkuPtrOutput) Name() pulumi.StringOutput
The name of the sku. Possible values are `B1`, `B2`, `B3`, `F1`, `S1`, `S2`, and `S3`.
func (IoTHubSkuPtrOutput) ToIoTHubSkuPtrOutput ¶
func (o IoTHubSkuPtrOutput) ToIoTHubSkuPtrOutput() IoTHubSkuPtrOutput
func (IoTHubSkuPtrOutput) ToIoTHubSkuPtrOutputWithContext ¶
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 SharedAccessPolicies IoTHubSharedAccessPolicyArrayInput // A `sku` block as defined below. Sku IoTHubSkuPtrInput // A mapping of tags to assign to the resource. Tags pulumi.StringMapInput // The type of the endpoint. Possible values are `AzureIotHub.StorageContainer`, `AzureIotHub.ServiceBusQueue`, `AzureIotHub.ServiceBusTopic` or `AzureIotHub.EventHub`. Type pulumi.StringPtrInput }
func (IoTHubState) ElementType ¶
func (IoTHubState) ElementType() reflect.Type
type IotHubCertificate ¶
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 ¶
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 ¶
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 ¶
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 ¶
func (IotHubCertificateArgs) ElementType() reflect.Type
type IotHubCertificateState ¶
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 ¶
func (IotHubCertificateState) ElementType() reflect.Type
type IotHubDps ¶
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 ¶
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 ¶
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 ¶
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 ¶
func (IotHubDpsArgs) ElementType() reflect.Type
type IotHubDpsLinkedHub ¶
type IotHubDpsLinkedHub struct { // The weight applied to the IoT Hub. Defaults to 0. AllocationWeight *int `pulumi:"allocationWeight"` // Determines whether to apply allocation policies to the IoT Hub. Defaults to false. ApplyAllocationPolicy *bool `pulumi:"applyAllocationPolicy"` // The connection string to connect to the IoT Hub. Changing this forces a new resource. ConnectionString string `pulumi:"connectionString"` // The IoT Hub hostname. Hostname *string `pulumi:"hostname"` // The location of the IoT hub. Changing this forces a new resource. Location string `pulumi:"location"` }
type IotHubDpsLinkedHubArgs ¶
type IotHubDpsLinkedHubArgs struct { // The weight applied to the IoT Hub. Defaults to 0. AllocationWeight pulumi.IntPtrInput `pulumi:"allocationWeight"` // Determines whether to apply allocation policies to the IoT Hub. Defaults to false. ApplyAllocationPolicy pulumi.BoolPtrInput `pulumi:"applyAllocationPolicy"` // The connection string to connect to the IoT Hub. Changing this forces a new resource. ConnectionString pulumi.StringInput `pulumi:"connectionString"` // The IoT Hub hostname. Hostname pulumi.StringPtrInput `pulumi:"hostname"` // The location of the IoT hub. Changing this forces a new resource. Location pulumi.StringInput `pulumi:"location"` }
func (IotHubDpsLinkedHubArgs) ElementType ¶
func (IotHubDpsLinkedHubArgs) ElementType() reflect.Type
func (IotHubDpsLinkedHubArgs) ToIotHubDpsLinkedHubOutput ¶
func (i IotHubDpsLinkedHubArgs) ToIotHubDpsLinkedHubOutput() IotHubDpsLinkedHubOutput
func (IotHubDpsLinkedHubArgs) ToIotHubDpsLinkedHubOutputWithContext ¶
func (i IotHubDpsLinkedHubArgs) ToIotHubDpsLinkedHubOutputWithContext(ctx context.Context) IotHubDpsLinkedHubOutput
type IotHubDpsLinkedHubArray ¶
type IotHubDpsLinkedHubArray []IotHubDpsLinkedHubInput
func (IotHubDpsLinkedHubArray) ElementType ¶
func (IotHubDpsLinkedHubArray) ElementType() reflect.Type
func (IotHubDpsLinkedHubArray) ToIotHubDpsLinkedHubArrayOutput ¶
func (i IotHubDpsLinkedHubArray) ToIotHubDpsLinkedHubArrayOutput() IotHubDpsLinkedHubArrayOutput
func (IotHubDpsLinkedHubArray) ToIotHubDpsLinkedHubArrayOutputWithContext ¶
func (i IotHubDpsLinkedHubArray) ToIotHubDpsLinkedHubArrayOutputWithContext(ctx context.Context) IotHubDpsLinkedHubArrayOutput
type IotHubDpsLinkedHubArrayInput ¶
type IotHubDpsLinkedHubArrayInput interface { pulumi.Input ToIotHubDpsLinkedHubArrayOutput() IotHubDpsLinkedHubArrayOutput ToIotHubDpsLinkedHubArrayOutputWithContext(context.Context) IotHubDpsLinkedHubArrayOutput }
type IotHubDpsLinkedHubArrayOutput ¶
type IotHubDpsLinkedHubArrayOutput struct{ *pulumi.OutputState }
func (IotHubDpsLinkedHubArrayOutput) ElementType ¶
func (IotHubDpsLinkedHubArrayOutput) ElementType() reflect.Type
func (IotHubDpsLinkedHubArrayOutput) Index ¶
func (o IotHubDpsLinkedHubArrayOutput) Index(i pulumi.IntInput) IotHubDpsLinkedHubOutput
func (IotHubDpsLinkedHubArrayOutput) ToIotHubDpsLinkedHubArrayOutput ¶
func (o IotHubDpsLinkedHubArrayOutput) ToIotHubDpsLinkedHubArrayOutput() IotHubDpsLinkedHubArrayOutput
func (IotHubDpsLinkedHubArrayOutput) ToIotHubDpsLinkedHubArrayOutputWithContext ¶
func (o IotHubDpsLinkedHubArrayOutput) ToIotHubDpsLinkedHubArrayOutputWithContext(ctx context.Context) IotHubDpsLinkedHubArrayOutput
type IotHubDpsLinkedHubInput ¶
type IotHubDpsLinkedHubInput interface { pulumi.Input ToIotHubDpsLinkedHubOutput() IotHubDpsLinkedHubOutput ToIotHubDpsLinkedHubOutputWithContext(context.Context) IotHubDpsLinkedHubOutput }
type IotHubDpsLinkedHubOutput ¶
type IotHubDpsLinkedHubOutput struct{ *pulumi.OutputState }
func (IotHubDpsLinkedHubOutput) AllocationWeight ¶
func (o IotHubDpsLinkedHubOutput) AllocationWeight() pulumi.IntPtrOutput
The weight applied to the IoT Hub. Defaults to 0.
func (IotHubDpsLinkedHubOutput) ApplyAllocationPolicy ¶
func (o IotHubDpsLinkedHubOutput) ApplyAllocationPolicy() pulumi.BoolPtrOutput
Determines whether to apply allocation policies to the IoT Hub. Defaults to false.
func (IotHubDpsLinkedHubOutput) ConnectionString ¶
func (o IotHubDpsLinkedHubOutput) ConnectionString() pulumi.StringOutput
The connection string to connect to the IoT Hub. Changing this forces a new resource.
func (IotHubDpsLinkedHubOutput) ElementType ¶
func (IotHubDpsLinkedHubOutput) ElementType() reflect.Type
func (IotHubDpsLinkedHubOutput) Hostname ¶
func (o IotHubDpsLinkedHubOutput) Hostname() pulumi.StringPtrOutput
The IoT Hub hostname.
func (IotHubDpsLinkedHubOutput) Location ¶
func (o IotHubDpsLinkedHubOutput) Location() pulumi.StringOutput
The location of the IoT hub. Changing this forces a new resource.
func (IotHubDpsLinkedHubOutput) ToIotHubDpsLinkedHubOutput ¶
func (o IotHubDpsLinkedHubOutput) ToIotHubDpsLinkedHubOutput() IotHubDpsLinkedHubOutput
func (IotHubDpsLinkedHubOutput) ToIotHubDpsLinkedHubOutputWithContext ¶
func (o IotHubDpsLinkedHubOutput) ToIotHubDpsLinkedHubOutputWithContext(ctx context.Context) IotHubDpsLinkedHubOutput
type IotHubDpsSku ¶
type IotHubDpsSkuArgs ¶
type IotHubDpsSkuArgs struct { // The number of provisioned IoT Device Provisioning Service units. Capacity pulumi.IntInput `pulumi:"capacity"` // The name of the sku. Possible values are `B1`, `B2`, `B3`, `F1`, `S1`, `S2`, and `S3`. Name pulumi.StringInput `pulumi:"name"` }
func (IotHubDpsSkuArgs) ElementType ¶
func (IotHubDpsSkuArgs) ElementType() reflect.Type
func (IotHubDpsSkuArgs) ToIotHubDpsSkuOutput ¶
func (i IotHubDpsSkuArgs) ToIotHubDpsSkuOutput() IotHubDpsSkuOutput
func (IotHubDpsSkuArgs) ToIotHubDpsSkuOutputWithContext ¶
func (i IotHubDpsSkuArgs) ToIotHubDpsSkuOutputWithContext(ctx context.Context) IotHubDpsSkuOutput
func (IotHubDpsSkuArgs) ToIotHubDpsSkuPtrOutput ¶
func (i IotHubDpsSkuArgs) ToIotHubDpsSkuPtrOutput() IotHubDpsSkuPtrOutput
func (IotHubDpsSkuArgs) ToIotHubDpsSkuPtrOutputWithContext ¶
func (i IotHubDpsSkuArgs) ToIotHubDpsSkuPtrOutputWithContext(ctx context.Context) IotHubDpsSkuPtrOutput
type IotHubDpsSkuInput ¶
type IotHubDpsSkuInput interface { pulumi.Input ToIotHubDpsSkuOutput() IotHubDpsSkuOutput ToIotHubDpsSkuOutputWithContext(context.Context) IotHubDpsSkuOutput }
type IotHubDpsSkuOutput ¶
type IotHubDpsSkuOutput struct{ *pulumi.OutputState }
func (IotHubDpsSkuOutput) Capacity ¶
func (o IotHubDpsSkuOutput) Capacity() pulumi.IntOutput
The number of provisioned IoT Device Provisioning Service units.
func (IotHubDpsSkuOutput) ElementType ¶
func (IotHubDpsSkuOutput) ElementType() reflect.Type
func (IotHubDpsSkuOutput) Name ¶
func (o IotHubDpsSkuOutput) Name() pulumi.StringOutput
The name of the sku. Possible values are `B1`, `B2`, `B3`, `F1`, `S1`, `S2`, and `S3`.
func (IotHubDpsSkuOutput) ToIotHubDpsSkuOutput ¶
func (o IotHubDpsSkuOutput) ToIotHubDpsSkuOutput() IotHubDpsSkuOutput
func (IotHubDpsSkuOutput) ToIotHubDpsSkuOutputWithContext ¶
func (o IotHubDpsSkuOutput) ToIotHubDpsSkuOutputWithContext(ctx context.Context) IotHubDpsSkuOutput
func (IotHubDpsSkuOutput) ToIotHubDpsSkuPtrOutput ¶
func (o IotHubDpsSkuOutput) ToIotHubDpsSkuPtrOutput() IotHubDpsSkuPtrOutput
func (IotHubDpsSkuOutput) ToIotHubDpsSkuPtrOutputWithContext ¶
func (o IotHubDpsSkuOutput) ToIotHubDpsSkuPtrOutputWithContext(ctx context.Context) IotHubDpsSkuPtrOutput
type IotHubDpsSkuPtrInput ¶
type IotHubDpsSkuPtrInput interface { pulumi.Input ToIotHubDpsSkuPtrOutput() IotHubDpsSkuPtrOutput ToIotHubDpsSkuPtrOutputWithContext(context.Context) IotHubDpsSkuPtrOutput }
func IotHubDpsSkuPtr ¶
func IotHubDpsSkuPtr(v *IotHubDpsSkuArgs) IotHubDpsSkuPtrInput
type IotHubDpsSkuPtrOutput ¶
type IotHubDpsSkuPtrOutput struct{ *pulumi.OutputState }
func (IotHubDpsSkuPtrOutput) Capacity ¶
func (o IotHubDpsSkuPtrOutput) Capacity() pulumi.IntOutput
The number of provisioned IoT Device Provisioning Service units.
func (IotHubDpsSkuPtrOutput) Elem ¶
func (o IotHubDpsSkuPtrOutput) Elem() IotHubDpsSkuOutput
func (IotHubDpsSkuPtrOutput) ElementType ¶
func (IotHubDpsSkuPtrOutput) ElementType() reflect.Type
func (IotHubDpsSkuPtrOutput) Name ¶
func (o IotHubDpsSkuPtrOutput) Name() pulumi.StringOutput
The name of the sku. Possible values are `B1`, `B2`, `B3`, `F1`, `S1`, `S2`, and `S3`.
func (IotHubDpsSkuPtrOutput) ToIotHubDpsSkuPtrOutput ¶
func (o IotHubDpsSkuPtrOutput) ToIotHubDpsSkuPtrOutput() IotHubDpsSkuPtrOutput
func (IotHubDpsSkuPtrOutput) ToIotHubDpsSkuPtrOutputWithContext ¶
func (o IotHubDpsSkuPtrOutput) ToIotHubDpsSkuPtrOutputWithContext(ctx context.Context) IotHubDpsSkuPtrOutput
type IotHubDpsState ¶
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 ¶
func (IotHubDpsState) ElementType() reflect.Type
type LookupDpsSharedAccessPolicyArgs ¶
type LookupDpsSharedAccessPolicyArgs struct { string `pulumi:"iothubDpsName"` Name string `pulumi:"name"` ResourceGroupName string `pulumi:"resourceGroupName"` }IothubDpsName
A collection of arguments for invoking getDpsSharedAccessPolicy.
type LookupDpsSharedAccessPolicyResult ¶
type LookupDpsSharedAccessPolicyResult struct { // id is the provider-assigned unique ID for this managed resource. PrimaryConnectionString string `pulumi:"primaryConnectionString"` // The primary key used to create the authentication token. SecondaryConnectionString string `pulumi:"secondaryConnectionString"` SecondaryKey string `pulumi:"secondaryKey"` }
A collection of values returned by getDpsSharedAccessPolicy.
func LookupDpsSharedAccessPolicy ¶
func LookupDpsSharedAccessPolicy(ctx *pulumi.Context, args *LookupDpsSharedAccessPolicyArgs, opts ...pulumi.InvokeOption) (*LookupDpsSharedAccessPolicyResult, error)
Use this data source to access information about an existing IotHub Device Provisioning Service Shared Access Policy
> This content is derived from https://github.com/terraform-providers/terraform-provider-azurerm/blob/master/website/docs/d/iothub_dps_shared_access_policy.html.markdown.
type LookupSharedAccessPolicyArgs ¶
type LookupSharedAccessPolicyArgs struct { string `pulumi:"iothubName"` Name string `pulumi:"name"` ResourceGroupName string `pulumi:"resourceGroupName"` }IothubName
A collection of arguments for invoking getSharedAccessPolicy.
type LookupSharedAccessPolicyResult ¶
type LookupSharedAccessPolicyResult struct { // id is the provider-assigned unique ID for this managed resource. PrimaryConnectionString string `pulumi:"primaryConnectionString"` // The primary key used to create the authentication token. SecondaryConnectionString string `pulumi:"secondaryConnectionString"` SecondaryKey string `pulumi:"secondaryKey"` }
A collection of values returned by getSharedAccessPolicy.
func LookupSharedAccessPolicy ¶
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 ¶
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 ¶
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).
type RouteArgs ¶
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 ¶
type RouteState ¶
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 ¶
func (RouteState) ElementType() reflect.Type
type SharedAccessPolicy ¶
type SharedAccessPolicy struct { pulumi.BoolPtrOutput `pulumi:"deviceConnect"` IothubName pulumi.StringOutput `pulumi:"iothubName"` Name pulumi.StringOutput `pulumi:"name"` PrimaryConnectionString pulumi.StringOutput `pulumi:"primaryConnectionString"` PrimaryKey pulumi.StringOutput `pulumi:"primaryKey"` RegistryRead pulumi.BoolPtrOutput `pulumi:"registryRead"` RegistryWrite pulumi.BoolPtrOutput `pulumi:"registryWrite"` ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"` SecondaryConnectionString pulumi.StringOutput `pulumi:"secondaryConnectionString"` SecondaryKey pulumi.StringOutput `pulumi:"secondaryKey"` ServiceConnect pulumi.BoolPtrOutput `pulumi:"serviceConnect"` }DeviceConnect
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 ¶
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 ¶
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 ¶
type SharedAccessPolicyArgs struct { pulumi.BoolPtrInput IothubName pulumi.StringInput Name pulumi.StringPtrInput RegistryRead pulumi.BoolPtrInput RegistryWrite pulumi.BoolPtrInput ResourceGroupName pulumi.StringInput ServiceConnect pulumi.BoolPtrInput }DeviceConnect
The set of arguments for constructing a SharedAccessPolicy resource.
func (SharedAccessPolicyArgs) ElementType ¶
func (SharedAccessPolicyArgs) ElementType() reflect.Type
type SharedAccessPolicyState ¶
type SharedAccessPolicyState struct { pulumi.BoolPtrInput IothubName pulumi.StringPtrInput Name pulumi.StringPtrInput PrimaryConnectionString pulumi.StringPtrInput PrimaryKey pulumi.StringPtrInput RegistryRead pulumi.BoolPtrInput RegistryWrite pulumi.BoolPtrInput ResourceGroupName pulumi.StringPtrInput SecondaryConnectionString pulumi.StringPtrInput SecondaryKey pulumi.StringPtrInput ServiceConnect pulumi.BoolPtrInput }DeviceConnect
func (SharedAccessPolicyState) ElementType ¶
func (SharedAccessPolicyState) ElementType() reflect.Type
Source Files ¶
- consumerGroup.go
- dpsSharedAccessPolicy.go
- endpointEventhub.go
- endpointServicebusQueue.go
- endpointServicebusTopic.go
- endpointStorageContainer.go
- fallbackRoute.go
- getDps.go
- getDpsSharedAccessPolicy.go
- getSharedAccessPolicy.go
- ioTHub.go
- iotHubCertificate.go
- iotHubDps.go
- pulumiTypes.go
- route.go
- sharedAccessPolicy.go