Documentation ¶
Index ¶
- type ConsumerGroup
- func (*ConsumerGroup) ElementType() reflect.Type
- func (i *ConsumerGroup) ToConsumerGroupOutput() ConsumerGroupOutput
- func (i *ConsumerGroup) ToConsumerGroupOutputWithContext(ctx context.Context) ConsumerGroupOutput
- func (i *ConsumerGroup) ToConsumerGroupPtrOutput() ConsumerGroupPtrOutput
- func (i *ConsumerGroup) ToConsumerGroupPtrOutputWithContext(ctx context.Context) ConsumerGroupPtrOutput
- type ConsumerGroupArgs
- type ConsumerGroupArray
- type ConsumerGroupArrayInput
- type ConsumerGroupArrayOutput
- func (ConsumerGroupArrayOutput) ElementType() reflect.Type
- func (o ConsumerGroupArrayOutput) Index(i pulumi.IntInput) ConsumerGroupOutput
- func (o ConsumerGroupArrayOutput) ToConsumerGroupArrayOutput() ConsumerGroupArrayOutput
- func (o ConsumerGroupArrayOutput) ToConsumerGroupArrayOutputWithContext(ctx context.Context) ConsumerGroupArrayOutput
- type ConsumerGroupInput
- type ConsumerGroupMap
- type ConsumerGroupMapInput
- type ConsumerGroupMapOutput
- func (ConsumerGroupMapOutput) ElementType() reflect.Type
- func (o ConsumerGroupMapOutput) MapIndex(k pulumi.StringInput) ConsumerGroupOutput
- func (o ConsumerGroupMapOutput) ToConsumerGroupMapOutput() ConsumerGroupMapOutput
- func (o ConsumerGroupMapOutput) ToConsumerGroupMapOutputWithContext(ctx context.Context) ConsumerGroupMapOutput
- type ConsumerGroupOutput
- func (ConsumerGroupOutput) ElementType() reflect.Type
- func (o ConsumerGroupOutput) ToConsumerGroupOutput() ConsumerGroupOutput
- func (o ConsumerGroupOutput) ToConsumerGroupOutputWithContext(ctx context.Context) ConsumerGroupOutput
- func (o ConsumerGroupOutput) ToConsumerGroupPtrOutput() ConsumerGroupPtrOutput
- func (o ConsumerGroupOutput) ToConsumerGroupPtrOutputWithContext(ctx context.Context) ConsumerGroupPtrOutput
- type ConsumerGroupPtrInput
- type ConsumerGroupPtrOutput
- type ConsumerGroupState
- type DpsSharedAccessPolicy
- func (*DpsSharedAccessPolicy) ElementType() reflect.Type
- func (i *DpsSharedAccessPolicy) ToDpsSharedAccessPolicyOutput() DpsSharedAccessPolicyOutput
- func (i *DpsSharedAccessPolicy) ToDpsSharedAccessPolicyOutputWithContext(ctx context.Context) DpsSharedAccessPolicyOutput
- func (i *DpsSharedAccessPolicy) ToDpsSharedAccessPolicyPtrOutput() DpsSharedAccessPolicyPtrOutput
- func (i *DpsSharedAccessPolicy) ToDpsSharedAccessPolicyPtrOutputWithContext(ctx context.Context) DpsSharedAccessPolicyPtrOutput
- type DpsSharedAccessPolicyArgs
- type DpsSharedAccessPolicyArray
- func (DpsSharedAccessPolicyArray) ElementType() reflect.Type
- func (i DpsSharedAccessPolicyArray) ToDpsSharedAccessPolicyArrayOutput() DpsSharedAccessPolicyArrayOutput
- func (i DpsSharedAccessPolicyArray) ToDpsSharedAccessPolicyArrayOutputWithContext(ctx context.Context) DpsSharedAccessPolicyArrayOutput
- type DpsSharedAccessPolicyArrayInput
- type DpsSharedAccessPolicyArrayOutput
- func (DpsSharedAccessPolicyArrayOutput) ElementType() reflect.Type
- func (o DpsSharedAccessPolicyArrayOutput) Index(i pulumi.IntInput) DpsSharedAccessPolicyOutput
- func (o DpsSharedAccessPolicyArrayOutput) ToDpsSharedAccessPolicyArrayOutput() DpsSharedAccessPolicyArrayOutput
- func (o DpsSharedAccessPolicyArrayOutput) ToDpsSharedAccessPolicyArrayOutputWithContext(ctx context.Context) DpsSharedAccessPolicyArrayOutput
- type DpsSharedAccessPolicyInput
- type DpsSharedAccessPolicyMap
- type DpsSharedAccessPolicyMapInput
- type DpsSharedAccessPolicyMapOutput
- func (DpsSharedAccessPolicyMapOutput) ElementType() reflect.Type
- func (o DpsSharedAccessPolicyMapOutput) MapIndex(k pulumi.StringInput) DpsSharedAccessPolicyOutput
- func (o DpsSharedAccessPolicyMapOutput) ToDpsSharedAccessPolicyMapOutput() DpsSharedAccessPolicyMapOutput
- func (o DpsSharedAccessPolicyMapOutput) ToDpsSharedAccessPolicyMapOutputWithContext(ctx context.Context) DpsSharedAccessPolicyMapOutput
- type DpsSharedAccessPolicyOutput
- func (DpsSharedAccessPolicyOutput) ElementType() reflect.Type
- func (o DpsSharedAccessPolicyOutput) ToDpsSharedAccessPolicyOutput() DpsSharedAccessPolicyOutput
- func (o DpsSharedAccessPolicyOutput) ToDpsSharedAccessPolicyOutputWithContext(ctx context.Context) DpsSharedAccessPolicyOutput
- func (o DpsSharedAccessPolicyOutput) ToDpsSharedAccessPolicyPtrOutput() DpsSharedAccessPolicyPtrOutput
- func (o DpsSharedAccessPolicyOutput) ToDpsSharedAccessPolicyPtrOutputWithContext(ctx context.Context) DpsSharedAccessPolicyPtrOutput
- type DpsSharedAccessPolicyPtrInput
- type DpsSharedAccessPolicyPtrOutput
- func (DpsSharedAccessPolicyPtrOutput) ElementType() reflect.Type
- func (o DpsSharedAccessPolicyPtrOutput) ToDpsSharedAccessPolicyPtrOutput() DpsSharedAccessPolicyPtrOutput
- func (o DpsSharedAccessPolicyPtrOutput) ToDpsSharedAccessPolicyPtrOutputWithContext(ctx context.Context) DpsSharedAccessPolicyPtrOutput
- type DpsSharedAccessPolicyState
- type EndpointEventhub
- func (*EndpointEventhub) ElementType() reflect.Type
- func (i *EndpointEventhub) ToEndpointEventhubOutput() EndpointEventhubOutput
- func (i *EndpointEventhub) ToEndpointEventhubOutputWithContext(ctx context.Context) EndpointEventhubOutput
- func (i *EndpointEventhub) ToEndpointEventhubPtrOutput() EndpointEventhubPtrOutput
- func (i *EndpointEventhub) ToEndpointEventhubPtrOutputWithContext(ctx context.Context) EndpointEventhubPtrOutput
- type EndpointEventhubArgs
- type EndpointEventhubArray
- type EndpointEventhubArrayInput
- type EndpointEventhubArrayOutput
- func (EndpointEventhubArrayOutput) ElementType() reflect.Type
- func (o EndpointEventhubArrayOutput) Index(i pulumi.IntInput) EndpointEventhubOutput
- func (o EndpointEventhubArrayOutput) ToEndpointEventhubArrayOutput() EndpointEventhubArrayOutput
- func (o EndpointEventhubArrayOutput) ToEndpointEventhubArrayOutputWithContext(ctx context.Context) EndpointEventhubArrayOutput
- type EndpointEventhubInput
- type EndpointEventhubMap
- type EndpointEventhubMapInput
- type EndpointEventhubMapOutput
- func (EndpointEventhubMapOutput) ElementType() reflect.Type
- func (o EndpointEventhubMapOutput) MapIndex(k pulumi.StringInput) EndpointEventhubOutput
- func (o EndpointEventhubMapOutput) ToEndpointEventhubMapOutput() EndpointEventhubMapOutput
- func (o EndpointEventhubMapOutput) ToEndpointEventhubMapOutputWithContext(ctx context.Context) EndpointEventhubMapOutput
- type EndpointEventhubOutput
- func (EndpointEventhubOutput) ElementType() reflect.Type
- func (o EndpointEventhubOutput) ToEndpointEventhubOutput() EndpointEventhubOutput
- func (o EndpointEventhubOutput) ToEndpointEventhubOutputWithContext(ctx context.Context) EndpointEventhubOutput
- func (o EndpointEventhubOutput) ToEndpointEventhubPtrOutput() EndpointEventhubPtrOutput
- func (o EndpointEventhubOutput) ToEndpointEventhubPtrOutputWithContext(ctx context.Context) EndpointEventhubPtrOutput
- type EndpointEventhubPtrInput
- type EndpointEventhubPtrOutput
- type EndpointEventhubState
- type EndpointServicebusQueue
- func (*EndpointServicebusQueue) ElementType() reflect.Type
- func (i *EndpointServicebusQueue) ToEndpointServicebusQueueOutput() EndpointServicebusQueueOutput
- func (i *EndpointServicebusQueue) ToEndpointServicebusQueueOutputWithContext(ctx context.Context) EndpointServicebusQueueOutput
- func (i *EndpointServicebusQueue) ToEndpointServicebusQueuePtrOutput() EndpointServicebusQueuePtrOutput
- func (i *EndpointServicebusQueue) ToEndpointServicebusQueuePtrOutputWithContext(ctx context.Context) EndpointServicebusQueuePtrOutput
- type EndpointServicebusQueueArgs
- type EndpointServicebusQueueArray
- func (EndpointServicebusQueueArray) ElementType() reflect.Type
- func (i EndpointServicebusQueueArray) ToEndpointServicebusQueueArrayOutput() EndpointServicebusQueueArrayOutput
- func (i EndpointServicebusQueueArray) ToEndpointServicebusQueueArrayOutputWithContext(ctx context.Context) EndpointServicebusQueueArrayOutput
- type EndpointServicebusQueueArrayInput
- type EndpointServicebusQueueArrayOutput
- func (EndpointServicebusQueueArrayOutput) ElementType() reflect.Type
- func (o EndpointServicebusQueueArrayOutput) Index(i pulumi.IntInput) EndpointServicebusQueueOutput
- func (o EndpointServicebusQueueArrayOutput) ToEndpointServicebusQueueArrayOutput() EndpointServicebusQueueArrayOutput
- func (o EndpointServicebusQueueArrayOutput) ToEndpointServicebusQueueArrayOutputWithContext(ctx context.Context) EndpointServicebusQueueArrayOutput
- type EndpointServicebusQueueInput
- type EndpointServicebusQueueMap
- func (EndpointServicebusQueueMap) ElementType() reflect.Type
- func (i EndpointServicebusQueueMap) ToEndpointServicebusQueueMapOutput() EndpointServicebusQueueMapOutput
- func (i EndpointServicebusQueueMap) ToEndpointServicebusQueueMapOutputWithContext(ctx context.Context) EndpointServicebusQueueMapOutput
- type EndpointServicebusQueueMapInput
- type EndpointServicebusQueueMapOutput
- func (EndpointServicebusQueueMapOutput) ElementType() reflect.Type
- func (o EndpointServicebusQueueMapOutput) MapIndex(k pulumi.StringInput) EndpointServicebusQueueOutput
- func (o EndpointServicebusQueueMapOutput) ToEndpointServicebusQueueMapOutput() EndpointServicebusQueueMapOutput
- func (o EndpointServicebusQueueMapOutput) ToEndpointServicebusQueueMapOutputWithContext(ctx context.Context) EndpointServicebusQueueMapOutput
- type EndpointServicebusQueueOutput
- func (EndpointServicebusQueueOutput) ElementType() reflect.Type
- func (o EndpointServicebusQueueOutput) ToEndpointServicebusQueueOutput() EndpointServicebusQueueOutput
- func (o EndpointServicebusQueueOutput) ToEndpointServicebusQueueOutputWithContext(ctx context.Context) EndpointServicebusQueueOutput
- func (o EndpointServicebusQueueOutput) ToEndpointServicebusQueuePtrOutput() EndpointServicebusQueuePtrOutput
- func (o EndpointServicebusQueueOutput) ToEndpointServicebusQueuePtrOutputWithContext(ctx context.Context) EndpointServicebusQueuePtrOutput
- type EndpointServicebusQueuePtrInput
- type EndpointServicebusQueuePtrOutput
- func (EndpointServicebusQueuePtrOutput) ElementType() reflect.Type
- func (o EndpointServicebusQueuePtrOutput) ToEndpointServicebusQueuePtrOutput() EndpointServicebusQueuePtrOutput
- func (o EndpointServicebusQueuePtrOutput) ToEndpointServicebusQueuePtrOutputWithContext(ctx context.Context) EndpointServicebusQueuePtrOutput
- type EndpointServicebusQueueState
- type EndpointServicebusTopic
- func (*EndpointServicebusTopic) ElementType() reflect.Type
- func (i *EndpointServicebusTopic) ToEndpointServicebusTopicOutput() EndpointServicebusTopicOutput
- func (i *EndpointServicebusTopic) ToEndpointServicebusTopicOutputWithContext(ctx context.Context) EndpointServicebusTopicOutput
- func (i *EndpointServicebusTopic) ToEndpointServicebusTopicPtrOutput() EndpointServicebusTopicPtrOutput
- func (i *EndpointServicebusTopic) ToEndpointServicebusTopicPtrOutputWithContext(ctx context.Context) EndpointServicebusTopicPtrOutput
- type EndpointServicebusTopicArgs
- type EndpointServicebusTopicArray
- func (EndpointServicebusTopicArray) ElementType() reflect.Type
- func (i EndpointServicebusTopicArray) ToEndpointServicebusTopicArrayOutput() EndpointServicebusTopicArrayOutput
- func (i EndpointServicebusTopicArray) ToEndpointServicebusTopicArrayOutputWithContext(ctx context.Context) EndpointServicebusTopicArrayOutput
- type EndpointServicebusTopicArrayInput
- type EndpointServicebusTopicArrayOutput
- func (EndpointServicebusTopicArrayOutput) ElementType() reflect.Type
- func (o EndpointServicebusTopicArrayOutput) Index(i pulumi.IntInput) EndpointServicebusTopicOutput
- func (o EndpointServicebusTopicArrayOutput) ToEndpointServicebusTopicArrayOutput() EndpointServicebusTopicArrayOutput
- func (o EndpointServicebusTopicArrayOutput) ToEndpointServicebusTopicArrayOutputWithContext(ctx context.Context) EndpointServicebusTopicArrayOutput
- type EndpointServicebusTopicInput
- type EndpointServicebusTopicMap
- func (EndpointServicebusTopicMap) ElementType() reflect.Type
- func (i EndpointServicebusTopicMap) ToEndpointServicebusTopicMapOutput() EndpointServicebusTopicMapOutput
- func (i EndpointServicebusTopicMap) ToEndpointServicebusTopicMapOutputWithContext(ctx context.Context) EndpointServicebusTopicMapOutput
- type EndpointServicebusTopicMapInput
- type EndpointServicebusTopicMapOutput
- func (EndpointServicebusTopicMapOutput) ElementType() reflect.Type
- func (o EndpointServicebusTopicMapOutput) MapIndex(k pulumi.StringInput) EndpointServicebusTopicOutput
- func (o EndpointServicebusTopicMapOutput) ToEndpointServicebusTopicMapOutput() EndpointServicebusTopicMapOutput
- func (o EndpointServicebusTopicMapOutput) ToEndpointServicebusTopicMapOutputWithContext(ctx context.Context) EndpointServicebusTopicMapOutput
- type EndpointServicebusTopicOutput
- func (EndpointServicebusTopicOutput) ElementType() reflect.Type
- func (o EndpointServicebusTopicOutput) ToEndpointServicebusTopicOutput() EndpointServicebusTopicOutput
- func (o EndpointServicebusTopicOutput) ToEndpointServicebusTopicOutputWithContext(ctx context.Context) EndpointServicebusTopicOutput
- func (o EndpointServicebusTopicOutput) ToEndpointServicebusTopicPtrOutput() EndpointServicebusTopicPtrOutput
- func (o EndpointServicebusTopicOutput) ToEndpointServicebusTopicPtrOutputWithContext(ctx context.Context) EndpointServicebusTopicPtrOutput
- type EndpointServicebusTopicPtrInput
- type EndpointServicebusTopicPtrOutput
- func (EndpointServicebusTopicPtrOutput) ElementType() reflect.Type
- func (o EndpointServicebusTopicPtrOutput) ToEndpointServicebusTopicPtrOutput() EndpointServicebusTopicPtrOutput
- func (o EndpointServicebusTopicPtrOutput) ToEndpointServicebusTopicPtrOutputWithContext(ctx context.Context) EndpointServicebusTopicPtrOutput
- type EndpointServicebusTopicState
- type EndpointStorageContainer
- func (*EndpointStorageContainer) ElementType() reflect.Type
- func (i *EndpointStorageContainer) ToEndpointStorageContainerOutput() EndpointStorageContainerOutput
- func (i *EndpointStorageContainer) ToEndpointStorageContainerOutputWithContext(ctx context.Context) EndpointStorageContainerOutput
- func (i *EndpointStorageContainer) ToEndpointStorageContainerPtrOutput() EndpointStorageContainerPtrOutput
- func (i *EndpointStorageContainer) ToEndpointStorageContainerPtrOutputWithContext(ctx context.Context) EndpointStorageContainerPtrOutput
- type EndpointStorageContainerArgs
- type EndpointStorageContainerArray
- func (EndpointStorageContainerArray) ElementType() reflect.Type
- func (i EndpointStorageContainerArray) ToEndpointStorageContainerArrayOutput() EndpointStorageContainerArrayOutput
- func (i EndpointStorageContainerArray) ToEndpointStorageContainerArrayOutputWithContext(ctx context.Context) EndpointStorageContainerArrayOutput
- type EndpointStorageContainerArrayInput
- type EndpointStorageContainerArrayOutput
- func (EndpointStorageContainerArrayOutput) ElementType() reflect.Type
- func (o EndpointStorageContainerArrayOutput) Index(i pulumi.IntInput) EndpointStorageContainerOutput
- func (o EndpointStorageContainerArrayOutput) ToEndpointStorageContainerArrayOutput() EndpointStorageContainerArrayOutput
- func (o EndpointStorageContainerArrayOutput) ToEndpointStorageContainerArrayOutputWithContext(ctx context.Context) EndpointStorageContainerArrayOutput
- type EndpointStorageContainerInput
- type EndpointStorageContainerMap
- func (EndpointStorageContainerMap) ElementType() reflect.Type
- func (i EndpointStorageContainerMap) ToEndpointStorageContainerMapOutput() EndpointStorageContainerMapOutput
- func (i EndpointStorageContainerMap) ToEndpointStorageContainerMapOutputWithContext(ctx context.Context) EndpointStorageContainerMapOutput
- type EndpointStorageContainerMapInput
- type EndpointStorageContainerMapOutput
- func (EndpointStorageContainerMapOutput) ElementType() reflect.Type
- func (o EndpointStorageContainerMapOutput) MapIndex(k pulumi.StringInput) EndpointStorageContainerOutput
- func (o EndpointStorageContainerMapOutput) ToEndpointStorageContainerMapOutput() EndpointStorageContainerMapOutput
- func (o EndpointStorageContainerMapOutput) ToEndpointStorageContainerMapOutputWithContext(ctx context.Context) EndpointStorageContainerMapOutput
- type EndpointStorageContainerOutput
- func (EndpointStorageContainerOutput) ElementType() reflect.Type
- func (o EndpointStorageContainerOutput) ToEndpointStorageContainerOutput() EndpointStorageContainerOutput
- func (o EndpointStorageContainerOutput) ToEndpointStorageContainerOutputWithContext(ctx context.Context) EndpointStorageContainerOutput
- func (o EndpointStorageContainerOutput) ToEndpointStorageContainerPtrOutput() EndpointStorageContainerPtrOutput
- func (o EndpointStorageContainerOutput) ToEndpointStorageContainerPtrOutputWithContext(ctx context.Context) EndpointStorageContainerPtrOutput
- type EndpointStorageContainerPtrInput
- type EndpointStorageContainerPtrOutput
- func (EndpointStorageContainerPtrOutput) ElementType() reflect.Type
- func (o EndpointStorageContainerPtrOutput) ToEndpointStorageContainerPtrOutput() EndpointStorageContainerPtrOutput
- func (o EndpointStorageContainerPtrOutput) ToEndpointStorageContainerPtrOutputWithContext(ctx context.Context) EndpointStorageContainerPtrOutput
- type EndpointStorageContainerState
- type Enrichment
- func (*Enrichment) ElementType() reflect.Type
- func (i *Enrichment) ToEnrichmentOutput() EnrichmentOutput
- func (i *Enrichment) ToEnrichmentOutputWithContext(ctx context.Context) EnrichmentOutput
- func (i *Enrichment) ToEnrichmentPtrOutput() EnrichmentPtrOutput
- func (i *Enrichment) ToEnrichmentPtrOutputWithContext(ctx context.Context) EnrichmentPtrOutput
- type EnrichmentArgs
- type EnrichmentArray
- type EnrichmentArrayInput
- type EnrichmentArrayOutput
- func (EnrichmentArrayOutput) ElementType() reflect.Type
- func (o EnrichmentArrayOutput) Index(i pulumi.IntInput) EnrichmentOutput
- func (o EnrichmentArrayOutput) ToEnrichmentArrayOutput() EnrichmentArrayOutput
- func (o EnrichmentArrayOutput) ToEnrichmentArrayOutputWithContext(ctx context.Context) EnrichmentArrayOutput
- type EnrichmentInput
- type EnrichmentMap
- type EnrichmentMapInput
- type EnrichmentMapOutput
- func (EnrichmentMapOutput) ElementType() reflect.Type
- func (o EnrichmentMapOutput) MapIndex(k pulumi.StringInput) EnrichmentOutput
- func (o EnrichmentMapOutput) ToEnrichmentMapOutput() EnrichmentMapOutput
- func (o EnrichmentMapOutput) ToEnrichmentMapOutputWithContext(ctx context.Context) EnrichmentMapOutput
- type EnrichmentOutput
- func (EnrichmentOutput) ElementType() reflect.Type
- func (o EnrichmentOutput) ToEnrichmentOutput() EnrichmentOutput
- func (o EnrichmentOutput) ToEnrichmentOutputWithContext(ctx context.Context) EnrichmentOutput
- func (o EnrichmentOutput) ToEnrichmentPtrOutput() EnrichmentPtrOutput
- func (o EnrichmentOutput) ToEnrichmentPtrOutputWithContext(ctx context.Context) EnrichmentPtrOutput
- type EnrichmentPtrInput
- type EnrichmentPtrOutput
- type EnrichmentState
- type FallbackRoute
- func (*FallbackRoute) ElementType() reflect.Type
- func (i *FallbackRoute) ToFallbackRouteOutput() FallbackRouteOutput
- func (i *FallbackRoute) ToFallbackRouteOutputWithContext(ctx context.Context) FallbackRouteOutput
- func (i *FallbackRoute) ToFallbackRoutePtrOutput() FallbackRoutePtrOutput
- func (i *FallbackRoute) ToFallbackRoutePtrOutputWithContext(ctx context.Context) FallbackRoutePtrOutput
- type FallbackRouteArgs
- type FallbackRouteArray
- type FallbackRouteArrayInput
- type FallbackRouteArrayOutput
- func (FallbackRouteArrayOutput) ElementType() reflect.Type
- func (o FallbackRouteArrayOutput) Index(i pulumi.IntInput) FallbackRouteOutput
- func (o FallbackRouteArrayOutput) ToFallbackRouteArrayOutput() FallbackRouteArrayOutput
- func (o FallbackRouteArrayOutput) ToFallbackRouteArrayOutputWithContext(ctx context.Context) FallbackRouteArrayOutput
- type FallbackRouteInput
- type FallbackRouteMap
- type FallbackRouteMapInput
- type FallbackRouteMapOutput
- func (FallbackRouteMapOutput) ElementType() reflect.Type
- func (o FallbackRouteMapOutput) MapIndex(k pulumi.StringInput) FallbackRouteOutput
- func (o FallbackRouteMapOutput) ToFallbackRouteMapOutput() FallbackRouteMapOutput
- func (o FallbackRouteMapOutput) ToFallbackRouteMapOutputWithContext(ctx context.Context) FallbackRouteMapOutput
- type FallbackRouteOutput
- func (FallbackRouteOutput) ElementType() reflect.Type
- func (o FallbackRouteOutput) ToFallbackRouteOutput() FallbackRouteOutput
- func (o FallbackRouteOutput) ToFallbackRouteOutputWithContext(ctx context.Context) FallbackRouteOutput
- func (o FallbackRouteOutput) ToFallbackRoutePtrOutput() FallbackRoutePtrOutput
- func (o FallbackRouteOutput) ToFallbackRoutePtrOutputWithContext(ctx context.Context) FallbackRoutePtrOutput
- type FallbackRoutePtrInput
- type FallbackRoutePtrOutput
- type FallbackRouteState
- type GetDpsArgs
- type GetDpsResult
- type GetIotHubArgs
- type GetIotHubResult
- type IoTHub
- func (*IoTHub) ElementType() reflect.Type
- func (i *IoTHub) ToIoTHubOutput() IoTHubOutput
- func (i *IoTHub) ToIoTHubOutputWithContext(ctx context.Context) IoTHubOutput
- func (i *IoTHub) ToIoTHubPtrOutput() IoTHubPtrOutput
- func (i *IoTHub) ToIoTHubPtrOutputWithContext(ctx context.Context) IoTHubPtrOutput
- type IoTHubArgs
- type IoTHubArray
- type IoTHubArrayInput
- type IoTHubArrayOutput
- 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) ResourceGroupName() pulumi.StringPtrOutput
- func (o IoTHubEndpointOutput) ToIoTHubEndpointOutput() IoTHubEndpointOutput
- func (o IoTHubEndpointOutput) ToIoTHubEndpointOutputWithContext(ctx context.Context) IoTHubEndpointOutput
- func (o IoTHubEndpointOutput) Type() pulumi.StringOutput
- type IoTHubEnrichment
- type IoTHubEnrichmentArgs
- type IoTHubEnrichmentArray
- type IoTHubEnrichmentArrayInput
- type IoTHubEnrichmentArrayOutput
- func (IoTHubEnrichmentArrayOutput) ElementType() reflect.Type
- func (o IoTHubEnrichmentArrayOutput) Index(i pulumi.IntInput) IoTHubEnrichmentOutput
- func (o IoTHubEnrichmentArrayOutput) ToIoTHubEnrichmentArrayOutput() IoTHubEnrichmentArrayOutput
- func (o IoTHubEnrichmentArrayOutput) ToIoTHubEnrichmentArrayOutputWithContext(ctx context.Context) IoTHubEnrichmentArrayOutput
- type IoTHubEnrichmentInput
- type IoTHubEnrichmentOutput
- func (IoTHubEnrichmentOutput) ElementType() reflect.Type
- func (o IoTHubEnrichmentOutput) EndpointNames() pulumi.StringArrayOutput
- func (o IoTHubEnrichmentOutput) Key() pulumi.StringOutput
- func (o IoTHubEnrichmentOutput) ToIoTHubEnrichmentOutput() IoTHubEnrichmentOutput
- func (o IoTHubEnrichmentOutput) ToIoTHubEnrichmentOutputWithContext(ctx context.Context) IoTHubEnrichmentOutput
- func (o IoTHubEnrichmentOutput) Value() 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.StringPtrOutput
- func (o IoTHubFileUploadPtrOutput) ContainerName() pulumi.StringPtrOutput
- 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 IoTHubInput
- 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 IoTHubMap
- type IoTHubMapInput
- type IoTHubMapOutput
- type IoTHubOutput
- func (IoTHubOutput) ElementType() reflect.Type
- func (o IoTHubOutput) ToIoTHubOutput() IoTHubOutput
- func (o IoTHubOutput) ToIoTHubOutputWithContext(ctx context.Context) IoTHubOutput
- func (o IoTHubOutput) ToIoTHubPtrOutput() IoTHubPtrOutput
- func (o IoTHubOutput) ToIoTHubPtrOutputWithContext(ctx context.Context) IoTHubPtrOutput
- type IoTHubPtrInput
- type IoTHubPtrOutput
- 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.IntPtrOutput
- func (o IoTHubSkuPtrOutput) Elem() IoTHubSkuOutput
- func (IoTHubSkuPtrOutput) ElementType() reflect.Type
- func (o IoTHubSkuPtrOutput) Name() pulumi.StringPtrOutput
- func (o IoTHubSkuPtrOutput) ToIoTHubSkuPtrOutput() IoTHubSkuPtrOutput
- func (o IoTHubSkuPtrOutput) ToIoTHubSkuPtrOutputWithContext(ctx context.Context) IoTHubSkuPtrOutput
- type IoTHubState
- type IotHubCertificate
- func (*IotHubCertificate) ElementType() reflect.Type
- func (i *IotHubCertificate) ToIotHubCertificateOutput() IotHubCertificateOutput
- func (i *IotHubCertificate) ToIotHubCertificateOutputWithContext(ctx context.Context) IotHubCertificateOutput
- func (i *IotHubCertificate) ToIotHubCertificatePtrOutput() IotHubCertificatePtrOutput
- func (i *IotHubCertificate) ToIotHubCertificatePtrOutputWithContext(ctx context.Context) IotHubCertificatePtrOutput
- type IotHubCertificateArgs
- type IotHubCertificateArray
- type IotHubCertificateArrayInput
- type IotHubCertificateArrayOutput
- func (IotHubCertificateArrayOutput) ElementType() reflect.Type
- func (o IotHubCertificateArrayOutput) Index(i pulumi.IntInput) IotHubCertificateOutput
- func (o IotHubCertificateArrayOutput) ToIotHubCertificateArrayOutput() IotHubCertificateArrayOutput
- func (o IotHubCertificateArrayOutput) ToIotHubCertificateArrayOutputWithContext(ctx context.Context) IotHubCertificateArrayOutput
- type IotHubCertificateInput
- type IotHubCertificateMap
- type IotHubCertificateMapInput
- type IotHubCertificateMapOutput
- func (IotHubCertificateMapOutput) ElementType() reflect.Type
- func (o IotHubCertificateMapOutput) MapIndex(k pulumi.StringInput) IotHubCertificateOutput
- func (o IotHubCertificateMapOutput) ToIotHubCertificateMapOutput() IotHubCertificateMapOutput
- func (o IotHubCertificateMapOutput) ToIotHubCertificateMapOutputWithContext(ctx context.Context) IotHubCertificateMapOutput
- type IotHubCertificateOutput
- func (IotHubCertificateOutput) ElementType() reflect.Type
- func (o IotHubCertificateOutput) ToIotHubCertificateOutput() IotHubCertificateOutput
- func (o IotHubCertificateOutput) ToIotHubCertificateOutputWithContext(ctx context.Context) IotHubCertificateOutput
- func (o IotHubCertificateOutput) ToIotHubCertificatePtrOutput() IotHubCertificatePtrOutput
- func (o IotHubCertificateOutput) ToIotHubCertificatePtrOutputWithContext(ctx context.Context) IotHubCertificatePtrOutput
- type IotHubCertificatePtrInput
- type IotHubCertificatePtrOutput
- type IotHubCertificateState
- type IotHubDps
- func (*IotHubDps) ElementType() reflect.Type
- func (i *IotHubDps) ToIotHubDpsOutput() IotHubDpsOutput
- func (i *IotHubDps) ToIotHubDpsOutputWithContext(ctx context.Context) IotHubDpsOutput
- func (i *IotHubDps) ToIotHubDpsPtrOutput() IotHubDpsPtrOutput
- func (i *IotHubDps) ToIotHubDpsPtrOutputWithContext(ctx context.Context) IotHubDpsPtrOutput
- type IotHubDpsArgs
- type IotHubDpsArray
- type IotHubDpsArrayInput
- type IotHubDpsArrayOutput
- func (IotHubDpsArrayOutput) ElementType() reflect.Type
- func (o IotHubDpsArrayOutput) Index(i pulumi.IntInput) IotHubDpsOutput
- func (o IotHubDpsArrayOutput) ToIotHubDpsArrayOutput() IotHubDpsArrayOutput
- func (o IotHubDpsArrayOutput) ToIotHubDpsArrayOutputWithContext(ctx context.Context) IotHubDpsArrayOutput
- type IotHubDpsInput
- 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 IotHubDpsMap
- type IotHubDpsMapInput
- type IotHubDpsMapOutput
- type IotHubDpsOutput
- func (IotHubDpsOutput) ElementType() reflect.Type
- func (o IotHubDpsOutput) ToIotHubDpsOutput() IotHubDpsOutput
- func (o IotHubDpsOutput) ToIotHubDpsOutputWithContext(ctx context.Context) IotHubDpsOutput
- func (o IotHubDpsOutput) ToIotHubDpsPtrOutput() IotHubDpsPtrOutput
- func (o IotHubDpsOutput) ToIotHubDpsPtrOutputWithContext(ctx context.Context) IotHubDpsPtrOutput
- type IotHubDpsPtrInput
- type IotHubDpsPtrOutput
- 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.IntPtrOutput
- func (o IotHubDpsSkuPtrOutput) Elem() IotHubDpsSkuOutput
- func (IotHubDpsSkuPtrOutput) ElementType() reflect.Type
- func (o IotHubDpsSkuPtrOutput) Name() pulumi.StringPtrOutput
- 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 RouteArray
- type RouteArrayInput
- type RouteArrayOutput
- type RouteInput
- type RouteMap
- type RouteMapInput
- type RouteMapOutput
- type RouteOutput
- func (RouteOutput) ElementType() reflect.Type
- func (o RouteOutput) ToRouteOutput() RouteOutput
- func (o RouteOutput) ToRouteOutputWithContext(ctx context.Context) RouteOutput
- func (o RouteOutput) ToRoutePtrOutput() RoutePtrOutput
- func (o RouteOutput) ToRoutePtrOutputWithContext(ctx context.Context) RoutePtrOutput
- type RoutePtrInput
- type RoutePtrOutput
- type RouteState
- type SecurityDeviceGroup
- func (*SecurityDeviceGroup) ElementType() reflect.Type
- func (i *SecurityDeviceGroup) ToSecurityDeviceGroupOutput() SecurityDeviceGroupOutput
- func (i *SecurityDeviceGroup) ToSecurityDeviceGroupOutputWithContext(ctx context.Context) SecurityDeviceGroupOutput
- func (i *SecurityDeviceGroup) ToSecurityDeviceGroupPtrOutput() SecurityDeviceGroupPtrOutput
- func (i *SecurityDeviceGroup) ToSecurityDeviceGroupPtrOutputWithContext(ctx context.Context) SecurityDeviceGroupPtrOutput
- type SecurityDeviceGroupAllowRule
- type SecurityDeviceGroupAllowRuleArgs
- func (SecurityDeviceGroupAllowRuleArgs) ElementType() reflect.Type
- func (i SecurityDeviceGroupAllowRuleArgs) ToSecurityDeviceGroupAllowRuleOutput() SecurityDeviceGroupAllowRuleOutput
- func (i SecurityDeviceGroupAllowRuleArgs) ToSecurityDeviceGroupAllowRuleOutputWithContext(ctx context.Context) SecurityDeviceGroupAllowRuleOutput
- func (i SecurityDeviceGroupAllowRuleArgs) ToSecurityDeviceGroupAllowRulePtrOutput() SecurityDeviceGroupAllowRulePtrOutput
- func (i SecurityDeviceGroupAllowRuleArgs) ToSecurityDeviceGroupAllowRulePtrOutputWithContext(ctx context.Context) SecurityDeviceGroupAllowRulePtrOutput
- type SecurityDeviceGroupAllowRuleInput
- type SecurityDeviceGroupAllowRuleOutput
- func (o SecurityDeviceGroupAllowRuleOutput) ConnectionToIpNotAlloweds() pulumi.StringArrayOutput
- func (SecurityDeviceGroupAllowRuleOutput) ElementType() reflect.Type
- func (o SecurityDeviceGroupAllowRuleOutput) LocalUserNotAlloweds() pulumi.StringArrayOutput
- func (o SecurityDeviceGroupAllowRuleOutput) ProcessNotAlloweds() pulumi.StringArrayOutput
- func (o SecurityDeviceGroupAllowRuleOutput) ToSecurityDeviceGroupAllowRuleOutput() SecurityDeviceGroupAllowRuleOutput
- func (o SecurityDeviceGroupAllowRuleOutput) ToSecurityDeviceGroupAllowRuleOutputWithContext(ctx context.Context) SecurityDeviceGroupAllowRuleOutput
- func (o SecurityDeviceGroupAllowRuleOutput) ToSecurityDeviceGroupAllowRulePtrOutput() SecurityDeviceGroupAllowRulePtrOutput
- func (o SecurityDeviceGroupAllowRuleOutput) ToSecurityDeviceGroupAllowRulePtrOutputWithContext(ctx context.Context) SecurityDeviceGroupAllowRulePtrOutput
- type SecurityDeviceGroupAllowRulePtrInput
- type SecurityDeviceGroupAllowRulePtrOutput
- func (o SecurityDeviceGroupAllowRulePtrOutput) ConnectionToIpNotAlloweds() pulumi.StringArrayOutput
- func (o SecurityDeviceGroupAllowRulePtrOutput) Elem() SecurityDeviceGroupAllowRuleOutput
- func (SecurityDeviceGroupAllowRulePtrOutput) ElementType() reflect.Type
- func (o SecurityDeviceGroupAllowRulePtrOutput) LocalUserNotAlloweds() pulumi.StringArrayOutput
- func (o SecurityDeviceGroupAllowRulePtrOutput) ProcessNotAlloweds() pulumi.StringArrayOutput
- func (o SecurityDeviceGroupAllowRulePtrOutput) ToSecurityDeviceGroupAllowRulePtrOutput() SecurityDeviceGroupAllowRulePtrOutput
- func (o SecurityDeviceGroupAllowRulePtrOutput) ToSecurityDeviceGroupAllowRulePtrOutputWithContext(ctx context.Context) SecurityDeviceGroupAllowRulePtrOutput
- type SecurityDeviceGroupArgs
- type SecurityDeviceGroupArray
- type SecurityDeviceGroupArrayInput
- type SecurityDeviceGroupArrayOutput
- func (SecurityDeviceGroupArrayOutput) ElementType() reflect.Type
- func (o SecurityDeviceGroupArrayOutput) Index(i pulumi.IntInput) SecurityDeviceGroupOutput
- func (o SecurityDeviceGroupArrayOutput) ToSecurityDeviceGroupArrayOutput() SecurityDeviceGroupArrayOutput
- func (o SecurityDeviceGroupArrayOutput) ToSecurityDeviceGroupArrayOutputWithContext(ctx context.Context) SecurityDeviceGroupArrayOutput
- type SecurityDeviceGroupInput
- type SecurityDeviceGroupMap
- type SecurityDeviceGroupMapInput
- type SecurityDeviceGroupMapOutput
- func (SecurityDeviceGroupMapOutput) ElementType() reflect.Type
- func (o SecurityDeviceGroupMapOutput) MapIndex(k pulumi.StringInput) SecurityDeviceGroupOutput
- func (o SecurityDeviceGroupMapOutput) ToSecurityDeviceGroupMapOutput() SecurityDeviceGroupMapOutput
- func (o SecurityDeviceGroupMapOutput) ToSecurityDeviceGroupMapOutputWithContext(ctx context.Context) SecurityDeviceGroupMapOutput
- type SecurityDeviceGroupOutput
- func (SecurityDeviceGroupOutput) ElementType() reflect.Type
- func (o SecurityDeviceGroupOutput) ToSecurityDeviceGroupOutput() SecurityDeviceGroupOutput
- func (o SecurityDeviceGroupOutput) ToSecurityDeviceGroupOutputWithContext(ctx context.Context) SecurityDeviceGroupOutput
- func (o SecurityDeviceGroupOutput) ToSecurityDeviceGroupPtrOutput() SecurityDeviceGroupPtrOutput
- func (o SecurityDeviceGroupOutput) ToSecurityDeviceGroupPtrOutputWithContext(ctx context.Context) SecurityDeviceGroupPtrOutput
- type SecurityDeviceGroupPtrInput
- type SecurityDeviceGroupPtrOutput
- type SecurityDeviceGroupRangeRule
- type SecurityDeviceGroupRangeRuleArgs
- func (SecurityDeviceGroupRangeRuleArgs) ElementType() reflect.Type
- func (i SecurityDeviceGroupRangeRuleArgs) ToSecurityDeviceGroupRangeRuleOutput() SecurityDeviceGroupRangeRuleOutput
- func (i SecurityDeviceGroupRangeRuleArgs) ToSecurityDeviceGroupRangeRuleOutputWithContext(ctx context.Context) SecurityDeviceGroupRangeRuleOutput
- type SecurityDeviceGroupRangeRuleArray
- func (SecurityDeviceGroupRangeRuleArray) ElementType() reflect.Type
- func (i SecurityDeviceGroupRangeRuleArray) ToSecurityDeviceGroupRangeRuleArrayOutput() SecurityDeviceGroupRangeRuleArrayOutput
- func (i SecurityDeviceGroupRangeRuleArray) ToSecurityDeviceGroupRangeRuleArrayOutputWithContext(ctx context.Context) SecurityDeviceGroupRangeRuleArrayOutput
- type SecurityDeviceGroupRangeRuleArrayInput
- type SecurityDeviceGroupRangeRuleArrayOutput
- func (SecurityDeviceGroupRangeRuleArrayOutput) ElementType() reflect.Type
- func (o SecurityDeviceGroupRangeRuleArrayOutput) Index(i pulumi.IntInput) SecurityDeviceGroupRangeRuleOutput
- func (o SecurityDeviceGroupRangeRuleArrayOutput) ToSecurityDeviceGroupRangeRuleArrayOutput() SecurityDeviceGroupRangeRuleArrayOutput
- func (o SecurityDeviceGroupRangeRuleArrayOutput) ToSecurityDeviceGroupRangeRuleArrayOutputWithContext(ctx context.Context) SecurityDeviceGroupRangeRuleArrayOutput
- type SecurityDeviceGroupRangeRuleInput
- type SecurityDeviceGroupRangeRuleOutput
- func (o SecurityDeviceGroupRangeRuleOutput) Duration() pulumi.StringOutput
- func (SecurityDeviceGroupRangeRuleOutput) ElementType() reflect.Type
- func (o SecurityDeviceGroupRangeRuleOutput) Max() pulumi.IntOutput
- func (o SecurityDeviceGroupRangeRuleOutput) Min() pulumi.IntOutput
- func (o SecurityDeviceGroupRangeRuleOutput) ToSecurityDeviceGroupRangeRuleOutput() SecurityDeviceGroupRangeRuleOutput
- func (o SecurityDeviceGroupRangeRuleOutput) ToSecurityDeviceGroupRangeRuleOutputWithContext(ctx context.Context) SecurityDeviceGroupRangeRuleOutput
- func (o SecurityDeviceGroupRangeRuleOutput) Type() pulumi.StringOutput
- type SecurityDeviceGroupState
- type SecuritySolution
- func (*SecuritySolution) ElementType() reflect.Type
- func (i *SecuritySolution) ToSecuritySolutionOutput() SecuritySolutionOutput
- func (i *SecuritySolution) ToSecuritySolutionOutputWithContext(ctx context.Context) SecuritySolutionOutput
- func (i *SecuritySolution) ToSecuritySolutionPtrOutput() SecuritySolutionPtrOutput
- func (i *SecuritySolution) ToSecuritySolutionPtrOutputWithContext(ctx context.Context) SecuritySolutionPtrOutput
- type SecuritySolutionArgs
- type SecuritySolutionArray
- type SecuritySolutionArrayInput
- type SecuritySolutionArrayOutput
- func (SecuritySolutionArrayOutput) ElementType() reflect.Type
- func (o SecuritySolutionArrayOutput) Index(i pulumi.IntInput) SecuritySolutionOutput
- func (o SecuritySolutionArrayOutput) ToSecuritySolutionArrayOutput() SecuritySolutionArrayOutput
- func (o SecuritySolutionArrayOutput) ToSecuritySolutionArrayOutputWithContext(ctx context.Context) SecuritySolutionArrayOutput
- type SecuritySolutionInput
- type SecuritySolutionMap
- type SecuritySolutionMapInput
- type SecuritySolutionMapOutput
- func (SecuritySolutionMapOutput) ElementType() reflect.Type
- func (o SecuritySolutionMapOutput) MapIndex(k pulumi.StringInput) SecuritySolutionOutput
- func (o SecuritySolutionMapOutput) ToSecuritySolutionMapOutput() SecuritySolutionMapOutput
- func (o SecuritySolutionMapOutput) ToSecuritySolutionMapOutputWithContext(ctx context.Context) SecuritySolutionMapOutput
- type SecuritySolutionOutput
- func (SecuritySolutionOutput) ElementType() reflect.Type
- func (o SecuritySolutionOutput) ToSecuritySolutionOutput() SecuritySolutionOutput
- func (o SecuritySolutionOutput) ToSecuritySolutionOutputWithContext(ctx context.Context) SecuritySolutionOutput
- func (o SecuritySolutionOutput) ToSecuritySolutionPtrOutput() SecuritySolutionPtrOutput
- func (o SecuritySolutionOutput) ToSecuritySolutionPtrOutputWithContext(ctx context.Context) SecuritySolutionPtrOutput
- type SecuritySolutionPtrInput
- type SecuritySolutionPtrOutput
- type SecuritySolutionRecommendationsEnabled
- type SecuritySolutionRecommendationsEnabledArgs
- func (SecuritySolutionRecommendationsEnabledArgs) ElementType() reflect.Type
- func (i SecuritySolutionRecommendationsEnabledArgs) ToSecuritySolutionRecommendationsEnabledOutput() SecuritySolutionRecommendationsEnabledOutput
- func (i SecuritySolutionRecommendationsEnabledArgs) ToSecuritySolutionRecommendationsEnabledOutputWithContext(ctx context.Context) SecuritySolutionRecommendationsEnabledOutput
- func (i SecuritySolutionRecommendationsEnabledArgs) ToSecuritySolutionRecommendationsEnabledPtrOutput() SecuritySolutionRecommendationsEnabledPtrOutput
- func (i SecuritySolutionRecommendationsEnabledArgs) ToSecuritySolutionRecommendationsEnabledPtrOutputWithContext(ctx context.Context) SecuritySolutionRecommendationsEnabledPtrOutput
- type SecuritySolutionRecommendationsEnabledInput
- type SecuritySolutionRecommendationsEnabledOutput
- func (o SecuritySolutionRecommendationsEnabledOutput) AcrAuthentication() pulumi.BoolPtrOutput
- func (o SecuritySolutionRecommendationsEnabledOutput) AgentSendUnutilizedMsg() pulumi.BoolPtrOutput
- func (o SecuritySolutionRecommendationsEnabledOutput) Baseline() pulumi.BoolPtrOutput
- func (o SecuritySolutionRecommendationsEnabledOutput) EdgeHubMemOptimize() pulumi.BoolPtrOutput
- func (o SecuritySolutionRecommendationsEnabledOutput) EdgeLoggingOption() pulumi.BoolPtrOutput
- func (SecuritySolutionRecommendationsEnabledOutput) ElementType() reflect.Type
- func (o SecuritySolutionRecommendationsEnabledOutput) InconsistentModuleSettings() pulumi.BoolPtrOutput
- func (o SecuritySolutionRecommendationsEnabledOutput) InstallAgent() pulumi.BoolPtrOutput
- func (o SecuritySolutionRecommendationsEnabledOutput) IpFilterDenyAll() pulumi.BoolPtrOutput
- func (o SecuritySolutionRecommendationsEnabledOutput) IpFilterPermissiveRule() pulumi.BoolPtrOutput
- func (o SecuritySolutionRecommendationsEnabledOutput) OpenPorts() pulumi.BoolPtrOutput
- func (o SecuritySolutionRecommendationsEnabledOutput) PermissiveFirewallPolicy() pulumi.BoolPtrOutput
- func (o SecuritySolutionRecommendationsEnabledOutput) PermissiveInputFirewallRules() pulumi.BoolPtrOutput
- func (o SecuritySolutionRecommendationsEnabledOutput) PermissiveOutputFirewallRules() pulumi.BoolPtrOutput
- func (o SecuritySolutionRecommendationsEnabledOutput) PrivilegedDockerOptions() pulumi.BoolPtrOutput
- func (o SecuritySolutionRecommendationsEnabledOutput) SharedCredentials() pulumi.BoolPtrOutput
- func (o SecuritySolutionRecommendationsEnabledOutput) ToSecuritySolutionRecommendationsEnabledOutput() SecuritySolutionRecommendationsEnabledOutput
- func (o SecuritySolutionRecommendationsEnabledOutput) ToSecuritySolutionRecommendationsEnabledOutputWithContext(ctx context.Context) SecuritySolutionRecommendationsEnabledOutput
- func (o SecuritySolutionRecommendationsEnabledOutput) ToSecuritySolutionRecommendationsEnabledPtrOutput() SecuritySolutionRecommendationsEnabledPtrOutput
- func (o SecuritySolutionRecommendationsEnabledOutput) ToSecuritySolutionRecommendationsEnabledPtrOutputWithContext(ctx context.Context) SecuritySolutionRecommendationsEnabledPtrOutput
- func (o SecuritySolutionRecommendationsEnabledOutput) VulnerableTlsCipherSuite() pulumi.BoolPtrOutput
- type SecuritySolutionRecommendationsEnabledPtrInput
- type SecuritySolutionRecommendationsEnabledPtrOutput
- func (o SecuritySolutionRecommendationsEnabledPtrOutput) AcrAuthentication() pulumi.BoolPtrOutput
- func (o SecuritySolutionRecommendationsEnabledPtrOutput) AgentSendUnutilizedMsg() pulumi.BoolPtrOutput
- func (o SecuritySolutionRecommendationsEnabledPtrOutput) Baseline() pulumi.BoolPtrOutput
- func (o SecuritySolutionRecommendationsEnabledPtrOutput) EdgeHubMemOptimize() pulumi.BoolPtrOutput
- func (o SecuritySolutionRecommendationsEnabledPtrOutput) EdgeLoggingOption() pulumi.BoolPtrOutput
- func (o SecuritySolutionRecommendationsEnabledPtrOutput) Elem() SecuritySolutionRecommendationsEnabledOutput
- func (SecuritySolutionRecommendationsEnabledPtrOutput) ElementType() reflect.Type
- func (o SecuritySolutionRecommendationsEnabledPtrOutput) InconsistentModuleSettings() pulumi.BoolPtrOutput
- func (o SecuritySolutionRecommendationsEnabledPtrOutput) InstallAgent() pulumi.BoolPtrOutput
- func (o SecuritySolutionRecommendationsEnabledPtrOutput) IpFilterDenyAll() pulumi.BoolPtrOutput
- func (o SecuritySolutionRecommendationsEnabledPtrOutput) IpFilterPermissiveRule() pulumi.BoolPtrOutput
- func (o SecuritySolutionRecommendationsEnabledPtrOutput) OpenPorts() pulumi.BoolPtrOutput
- func (o SecuritySolutionRecommendationsEnabledPtrOutput) PermissiveFirewallPolicy() pulumi.BoolPtrOutput
- func (o SecuritySolutionRecommendationsEnabledPtrOutput) PermissiveInputFirewallRules() pulumi.BoolPtrOutput
- func (o SecuritySolutionRecommendationsEnabledPtrOutput) PermissiveOutputFirewallRules() pulumi.BoolPtrOutput
- func (o SecuritySolutionRecommendationsEnabledPtrOutput) PrivilegedDockerOptions() pulumi.BoolPtrOutput
- func (o SecuritySolutionRecommendationsEnabledPtrOutput) SharedCredentials() pulumi.BoolPtrOutput
- func (o SecuritySolutionRecommendationsEnabledPtrOutput) ToSecuritySolutionRecommendationsEnabledPtrOutput() SecuritySolutionRecommendationsEnabledPtrOutput
- func (o SecuritySolutionRecommendationsEnabledPtrOutput) ToSecuritySolutionRecommendationsEnabledPtrOutputWithContext(ctx context.Context) SecuritySolutionRecommendationsEnabledPtrOutput
- func (o SecuritySolutionRecommendationsEnabledPtrOutput) VulnerableTlsCipherSuite() pulumi.BoolPtrOutput
- type SecuritySolutionState
- type SharedAccessPolicy
- func (*SharedAccessPolicy) ElementType() reflect.Type
- func (i *SharedAccessPolicy) ToSharedAccessPolicyOutput() SharedAccessPolicyOutput
- func (i *SharedAccessPolicy) ToSharedAccessPolicyOutputWithContext(ctx context.Context) SharedAccessPolicyOutput
- func (i *SharedAccessPolicy) ToSharedAccessPolicyPtrOutput() SharedAccessPolicyPtrOutput
- func (i *SharedAccessPolicy) ToSharedAccessPolicyPtrOutputWithContext(ctx context.Context) SharedAccessPolicyPtrOutput
- type SharedAccessPolicyArgs
- type SharedAccessPolicyArray
- type SharedAccessPolicyArrayInput
- type SharedAccessPolicyArrayOutput
- func (SharedAccessPolicyArrayOutput) ElementType() reflect.Type
- func (o SharedAccessPolicyArrayOutput) Index(i pulumi.IntInput) SharedAccessPolicyOutput
- func (o SharedAccessPolicyArrayOutput) ToSharedAccessPolicyArrayOutput() SharedAccessPolicyArrayOutput
- func (o SharedAccessPolicyArrayOutput) ToSharedAccessPolicyArrayOutputWithContext(ctx context.Context) SharedAccessPolicyArrayOutput
- type SharedAccessPolicyInput
- type SharedAccessPolicyMap
- type SharedAccessPolicyMapInput
- type SharedAccessPolicyMapOutput
- func (SharedAccessPolicyMapOutput) ElementType() reflect.Type
- func (o SharedAccessPolicyMapOutput) MapIndex(k pulumi.StringInput) SharedAccessPolicyOutput
- func (o SharedAccessPolicyMapOutput) ToSharedAccessPolicyMapOutput() SharedAccessPolicyMapOutput
- func (o SharedAccessPolicyMapOutput) ToSharedAccessPolicyMapOutputWithContext(ctx context.Context) SharedAccessPolicyMapOutput
- type SharedAccessPolicyOutput
- func (SharedAccessPolicyOutput) ElementType() reflect.Type
- func (o SharedAccessPolicyOutput) ToSharedAccessPolicyOutput() SharedAccessPolicyOutput
- func (o SharedAccessPolicyOutput) ToSharedAccessPolicyOutputWithContext(ctx context.Context) SharedAccessPolicyOutput
- func (o SharedAccessPolicyOutput) ToSharedAccessPolicyPtrOutput() SharedAccessPolicyPtrOutput
- func (o SharedAccessPolicyOutput) ToSharedAccessPolicyPtrOutputWithContext(ctx context.Context) SharedAccessPolicyPtrOutput
- type SharedAccessPolicyPtrInput
- type SharedAccessPolicyPtrOutput
- type SharedAccessPolicyState
- type TimeSeriesInsightsAccessPolicy
- func (*TimeSeriesInsightsAccessPolicy) ElementType() reflect.Type
- func (i *TimeSeriesInsightsAccessPolicy) ToTimeSeriesInsightsAccessPolicyOutput() TimeSeriesInsightsAccessPolicyOutput
- func (i *TimeSeriesInsightsAccessPolicy) ToTimeSeriesInsightsAccessPolicyOutputWithContext(ctx context.Context) TimeSeriesInsightsAccessPolicyOutput
- func (i *TimeSeriesInsightsAccessPolicy) ToTimeSeriesInsightsAccessPolicyPtrOutput() TimeSeriesInsightsAccessPolicyPtrOutput
- func (i *TimeSeriesInsightsAccessPolicy) ToTimeSeriesInsightsAccessPolicyPtrOutputWithContext(ctx context.Context) TimeSeriesInsightsAccessPolicyPtrOutput
- type TimeSeriesInsightsAccessPolicyArgs
- type TimeSeriesInsightsAccessPolicyArray
- func (TimeSeriesInsightsAccessPolicyArray) ElementType() reflect.Type
- func (i TimeSeriesInsightsAccessPolicyArray) ToTimeSeriesInsightsAccessPolicyArrayOutput() TimeSeriesInsightsAccessPolicyArrayOutput
- func (i TimeSeriesInsightsAccessPolicyArray) ToTimeSeriesInsightsAccessPolicyArrayOutputWithContext(ctx context.Context) TimeSeriesInsightsAccessPolicyArrayOutput
- type TimeSeriesInsightsAccessPolicyArrayInput
- type TimeSeriesInsightsAccessPolicyArrayOutput
- func (TimeSeriesInsightsAccessPolicyArrayOutput) ElementType() reflect.Type
- func (o TimeSeriesInsightsAccessPolicyArrayOutput) Index(i pulumi.IntInput) TimeSeriesInsightsAccessPolicyOutput
- func (o TimeSeriesInsightsAccessPolicyArrayOutput) ToTimeSeriesInsightsAccessPolicyArrayOutput() TimeSeriesInsightsAccessPolicyArrayOutput
- func (o TimeSeriesInsightsAccessPolicyArrayOutput) ToTimeSeriesInsightsAccessPolicyArrayOutputWithContext(ctx context.Context) TimeSeriesInsightsAccessPolicyArrayOutput
- type TimeSeriesInsightsAccessPolicyInput
- type TimeSeriesInsightsAccessPolicyMap
- func (TimeSeriesInsightsAccessPolicyMap) ElementType() reflect.Type
- func (i TimeSeriesInsightsAccessPolicyMap) ToTimeSeriesInsightsAccessPolicyMapOutput() TimeSeriesInsightsAccessPolicyMapOutput
- func (i TimeSeriesInsightsAccessPolicyMap) ToTimeSeriesInsightsAccessPolicyMapOutputWithContext(ctx context.Context) TimeSeriesInsightsAccessPolicyMapOutput
- type TimeSeriesInsightsAccessPolicyMapInput
- type TimeSeriesInsightsAccessPolicyMapOutput
- func (TimeSeriesInsightsAccessPolicyMapOutput) ElementType() reflect.Type
- func (o TimeSeriesInsightsAccessPolicyMapOutput) MapIndex(k pulumi.StringInput) TimeSeriesInsightsAccessPolicyOutput
- func (o TimeSeriesInsightsAccessPolicyMapOutput) ToTimeSeriesInsightsAccessPolicyMapOutput() TimeSeriesInsightsAccessPolicyMapOutput
- func (o TimeSeriesInsightsAccessPolicyMapOutput) ToTimeSeriesInsightsAccessPolicyMapOutputWithContext(ctx context.Context) TimeSeriesInsightsAccessPolicyMapOutput
- type TimeSeriesInsightsAccessPolicyOutput
- func (TimeSeriesInsightsAccessPolicyOutput) ElementType() reflect.Type
- func (o TimeSeriesInsightsAccessPolicyOutput) ToTimeSeriesInsightsAccessPolicyOutput() TimeSeriesInsightsAccessPolicyOutput
- func (o TimeSeriesInsightsAccessPolicyOutput) ToTimeSeriesInsightsAccessPolicyOutputWithContext(ctx context.Context) TimeSeriesInsightsAccessPolicyOutput
- func (o TimeSeriesInsightsAccessPolicyOutput) ToTimeSeriesInsightsAccessPolicyPtrOutput() TimeSeriesInsightsAccessPolicyPtrOutput
- func (o TimeSeriesInsightsAccessPolicyOutput) ToTimeSeriesInsightsAccessPolicyPtrOutputWithContext(ctx context.Context) TimeSeriesInsightsAccessPolicyPtrOutput
- type TimeSeriesInsightsAccessPolicyPtrInput
- type TimeSeriesInsightsAccessPolicyPtrOutput
- func (TimeSeriesInsightsAccessPolicyPtrOutput) ElementType() reflect.Type
- func (o TimeSeriesInsightsAccessPolicyPtrOutput) ToTimeSeriesInsightsAccessPolicyPtrOutput() TimeSeriesInsightsAccessPolicyPtrOutput
- func (o TimeSeriesInsightsAccessPolicyPtrOutput) ToTimeSeriesInsightsAccessPolicyPtrOutputWithContext(ctx context.Context) TimeSeriesInsightsAccessPolicyPtrOutput
- type TimeSeriesInsightsAccessPolicyState
- type TimeSeriesInsightsEventSourceIothub
- func (*TimeSeriesInsightsEventSourceIothub) ElementType() reflect.Type
- func (i *TimeSeriesInsightsEventSourceIothub) ToTimeSeriesInsightsEventSourceIothubOutput() TimeSeriesInsightsEventSourceIothubOutput
- func (i *TimeSeriesInsightsEventSourceIothub) ToTimeSeriesInsightsEventSourceIothubOutputWithContext(ctx context.Context) TimeSeriesInsightsEventSourceIothubOutput
- func (i *TimeSeriesInsightsEventSourceIothub) ToTimeSeriesInsightsEventSourceIothubPtrOutput() TimeSeriesInsightsEventSourceIothubPtrOutput
- func (i *TimeSeriesInsightsEventSourceIothub) ToTimeSeriesInsightsEventSourceIothubPtrOutputWithContext(ctx context.Context) TimeSeriesInsightsEventSourceIothubPtrOutput
- type TimeSeriesInsightsEventSourceIothubArgs
- type TimeSeriesInsightsEventSourceIothubArray
- func (TimeSeriesInsightsEventSourceIothubArray) ElementType() reflect.Type
- func (i TimeSeriesInsightsEventSourceIothubArray) ToTimeSeriesInsightsEventSourceIothubArrayOutput() TimeSeriesInsightsEventSourceIothubArrayOutput
- func (i TimeSeriesInsightsEventSourceIothubArray) ToTimeSeriesInsightsEventSourceIothubArrayOutputWithContext(ctx context.Context) TimeSeriesInsightsEventSourceIothubArrayOutput
- type TimeSeriesInsightsEventSourceIothubArrayInput
- type TimeSeriesInsightsEventSourceIothubArrayOutput
- func (TimeSeriesInsightsEventSourceIothubArrayOutput) ElementType() reflect.Type
- func (o TimeSeriesInsightsEventSourceIothubArrayOutput) Index(i pulumi.IntInput) TimeSeriesInsightsEventSourceIothubOutput
- func (o TimeSeriesInsightsEventSourceIothubArrayOutput) ToTimeSeriesInsightsEventSourceIothubArrayOutput() TimeSeriesInsightsEventSourceIothubArrayOutput
- func (o TimeSeriesInsightsEventSourceIothubArrayOutput) ToTimeSeriesInsightsEventSourceIothubArrayOutputWithContext(ctx context.Context) TimeSeriesInsightsEventSourceIothubArrayOutput
- type TimeSeriesInsightsEventSourceIothubInput
- type TimeSeriesInsightsEventSourceIothubMap
- func (TimeSeriesInsightsEventSourceIothubMap) ElementType() reflect.Type
- func (i TimeSeriesInsightsEventSourceIothubMap) ToTimeSeriesInsightsEventSourceIothubMapOutput() TimeSeriesInsightsEventSourceIothubMapOutput
- func (i TimeSeriesInsightsEventSourceIothubMap) ToTimeSeriesInsightsEventSourceIothubMapOutputWithContext(ctx context.Context) TimeSeriesInsightsEventSourceIothubMapOutput
- type TimeSeriesInsightsEventSourceIothubMapInput
- type TimeSeriesInsightsEventSourceIothubMapOutput
- func (TimeSeriesInsightsEventSourceIothubMapOutput) ElementType() reflect.Type
- func (o TimeSeriesInsightsEventSourceIothubMapOutput) MapIndex(k pulumi.StringInput) TimeSeriesInsightsEventSourceIothubOutput
- func (o TimeSeriesInsightsEventSourceIothubMapOutput) ToTimeSeriesInsightsEventSourceIothubMapOutput() TimeSeriesInsightsEventSourceIothubMapOutput
- func (o TimeSeriesInsightsEventSourceIothubMapOutput) ToTimeSeriesInsightsEventSourceIothubMapOutputWithContext(ctx context.Context) TimeSeriesInsightsEventSourceIothubMapOutput
- type TimeSeriesInsightsEventSourceIothubOutput
- func (TimeSeriesInsightsEventSourceIothubOutput) ElementType() reflect.Type
- func (o TimeSeriesInsightsEventSourceIothubOutput) ToTimeSeriesInsightsEventSourceIothubOutput() TimeSeriesInsightsEventSourceIothubOutput
- func (o TimeSeriesInsightsEventSourceIothubOutput) ToTimeSeriesInsightsEventSourceIothubOutputWithContext(ctx context.Context) TimeSeriesInsightsEventSourceIothubOutput
- func (o TimeSeriesInsightsEventSourceIothubOutput) ToTimeSeriesInsightsEventSourceIothubPtrOutput() TimeSeriesInsightsEventSourceIothubPtrOutput
- func (o TimeSeriesInsightsEventSourceIothubOutput) ToTimeSeriesInsightsEventSourceIothubPtrOutputWithContext(ctx context.Context) TimeSeriesInsightsEventSourceIothubPtrOutput
- type TimeSeriesInsightsEventSourceIothubPtrInput
- type TimeSeriesInsightsEventSourceIothubPtrOutput
- func (TimeSeriesInsightsEventSourceIothubPtrOutput) ElementType() reflect.Type
- func (o TimeSeriesInsightsEventSourceIothubPtrOutput) ToTimeSeriesInsightsEventSourceIothubPtrOutput() TimeSeriesInsightsEventSourceIothubPtrOutput
- func (o TimeSeriesInsightsEventSourceIothubPtrOutput) ToTimeSeriesInsightsEventSourceIothubPtrOutputWithContext(ctx context.Context) TimeSeriesInsightsEventSourceIothubPtrOutput
- type TimeSeriesInsightsEventSourceIothubState
- type TimeSeriesInsightsGen2Environment
- func GetTimeSeriesInsightsGen2Environment(ctx *pulumi.Context, name string, id pulumi.IDInput, ...) (*TimeSeriesInsightsGen2Environment, error)
- func NewTimeSeriesInsightsGen2Environment(ctx *pulumi.Context, name string, args *TimeSeriesInsightsGen2EnvironmentArgs, ...) (*TimeSeriesInsightsGen2Environment, error)
- func (*TimeSeriesInsightsGen2Environment) ElementType() reflect.Type
- func (i *TimeSeriesInsightsGen2Environment) ToTimeSeriesInsightsGen2EnvironmentOutput() TimeSeriesInsightsGen2EnvironmentOutput
- func (i *TimeSeriesInsightsGen2Environment) ToTimeSeriesInsightsGen2EnvironmentOutputWithContext(ctx context.Context) TimeSeriesInsightsGen2EnvironmentOutput
- func (i *TimeSeriesInsightsGen2Environment) ToTimeSeriesInsightsGen2EnvironmentPtrOutput() TimeSeriesInsightsGen2EnvironmentPtrOutput
- func (i *TimeSeriesInsightsGen2Environment) ToTimeSeriesInsightsGen2EnvironmentPtrOutputWithContext(ctx context.Context) TimeSeriesInsightsGen2EnvironmentPtrOutput
- type TimeSeriesInsightsGen2EnvironmentArgs
- type TimeSeriesInsightsGen2EnvironmentArray
- func (TimeSeriesInsightsGen2EnvironmentArray) ElementType() reflect.Type
- func (i TimeSeriesInsightsGen2EnvironmentArray) ToTimeSeriesInsightsGen2EnvironmentArrayOutput() TimeSeriesInsightsGen2EnvironmentArrayOutput
- func (i TimeSeriesInsightsGen2EnvironmentArray) ToTimeSeriesInsightsGen2EnvironmentArrayOutputWithContext(ctx context.Context) TimeSeriesInsightsGen2EnvironmentArrayOutput
- type TimeSeriesInsightsGen2EnvironmentArrayInput
- type TimeSeriesInsightsGen2EnvironmentArrayOutput
- func (TimeSeriesInsightsGen2EnvironmentArrayOutput) ElementType() reflect.Type
- func (o TimeSeriesInsightsGen2EnvironmentArrayOutput) Index(i pulumi.IntInput) TimeSeriesInsightsGen2EnvironmentOutput
- func (o TimeSeriesInsightsGen2EnvironmentArrayOutput) ToTimeSeriesInsightsGen2EnvironmentArrayOutput() TimeSeriesInsightsGen2EnvironmentArrayOutput
- func (o TimeSeriesInsightsGen2EnvironmentArrayOutput) ToTimeSeriesInsightsGen2EnvironmentArrayOutputWithContext(ctx context.Context) TimeSeriesInsightsGen2EnvironmentArrayOutput
- type TimeSeriesInsightsGen2EnvironmentInput
- type TimeSeriesInsightsGen2EnvironmentMap
- func (TimeSeriesInsightsGen2EnvironmentMap) ElementType() reflect.Type
- func (i TimeSeriesInsightsGen2EnvironmentMap) ToTimeSeriesInsightsGen2EnvironmentMapOutput() TimeSeriesInsightsGen2EnvironmentMapOutput
- func (i TimeSeriesInsightsGen2EnvironmentMap) ToTimeSeriesInsightsGen2EnvironmentMapOutputWithContext(ctx context.Context) TimeSeriesInsightsGen2EnvironmentMapOutput
- type TimeSeriesInsightsGen2EnvironmentMapInput
- type TimeSeriesInsightsGen2EnvironmentMapOutput
- func (TimeSeriesInsightsGen2EnvironmentMapOutput) ElementType() reflect.Type
- func (o TimeSeriesInsightsGen2EnvironmentMapOutput) MapIndex(k pulumi.StringInput) TimeSeriesInsightsGen2EnvironmentOutput
- func (o TimeSeriesInsightsGen2EnvironmentMapOutput) ToTimeSeriesInsightsGen2EnvironmentMapOutput() TimeSeriesInsightsGen2EnvironmentMapOutput
- func (o TimeSeriesInsightsGen2EnvironmentMapOutput) ToTimeSeriesInsightsGen2EnvironmentMapOutputWithContext(ctx context.Context) TimeSeriesInsightsGen2EnvironmentMapOutput
- type TimeSeriesInsightsGen2EnvironmentOutput
- func (TimeSeriesInsightsGen2EnvironmentOutput) ElementType() reflect.Type
- func (o TimeSeriesInsightsGen2EnvironmentOutput) ToTimeSeriesInsightsGen2EnvironmentOutput() TimeSeriesInsightsGen2EnvironmentOutput
- func (o TimeSeriesInsightsGen2EnvironmentOutput) ToTimeSeriesInsightsGen2EnvironmentOutputWithContext(ctx context.Context) TimeSeriesInsightsGen2EnvironmentOutput
- func (o TimeSeriesInsightsGen2EnvironmentOutput) ToTimeSeriesInsightsGen2EnvironmentPtrOutput() TimeSeriesInsightsGen2EnvironmentPtrOutput
- func (o TimeSeriesInsightsGen2EnvironmentOutput) ToTimeSeriesInsightsGen2EnvironmentPtrOutputWithContext(ctx context.Context) TimeSeriesInsightsGen2EnvironmentPtrOutput
- type TimeSeriesInsightsGen2EnvironmentPtrInput
- type TimeSeriesInsightsGen2EnvironmentPtrOutput
- func (TimeSeriesInsightsGen2EnvironmentPtrOutput) ElementType() reflect.Type
- func (o TimeSeriesInsightsGen2EnvironmentPtrOutput) ToTimeSeriesInsightsGen2EnvironmentPtrOutput() TimeSeriesInsightsGen2EnvironmentPtrOutput
- func (o TimeSeriesInsightsGen2EnvironmentPtrOutput) ToTimeSeriesInsightsGen2EnvironmentPtrOutputWithContext(ctx context.Context) TimeSeriesInsightsGen2EnvironmentPtrOutput
- type TimeSeriesInsightsGen2EnvironmentState
- type TimeSeriesInsightsGen2EnvironmentStorage
- type TimeSeriesInsightsGen2EnvironmentStorageArgs
- func (TimeSeriesInsightsGen2EnvironmentStorageArgs) ElementType() reflect.Type
- func (i TimeSeriesInsightsGen2EnvironmentStorageArgs) ToTimeSeriesInsightsGen2EnvironmentStorageOutput() TimeSeriesInsightsGen2EnvironmentStorageOutput
- func (i TimeSeriesInsightsGen2EnvironmentStorageArgs) ToTimeSeriesInsightsGen2EnvironmentStorageOutputWithContext(ctx context.Context) TimeSeriesInsightsGen2EnvironmentStorageOutput
- func (i TimeSeriesInsightsGen2EnvironmentStorageArgs) ToTimeSeriesInsightsGen2EnvironmentStoragePtrOutput() TimeSeriesInsightsGen2EnvironmentStoragePtrOutput
- func (i TimeSeriesInsightsGen2EnvironmentStorageArgs) ToTimeSeriesInsightsGen2EnvironmentStoragePtrOutputWithContext(ctx context.Context) TimeSeriesInsightsGen2EnvironmentStoragePtrOutput
- type TimeSeriesInsightsGen2EnvironmentStorageInput
- type TimeSeriesInsightsGen2EnvironmentStorageOutput
- func (TimeSeriesInsightsGen2EnvironmentStorageOutput) ElementType() reflect.Type
- func (o TimeSeriesInsightsGen2EnvironmentStorageOutput) Key() pulumi.StringOutput
- func (o TimeSeriesInsightsGen2EnvironmentStorageOutput) Name() pulumi.StringOutput
- func (o TimeSeriesInsightsGen2EnvironmentStorageOutput) ToTimeSeriesInsightsGen2EnvironmentStorageOutput() TimeSeriesInsightsGen2EnvironmentStorageOutput
- func (o TimeSeriesInsightsGen2EnvironmentStorageOutput) ToTimeSeriesInsightsGen2EnvironmentStorageOutputWithContext(ctx context.Context) TimeSeriesInsightsGen2EnvironmentStorageOutput
- func (o TimeSeriesInsightsGen2EnvironmentStorageOutput) ToTimeSeriesInsightsGen2EnvironmentStoragePtrOutput() TimeSeriesInsightsGen2EnvironmentStoragePtrOutput
- func (o TimeSeriesInsightsGen2EnvironmentStorageOutput) ToTimeSeriesInsightsGen2EnvironmentStoragePtrOutputWithContext(ctx context.Context) TimeSeriesInsightsGen2EnvironmentStoragePtrOutput
- type TimeSeriesInsightsGen2EnvironmentStoragePtrInput
- type TimeSeriesInsightsGen2EnvironmentStoragePtrOutput
- func (o TimeSeriesInsightsGen2EnvironmentStoragePtrOutput) Elem() TimeSeriesInsightsGen2EnvironmentStorageOutput
- func (TimeSeriesInsightsGen2EnvironmentStoragePtrOutput) ElementType() reflect.Type
- func (o TimeSeriesInsightsGen2EnvironmentStoragePtrOutput) Key() pulumi.StringPtrOutput
- func (o TimeSeriesInsightsGen2EnvironmentStoragePtrOutput) Name() pulumi.StringPtrOutput
- func (o TimeSeriesInsightsGen2EnvironmentStoragePtrOutput) ToTimeSeriesInsightsGen2EnvironmentStoragePtrOutput() TimeSeriesInsightsGen2EnvironmentStoragePtrOutput
- func (o TimeSeriesInsightsGen2EnvironmentStoragePtrOutput) ToTimeSeriesInsightsGen2EnvironmentStoragePtrOutputWithContext(ctx context.Context) TimeSeriesInsightsGen2EnvironmentStoragePtrOutput
- type TimeSeriesInsightsReferenceDataSet
- func GetTimeSeriesInsightsReferenceDataSet(ctx *pulumi.Context, name string, id pulumi.IDInput, ...) (*TimeSeriesInsightsReferenceDataSet, error)
- func NewTimeSeriesInsightsReferenceDataSet(ctx *pulumi.Context, name string, args *TimeSeriesInsightsReferenceDataSetArgs, ...) (*TimeSeriesInsightsReferenceDataSet, error)
- func (*TimeSeriesInsightsReferenceDataSet) ElementType() reflect.Type
- func (i *TimeSeriesInsightsReferenceDataSet) ToTimeSeriesInsightsReferenceDataSetOutput() TimeSeriesInsightsReferenceDataSetOutput
- func (i *TimeSeriesInsightsReferenceDataSet) ToTimeSeriesInsightsReferenceDataSetOutputWithContext(ctx context.Context) TimeSeriesInsightsReferenceDataSetOutput
- func (i *TimeSeriesInsightsReferenceDataSet) ToTimeSeriesInsightsReferenceDataSetPtrOutput() TimeSeriesInsightsReferenceDataSetPtrOutput
- func (i *TimeSeriesInsightsReferenceDataSet) ToTimeSeriesInsightsReferenceDataSetPtrOutputWithContext(ctx context.Context) TimeSeriesInsightsReferenceDataSetPtrOutput
- type TimeSeriesInsightsReferenceDataSetArgs
- type TimeSeriesInsightsReferenceDataSetArray
- func (TimeSeriesInsightsReferenceDataSetArray) ElementType() reflect.Type
- func (i TimeSeriesInsightsReferenceDataSetArray) ToTimeSeriesInsightsReferenceDataSetArrayOutput() TimeSeriesInsightsReferenceDataSetArrayOutput
- func (i TimeSeriesInsightsReferenceDataSetArray) ToTimeSeriesInsightsReferenceDataSetArrayOutputWithContext(ctx context.Context) TimeSeriesInsightsReferenceDataSetArrayOutput
- type TimeSeriesInsightsReferenceDataSetArrayInput
- type TimeSeriesInsightsReferenceDataSetArrayOutput
- func (TimeSeriesInsightsReferenceDataSetArrayOutput) ElementType() reflect.Type
- func (o TimeSeriesInsightsReferenceDataSetArrayOutput) Index(i pulumi.IntInput) TimeSeriesInsightsReferenceDataSetOutput
- func (o TimeSeriesInsightsReferenceDataSetArrayOutput) ToTimeSeriesInsightsReferenceDataSetArrayOutput() TimeSeriesInsightsReferenceDataSetArrayOutput
- func (o TimeSeriesInsightsReferenceDataSetArrayOutput) ToTimeSeriesInsightsReferenceDataSetArrayOutputWithContext(ctx context.Context) TimeSeriesInsightsReferenceDataSetArrayOutput
- type TimeSeriesInsightsReferenceDataSetInput
- type TimeSeriesInsightsReferenceDataSetKeyProperty
- type TimeSeriesInsightsReferenceDataSetKeyPropertyArgs
- func (TimeSeriesInsightsReferenceDataSetKeyPropertyArgs) ElementType() reflect.Type
- func (i TimeSeriesInsightsReferenceDataSetKeyPropertyArgs) ToTimeSeriesInsightsReferenceDataSetKeyPropertyOutput() TimeSeriesInsightsReferenceDataSetKeyPropertyOutput
- func (i TimeSeriesInsightsReferenceDataSetKeyPropertyArgs) ToTimeSeriesInsightsReferenceDataSetKeyPropertyOutputWithContext(ctx context.Context) TimeSeriesInsightsReferenceDataSetKeyPropertyOutput
- type TimeSeriesInsightsReferenceDataSetKeyPropertyArray
- func (TimeSeriesInsightsReferenceDataSetKeyPropertyArray) ElementType() reflect.Type
- func (i TimeSeriesInsightsReferenceDataSetKeyPropertyArray) ToTimeSeriesInsightsReferenceDataSetKeyPropertyArrayOutput() TimeSeriesInsightsReferenceDataSetKeyPropertyArrayOutput
- func (i TimeSeriesInsightsReferenceDataSetKeyPropertyArray) ToTimeSeriesInsightsReferenceDataSetKeyPropertyArrayOutputWithContext(ctx context.Context) TimeSeriesInsightsReferenceDataSetKeyPropertyArrayOutput
- type TimeSeriesInsightsReferenceDataSetKeyPropertyArrayInput
- type TimeSeriesInsightsReferenceDataSetKeyPropertyArrayOutput
- func (TimeSeriesInsightsReferenceDataSetKeyPropertyArrayOutput) ElementType() reflect.Type
- func (o TimeSeriesInsightsReferenceDataSetKeyPropertyArrayOutput) Index(i pulumi.IntInput) TimeSeriesInsightsReferenceDataSetKeyPropertyOutput
- func (o TimeSeriesInsightsReferenceDataSetKeyPropertyArrayOutput) ToTimeSeriesInsightsReferenceDataSetKeyPropertyArrayOutput() TimeSeriesInsightsReferenceDataSetKeyPropertyArrayOutput
- func (o TimeSeriesInsightsReferenceDataSetKeyPropertyArrayOutput) ToTimeSeriesInsightsReferenceDataSetKeyPropertyArrayOutputWithContext(ctx context.Context) TimeSeriesInsightsReferenceDataSetKeyPropertyArrayOutput
- type TimeSeriesInsightsReferenceDataSetKeyPropertyInput
- type TimeSeriesInsightsReferenceDataSetKeyPropertyOutput
- func (TimeSeriesInsightsReferenceDataSetKeyPropertyOutput) ElementType() reflect.Type
- func (o TimeSeriesInsightsReferenceDataSetKeyPropertyOutput) Name() pulumi.StringOutput
- func (o TimeSeriesInsightsReferenceDataSetKeyPropertyOutput) ToTimeSeriesInsightsReferenceDataSetKeyPropertyOutput() TimeSeriesInsightsReferenceDataSetKeyPropertyOutput
- func (o TimeSeriesInsightsReferenceDataSetKeyPropertyOutput) ToTimeSeriesInsightsReferenceDataSetKeyPropertyOutputWithContext(ctx context.Context) TimeSeriesInsightsReferenceDataSetKeyPropertyOutput
- func (o TimeSeriesInsightsReferenceDataSetKeyPropertyOutput) Type() pulumi.StringOutput
- type TimeSeriesInsightsReferenceDataSetMap
- func (TimeSeriesInsightsReferenceDataSetMap) ElementType() reflect.Type
- func (i TimeSeriesInsightsReferenceDataSetMap) ToTimeSeriesInsightsReferenceDataSetMapOutput() TimeSeriesInsightsReferenceDataSetMapOutput
- func (i TimeSeriesInsightsReferenceDataSetMap) ToTimeSeriesInsightsReferenceDataSetMapOutputWithContext(ctx context.Context) TimeSeriesInsightsReferenceDataSetMapOutput
- type TimeSeriesInsightsReferenceDataSetMapInput
- type TimeSeriesInsightsReferenceDataSetMapOutput
- func (TimeSeriesInsightsReferenceDataSetMapOutput) ElementType() reflect.Type
- func (o TimeSeriesInsightsReferenceDataSetMapOutput) MapIndex(k pulumi.StringInput) TimeSeriesInsightsReferenceDataSetOutput
- func (o TimeSeriesInsightsReferenceDataSetMapOutput) ToTimeSeriesInsightsReferenceDataSetMapOutput() TimeSeriesInsightsReferenceDataSetMapOutput
- func (o TimeSeriesInsightsReferenceDataSetMapOutput) ToTimeSeriesInsightsReferenceDataSetMapOutputWithContext(ctx context.Context) TimeSeriesInsightsReferenceDataSetMapOutput
- type TimeSeriesInsightsReferenceDataSetOutput
- func (TimeSeriesInsightsReferenceDataSetOutput) ElementType() reflect.Type
- func (o TimeSeriesInsightsReferenceDataSetOutput) ToTimeSeriesInsightsReferenceDataSetOutput() TimeSeriesInsightsReferenceDataSetOutput
- func (o TimeSeriesInsightsReferenceDataSetOutput) ToTimeSeriesInsightsReferenceDataSetOutputWithContext(ctx context.Context) TimeSeriesInsightsReferenceDataSetOutput
- func (o TimeSeriesInsightsReferenceDataSetOutput) ToTimeSeriesInsightsReferenceDataSetPtrOutput() TimeSeriesInsightsReferenceDataSetPtrOutput
- func (o TimeSeriesInsightsReferenceDataSetOutput) ToTimeSeriesInsightsReferenceDataSetPtrOutputWithContext(ctx context.Context) TimeSeriesInsightsReferenceDataSetPtrOutput
- type TimeSeriesInsightsReferenceDataSetPtrInput
- type TimeSeriesInsightsReferenceDataSetPtrOutput
- func (TimeSeriesInsightsReferenceDataSetPtrOutput) ElementType() reflect.Type
- func (o TimeSeriesInsightsReferenceDataSetPtrOutput) ToTimeSeriesInsightsReferenceDataSetPtrOutput() TimeSeriesInsightsReferenceDataSetPtrOutput
- func (o TimeSeriesInsightsReferenceDataSetPtrOutput) ToTimeSeriesInsightsReferenceDataSetPtrOutputWithContext(ctx context.Context) TimeSeriesInsightsReferenceDataSetPtrOutput
- type TimeSeriesInsightsReferenceDataSetState
- type TimeSeriesInsightsStandardEnvironment
- func (*TimeSeriesInsightsStandardEnvironment) ElementType() reflect.Type
- func (i *TimeSeriesInsightsStandardEnvironment) ToTimeSeriesInsightsStandardEnvironmentOutput() TimeSeriesInsightsStandardEnvironmentOutput
- func (i *TimeSeriesInsightsStandardEnvironment) ToTimeSeriesInsightsStandardEnvironmentOutputWithContext(ctx context.Context) TimeSeriesInsightsStandardEnvironmentOutput
- func (i *TimeSeriesInsightsStandardEnvironment) ToTimeSeriesInsightsStandardEnvironmentPtrOutput() TimeSeriesInsightsStandardEnvironmentPtrOutput
- func (i *TimeSeriesInsightsStandardEnvironment) ToTimeSeriesInsightsStandardEnvironmentPtrOutputWithContext(ctx context.Context) TimeSeriesInsightsStandardEnvironmentPtrOutput
- type TimeSeriesInsightsStandardEnvironmentArgs
- type TimeSeriesInsightsStandardEnvironmentArray
- func (TimeSeriesInsightsStandardEnvironmentArray) ElementType() reflect.Type
- func (i TimeSeriesInsightsStandardEnvironmentArray) ToTimeSeriesInsightsStandardEnvironmentArrayOutput() TimeSeriesInsightsStandardEnvironmentArrayOutput
- func (i TimeSeriesInsightsStandardEnvironmentArray) ToTimeSeriesInsightsStandardEnvironmentArrayOutputWithContext(ctx context.Context) TimeSeriesInsightsStandardEnvironmentArrayOutput
- type TimeSeriesInsightsStandardEnvironmentArrayInput
- type TimeSeriesInsightsStandardEnvironmentArrayOutput
- func (TimeSeriesInsightsStandardEnvironmentArrayOutput) ElementType() reflect.Type
- func (o TimeSeriesInsightsStandardEnvironmentArrayOutput) Index(i pulumi.IntInput) TimeSeriesInsightsStandardEnvironmentOutput
- func (o TimeSeriesInsightsStandardEnvironmentArrayOutput) ToTimeSeriesInsightsStandardEnvironmentArrayOutput() TimeSeriesInsightsStandardEnvironmentArrayOutput
- func (o TimeSeriesInsightsStandardEnvironmentArrayOutput) ToTimeSeriesInsightsStandardEnvironmentArrayOutputWithContext(ctx context.Context) TimeSeriesInsightsStandardEnvironmentArrayOutput
- type TimeSeriesInsightsStandardEnvironmentInput
- type TimeSeriesInsightsStandardEnvironmentMap
- func (TimeSeriesInsightsStandardEnvironmentMap) ElementType() reflect.Type
- func (i TimeSeriesInsightsStandardEnvironmentMap) ToTimeSeriesInsightsStandardEnvironmentMapOutput() TimeSeriesInsightsStandardEnvironmentMapOutput
- func (i TimeSeriesInsightsStandardEnvironmentMap) ToTimeSeriesInsightsStandardEnvironmentMapOutputWithContext(ctx context.Context) TimeSeriesInsightsStandardEnvironmentMapOutput
- type TimeSeriesInsightsStandardEnvironmentMapInput
- type TimeSeriesInsightsStandardEnvironmentMapOutput
- func (TimeSeriesInsightsStandardEnvironmentMapOutput) ElementType() reflect.Type
- func (o TimeSeriesInsightsStandardEnvironmentMapOutput) MapIndex(k pulumi.StringInput) TimeSeriesInsightsStandardEnvironmentOutput
- func (o TimeSeriesInsightsStandardEnvironmentMapOutput) ToTimeSeriesInsightsStandardEnvironmentMapOutput() TimeSeriesInsightsStandardEnvironmentMapOutput
- func (o TimeSeriesInsightsStandardEnvironmentMapOutput) ToTimeSeriesInsightsStandardEnvironmentMapOutputWithContext(ctx context.Context) TimeSeriesInsightsStandardEnvironmentMapOutput
- type TimeSeriesInsightsStandardEnvironmentOutput
- func (TimeSeriesInsightsStandardEnvironmentOutput) ElementType() reflect.Type
- func (o TimeSeriesInsightsStandardEnvironmentOutput) ToTimeSeriesInsightsStandardEnvironmentOutput() TimeSeriesInsightsStandardEnvironmentOutput
- func (o TimeSeriesInsightsStandardEnvironmentOutput) ToTimeSeriesInsightsStandardEnvironmentOutputWithContext(ctx context.Context) TimeSeriesInsightsStandardEnvironmentOutput
- func (o TimeSeriesInsightsStandardEnvironmentOutput) ToTimeSeriesInsightsStandardEnvironmentPtrOutput() TimeSeriesInsightsStandardEnvironmentPtrOutput
- func (o TimeSeriesInsightsStandardEnvironmentOutput) ToTimeSeriesInsightsStandardEnvironmentPtrOutputWithContext(ctx context.Context) TimeSeriesInsightsStandardEnvironmentPtrOutput
- type TimeSeriesInsightsStandardEnvironmentPtrInput
- type TimeSeriesInsightsStandardEnvironmentPtrOutput
- func (TimeSeriesInsightsStandardEnvironmentPtrOutput) ElementType() reflect.Type
- func (o TimeSeriesInsightsStandardEnvironmentPtrOutput) ToTimeSeriesInsightsStandardEnvironmentPtrOutput() TimeSeriesInsightsStandardEnvironmentPtrOutput
- func (o TimeSeriesInsightsStandardEnvironmentPtrOutput) ToTimeSeriesInsightsStandardEnvironmentPtrOutputWithContext(ctx context.Context) TimeSeriesInsightsStandardEnvironmentPtrOutput
- type TimeSeriesInsightsStandardEnvironmentState
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
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/core" "github.com/pulumi/pulumi-azure/sdk/v4/go/azure/iot" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{ Location: pulumi.String("West Europe"), }) if err != nil { return err } exampleIoTHub, err := iot.NewIoTHub(ctx, "exampleIoTHub", &iot.IoTHubArgs{ ResourceGroupName: exampleResourceGroup.Name, Location: exampleResourceGroup.Location, Sku: &iot.IoTHubSkuArgs{ Name: pulumi.String("S1"), Capacity: pulumi.Int(1), }, Tags: pulumi.StringMap{ "purpose": pulumi.String("testing"), }, }) if err != nil { return err } _, err = iot.NewConsumerGroup(ctx, "exampleConsumerGroup", &iot.ConsumerGroupArgs{ IothubName: exampleIoTHub.Name, EventhubEndpointName: pulumi.String("events"), ResourceGroupName: exampleResourceGroup.Name, }) if err != nil { return err } return nil }) }
```
## Import
IoTHub Consumer Groups can be imported using the `resource id`, e.g.
```sh
$ pulumi import azure:iot/consumerGroup:ConsumerGroup group1 /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mygroup1/providers/Microsoft.Devices/IotHubs/hub1/eventHubEndpoints/events/ConsumerGroups/group1
```
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.
func (*ConsumerGroup) ElementType ¶
func (*ConsumerGroup) ElementType() reflect.Type
func (*ConsumerGroup) ToConsumerGroupOutput ¶
func (i *ConsumerGroup) ToConsumerGroupOutput() ConsumerGroupOutput
func (*ConsumerGroup) ToConsumerGroupOutputWithContext ¶
func (i *ConsumerGroup) ToConsumerGroupOutputWithContext(ctx context.Context) ConsumerGroupOutput
func (*ConsumerGroup) ToConsumerGroupPtrOutput ¶
func (i *ConsumerGroup) ToConsumerGroupPtrOutput() ConsumerGroupPtrOutput
func (*ConsumerGroup) ToConsumerGroupPtrOutputWithContext ¶
func (i *ConsumerGroup) ToConsumerGroupPtrOutputWithContext(ctx context.Context) ConsumerGroupPtrOutput
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 ConsumerGroupArray ¶
type ConsumerGroupArray []ConsumerGroupInput
func (ConsumerGroupArray) ElementType ¶
func (ConsumerGroupArray) ElementType() reflect.Type
func (ConsumerGroupArray) ToConsumerGroupArrayOutput ¶
func (i ConsumerGroupArray) ToConsumerGroupArrayOutput() ConsumerGroupArrayOutput
func (ConsumerGroupArray) ToConsumerGroupArrayOutputWithContext ¶
func (i ConsumerGroupArray) ToConsumerGroupArrayOutputWithContext(ctx context.Context) ConsumerGroupArrayOutput
type ConsumerGroupArrayInput ¶
type ConsumerGroupArrayInput interface { pulumi.Input ToConsumerGroupArrayOutput() ConsumerGroupArrayOutput ToConsumerGroupArrayOutputWithContext(context.Context) ConsumerGroupArrayOutput }
ConsumerGroupArrayInput is an input type that accepts ConsumerGroupArray and ConsumerGroupArrayOutput values. You can construct a concrete instance of `ConsumerGroupArrayInput` via:
ConsumerGroupArray{ ConsumerGroupArgs{...} }
type ConsumerGroupArrayOutput ¶
type ConsumerGroupArrayOutput struct{ *pulumi.OutputState }
func (ConsumerGroupArrayOutput) ElementType ¶
func (ConsumerGroupArrayOutput) ElementType() reflect.Type
func (ConsumerGroupArrayOutput) Index ¶
func (o ConsumerGroupArrayOutput) Index(i pulumi.IntInput) ConsumerGroupOutput
func (ConsumerGroupArrayOutput) ToConsumerGroupArrayOutput ¶
func (o ConsumerGroupArrayOutput) ToConsumerGroupArrayOutput() ConsumerGroupArrayOutput
func (ConsumerGroupArrayOutput) ToConsumerGroupArrayOutputWithContext ¶
func (o ConsumerGroupArrayOutput) ToConsumerGroupArrayOutputWithContext(ctx context.Context) ConsumerGroupArrayOutput
type ConsumerGroupInput ¶
type ConsumerGroupInput interface { pulumi.Input ToConsumerGroupOutput() ConsumerGroupOutput ToConsumerGroupOutputWithContext(ctx context.Context) ConsumerGroupOutput }
type ConsumerGroupMap ¶
type ConsumerGroupMap map[string]ConsumerGroupInput
func (ConsumerGroupMap) ElementType ¶
func (ConsumerGroupMap) ElementType() reflect.Type
func (ConsumerGroupMap) ToConsumerGroupMapOutput ¶
func (i ConsumerGroupMap) ToConsumerGroupMapOutput() ConsumerGroupMapOutput
func (ConsumerGroupMap) ToConsumerGroupMapOutputWithContext ¶
func (i ConsumerGroupMap) ToConsumerGroupMapOutputWithContext(ctx context.Context) ConsumerGroupMapOutput
type ConsumerGroupMapInput ¶
type ConsumerGroupMapInput interface { pulumi.Input ToConsumerGroupMapOutput() ConsumerGroupMapOutput ToConsumerGroupMapOutputWithContext(context.Context) ConsumerGroupMapOutput }
ConsumerGroupMapInput is an input type that accepts ConsumerGroupMap and ConsumerGroupMapOutput values. You can construct a concrete instance of `ConsumerGroupMapInput` via:
ConsumerGroupMap{ "key": ConsumerGroupArgs{...} }
type ConsumerGroupMapOutput ¶
type ConsumerGroupMapOutput struct{ *pulumi.OutputState }
func (ConsumerGroupMapOutput) ElementType ¶
func (ConsumerGroupMapOutput) ElementType() reflect.Type
func (ConsumerGroupMapOutput) MapIndex ¶
func (o ConsumerGroupMapOutput) MapIndex(k pulumi.StringInput) ConsumerGroupOutput
func (ConsumerGroupMapOutput) ToConsumerGroupMapOutput ¶
func (o ConsumerGroupMapOutput) ToConsumerGroupMapOutput() ConsumerGroupMapOutput
func (ConsumerGroupMapOutput) ToConsumerGroupMapOutputWithContext ¶
func (o ConsumerGroupMapOutput) ToConsumerGroupMapOutputWithContext(ctx context.Context) ConsumerGroupMapOutput
type ConsumerGroupOutput ¶
type ConsumerGroupOutput struct {
*pulumi.OutputState
}
func (ConsumerGroupOutput) ElementType ¶
func (ConsumerGroupOutput) ElementType() reflect.Type
func (ConsumerGroupOutput) ToConsumerGroupOutput ¶
func (o ConsumerGroupOutput) ToConsumerGroupOutput() ConsumerGroupOutput
func (ConsumerGroupOutput) ToConsumerGroupOutputWithContext ¶
func (o ConsumerGroupOutput) ToConsumerGroupOutputWithContext(ctx context.Context) ConsumerGroupOutput
func (ConsumerGroupOutput) ToConsumerGroupPtrOutput ¶
func (o ConsumerGroupOutput) ToConsumerGroupPtrOutput() ConsumerGroupPtrOutput
func (ConsumerGroupOutput) ToConsumerGroupPtrOutputWithContext ¶
func (o ConsumerGroupOutput) ToConsumerGroupPtrOutputWithContext(ctx context.Context) ConsumerGroupPtrOutput
type ConsumerGroupPtrInput ¶
type ConsumerGroupPtrInput interface { pulumi.Input ToConsumerGroupPtrOutput() ConsumerGroupPtrOutput ToConsumerGroupPtrOutputWithContext(ctx context.Context) ConsumerGroupPtrOutput }
type ConsumerGroupPtrOutput ¶
type ConsumerGroupPtrOutput struct {
*pulumi.OutputState
}
func (ConsumerGroupPtrOutput) ElementType ¶
func (ConsumerGroupPtrOutput) ElementType() reflect.Type
func (ConsumerGroupPtrOutput) ToConsumerGroupPtrOutput ¶
func (o ConsumerGroupPtrOutput) ToConsumerGroupPtrOutput() ConsumerGroupPtrOutput
func (ConsumerGroupPtrOutput) ToConsumerGroupPtrOutputWithContext ¶
func (o ConsumerGroupPtrOutput) ToConsumerGroupPtrOutputWithContext(ctx context.Context) ConsumerGroupPtrOutput
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
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/core" "github.com/pulumi/pulumi-azure/sdk/v4/go/azure/iot" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{ Location: pulumi.String("West Europe"), }) if err != nil { return err } exampleIotHubDps, err := iot.NewIotHubDps(ctx, "exampleIotHubDps", &iot.IotHubDpsArgs{ ResourceGroupName: exampleResourceGroup.Name, Location: exampleResourceGroup.Location, Sku: &iot.IotHubDpsSkuArgs{ Name: pulumi.String("S1"), Capacity: pulumi.Int(1), }, }) if err != nil { return err } _, err = iot.NewDpsSharedAccessPolicy(ctx, "exampleDpsSharedAccessPolicy", &iot.DpsSharedAccessPolicyArgs{ ResourceGroupName: exampleResourceGroup.Name, IothubDpsName: exampleIotHubDps.Name, EnrollmentWrite: pulumi.Bool(true), EnrollmentRead: pulumi.Bool(true), }) if err != nil { return err } return nil }) }
```
## Import
IoTHub Device Provisioning Service Shared Access Policies can be imported using the `resource id`, e.g.
```sh
$ pulumi import azure:iot/dpsSharedAccessPolicy:DpsSharedAccessPolicy shared_access_policy1 /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mygroup1/providers/Microsoft.Devices/provisioningServices/dps1/keys/shared_access_policy1
```
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.
func (*DpsSharedAccessPolicy) ElementType ¶
func (*DpsSharedAccessPolicy) ElementType() reflect.Type
func (*DpsSharedAccessPolicy) ToDpsSharedAccessPolicyOutput ¶
func (i *DpsSharedAccessPolicy) ToDpsSharedAccessPolicyOutput() DpsSharedAccessPolicyOutput
func (*DpsSharedAccessPolicy) ToDpsSharedAccessPolicyOutputWithContext ¶
func (i *DpsSharedAccessPolicy) ToDpsSharedAccessPolicyOutputWithContext(ctx context.Context) DpsSharedAccessPolicyOutput
func (*DpsSharedAccessPolicy) ToDpsSharedAccessPolicyPtrOutput ¶
func (i *DpsSharedAccessPolicy) ToDpsSharedAccessPolicyPtrOutput() DpsSharedAccessPolicyPtrOutput
func (*DpsSharedAccessPolicy) ToDpsSharedAccessPolicyPtrOutputWithContext ¶
func (i *DpsSharedAccessPolicy) ToDpsSharedAccessPolicyPtrOutputWithContext(ctx context.Context) DpsSharedAccessPolicyPtrOutput
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 DpsSharedAccessPolicyArray ¶
type DpsSharedAccessPolicyArray []DpsSharedAccessPolicyInput
func (DpsSharedAccessPolicyArray) ElementType ¶
func (DpsSharedAccessPolicyArray) ElementType() reflect.Type
func (DpsSharedAccessPolicyArray) ToDpsSharedAccessPolicyArrayOutput ¶
func (i DpsSharedAccessPolicyArray) ToDpsSharedAccessPolicyArrayOutput() DpsSharedAccessPolicyArrayOutput
func (DpsSharedAccessPolicyArray) ToDpsSharedAccessPolicyArrayOutputWithContext ¶
func (i DpsSharedAccessPolicyArray) ToDpsSharedAccessPolicyArrayOutputWithContext(ctx context.Context) DpsSharedAccessPolicyArrayOutput
type DpsSharedAccessPolicyArrayInput ¶
DpsSharedAccessPolicyArrayInput is an input type that accepts DpsSharedAccessPolicyArray and DpsSharedAccessPolicyArrayOutput values. You can construct a concrete instance of `DpsSharedAccessPolicyArrayInput` via:
DpsSharedAccessPolicyArray{ DpsSharedAccessPolicyArgs{...} }
type DpsSharedAccessPolicyArrayOutput ¶
func (DpsSharedAccessPolicyArrayOutput) ElementType ¶
func (DpsSharedAccessPolicyArrayOutput) ElementType() reflect.Type
func (DpsSharedAccessPolicyArrayOutput) Index ¶
func (o DpsSharedAccessPolicyArrayOutput) Index(i pulumi.IntInput) DpsSharedAccessPolicyOutput
func (DpsSharedAccessPolicyArrayOutput) ToDpsSharedAccessPolicyArrayOutput ¶
func (o DpsSharedAccessPolicyArrayOutput) ToDpsSharedAccessPolicyArrayOutput() DpsSharedAccessPolicyArrayOutput
func (DpsSharedAccessPolicyArrayOutput) ToDpsSharedAccessPolicyArrayOutputWithContext ¶
func (o DpsSharedAccessPolicyArrayOutput) ToDpsSharedAccessPolicyArrayOutputWithContext(ctx context.Context) DpsSharedAccessPolicyArrayOutput
type DpsSharedAccessPolicyMap ¶
type DpsSharedAccessPolicyMap map[string]DpsSharedAccessPolicyInput
func (DpsSharedAccessPolicyMap) ElementType ¶
func (DpsSharedAccessPolicyMap) ElementType() reflect.Type
func (DpsSharedAccessPolicyMap) ToDpsSharedAccessPolicyMapOutput ¶
func (i DpsSharedAccessPolicyMap) ToDpsSharedAccessPolicyMapOutput() DpsSharedAccessPolicyMapOutput
func (DpsSharedAccessPolicyMap) ToDpsSharedAccessPolicyMapOutputWithContext ¶
func (i DpsSharedAccessPolicyMap) ToDpsSharedAccessPolicyMapOutputWithContext(ctx context.Context) DpsSharedAccessPolicyMapOutput
type DpsSharedAccessPolicyMapInput ¶
DpsSharedAccessPolicyMapInput is an input type that accepts DpsSharedAccessPolicyMap and DpsSharedAccessPolicyMapOutput values. You can construct a concrete instance of `DpsSharedAccessPolicyMapInput` via:
DpsSharedAccessPolicyMap{ "key": DpsSharedAccessPolicyArgs{...} }
type DpsSharedAccessPolicyMapOutput ¶
func (DpsSharedAccessPolicyMapOutput) ElementType ¶
func (DpsSharedAccessPolicyMapOutput) ElementType() reflect.Type
func (DpsSharedAccessPolicyMapOutput) MapIndex ¶
func (o DpsSharedAccessPolicyMapOutput) MapIndex(k pulumi.StringInput) DpsSharedAccessPolicyOutput
func (DpsSharedAccessPolicyMapOutput) ToDpsSharedAccessPolicyMapOutput ¶
func (o DpsSharedAccessPolicyMapOutput) ToDpsSharedAccessPolicyMapOutput() DpsSharedAccessPolicyMapOutput
func (DpsSharedAccessPolicyMapOutput) ToDpsSharedAccessPolicyMapOutputWithContext ¶
func (o DpsSharedAccessPolicyMapOutput) ToDpsSharedAccessPolicyMapOutputWithContext(ctx context.Context) DpsSharedAccessPolicyMapOutput
type DpsSharedAccessPolicyOutput ¶
type DpsSharedAccessPolicyOutput struct {
}func (DpsSharedAccessPolicyOutput) ElementType ¶
func (DpsSharedAccessPolicyOutput) ElementType() reflect.Type
func (DpsSharedAccessPolicyOutput) ToDpsSharedAccessPolicyOutput ¶
func (o DpsSharedAccessPolicyOutput) ToDpsSharedAccessPolicyOutput() DpsSharedAccessPolicyOutput
func (DpsSharedAccessPolicyOutput) ToDpsSharedAccessPolicyOutputWithContext ¶
func (o DpsSharedAccessPolicyOutput) ToDpsSharedAccessPolicyOutputWithContext(ctx context.Context) DpsSharedAccessPolicyOutput
func (DpsSharedAccessPolicyOutput) ToDpsSharedAccessPolicyPtrOutput ¶
func (o DpsSharedAccessPolicyOutput) ToDpsSharedAccessPolicyPtrOutput() DpsSharedAccessPolicyPtrOutput
func (DpsSharedAccessPolicyOutput) ToDpsSharedAccessPolicyPtrOutputWithContext ¶
func (o DpsSharedAccessPolicyOutput) ToDpsSharedAccessPolicyPtrOutputWithContext(ctx context.Context) DpsSharedAccessPolicyPtrOutput
type DpsSharedAccessPolicyPtrOutput ¶
type DpsSharedAccessPolicyPtrOutput struct {
}func (DpsSharedAccessPolicyPtrOutput) ElementType ¶
func (DpsSharedAccessPolicyPtrOutput) ElementType() reflect.Type
func (DpsSharedAccessPolicyPtrOutput) ToDpsSharedAccessPolicyPtrOutput ¶
func (o DpsSharedAccessPolicyPtrOutput) ToDpsSharedAccessPolicyPtrOutput() DpsSharedAccessPolicyPtrOutput
func (DpsSharedAccessPolicyPtrOutput) ToDpsSharedAccessPolicyPtrOutputWithContext ¶
func (o DpsSharedAccessPolicyPtrOutput) ToDpsSharedAccessPolicyPtrOutputWithContext(ctx context.Context) DpsSharedAccessPolicyPtrOutput
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.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/core" "github.com/pulumi/pulumi-azure/sdk/v4/go/azure/eventhub" "github.com/pulumi/pulumi-azure/sdk/v4/go/azure/iot" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{ Location: pulumi.String("West Europe"), }) if err != nil { return err } exampleEventHubNamespace, err := eventhub.NewEventHubNamespace(ctx, "exampleEventHubNamespace", &eventhub.EventHubNamespaceArgs{ Location: exampleResourceGroup.Location, ResourceGroupName: exampleResourceGroup.Name, Sku: pulumi.String("Basic"), }) if err != nil { return err } exampleEventHub, err := eventhub.NewEventHub(ctx, "exampleEventHub", &eventhub.EventHubArgs{ NamespaceName: exampleEventHubNamespace.Name, ResourceGroupName: exampleResourceGroup.Name, PartitionCount: pulumi.Int(2), MessageRetention: pulumi.Int(1), }) if err != nil { return err } exampleAuthorizationRule, err := eventhub.NewAuthorizationRule(ctx, "exampleAuthorizationRule", &eventhub.AuthorizationRuleArgs{ NamespaceName: exampleEventHubNamespace.Name, EventhubName: exampleEventHub.Name, ResourceGroupName: exampleResourceGroup.Name, Listen: pulumi.Bool(false), Send: pulumi.Bool(true), Manage: pulumi.Bool(false), }) if err != nil { return err } exampleIoTHub, err := iot.NewIoTHub(ctx, "exampleIoTHub", &iot.IoTHubArgs{ ResourceGroupName: exampleResourceGroup.Name, Location: exampleResourceGroup.Location, Sku: &iot.IoTHubSkuArgs{ Name: pulumi.String("B1"), Tier: "Basic", Capacity: pulumi.Int(1), }, Tags: pulumi.StringMap{ "purpose": pulumi.String("example"), }, }) if err != nil { return err } _, err = iot.NewEndpointEventhub(ctx, "exampleEndpointEventhub", &iot.EndpointEventhubArgs{ ResourceGroupName: exampleResourceGroup.Name, IothubName: exampleIoTHub.Name, ConnectionString: exampleAuthorizationRule.PrimaryConnectionString, }) if err != nil { return err } return nil }) }
```
## Import
IoTHub EventHub Endpoint can be imported using the `resource id`, e.g.
```sh
$ pulumi import azure:iot/endpointEventhub:EndpointEventhub eventhub1 /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mygroup1/providers/Microsoft.Devices/IotHubs/hub1/Endpoints/eventhub_endpoint1
```
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.
func (*EndpointEventhub) ElementType ¶
func (*EndpointEventhub) ElementType() reflect.Type
func (*EndpointEventhub) ToEndpointEventhubOutput ¶
func (i *EndpointEventhub) ToEndpointEventhubOutput() EndpointEventhubOutput
func (*EndpointEventhub) ToEndpointEventhubOutputWithContext ¶
func (i *EndpointEventhub) ToEndpointEventhubOutputWithContext(ctx context.Context) EndpointEventhubOutput
func (*EndpointEventhub) ToEndpointEventhubPtrOutput ¶
func (i *EndpointEventhub) ToEndpointEventhubPtrOutput() EndpointEventhubPtrOutput
func (*EndpointEventhub) ToEndpointEventhubPtrOutputWithContext ¶
func (i *EndpointEventhub) ToEndpointEventhubPtrOutputWithContext(ctx context.Context) EndpointEventhubPtrOutput
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 EndpointEventhubArray ¶
type EndpointEventhubArray []EndpointEventhubInput
func (EndpointEventhubArray) ElementType ¶
func (EndpointEventhubArray) ElementType() reflect.Type
func (EndpointEventhubArray) ToEndpointEventhubArrayOutput ¶
func (i EndpointEventhubArray) ToEndpointEventhubArrayOutput() EndpointEventhubArrayOutput
func (EndpointEventhubArray) ToEndpointEventhubArrayOutputWithContext ¶
func (i EndpointEventhubArray) ToEndpointEventhubArrayOutputWithContext(ctx context.Context) EndpointEventhubArrayOutput
type EndpointEventhubArrayInput ¶
type EndpointEventhubArrayInput interface { pulumi.Input ToEndpointEventhubArrayOutput() EndpointEventhubArrayOutput ToEndpointEventhubArrayOutputWithContext(context.Context) EndpointEventhubArrayOutput }
EndpointEventhubArrayInput is an input type that accepts EndpointEventhubArray and EndpointEventhubArrayOutput values. You can construct a concrete instance of `EndpointEventhubArrayInput` via:
EndpointEventhubArray{ EndpointEventhubArgs{...} }
type EndpointEventhubArrayOutput ¶
type EndpointEventhubArrayOutput struct{ *pulumi.OutputState }
func (EndpointEventhubArrayOutput) ElementType ¶
func (EndpointEventhubArrayOutput) ElementType() reflect.Type
func (EndpointEventhubArrayOutput) Index ¶
func (o EndpointEventhubArrayOutput) Index(i pulumi.IntInput) EndpointEventhubOutput
func (EndpointEventhubArrayOutput) ToEndpointEventhubArrayOutput ¶
func (o EndpointEventhubArrayOutput) ToEndpointEventhubArrayOutput() EndpointEventhubArrayOutput
func (EndpointEventhubArrayOutput) ToEndpointEventhubArrayOutputWithContext ¶
func (o EndpointEventhubArrayOutput) ToEndpointEventhubArrayOutputWithContext(ctx context.Context) EndpointEventhubArrayOutput
type EndpointEventhubInput ¶
type EndpointEventhubInput interface { pulumi.Input ToEndpointEventhubOutput() EndpointEventhubOutput ToEndpointEventhubOutputWithContext(ctx context.Context) EndpointEventhubOutput }
type EndpointEventhubMap ¶
type EndpointEventhubMap map[string]EndpointEventhubInput
func (EndpointEventhubMap) ElementType ¶
func (EndpointEventhubMap) ElementType() reflect.Type
func (EndpointEventhubMap) ToEndpointEventhubMapOutput ¶
func (i EndpointEventhubMap) ToEndpointEventhubMapOutput() EndpointEventhubMapOutput
func (EndpointEventhubMap) ToEndpointEventhubMapOutputWithContext ¶
func (i EndpointEventhubMap) ToEndpointEventhubMapOutputWithContext(ctx context.Context) EndpointEventhubMapOutput
type EndpointEventhubMapInput ¶
type EndpointEventhubMapInput interface { pulumi.Input ToEndpointEventhubMapOutput() EndpointEventhubMapOutput ToEndpointEventhubMapOutputWithContext(context.Context) EndpointEventhubMapOutput }
EndpointEventhubMapInput is an input type that accepts EndpointEventhubMap and EndpointEventhubMapOutput values. You can construct a concrete instance of `EndpointEventhubMapInput` via:
EndpointEventhubMap{ "key": EndpointEventhubArgs{...} }
type EndpointEventhubMapOutput ¶
type EndpointEventhubMapOutput struct{ *pulumi.OutputState }
func (EndpointEventhubMapOutput) ElementType ¶
func (EndpointEventhubMapOutput) ElementType() reflect.Type
func (EndpointEventhubMapOutput) MapIndex ¶
func (o EndpointEventhubMapOutput) MapIndex(k pulumi.StringInput) EndpointEventhubOutput
func (EndpointEventhubMapOutput) ToEndpointEventhubMapOutput ¶
func (o EndpointEventhubMapOutput) ToEndpointEventhubMapOutput() EndpointEventhubMapOutput
func (EndpointEventhubMapOutput) ToEndpointEventhubMapOutputWithContext ¶
func (o EndpointEventhubMapOutput) ToEndpointEventhubMapOutputWithContext(ctx context.Context) EndpointEventhubMapOutput
type EndpointEventhubOutput ¶
type EndpointEventhubOutput struct {
*pulumi.OutputState
}
func (EndpointEventhubOutput) ElementType ¶
func (EndpointEventhubOutput) ElementType() reflect.Type
func (EndpointEventhubOutput) ToEndpointEventhubOutput ¶
func (o EndpointEventhubOutput) ToEndpointEventhubOutput() EndpointEventhubOutput
func (EndpointEventhubOutput) ToEndpointEventhubOutputWithContext ¶
func (o EndpointEventhubOutput) ToEndpointEventhubOutputWithContext(ctx context.Context) EndpointEventhubOutput
func (EndpointEventhubOutput) ToEndpointEventhubPtrOutput ¶
func (o EndpointEventhubOutput) ToEndpointEventhubPtrOutput() EndpointEventhubPtrOutput
func (EndpointEventhubOutput) ToEndpointEventhubPtrOutputWithContext ¶
func (o EndpointEventhubOutput) ToEndpointEventhubPtrOutputWithContext(ctx context.Context) EndpointEventhubPtrOutput
type EndpointEventhubPtrInput ¶
type EndpointEventhubPtrInput interface { pulumi.Input ToEndpointEventhubPtrOutput() EndpointEventhubPtrOutput ToEndpointEventhubPtrOutputWithContext(ctx context.Context) EndpointEventhubPtrOutput }
type EndpointEventhubPtrOutput ¶
type EndpointEventhubPtrOutput struct {
*pulumi.OutputState
}
func (EndpointEventhubPtrOutput) ElementType ¶
func (EndpointEventhubPtrOutput) ElementType() reflect.Type
func (EndpointEventhubPtrOutput) ToEndpointEventhubPtrOutput ¶
func (o EndpointEventhubPtrOutput) ToEndpointEventhubPtrOutput() EndpointEventhubPtrOutput
func (EndpointEventhubPtrOutput) ToEndpointEventhubPtrOutputWithContext ¶
func (o EndpointEventhubPtrOutput) ToEndpointEventhubPtrOutputWithContext(ctx context.Context) EndpointEventhubPtrOutput
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.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/core" "github.com/pulumi/pulumi-azure/sdk/v4/go/azure/iot" "github.com/pulumi/pulumi-azure/sdk/v4/go/azure/servicebus" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{ Location: pulumi.String("West Europe"), }) if err != nil { return err } exampleNamespace, err := servicebus.NewNamespace(ctx, "exampleNamespace", &servicebus.NamespaceArgs{ Location: exampleResourceGroup.Location, ResourceGroupName: exampleResourceGroup.Name, Sku: pulumi.String("Standard"), }) if err != nil { return err } exampleQueue, err := servicebus.NewQueue(ctx, "exampleQueue", &servicebus.QueueArgs{ ResourceGroupName: exampleResourceGroup.Name, NamespaceName: exampleNamespace.Name, EnablePartitioning: pulumi.Bool(true), }) if err != nil { return err } exampleQueueAuthorizationRule, err := servicebus.NewQueueAuthorizationRule(ctx, "exampleQueueAuthorizationRule", &servicebus.QueueAuthorizationRuleArgs{ NamespaceName: exampleNamespace.Name, QueueName: exampleQueue.Name, ResourceGroupName: exampleResourceGroup.Name, Listen: pulumi.Bool(false), Send: pulumi.Bool(true), Manage: pulumi.Bool(false), }) if err != nil { return err } exampleIoTHub, err := iot.NewIoTHub(ctx, "exampleIoTHub", &iot.IoTHubArgs{ ResourceGroupName: exampleResourceGroup.Name, Location: exampleResourceGroup.Location, Sku: &iot.IoTHubSkuArgs{ Name: pulumi.String("B1"), Tier: "Basic", Capacity: pulumi.Int(1), }, Tags: pulumi.StringMap{ "purpose": pulumi.String("example"), }, }) if err != nil { return err } _, err = iot.NewEndpointServicebusQueue(ctx, "exampleEndpointServicebusQueue", &iot.EndpointServicebusQueueArgs{ ResourceGroupName: exampleResourceGroup.Name, IothubName: exampleIoTHub.Name, ConnectionString: exampleQueueAuthorizationRule.PrimaryConnectionString, }) if err != nil { return err } return nil }) }
```
## Import
IoTHub ServiceBus Queue Endpoint can be imported using the `resource id`, e.g.
```sh
$ pulumi import azure:iot/endpointServicebusQueue:EndpointServicebusQueue servicebus_queue1 /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mygroup1/providers/Microsoft.Devices/IotHubs/hub1/Endpoints/servicebusqueue_endpoint1
```
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.
func (*EndpointServicebusQueue) ElementType ¶
func (*EndpointServicebusQueue) ElementType() reflect.Type
func (*EndpointServicebusQueue) ToEndpointServicebusQueueOutput ¶
func (i *EndpointServicebusQueue) ToEndpointServicebusQueueOutput() EndpointServicebusQueueOutput
func (*EndpointServicebusQueue) ToEndpointServicebusQueueOutputWithContext ¶
func (i *EndpointServicebusQueue) ToEndpointServicebusQueueOutputWithContext(ctx context.Context) EndpointServicebusQueueOutput
func (*EndpointServicebusQueue) ToEndpointServicebusQueuePtrOutput ¶
func (i *EndpointServicebusQueue) ToEndpointServicebusQueuePtrOutput() EndpointServicebusQueuePtrOutput
func (*EndpointServicebusQueue) ToEndpointServicebusQueuePtrOutputWithContext ¶
func (i *EndpointServicebusQueue) ToEndpointServicebusQueuePtrOutputWithContext(ctx context.Context) EndpointServicebusQueuePtrOutput
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 EndpointServicebusQueueArray ¶
type EndpointServicebusQueueArray []EndpointServicebusQueueInput
func (EndpointServicebusQueueArray) ElementType ¶
func (EndpointServicebusQueueArray) ElementType() reflect.Type
func (EndpointServicebusQueueArray) ToEndpointServicebusQueueArrayOutput ¶
func (i EndpointServicebusQueueArray) ToEndpointServicebusQueueArrayOutput() EndpointServicebusQueueArrayOutput
func (EndpointServicebusQueueArray) ToEndpointServicebusQueueArrayOutputWithContext ¶
func (i EndpointServicebusQueueArray) ToEndpointServicebusQueueArrayOutputWithContext(ctx context.Context) EndpointServicebusQueueArrayOutput
type EndpointServicebusQueueArrayInput ¶
type EndpointServicebusQueueArrayInput interface { pulumi.Input ToEndpointServicebusQueueArrayOutput() EndpointServicebusQueueArrayOutput ToEndpointServicebusQueueArrayOutputWithContext(context.Context) EndpointServicebusQueueArrayOutput }
EndpointServicebusQueueArrayInput is an input type that accepts EndpointServicebusQueueArray and EndpointServicebusQueueArrayOutput values. You can construct a concrete instance of `EndpointServicebusQueueArrayInput` via:
EndpointServicebusQueueArray{ EndpointServicebusQueueArgs{...} }
type EndpointServicebusQueueArrayOutput ¶
type EndpointServicebusQueueArrayOutput struct{ *pulumi.OutputState }
func (EndpointServicebusQueueArrayOutput) ElementType ¶
func (EndpointServicebusQueueArrayOutput) ElementType() reflect.Type
func (EndpointServicebusQueueArrayOutput) Index ¶
func (o EndpointServicebusQueueArrayOutput) Index(i pulumi.IntInput) EndpointServicebusQueueOutput
func (EndpointServicebusQueueArrayOutput) ToEndpointServicebusQueueArrayOutput ¶
func (o EndpointServicebusQueueArrayOutput) ToEndpointServicebusQueueArrayOutput() EndpointServicebusQueueArrayOutput
func (EndpointServicebusQueueArrayOutput) ToEndpointServicebusQueueArrayOutputWithContext ¶
func (o EndpointServicebusQueueArrayOutput) ToEndpointServicebusQueueArrayOutputWithContext(ctx context.Context) EndpointServicebusQueueArrayOutput
type EndpointServicebusQueueInput ¶
type EndpointServicebusQueueInput interface { pulumi.Input ToEndpointServicebusQueueOutput() EndpointServicebusQueueOutput ToEndpointServicebusQueueOutputWithContext(ctx context.Context) EndpointServicebusQueueOutput }
type EndpointServicebusQueueMap ¶
type EndpointServicebusQueueMap map[string]EndpointServicebusQueueInput
func (EndpointServicebusQueueMap) ElementType ¶
func (EndpointServicebusQueueMap) ElementType() reflect.Type
func (EndpointServicebusQueueMap) ToEndpointServicebusQueueMapOutput ¶
func (i EndpointServicebusQueueMap) ToEndpointServicebusQueueMapOutput() EndpointServicebusQueueMapOutput
func (EndpointServicebusQueueMap) ToEndpointServicebusQueueMapOutputWithContext ¶
func (i EndpointServicebusQueueMap) ToEndpointServicebusQueueMapOutputWithContext(ctx context.Context) EndpointServicebusQueueMapOutput
type EndpointServicebusQueueMapInput ¶
type EndpointServicebusQueueMapInput interface { pulumi.Input ToEndpointServicebusQueueMapOutput() EndpointServicebusQueueMapOutput ToEndpointServicebusQueueMapOutputWithContext(context.Context) EndpointServicebusQueueMapOutput }
EndpointServicebusQueueMapInput is an input type that accepts EndpointServicebusQueueMap and EndpointServicebusQueueMapOutput values. You can construct a concrete instance of `EndpointServicebusQueueMapInput` via:
EndpointServicebusQueueMap{ "key": EndpointServicebusQueueArgs{...} }
type EndpointServicebusQueueMapOutput ¶
type EndpointServicebusQueueMapOutput struct{ *pulumi.OutputState }
func (EndpointServicebusQueueMapOutput) ElementType ¶
func (EndpointServicebusQueueMapOutput) ElementType() reflect.Type
func (EndpointServicebusQueueMapOutput) MapIndex ¶
func (o EndpointServicebusQueueMapOutput) MapIndex(k pulumi.StringInput) EndpointServicebusQueueOutput
func (EndpointServicebusQueueMapOutput) ToEndpointServicebusQueueMapOutput ¶
func (o EndpointServicebusQueueMapOutput) ToEndpointServicebusQueueMapOutput() EndpointServicebusQueueMapOutput
func (EndpointServicebusQueueMapOutput) ToEndpointServicebusQueueMapOutputWithContext ¶
func (o EndpointServicebusQueueMapOutput) ToEndpointServicebusQueueMapOutputWithContext(ctx context.Context) EndpointServicebusQueueMapOutput
type EndpointServicebusQueueOutput ¶
type EndpointServicebusQueueOutput struct {
*pulumi.OutputState
}
func (EndpointServicebusQueueOutput) ElementType ¶
func (EndpointServicebusQueueOutput) ElementType() reflect.Type
func (EndpointServicebusQueueOutput) ToEndpointServicebusQueueOutput ¶
func (o EndpointServicebusQueueOutput) ToEndpointServicebusQueueOutput() EndpointServicebusQueueOutput
func (EndpointServicebusQueueOutput) ToEndpointServicebusQueueOutputWithContext ¶
func (o EndpointServicebusQueueOutput) ToEndpointServicebusQueueOutputWithContext(ctx context.Context) EndpointServicebusQueueOutput
func (EndpointServicebusQueueOutput) ToEndpointServicebusQueuePtrOutput ¶
func (o EndpointServicebusQueueOutput) ToEndpointServicebusQueuePtrOutput() EndpointServicebusQueuePtrOutput
func (EndpointServicebusQueueOutput) ToEndpointServicebusQueuePtrOutputWithContext ¶
func (o EndpointServicebusQueueOutput) ToEndpointServicebusQueuePtrOutputWithContext(ctx context.Context) EndpointServicebusQueuePtrOutput
type EndpointServicebusQueuePtrInput ¶
type EndpointServicebusQueuePtrInput interface { pulumi.Input ToEndpointServicebusQueuePtrOutput() EndpointServicebusQueuePtrOutput ToEndpointServicebusQueuePtrOutputWithContext(ctx context.Context) EndpointServicebusQueuePtrOutput }
type EndpointServicebusQueuePtrOutput ¶
type EndpointServicebusQueuePtrOutput struct {
*pulumi.OutputState
}
func (EndpointServicebusQueuePtrOutput) ElementType ¶
func (EndpointServicebusQueuePtrOutput) ElementType() reflect.Type
func (EndpointServicebusQueuePtrOutput) ToEndpointServicebusQueuePtrOutput ¶
func (o EndpointServicebusQueuePtrOutput) ToEndpointServicebusQueuePtrOutput() EndpointServicebusQueuePtrOutput
func (EndpointServicebusQueuePtrOutput) ToEndpointServicebusQueuePtrOutputWithContext ¶
func (o EndpointServicebusQueuePtrOutput) ToEndpointServicebusQueuePtrOutputWithContext(ctx context.Context) EndpointServicebusQueuePtrOutput
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.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/core" "github.com/pulumi/pulumi-azure/sdk/v4/go/azure/iot" "github.com/pulumi/pulumi-azure/sdk/v4/go/azure/servicebus" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{ Location: pulumi.String("West Europe"), }) if err != nil { return err } exampleNamespace, err := servicebus.NewNamespace(ctx, "exampleNamespace", &servicebus.NamespaceArgs{ Location: exampleResourceGroup.Location, ResourceGroupName: exampleResourceGroup.Name, Sku: pulumi.String("Standard"), }) if err != nil { return err } exampleTopic, err := servicebus.NewTopic(ctx, "exampleTopic", &servicebus.TopicArgs{ ResourceGroupName: exampleResourceGroup.Name, NamespaceName: exampleNamespace.Name, }) if err != nil { return err } exampleTopicAuthorizationRule, err := servicebus.NewTopicAuthorizationRule(ctx, "exampleTopicAuthorizationRule", &servicebus.TopicAuthorizationRuleArgs{ NamespaceName: exampleNamespace.Name, TopicName: exampleTopic.Name, ResourceGroupName: exampleResourceGroup.Name, Listen: pulumi.Bool(false), Send: pulumi.Bool(true), Manage: pulumi.Bool(false), }) if err != nil { return err } exampleIoTHub, err := iot.NewIoTHub(ctx, "exampleIoTHub", &iot.IoTHubArgs{ ResourceGroupName: exampleResourceGroup.Name, Location: exampleResourceGroup.Location, Sku: &iot.IoTHubSkuArgs{ Name: pulumi.String("B1"), Tier: "Basic", Capacity: pulumi.Int(1), }, Tags: pulumi.StringMap{ "purpose": pulumi.String("example"), }, }) if err != nil { return err } _, err = iot.NewEndpointServicebusTopic(ctx, "exampleEndpointServicebusTopic", &iot.EndpointServicebusTopicArgs{ ResourceGroupName: exampleResourceGroup.Name, IothubName: exampleIoTHub.Name, ConnectionString: exampleTopicAuthorizationRule.PrimaryConnectionString, }) if err != nil { return err } return nil }) }
```
## Import
IoTHub ServiceBus Topic Endpoint can be imported using the `resource id`, e.g.
```sh
$ pulumi import azure:iot/endpointServicebusTopic:EndpointServicebusTopic servicebus_topic1 /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mygroup1/providers/Microsoft.Devices/IotHubs/hub1/Endpoints/servicebustopic_endpoint1
```
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.
func (*EndpointServicebusTopic) ElementType ¶
func (*EndpointServicebusTopic) ElementType() reflect.Type
func (*EndpointServicebusTopic) ToEndpointServicebusTopicOutput ¶
func (i *EndpointServicebusTopic) ToEndpointServicebusTopicOutput() EndpointServicebusTopicOutput
func (*EndpointServicebusTopic) ToEndpointServicebusTopicOutputWithContext ¶
func (i *EndpointServicebusTopic) ToEndpointServicebusTopicOutputWithContext(ctx context.Context) EndpointServicebusTopicOutput
func (*EndpointServicebusTopic) ToEndpointServicebusTopicPtrOutput ¶
func (i *EndpointServicebusTopic) ToEndpointServicebusTopicPtrOutput() EndpointServicebusTopicPtrOutput
func (*EndpointServicebusTopic) ToEndpointServicebusTopicPtrOutputWithContext ¶
func (i *EndpointServicebusTopic) ToEndpointServicebusTopicPtrOutputWithContext(ctx context.Context) EndpointServicebusTopicPtrOutput
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 EndpointServicebusTopicArray ¶
type EndpointServicebusTopicArray []EndpointServicebusTopicInput
func (EndpointServicebusTopicArray) ElementType ¶
func (EndpointServicebusTopicArray) ElementType() reflect.Type
func (EndpointServicebusTopicArray) ToEndpointServicebusTopicArrayOutput ¶
func (i EndpointServicebusTopicArray) ToEndpointServicebusTopicArrayOutput() EndpointServicebusTopicArrayOutput
func (EndpointServicebusTopicArray) ToEndpointServicebusTopicArrayOutputWithContext ¶
func (i EndpointServicebusTopicArray) ToEndpointServicebusTopicArrayOutputWithContext(ctx context.Context) EndpointServicebusTopicArrayOutput
type EndpointServicebusTopicArrayInput ¶
type EndpointServicebusTopicArrayInput interface { pulumi.Input ToEndpointServicebusTopicArrayOutput() EndpointServicebusTopicArrayOutput ToEndpointServicebusTopicArrayOutputWithContext(context.Context) EndpointServicebusTopicArrayOutput }
EndpointServicebusTopicArrayInput is an input type that accepts EndpointServicebusTopicArray and EndpointServicebusTopicArrayOutput values. You can construct a concrete instance of `EndpointServicebusTopicArrayInput` via:
EndpointServicebusTopicArray{ EndpointServicebusTopicArgs{...} }
type EndpointServicebusTopicArrayOutput ¶
type EndpointServicebusTopicArrayOutput struct{ *pulumi.OutputState }
func (EndpointServicebusTopicArrayOutput) ElementType ¶
func (EndpointServicebusTopicArrayOutput) ElementType() reflect.Type
func (EndpointServicebusTopicArrayOutput) Index ¶
func (o EndpointServicebusTopicArrayOutput) Index(i pulumi.IntInput) EndpointServicebusTopicOutput
func (EndpointServicebusTopicArrayOutput) ToEndpointServicebusTopicArrayOutput ¶
func (o EndpointServicebusTopicArrayOutput) ToEndpointServicebusTopicArrayOutput() EndpointServicebusTopicArrayOutput
func (EndpointServicebusTopicArrayOutput) ToEndpointServicebusTopicArrayOutputWithContext ¶
func (o EndpointServicebusTopicArrayOutput) ToEndpointServicebusTopicArrayOutputWithContext(ctx context.Context) EndpointServicebusTopicArrayOutput
type EndpointServicebusTopicInput ¶
type EndpointServicebusTopicInput interface { pulumi.Input ToEndpointServicebusTopicOutput() EndpointServicebusTopicOutput ToEndpointServicebusTopicOutputWithContext(ctx context.Context) EndpointServicebusTopicOutput }
type EndpointServicebusTopicMap ¶
type EndpointServicebusTopicMap map[string]EndpointServicebusTopicInput
func (EndpointServicebusTopicMap) ElementType ¶
func (EndpointServicebusTopicMap) ElementType() reflect.Type
func (EndpointServicebusTopicMap) ToEndpointServicebusTopicMapOutput ¶
func (i EndpointServicebusTopicMap) ToEndpointServicebusTopicMapOutput() EndpointServicebusTopicMapOutput
func (EndpointServicebusTopicMap) ToEndpointServicebusTopicMapOutputWithContext ¶
func (i EndpointServicebusTopicMap) ToEndpointServicebusTopicMapOutputWithContext(ctx context.Context) EndpointServicebusTopicMapOutput
type EndpointServicebusTopicMapInput ¶
type EndpointServicebusTopicMapInput interface { pulumi.Input ToEndpointServicebusTopicMapOutput() EndpointServicebusTopicMapOutput ToEndpointServicebusTopicMapOutputWithContext(context.Context) EndpointServicebusTopicMapOutput }
EndpointServicebusTopicMapInput is an input type that accepts EndpointServicebusTopicMap and EndpointServicebusTopicMapOutput values. You can construct a concrete instance of `EndpointServicebusTopicMapInput` via:
EndpointServicebusTopicMap{ "key": EndpointServicebusTopicArgs{...} }
type EndpointServicebusTopicMapOutput ¶
type EndpointServicebusTopicMapOutput struct{ *pulumi.OutputState }
func (EndpointServicebusTopicMapOutput) ElementType ¶
func (EndpointServicebusTopicMapOutput) ElementType() reflect.Type
func (EndpointServicebusTopicMapOutput) MapIndex ¶
func (o EndpointServicebusTopicMapOutput) MapIndex(k pulumi.StringInput) EndpointServicebusTopicOutput
func (EndpointServicebusTopicMapOutput) ToEndpointServicebusTopicMapOutput ¶
func (o EndpointServicebusTopicMapOutput) ToEndpointServicebusTopicMapOutput() EndpointServicebusTopicMapOutput
func (EndpointServicebusTopicMapOutput) ToEndpointServicebusTopicMapOutputWithContext ¶
func (o EndpointServicebusTopicMapOutput) ToEndpointServicebusTopicMapOutputWithContext(ctx context.Context) EndpointServicebusTopicMapOutput
type EndpointServicebusTopicOutput ¶
type EndpointServicebusTopicOutput struct {
*pulumi.OutputState
}
func (EndpointServicebusTopicOutput) ElementType ¶
func (EndpointServicebusTopicOutput) ElementType() reflect.Type
func (EndpointServicebusTopicOutput) ToEndpointServicebusTopicOutput ¶
func (o EndpointServicebusTopicOutput) ToEndpointServicebusTopicOutput() EndpointServicebusTopicOutput
func (EndpointServicebusTopicOutput) ToEndpointServicebusTopicOutputWithContext ¶
func (o EndpointServicebusTopicOutput) ToEndpointServicebusTopicOutputWithContext(ctx context.Context) EndpointServicebusTopicOutput
func (EndpointServicebusTopicOutput) ToEndpointServicebusTopicPtrOutput ¶
func (o EndpointServicebusTopicOutput) ToEndpointServicebusTopicPtrOutput() EndpointServicebusTopicPtrOutput
func (EndpointServicebusTopicOutput) ToEndpointServicebusTopicPtrOutputWithContext ¶
func (o EndpointServicebusTopicOutput) ToEndpointServicebusTopicPtrOutputWithContext(ctx context.Context) EndpointServicebusTopicPtrOutput
type EndpointServicebusTopicPtrInput ¶
type EndpointServicebusTopicPtrInput interface { pulumi.Input ToEndpointServicebusTopicPtrOutput() EndpointServicebusTopicPtrOutput ToEndpointServicebusTopicPtrOutputWithContext(ctx context.Context) EndpointServicebusTopicPtrOutput }
type EndpointServicebusTopicPtrOutput ¶
type EndpointServicebusTopicPtrOutput struct {
*pulumi.OutputState
}
func (EndpointServicebusTopicPtrOutput) ElementType ¶
func (EndpointServicebusTopicPtrOutput) ElementType() reflect.Type
func (EndpointServicebusTopicPtrOutput) ToEndpointServicebusTopicPtrOutput ¶
func (o EndpointServicebusTopicPtrOutput) ToEndpointServicebusTopicPtrOutput() EndpointServicebusTopicPtrOutput
func (EndpointServicebusTopicPtrOutput) ToEndpointServicebusTopicPtrOutputWithContext ¶
func (o EndpointServicebusTopicPtrOutput) ToEndpointServicebusTopicPtrOutputWithContext(ctx context.Context) EndpointServicebusTopicPtrOutput
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.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/core" "github.com/pulumi/pulumi-azure/sdk/v4/go/azure/iot" "github.com/pulumi/pulumi-azure/sdk/v4/go/azure/storage" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{ Location: pulumi.String("West Europe"), }) if err != nil { return err } exampleAccount, err := storage.NewAccount(ctx, "exampleAccount", &storage.AccountArgs{ ResourceGroupName: exampleResourceGroup.Name, Location: exampleResourceGroup.Location, AccountTier: pulumi.String("Standard"), AccountReplicationType: pulumi.String("LRS"), }) if err != nil { return err } _, err = storage.NewContainer(ctx, "exampleContainer", &storage.ContainerArgs{ StorageAccountName: exampleAccount.Name, ContainerAccessType: pulumi.String("private"), }) if err != nil { return err } exampleIoTHub, err := iot.NewIoTHub(ctx, "exampleIoTHub", &iot.IoTHubArgs{ ResourceGroupName: exampleResourceGroup.Name, Location: exampleResourceGroup.Location, Sku: &iot.IoTHubSkuArgs{ Name: pulumi.String("S1"), Capacity: pulumi.Int(1), }, }) if err != nil { return err } _, err = iot.NewEndpointStorageContainer(ctx, "exampleEndpointStorageContainer", &iot.EndpointStorageContainerArgs{ ResourceGroupName: exampleResourceGroup.Name, IothubName: exampleIoTHub.Name, ContainerName: pulumi.String("acctestcont"), ConnectionString: exampleAccount.PrimaryBlobConnectionString, FileNameFormat: pulumi.String("{iothub}/{partition}_{YYYY}_{MM}_{DD}_{HH}_{mm}"), BatchFrequencyInSeconds: pulumi.Int(60), MaxChunkSizeInBytes: pulumi.Int(10485760), Encoding: pulumi.String("JSON"), }) if err != nil { return err } return nil }) }
```
## Import
IoTHub Storage Container Endpoint can be imported using the `resource id`, e.g.
```sh
$ pulumi import azure:iot/endpointStorageContainer:EndpointStorageContainer storage_container1 /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mygroup1/providers/Microsoft.Devices/IotHubs/hub1/Endpoints/storage_container_endpoint1
```
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.
func (*EndpointStorageContainer) ElementType ¶
func (*EndpointStorageContainer) ElementType() reflect.Type
func (*EndpointStorageContainer) ToEndpointStorageContainerOutput ¶
func (i *EndpointStorageContainer) ToEndpointStorageContainerOutput() EndpointStorageContainerOutput
func (*EndpointStorageContainer) ToEndpointStorageContainerOutputWithContext ¶
func (i *EndpointStorageContainer) ToEndpointStorageContainerOutputWithContext(ctx context.Context) EndpointStorageContainerOutput
func (*EndpointStorageContainer) ToEndpointStorageContainerPtrOutput ¶
func (i *EndpointStorageContainer) ToEndpointStorageContainerPtrOutput() EndpointStorageContainerPtrOutput
func (*EndpointStorageContainer) ToEndpointStorageContainerPtrOutputWithContext ¶
func (i *EndpointStorageContainer) ToEndpointStorageContainerPtrOutputWithContext(ctx context.Context) EndpointStorageContainerPtrOutput
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 EndpointStorageContainerArray ¶
type EndpointStorageContainerArray []EndpointStorageContainerInput
func (EndpointStorageContainerArray) ElementType ¶
func (EndpointStorageContainerArray) ElementType() reflect.Type
func (EndpointStorageContainerArray) ToEndpointStorageContainerArrayOutput ¶
func (i EndpointStorageContainerArray) ToEndpointStorageContainerArrayOutput() EndpointStorageContainerArrayOutput
func (EndpointStorageContainerArray) ToEndpointStorageContainerArrayOutputWithContext ¶
func (i EndpointStorageContainerArray) ToEndpointStorageContainerArrayOutputWithContext(ctx context.Context) EndpointStorageContainerArrayOutput
type EndpointStorageContainerArrayInput ¶
type EndpointStorageContainerArrayInput interface { pulumi.Input ToEndpointStorageContainerArrayOutput() EndpointStorageContainerArrayOutput ToEndpointStorageContainerArrayOutputWithContext(context.Context) EndpointStorageContainerArrayOutput }
EndpointStorageContainerArrayInput is an input type that accepts EndpointStorageContainerArray and EndpointStorageContainerArrayOutput values. You can construct a concrete instance of `EndpointStorageContainerArrayInput` via:
EndpointStorageContainerArray{ EndpointStorageContainerArgs{...} }
type EndpointStorageContainerArrayOutput ¶
type EndpointStorageContainerArrayOutput struct{ *pulumi.OutputState }
func (EndpointStorageContainerArrayOutput) ElementType ¶
func (EndpointStorageContainerArrayOutput) ElementType() reflect.Type
func (EndpointStorageContainerArrayOutput) Index ¶
func (o EndpointStorageContainerArrayOutput) Index(i pulumi.IntInput) EndpointStorageContainerOutput
func (EndpointStorageContainerArrayOutput) ToEndpointStorageContainerArrayOutput ¶
func (o EndpointStorageContainerArrayOutput) ToEndpointStorageContainerArrayOutput() EndpointStorageContainerArrayOutput
func (EndpointStorageContainerArrayOutput) ToEndpointStorageContainerArrayOutputWithContext ¶
func (o EndpointStorageContainerArrayOutput) ToEndpointStorageContainerArrayOutputWithContext(ctx context.Context) EndpointStorageContainerArrayOutput
type EndpointStorageContainerInput ¶
type EndpointStorageContainerInput interface { pulumi.Input ToEndpointStorageContainerOutput() EndpointStorageContainerOutput ToEndpointStorageContainerOutputWithContext(ctx context.Context) EndpointStorageContainerOutput }
type EndpointStorageContainerMap ¶
type EndpointStorageContainerMap map[string]EndpointStorageContainerInput
func (EndpointStorageContainerMap) ElementType ¶
func (EndpointStorageContainerMap) ElementType() reflect.Type
func (EndpointStorageContainerMap) ToEndpointStorageContainerMapOutput ¶
func (i EndpointStorageContainerMap) ToEndpointStorageContainerMapOutput() EndpointStorageContainerMapOutput
func (EndpointStorageContainerMap) ToEndpointStorageContainerMapOutputWithContext ¶
func (i EndpointStorageContainerMap) ToEndpointStorageContainerMapOutputWithContext(ctx context.Context) EndpointStorageContainerMapOutput
type EndpointStorageContainerMapInput ¶
type EndpointStorageContainerMapInput interface { pulumi.Input ToEndpointStorageContainerMapOutput() EndpointStorageContainerMapOutput ToEndpointStorageContainerMapOutputWithContext(context.Context) EndpointStorageContainerMapOutput }
EndpointStorageContainerMapInput is an input type that accepts EndpointStorageContainerMap and EndpointStorageContainerMapOutput values. You can construct a concrete instance of `EndpointStorageContainerMapInput` via:
EndpointStorageContainerMap{ "key": EndpointStorageContainerArgs{...} }
type EndpointStorageContainerMapOutput ¶
type EndpointStorageContainerMapOutput struct{ *pulumi.OutputState }
func (EndpointStorageContainerMapOutput) ElementType ¶
func (EndpointStorageContainerMapOutput) ElementType() reflect.Type
func (EndpointStorageContainerMapOutput) MapIndex ¶
func (o EndpointStorageContainerMapOutput) MapIndex(k pulumi.StringInput) EndpointStorageContainerOutput
func (EndpointStorageContainerMapOutput) ToEndpointStorageContainerMapOutput ¶
func (o EndpointStorageContainerMapOutput) ToEndpointStorageContainerMapOutput() EndpointStorageContainerMapOutput
func (EndpointStorageContainerMapOutput) ToEndpointStorageContainerMapOutputWithContext ¶
func (o EndpointStorageContainerMapOutput) ToEndpointStorageContainerMapOutputWithContext(ctx context.Context) EndpointStorageContainerMapOutput
type EndpointStorageContainerOutput ¶
type EndpointStorageContainerOutput struct {
*pulumi.OutputState
}
func (EndpointStorageContainerOutput) ElementType ¶
func (EndpointStorageContainerOutput) ElementType() reflect.Type
func (EndpointStorageContainerOutput) ToEndpointStorageContainerOutput ¶
func (o EndpointStorageContainerOutput) ToEndpointStorageContainerOutput() EndpointStorageContainerOutput
func (EndpointStorageContainerOutput) ToEndpointStorageContainerOutputWithContext ¶
func (o EndpointStorageContainerOutput) ToEndpointStorageContainerOutputWithContext(ctx context.Context) EndpointStorageContainerOutput
func (EndpointStorageContainerOutput) ToEndpointStorageContainerPtrOutput ¶
func (o EndpointStorageContainerOutput) ToEndpointStorageContainerPtrOutput() EndpointStorageContainerPtrOutput
func (EndpointStorageContainerOutput) ToEndpointStorageContainerPtrOutputWithContext ¶
func (o EndpointStorageContainerOutput) ToEndpointStorageContainerPtrOutputWithContext(ctx context.Context) EndpointStorageContainerPtrOutput
type EndpointStorageContainerPtrInput ¶
type EndpointStorageContainerPtrInput interface { pulumi.Input ToEndpointStorageContainerPtrOutput() EndpointStorageContainerPtrOutput ToEndpointStorageContainerPtrOutputWithContext(ctx context.Context) EndpointStorageContainerPtrOutput }
type EndpointStorageContainerPtrOutput ¶
type EndpointStorageContainerPtrOutput struct {
*pulumi.OutputState
}
func (EndpointStorageContainerPtrOutput) ElementType ¶
func (EndpointStorageContainerPtrOutput) ElementType() reflect.Type
func (EndpointStorageContainerPtrOutput) ToEndpointStorageContainerPtrOutput ¶
func (o EndpointStorageContainerPtrOutput) ToEndpointStorageContainerPtrOutput() EndpointStorageContainerPtrOutput
func (EndpointStorageContainerPtrOutput) ToEndpointStorageContainerPtrOutputWithContext ¶
func (o EndpointStorageContainerPtrOutput) ToEndpointStorageContainerPtrOutputWithContext(ctx context.Context) EndpointStorageContainerPtrOutput
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 Enrichment ¶
type Enrichment struct { pulumi.CustomResourceState // The list of endpoints which will be enriched. EndpointNames pulumi.StringArrayOutput `pulumi:"endpointNames"` IothubName pulumi.StringOutput `pulumi:"iothubName"` // The key of the enrichment. Key pulumi.StringOutput `pulumi:"key"` ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"` // The value of the enrichment. Value can be any static string, the name of the IoT hub sending the message (use `$iothubname`) or information from the device twin (ex: `$twin.tags.latitude`) Value pulumi.StringOutput `pulumi:"value"` }
Manages an IotHub Enrichment
> **NOTE:** Enrichment can be defined either directly on the `iot.IoTHub` resource, or using the `iot.Enrichment` resources - but the two cannot be used together. If both are used against the same IoTHub, spurious changes will occur.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/core" "github.com/pulumi/pulumi-azure/sdk/v4/go/azure/iot" "github.com/pulumi/pulumi-azure/sdk/v4/go/azure/storage" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{ Location: pulumi.String("West Europe"), }) if err != nil { return err } exampleAccount, err := storage.NewAccount(ctx, "exampleAccount", &storage.AccountArgs{ ResourceGroupName: exampleResourceGroup.Name, Location: exampleResourceGroup.Location, AccountTier: pulumi.String("Standard"), AccountReplicationType: pulumi.String("LRS"), }) if err != nil { return err } exampleContainer, err := storage.NewContainer(ctx, "exampleContainer", &storage.ContainerArgs{ StorageAccountName: exampleAccount.Name, ContainerAccessType: pulumi.String("private"), }) if err != nil { return err } exampleIoTHub, err := iot.NewIoTHub(ctx, "exampleIoTHub", &iot.IoTHubArgs{ ResourceGroupName: exampleResourceGroup.Name, Location: exampleResourceGroup.Location, Sku: &iot.IoTHubSkuArgs{ Name: pulumi.String("S1"), Capacity: pulumi.Int(1), }, Tags: pulumi.StringMap{ "purpose": pulumi.String("testing"), }, }) if err != nil { return err } exampleEndpointStorageContainer, err := iot.NewEndpointStorageContainer(ctx, "exampleEndpointStorageContainer", &iot.EndpointStorageContainerArgs{ ResourceGroupName: exampleResourceGroup.Name, IothubName: exampleIoTHub.Name, ConnectionString: exampleAccount.PrimaryBlobConnectionString, BatchFrequencyInSeconds: pulumi.Int(60), MaxChunkSizeInBytes: pulumi.Int(10485760), ContainerName: exampleContainer.Name, Encoding: pulumi.String("Avro"), FileNameFormat: pulumi.String("{iothub}/{partition}_{YYYY}_{MM}_{DD}_{HH}_{mm}"), }) if err != nil { return err } _, err = iot.NewRoute(ctx, "exampleRoute", &iot.RouteArgs{ ResourceGroupName: exampleResourceGroup.Name, IothubName: exampleIoTHub.Name, Source: pulumi.String("DeviceMessages"), Condition: pulumi.String("true"), EndpointNames: pulumi.String{ exampleEndpointStorageContainer.Name, }, Enabled: pulumi.Bool(true), }) if err != nil { return err } _, err = iot.NewEnrichment(ctx, "exampleEnrichment", &iot.EnrichmentArgs{ ResourceGroupName: exampleResourceGroup.Name, IothubName: exampleIoTHub.Name, Key: pulumi.String("example"), Value: pulumi.String("my value"), EndpointNames: pulumi.StringArray{ exampleEndpointStorageContainer.Name, }, }) if err != nil { return err } return nil }) }
```
## Import
IoTHub Enrichment can be imported using the `resource id`, e.g.
```sh
$ pulumi import azure:iot/enrichment:Enrichment enrichment1 /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mygroup1/providers/Microsoft.Devices/IotHubs/hub1/Enrichments/enrichment1
```
func GetEnrichment ¶
func GetEnrichment(ctx *pulumi.Context, name string, id pulumi.IDInput, state *EnrichmentState, opts ...pulumi.ResourceOption) (*Enrichment, error)
GetEnrichment gets an existing Enrichment 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 NewEnrichment ¶
func NewEnrichment(ctx *pulumi.Context, name string, args *EnrichmentArgs, opts ...pulumi.ResourceOption) (*Enrichment, error)
NewEnrichment registers a new resource with the given unique name, arguments, and options.
func (*Enrichment) ElementType ¶
func (*Enrichment) ElementType() reflect.Type
func (*Enrichment) ToEnrichmentOutput ¶
func (i *Enrichment) ToEnrichmentOutput() EnrichmentOutput
func (*Enrichment) ToEnrichmentOutputWithContext ¶
func (i *Enrichment) ToEnrichmentOutputWithContext(ctx context.Context) EnrichmentOutput
func (*Enrichment) ToEnrichmentPtrOutput ¶
func (i *Enrichment) ToEnrichmentPtrOutput() EnrichmentPtrOutput
func (*Enrichment) ToEnrichmentPtrOutputWithContext ¶
func (i *Enrichment) ToEnrichmentPtrOutputWithContext(ctx context.Context) EnrichmentPtrOutput
type EnrichmentArgs ¶
type EnrichmentArgs struct { // The list of endpoints which will be enriched. EndpointNames pulumi.StringArrayInput IothubName pulumi.StringInput // The key of the enrichment. Key pulumi.StringInput ResourceGroupName pulumi.StringInput // The value of the enrichment. Value can be any static string, the name of the IoT hub sending the message (use `$iothubname`) or information from the device twin (ex: `$twin.tags.latitude`) Value pulumi.StringInput }
The set of arguments for constructing a Enrichment resource.
func (EnrichmentArgs) ElementType ¶
func (EnrichmentArgs) ElementType() reflect.Type
type EnrichmentArray ¶
type EnrichmentArray []EnrichmentInput
func (EnrichmentArray) ElementType ¶
func (EnrichmentArray) ElementType() reflect.Type
func (EnrichmentArray) ToEnrichmentArrayOutput ¶
func (i EnrichmentArray) ToEnrichmentArrayOutput() EnrichmentArrayOutput
func (EnrichmentArray) ToEnrichmentArrayOutputWithContext ¶
func (i EnrichmentArray) ToEnrichmentArrayOutputWithContext(ctx context.Context) EnrichmentArrayOutput
type EnrichmentArrayInput ¶
type EnrichmentArrayInput interface { pulumi.Input ToEnrichmentArrayOutput() EnrichmentArrayOutput ToEnrichmentArrayOutputWithContext(context.Context) EnrichmentArrayOutput }
EnrichmentArrayInput is an input type that accepts EnrichmentArray and EnrichmentArrayOutput values. You can construct a concrete instance of `EnrichmentArrayInput` via:
EnrichmentArray{ EnrichmentArgs{...} }
type EnrichmentArrayOutput ¶
type EnrichmentArrayOutput struct{ *pulumi.OutputState }
func (EnrichmentArrayOutput) ElementType ¶
func (EnrichmentArrayOutput) ElementType() reflect.Type
func (EnrichmentArrayOutput) Index ¶
func (o EnrichmentArrayOutput) Index(i pulumi.IntInput) EnrichmentOutput
func (EnrichmentArrayOutput) ToEnrichmentArrayOutput ¶
func (o EnrichmentArrayOutput) ToEnrichmentArrayOutput() EnrichmentArrayOutput
func (EnrichmentArrayOutput) ToEnrichmentArrayOutputWithContext ¶
func (o EnrichmentArrayOutput) ToEnrichmentArrayOutputWithContext(ctx context.Context) EnrichmentArrayOutput
type EnrichmentInput ¶
type EnrichmentInput interface { pulumi.Input ToEnrichmentOutput() EnrichmentOutput ToEnrichmentOutputWithContext(ctx context.Context) EnrichmentOutput }
type EnrichmentMap ¶
type EnrichmentMap map[string]EnrichmentInput
func (EnrichmentMap) ElementType ¶
func (EnrichmentMap) ElementType() reflect.Type
func (EnrichmentMap) ToEnrichmentMapOutput ¶
func (i EnrichmentMap) ToEnrichmentMapOutput() EnrichmentMapOutput
func (EnrichmentMap) ToEnrichmentMapOutputWithContext ¶
func (i EnrichmentMap) ToEnrichmentMapOutputWithContext(ctx context.Context) EnrichmentMapOutput
type EnrichmentMapInput ¶
type EnrichmentMapInput interface { pulumi.Input ToEnrichmentMapOutput() EnrichmentMapOutput ToEnrichmentMapOutputWithContext(context.Context) EnrichmentMapOutput }
EnrichmentMapInput is an input type that accepts EnrichmentMap and EnrichmentMapOutput values. You can construct a concrete instance of `EnrichmentMapInput` via:
EnrichmentMap{ "key": EnrichmentArgs{...} }
type EnrichmentMapOutput ¶
type EnrichmentMapOutput struct{ *pulumi.OutputState }
func (EnrichmentMapOutput) ElementType ¶
func (EnrichmentMapOutput) ElementType() reflect.Type
func (EnrichmentMapOutput) MapIndex ¶
func (o EnrichmentMapOutput) MapIndex(k pulumi.StringInput) EnrichmentOutput
func (EnrichmentMapOutput) ToEnrichmentMapOutput ¶
func (o EnrichmentMapOutput) ToEnrichmentMapOutput() EnrichmentMapOutput
func (EnrichmentMapOutput) ToEnrichmentMapOutputWithContext ¶
func (o EnrichmentMapOutput) ToEnrichmentMapOutputWithContext(ctx context.Context) EnrichmentMapOutput
type EnrichmentOutput ¶
type EnrichmentOutput struct {
*pulumi.OutputState
}
func (EnrichmentOutput) ElementType ¶
func (EnrichmentOutput) ElementType() reflect.Type
func (EnrichmentOutput) ToEnrichmentOutput ¶
func (o EnrichmentOutput) ToEnrichmentOutput() EnrichmentOutput
func (EnrichmentOutput) ToEnrichmentOutputWithContext ¶
func (o EnrichmentOutput) ToEnrichmentOutputWithContext(ctx context.Context) EnrichmentOutput
func (EnrichmentOutput) ToEnrichmentPtrOutput ¶
func (o EnrichmentOutput) ToEnrichmentPtrOutput() EnrichmentPtrOutput
func (EnrichmentOutput) ToEnrichmentPtrOutputWithContext ¶
func (o EnrichmentOutput) ToEnrichmentPtrOutputWithContext(ctx context.Context) EnrichmentPtrOutput
type EnrichmentPtrInput ¶
type EnrichmentPtrInput interface { pulumi.Input ToEnrichmentPtrOutput() EnrichmentPtrOutput ToEnrichmentPtrOutputWithContext(ctx context.Context) EnrichmentPtrOutput }
type EnrichmentPtrOutput ¶
type EnrichmentPtrOutput struct {
*pulumi.OutputState
}
func (EnrichmentPtrOutput) ElementType ¶
func (EnrichmentPtrOutput) ElementType() reflect.Type
func (EnrichmentPtrOutput) ToEnrichmentPtrOutput ¶
func (o EnrichmentPtrOutput) ToEnrichmentPtrOutput() EnrichmentPtrOutput
func (EnrichmentPtrOutput) ToEnrichmentPtrOutputWithContext ¶
func (o EnrichmentPtrOutput) ToEnrichmentPtrOutputWithContext(ctx context.Context) EnrichmentPtrOutput
type EnrichmentState ¶
type EnrichmentState struct { // The list of endpoints which will be enriched. EndpointNames pulumi.StringArrayInput IothubName pulumi.StringPtrInput // The key of the enrichment. Key pulumi.StringPtrInput ResourceGroupName pulumi.StringPtrInput // The value of the enrichment. Value can be any static string, the name of the IoT hub sending the message (use `$iothubname`) or information from the device twin (ex: `$twin.tags.latitude`) Value pulumi.StringPtrInput }
func (EnrichmentState) ElementType ¶
func (EnrichmentState) 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.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/core" "github.com/pulumi/pulumi-azure/sdk/v4/go/azure/iot" "github.com/pulumi/pulumi-azure/sdk/v4/go/azure/storage" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{ Location: pulumi.String("West Europe"), }) if err != nil { return err } exampleAccount, err := storage.NewAccount(ctx, "exampleAccount", &storage.AccountArgs{ ResourceGroupName: exampleResourceGroup.Name, Location: exampleResourceGroup.Location, AccountTier: pulumi.String("Standard"), AccountReplicationType: pulumi.String("LRS"), }) if err != nil { return err } exampleContainer, err := storage.NewContainer(ctx, "exampleContainer", &storage.ContainerArgs{ StorageAccountName: exampleAccount.Name, ContainerAccessType: pulumi.String("private"), }) if err != nil { return err } exampleIoTHub, err := iot.NewIoTHub(ctx, "exampleIoTHub", &iot.IoTHubArgs{ ResourceGroupName: exampleResourceGroup.Name, Location: exampleResourceGroup.Location, Sku: &iot.IoTHubSkuArgs{ Name: pulumi.String("S1"), Capacity: pulumi.Int(1), }, Tags: pulumi.StringMap{ "purpose": pulumi.String("testing"), }, }) if err != nil { return err } exampleEndpointStorageContainer, err := iot.NewEndpointStorageContainer(ctx, "exampleEndpointStorageContainer", &iot.EndpointStorageContainerArgs{ ResourceGroupName: exampleResourceGroup.Name, IothubName: exampleIoTHub.Name, ConnectionString: exampleAccount.PrimaryBlobConnectionString, BatchFrequencyInSeconds: pulumi.Int(60), MaxChunkSizeInBytes: pulumi.Int(10485760), ContainerName: exampleContainer.Name, Encoding: pulumi.String("Avro"), FileNameFormat: pulumi.String("{iothub}/{partition}_{YYYY}_{MM}_{DD}_{HH}_{mm}"), }) if err != nil { return err } _, err = iot.NewFallbackRoute(ctx, "exampleFallbackRoute", &iot.FallbackRouteArgs{ ResourceGroupName: exampleResourceGroup.Name, IothubName: exampleIoTHub.Name, Condition: pulumi.String("true"), EndpointNames: pulumi.String{ exampleEndpointStorageContainer.Name, }, Enabled: pulumi.Bool(true), }) if err != nil { return err } return nil }) }
```
## Import
IoTHub Fallback Route can be imported using the `resource id`, e.g.
```sh
$ pulumi import azure:iot/fallbackRoute:FallbackRoute route1 /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mygroup1/providers/Microsoft.Devices/IotHubs/hub1/FallbackRoute/default
```
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.
func (*FallbackRoute) ElementType ¶
func (*FallbackRoute) ElementType() reflect.Type
func (*FallbackRoute) ToFallbackRouteOutput ¶
func (i *FallbackRoute) ToFallbackRouteOutput() FallbackRouteOutput
func (*FallbackRoute) ToFallbackRouteOutputWithContext ¶
func (i *FallbackRoute) ToFallbackRouteOutputWithContext(ctx context.Context) FallbackRouteOutput
func (*FallbackRoute) ToFallbackRoutePtrOutput ¶
func (i *FallbackRoute) ToFallbackRoutePtrOutput() FallbackRoutePtrOutput
func (*FallbackRoute) ToFallbackRoutePtrOutputWithContext ¶
func (i *FallbackRoute) ToFallbackRoutePtrOutputWithContext(ctx context.Context) FallbackRoutePtrOutput
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 FallbackRouteArray ¶
type FallbackRouteArray []FallbackRouteInput
func (FallbackRouteArray) ElementType ¶
func (FallbackRouteArray) ElementType() reflect.Type
func (FallbackRouteArray) ToFallbackRouteArrayOutput ¶
func (i FallbackRouteArray) ToFallbackRouteArrayOutput() FallbackRouteArrayOutput
func (FallbackRouteArray) ToFallbackRouteArrayOutputWithContext ¶
func (i FallbackRouteArray) ToFallbackRouteArrayOutputWithContext(ctx context.Context) FallbackRouteArrayOutput
type FallbackRouteArrayInput ¶
type FallbackRouteArrayInput interface { pulumi.Input ToFallbackRouteArrayOutput() FallbackRouteArrayOutput ToFallbackRouteArrayOutputWithContext(context.Context) FallbackRouteArrayOutput }
FallbackRouteArrayInput is an input type that accepts FallbackRouteArray and FallbackRouteArrayOutput values. You can construct a concrete instance of `FallbackRouteArrayInput` via:
FallbackRouteArray{ FallbackRouteArgs{...} }
type FallbackRouteArrayOutput ¶
type FallbackRouteArrayOutput struct{ *pulumi.OutputState }
func (FallbackRouteArrayOutput) ElementType ¶
func (FallbackRouteArrayOutput) ElementType() reflect.Type
func (FallbackRouteArrayOutput) Index ¶
func (o FallbackRouteArrayOutput) Index(i pulumi.IntInput) FallbackRouteOutput
func (FallbackRouteArrayOutput) ToFallbackRouteArrayOutput ¶
func (o FallbackRouteArrayOutput) ToFallbackRouteArrayOutput() FallbackRouteArrayOutput
func (FallbackRouteArrayOutput) ToFallbackRouteArrayOutputWithContext ¶
func (o FallbackRouteArrayOutput) ToFallbackRouteArrayOutputWithContext(ctx context.Context) FallbackRouteArrayOutput
type FallbackRouteInput ¶
type FallbackRouteInput interface { pulumi.Input ToFallbackRouteOutput() FallbackRouteOutput ToFallbackRouteOutputWithContext(ctx context.Context) FallbackRouteOutput }
type FallbackRouteMap ¶
type FallbackRouteMap map[string]FallbackRouteInput
func (FallbackRouteMap) ElementType ¶
func (FallbackRouteMap) ElementType() reflect.Type
func (FallbackRouteMap) ToFallbackRouteMapOutput ¶
func (i FallbackRouteMap) ToFallbackRouteMapOutput() FallbackRouteMapOutput
func (FallbackRouteMap) ToFallbackRouteMapOutputWithContext ¶
func (i FallbackRouteMap) ToFallbackRouteMapOutputWithContext(ctx context.Context) FallbackRouteMapOutput
type FallbackRouteMapInput ¶
type FallbackRouteMapInput interface { pulumi.Input ToFallbackRouteMapOutput() FallbackRouteMapOutput ToFallbackRouteMapOutputWithContext(context.Context) FallbackRouteMapOutput }
FallbackRouteMapInput is an input type that accepts FallbackRouteMap and FallbackRouteMapOutput values. You can construct a concrete instance of `FallbackRouteMapInput` via:
FallbackRouteMap{ "key": FallbackRouteArgs{...} }
type FallbackRouteMapOutput ¶
type FallbackRouteMapOutput struct{ *pulumi.OutputState }
func (FallbackRouteMapOutput) ElementType ¶
func (FallbackRouteMapOutput) ElementType() reflect.Type
func (FallbackRouteMapOutput) MapIndex ¶
func (o FallbackRouteMapOutput) MapIndex(k pulumi.StringInput) FallbackRouteOutput
func (FallbackRouteMapOutput) ToFallbackRouteMapOutput ¶
func (o FallbackRouteMapOutput) ToFallbackRouteMapOutput() FallbackRouteMapOutput
func (FallbackRouteMapOutput) ToFallbackRouteMapOutputWithContext ¶
func (o FallbackRouteMapOutput) ToFallbackRouteMapOutputWithContext(ctx context.Context) FallbackRouteMapOutput
type FallbackRouteOutput ¶
type FallbackRouteOutput struct {
*pulumi.OutputState
}
func (FallbackRouteOutput) ElementType ¶
func (FallbackRouteOutput) ElementType() reflect.Type
func (FallbackRouteOutput) ToFallbackRouteOutput ¶
func (o FallbackRouteOutput) ToFallbackRouteOutput() FallbackRouteOutput
func (FallbackRouteOutput) ToFallbackRouteOutputWithContext ¶
func (o FallbackRouteOutput) ToFallbackRouteOutputWithContext(ctx context.Context) FallbackRouteOutput
func (FallbackRouteOutput) ToFallbackRoutePtrOutput ¶
func (o FallbackRouteOutput) ToFallbackRoutePtrOutput() FallbackRoutePtrOutput
func (FallbackRouteOutput) ToFallbackRoutePtrOutputWithContext ¶
func (o FallbackRouteOutput) ToFallbackRoutePtrOutputWithContext(ctx context.Context) FallbackRoutePtrOutput
type FallbackRoutePtrInput ¶
type FallbackRoutePtrInput interface { pulumi.Input ToFallbackRoutePtrOutput() FallbackRoutePtrOutput ToFallbackRoutePtrOutputWithContext(ctx context.Context) FallbackRoutePtrOutput }
type FallbackRoutePtrOutput ¶
type FallbackRoutePtrOutput struct {
*pulumi.OutputState
}
func (FallbackRoutePtrOutput) ElementType ¶
func (FallbackRoutePtrOutput) ElementType() reflect.Type
func (FallbackRoutePtrOutput) ToFallbackRoutePtrOutput ¶
func (o FallbackRoutePtrOutput) ToFallbackRoutePtrOutput() FallbackRoutePtrOutput
func (FallbackRoutePtrOutput) ToFallbackRoutePtrOutputWithContext ¶
func (o FallbackRoutePtrOutput) ToFallbackRoutePtrOutputWithContext(ctx context.Context) FallbackRoutePtrOutput
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"` // 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.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/iot" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := iot.GetDps(ctx, &iot.GetDpsArgs{ Name: "iot_hub_dps_test", ResourceGroupName: "iothub_dps_rg", }, nil) if err != nil { return err } return nil }) }
```
type GetIotHubArgs ¶
type GetIotHubArgs struct { // The name of this IoTHub. Name string `pulumi:"name"` // The name of the Resource Group where the IoTHub exists. ResourceGroupName string `pulumi:"resourceGroupName"` // A mapping of tags which should be assigned to the IoTHub. Tags map[string]string `pulumi:"tags"` }
A collection of arguments for invoking getIotHub.
type GetIotHubResult ¶
type GetIotHubResult struct { // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` Name string `pulumi:"name"` ResourceGroupName string `pulumi:"resourceGroupName"` Tags map[string]string `pulumi:"tags"` }
A collection of values returned by getIotHub.
func GetIotHub ¶
func GetIotHub(ctx *pulumi.Context, args *GetIotHubArgs, opts ...pulumi.InvokeOption) (*GetIotHubResult, error)
Use this data source to access information about an existing IoTHub.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/iot" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { example, err := iot.GetIotHub(ctx, &iot.GetIotHubArgs{ Name: "existing", ResourceGroupName: "existing", }, nil) if err != nil { return err } ctx.Export("id", example.Id) return nil }) }
```
type IoTHub ¶
type IoTHub struct { pulumi.CustomResourceState // An `endpoint` block as defined below. Endpoints IoTHubEndpointArrayOutput `pulumi:"endpoints"` // A `enrichment` block as defined below. Enrichments IoTHubEnrichmentArrayOutput `pulumi:"enrichments"` // 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 created. Changing this forces a new resource to be created. Location pulumi.StringOutput `pulumi:"location"` // Specifies the minimum TLS version to support for this hub. The only valid value is `1.2`. Changing this forces a new resource to be created. MinTlsVersion pulumi.StringPtrOutput `pulumi:"minTlsVersion"` // Specifies the name of the IotHub resource. Changing this forces a new resource to be created. Name pulumi.StringOutput `pulumi:"name"` // Is the IotHub resource accessible from a public network? PublicNetworkAccessEnabled pulumi.BoolPtrOutput `pulumi:"publicNetworkAccessEnabled"` // 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:** Enrichments can be defined either directly on the `iot.IoTHub` resource, or using the `iot.Enrichment` 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.
## Example Usage
```go package main
import (
"fmt" "github.com/pulumi/pulumi-azure/sdk/v4/go/azure/core" "github.com/pulumi/pulumi-azure/sdk/v4/go/azure/eventhub" "github.com/pulumi/pulumi-azure/sdk/v4/go/azure/iot" "github.com/pulumi/pulumi-azure/sdk/v4/go/azure/storage" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{ Location: pulumi.String("West Europe"), }) if err != nil { return err } exampleAccount, err := storage.NewAccount(ctx, "exampleAccount", &storage.AccountArgs{ ResourceGroupName: exampleResourceGroup.Name, Location: exampleResourceGroup.Location, AccountTier: pulumi.String("Standard"), AccountReplicationType: pulumi.String("LRS"), }) if err != nil { return err } exampleContainer, err := storage.NewContainer(ctx, "exampleContainer", &storage.ContainerArgs{ StorageAccountName: exampleAccount.Name, ContainerAccessType: pulumi.String("private"), }) if err != nil { return err } exampleEventHubNamespace, err := eventhub.NewEventHubNamespace(ctx, "exampleEventHubNamespace", &eventhub.EventHubNamespaceArgs{ ResourceGroupName: exampleResourceGroup.Name, Location: exampleResourceGroup.Location, Sku: pulumi.String("Basic"), }) if err != nil { return err } exampleEventHub, err := eventhub.NewEventHub(ctx, "exampleEventHub", &eventhub.EventHubArgs{ ResourceGroupName: exampleResourceGroup.Name, NamespaceName: exampleEventHubNamespace.Name, PartitionCount: pulumi.Int(2), MessageRetention: pulumi.Int(1), }) if err != nil { return err } exampleAuthorizationRule, err := eventhub.NewAuthorizationRule(ctx, "exampleAuthorizationRule", &eventhub.AuthorizationRuleArgs{ ResourceGroupName: exampleResourceGroup.Name, NamespaceName: exampleEventHubNamespace.Name, EventhubName: exampleEventHub.Name, Send: pulumi.Bool(true), }) if err != nil { return err } _, err = iot.NewIoTHub(ctx, "exampleIoTHub", &iot.IoTHubArgs{ ResourceGroupName: exampleResourceGroup.Name, Location: exampleResourceGroup.Location, Sku: &iot.IoTHubSkuArgs{ Name: pulumi.String("S1"), Capacity: pulumi.Int(1), }, Endpoints: iot.IoTHubEndpointArray{ &iot.IoTHubEndpointArgs{ Type: pulumi.String("AzureIotHub.StorageContainer"), ConnectionString: exampleAccount.PrimaryBlobConnectionString, Name: pulumi.String("export"), BatchFrequencyInSeconds: pulumi.Int(60), MaxChunkSizeInBytes: pulumi.Int(10485760), ContainerName: exampleContainer.Name, Encoding: pulumi.String("Avro"), FileNameFormat: pulumi.String("{iothub}/{partition}_{YYYY}_{MM}_{DD}_{HH}_{mm}"), }, &iot.IoTHubEndpointArgs{ Type: pulumi.String("AzureIotHub.EventHub"), ConnectionString: exampleAuthorizationRule.PrimaryConnectionString, Name: pulumi.String("export2"), }, }, Routes: iot.IoTHubRouteArray{ &iot.IoTHubRouteArgs{ Name: pulumi.String("export"), Source: pulumi.String("DeviceMessages"), Condition: pulumi.String("true"), EndpointNames: pulumi.StringArray{ pulumi.String("export"), }, Enabled: pulumi.Bool(true), }, &iot.IoTHubRouteArgs{ Name: pulumi.String("export2"), Source: pulumi.String("DeviceMessages"), Condition: pulumi.String("true"), EndpointNames: pulumi.StringArray{ pulumi.String("export2"), }, Enabled: pulumi.Bool(true), }, }, Enrichments: iot.IoTHubEnrichmentArray{ &iot.IoTHubEnrichmentArgs{ Key: pulumi.String("tenant"), Value: pulumi.String(fmt.Sprintf("%v%v", "$", "twin.tags.Tenant")), EndpointNames: pulumi.StringArray{ pulumi.String("export"), pulumi.String("export2"), }, }, }, Tags: pulumi.StringMap{ "purpose": pulumi.String("testing"), }, }) if err != nil { return err } return nil }) }
```
## Import
IoTHubs can be imported using the `resource id`, e.g.
```sh
$ pulumi import azure:iot/ioTHub:IoTHub hub1 /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mygroup1/providers/Microsoft.Devices/IotHubs/hub1
```
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.
func (*IoTHub) ElementType ¶
func (*IoTHub) ToIoTHubOutput ¶
func (i *IoTHub) ToIoTHubOutput() IoTHubOutput
func (*IoTHub) ToIoTHubOutputWithContext ¶
func (i *IoTHub) ToIoTHubOutputWithContext(ctx context.Context) IoTHubOutput
func (*IoTHub) ToIoTHubPtrOutput ¶
func (i *IoTHub) ToIoTHubPtrOutput() IoTHubPtrOutput
func (*IoTHub) ToIoTHubPtrOutputWithContext ¶
func (i *IoTHub) ToIoTHubPtrOutputWithContext(ctx context.Context) IoTHubPtrOutput
type IoTHubArgs ¶
type IoTHubArgs struct { // An `endpoint` block as defined below. Endpoints IoTHubEndpointArrayInput // A `enrichment` block as defined below. Enrichments IoTHubEnrichmentArrayInput // 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 created. Changing this forces a new resource to be created. Location pulumi.StringPtrInput // Specifies the minimum TLS version to support for this hub. The only valid value is `1.2`. Changing this forces a new resource to be created. MinTlsVersion pulumi.StringPtrInput // Specifies the name of the IotHub resource. Changing this forces a new resource to be created. Name pulumi.StringPtrInput // Is the IotHub resource accessible from a public network? PublicNetworkAccessEnabled pulumi.BoolPtrInput // 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 IoTHubArray ¶
type IoTHubArray []IoTHubInput
func (IoTHubArray) ElementType ¶
func (IoTHubArray) ElementType() reflect.Type
func (IoTHubArray) ToIoTHubArrayOutput ¶
func (i IoTHubArray) ToIoTHubArrayOutput() IoTHubArrayOutput
func (IoTHubArray) ToIoTHubArrayOutputWithContext ¶
func (i IoTHubArray) ToIoTHubArrayOutputWithContext(ctx context.Context) IoTHubArrayOutput
type IoTHubArrayInput ¶
type IoTHubArrayInput interface { pulumi.Input ToIoTHubArrayOutput() IoTHubArrayOutput ToIoTHubArrayOutputWithContext(context.Context) IoTHubArrayOutput }
IoTHubArrayInput is an input type that accepts IoTHubArray and IoTHubArrayOutput values. You can construct a concrete instance of `IoTHubArrayInput` via:
IoTHubArray{ IoTHubArgs{...} }
type IoTHubArrayOutput ¶
type IoTHubArrayOutput struct{ *pulumi.OutputState }
func (IoTHubArrayOutput) ElementType ¶
func (IoTHubArrayOutput) ElementType() reflect.Type
func (IoTHubArrayOutput) Index ¶
func (o IoTHubArrayOutput) Index(i pulumi.IntInput) IoTHubOutput
func (IoTHubArrayOutput) ToIoTHubArrayOutput ¶
func (o IoTHubArrayOutput) ToIoTHubArrayOutput() IoTHubArrayOutput
func (IoTHubArrayOutput) ToIoTHubArrayOutputWithContext ¶
func (o IoTHubArrayOutput) ToIoTHubArrayOutputWithContext(ctx context.Context) IoTHubArrayOutput
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 resource group in which the endpoint will be created. ResourceGroupName *string `pulumi:"resourceGroupName"` // 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 resource group in which the endpoint will be created. ResourceGroupName pulumi.StringPtrInput `pulumi:"resourceGroupName"` // 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 }
IoTHubEndpointArrayInput is an input type that accepts IoTHubEndpointArray and IoTHubEndpointArrayOutput values. You can construct a concrete instance of `IoTHubEndpointArrayInput` via:
IoTHubEndpointArray{ IoTHubEndpointArgs{...} }
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 }
IoTHubEndpointInput is an input type that accepts IoTHubEndpointArgs and IoTHubEndpointOutput values. You can construct a concrete instance of `IoTHubEndpointInput` via:
IoTHubEndpointArgs{...}
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) ResourceGroupName ¶
func (o IoTHubEndpointOutput) ResourceGroupName() pulumi.StringPtrOutput
The resource group in which the endpoint will be created.
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 IoTHubEnrichment ¶
type IoTHubEnrichment struct { // The list of endpoints which will be enriched. EndpointNames []string `pulumi:"endpointNames"` // The key of the enrichment. Key string `pulumi:"key"` // The value of the enrichment. Value can be any static string, the name of the IoT hub sending the message (use `$iothubname`) or information from the device twin (ex: `$twin.tags.latitude`) Value string `pulumi:"value"` }
type IoTHubEnrichmentArgs ¶
type IoTHubEnrichmentArgs struct { // The list of endpoints which will be enriched. EndpointNames pulumi.StringArrayInput `pulumi:"endpointNames"` // The key of the enrichment. Key pulumi.StringInput `pulumi:"key"` // The value of the enrichment. Value can be any static string, the name of the IoT hub sending the message (use `$iothubname`) or information from the device twin (ex: `$twin.tags.latitude`) Value pulumi.StringInput `pulumi:"value"` }
func (IoTHubEnrichmentArgs) ElementType ¶
func (IoTHubEnrichmentArgs) ElementType() reflect.Type
func (IoTHubEnrichmentArgs) ToIoTHubEnrichmentOutput ¶
func (i IoTHubEnrichmentArgs) ToIoTHubEnrichmentOutput() IoTHubEnrichmentOutput
func (IoTHubEnrichmentArgs) ToIoTHubEnrichmentOutputWithContext ¶
func (i IoTHubEnrichmentArgs) ToIoTHubEnrichmentOutputWithContext(ctx context.Context) IoTHubEnrichmentOutput
type IoTHubEnrichmentArray ¶
type IoTHubEnrichmentArray []IoTHubEnrichmentInput
func (IoTHubEnrichmentArray) ElementType ¶
func (IoTHubEnrichmentArray) ElementType() reflect.Type
func (IoTHubEnrichmentArray) ToIoTHubEnrichmentArrayOutput ¶
func (i IoTHubEnrichmentArray) ToIoTHubEnrichmentArrayOutput() IoTHubEnrichmentArrayOutput
func (IoTHubEnrichmentArray) ToIoTHubEnrichmentArrayOutputWithContext ¶
func (i IoTHubEnrichmentArray) ToIoTHubEnrichmentArrayOutputWithContext(ctx context.Context) IoTHubEnrichmentArrayOutput
type IoTHubEnrichmentArrayInput ¶
type IoTHubEnrichmentArrayInput interface { pulumi.Input ToIoTHubEnrichmentArrayOutput() IoTHubEnrichmentArrayOutput ToIoTHubEnrichmentArrayOutputWithContext(context.Context) IoTHubEnrichmentArrayOutput }
IoTHubEnrichmentArrayInput is an input type that accepts IoTHubEnrichmentArray and IoTHubEnrichmentArrayOutput values. You can construct a concrete instance of `IoTHubEnrichmentArrayInput` via:
IoTHubEnrichmentArray{ IoTHubEnrichmentArgs{...} }
type IoTHubEnrichmentArrayOutput ¶
type IoTHubEnrichmentArrayOutput struct{ *pulumi.OutputState }
func (IoTHubEnrichmentArrayOutput) ElementType ¶
func (IoTHubEnrichmentArrayOutput) ElementType() reflect.Type
func (IoTHubEnrichmentArrayOutput) Index ¶
func (o IoTHubEnrichmentArrayOutput) Index(i pulumi.IntInput) IoTHubEnrichmentOutput
func (IoTHubEnrichmentArrayOutput) ToIoTHubEnrichmentArrayOutput ¶
func (o IoTHubEnrichmentArrayOutput) ToIoTHubEnrichmentArrayOutput() IoTHubEnrichmentArrayOutput
func (IoTHubEnrichmentArrayOutput) ToIoTHubEnrichmentArrayOutputWithContext ¶
func (o IoTHubEnrichmentArrayOutput) ToIoTHubEnrichmentArrayOutputWithContext(ctx context.Context) IoTHubEnrichmentArrayOutput
type IoTHubEnrichmentInput ¶
type IoTHubEnrichmentInput interface { pulumi.Input ToIoTHubEnrichmentOutput() IoTHubEnrichmentOutput ToIoTHubEnrichmentOutputWithContext(context.Context) IoTHubEnrichmentOutput }
IoTHubEnrichmentInput is an input type that accepts IoTHubEnrichmentArgs and IoTHubEnrichmentOutput values. You can construct a concrete instance of `IoTHubEnrichmentInput` via:
IoTHubEnrichmentArgs{...}
type IoTHubEnrichmentOutput ¶
type IoTHubEnrichmentOutput struct{ *pulumi.OutputState }
func (IoTHubEnrichmentOutput) ElementType ¶
func (IoTHubEnrichmentOutput) ElementType() reflect.Type
func (IoTHubEnrichmentOutput) EndpointNames ¶
func (o IoTHubEnrichmentOutput) EndpointNames() pulumi.StringArrayOutput
The list of endpoints which will be enriched.
func (IoTHubEnrichmentOutput) Key ¶
func (o IoTHubEnrichmentOutput) Key() pulumi.StringOutput
The key of the enrichment.
func (IoTHubEnrichmentOutput) ToIoTHubEnrichmentOutput ¶
func (o IoTHubEnrichmentOutput) ToIoTHubEnrichmentOutput() IoTHubEnrichmentOutput
func (IoTHubEnrichmentOutput) ToIoTHubEnrichmentOutputWithContext ¶
func (o IoTHubEnrichmentOutput) ToIoTHubEnrichmentOutputWithContext(ctx context.Context) IoTHubEnrichmentOutput
func (IoTHubEnrichmentOutput) Value ¶
func (o IoTHubEnrichmentOutput) Value() pulumi.StringOutput
The value of the enrichment. Value can be any static string, the name of the IoT hub sending the message (use `$iothubname`) or information from the device twin (ex: `$twin.tags.latitude`)
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 }
IoTHubFallbackRouteInput is an input type that accepts IoTHubFallbackRouteArgs and IoTHubFallbackRouteOutput values. You can construct a concrete instance of `IoTHubFallbackRouteInput` via:
IoTHubFallbackRouteArgs{...}
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 }
IoTHubFallbackRoutePtrInput is an input type that accepts IoTHubFallbackRouteArgs, IoTHubFallbackRoutePtr and IoTHubFallbackRoutePtrOutput values. You can construct a concrete instance of `IoTHubFallbackRoutePtrInput` via:
IoTHubFallbackRouteArgs{...} or: nil
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 }
IoTHubFileUploadInput is an input type that accepts IoTHubFileUploadArgs and IoTHubFileUploadOutput values. You can construct a concrete instance of `IoTHubFileUploadInput` via:
IoTHubFileUploadArgs{...}
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 }
IoTHubFileUploadPtrInput is an input type that accepts IoTHubFileUploadArgs, IoTHubFileUploadPtr and IoTHubFileUploadPtrOutput values. You can construct a concrete instance of `IoTHubFileUploadPtrInput` via:
IoTHubFileUploadArgs{...} or: nil
func IoTHubFileUploadPtr ¶
func IoTHubFileUploadPtr(v *IoTHubFileUploadArgs) IoTHubFileUploadPtrInput
type IoTHubFileUploadPtrOutput ¶
type IoTHubFileUploadPtrOutput struct{ *pulumi.OutputState }
func (IoTHubFileUploadPtrOutput) ConnectionString ¶
func (o IoTHubFileUploadPtrOutput) ConnectionString() pulumi.StringPtrOutput
The connection string for the Azure Storage account to which files are uploaded.
func (IoTHubFileUploadPtrOutput) ContainerName ¶
func (o IoTHubFileUploadPtrOutput) ContainerName() pulumi.StringPtrOutput
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 IoTHubInput ¶
type IoTHubInput interface { pulumi.Input ToIoTHubOutput() IoTHubOutput ToIoTHubOutputWithContext(ctx context.Context) IoTHubOutput }
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 }
IoTHubIpFilterRuleArrayInput is an input type that accepts IoTHubIpFilterRuleArray and IoTHubIpFilterRuleArrayOutput values. You can construct a concrete instance of `IoTHubIpFilterRuleArrayInput` via:
IoTHubIpFilterRuleArray{ IoTHubIpFilterRuleArgs{...} }
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 }
IoTHubIpFilterRuleInput is an input type that accepts IoTHubIpFilterRuleArgs and IoTHubIpFilterRuleOutput values. You can construct a concrete instance of `IoTHubIpFilterRuleInput` via:
IoTHubIpFilterRuleArgs{...}
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 IoTHubMap ¶
type IoTHubMap map[string]IoTHubInput
func (IoTHubMap) ElementType ¶
func (IoTHubMap) ToIoTHubMapOutput ¶
func (i IoTHubMap) ToIoTHubMapOutput() IoTHubMapOutput
func (IoTHubMap) ToIoTHubMapOutputWithContext ¶
func (i IoTHubMap) ToIoTHubMapOutputWithContext(ctx context.Context) IoTHubMapOutput
type IoTHubMapInput ¶
type IoTHubMapInput interface { pulumi.Input ToIoTHubMapOutput() IoTHubMapOutput ToIoTHubMapOutputWithContext(context.Context) IoTHubMapOutput }
IoTHubMapInput is an input type that accepts IoTHubMap and IoTHubMapOutput values. You can construct a concrete instance of `IoTHubMapInput` via:
IoTHubMap{ "key": IoTHubArgs{...} }
type IoTHubMapOutput ¶
type IoTHubMapOutput struct{ *pulumi.OutputState }
func (IoTHubMapOutput) ElementType ¶
func (IoTHubMapOutput) ElementType() reflect.Type
func (IoTHubMapOutput) MapIndex ¶
func (o IoTHubMapOutput) MapIndex(k pulumi.StringInput) IoTHubOutput
func (IoTHubMapOutput) ToIoTHubMapOutput ¶
func (o IoTHubMapOutput) ToIoTHubMapOutput() IoTHubMapOutput
func (IoTHubMapOutput) ToIoTHubMapOutputWithContext ¶
func (o IoTHubMapOutput) ToIoTHubMapOutputWithContext(ctx context.Context) IoTHubMapOutput
type IoTHubOutput ¶
type IoTHubOutput struct {
*pulumi.OutputState
}
func (IoTHubOutput) ElementType ¶
func (IoTHubOutput) ElementType() reflect.Type
func (IoTHubOutput) ToIoTHubOutput ¶
func (o IoTHubOutput) ToIoTHubOutput() IoTHubOutput
func (IoTHubOutput) ToIoTHubOutputWithContext ¶
func (o IoTHubOutput) ToIoTHubOutputWithContext(ctx context.Context) IoTHubOutput
func (IoTHubOutput) ToIoTHubPtrOutput ¶
func (o IoTHubOutput) ToIoTHubPtrOutput() IoTHubPtrOutput
func (IoTHubOutput) ToIoTHubPtrOutputWithContext ¶
func (o IoTHubOutput) ToIoTHubPtrOutputWithContext(ctx context.Context) IoTHubPtrOutput
type IoTHubPtrInput ¶
type IoTHubPtrInput interface { pulumi.Input ToIoTHubPtrOutput() IoTHubPtrOutput ToIoTHubPtrOutputWithContext(ctx context.Context) IoTHubPtrOutput }
type IoTHubPtrOutput ¶
type IoTHubPtrOutput struct {
*pulumi.OutputState
}
func (IoTHubPtrOutput) ElementType ¶
func (IoTHubPtrOutput) ElementType() reflect.Type
func (IoTHubPtrOutput) ToIoTHubPtrOutput ¶
func (o IoTHubPtrOutput) ToIoTHubPtrOutput() IoTHubPtrOutput
func (IoTHubPtrOutput) ToIoTHubPtrOutputWithContext ¶
func (o IoTHubPtrOutput) ToIoTHubPtrOutputWithContext(ctx context.Context) IoTHubPtrOutput
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 }
IoTHubRouteArrayInput is an input type that accepts IoTHubRouteArray and IoTHubRouteArrayOutput values. You can construct a concrete instance of `IoTHubRouteArrayInput` via:
IoTHubRouteArray{ IoTHubRouteArgs{...} }
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 }
IoTHubRouteInput is an input type that accepts IoTHubRouteArgs and IoTHubRouteOutput values. You can construct a concrete instance of `IoTHubRouteInput` via:
IoTHubRouteArgs{...}
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 IoTHubSharedAccessPolicyArrayInput ¶
IoTHubSharedAccessPolicyArrayInput is an input type that accepts IoTHubSharedAccessPolicyArray and IoTHubSharedAccessPolicyArrayOutput values. You can construct a concrete instance of `IoTHubSharedAccessPolicyArrayInput` via:
IoTHubSharedAccessPolicyArray{ IoTHubSharedAccessPolicyArgs{...} }
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 IoTHubSharedAccessPolicyInput ¶
IoTHubSharedAccessPolicyInput is an input type that accepts IoTHubSharedAccessPolicyArgs and IoTHubSharedAccessPolicyOutput values. You can construct a concrete instance of `IoTHubSharedAccessPolicyInput` via:
IoTHubSharedAccessPolicyArgs{...}
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 }
IoTHubSkuInput is an input type that accepts IoTHubSkuArgs and IoTHubSkuOutput values. You can construct a concrete instance of `IoTHubSkuInput` via:
IoTHubSkuArgs{...}
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 }
IoTHubSkuPtrInput is an input type that accepts IoTHubSkuArgs, IoTHubSkuPtr and IoTHubSkuPtrOutput values. You can construct a concrete instance of `IoTHubSkuPtrInput` via:
IoTHubSkuArgs{...} or: nil
func IoTHubSkuPtr ¶
func IoTHubSkuPtr(v *IoTHubSkuArgs) IoTHubSkuPtrInput
type IoTHubSkuPtrOutput ¶
type IoTHubSkuPtrOutput struct{ *pulumi.OutputState }
func (IoTHubSkuPtrOutput) Capacity ¶
func (o IoTHubSkuPtrOutput) Capacity() pulumi.IntPtrOutput
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.StringPtrOutput
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 // A `enrichment` block as defined below. Enrichments IoTHubEnrichmentArrayInput // 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 created. Changing this forces a new resource to be created. Location pulumi.StringPtrInput // Specifies the minimum TLS version to support for this hub. The only valid value is `1.2`. Changing this forces a new resource to be created. MinTlsVersion pulumi.StringPtrInput // Specifies the name of the IotHub resource. Changing this forces a new resource to be created. Name pulumi.StringPtrInput // Is the IotHub resource accessible from a public network? PublicNetworkAccessEnabled pulumi.BoolPtrInput // 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.
## Import
IoTHub Device Provisioning Service Certificates can be imported using the `resource id`, e.g.
```sh
$ pulumi import azure:iot/iotHubCertificate:IotHubCertificate example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mygroup1/providers/Microsoft.Devices/provisioningServices/example/certificates/example
```
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.
func (*IotHubCertificate) ElementType ¶
func (*IotHubCertificate) ElementType() reflect.Type
func (*IotHubCertificate) ToIotHubCertificateOutput ¶
func (i *IotHubCertificate) ToIotHubCertificateOutput() IotHubCertificateOutput
func (*IotHubCertificate) ToIotHubCertificateOutputWithContext ¶
func (i *IotHubCertificate) ToIotHubCertificateOutputWithContext(ctx context.Context) IotHubCertificateOutput
func (*IotHubCertificate) ToIotHubCertificatePtrOutput ¶
func (i *IotHubCertificate) ToIotHubCertificatePtrOutput() IotHubCertificatePtrOutput
func (*IotHubCertificate) ToIotHubCertificatePtrOutputWithContext ¶
func (i *IotHubCertificate) ToIotHubCertificatePtrOutputWithContext(ctx context.Context) IotHubCertificatePtrOutput
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 IotHubCertificateArray ¶
type IotHubCertificateArray []IotHubCertificateInput
func (IotHubCertificateArray) ElementType ¶
func (IotHubCertificateArray) ElementType() reflect.Type
func (IotHubCertificateArray) ToIotHubCertificateArrayOutput ¶
func (i IotHubCertificateArray) ToIotHubCertificateArrayOutput() IotHubCertificateArrayOutput
func (IotHubCertificateArray) ToIotHubCertificateArrayOutputWithContext ¶
func (i IotHubCertificateArray) ToIotHubCertificateArrayOutputWithContext(ctx context.Context) IotHubCertificateArrayOutput
type IotHubCertificateArrayInput ¶
type IotHubCertificateArrayInput interface { pulumi.Input ToIotHubCertificateArrayOutput() IotHubCertificateArrayOutput ToIotHubCertificateArrayOutputWithContext(context.Context) IotHubCertificateArrayOutput }
IotHubCertificateArrayInput is an input type that accepts IotHubCertificateArray and IotHubCertificateArrayOutput values. You can construct a concrete instance of `IotHubCertificateArrayInput` via:
IotHubCertificateArray{ IotHubCertificateArgs{...} }
type IotHubCertificateArrayOutput ¶
type IotHubCertificateArrayOutput struct{ *pulumi.OutputState }
func (IotHubCertificateArrayOutput) ElementType ¶
func (IotHubCertificateArrayOutput) ElementType() reflect.Type
func (IotHubCertificateArrayOutput) Index ¶
func (o IotHubCertificateArrayOutput) Index(i pulumi.IntInput) IotHubCertificateOutput
func (IotHubCertificateArrayOutput) ToIotHubCertificateArrayOutput ¶
func (o IotHubCertificateArrayOutput) ToIotHubCertificateArrayOutput() IotHubCertificateArrayOutput
func (IotHubCertificateArrayOutput) ToIotHubCertificateArrayOutputWithContext ¶
func (o IotHubCertificateArrayOutput) ToIotHubCertificateArrayOutputWithContext(ctx context.Context) IotHubCertificateArrayOutput
type IotHubCertificateInput ¶
type IotHubCertificateInput interface { pulumi.Input ToIotHubCertificateOutput() IotHubCertificateOutput ToIotHubCertificateOutputWithContext(ctx context.Context) IotHubCertificateOutput }
type IotHubCertificateMap ¶
type IotHubCertificateMap map[string]IotHubCertificateInput
func (IotHubCertificateMap) ElementType ¶
func (IotHubCertificateMap) ElementType() reflect.Type
func (IotHubCertificateMap) ToIotHubCertificateMapOutput ¶
func (i IotHubCertificateMap) ToIotHubCertificateMapOutput() IotHubCertificateMapOutput
func (IotHubCertificateMap) ToIotHubCertificateMapOutputWithContext ¶
func (i IotHubCertificateMap) ToIotHubCertificateMapOutputWithContext(ctx context.Context) IotHubCertificateMapOutput
type IotHubCertificateMapInput ¶
type IotHubCertificateMapInput interface { pulumi.Input ToIotHubCertificateMapOutput() IotHubCertificateMapOutput ToIotHubCertificateMapOutputWithContext(context.Context) IotHubCertificateMapOutput }
IotHubCertificateMapInput is an input type that accepts IotHubCertificateMap and IotHubCertificateMapOutput values. You can construct a concrete instance of `IotHubCertificateMapInput` via:
IotHubCertificateMap{ "key": IotHubCertificateArgs{...} }
type IotHubCertificateMapOutput ¶
type IotHubCertificateMapOutput struct{ *pulumi.OutputState }
func (IotHubCertificateMapOutput) ElementType ¶
func (IotHubCertificateMapOutput) ElementType() reflect.Type
func (IotHubCertificateMapOutput) MapIndex ¶
func (o IotHubCertificateMapOutput) MapIndex(k pulumi.StringInput) IotHubCertificateOutput
func (IotHubCertificateMapOutput) ToIotHubCertificateMapOutput ¶
func (o IotHubCertificateMapOutput) ToIotHubCertificateMapOutput() IotHubCertificateMapOutput
func (IotHubCertificateMapOutput) ToIotHubCertificateMapOutputWithContext ¶
func (o IotHubCertificateMapOutput) ToIotHubCertificateMapOutputWithContext(ctx context.Context) IotHubCertificateMapOutput
type IotHubCertificateOutput ¶
type IotHubCertificateOutput struct {
*pulumi.OutputState
}
func (IotHubCertificateOutput) ElementType ¶
func (IotHubCertificateOutput) ElementType() reflect.Type
func (IotHubCertificateOutput) ToIotHubCertificateOutput ¶
func (o IotHubCertificateOutput) ToIotHubCertificateOutput() IotHubCertificateOutput
func (IotHubCertificateOutput) ToIotHubCertificateOutputWithContext ¶
func (o IotHubCertificateOutput) ToIotHubCertificateOutputWithContext(ctx context.Context) IotHubCertificateOutput
func (IotHubCertificateOutput) ToIotHubCertificatePtrOutput ¶
func (o IotHubCertificateOutput) ToIotHubCertificatePtrOutput() IotHubCertificatePtrOutput
func (IotHubCertificateOutput) ToIotHubCertificatePtrOutputWithContext ¶
func (o IotHubCertificateOutput) ToIotHubCertificatePtrOutputWithContext(ctx context.Context) IotHubCertificatePtrOutput
type IotHubCertificatePtrInput ¶
type IotHubCertificatePtrInput interface { pulumi.Input ToIotHubCertificatePtrOutput() IotHubCertificatePtrOutput ToIotHubCertificatePtrOutputWithContext(ctx context.Context) IotHubCertificatePtrOutput }
type IotHubCertificatePtrOutput ¶
type IotHubCertificatePtrOutput struct {
*pulumi.OutputState
}
func (IotHubCertificatePtrOutput) ElementType ¶
func (IotHubCertificatePtrOutput) ElementType() reflect.Type
func (IotHubCertificatePtrOutput) ToIotHubCertificatePtrOutput ¶
func (o IotHubCertificatePtrOutput) ToIotHubCertificatePtrOutput() IotHubCertificatePtrOutput
func (IotHubCertificatePtrOutput) ToIotHubCertificatePtrOutputWithContext ¶
func (o IotHubCertificatePtrOutput) ToIotHubCertificatePtrOutputWithContext(ctx context.Context) IotHubCertificatePtrOutput
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.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/core" "github.com/pulumi/pulumi-azure/sdk/v4/go/azure/iot" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{ Location: pulumi.String("West Europe"), }) if err != nil { return err } _, err = iot.NewIotHubDps(ctx, "exampleIotHubDps", &iot.IotHubDpsArgs{ ResourceGroupName: exampleResourceGroup.Name, Location: exampleResourceGroup.Location, Sku: &iot.IotHubDpsSkuArgs{ Name: pulumi.String("S1"), Capacity: pulumi.Int(1), }, }) if err != nil { return err } return nil }) }
```
## Import
IoT Device Provisioning Service can be imported using the `resource id`, e.g.
```sh
$ pulumi import azure:iot/iotHubDps:IotHubDps example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mygroup1/providers/Microsoft.Devices/provisioningServices/example
```
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.
func (*IotHubDps) ElementType ¶
func (*IotHubDps) ToIotHubDpsOutput ¶
func (i *IotHubDps) ToIotHubDpsOutput() IotHubDpsOutput
func (*IotHubDps) ToIotHubDpsOutputWithContext ¶
func (i *IotHubDps) ToIotHubDpsOutputWithContext(ctx context.Context) IotHubDpsOutput
func (*IotHubDps) ToIotHubDpsPtrOutput ¶
func (i *IotHubDps) ToIotHubDpsPtrOutput() IotHubDpsPtrOutput
func (*IotHubDps) ToIotHubDpsPtrOutputWithContext ¶
func (i *IotHubDps) ToIotHubDpsPtrOutputWithContext(ctx context.Context) IotHubDpsPtrOutput
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 IotHubDpsArray ¶
type IotHubDpsArray []IotHubDpsInput
func (IotHubDpsArray) ElementType ¶
func (IotHubDpsArray) ElementType() reflect.Type
func (IotHubDpsArray) ToIotHubDpsArrayOutput ¶
func (i IotHubDpsArray) ToIotHubDpsArrayOutput() IotHubDpsArrayOutput
func (IotHubDpsArray) ToIotHubDpsArrayOutputWithContext ¶
func (i IotHubDpsArray) ToIotHubDpsArrayOutputWithContext(ctx context.Context) IotHubDpsArrayOutput
type IotHubDpsArrayInput ¶
type IotHubDpsArrayInput interface { pulumi.Input ToIotHubDpsArrayOutput() IotHubDpsArrayOutput ToIotHubDpsArrayOutputWithContext(context.Context) IotHubDpsArrayOutput }
IotHubDpsArrayInput is an input type that accepts IotHubDpsArray and IotHubDpsArrayOutput values. You can construct a concrete instance of `IotHubDpsArrayInput` via:
IotHubDpsArray{ IotHubDpsArgs{...} }
type IotHubDpsArrayOutput ¶
type IotHubDpsArrayOutput struct{ *pulumi.OutputState }
func (IotHubDpsArrayOutput) ElementType ¶
func (IotHubDpsArrayOutput) ElementType() reflect.Type
func (IotHubDpsArrayOutput) Index ¶
func (o IotHubDpsArrayOutput) Index(i pulumi.IntInput) IotHubDpsOutput
func (IotHubDpsArrayOutput) ToIotHubDpsArrayOutput ¶
func (o IotHubDpsArrayOutput) ToIotHubDpsArrayOutput() IotHubDpsArrayOutput
func (IotHubDpsArrayOutput) ToIotHubDpsArrayOutputWithContext ¶
func (o IotHubDpsArrayOutput) ToIotHubDpsArrayOutputWithContext(ctx context.Context) IotHubDpsArrayOutput
type IotHubDpsInput ¶
type IotHubDpsInput interface { pulumi.Input ToIotHubDpsOutput() IotHubDpsOutput ToIotHubDpsOutputWithContext(ctx context.Context) IotHubDpsOutput }
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 }
IotHubDpsLinkedHubArrayInput is an input type that accepts IotHubDpsLinkedHubArray and IotHubDpsLinkedHubArrayOutput values. You can construct a concrete instance of `IotHubDpsLinkedHubArrayInput` via:
IotHubDpsLinkedHubArray{ IotHubDpsLinkedHubArgs{...} }
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 }
IotHubDpsLinkedHubInput is an input type that accepts IotHubDpsLinkedHubArgs and IotHubDpsLinkedHubOutput values. You can construct a concrete instance of `IotHubDpsLinkedHubInput` via:
IotHubDpsLinkedHubArgs{...}
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 IotHubDpsMap ¶
type IotHubDpsMap map[string]IotHubDpsInput
func (IotHubDpsMap) ElementType ¶
func (IotHubDpsMap) ElementType() reflect.Type
func (IotHubDpsMap) ToIotHubDpsMapOutput ¶
func (i IotHubDpsMap) ToIotHubDpsMapOutput() IotHubDpsMapOutput
func (IotHubDpsMap) ToIotHubDpsMapOutputWithContext ¶
func (i IotHubDpsMap) ToIotHubDpsMapOutputWithContext(ctx context.Context) IotHubDpsMapOutput
type IotHubDpsMapInput ¶
type IotHubDpsMapInput interface { pulumi.Input ToIotHubDpsMapOutput() IotHubDpsMapOutput ToIotHubDpsMapOutputWithContext(context.Context) IotHubDpsMapOutput }
IotHubDpsMapInput is an input type that accepts IotHubDpsMap and IotHubDpsMapOutput values. You can construct a concrete instance of `IotHubDpsMapInput` via:
IotHubDpsMap{ "key": IotHubDpsArgs{...} }
type IotHubDpsMapOutput ¶
type IotHubDpsMapOutput struct{ *pulumi.OutputState }
func (IotHubDpsMapOutput) ElementType ¶
func (IotHubDpsMapOutput) ElementType() reflect.Type
func (IotHubDpsMapOutput) MapIndex ¶
func (o IotHubDpsMapOutput) MapIndex(k pulumi.StringInput) IotHubDpsOutput
func (IotHubDpsMapOutput) ToIotHubDpsMapOutput ¶
func (o IotHubDpsMapOutput) ToIotHubDpsMapOutput() IotHubDpsMapOutput
func (IotHubDpsMapOutput) ToIotHubDpsMapOutputWithContext ¶
func (o IotHubDpsMapOutput) ToIotHubDpsMapOutputWithContext(ctx context.Context) IotHubDpsMapOutput
type IotHubDpsOutput ¶
type IotHubDpsOutput struct {
*pulumi.OutputState
}
func (IotHubDpsOutput) ElementType ¶
func (IotHubDpsOutput) ElementType() reflect.Type
func (IotHubDpsOutput) ToIotHubDpsOutput ¶
func (o IotHubDpsOutput) ToIotHubDpsOutput() IotHubDpsOutput
func (IotHubDpsOutput) ToIotHubDpsOutputWithContext ¶
func (o IotHubDpsOutput) ToIotHubDpsOutputWithContext(ctx context.Context) IotHubDpsOutput
func (IotHubDpsOutput) ToIotHubDpsPtrOutput ¶
func (o IotHubDpsOutput) ToIotHubDpsPtrOutput() IotHubDpsPtrOutput
func (IotHubDpsOutput) ToIotHubDpsPtrOutputWithContext ¶
func (o IotHubDpsOutput) ToIotHubDpsPtrOutputWithContext(ctx context.Context) IotHubDpsPtrOutput
type IotHubDpsPtrInput ¶
type IotHubDpsPtrInput interface { pulumi.Input ToIotHubDpsPtrOutput() IotHubDpsPtrOutput ToIotHubDpsPtrOutputWithContext(ctx context.Context) IotHubDpsPtrOutput }
type IotHubDpsPtrOutput ¶
type IotHubDpsPtrOutput struct {
*pulumi.OutputState
}
func (IotHubDpsPtrOutput) ElementType ¶
func (IotHubDpsPtrOutput) ElementType() reflect.Type
func (IotHubDpsPtrOutput) ToIotHubDpsPtrOutput ¶
func (o IotHubDpsPtrOutput) ToIotHubDpsPtrOutput() IotHubDpsPtrOutput
func (IotHubDpsPtrOutput) ToIotHubDpsPtrOutputWithContext ¶
func (o IotHubDpsPtrOutput) ToIotHubDpsPtrOutputWithContext(ctx context.Context) IotHubDpsPtrOutput
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. Currently can only be set to `S1`. 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 }
IotHubDpsSkuInput is an input type that accepts IotHubDpsSkuArgs and IotHubDpsSkuOutput values. You can construct a concrete instance of `IotHubDpsSkuInput` via:
IotHubDpsSkuArgs{...}
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. Currently can only be set to `S1`.
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 }
IotHubDpsSkuPtrInput is an input type that accepts IotHubDpsSkuArgs, IotHubDpsSkuPtr and IotHubDpsSkuPtrOutput values. You can construct a concrete instance of `IotHubDpsSkuPtrInput` via:
IotHubDpsSkuArgs{...} or: nil
func IotHubDpsSkuPtr ¶
func IotHubDpsSkuPtr(v *IotHubDpsSkuArgs) IotHubDpsSkuPtrInput
type IotHubDpsSkuPtrOutput ¶
type IotHubDpsSkuPtrOutput struct{ *pulumi.OutputState }
func (IotHubDpsSkuPtrOutput) Capacity ¶
func (o IotHubDpsSkuPtrOutput) Capacity() pulumi.IntPtrOutput
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.StringPtrOutput
The name of the sku. Currently can only be set to `S1`.
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 { // 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
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/iot" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := iot.LookupDpsSharedAccessPolicy(ctx, &iot.LookupDpsSharedAccessPolicyArgs{ Name: "example", ResourceGroupName: azurerm_resource_group.Example.Name, IothubDpsName: azurerm_iothub_dps.Example.Name, }, nil) if err != nil { return err } return nil }) }
```
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 { // 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
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/iot" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := iot.LookupSharedAccessPolicy(ctx, &iot.LookupSharedAccessPolicyArgs{ Name: "example", ResourceGroupName: azurerm_resource_group.Example.Name, IothubName: azurerm_iothub.Example.Name, }, nil) if err != nil { return err } return nil }) }
```
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.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/core" "github.com/pulumi/pulumi-azure/sdk/v4/go/azure/iot" "github.com/pulumi/pulumi-azure/sdk/v4/go/azure/storage" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{ Location: pulumi.String("West Europe"), }) if err != nil { return err } exampleAccount, err := storage.NewAccount(ctx, "exampleAccount", &storage.AccountArgs{ ResourceGroupName: exampleResourceGroup.Name, Location: exampleResourceGroup.Location, AccountTier: pulumi.String("Standard"), AccountReplicationType: pulumi.String("LRS"), }) if err != nil { return err } exampleContainer, err := storage.NewContainer(ctx, "exampleContainer", &storage.ContainerArgs{ StorageAccountName: exampleAccount.Name, ContainerAccessType: pulumi.String("private"), }) if err != nil { return err } exampleIoTHub, err := iot.NewIoTHub(ctx, "exampleIoTHub", &iot.IoTHubArgs{ ResourceGroupName: exampleResourceGroup.Name, Location: exampleResourceGroup.Location, Sku: &iot.IoTHubSkuArgs{ Name: pulumi.String("S1"), Capacity: pulumi.Int(1), }, Tags: pulumi.StringMap{ "purpose": pulumi.String("testing"), }, }) if err != nil { return err } exampleEndpointStorageContainer, err := iot.NewEndpointStorageContainer(ctx, "exampleEndpointStorageContainer", &iot.EndpointStorageContainerArgs{ ResourceGroupName: exampleResourceGroup.Name, IothubName: exampleIoTHub.Name, ConnectionString: exampleAccount.PrimaryBlobConnectionString, BatchFrequencyInSeconds: pulumi.Int(60), MaxChunkSizeInBytes: pulumi.Int(10485760), ContainerName: exampleContainer.Name, Encoding: pulumi.String("Avro"), FileNameFormat: pulumi.String("{iothub}/{partition}_{YYYY}_{MM}_{DD}_{HH}_{mm}"), }) if err != nil { return err } _, err = iot.NewRoute(ctx, "exampleRoute", &iot.RouteArgs{ ResourceGroupName: exampleResourceGroup.Name, IothubName: exampleIoTHub.Name, Source: pulumi.String("DeviceMessages"), Condition: pulumi.String("true"), EndpointNames: pulumi.String{ exampleEndpointStorageContainer.Name, }, Enabled: pulumi.Bool(true), }) if err != nil { return err } return nil }) }
```
## Import
IoTHub Route can be imported using the `resource id`, e.g.
```sh
$ pulumi import azure:iot/route:Route route1 /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mygroup1/providers/Microsoft.Devices/IotHubs/hub1/Routes/route1
```
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).
func NewRoute ¶
func NewRoute(ctx *pulumi.Context, name string, args *RouteArgs, opts ...pulumi.ResourceOption) (*Route, error)
NewRoute registers a new resource with the given unique name, arguments, and options.
func (*Route) ElementType ¶
func (*Route) ToRouteOutput ¶
func (i *Route) ToRouteOutput() RouteOutput
func (*Route) ToRouteOutputWithContext ¶
func (i *Route) ToRouteOutputWithContext(ctx context.Context) RouteOutput
func (*Route) ToRoutePtrOutput ¶
func (i *Route) ToRoutePtrOutput() RoutePtrOutput
func (*Route) ToRoutePtrOutputWithContext ¶
func (i *Route) ToRoutePtrOutputWithContext(ctx context.Context) RoutePtrOutput
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 RouteArray ¶
type RouteArray []RouteInput
func (RouteArray) ElementType ¶
func (RouteArray) ElementType() reflect.Type
func (RouteArray) ToRouteArrayOutput ¶
func (i RouteArray) ToRouteArrayOutput() RouteArrayOutput
func (RouteArray) ToRouteArrayOutputWithContext ¶
func (i RouteArray) ToRouteArrayOutputWithContext(ctx context.Context) RouteArrayOutput
type RouteArrayInput ¶
type RouteArrayInput interface { pulumi.Input ToRouteArrayOutput() RouteArrayOutput ToRouteArrayOutputWithContext(context.Context) RouteArrayOutput }
RouteArrayInput is an input type that accepts RouteArray and RouteArrayOutput values. You can construct a concrete instance of `RouteArrayInput` via:
RouteArray{ RouteArgs{...} }
type RouteArrayOutput ¶
type RouteArrayOutput struct{ *pulumi.OutputState }
func (RouteArrayOutput) ElementType ¶
func (RouteArrayOutput) ElementType() reflect.Type
func (RouteArrayOutput) Index ¶
func (o RouteArrayOutput) Index(i pulumi.IntInput) RouteOutput
func (RouteArrayOutput) ToRouteArrayOutput ¶
func (o RouteArrayOutput) ToRouteArrayOutput() RouteArrayOutput
func (RouteArrayOutput) ToRouteArrayOutputWithContext ¶
func (o RouteArrayOutput) ToRouteArrayOutputWithContext(ctx context.Context) RouteArrayOutput
type RouteInput ¶
type RouteInput interface { pulumi.Input ToRouteOutput() RouteOutput ToRouteOutputWithContext(ctx context.Context) RouteOutput }
type RouteMap ¶
type RouteMap map[string]RouteInput
func (RouteMap) ElementType ¶
func (RouteMap) ToRouteMapOutput ¶
func (i RouteMap) ToRouteMapOutput() RouteMapOutput
func (RouteMap) ToRouteMapOutputWithContext ¶
func (i RouteMap) ToRouteMapOutputWithContext(ctx context.Context) RouteMapOutput
type RouteMapInput ¶
type RouteMapInput interface { pulumi.Input ToRouteMapOutput() RouteMapOutput ToRouteMapOutputWithContext(context.Context) RouteMapOutput }
RouteMapInput is an input type that accepts RouteMap and RouteMapOutput values. You can construct a concrete instance of `RouteMapInput` via:
RouteMap{ "key": RouteArgs{...} }
type RouteMapOutput ¶
type RouteMapOutput struct{ *pulumi.OutputState }
func (RouteMapOutput) ElementType ¶
func (RouteMapOutput) ElementType() reflect.Type
func (RouteMapOutput) MapIndex ¶
func (o RouteMapOutput) MapIndex(k pulumi.StringInput) RouteOutput
func (RouteMapOutput) ToRouteMapOutput ¶
func (o RouteMapOutput) ToRouteMapOutput() RouteMapOutput
func (RouteMapOutput) ToRouteMapOutputWithContext ¶
func (o RouteMapOutput) ToRouteMapOutputWithContext(ctx context.Context) RouteMapOutput
type RouteOutput ¶
type RouteOutput struct {
*pulumi.OutputState
}
func (RouteOutput) ElementType ¶
func (RouteOutput) ElementType() reflect.Type
func (RouteOutput) ToRouteOutput ¶
func (o RouteOutput) ToRouteOutput() RouteOutput
func (RouteOutput) ToRouteOutputWithContext ¶
func (o RouteOutput) ToRouteOutputWithContext(ctx context.Context) RouteOutput
func (RouteOutput) ToRoutePtrOutput ¶
func (o RouteOutput) ToRoutePtrOutput() RoutePtrOutput
func (RouteOutput) ToRoutePtrOutputWithContext ¶
func (o RouteOutput) ToRoutePtrOutputWithContext(ctx context.Context) RoutePtrOutput
type RoutePtrInput ¶
type RoutePtrInput interface { pulumi.Input ToRoutePtrOutput() RoutePtrOutput ToRoutePtrOutputWithContext(ctx context.Context) RoutePtrOutput }
type RoutePtrOutput ¶
type RoutePtrOutput struct {
*pulumi.OutputState
}
func (RoutePtrOutput) ElementType ¶
func (RoutePtrOutput) ElementType() reflect.Type
func (RoutePtrOutput) ToRoutePtrOutput ¶
func (o RoutePtrOutput) ToRoutePtrOutput() RoutePtrOutput
func (RoutePtrOutput) ToRoutePtrOutputWithContext ¶
func (o RoutePtrOutput) ToRoutePtrOutputWithContext(ctx context.Context) RoutePtrOutput
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 SecurityDeviceGroup ¶
type SecurityDeviceGroup struct { pulumi.CustomResourceState // an `allowRule` blocks as defined below. AllowRule SecurityDeviceGroupAllowRulePtrOutput `pulumi:"allowRule"` // The ID of the IoT Hub which to link the Security Device Group to. Changing this forces a new resource to be created. IothubId pulumi.StringOutput `pulumi:"iothubId"` // Specifies the name of the Device Security Group. Changing this forces a new resource to be created. Name pulumi.StringOutput `pulumi:"name"` // One or more `rangeRule` blocks as defined below. RangeRules SecurityDeviceGroupRangeRuleArrayOutput `pulumi:"rangeRules"` }
Manages a Iot Security Device Group.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/core" "github.com/pulumi/pulumi-azure/sdk/v4/go/azure/iot" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{ Location: pulumi.String("West Europe"), }) if err != nil { return err } exampleIoTHub, err := iot.NewIoTHub(ctx, "exampleIoTHub", &iot.IoTHubArgs{ ResourceGroupName: exampleResourceGroup.Name, Location: exampleResourceGroup.Location, Sku: &iot.IoTHubSkuArgs{ Name: pulumi.String("S1"), Capacity: pulumi.Int(1), }, }) if err != nil { return err } exampleSecuritySolution, err := iot.NewSecuritySolution(ctx, "exampleSecuritySolution", &iot.SecuritySolutionArgs{ ResourceGroupName: exampleResourceGroup.Name, Location: exampleResourceGroup.Location, DisplayName: pulumi.String("Iot Security Solution"), IothubIds: pulumi.StringArray{ exampleIoTHub.ID(), }, }) if err != nil { return err } _, err = iot.NewSecurityDeviceGroup(ctx, "exampleSecurityDeviceGroup", &iot.SecurityDeviceGroupArgs{ IothubId: exampleIoTHub.ID(), AllowRule: &iot.SecurityDeviceGroupAllowRuleArgs{ ConnectionToIpNotAlloweds: pulumi.StringArray{ pulumi.String("10.0.0.0/24"), }, }, RangeRules: iot.SecurityDeviceGroupRangeRuleArray{ &iot.SecurityDeviceGroupRangeRuleArgs{ Type: pulumi.String("ActiveConnectionsNotInAllowedRange"), Min: pulumi.Int(0), Max: pulumi.Int(30), Duration: pulumi.String("PT5M"), }, }, }, pulumi.DependsOn([]pulumi.Resource{ exampleSecuritySolution, })) if err != nil { return err } return nil }) }
```
## Import
Iot Security Device Group can be imported using the `resource id`, e.g.
```sh
$ pulumi import azure:iot/securityDeviceGroup:SecurityDeviceGroup example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resGroup1/providers/Microsoft.Devices/iotHubs/hub1/providers/Microsoft.Security/deviceSecurityGroups/group1
```
func GetSecurityDeviceGroup ¶
func GetSecurityDeviceGroup(ctx *pulumi.Context, name string, id pulumi.IDInput, state *SecurityDeviceGroupState, opts ...pulumi.ResourceOption) (*SecurityDeviceGroup, error)
GetSecurityDeviceGroup gets an existing SecurityDeviceGroup 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 NewSecurityDeviceGroup ¶
func NewSecurityDeviceGroup(ctx *pulumi.Context, name string, args *SecurityDeviceGroupArgs, opts ...pulumi.ResourceOption) (*SecurityDeviceGroup, error)
NewSecurityDeviceGroup registers a new resource with the given unique name, arguments, and options.
func (*SecurityDeviceGroup) ElementType ¶
func (*SecurityDeviceGroup) ElementType() reflect.Type
func (*SecurityDeviceGroup) ToSecurityDeviceGroupOutput ¶
func (i *SecurityDeviceGroup) ToSecurityDeviceGroupOutput() SecurityDeviceGroupOutput
func (*SecurityDeviceGroup) ToSecurityDeviceGroupOutputWithContext ¶
func (i *SecurityDeviceGroup) ToSecurityDeviceGroupOutputWithContext(ctx context.Context) SecurityDeviceGroupOutput
func (*SecurityDeviceGroup) ToSecurityDeviceGroupPtrOutput ¶
func (i *SecurityDeviceGroup) ToSecurityDeviceGroupPtrOutput() SecurityDeviceGroupPtrOutput
func (*SecurityDeviceGroup) ToSecurityDeviceGroupPtrOutputWithContext ¶
func (i *SecurityDeviceGroup) ToSecurityDeviceGroupPtrOutputWithContext(ctx context.Context) SecurityDeviceGroupPtrOutput
type SecurityDeviceGroupAllowRule ¶
type SecurityDeviceGroupAllowRule struct { // Specifies which Ip is not allowed to be connected to in current device group. ConnectionToIpNotAlloweds []string `pulumi:"connectionToIpNotAlloweds"` // Specifies which local user is not allowed to Login in current device group. LocalUserNotAlloweds []string `pulumi:"localUserNotAlloweds"` // Specifies which process is not allowed to be executed in current device group. ProcessNotAlloweds []string `pulumi:"processNotAlloweds"` }
type SecurityDeviceGroupAllowRuleArgs ¶
type SecurityDeviceGroupAllowRuleArgs struct { // Specifies which Ip is not allowed to be connected to in current device group. ConnectionToIpNotAlloweds pulumi.StringArrayInput `pulumi:"connectionToIpNotAlloweds"` // Specifies which local user is not allowed to Login in current device group. LocalUserNotAlloweds pulumi.StringArrayInput `pulumi:"localUserNotAlloweds"` // Specifies which process is not allowed to be executed in current device group. ProcessNotAlloweds pulumi.StringArrayInput `pulumi:"processNotAlloweds"` }
func (SecurityDeviceGroupAllowRuleArgs) ElementType ¶
func (SecurityDeviceGroupAllowRuleArgs) ElementType() reflect.Type
func (SecurityDeviceGroupAllowRuleArgs) ToSecurityDeviceGroupAllowRuleOutput ¶
func (i SecurityDeviceGroupAllowRuleArgs) ToSecurityDeviceGroupAllowRuleOutput() SecurityDeviceGroupAllowRuleOutput
func (SecurityDeviceGroupAllowRuleArgs) ToSecurityDeviceGroupAllowRuleOutputWithContext ¶
func (i SecurityDeviceGroupAllowRuleArgs) ToSecurityDeviceGroupAllowRuleOutputWithContext(ctx context.Context) SecurityDeviceGroupAllowRuleOutput
func (SecurityDeviceGroupAllowRuleArgs) ToSecurityDeviceGroupAllowRulePtrOutput ¶
func (i SecurityDeviceGroupAllowRuleArgs) ToSecurityDeviceGroupAllowRulePtrOutput() SecurityDeviceGroupAllowRulePtrOutput
func (SecurityDeviceGroupAllowRuleArgs) ToSecurityDeviceGroupAllowRulePtrOutputWithContext ¶
func (i SecurityDeviceGroupAllowRuleArgs) ToSecurityDeviceGroupAllowRulePtrOutputWithContext(ctx context.Context) SecurityDeviceGroupAllowRulePtrOutput
type SecurityDeviceGroupAllowRuleInput ¶
type SecurityDeviceGroupAllowRuleInput interface { pulumi.Input ToSecurityDeviceGroupAllowRuleOutput() SecurityDeviceGroupAllowRuleOutput ToSecurityDeviceGroupAllowRuleOutputWithContext(context.Context) SecurityDeviceGroupAllowRuleOutput }
SecurityDeviceGroupAllowRuleInput is an input type that accepts SecurityDeviceGroupAllowRuleArgs and SecurityDeviceGroupAllowRuleOutput values. You can construct a concrete instance of `SecurityDeviceGroupAllowRuleInput` via:
SecurityDeviceGroupAllowRuleArgs{...}
type SecurityDeviceGroupAllowRuleOutput ¶
type SecurityDeviceGroupAllowRuleOutput struct{ *pulumi.OutputState }
func (SecurityDeviceGroupAllowRuleOutput) ConnectionToIpNotAlloweds ¶
func (o SecurityDeviceGroupAllowRuleOutput) ConnectionToIpNotAlloweds() pulumi.StringArrayOutput
Specifies which Ip is not allowed to be connected to in current device group.
func (SecurityDeviceGroupAllowRuleOutput) ElementType ¶
func (SecurityDeviceGroupAllowRuleOutput) ElementType() reflect.Type
func (SecurityDeviceGroupAllowRuleOutput) LocalUserNotAlloweds ¶
func (o SecurityDeviceGroupAllowRuleOutput) LocalUserNotAlloweds() pulumi.StringArrayOutput
Specifies which local user is not allowed to Login in current device group.
func (SecurityDeviceGroupAllowRuleOutput) ProcessNotAlloweds ¶
func (o SecurityDeviceGroupAllowRuleOutput) ProcessNotAlloweds() pulumi.StringArrayOutput
Specifies which process is not allowed to be executed in current device group.
func (SecurityDeviceGroupAllowRuleOutput) ToSecurityDeviceGroupAllowRuleOutput ¶
func (o SecurityDeviceGroupAllowRuleOutput) ToSecurityDeviceGroupAllowRuleOutput() SecurityDeviceGroupAllowRuleOutput
func (SecurityDeviceGroupAllowRuleOutput) ToSecurityDeviceGroupAllowRuleOutputWithContext ¶
func (o SecurityDeviceGroupAllowRuleOutput) ToSecurityDeviceGroupAllowRuleOutputWithContext(ctx context.Context) SecurityDeviceGroupAllowRuleOutput
func (SecurityDeviceGroupAllowRuleOutput) ToSecurityDeviceGroupAllowRulePtrOutput ¶
func (o SecurityDeviceGroupAllowRuleOutput) ToSecurityDeviceGroupAllowRulePtrOutput() SecurityDeviceGroupAllowRulePtrOutput
func (SecurityDeviceGroupAllowRuleOutput) ToSecurityDeviceGroupAllowRulePtrOutputWithContext ¶
func (o SecurityDeviceGroupAllowRuleOutput) ToSecurityDeviceGroupAllowRulePtrOutputWithContext(ctx context.Context) SecurityDeviceGroupAllowRulePtrOutput
type SecurityDeviceGroupAllowRulePtrInput ¶
type SecurityDeviceGroupAllowRulePtrInput interface { pulumi.Input ToSecurityDeviceGroupAllowRulePtrOutput() SecurityDeviceGroupAllowRulePtrOutput ToSecurityDeviceGroupAllowRulePtrOutputWithContext(context.Context) SecurityDeviceGroupAllowRulePtrOutput }
SecurityDeviceGroupAllowRulePtrInput is an input type that accepts SecurityDeviceGroupAllowRuleArgs, SecurityDeviceGroupAllowRulePtr and SecurityDeviceGroupAllowRulePtrOutput values. You can construct a concrete instance of `SecurityDeviceGroupAllowRulePtrInput` via:
SecurityDeviceGroupAllowRuleArgs{...} or: nil
func SecurityDeviceGroupAllowRulePtr ¶
func SecurityDeviceGroupAllowRulePtr(v *SecurityDeviceGroupAllowRuleArgs) SecurityDeviceGroupAllowRulePtrInput
type SecurityDeviceGroupAllowRulePtrOutput ¶
type SecurityDeviceGroupAllowRulePtrOutput struct{ *pulumi.OutputState }
func (SecurityDeviceGroupAllowRulePtrOutput) ConnectionToIpNotAlloweds ¶
func (o SecurityDeviceGroupAllowRulePtrOutput) ConnectionToIpNotAlloweds() pulumi.StringArrayOutput
Specifies which Ip is not allowed to be connected to in current device group.
func (SecurityDeviceGroupAllowRulePtrOutput) ElementType ¶
func (SecurityDeviceGroupAllowRulePtrOutput) ElementType() reflect.Type
func (SecurityDeviceGroupAllowRulePtrOutput) LocalUserNotAlloweds ¶
func (o SecurityDeviceGroupAllowRulePtrOutput) LocalUserNotAlloweds() pulumi.StringArrayOutput
Specifies which local user is not allowed to Login in current device group.
func (SecurityDeviceGroupAllowRulePtrOutput) ProcessNotAlloweds ¶
func (o SecurityDeviceGroupAllowRulePtrOutput) ProcessNotAlloweds() pulumi.StringArrayOutput
Specifies which process is not allowed to be executed in current device group.
func (SecurityDeviceGroupAllowRulePtrOutput) ToSecurityDeviceGroupAllowRulePtrOutput ¶
func (o SecurityDeviceGroupAllowRulePtrOutput) ToSecurityDeviceGroupAllowRulePtrOutput() SecurityDeviceGroupAllowRulePtrOutput
func (SecurityDeviceGroupAllowRulePtrOutput) ToSecurityDeviceGroupAllowRulePtrOutputWithContext ¶
func (o SecurityDeviceGroupAllowRulePtrOutput) ToSecurityDeviceGroupAllowRulePtrOutputWithContext(ctx context.Context) SecurityDeviceGroupAllowRulePtrOutput
type SecurityDeviceGroupArgs ¶
type SecurityDeviceGroupArgs struct { // an `allowRule` blocks as defined below. AllowRule SecurityDeviceGroupAllowRulePtrInput // The ID of the IoT Hub which to link the Security Device Group to. Changing this forces a new resource to be created. IothubId pulumi.StringInput // Specifies the name of the Device Security Group. Changing this forces a new resource to be created. Name pulumi.StringPtrInput // One or more `rangeRule` blocks as defined below. RangeRules SecurityDeviceGroupRangeRuleArrayInput }
The set of arguments for constructing a SecurityDeviceGroup resource.
func (SecurityDeviceGroupArgs) ElementType ¶
func (SecurityDeviceGroupArgs) ElementType() reflect.Type
type SecurityDeviceGroupArray ¶
type SecurityDeviceGroupArray []SecurityDeviceGroupInput
func (SecurityDeviceGroupArray) ElementType ¶
func (SecurityDeviceGroupArray) ElementType() reflect.Type
func (SecurityDeviceGroupArray) ToSecurityDeviceGroupArrayOutput ¶
func (i SecurityDeviceGroupArray) ToSecurityDeviceGroupArrayOutput() SecurityDeviceGroupArrayOutput
func (SecurityDeviceGroupArray) ToSecurityDeviceGroupArrayOutputWithContext ¶
func (i SecurityDeviceGroupArray) ToSecurityDeviceGroupArrayOutputWithContext(ctx context.Context) SecurityDeviceGroupArrayOutput
type SecurityDeviceGroupArrayInput ¶
type SecurityDeviceGroupArrayInput interface { pulumi.Input ToSecurityDeviceGroupArrayOutput() SecurityDeviceGroupArrayOutput ToSecurityDeviceGroupArrayOutputWithContext(context.Context) SecurityDeviceGroupArrayOutput }
SecurityDeviceGroupArrayInput is an input type that accepts SecurityDeviceGroupArray and SecurityDeviceGroupArrayOutput values. You can construct a concrete instance of `SecurityDeviceGroupArrayInput` via:
SecurityDeviceGroupArray{ SecurityDeviceGroupArgs{...} }
type SecurityDeviceGroupArrayOutput ¶
type SecurityDeviceGroupArrayOutput struct{ *pulumi.OutputState }
func (SecurityDeviceGroupArrayOutput) ElementType ¶
func (SecurityDeviceGroupArrayOutput) ElementType() reflect.Type
func (SecurityDeviceGroupArrayOutput) Index ¶
func (o SecurityDeviceGroupArrayOutput) Index(i pulumi.IntInput) SecurityDeviceGroupOutput
func (SecurityDeviceGroupArrayOutput) ToSecurityDeviceGroupArrayOutput ¶
func (o SecurityDeviceGroupArrayOutput) ToSecurityDeviceGroupArrayOutput() SecurityDeviceGroupArrayOutput
func (SecurityDeviceGroupArrayOutput) ToSecurityDeviceGroupArrayOutputWithContext ¶
func (o SecurityDeviceGroupArrayOutput) ToSecurityDeviceGroupArrayOutputWithContext(ctx context.Context) SecurityDeviceGroupArrayOutput
type SecurityDeviceGroupInput ¶
type SecurityDeviceGroupInput interface { pulumi.Input ToSecurityDeviceGroupOutput() SecurityDeviceGroupOutput ToSecurityDeviceGroupOutputWithContext(ctx context.Context) SecurityDeviceGroupOutput }
type SecurityDeviceGroupMap ¶
type SecurityDeviceGroupMap map[string]SecurityDeviceGroupInput
func (SecurityDeviceGroupMap) ElementType ¶
func (SecurityDeviceGroupMap) ElementType() reflect.Type
func (SecurityDeviceGroupMap) ToSecurityDeviceGroupMapOutput ¶
func (i SecurityDeviceGroupMap) ToSecurityDeviceGroupMapOutput() SecurityDeviceGroupMapOutput
func (SecurityDeviceGroupMap) ToSecurityDeviceGroupMapOutputWithContext ¶
func (i SecurityDeviceGroupMap) ToSecurityDeviceGroupMapOutputWithContext(ctx context.Context) SecurityDeviceGroupMapOutput
type SecurityDeviceGroupMapInput ¶
type SecurityDeviceGroupMapInput interface { pulumi.Input ToSecurityDeviceGroupMapOutput() SecurityDeviceGroupMapOutput ToSecurityDeviceGroupMapOutputWithContext(context.Context) SecurityDeviceGroupMapOutput }
SecurityDeviceGroupMapInput is an input type that accepts SecurityDeviceGroupMap and SecurityDeviceGroupMapOutput values. You can construct a concrete instance of `SecurityDeviceGroupMapInput` via:
SecurityDeviceGroupMap{ "key": SecurityDeviceGroupArgs{...} }
type SecurityDeviceGroupMapOutput ¶
type SecurityDeviceGroupMapOutput struct{ *pulumi.OutputState }
func (SecurityDeviceGroupMapOutput) ElementType ¶
func (SecurityDeviceGroupMapOutput) ElementType() reflect.Type
func (SecurityDeviceGroupMapOutput) MapIndex ¶
func (o SecurityDeviceGroupMapOutput) MapIndex(k pulumi.StringInput) SecurityDeviceGroupOutput
func (SecurityDeviceGroupMapOutput) ToSecurityDeviceGroupMapOutput ¶
func (o SecurityDeviceGroupMapOutput) ToSecurityDeviceGroupMapOutput() SecurityDeviceGroupMapOutput
func (SecurityDeviceGroupMapOutput) ToSecurityDeviceGroupMapOutputWithContext ¶
func (o SecurityDeviceGroupMapOutput) ToSecurityDeviceGroupMapOutputWithContext(ctx context.Context) SecurityDeviceGroupMapOutput
type SecurityDeviceGroupOutput ¶
type SecurityDeviceGroupOutput struct {
*pulumi.OutputState
}
func (SecurityDeviceGroupOutput) ElementType ¶
func (SecurityDeviceGroupOutput) ElementType() reflect.Type
func (SecurityDeviceGroupOutput) ToSecurityDeviceGroupOutput ¶
func (o SecurityDeviceGroupOutput) ToSecurityDeviceGroupOutput() SecurityDeviceGroupOutput
func (SecurityDeviceGroupOutput) ToSecurityDeviceGroupOutputWithContext ¶
func (o SecurityDeviceGroupOutput) ToSecurityDeviceGroupOutputWithContext(ctx context.Context) SecurityDeviceGroupOutput
func (SecurityDeviceGroupOutput) ToSecurityDeviceGroupPtrOutput ¶
func (o SecurityDeviceGroupOutput) ToSecurityDeviceGroupPtrOutput() SecurityDeviceGroupPtrOutput
func (SecurityDeviceGroupOutput) ToSecurityDeviceGroupPtrOutputWithContext ¶
func (o SecurityDeviceGroupOutput) ToSecurityDeviceGroupPtrOutputWithContext(ctx context.Context) SecurityDeviceGroupPtrOutput
type SecurityDeviceGroupPtrInput ¶
type SecurityDeviceGroupPtrInput interface { pulumi.Input ToSecurityDeviceGroupPtrOutput() SecurityDeviceGroupPtrOutput ToSecurityDeviceGroupPtrOutputWithContext(ctx context.Context) SecurityDeviceGroupPtrOutput }
type SecurityDeviceGroupPtrOutput ¶
type SecurityDeviceGroupPtrOutput struct {
*pulumi.OutputState
}
func (SecurityDeviceGroupPtrOutput) ElementType ¶
func (SecurityDeviceGroupPtrOutput) ElementType() reflect.Type
func (SecurityDeviceGroupPtrOutput) ToSecurityDeviceGroupPtrOutput ¶
func (o SecurityDeviceGroupPtrOutput) ToSecurityDeviceGroupPtrOutput() SecurityDeviceGroupPtrOutput
func (SecurityDeviceGroupPtrOutput) ToSecurityDeviceGroupPtrOutputWithContext ¶
func (o SecurityDeviceGroupPtrOutput) ToSecurityDeviceGroupPtrOutputWithContext(ctx context.Context) SecurityDeviceGroupPtrOutput
type SecurityDeviceGroupRangeRule ¶
type SecurityDeviceGroupRangeRule struct { // Specifies the time range. represented in ISO 8601 duration format. Duration string `pulumi:"duration"` // The maximum threshold in the given time window. Max int `pulumi:"max"` // The minimum threshold in the given time window. Min int `pulumi:"min"` // The type of supported rule type. Possible Values are `ActiveConnectionsNotInAllowedRange`, `AmqpC2DMessagesNotInAllowedRange`, `MqttC2DMessagesNotInAllowedRange`, `HttpC2DMessagesNotInAllowedRange`, `AmqpC2DRejectedMessagesNotInAllowedRange`, `MqttC2DRejectedMessagesNotInAllowedRange`, `HttpC2DRejectedMessagesNotInAllowedRange`, `AmqpD2CMessagesNotInAllowedRange`, `MqttD2CMessagesNotInAllowedRange`, `HttpD2CMessagesNotInAllowedRange`, `DirectMethodInvokesNotInAllowedRange`, `FailedLocalLoginsNotInAllowedRange`, `FileUploadsNotInAllowedRange`, `QueuePurgesNotInAllowedRange`, `TwinUpdatesNotInAllowedRange` and `UnauthorizedOperationsNotInAllowedRange`. Type string `pulumi:"type"` }
type SecurityDeviceGroupRangeRuleArgs ¶
type SecurityDeviceGroupRangeRuleArgs struct { // Specifies the time range. represented in ISO 8601 duration format. Duration pulumi.StringInput `pulumi:"duration"` // The maximum threshold in the given time window. Max pulumi.IntInput `pulumi:"max"` // The minimum threshold in the given time window. Min pulumi.IntInput `pulumi:"min"` // The type of supported rule type. Possible Values are `ActiveConnectionsNotInAllowedRange`, `AmqpC2DMessagesNotInAllowedRange`, `MqttC2DMessagesNotInAllowedRange`, `HttpC2DMessagesNotInAllowedRange`, `AmqpC2DRejectedMessagesNotInAllowedRange`, `MqttC2DRejectedMessagesNotInAllowedRange`, `HttpC2DRejectedMessagesNotInAllowedRange`, `AmqpD2CMessagesNotInAllowedRange`, `MqttD2CMessagesNotInAllowedRange`, `HttpD2CMessagesNotInAllowedRange`, `DirectMethodInvokesNotInAllowedRange`, `FailedLocalLoginsNotInAllowedRange`, `FileUploadsNotInAllowedRange`, `QueuePurgesNotInAllowedRange`, `TwinUpdatesNotInAllowedRange` and `UnauthorizedOperationsNotInAllowedRange`. Type pulumi.StringInput `pulumi:"type"` }
func (SecurityDeviceGroupRangeRuleArgs) ElementType ¶
func (SecurityDeviceGroupRangeRuleArgs) ElementType() reflect.Type
func (SecurityDeviceGroupRangeRuleArgs) ToSecurityDeviceGroupRangeRuleOutput ¶
func (i SecurityDeviceGroupRangeRuleArgs) ToSecurityDeviceGroupRangeRuleOutput() SecurityDeviceGroupRangeRuleOutput
func (SecurityDeviceGroupRangeRuleArgs) ToSecurityDeviceGroupRangeRuleOutputWithContext ¶
func (i SecurityDeviceGroupRangeRuleArgs) ToSecurityDeviceGroupRangeRuleOutputWithContext(ctx context.Context) SecurityDeviceGroupRangeRuleOutput
type SecurityDeviceGroupRangeRuleArray ¶
type SecurityDeviceGroupRangeRuleArray []SecurityDeviceGroupRangeRuleInput
func (SecurityDeviceGroupRangeRuleArray) ElementType ¶
func (SecurityDeviceGroupRangeRuleArray) ElementType() reflect.Type
func (SecurityDeviceGroupRangeRuleArray) ToSecurityDeviceGroupRangeRuleArrayOutput ¶
func (i SecurityDeviceGroupRangeRuleArray) ToSecurityDeviceGroupRangeRuleArrayOutput() SecurityDeviceGroupRangeRuleArrayOutput
func (SecurityDeviceGroupRangeRuleArray) ToSecurityDeviceGroupRangeRuleArrayOutputWithContext ¶
func (i SecurityDeviceGroupRangeRuleArray) ToSecurityDeviceGroupRangeRuleArrayOutputWithContext(ctx context.Context) SecurityDeviceGroupRangeRuleArrayOutput
type SecurityDeviceGroupRangeRuleArrayInput ¶
type SecurityDeviceGroupRangeRuleArrayInput interface { pulumi.Input ToSecurityDeviceGroupRangeRuleArrayOutput() SecurityDeviceGroupRangeRuleArrayOutput ToSecurityDeviceGroupRangeRuleArrayOutputWithContext(context.Context) SecurityDeviceGroupRangeRuleArrayOutput }
SecurityDeviceGroupRangeRuleArrayInput is an input type that accepts SecurityDeviceGroupRangeRuleArray and SecurityDeviceGroupRangeRuleArrayOutput values. You can construct a concrete instance of `SecurityDeviceGroupRangeRuleArrayInput` via:
SecurityDeviceGroupRangeRuleArray{ SecurityDeviceGroupRangeRuleArgs{...} }
type SecurityDeviceGroupRangeRuleArrayOutput ¶
type SecurityDeviceGroupRangeRuleArrayOutput struct{ *pulumi.OutputState }
func (SecurityDeviceGroupRangeRuleArrayOutput) ElementType ¶
func (SecurityDeviceGroupRangeRuleArrayOutput) ElementType() reflect.Type
func (SecurityDeviceGroupRangeRuleArrayOutput) ToSecurityDeviceGroupRangeRuleArrayOutput ¶
func (o SecurityDeviceGroupRangeRuleArrayOutput) ToSecurityDeviceGroupRangeRuleArrayOutput() SecurityDeviceGroupRangeRuleArrayOutput
func (SecurityDeviceGroupRangeRuleArrayOutput) ToSecurityDeviceGroupRangeRuleArrayOutputWithContext ¶
func (o SecurityDeviceGroupRangeRuleArrayOutput) ToSecurityDeviceGroupRangeRuleArrayOutputWithContext(ctx context.Context) SecurityDeviceGroupRangeRuleArrayOutput
type SecurityDeviceGroupRangeRuleInput ¶
type SecurityDeviceGroupRangeRuleInput interface { pulumi.Input ToSecurityDeviceGroupRangeRuleOutput() SecurityDeviceGroupRangeRuleOutput ToSecurityDeviceGroupRangeRuleOutputWithContext(context.Context) SecurityDeviceGroupRangeRuleOutput }
SecurityDeviceGroupRangeRuleInput is an input type that accepts SecurityDeviceGroupRangeRuleArgs and SecurityDeviceGroupRangeRuleOutput values. You can construct a concrete instance of `SecurityDeviceGroupRangeRuleInput` via:
SecurityDeviceGroupRangeRuleArgs{...}
type SecurityDeviceGroupRangeRuleOutput ¶
type SecurityDeviceGroupRangeRuleOutput struct{ *pulumi.OutputState }
func (SecurityDeviceGroupRangeRuleOutput) Duration ¶
func (o SecurityDeviceGroupRangeRuleOutput) Duration() pulumi.StringOutput
Specifies the time range. represented in ISO 8601 duration format.
func (SecurityDeviceGroupRangeRuleOutput) ElementType ¶
func (SecurityDeviceGroupRangeRuleOutput) ElementType() reflect.Type
func (SecurityDeviceGroupRangeRuleOutput) Max ¶
func (o SecurityDeviceGroupRangeRuleOutput) Max() pulumi.IntOutput
The maximum threshold in the given time window.
func (SecurityDeviceGroupRangeRuleOutput) Min ¶
func (o SecurityDeviceGroupRangeRuleOutput) Min() pulumi.IntOutput
The minimum threshold in the given time window.
func (SecurityDeviceGroupRangeRuleOutput) ToSecurityDeviceGroupRangeRuleOutput ¶
func (o SecurityDeviceGroupRangeRuleOutput) ToSecurityDeviceGroupRangeRuleOutput() SecurityDeviceGroupRangeRuleOutput
func (SecurityDeviceGroupRangeRuleOutput) ToSecurityDeviceGroupRangeRuleOutputWithContext ¶
func (o SecurityDeviceGroupRangeRuleOutput) ToSecurityDeviceGroupRangeRuleOutputWithContext(ctx context.Context) SecurityDeviceGroupRangeRuleOutput
func (SecurityDeviceGroupRangeRuleOutput) Type ¶
func (o SecurityDeviceGroupRangeRuleOutput) Type() pulumi.StringOutput
The type of supported rule type. Possible Values are `ActiveConnectionsNotInAllowedRange`, `AmqpC2DMessagesNotInAllowedRange`, `MqttC2DMessagesNotInAllowedRange`, `HttpC2DMessagesNotInAllowedRange`, `AmqpC2DRejectedMessagesNotInAllowedRange`, `MqttC2DRejectedMessagesNotInAllowedRange`, `HttpC2DRejectedMessagesNotInAllowedRange`, `AmqpD2CMessagesNotInAllowedRange`, `MqttD2CMessagesNotInAllowedRange`, `HttpD2CMessagesNotInAllowedRange`, `DirectMethodInvokesNotInAllowedRange`, `FailedLocalLoginsNotInAllowedRange`, `FileUploadsNotInAllowedRange`, `QueuePurgesNotInAllowedRange`, `TwinUpdatesNotInAllowedRange` and `UnauthorizedOperationsNotInAllowedRange`.
type SecurityDeviceGroupState ¶
type SecurityDeviceGroupState struct { // an `allowRule` blocks as defined below. AllowRule SecurityDeviceGroupAllowRulePtrInput // The ID of the IoT Hub which to link the Security Device Group to. Changing this forces a new resource to be created. IothubId pulumi.StringPtrInput // Specifies the name of the Device Security Group. Changing this forces a new resource to be created. Name pulumi.StringPtrInput // One or more `rangeRule` blocks as defined below. RangeRules SecurityDeviceGroupRangeRuleArrayInput }
func (SecurityDeviceGroupState) ElementType ¶
func (SecurityDeviceGroupState) ElementType() reflect.Type
type SecuritySolution ¶
type SecuritySolution struct { pulumi.CustomResourceState // Specifies the Display Name for this Iot Security Solution. DisplayName pulumi.StringOutput `pulumi:"displayName"` // Is the Iot Security Solution enabled? Defaults to `true`. Enabled pulumi.BoolPtrOutput `pulumi:"enabled"` // A list of data which is to exported to analytic workspace. Valid values include `RawEvents`. EventsToExports pulumi.StringArrayOutput `pulumi:"eventsToExports"` // Specifies the IoT Hub resource IDs to which this Iot Security Solution is applied. IothubIds pulumi.StringArrayOutput `pulumi:"iothubIds"` // Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created. Location pulumi.StringOutput `pulumi:"location"` // Specifies the Log Analytics Workspace ID to which the security data will be sent. LogAnalyticsWorkspaceId pulumi.StringPtrOutput `pulumi:"logAnalyticsWorkspaceId"` // Should ip addressed be unmasked in the log? Defaults to `false`. LogUnmaskedIpsEnabled pulumi.BoolPtrOutput `pulumi:"logUnmaskedIpsEnabled"` // Specifies the name of the Iot Security Solution. Changing this forces a new resource to be created. Name pulumi.StringOutput `pulumi:"name"` // An Azure Resource Graph query used to set the resources monitored. QueryForResources pulumi.StringOutput `pulumi:"queryForResources"` // A list of subscription Ids on which the user defined resources query should be executed. QuerySubscriptionIds pulumi.StringArrayOutput `pulumi:"querySubscriptionIds"` // A `recommendationsEnabled` block of options to enable or disable as defined below. RecommendationsEnabled SecuritySolutionRecommendationsEnabledOutput `pulumi:"recommendationsEnabled"` // Specifies the name of the resource group in which to create the Iot Security Solution. Changing this forces a new resource to be created. ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"` // A mapping of tags to assign to the resource. Tags pulumi.StringMapOutput `pulumi:"tags"` }
Manages an iot security solution.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/core" "github.com/pulumi/pulumi-azure/sdk/v4/go/azure/iot" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{ Location: pulumi.String("West Europe"), }) if err != nil { return err } exampleIoTHub, err := iot.NewIoTHub(ctx, "exampleIoTHub", &iot.IoTHubArgs{ ResourceGroupName: exampleResourceGroup.Name, Location: exampleResourceGroup.Location, Sku: &iot.IoTHubSkuArgs{ Name: pulumi.String("S1"), Capacity: pulumi.Int(1), }, }) if err != nil { return err } _, err = iot.NewSecuritySolution(ctx, "exampleSecuritySolution", &iot.SecuritySolutionArgs{ ResourceGroupName: exampleResourceGroup.Name, Location: exampleResourceGroup.Location, DisplayName: pulumi.String("Iot Security Solution"), IothubIds: pulumi.StringArray{ exampleIoTHub.ID(), }, }) if err != nil { return err } return nil }) }
```
## Import
Iot Security Solution can be imported using the `resource id`, e.g.
```sh
$ pulumi import azure:iot/securitySolution:SecuritySolution example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resGroup1/providers/Microsoft.Security/IoTSecuritySolutions/solution1
```
func GetSecuritySolution ¶
func GetSecuritySolution(ctx *pulumi.Context, name string, id pulumi.IDInput, state *SecuritySolutionState, opts ...pulumi.ResourceOption) (*SecuritySolution, error)
GetSecuritySolution gets an existing SecuritySolution 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 NewSecuritySolution ¶
func NewSecuritySolution(ctx *pulumi.Context, name string, args *SecuritySolutionArgs, opts ...pulumi.ResourceOption) (*SecuritySolution, error)
NewSecuritySolution registers a new resource with the given unique name, arguments, and options.
func (*SecuritySolution) ElementType ¶
func (*SecuritySolution) ElementType() reflect.Type
func (*SecuritySolution) ToSecuritySolutionOutput ¶
func (i *SecuritySolution) ToSecuritySolutionOutput() SecuritySolutionOutput
func (*SecuritySolution) ToSecuritySolutionOutputWithContext ¶
func (i *SecuritySolution) ToSecuritySolutionOutputWithContext(ctx context.Context) SecuritySolutionOutput
func (*SecuritySolution) ToSecuritySolutionPtrOutput ¶
func (i *SecuritySolution) ToSecuritySolutionPtrOutput() SecuritySolutionPtrOutput
func (*SecuritySolution) ToSecuritySolutionPtrOutputWithContext ¶
func (i *SecuritySolution) ToSecuritySolutionPtrOutputWithContext(ctx context.Context) SecuritySolutionPtrOutput
type SecuritySolutionArgs ¶
type SecuritySolutionArgs struct { // Specifies the Display Name for this Iot Security Solution. DisplayName pulumi.StringInput // Is the Iot Security Solution enabled? Defaults to `true`. Enabled pulumi.BoolPtrInput // A list of data which is to exported to analytic workspace. Valid values include `RawEvents`. EventsToExports pulumi.StringArrayInput // Specifies the IoT Hub resource IDs to which this Iot Security Solution is applied. IothubIds pulumi.StringArrayInput // Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created. Location pulumi.StringPtrInput // Specifies the Log Analytics Workspace ID to which the security data will be sent. LogAnalyticsWorkspaceId pulumi.StringPtrInput // Should ip addressed be unmasked in the log? Defaults to `false`. LogUnmaskedIpsEnabled pulumi.BoolPtrInput // Specifies the name of the Iot Security Solution. Changing this forces a new resource to be created. Name pulumi.StringPtrInput // An Azure Resource Graph query used to set the resources monitored. QueryForResources pulumi.StringPtrInput // A list of subscription Ids on which the user defined resources query should be executed. QuerySubscriptionIds pulumi.StringArrayInput // A `recommendationsEnabled` block of options to enable or disable as defined below. RecommendationsEnabled SecuritySolutionRecommendationsEnabledPtrInput // Specifies the name of the resource group in which to create the Iot Security Solution. Changing this forces a new resource to be created. ResourceGroupName pulumi.StringInput // A mapping of tags to assign to the resource. Tags pulumi.StringMapInput }
The set of arguments for constructing a SecuritySolution resource.
func (SecuritySolutionArgs) ElementType ¶
func (SecuritySolutionArgs) ElementType() reflect.Type
type SecuritySolutionArray ¶
type SecuritySolutionArray []SecuritySolutionInput
func (SecuritySolutionArray) ElementType ¶
func (SecuritySolutionArray) ElementType() reflect.Type
func (SecuritySolutionArray) ToSecuritySolutionArrayOutput ¶
func (i SecuritySolutionArray) ToSecuritySolutionArrayOutput() SecuritySolutionArrayOutput
func (SecuritySolutionArray) ToSecuritySolutionArrayOutputWithContext ¶
func (i SecuritySolutionArray) ToSecuritySolutionArrayOutputWithContext(ctx context.Context) SecuritySolutionArrayOutput
type SecuritySolutionArrayInput ¶
type SecuritySolutionArrayInput interface { pulumi.Input ToSecuritySolutionArrayOutput() SecuritySolutionArrayOutput ToSecuritySolutionArrayOutputWithContext(context.Context) SecuritySolutionArrayOutput }
SecuritySolutionArrayInput is an input type that accepts SecuritySolutionArray and SecuritySolutionArrayOutput values. You can construct a concrete instance of `SecuritySolutionArrayInput` via:
SecuritySolutionArray{ SecuritySolutionArgs{...} }
type SecuritySolutionArrayOutput ¶
type SecuritySolutionArrayOutput struct{ *pulumi.OutputState }
func (SecuritySolutionArrayOutput) ElementType ¶
func (SecuritySolutionArrayOutput) ElementType() reflect.Type
func (SecuritySolutionArrayOutput) Index ¶
func (o SecuritySolutionArrayOutput) Index(i pulumi.IntInput) SecuritySolutionOutput
func (SecuritySolutionArrayOutput) ToSecuritySolutionArrayOutput ¶
func (o SecuritySolutionArrayOutput) ToSecuritySolutionArrayOutput() SecuritySolutionArrayOutput
func (SecuritySolutionArrayOutput) ToSecuritySolutionArrayOutputWithContext ¶
func (o SecuritySolutionArrayOutput) ToSecuritySolutionArrayOutputWithContext(ctx context.Context) SecuritySolutionArrayOutput
type SecuritySolutionInput ¶
type SecuritySolutionInput interface { pulumi.Input ToSecuritySolutionOutput() SecuritySolutionOutput ToSecuritySolutionOutputWithContext(ctx context.Context) SecuritySolutionOutput }
type SecuritySolutionMap ¶
type SecuritySolutionMap map[string]SecuritySolutionInput
func (SecuritySolutionMap) ElementType ¶
func (SecuritySolutionMap) ElementType() reflect.Type
func (SecuritySolutionMap) ToSecuritySolutionMapOutput ¶
func (i SecuritySolutionMap) ToSecuritySolutionMapOutput() SecuritySolutionMapOutput
func (SecuritySolutionMap) ToSecuritySolutionMapOutputWithContext ¶
func (i SecuritySolutionMap) ToSecuritySolutionMapOutputWithContext(ctx context.Context) SecuritySolutionMapOutput
type SecuritySolutionMapInput ¶
type SecuritySolutionMapInput interface { pulumi.Input ToSecuritySolutionMapOutput() SecuritySolutionMapOutput ToSecuritySolutionMapOutputWithContext(context.Context) SecuritySolutionMapOutput }
SecuritySolutionMapInput is an input type that accepts SecuritySolutionMap and SecuritySolutionMapOutput values. You can construct a concrete instance of `SecuritySolutionMapInput` via:
SecuritySolutionMap{ "key": SecuritySolutionArgs{...} }
type SecuritySolutionMapOutput ¶
type SecuritySolutionMapOutput struct{ *pulumi.OutputState }
func (SecuritySolutionMapOutput) ElementType ¶
func (SecuritySolutionMapOutput) ElementType() reflect.Type
func (SecuritySolutionMapOutput) MapIndex ¶
func (o SecuritySolutionMapOutput) MapIndex(k pulumi.StringInput) SecuritySolutionOutput
func (SecuritySolutionMapOutput) ToSecuritySolutionMapOutput ¶
func (o SecuritySolutionMapOutput) ToSecuritySolutionMapOutput() SecuritySolutionMapOutput
func (SecuritySolutionMapOutput) ToSecuritySolutionMapOutputWithContext ¶
func (o SecuritySolutionMapOutput) ToSecuritySolutionMapOutputWithContext(ctx context.Context) SecuritySolutionMapOutput
type SecuritySolutionOutput ¶
type SecuritySolutionOutput struct {
*pulumi.OutputState
}
func (SecuritySolutionOutput) ElementType ¶
func (SecuritySolutionOutput) ElementType() reflect.Type
func (SecuritySolutionOutput) ToSecuritySolutionOutput ¶
func (o SecuritySolutionOutput) ToSecuritySolutionOutput() SecuritySolutionOutput
func (SecuritySolutionOutput) ToSecuritySolutionOutputWithContext ¶
func (o SecuritySolutionOutput) ToSecuritySolutionOutputWithContext(ctx context.Context) SecuritySolutionOutput
func (SecuritySolutionOutput) ToSecuritySolutionPtrOutput ¶
func (o SecuritySolutionOutput) ToSecuritySolutionPtrOutput() SecuritySolutionPtrOutput
func (SecuritySolutionOutput) ToSecuritySolutionPtrOutputWithContext ¶
func (o SecuritySolutionOutput) ToSecuritySolutionPtrOutputWithContext(ctx context.Context) SecuritySolutionPtrOutput
type SecuritySolutionPtrInput ¶
type SecuritySolutionPtrInput interface { pulumi.Input ToSecuritySolutionPtrOutput() SecuritySolutionPtrOutput ToSecuritySolutionPtrOutputWithContext(ctx context.Context) SecuritySolutionPtrOutput }
type SecuritySolutionPtrOutput ¶
type SecuritySolutionPtrOutput struct {
*pulumi.OutputState
}
func (SecuritySolutionPtrOutput) ElementType ¶
func (SecuritySolutionPtrOutput) ElementType() reflect.Type
func (SecuritySolutionPtrOutput) ToSecuritySolutionPtrOutput ¶
func (o SecuritySolutionPtrOutput) ToSecuritySolutionPtrOutput() SecuritySolutionPtrOutput
func (SecuritySolutionPtrOutput) ToSecuritySolutionPtrOutputWithContext ¶
func (o SecuritySolutionPtrOutput) ToSecuritySolutionPtrOutputWithContext(ctx context.Context) SecuritySolutionPtrOutput
type SecuritySolutionRecommendationsEnabled ¶
type SecuritySolutionRecommendationsEnabled struct { // Is Principal Authentication enabled for the ACR repository? Defaults to `true`. AcrAuthentication *bool `pulumi:"acrAuthentication"` // Is Agent send underutilized messages enabled? Defaults to `true`. AgentSendUnutilizedMsg *bool `pulumi:"agentSendUnutilizedMsg"` // Is Security related system configuration issues identified? Defaults to `true`. Baseline *bool `pulumi:"baseline"` // Is IoT Edge Hub memory optimized? Defaults to `true`. EdgeHubMemOptimize *bool `pulumi:"edgeHubMemOptimize"` // Is logging configured for IoT Edge module? Defaults to `true`. EdgeLoggingOption *bool `pulumi:"edgeLoggingOption"` // Is inconsistent module settings enabled for SecurityGroup? Defaults to `true`. InconsistentModuleSettings *bool `pulumi:"inconsistentModuleSettings"` // is Azure IoT Security agent installed? Defaults to `true`. InstallAgent *bool `pulumi:"installAgent"` // Is Default IP filter policy denied? Defaults to `true`. IpFilterDenyAll *bool `pulumi:"ipFilterDenyAll"` // Is IP filter rule source allowable IP range too large? Defaults to `true`. IpFilterPermissiveRule *bool `pulumi:"ipFilterPermissiveRule"` // Is any ports open on the device? Defaults to `true`. OpenPorts *bool `pulumi:"openPorts"` // Does firewall policy exist which allow necessary communication to/from the device? Defaults to `true`. PermissiveFirewallPolicy *bool `pulumi:"permissiveFirewallPolicy"` // Is only necessary addresses or ports are permitted in? Defaults to `true`. PermissiveInputFirewallRules *bool `pulumi:"permissiveInputFirewallRules"` // Is only necessary addresses or ports are permitted out? Defaults to `true`. PermissiveOutputFirewallRules *bool `pulumi:"permissiveOutputFirewallRules"` // Is high level permissions are needed for the module? Defaults to `true`. PrivilegedDockerOptions *bool `pulumi:"privilegedDockerOptions"` SharedCredentials *bool `pulumi:"sharedCredentials"` // Does TLS cipher suite need to be updated? Defaults to `true`. VulnerableTlsCipherSuite *bool `pulumi:"vulnerableTlsCipherSuite"` }
type SecuritySolutionRecommendationsEnabledArgs ¶
type SecuritySolutionRecommendationsEnabledArgs struct { // Is Principal Authentication enabled for the ACR repository? Defaults to `true`. AcrAuthentication pulumi.BoolPtrInput `pulumi:"acrAuthentication"` // Is Agent send underutilized messages enabled? Defaults to `true`. AgentSendUnutilizedMsg pulumi.BoolPtrInput `pulumi:"agentSendUnutilizedMsg"` // Is Security related system configuration issues identified? Defaults to `true`. Baseline pulumi.BoolPtrInput `pulumi:"baseline"` // Is IoT Edge Hub memory optimized? Defaults to `true`. EdgeHubMemOptimize pulumi.BoolPtrInput `pulumi:"edgeHubMemOptimize"` // Is logging configured for IoT Edge module? Defaults to `true`. EdgeLoggingOption pulumi.BoolPtrInput `pulumi:"edgeLoggingOption"` // Is inconsistent module settings enabled for SecurityGroup? Defaults to `true`. InconsistentModuleSettings pulumi.BoolPtrInput `pulumi:"inconsistentModuleSettings"` // is Azure IoT Security agent installed? Defaults to `true`. InstallAgent pulumi.BoolPtrInput `pulumi:"installAgent"` // Is Default IP filter policy denied? Defaults to `true`. IpFilterDenyAll pulumi.BoolPtrInput `pulumi:"ipFilterDenyAll"` // Is IP filter rule source allowable IP range too large? Defaults to `true`. IpFilterPermissiveRule pulumi.BoolPtrInput `pulumi:"ipFilterPermissiveRule"` // Is any ports open on the device? Defaults to `true`. OpenPorts pulumi.BoolPtrInput `pulumi:"openPorts"` // Does firewall policy exist which allow necessary communication to/from the device? Defaults to `true`. PermissiveFirewallPolicy pulumi.BoolPtrInput `pulumi:"permissiveFirewallPolicy"` // Is only necessary addresses or ports are permitted in? Defaults to `true`. PermissiveInputFirewallRules pulumi.BoolPtrInput `pulumi:"permissiveInputFirewallRules"` // Is only necessary addresses or ports are permitted out? Defaults to `true`. PermissiveOutputFirewallRules pulumi.BoolPtrInput `pulumi:"permissiveOutputFirewallRules"` // Is high level permissions are needed for the module? Defaults to `true`. PrivilegedDockerOptions pulumi.BoolPtrInput `pulumi:"privilegedDockerOptions"` SharedCredentials pulumi.BoolPtrInput `pulumi:"sharedCredentials"` // Does TLS cipher suite need to be updated? Defaults to `true`. VulnerableTlsCipherSuite pulumi.BoolPtrInput `pulumi:"vulnerableTlsCipherSuite"` }
func (SecuritySolutionRecommendationsEnabledArgs) ElementType ¶
func (SecuritySolutionRecommendationsEnabledArgs) ElementType() reflect.Type
func (SecuritySolutionRecommendationsEnabledArgs) ToSecuritySolutionRecommendationsEnabledOutput ¶
func (i SecuritySolutionRecommendationsEnabledArgs) ToSecuritySolutionRecommendationsEnabledOutput() SecuritySolutionRecommendationsEnabledOutput
func (SecuritySolutionRecommendationsEnabledArgs) ToSecuritySolutionRecommendationsEnabledOutputWithContext ¶
func (i SecuritySolutionRecommendationsEnabledArgs) ToSecuritySolutionRecommendationsEnabledOutputWithContext(ctx context.Context) SecuritySolutionRecommendationsEnabledOutput
func (SecuritySolutionRecommendationsEnabledArgs) ToSecuritySolutionRecommendationsEnabledPtrOutput ¶
func (i SecuritySolutionRecommendationsEnabledArgs) ToSecuritySolutionRecommendationsEnabledPtrOutput() SecuritySolutionRecommendationsEnabledPtrOutput
func (SecuritySolutionRecommendationsEnabledArgs) ToSecuritySolutionRecommendationsEnabledPtrOutputWithContext ¶
func (i SecuritySolutionRecommendationsEnabledArgs) ToSecuritySolutionRecommendationsEnabledPtrOutputWithContext(ctx context.Context) SecuritySolutionRecommendationsEnabledPtrOutput
type SecuritySolutionRecommendationsEnabledInput ¶
type SecuritySolutionRecommendationsEnabledInput interface { pulumi.Input ToSecuritySolutionRecommendationsEnabledOutput() SecuritySolutionRecommendationsEnabledOutput ToSecuritySolutionRecommendationsEnabledOutputWithContext(context.Context) SecuritySolutionRecommendationsEnabledOutput }
SecuritySolutionRecommendationsEnabledInput is an input type that accepts SecuritySolutionRecommendationsEnabledArgs and SecuritySolutionRecommendationsEnabledOutput values. You can construct a concrete instance of `SecuritySolutionRecommendationsEnabledInput` via:
SecuritySolutionRecommendationsEnabledArgs{...}
type SecuritySolutionRecommendationsEnabledOutput ¶
type SecuritySolutionRecommendationsEnabledOutput struct{ *pulumi.OutputState }
func (SecuritySolutionRecommendationsEnabledOutput) AcrAuthentication ¶
func (o SecuritySolutionRecommendationsEnabledOutput) AcrAuthentication() pulumi.BoolPtrOutput
Is Principal Authentication enabled for the ACR repository? Defaults to `true`.
func (SecuritySolutionRecommendationsEnabledOutput) AgentSendUnutilizedMsg ¶
func (o SecuritySolutionRecommendationsEnabledOutput) AgentSendUnutilizedMsg() pulumi.BoolPtrOutput
Is Agent send underutilized messages enabled? Defaults to `true`.
func (SecuritySolutionRecommendationsEnabledOutput) Baseline ¶
func (o SecuritySolutionRecommendationsEnabledOutput) Baseline() pulumi.BoolPtrOutput
Is Security related system configuration issues identified? Defaults to `true`.
func (SecuritySolutionRecommendationsEnabledOutput) EdgeHubMemOptimize ¶
func (o SecuritySolutionRecommendationsEnabledOutput) EdgeHubMemOptimize() pulumi.BoolPtrOutput
Is IoT Edge Hub memory optimized? Defaults to `true`.
func (SecuritySolutionRecommendationsEnabledOutput) EdgeLoggingOption ¶
func (o SecuritySolutionRecommendationsEnabledOutput) EdgeLoggingOption() pulumi.BoolPtrOutput
Is logging configured for IoT Edge module? Defaults to `true`.
func (SecuritySolutionRecommendationsEnabledOutput) ElementType ¶
func (SecuritySolutionRecommendationsEnabledOutput) ElementType() reflect.Type
func (SecuritySolutionRecommendationsEnabledOutput) InconsistentModuleSettings ¶
func (o SecuritySolutionRecommendationsEnabledOutput) InconsistentModuleSettings() pulumi.BoolPtrOutput
Is inconsistent module settings enabled for SecurityGroup? Defaults to `true`.
func (SecuritySolutionRecommendationsEnabledOutput) InstallAgent ¶
func (o SecuritySolutionRecommendationsEnabledOutput) InstallAgent() pulumi.BoolPtrOutput
is Azure IoT Security agent installed? Defaults to `true`.
func (SecuritySolutionRecommendationsEnabledOutput) IpFilterDenyAll ¶
func (o SecuritySolutionRecommendationsEnabledOutput) IpFilterDenyAll() pulumi.BoolPtrOutput
Is Default IP filter policy denied? Defaults to `true`.
func (SecuritySolutionRecommendationsEnabledOutput) IpFilterPermissiveRule ¶
func (o SecuritySolutionRecommendationsEnabledOutput) IpFilterPermissiveRule() pulumi.BoolPtrOutput
Is IP filter rule source allowable IP range too large? Defaults to `true`.
func (SecuritySolutionRecommendationsEnabledOutput) OpenPorts ¶
func (o SecuritySolutionRecommendationsEnabledOutput) OpenPorts() pulumi.BoolPtrOutput
Is any ports open on the device? Defaults to `true`.
func (SecuritySolutionRecommendationsEnabledOutput) PermissiveFirewallPolicy ¶
func (o SecuritySolutionRecommendationsEnabledOutput) PermissiveFirewallPolicy() pulumi.BoolPtrOutput
Does firewall policy exist which allow necessary communication to/from the device? Defaults to `true`.
func (SecuritySolutionRecommendationsEnabledOutput) PermissiveInputFirewallRules ¶
func (o SecuritySolutionRecommendationsEnabledOutput) PermissiveInputFirewallRules() pulumi.BoolPtrOutput
Is only necessary addresses or ports are permitted in? Defaults to `true`.
func (SecuritySolutionRecommendationsEnabledOutput) PermissiveOutputFirewallRules ¶
func (o SecuritySolutionRecommendationsEnabledOutput) PermissiveOutputFirewallRules() pulumi.BoolPtrOutput
Is only necessary addresses or ports are permitted out? Defaults to `true`.
func (SecuritySolutionRecommendationsEnabledOutput) PrivilegedDockerOptions ¶
func (o SecuritySolutionRecommendationsEnabledOutput) PrivilegedDockerOptions() pulumi.BoolPtrOutput
Is high level permissions are needed for the module? Defaults to `true`.
func (SecuritySolutionRecommendationsEnabledOutput) SharedCredentials ¶
func (o SecuritySolutionRecommendationsEnabledOutput) SharedCredentials() pulumi.BoolPtrOutput
Is any credentials shared among devices? Defaults to `true`.
func (SecuritySolutionRecommendationsEnabledOutput) ToSecuritySolutionRecommendationsEnabledOutput ¶
func (o SecuritySolutionRecommendationsEnabledOutput) ToSecuritySolutionRecommendationsEnabledOutput() SecuritySolutionRecommendationsEnabledOutput
func (SecuritySolutionRecommendationsEnabledOutput) ToSecuritySolutionRecommendationsEnabledOutputWithContext ¶
func (o SecuritySolutionRecommendationsEnabledOutput) ToSecuritySolutionRecommendationsEnabledOutputWithContext(ctx context.Context) SecuritySolutionRecommendationsEnabledOutput
func (SecuritySolutionRecommendationsEnabledOutput) ToSecuritySolutionRecommendationsEnabledPtrOutput ¶
func (o SecuritySolutionRecommendationsEnabledOutput) ToSecuritySolutionRecommendationsEnabledPtrOutput() SecuritySolutionRecommendationsEnabledPtrOutput
func (SecuritySolutionRecommendationsEnabledOutput) ToSecuritySolutionRecommendationsEnabledPtrOutputWithContext ¶
func (o SecuritySolutionRecommendationsEnabledOutput) ToSecuritySolutionRecommendationsEnabledPtrOutputWithContext(ctx context.Context) SecuritySolutionRecommendationsEnabledPtrOutput
func (SecuritySolutionRecommendationsEnabledOutput) VulnerableTlsCipherSuite ¶
func (o SecuritySolutionRecommendationsEnabledOutput) VulnerableTlsCipherSuite() pulumi.BoolPtrOutput
Does TLS cipher suite need to be updated? Defaults to `true`.
type SecuritySolutionRecommendationsEnabledPtrInput ¶
type SecuritySolutionRecommendationsEnabledPtrInput interface { pulumi.Input ToSecuritySolutionRecommendationsEnabledPtrOutput() SecuritySolutionRecommendationsEnabledPtrOutput ToSecuritySolutionRecommendationsEnabledPtrOutputWithContext(context.Context) SecuritySolutionRecommendationsEnabledPtrOutput }
SecuritySolutionRecommendationsEnabledPtrInput is an input type that accepts SecuritySolutionRecommendationsEnabledArgs, SecuritySolutionRecommendationsEnabledPtr and SecuritySolutionRecommendationsEnabledPtrOutput values. You can construct a concrete instance of `SecuritySolutionRecommendationsEnabledPtrInput` via:
SecuritySolutionRecommendationsEnabledArgs{...} or: nil
func SecuritySolutionRecommendationsEnabledPtr ¶
func SecuritySolutionRecommendationsEnabledPtr(v *SecuritySolutionRecommendationsEnabledArgs) SecuritySolutionRecommendationsEnabledPtrInput
type SecuritySolutionRecommendationsEnabledPtrOutput ¶
type SecuritySolutionRecommendationsEnabledPtrOutput struct{ *pulumi.OutputState }
func (SecuritySolutionRecommendationsEnabledPtrOutput) AcrAuthentication ¶
func (o SecuritySolutionRecommendationsEnabledPtrOutput) AcrAuthentication() pulumi.BoolPtrOutput
Is Principal Authentication enabled for the ACR repository? Defaults to `true`.
func (SecuritySolutionRecommendationsEnabledPtrOutput) AgentSendUnutilizedMsg ¶
func (o SecuritySolutionRecommendationsEnabledPtrOutput) AgentSendUnutilizedMsg() pulumi.BoolPtrOutput
Is Agent send underutilized messages enabled? Defaults to `true`.
func (SecuritySolutionRecommendationsEnabledPtrOutput) Baseline ¶
func (o SecuritySolutionRecommendationsEnabledPtrOutput) Baseline() pulumi.BoolPtrOutput
Is Security related system configuration issues identified? Defaults to `true`.
func (SecuritySolutionRecommendationsEnabledPtrOutput) EdgeHubMemOptimize ¶
func (o SecuritySolutionRecommendationsEnabledPtrOutput) EdgeHubMemOptimize() pulumi.BoolPtrOutput
Is IoT Edge Hub memory optimized? Defaults to `true`.
func (SecuritySolutionRecommendationsEnabledPtrOutput) EdgeLoggingOption ¶
func (o SecuritySolutionRecommendationsEnabledPtrOutput) EdgeLoggingOption() pulumi.BoolPtrOutput
Is logging configured for IoT Edge module? Defaults to `true`.
func (SecuritySolutionRecommendationsEnabledPtrOutput) ElementType ¶
func (SecuritySolutionRecommendationsEnabledPtrOutput) ElementType() reflect.Type
func (SecuritySolutionRecommendationsEnabledPtrOutput) InconsistentModuleSettings ¶
func (o SecuritySolutionRecommendationsEnabledPtrOutput) InconsistentModuleSettings() pulumi.BoolPtrOutput
Is inconsistent module settings enabled for SecurityGroup? Defaults to `true`.
func (SecuritySolutionRecommendationsEnabledPtrOutput) InstallAgent ¶
func (o SecuritySolutionRecommendationsEnabledPtrOutput) InstallAgent() pulumi.BoolPtrOutput
is Azure IoT Security agent installed? Defaults to `true`.
func (SecuritySolutionRecommendationsEnabledPtrOutput) IpFilterDenyAll ¶
func (o SecuritySolutionRecommendationsEnabledPtrOutput) IpFilterDenyAll() pulumi.BoolPtrOutput
Is Default IP filter policy denied? Defaults to `true`.
func (SecuritySolutionRecommendationsEnabledPtrOutput) IpFilterPermissiveRule ¶
func (o SecuritySolutionRecommendationsEnabledPtrOutput) IpFilterPermissiveRule() pulumi.BoolPtrOutput
Is IP filter rule source allowable IP range too large? Defaults to `true`.
func (SecuritySolutionRecommendationsEnabledPtrOutput) OpenPorts ¶
func (o SecuritySolutionRecommendationsEnabledPtrOutput) OpenPorts() pulumi.BoolPtrOutput
Is any ports open on the device? Defaults to `true`.
func (SecuritySolutionRecommendationsEnabledPtrOutput) PermissiveFirewallPolicy ¶
func (o SecuritySolutionRecommendationsEnabledPtrOutput) PermissiveFirewallPolicy() pulumi.BoolPtrOutput
Does firewall policy exist which allow necessary communication to/from the device? Defaults to `true`.
func (SecuritySolutionRecommendationsEnabledPtrOutput) PermissiveInputFirewallRules ¶
func (o SecuritySolutionRecommendationsEnabledPtrOutput) PermissiveInputFirewallRules() pulumi.BoolPtrOutput
Is only necessary addresses or ports are permitted in? Defaults to `true`.
func (SecuritySolutionRecommendationsEnabledPtrOutput) PermissiveOutputFirewallRules ¶
func (o SecuritySolutionRecommendationsEnabledPtrOutput) PermissiveOutputFirewallRules() pulumi.BoolPtrOutput
Is only necessary addresses or ports are permitted out? Defaults to `true`.
func (SecuritySolutionRecommendationsEnabledPtrOutput) PrivilegedDockerOptions ¶
func (o SecuritySolutionRecommendationsEnabledPtrOutput) PrivilegedDockerOptions() pulumi.BoolPtrOutput
Is high level permissions are needed for the module? Defaults to `true`.
func (SecuritySolutionRecommendationsEnabledPtrOutput) SharedCredentials ¶
func (o SecuritySolutionRecommendationsEnabledPtrOutput) SharedCredentials() pulumi.BoolPtrOutput
Is any credentials shared among devices? Defaults to `true`.
func (SecuritySolutionRecommendationsEnabledPtrOutput) ToSecuritySolutionRecommendationsEnabledPtrOutput ¶
func (o SecuritySolutionRecommendationsEnabledPtrOutput) ToSecuritySolutionRecommendationsEnabledPtrOutput() SecuritySolutionRecommendationsEnabledPtrOutput
func (SecuritySolutionRecommendationsEnabledPtrOutput) ToSecuritySolutionRecommendationsEnabledPtrOutputWithContext ¶
func (o SecuritySolutionRecommendationsEnabledPtrOutput) ToSecuritySolutionRecommendationsEnabledPtrOutputWithContext(ctx context.Context) SecuritySolutionRecommendationsEnabledPtrOutput
func (SecuritySolutionRecommendationsEnabledPtrOutput) VulnerableTlsCipherSuite ¶
func (o SecuritySolutionRecommendationsEnabledPtrOutput) VulnerableTlsCipherSuite() pulumi.BoolPtrOutput
Does TLS cipher suite need to be updated? Defaults to `true`.
type SecuritySolutionState ¶
type SecuritySolutionState struct { // Specifies the Display Name for this Iot Security Solution. DisplayName pulumi.StringPtrInput // Is the Iot Security Solution enabled? Defaults to `true`. Enabled pulumi.BoolPtrInput // A list of data which is to exported to analytic workspace. Valid values include `RawEvents`. EventsToExports pulumi.StringArrayInput // Specifies the IoT Hub resource IDs to which this Iot Security Solution is applied. IothubIds pulumi.StringArrayInput // Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created. Location pulumi.StringPtrInput // Specifies the Log Analytics Workspace ID to which the security data will be sent. LogAnalyticsWorkspaceId pulumi.StringPtrInput // Should ip addressed be unmasked in the log? Defaults to `false`. LogUnmaskedIpsEnabled pulumi.BoolPtrInput // Specifies the name of the Iot Security Solution. Changing this forces a new resource to be created. Name pulumi.StringPtrInput // An Azure Resource Graph query used to set the resources monitored. QueryForResources pulumi.StringPtrInput // A list of subscription Ids on which the user defined resources query should be executed. QuerySubscriptionIds pulumi.StringArrayInput // A `recommendationsEnabled` block of options to enable or disable as defined below. RecommendationsEnabled SecuritySolutionRecommendationsEnabledPtrInput // Specifies the name of the resource group in which to create the Iot Security Solution. Changing this forces a new resource to be created. ResourceGroupName pulumi.StringPtrInput // A mapping of tags to assign to the resource. Tags pulumi.StringMapInput }
func (SecuritySolutionState) ElementType ¶
func (SecuritySolutionState) 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
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/core" "github.com/pulumi/pulumi-azure/sdk/v4/go/azure/iot" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{ Location: pulumi.String("West Europe"), }) if err != nil { return err } exampleIoTHub, err := iot.NewIoTHub(ctx, "exampleIoTHub", &iot.IoTHubArgs{ ResourceGroupName: exampleResourceGroup.Name, Location: exampleResourceGroup.Location, Sku: &iot.IoTHubSkuArgs{ Name: pulumi.String("S1"), Capacity: pulumi.Int(1), }, }) if err != nil { return err } _, err = iot.NewSharedAccessPolicy(ctx, "exampleSharedAccessPolicy", &iot.SharedAccessPolicyArgs{ ResourceGroupName: exampleResourceGroup.Name, IothubName: exampleIoTHub.Name, RegistryRead: pulumi.Bool(true), RegistryWrite: pulumi.Bool(true), }) if err != nil { return err } return nil }) }
```
## Import
IoTHub Shared Access Policies can be imported using the `resource id`, e.g.
```sh
$ pulumi import azure:iot/sharedAccessPolicy:SharedAccessPolicy shared_access_policy1 /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mygroup1/providers/Microsoft.Devices/IotHubs/hub1/IotHubKeys/shared_access_policy1
```
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.
func (*SharedAccessPolicy) ElementType ¶
func (*SharedAccessPolicy) ElementType() reflect.Type
func (*SharedAccessPolicy) ToSharedAccessPolicyOutput ¶
func (i *SharedAccessPolicy) ToSharedAccessPolicyOutput() SharedAccessPolicyOutput
func (*SharedAccessPolicy) ToSharedAccessPolicyOutputWithContext ¶
func (i *SharedAccessPolicy) ToSharedAccessPolicyOutputWithContext(ctx context.Context) SharedAccessPolicyOutput
func (*SharedAccessPolicy) ToSharedAccessPolicyPtrOutput ¶
func (i *SharedAccessPolicy) ToSharedAccessPolicyPtrOutput() SharedAccessPolicyPtrOutput
func (*SharedAccessPolicy) ToSharedAccessPolicyPtrOutputWithContext ¶
func (i *SharedAccessPolicy) ToSharedAccessPolicyPtrOutputWithContext(ctx context.Context) SharedAccessPolicyPtrOutput
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 SharedAccessPolicyArray ¶
type SharedAccessPolicyArray []SharedAccessPolicyInput
func (SharedAccessPolicyArray) ElementType ¶
func (SharedAccessPolicyArray) ElementType() reflect.Type
func (SharedAccessPolicyArray) ToSharedAccessPolicyArrayOutput ¶
func (i SharedAccessPolicyArray) ToSharedAccessPolicyArrayOutput() SharedAccessPolicyArrayOutput
func (SharedAccessPolicyArray) ToSharedAccessPolicyArrayOutputWithContext ¶
func (i SharedAccessPolicyArray) ToSharedAccessPolicyArrayOutputWithContext(ctx context.Context) SharedAccessPolicyArrayOutput
type SharedAccessPolicyArrayInput ¶
SharedAccessPolicyArrayInput is an input type that accepts SharedAccessPolicyArray and SharedAccessPolicyArrayOutput values. You can construct a concrete instance of `SharedAccessPolicyArrayInput` via:
SharedAccessPolicyArray{ SharedAccessPolicyArgs{...} }
type SharedAccessPolicyArrayOutput ¶
func (SharedAccessPolicyArrayOutput) ElementType ¶
func (SharedAccessPolicyArrayOutput) ElementType() reflect.Type
func (SharedAccessPolicyArrayOutput) Index ¶
func (o SharedAccessPolicyArrayOutput) Index(i pulumi.IntInput) SharedAccessPolicyOutput
func (SharedAccessPolicyArrayOutput) ToSharedAccessPolicyArrayOutput ¶
func (o SharedAccessPolicyArrayOutput) ToSharedAccessPolicyArrayOutput() SharedAccessPolicyArrayOutput
func (SharedAccessPolicyArrayOutput) ToSharedAccessPolicyArrayOutputWithContext ¶
func (o SharedAccessPolicyArrayOutput) ToSharedAccessPolicyArrayOutputWithContext(ctx context.Context) SharedAccessPolicyArrayOutput
type SharedAccessPolicyInput ¶
type SharedAccessPolicyMap ¶
type SharedAccessPolicyMap map[string]SharedAccessPolicyInput
func (SharedAccessPolicyMap) ElementType ¶
func (SharedAccessPolicyMap) ElementType() reflect.Type
func (SharedAccessPolicyMap) ToSharedAccessPolicyMapOutput ¶
func (i SharedAccessPolicyMap) ToSharedAccessPolicyMapOutput() SharedAccessPolicyMapOutput
func (SharedAccessPolicyMap) ToSharedAccessPolicyMapOutputWithContext ¶
func (i SharedAccessPolicyMap) ToSharedAccessPolicyMapOutputWithContext(ctx context.Context) SharedAccessPolicyMapOutput
type SharedAccessPolicyMapInput ¶
SharedAccessPolicyMapInput is an input type that accepts SharedAccessPolicyMap and SharedAccessPolicyMapOutput values. You can construct a concrete instance of `SharedAccessPolicyMapInput` via:
SharedAccessPolicyMap{ "key": SharedAccessPolicyArgs{...} }
type SharedAccessPolicyMapOutput ¶
func (SharedAccessPolicyMapOutput) ElementType ¶
func (SharedAccessPolicyMapOutput) ElementType() reflect.Type
func (SharedAccessPolicyMapOutput) MapIndex ¶
func (o SharedAccessPolicyMapOutput) MapIndex(k pulumi.StringInput) SharedAccessPolicyOutput
func (SharedAccessPolicyMapOutput) ToSharedAccessPolicyMapOutput ¶
func (o SharedAccessPolicyMapOutput) ToSharedAccessPolicyMapOutput() SharedAccessPolicyMapOutput
func (SharedAccessPolicyMapOutput) ToSharedAccessPolicyMapOutputWithContext ¶
func (o SharedAccessPolicyMapOutput) ToSharedAccessPolicyMapOutputWithContext(ctx context.Context) SharedAccessPolicyMapOutput
type SharedAccessPolicyOutput ¶
type SharedAccessPolicyOutput struct {
}func (SharedAccessPolicyOutput) ElementType ¶
func (SharedAccessPolicyOutput) ElementType() reflect.Type
func (SharedAccessPolicyOutput) ToSharedAccessPolicyOutput ¶
func (o SharedAccessPolicyOutput) ToSharedAccessPolicyOutput() SharedAccessPolicyOutput
func (SharedAccessPolicyOutput) ToSharedAccessPolicyOutputWithContext ¶
func (o SharedAccessPolicyOutput) ToSharedAccessPolicyOutputWithContext(ctx context.Context) SharedAccessPolicyOutput
func (SharedAccessPolicyOutput) ToSharedAccessPolicyPtrOutput ¶
func (o SharedAccessPolicyOutput) ToSharedAccessPolicyPtrOutput() SharedAccessPolicyPtrOutput
func (SharedAccessPolicyOutput) ToSharedAccessPolicyPtrOutputWithContext ¶
func (o SharedAccessPolicyOutput) ToSharedAccessPolicyPtrOutputWithContext(ctx context.Context) SharedAccessPolicyPtrOutput
type SharedAccessPolicyPtrOutput ¶
type SharedAccessPolicyPtrOutput struct {
}func (SharedAccessPolicyPtrOutput) ElementType ¶
func (SharedAccessPolicyPtrOutput) ElementType() reflect.Type
func (SharedAccessPolicyPtrOutput) ToSharedAccessPolicyPtrOutput ¶
func (o SharedAccessPolicyPtrOutput) ToSharedAccessPolicyPtrOutput() SharedAccessPolicyPtrOutput
func (SharedAccessPolicyPtrOutput) ToSharedAccessPolicyPtrOutputWithContext ¶
func (o SharedAccessPolicyPtrOutput) ToSharedAccessPolicyPtrOutputWithContext(ctx context.Context) SharedAccessPolicyPtrOutput
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
type TimeSeriesInsightsAccessPolicy ¶
type TimeSeriesInsightsAccessPolicy struct { pulumi.CustomResourceState // The description of the Azure IoT Time Series Insights Access Policy. Description pulumi.StringPtrOutput `pulumi:"description"` // Specifies the name of the Azure IoT Time Series Insights Access Policy. Changing this forces a new resource to be created. Must be globally unique. Name pulumi.StringOutput `pulumi:"name"` // The id of the principal in Azure Active Directory. PrincipalObjectId pulumi.StringOutput `pulumi:"principalObjectId"` // A list of roles to apply to the Access Policy. Valid values include `Contributor` and `Reader`. Roles pulumi.StringArrayOutput `pulumi:"roles"` // The resource ID of the Azure IoT Time Series Insights Environment in which to create the Azure IoT Time Series Insights Reference Data Set. Changing this forces a new resource to be created. TimeSeriesInsightsEnvironmentId pulumi.StringOutput `pulumi:"timeSeriesInsightsEnvironmentId"` }
Manages an Azure IoT Time Series Insights Access Policy.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/core" "github.com/pulumi/pulumi-azure/sdk/v4/go/azure/iot" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{ Location: pulumi.String("West Europe"), }) if err != nil { return err } exampleTimeSeriesInsightsStandardEnvironment, err := iot.NewTimeSeriesInsightsStandardEnvironment(ctx, "exampleTimeSeriesInsightsStandardEnvironment", &iot.TimeSeriesInsightsStandardEnvironmentArgs{ Location: exampleResourceGroup.Location, ResourceGroupName: exampleResourceGroup.Name, SkuName: pulumi.String("S1_1"), DataRetentionTime: pulumi.String("P30D"), }) if err != nil { return err } _, err = iot.NewTimeSeriesInsightsAccessPolicy(ctx, "exampleTimeSeriesInsightsAccessPolicy", &iot.TimeSeriesInsightsAccessPolicyArgs{ TimeSeriesInsightsEnvironmentId: exampleTimeSeriesInsightsStandardEnvironment.Name, PrincipalObjectId: pulumi.String("aGUID"), Roles: pulumi.StringArray{ pulumi.String("Reader"), }, }) if err != nil { return err } return nil }) }
```
## Import
Azure IoT Time Series Insights Access Policy can be imported using the `resource id`, e.g.
```sh
$ pulumi import azure:iot/timeSeriesInsightsAccessPolicy:TimeSeriesInsightsAccessPolicy example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/example/providers/Microsoft.TimeSeriesInsights/environments/environment1/accessPolicies/example
```
func GetTimeSeriesInsightsAccessPolicy ¶
func GetTimeSeriesInsightsAccessPolicy(ctx *pulumi.Context, name string, id pulumi.IDInput, state *TimeSeriesInsightsAccessPolicyState, opts ...pulumi.ResourceOption) (*TimeSeriesInsightsAccessPolicy, error)
GetTimeSeriesInsightsAccessPolicy gets an existing TimeSeriesInsightsAccessPolicy 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 NewTimeSeriesInsightsAccessPolicy ¶
func NewTimeSeriesInsightsAccessPolicy(ctx *pulumi.Context, name string, args *TimeSeriesInsightsAccessPolicyArgs, opts ...pulumi.ResourceOption) (*TimeSeriesInsightsAccessPolicy, error)
NewTimeSeriesInsightsAccessPolicy registers a new resource with the given unique name, arguments, and options.
func (*TimeSeriesInsightsAccessPolicy) ElementType ¶
func (*TimeSeriesInsightsAccessPolicy) ElementType() reflect.Type
func (*TimeSeriesInsightsAccessPolicy) ToTimeSeriesInsightsAccessPolicyOutput ¶
func (i *TimeSeriesInsightsAccessPolicy) ToTimeSeriesInsightsAccessPolicyOutput() TimeSeriesInsightsAccessPolicyOutput
func (*TimeSeriesInsightsAccessPolicy) ToTimeSeriesInsightsAccessPolicyOutputWithContext ¶
func (i *TimeSeriesInsightsAccessPolicy) ToTimeSeriesInsightsAccessPolicyOutputWithContext(ctx context.Context) TimeSeriesInsightsAccessPolicyOutput
func (*TimeSeriesInsightsAccessPolicy) ToTimeSeriesInsightsAccessPolicyPtrOutput ¶
func (i *TimeSeriesInsightsAccessPolicy) ToTimeSeriesInsightsAccessPolicyPtrOutput() TimeSeriesInsightsAccessPolicyPtrOutput
func (*TimeSeriesInsightsAccessPolicy) ToTimeSeriesInsightsAccessPolicyPtrOutputWithContext ¶
func (i *TimeSeriesInsightsAccessPolicy) ToTimeSeriesInsightsAccessPolicyPtrOutputWithContext(ctx context.Context) TimeSeriesInsightsAccessPolicyPtrOutput
type TimeSeriesInsightsAccessPolicyArgs ¶
type TimeSeriesInsightsAccessPolicyArgs struct { // The description of the Azure IoT Time Series Insights Access Policy. Description pulumi.StringPtrInput // Specifies the name of the Azure IoT Time Series Insights Access Policy. Changing this forces a new resource to be created. Must be globally unique. Name pulumi.StringPtrInput // The id of the principal in Azure Active Directory. PrincipalObjectId pulumi.StringInput // A list of roles to apply to the Access Policy. Valid values include `Contributor` and `Reader`. Roles pulumi.StringArrayInput // The resource ID of the Azure IoT Time Series Insights Environment in which to create the Azure IoT Time Series Insights Reference Data Set. Changing this forces a new resource to be created. TimeSeriesInsightsEnvironmentId pulumi.StringInput }
The set of arguments for constructing a TimeSeriesInsightsAccessPolicy resource.
func (TimeSeriesInsightsAccessPolicyArgs) ElementType ¶
func (TimeSeriesInsightsAccessPolicyArgs) ElementType() reflect.Type
type TimeSeriesInsightsAccessPolicyArray ¶
type TimeSeriesInsightsAccessPolicyArray []TimeSeriesInsightsAccessPolicyInput
func (TimeSeriesInsightsAccessPolicyArray) ElementType ¶
func (TimeSeriesInsightsAccessPolicyArray) ElementType() reflect.Type
func (TimeSeriesInsightsAccessPolicyArray) ToTimeSeriesInsightsAccessPolicyArrayOutput ¶
func (i TimeSeriesInsightsAccessPolicyArray) ToTimeSeriesInsightsAccessPolicyArrayOutput() TimeSeriesInsightsAccessPolicyArrayOutput
func (TimeSeriesInsightsAccessPolicyArray) ToTimeSeriesInsightsAccessPolicyArrayOutputWithContext ¶
func (i TimeSeriesInsightsAccessPolicyArray) ToTimeSeriesInsightsAccessPolicyArrayOutputWithContext(ctx context.Context) TimeSeriesInsightsAccessPolicyArrayOutput
type TimeSeriesInsightsAccessPolicyArrayInput ¶
type TimeSeriesInsightsAccessPolicyArrayInput interface { pulumi.Input ToTimeSeriesInsightsAccessPolicyArrayOutput() TimeSeriesInsightsAccessPolicyArrayOutput ToTimeSeriesInsightsAccessPolicyArrayOutputWithContext(context.Context) TimeSeriesInsightsAccessPolicyArrayOutput }
TimeSeriesInsightsAccessPolicyArrayInput is an input type that accepts TimeSeriesInsightsAccessPolicyArray and TimeSeriesInsightsAccessPolicyArrayOutput values. You can construct a concrete instance of `TimeSeriesInsightsAccessPolicyArrayInput` via:
TimeSeriesInsightsAccessPolicyArray{ TimeSeriesInsightsAccessPolicyArgs{...} }
type TimeSeriesInsightsAccessPolicyArrayOutput ¶
type TimeSeriesInsightsAccessPolicyArrayOutput struct{ *pulumi.OutputState }
func (TimeSeriesInsightsAccessPolicyArrayOutput) ElementType ¶
func (TimeSeriesInsightsAccessPolicyArrayOutput) ElementType() reflect.Type
func (TimeSeriesInsightsAccessPolicyArrayOutput) ToTimeSeriesInsightsAccessPolicyArrayOutput ¶
func (o TimeSeriesInsightsAccessPolicyArrayOutput) ToTimeSeriesInsightsAccessPolicyArrayOutput() TimeSeriesInsightsAccessPolicyArrayOutput
func (TimeSeriesInsightsAccessPolicyArrayOutput) ToTimeSeriesInsightsAccessPolicyArrayOutputWithContext ¶
func (o TimeSeriesInsightsAccessPolicyArrayOutput) ToTimeSeriesInsightsAccessPolicyArrayOutputWithContext(ctx context.Context) TimeSeriesInsightsAccessPolicyArrayOutput
type TimeSeriesInsightsAccessPolicyInput ¶
type TimeSeriesInsightsAccessPolicyInput interface { pulumi.Input ToTimeSeriesInsightsAccessPolicyOutput() TimeSeriesInsightsAccessPolicyOutput ToTimeSeriesInsightsAccessPolicyOutputWithContext(ctx context.Context) TimeSeriesInsightsAccessPolicyOutput }
type TimeSeriesInsightsAccessPolicyMap ¶
type TimeSeriesInsightsAccessPolicyMap map[string]TimeSeriesInsightsAccessPolicyInput
func (TimeSeriesInsightsAccessPolicyMap) ElementType ¶
func (TimeSeriesInsightsAccessPolicyMap) ElementType() reflect.Type
func (TimeSeriesInsightsAccessPolicyMap) ToTimeSeriesInsightsAccessPolicyMapOutput ¶
func (i TimeSeriesInsightsAccessPolicyMap) ToTimeSeriesInsightsAccessPolicyMapOutput() TimeSeriesInsightsAccessPolicyMapOutput
func (TimeSeriesInsightsAccessPolicyMap) ToTimeSeriesInsightsAccessPolicyMapOutputWithContext ¶
func (i TimeSeriesInsightsAccessPolicyMap) ToTimeSeriesInsightsAccessPolicyMapOutputWithContext(ctx context.Context) TimeSeriesInsightsAccessPolicyMapOutput
type TimeSeriesInsightsAccessPolicyMapInput ¶
type TimeSeriesInsightsAccessPolicyMapInput interface { pulumi.Input ToTimeSeriesInsightsAccessPolicyMapOutput() TimeSeriesInsightsAccessPolicyMapOutput ToTimeSeriesInsightsAccessPolicyMapOutputWithContext(context.Context) TimeSeriesInsightsAccessPolicyMapOutput }
TimeSeriesInsightsAccessPolicyMapInput is an input type that accepts TimeSeriesInsightsAccessPolicyMap and TimeSeriesInsightsAccessPolicyMapOutput values. You can construct a concrete instance of `TimeSeriesInsightsAccessPolicyMapInput` via:
TimeSeriesInsightsAccessPolicyMap{ "key": TimeSeriesInsightsAccessPolicyArgs{...} }
type TimeSeriesInsightsAccessPolicyMapOutput ¶
type TimeSeriesInsightsAccessPolicyMapOutput struct{ *pulumi.OutputState }
func (TimeSeriesInsightsAccessPolicyMapOutput) ElementType ¶
func (TimeSeriesInsightsAccessPolicyMapOutput) ElementType() reflect.Type
func (TimeSeriesInsightsAccessPolicyMapOutput) MapIndex ¶
func (o TimeSeriesInsightsAccessPolicyMapOutput) MapIndex(k pulumi.StringInput) TimeSeriesInsightsAccessPolicyOutput
func (TimeSeriesInsightsAccessPolicyMapOutput) ToTimeSeriesInsightsAccessPolicyMapOutput ¶
func (o TimeSeriesInsightsAccessPolicyMapOutput) ToTimeSeriesInsightsAccessPolicyMapOutput() TimeSeriesInsightsAccessPolicyMapOutput
func (TimeSeriesInsightsAccessPolicyMapOutput) ToTimeSeriesInsightsAccessPolicyMapOutputWithContext ¶
func (o TimeSeriesInsightsAccessPolicyMapOutput) ToTimeSeriesInsightsAccessPolicyMapOutputWithContext(ctx context.Context) TimeSeriesInsightsAccessPolicyMapOutput
type TimeSeriesInsightsAccessPolicyOutput ¶
type TimeSeriesInsightsAccessPolicyOutput struct {
*pulumi.OutputState
}
func (TimeSeriesInsightsAccessPolicyOutput) ElementType ¶
func (TimeSeriesInsightsAccessPolicyOutput) ElementType() reflect.Type
func (TimeSeriesInsightsAccessPolicyOutput) ToTimeSeriesInsightsAccessPolicyOutput ¶
func (o TimeSeriesInsightsAccessPolicyOutput) ToTimeSeriesInsightsAccessPolicyOutput() TimeSeriesInsightsAccessPolicyOutput
func (TimeSeriesInsightsAccessPolicyOutput) ToTimeSeriesInsightsAccessPolicyOutputWithContext ¶
func (o TimeSeriesInsightsAccessPolicyOutput) ToTimeSeriesInsightsAccessPolicyOutputWithContext(ctx context.Context) TimeSeriesInsightsAccessPolicyOutput
func (TimeSeriesInsightsAccessPolicyOutput) ToTimeSeriesInsightsAccessPolicyPtrOutput ¶
func (o TimeSeriesInsightsAccessPolicyOutput) ToTimeSeriesInsightsAccessPolicyPtrOutput() TimeSeriesInsightsAccessPolicyPtrOutput
func (TimeSeriesInsightsAccessPolicyOutput) ToTimeSeriesInsightsAccessPolicyPtrOutputWithContext ¶
func (o TimeSeriesInsightsAccessPolicyOutput) ToTimeSeriesInsightsAccessPolicyPtrOutputWithContext(ctx context.Context) TimeSeriesInsightsAccessPolicyPtrOutput
type TimeSeriesInsightsAccessPolicyPtrInput ¶
type TimeSeriesInsightsAccessPolicyPtrInput interface { pulumi.Input ToTimeSeriesInsightsAccessPolicyPtrOutput() TimeSeriesInsightsAccessPolicyPtrOutput ToTimeSeriesInsightsAccessPolicyPtrOutputWithContext(ctx context.Context) TimeSeriesInsightsAccessPolicyPtrOutput }
type TimeSeriesInsightsAccessPolicyPtrOutput ¶
type TimeSeriesInsightsAccessPolicyPtrOutput struct {
*pulumi.OutputState
}
func (TimeSeriesInsightsAccessPolicyPtrOutput) ElementType ¶
func (TimeSeriesInsightsAccessPolicyPtrOutput) ElementType() reflect.Type
func (TimeSeriesInsightsAccessPolicyPtrOutput) ToTimeSeriesInsightsAccessPolicyPtrOutput ¶
func (o TimeSeriesInsightsAccessPolicyPtrOutput) ToTimeSeriesInsightsAccessPolicyPtrOutput() TimeSeriesInsightsAccessPolicyPtrOutput
func (TimeSeriesInsightsAccessPolicyPtrOutput) ToTimeSeriesInsightsAccessPolicyPtrOutputWithContext ¶
func (o TimeSeriesInsightsAccessPolicyPtrOutput) ToTimeSeriesInsightsAccessPolicyPtrOutputWithContext(ctx context.Context) TimeSeriesInsightsAccessPolicyPtrOutput
type TimeSeriesInsightsAccessPolicyState ¶
type TimeSeriesInsightsAccessPolicyState struct { // The description of the Azure IoT Time Series Insights Access Policy. Description pulumi.StringPtrInput // Specifies the name of the Azure IoT Time Series Insights Access Policy. Changing this forces a new resource to be created. Must be globally unique. Name pulumi.StringPtrInput // The id of the principal in Azure Active Directory. PrincipalObjectId pulumi.StringPtrInput // A list of roles to apply to the Access Policy. Valid values include `Contributor` and `Reader`. Roles pulumi.StringArrayInput // The resource ID of the Azure IoT Time Series Insights Environment in which to create the Azure IoT Time Series Insights Reference Data Set. Changing this forces a new resource to be created. TimeSeriesInsightsEnvironmentId pulumi.StringPtrInput }
func (TimeSeriesInsightsAccessPolicyState) ElementType ¶
func (TimeSeriesInsightsAccessPolicyState) ElementType() reflect.Type
type TimeSeriesInsightsEventSourceIothub ¶ added in v4.2.0
type TimeSeriesInsightsEventSourceIothub struct { pulumi.CustomResourceState // Specifies the name of the IotHub Consumer Group that holds the partitions from which events will be read. ConsumerGroupName pulumi.StringOutput `pulumi:"consumerGroupName"` // Specifies the id of the IoT Time Series Insights Environment that the Event Source should be associated with. Changing this forces a new resource to created. EnvironmentId pulumi.StringOutput `pulumi:"environmentId"` // Specifies the resource id where events will be coming from. EventSourceResourceId pulumi.StringOutput `pulumi:"eventSourceResourceId"` // Specifies the name of the IotHub which will be associated with this resource. IothubName pulumi.StringOutput `pulumi:"iothubName"` // Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created. Location pulumi.StringOutput `pulumi:"location"` // Specifies the name of the Azure IoT Time Series Insights IoTHub Event Source. Changing this forces a new resource to be created. Must be globally unique. Name pulumi.StringOutput `pulumi:"name"` SharedAccessKey pulumi.StringOutput `pulumi:"sharedAccessKey"` SharedAccessKeyName pulumi.StringOutput `pulumi:"sharedAccessKeyName"` // A mapping of tags to assign to the resource. Tags pulumi.StringMapOutput `pulumi:"tags"` // Specifies the value that will be used as the event source's timestamp. This value defaults to the event creation time. TimestampPropertyName pulumi.StringOutput `pulumi:"timestampPropertyName"` }
Manages an Azure IoT Time Series Insights IoTHub Event Source.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/core" "github.com/pulumi/pulumi-azure/sdk/v4/go/azure/iot" "github.com/pulumi/pulumi-azure/sdk/v4/go/azure/storage" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{ Location: pulumi.String("West Eurpoe"), }) if err != nil { return err } exampleIoTHub, err := iot.NewIoTHub(ctx, "exampleIoTHub", &iot.IoTHubArgs{ ResourceGroupName: exampleResourceGroup.Name, Location: exampleResourceGroup.Location, Sku: &iot.IoTHubSkuArgs{ Name: pulumi.String("B1"), Capacity: pulumi.Int(1), }, }) if err != nil { return err } exampleConsumerGroup, err := iot.NewConsumerGroup(ctx, "exampleConsumerGroup", &iot.ConsumerGroupArgs{ IothubName: exampleIoTHub.Name, EventhubEndpointName: pulumi.String("events"), ResourceGroupName: exampleResourceGroup.Name, }) if err != nil { return err } storage, err := storage.NewAccount(ctx, "storage", &storage.AccountArgs{ Location: exampleResourceGroup.Location, ResourceGroupName: exampleResourceGroup.Name, AccountTier: pulumi.String("Standard"), AccountReplicationType: pulumi.String("LRS"), }) if err != nil { return err } exampleTimeSeriesInsightsGen2Environment, err := iot.NewTimeSeriesInsightsGen2Environment(ctx, "exampleTimeSeriesInsightsGen2Environment", &iot.TimeSeriesInsightsGen2EnvironmentArgs{ Location: exampleResourceGroup.Location, ResourceGroupName: exampleResourceGroup.Name, SkuName: pulumi.String("L1"), IdProperties: pulumi.StringArray{ pulumi.String("id"), }, Storage: &iot.TimeSeriesInsightsGen2EnvironmentStorageArgs{ Name: storage.Name, Key: storage.PrimaryAccessKey, }, }) if err != nil { return err } _, err = iot.NewTimeSeriesInsightsEventSourceIothub(ctx, "exampleTimeSeriesInsightsEventSourceIothub", &iot.TimeSeriesInsightsEventSourceIothubArgs{ Location: exampleResourceGroup.Location, EnvironmentId: exampleTimeSeriesInsightsGen2Environment.ID(), IothubName: exampleIoTHub.Name, SharedAccessKey: exampleIoTHub.SharedAccessPolicies.ApplyT(func(sharedAccessPolicies []iot.IoTHubSharedAccessPolicy) (string, error) { return sharedAccessPolicies[0].PrimaryKey, nil }).(pulumi.StringOutput), SharedAccessKeyName: exampleIoTHub.SharedAccessPolicies.ApplyT(func(sharedAccessPolicies []iot.IoTHubSharedAccessPolicy) (string, error) { return sharedAccessPolicies[0].KeyName, nil }).(pulumi.StringOutput), ConsumerGroupName: exampleConsumerGroup.Name, EventSourceResourceId: exampleIoTHub.ID(), }) if err != nil { return err } return nil }) }
```
## Import
Azure IoT Time Series Insights IoTHub Event Source can be imported using the `resource id`, e.g.
```sh
$ pulumi import azure:iot/timeSeriesInsightsEventSourceIothub:TimeSeriesInsightsEventSourceIothub example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/example/providers/Microsoft.TimeSeriesInsights/environments/environment1/eventSources/example
```
func GetTimeSeriesInsightsEventSourceIothub ¶ added in v4.2.0
func GetTimeSeriesInsightsEventSourceIothub(ctx *pulumi.Context, name string, id pulumi.IDInput, state *TimeSeriesInsightsEventSourceIothubState, opts ...pulumi.ResourceOption) (*TimeSeriesInsightsEventSourceIothub, error)
GetTimeSeriesInsightsEventSourceIothub gets an existing TimeSeriesInsightsEventSourceIothub 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 NewTimeSeriesInsightsEventSourceIothub ¶ added in v4.2.0
func NewTimeSeriesInsightsEventSourceIothub(ctx *pulumi.Context, name string, args *TimeSeriesInsightsEventSourceIothubArgs, opts ...pulumi.ResourceOption) (*TimeSeriesInsightsEventSourceIothub, error)
NewTimeSeriesInsightsEventSourceIothub registers a new resource with the given unique name, arguments, and options.
func (*TimeSeriesInsightsEventSourceIothub) ElementType ¶ added in v4.2.0
func (*TimeSeriesInsightsEventSourceIothub) ElementType() reflect.Type
func (*TimeSeriesInsightsEventSourceIothub) ToTimeSeriesInsightsEventSourceIothubOutput ¶ added in v4.2.0
func (i *TimeSeriesInsightsEventSourceIothub) ToTimeSeriesInsightsEventSourceIothubOutput() TimeSeriesInsightsEventSourceIothubOutput
func (*TimeSeriesInsightsEventSourceIothub) ToTimeSeriesInsightsEventSourceIothubOutputWithContext ¶ added in v4.2.0
func (i *TimeSeriesInsightsEventSourceIothub) ToTimeSeriesInsightsEventSourceIothubOutputWithContext(ctx context.Context) TimeSeriesInsightsEventSourceIothubOutput
func (*TimeSeriesInsightsEventSourceIothub) ToTimeSeriesInsightsEventSourceIothubPtrOutput ¶ added in v4.2.0
func (i *TimeSeriesInsightsEventSourceIothub) ToTimeSeriesInsightsEventSourceIothubPtrOutput() TimeSeriesInsightsEventSourceIothubPtrOutput
func (*TimeSeriesInsightsEventSourceIothub) ToTimeSeriesInsightsEventSourceIothubPtrOutputWithContext ¶ added in v4.2.0
func (i *TimeSeriesInsightsEventSourceIothub) ToTimeSeriesInsightsEventSourceIothubPtrOutputWithContext(ctx context.Context) TimeSeriesInsightsEventSourceIothubPtrOutput
type TimeSeriesInsightsEventSourceIothubArgs ¶ added in v4.2.0
type TimeSeriesInsightsEventSourceIothubArgs struct { // Specifies the name of the IotHub Consumer Group that holds the partitions from which events will be read. ConsumerGroupName pulumi.StringInput // Specifies the id of the IoT Time Series Insights Environment that the Event Source should be associated with. Changing this forces a new resource to created. EnvironmentId pulumi.StringInput // Specifies the resource id where events will be coming from. EventSourceResourceId pulumi.StringInput // Specifies the name of the IotHub which will be associated with this resource. IothubName pulumi.StringInput // Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created. Location pulumi.StringPtrInput // Specifies the name of the Azure IoT Time Series Insights IoTHub Event Source. Changing this forces a new resource to be created. Must be globally unique. Name pulumi.StringPtrInput SharedAccessKey pulumi.StringInput SharedAccessKeyName pulumi.StringInput // A mapping of tags to assign to the resource. Tags pulumi.StringMapInput // Specifies the value that will be used as the event source's timestamp. This value defaults to the event creation time. TimestampPropertyName pulumi.StringPtrInput }
The set of arguments for constructing a TimeSeriesInsightsEventSourceIothub resource.
func (TimeSeriesInsightsEventSourceIothubArgs) ElementType ¶ added in v4.2.0
func (TimeSeriesInsightsEventSourceIothubArgs) ElementType() reflect.Type
type TimeSeriesInsightsEventSourceIothubArray ¶ added in v4.2.0
type TimeSeriesInsightsEventSourceIothubArray []TimeSeriesInsightsEventSourceIothubInput
func (TimeSeriesInsightsEventSourceIothubArray) ElementType ¶ added in v4.2.0
func (TimeSeriesInsightsEventSourceIothubArray) ElementType() reflect.Type
func (TimeSeriesInsightsEventSourceIothubArray) ToTimeSeriesInsightsEventSourceIothubArrayOutput ¶ added in v4.2.0
func (i TimeSeriesInsightsEventSourceIothubArray) ToTimeSeriesInsightsEventSourceIothubArrayOutput() TimeSeriesInsightsEventSourceIothubArrayOutput
func (TimeSeriesInsightsEventSourceIothubArray) ToTimeSeriesInsightsEventSourceIothubArrayOutputWithContext ¶ added in v4.2.0
func (i TimeSeriesInsightsEventSourceIothubArray) ToTimeSeriesInsightsEventSourceIothubArrayOutputWithContext(ctx context.Context) TimeSeriesInsightsEventSourceIothubArrayOutput
type TimeSeriesInsightsEventSourceIothubArrayInput ¶ added in v4.2.0
type TimeSeriesInsightsEventSourceIothubArrayInput interface { pulumi.Input ToTimeSeriesInsightsEventSourceIothubArrayOutput() TimeSeriesInsightsEventSourceIothubArrayOutput ToTimeSeriesInsightsEventSourceIothubArrayOutputWithContext(context.Context) TimeSeriesInsightsEventSourceIothubArrayOutput }
TimeSeriesInsightsEventSourceIothubArrayInput is an input type that accepts TimeSeriesInsightsEventSourceIothubArray and TimeSeriesInsightsEventSourceIothubArrayOutput values. You can construct a concrete instance of `TimeSeriesInsightsEventSourceIothubArrayInput` via:
TimeSeriesInsightsEventSourceIothubArray{ TimeSeriesInsightsEventSourceIothubArgs{...} }
type TimeSeriesInsightsEventSourceIothubArrayOutput ¶ added in v4.2.0
type TimeSeriesInsightsEventSourceIothubArrayOutput struct{ *pulumi.OutputState }
func (TimeSeriesInsightsEventSourceIothubArrayOutput) ElementType ¶ added in v4.2.0
func (TimeSeriesInsightsEventSourceIothubArrayOutput) ElementType() reflect.Type
func (TimeSeriesInsightsEventSourceIothubArrayOutput) ToTimeSeriesInsightsEventSourceIothubArrayOutput ¶ added in v4.2.0
func (o TimeSeriesInsightsEventSourceIothubArrayOutput) ToTimeSeriesInsightsEventSourceIothubArrayOutput() TimeSeriesInsightsEventSourceIothubArrayOutput
func (TimeSeriesInsightsEventSourceIothubArrayOutput) ToTimeSeriesInsightsEventSourceIothubArrayOutputWithContext ¶ added in v4.2.0
func (o TimeSeriesInsightsEventSourceIothubArrayOutput) ToTimeSeriesInsightsEventSourceIothubArrayOutputWithContext(ctx context.Context) TimeSeriesInsightsEventSourceIothubArrayOutput
type TimeSeriesInsightsEventSourceIothubInput ¶ added in v4.2.0
type TimeSeriesInsightsEventSourceIothubInput interface { pulumi.Input ToTimeSeriesInsightsEventSourceIothubOutput() TimeSeriesInsightsEventSourceIothubOutput ToTimeSeriesInsightsEventSourceIothubOutputWithContext(ctx context.Context) TimeSeriesInsightsEventSourceIothubOutput }
type TimeSeriesInsightsEventSourceIothubMap ¶ added in v4.2.0
type TimeSeriesInsightsEventSourceIothubMap map[string]TimeSeriesInsightsEventSourceIothubInput
func (TimeSeriesInsightsEventSourceIothubMap) ElementType ¶ added in v4.2.0
func (TimeSeriesInsightsEventSourceIothubMap) ElementType() reflect.Type
func (TimeSeriesInsightsEventSourceIothubMap) ToTimeSeriesInsightsEventSourceIothubMapOutput ¶ added in v4.2.0
func (i TimeSeriesInsightsEventSourceIothubMap) ToTimeSeriesInsightsEventSourceIothubMapOutput() TimeSeriesInsightsEventSourceIothubMapOutput
func (TimeSeriesInsightsEventSourceIothubMap) ToTimeSeriesInsightsEventSourceIothubMapOutputWithContext ¶ added in v4.2.0
func (i TimeSeriesInsightsEventSourceIothubMap) ToTimeSeriesInsightsEventSourceIothubMapOutputWithContext(ctx context.Context) TimeSeriesInsightsEventSourceIothubMapOutput
type TimeSeriesInsightsEventSourceIothubMapInput ¶ added in v4.2.0
type TimeSeriesInsightsEventSourceIothubMapInput interface { pulumi.Input ToTimeSeriesInsightsEventSourceIothubMapOutput() TimeSeriesInsightsEventSourceIothubMapOutput ToTimeSeriesInsightsEventSourceIothubMapOutputWithContext(context.Context) TimeSeriesInsightsEventSourceIothubMapOutput }
TimeSeriesInsightsEventSourceIothubMapInput is an input type that accepts TimeSeriesInsightsEventSourceIothubMap and TimeSeriesInsightsEventSourceIothubMapOutput values. You can construct a concrete instance of `TimeSeriesInsightsEventSourceIothubMapInput` via:
TimeSeriesInsightsEventSourceIothubMap{ "key": TimeSeriesInsightsEventSourceIothubArgs{...} }
type TimeSeriesInsightsEventSourceIothubMapOutput ¶ added in v4.2.0
type TimeSeriesInsightsEventSourceIothubMapOutput struct{ *pulumi.OutputState }
func (TimeSeriesInsightsEventSourceIothubMapOutput) ElementType ¶ added in v4.2.0
func (TimeSeriesInsightsEventSourceIothubMapOutput) ElementType() reflect.Type
func (TimeSeriesInsightsEventSourceIothubMapOutput) ToTimeSeriesInsightsEventSourceIothubMapOutput ¶ added in v4.2.0
func (o TimeSeriesInsightsEventSourceIothubMapOutput) ToTimeSeriesInsightsEventSourceIothubMapOutput() TimeSeriesInsightsEventSourceIothubMapOutput
func (TimeSeriesInsightsEventSourceIothubMapOutput) ToTimeSeriesInsightsEventSourceIothubMapOutputWithContext ¶ added in v4.2.0
func (o TimeSeriesInsightsEventSourceIothubMapOutput) ToTimeSeriesInsightsEventSourceIothubMapOutputWithContext(ctx context.Context) TimeSeriesInsightsEventSourceIothubMapOutput
type TimeSeriesInsightsEventSourceIothubOutput ¶ added in v4.2.0
type TimeSeriesInsightsEventSourceIothubOutput struct {
*pulumi.OutputState
}
func (TimeSeriesInsightsEventSourceIothubOutput) ElementType ¶ added in v4.2.0
func (TimeSeriesInsightsEventSourceIothubOutput) ElementType() reflect.Type
func (TimeSeriesInsightsEventSourceIothubOutput) ToTimeSeriesInsightsEventSourceIothubOutput ¶ added in v4.2.0
func (o TimeSeriesInsightsEventSourceIothubOutput) ToTimeSeriesInsightsEventSourceIothubOutput() TimeSeriesInsightsEventSourceIothubOutput
func (TimeSeriesInsightsEventSourceIothubOutput) ToTimeSeriesInsightsEventSourceIothubOutputWithContext ¶ added in v4.2.0
func (o TimeSeriesInsightsEventSourceIothubOutput) ToTimeSeriesInsightsEventSourceIothubOutputWithContext(ctx context.Context) TimeSeriesInsightsEventSourceIothubOutput
func (TimeSeriesInsightsEventSourceIothubOutput) ToTimeSeriesInsightsEventSourceIothubPtrOutput ¶ added in v4.2.0
func (o TimeSeriesInsightsEventSourceIothubOutput) ToTimeSeriesInsightsEventSourceIothubPtrOutput() TimeSeriesInsightsEventSourceIothubPtrOutput
func (TimeSeriesInsightsEventSourceIothubOutput) ToTimeSeriesInsightsEventSourceIothubPtrOutputWithContext ¶ added in v4.2.0
func (o TimeSeriesInsightsEventSourceIothubOutput) ToTimeSeriesInsightsEventSourceIothubPtrOutputWithContext(ctx context.Context) TimeSeriesInsightsEventSourceIothubPtrOutput
type TimeSeriesInsightsEventSourceIothubPtrInput ¶ added in v4.2.0
type TimeSeriesInsightsEventSourceIothubPtrInput interface { pulumi.Input ToTimeSeriesInsightsEventSourceIothubPtrOutput() TimeSeriesInsightsEventSourceIothubPtrOutput ToTimeSeriesInsightsEventSourceIothubPtrOutputWithContext(ctx context.Context) TimeSeriesInsightsEventSourceIothubPtrOutput }
type TimeSeriesInsightsEventSourceIothubPtrOutput ¶ added in v4.2.0
type TimeSeriesInsightsEventSourceIothubPtrOutput struct {
*pulumi.OutputState
}
func (TimeSeriesInsightsEventSourceIothubPtrOutput) ElementType ¶ added in v4.2.0
func (TimeSeriesInsightsEventSourceIothubPtrOutput) ElementType() reflect.Type
func (TimeSeriesInsightsEventSourceIothubPtrOutput) ToTimeSeriesInsightsEventSourceIothubPtrOutput ¶ added in v4.2.0
func (o TimeSeriesInsightsEventSourceIothubPtrOutput) ToTimeSeriesInsightsEventSourceIothubPtrOutput() TimeSeriesInsightsEventSourceIothubPtrOutput
func (TimeSeriesInsightsEventSourceIothubPtrOutput) ToTimeSeriesInsightsEventSourceIothubPtrOutputWithContext ¶ added in v4.2.0
func (o TimeSeriesInsightsEventSourceIothubPtrOutput) ToTimeSeriesInsightsEventSourceIothubPtrOutputWithContext(ctx context.Context) TimeSeriesInsightsEventSourceIothubPtrOutput
type TimeSeriesInsightsEventSourceIothubState ¶ added in v4.2.0
type TimeSeriesInsightsEventSourceIothubState struct { // Specifies the name of the IotHub Consumer Group that holds the partitions from which events will be read. ConsumerGroupName pulumi.StringPtrInput // Specifies the id of the IoT Time Series Insights Environment that the Event Source should be associated with. Changing this forces a new resource to created. EnvironmentId pulumi.StringPtrInput // Specifies the resource id where events will be coming from. EventSourceResourceId pulumi.StringPtrInput // Specifies the name of the IotHub which will be associated with this resource. IothubName pulumi.StringPtrInput // Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created. Location pulumi.StringPtrInput // Specifies the name of the Azure IoT Time Series Insights IoTHub Event Source. Changing this forces a new resource to be created. Must be globally unique. Name pulumi.StringPtrInput SharedAccessKey pulumi.StringPtrInput SharedAccessKeyName pulumi.StringPtrInput // A mapping of tags to assign to the resource. Tags pulumi.StringMapInput // Specifies the value that will be used as the event source's timestamp. This value defaults to the event creation time. TimestampPropertyName pulumi.StringPtrInput }
func (TimeSeriesInsightsEventSourceIothubState) ElementType ¶ added in v4.2.0
func (TimeSeriesInsightsEventSourceIothubState) ElementType() reflect.Type
type TimeSeriesInsightsGen2Environment ¶
type TimeSeriesInsightsGen2Environment struct { pulumi.CustomResourceState // The FQDN used to access the environment data. DataAccessFqdn pulumi.StringOutput `pulumi:"dataAccessFqdn"` // A list of property ids for the Azure IoT Time Series Insights Gen2 Environment IdProperties pulumi.StringArrayOutput `pulumi:"idProperties"` // Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created. Location pulumi.StringOutput `pulumi:"location"` // Specifies the name of the Azure IoT Time Series Insights Gen2 Environment. Changing this forces a new resource to be created. Must be globally unique. Name pulumi.StringOutput `pulumi:"name"` // The name of the resource group in which to create the Azure IoT Time Series Insights Gen2 Environment. ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"` // Specifies the SKU Name for this IoT Time Series Insights Gen2 Environment. Currently it supports only `L1`. For gen2, capacity cannot be specified. SkuName pulumi.StringOutput `pulumi:"skuName"` // A `storage` block as defined below. Storage TimeSeriesInsightsGen2EnvironmentStorageOutput `pulumi:"storage"` // A mapping of tags to assign to the resource. Tags pulumi.StringMapOutput `pulumi:"tags"` // Specifies the ISO8601 timespan specifying the minimum number of days the environment's events will be available for query. Changing this forces a new resource to be created. WarmStoreDataRetentionTime pulumi.StringPtrOutput `pulumi:"warmStoreDataRetentionTime"` }
Manages an Azure IoT Time Series Insights Gen2 Environment.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/core" "github.com/pulumi/pulumi-azure/sdk/v4/go/azure/iot" "github.com/pulumi/pulumi-azure/sdk/v4/go/azure/storage" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{ Location: pulumi.String("West Europe"), }) if err != nil { return err } storage, err := storage.NewAccount(ctx, "storage", &storage.AccountArgs{ Location: exampleResourceGroup.Location, ResourceGroupName: exampleResourceGroup.Name, AccountTier: pulumi.String("Standard"), AccountReplicationType: pulumi.String("LRS"), }) if err != nil { return err } _, err = iot.NewTimeSeriesInsightsGen2Environment(ctx, "exampleTimeSeriesInsightsGen2Environment", &iot.TimeSeriesInsightsGen2EnvironmentArgs{ Location: exampleResourceGroup.Location, ResourceGroupName: exampleResourceGroup.Name, SkuName: pulumi.String("L1"), WarmStoreDataRetentionTime: pulumi.String("P30D"), IdProperties: pulumi.StringArray{ pulumi.String("id"), }, Storage: &iot.TimeSeriesInsightsGen2EnvironmentStorageArgs{ Name: storage.Name, Key: storage.PrimaryAccessKey, }, }) if err != nil { return err } return nil }) }
```
## Import
Azure IoT Time Series Insights Gen2 Environment can be imported using the `resource id`, e.g.
```sh
$ pulumi import azure:iot/timeSeriesInsightsGen2Environment:TimeSeriesInsightsGen2Environment example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/example/providers/Microsoft.TimeSeriesInsights/environments/example
```
func GetTimeSeriesInsightsGen2Environment ¶
func GetTimeSeriesInsightsGen2Environment(ctx *pulumi.Context, name string, id pulumi.IDInput, state *TimeSeriesInsightsGen2EnvironmentState, opts ...pulumi.ResourceOption) (*TimeSeriesInsightsGen2Environment, error)
GetTimeSeriesInsightsGen2Environment gets an existing TimeSeriesInsightsGen2Environment 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 NewTimeSeriesInsightsGen2Environment ¶
func NewTimeSeriesInsightsGen2Environment(ctx *pulumi.Context, name string, args *TimeSeriesInsightsGen2EnvironmentArgs, opts ...pulumi.ResourceOption) (*TimeSeriesInsightsGen2Environment, error)
NewTimeSeriesInsightsGen2Environment registers a new resource with the given unique name, arguments, and options.
func (*TimeSeriesInsightsGen2Environment) ElementType ¶
func (*TimeSeriesInsightsGen2Environment) ElementType() reflect.Type
func (*TimeSeriesInsightsGen2Environment) ToTimeSeriesInsightsGen2EnvironmentOutput ¶
func (i *TimeSeriesInsightsGen2Environment) ToTimeSeriesInsightsGen2EnvironmentOutput() TimeSeriesInsightsGen2EnvironmentOutput
func (*TimeSeriesInsightsGen2Environment) ToTimeSeriesInsightsGen2EnvironmentOutputWithContext ¶
func (i *TimeSeriesInsightsGen2Environment) ToTimeSeriesInsightsGen2EnvironmentOutputWithContext(ctx context.Context) TimeSeriesInsightsGen2EnvironmentOutput
func (*TimeSeriesInsightsGen2Environment) ToTimeSeriesInsightsGen2EnvironmentPtrOutput ¶
func (i *TimeSeriesInsightsGen2Environment) ToTimeSeriesInsightsGen2EnvironmentPtrOutput() TimeSeriesInsightsGen2EnvironmentPtrOutput
func (*TimeSeriesInsightsGen2Environment) ToTimeSeriesInsightsGen2EnvironmentPtrOutputWithContext ¶
func (i *TimeSeriesInsightsGen2Environment) ToTimeSeriesInsightsGen2EnvironmentPtrOutputWithContext(ctx context.Context) TimeSeriesInsightsGen2EnvironmentPtrOutput
type TimeSeriesInsightsGen2EnvironmentArgs ¶
type TimeSeriesInsightsGen2EnvironmentArgs struct { // A list of property ids for the Azure IoT Time Series Insights Gen2 Environment IdProperties pulumi.StringArrayInput // Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created. Location pulumi.StringPtrInput // Specifies the name of the Azure IoT Time Series Insights Gen2 Environment. Changing this forces a new resource to be created. Must be globally unique. Name pulumi.StringPtrInput // The name of the resource group in which to create the Azure IoT Time Series Insights Gen2 Environment. ResourceGroupName pulumi.StringInput // Specifies the SKU Name for this IoT Time Series Insights Gen2 Environment. Currently it supports only `L1`. For gen2, capacity cannot be specified. SkuName pulumi.StringInput // A `storage` block as defined below. Storage TimeSeriesInsightsGen2EnvironmentStorageInput // A mapping of tags to assign to the resource. Tags pulumi.StringMapInput // Specifies the ISO8601 timespan specifying the minimum number of days the environment's events will be available for query. Changing this forces a new resource to be created. WarmStoreDataRetentionTime pulumi.StringPtrInput }
The set of arguments for constructing a TimeSeriesInsightsGen2Environment resource.
func (TimeSeriesInsightsGen2EnvironmentArgs) ElementType ¶
func (TimeSeriesInsightsGen2EnvironmentArgs) ElementType() reflect.Type
type TimeSeriesInsightsGen2EnvironmentArray ¶
type TimeSeriesInsightsGen2EnvironmentArray []TimeSeriesInsightsGen2EnvironmentInput
func (TimeSeriesInsightsGen2EnvironmentArray) ElementType ¶
func (TimeSeriesInsightsGen2EnvironmentArray) ElementType() reflect.Type
func (TimeSeriesInsightsGen2EnvironmentArray) ToTimeSeriesInsightsGen2EnvironmentArrayOutput ¶
func (i TimeSeriesInsightsGen2EnvironmentArray) ToTimeSeriesInsightsGen2EnvironmentArrayOutput() TimeSeriesInsightsGen2EnvironmentArrayOutput
func (TimeSeriesInsightsGen2EnvironmentArray) ToTimeSeriesInsightsGen2EnvironmentArrayOutputWithContext ¶
func (i TimeSeriesInsightsGen2EnvironmentArray) ToTimeSeriesInsightsGen2EnvironmentArrayOutputWithContext(ctx context.Context) TimeSeriesInsightsGen2EnvironmentArrayOutput
type TimeSeriesInsightsGen2EnvironmentArrayInput ¶
type TimeSeriesInsightsGen2EnvironmentArrayInput interface { pulumi.Input ToTimeSeriesInsightsGen2EnvironmentArrayOutput() TimeSeriesInsightsGen2EnvironmentArrayOutput ToTimeSeriesInsightsGen2EnvironmentArrayOutputWithContext(context.Context) TimeSeriesInsightsGen2EnvironmentArrayOutput }
TimeSeriesInsightsGen2EnvironmentArrayInput is an input type that accepts TimeSeriesInsightsGen2EnvironmentArray and TimeSeriesInsightsGen2EnvironmentArrayOutput values. You can construct a concrete instance of `TimeSeriesInsightsGen2EnvironmentArrayInput` via:
TimeSeriesInsightsGen2EnvironmentArray{ TimeSeriesInsightsGen2EnvironmentArgs{...} }
type TimeSeriesInsightsGen2EnvironmentArrayOutput ¶
type TimeSeriesInsightsGen2EnvironmentArrayOutput struct{ *pulumi.OutputState }
func (TimeSeriesInsightsGen2EnvironmentArrayOutput) ElementType ¶
func (TimeSeriesInsightsGen2EnvironmentArrayOutput) ElementType() reflect.Type
func (TimeSeriesInsightsGen2EnvironmentArrayOutput) ToTimeSeriesInsightsGen2EnvironmentArrayOutput ¶
func (o TimeSeriesInsightsGen2EnvironmentArrayOutput) ToTimeSeriesInsightsGen2EnvironmentArrayOutput() TimeSeriesInsightsGen2EnvironmentArrayOutput
func (TimeSeriesInsightsGen2EnvironmentArrayOutput) ToTimeSeriesInsightsGen2EnvironmentArrayOutputWithContext ¶
func (o TimeSeriesInsightsGen2EnvironmentArrayOutput) ToTimeSeriesInsightsGen2EnvironmentArrayOutputWithContext(ctx context.Context) TimeSeriesInsightsGen2EnvironmentArrayOutput
type TimeSeriesInsightsGen2EnvironmentInput ¶
type TimeSeriesInsightsGen2EnvironmentInput interface { pulumi.Input ToTimeSeriesInsightsGen2EnvironmentOutput() TimeSeriesInsightsGen2EnvironmentOutput ToTimeSeriesInsightsGen2EnvironmentOutputWithContext(ctx context.Context) TimeSeriesInsightsGen2EnvironmentOutput }
type TimeSeriesInsightsGen2EnvironmentMap ¶
type TimeSeriesInsightsGen2EnvironmentMap map[string]TimeSeriesInsightsGen2EnvironmentInput
func (TimeSeriesInsightsGen2EnvironmentMap) ElementType ¶
func (TimeSeriesInsightsGen2EnvironmentMap) ElementType() reflect.Type
func (TimeSeriesInsightsGen2EnvironmentMap) ToTimeSeriesInsightsGen2EnvironmentMapOutput ¶
func (i TimeSeriesInsightsGen2EnvironmentMap) ToTimeSeriesInsightsGen2EnvironmentMapOutput() TimeSeriesInsightsGen2EnvironmentMapOutput
func (TimeSeriesInsightsGen2EnvironmentMap) ToTimeSeriesInsightsGen2EnvironmentMapOutputWithContext ¶
func (i TimeSeriesInsightsGen2EnvironmentMap) ToTimeSeriesInsightsGen2EnvironmentMapOutputWithContext(ctx context.Context) TimeSeriesInsightsGen2EnvironmentMapOutput
type TimeSeriesInsightsGen2EnvironmentMapInput ¶
type TimeSeriesInsightsGen2EnvironmentMapInput interface { pulumi.Input ToTimeSeriesInsightsGen2EnvironmentMapOutput() TimeSeriesInsightsGen2EnvironmentMapOutput ToTimeSeriesInsightsGen2EnvironmentMapOutputWithContext(context.Context) TimeSeriesInsightsGen2EnvironmentMapOutput }
TimeSeriesInsightsGen2EnvironmentMapInput is an input type that accepts TimeSeriesInsightsGen2EnvironmentMap and TimeSeriesInsightsGen2EnvironmentMapOutput values. You can construct a concrete instance of `TimeSeriesInsightsGen2EnvironmentMapInput` via:
TimeSeriesInsightsGen2EnvironmentMap{ "key": TimeSeriesInsightsGen2EnvironmentArgs{...} }
type TimeSeriesInsightsGen2EnvironmentMapOutput ¶
type TimeSeriesInsightsGen2EnvironmentMapOutput struct{ *pulumi.OutputState }
func (TimeSeriesInsightsGen2EnvironmentMapOutput) ElementType ¶
func (TimeSeriesInsightsGen2EnvironmentMapOutput) ElementType() reflect.Type
func (TimeSeriesInsightsGen2EnvironmentMapOutput) ToTimeSeriesInsightsGen2EnvironmentMapOutput ¶
func (o TimeSeriesInsightsGen2EnvironmentMapOutput) ToTimeSeriesInsightsGen2EnvironmentMapOutput() TimeSeriesInsightsGen2EnvironmentMapOutput
func (TimeSeriesInsightsGen2EnvironmentMapOutput) ToTimeSeriesInsightsGen2EnvironmentMapOutputWithContext ¶
func (o TimeSeriesInsightsGen2EnvironmentMapOutput) ToTimeSeriesInsightsGen2EnvironmentMapOutputWithContext(ctx context.Context) TimeSeriesInsightsGen2EnvironmentMapOutput
type TimeSeriesInsightsGen2EnvironmentOutput ¶
type TimeSeriesInsightsGen2EnvironmentOutput struct {
*pulumi.OutputState
}
func (TimeSeriesInsightsGen2EnvironmentOutput) ElementType ¶
func (TimeSeriesInsightsGen2EnvironmentOutput) ElementType() reflect.Type
func (TimeSeriesInsightsGen2EnvironmentOutput) ToTimeSeriesInsightsGen2EnvironmentOutput ¶
func (o TimeSeriesInsightsGen2EnvironmentOutput) ToTimeSeriesInsightsGen2EnvironmentOutput() TimeSeriesInsightsGen2EnvironmentOutput
func (TimeSeriesInsightsGen2EnvironmentOutput) ToTimeSeriesInsightsGen2EnvironmentOutputWithContext ¶
func (o TimeSeriesInsightsGen2EnvironmentOutput) ToTimeSeriesInsightsGen2EnvironmentOutputWithContext(ctx context.Context) TimeSeriesInsightsGen2EnvironmentOutput
func (TimeSeriesInsightsGen2EnvironmentOutput) ToTimeSeriesInsightsGen2EnvironmentPtrOutput ¶
func (o TimeSeriesInsightsGen2EnvironmentOutput) ToTimeSeriesInsightsGen2EnvironmentPtrOutput() TimeSeriesInsightsGen2EnvironmentPtrOutput
func (TimeSeriesInsightsGen2EnvironmentOutput) ToTimeSeriesInsightsGen2EnvironmentPtrOutputWithContext ¶
func (o TimeSeriesInsightsGen2EnvironmentOutput) ToTimeSeriesInsightsGen2EnvironmentPtrOutputWithContext(ctx context.Context) TimeSeriesInsightsGen2EnvironmentPtrOutput
type TimeSeriesInsightsGen2EnvironmentPtrInput ¶
type TimeSeriesInsightsGen2EnvironmentPtrInput interface { pulumi.Input ToTimeSeriesInsightsGen2EnvironmentPtrOutput() TimeSeriesInsightsGen2EnvironmentPtrOutput ToTimeSeriesInsightsGen2EnvironmentPtrOutputWithContext(ctx context.Context) TimeSeriesInsightsGen2EnvironmentPtrOutput }
type TimeSeriesInsightsGen2EnvironmentPtrOutput ¶
type TimeSeriesInsightsGen2EnvironmentPtrOutput struct {
*pulumi.OutputState
}
func (TimeSeriesInsightsGen2EnvironmentPtrOutput) ElementType ¶
func (TimeSeriesInsightsGen2EnvironmentPtrOutput) ElementType() reflect.Type
func (TimeSeriesInsightsGen2EnvironmentPtrOutput) ToTimeSeriesInsightsGen2EnvironmentPtrOutput ¶
func (o TimeSeriesInsightsGen2EnvironmentPtrOutput) ToTimeSeriesInsightsGen2EnvironmentPtrOutput() TimeSeriesInsightsGen2EnvironmentPtrOutput
func (TimeSeriesInsightsGen2EnvironmentPtrOutput) ToTimeSeriesInsightsGen2EnvironmentPtrOutputWithContext ¶
func (o TimeSeriesInsightsGen2EnvironmentPtrOutput) ToTimeSeriesInsightsGen2EnvironmentPtrOutputWithContext(ctx context.Context) TimeSeriesInsightsGen2EnvironmentPtrOutput
type TimeSeriesInsightsGen2EnvironmentState ¶
type TimeSeriesInsightsGen2EnvironmentState struct { // The FQDN used to access the environment data. DataAccessFqdn pulumi.StringPtrInput // A list of property ids for the Azure IoT Time Series Insights Gen2 Environment IdProperties pulumi.StringArrayInput // Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created. Location pulumi.StringPtrInput // Specifies the name of the Azure IoT Time Series Insights Gen2 Environment. Changing this forces a new resource to be created. Must be globally unique. Name pulumi.StringPtrInput // The name of the resource group in which to create the Azure IoT Time Series Insights Gen2 Environment. ResourceGroupName pulumi.StringPtrInput // Specifies the SKU Name for this IoT Time Series Insights Gen2 Environment. Currently it supports only `L1`. For gen2, capacity cannot be specified. SkuName pulumi.StringPtrInput // A `storage` block as defined below. Storage TimeSeriesInsightsGen2EnvironmentStoragePtrInput // A mapping of tags to assign to the resource. Tags pulumi.StringMapInput // Specifies the ISO8601 timespan specifying the minimum number of days the environment's events will be available for query. Changing this forces a new resource to be created. WarmStoreDataRetentionTime pulumi.StringPtrInput }
func (TimeSeriesInsightsGen2EnvironmentState) ElementType ¶
func (TimeSeriesInsightsGen2EnvironmentState) ElementType() reflect.Type
type TimeSeriesInsightsGen2EnvironmentStorageArgs ¶
type TimeSeriesInsightsGen2EnvironmentStorageArgs struct { // Access key of storage account for Azure IoT Time Series Insights Gen2 Environment Key pulumi.StringInput `pulumi:"key"` // Name of storage account for Azure IoT Time Series Insights Gen2 Environment Name pulumi.StringInput `pulumi:"name"` }
func (TimeSeriesInsightsGen2EnvironmentStorageArgs) ElementType ¶
func (TimeSeriesInsightsGen2EnvironmentStorageArgs) ElementType() reflect.Type
func (TimeSeriesInsightsGen2EnvironmentStorageArgs) ToTimeSeriesInsightsGen2EnvironmentStorageOutput ¶
func (i TimeSeriesInsightsGen2EnvironmentStorageArgs) ToTimeSeriesInsightsGen2EnvironmentStorageOutput() TimeSeriesInsightsGen2EnvironmentStorageOutput
func (TimeSeriesInsightsGen2EnvironmentStorageArgs) ToTimeSeriesInsightsGen2EnvironmentStorageOutputWithContext ¶
func (i TimeSeriesInsightsGen2EnvironmentStorageArgs) ToTimeSeriesInsightsGen2EnvironmentStorageOutputWithContext(ctx context.Context) TimeSeriesInsightsGen2EnvironmentStorageOutput
func (TimeSeriesInsightsGen2EnvironmentStorageArgs) ToTimeSeriesInsightsGen2EnvironmentStoragePtrOutput ¶
func (i TimeSeriesInsightsGen2EnvironmentStorageArgs) ToTimeSeriesInsightsGen2EnvironmentStoragePtrOutput() TimeSeriesInsightsGen2EnvironmentStoragePtrOutput
func (TimeSeriesInsightsGen2EnvironmentStorageArgs) ToTimeSeriesInsightsGen2EnvironmentStoragePtrOutputWithContext ¶
func (i TimeSeriesInsightsGen2EnvironmentStorageArgs) ToTimeSeriesInsightsGen2EnvironmentStoragePtrOutputWithContext(ctx context.Context) TimeSeriesInsightsGen2EnvironmentStoragePtrOutput
type TimeSeriesInsightsGen2EnvironmentStorageInput ¶
type TimeSeriesInsightsGen2EnvironmentStorageInput interface { pulumi.Input ToTimeSeriesInsightsGen2EnvironmentStorageOutput() TimeSeriesInsightsGen2EnvironmentStorageOutput ToTimeSeriesInsightsGen2EnvironmentStorageOutputWithContext(context.Context) TimeSeriesInsightsGen2EnvironmentStorageOutput }
TimeSeriesInsightsGen2EnvironmentStorageInput is an input type that accepts TimeSeriesInsightsGen2EnvironmentStorageArgs and TimeSeriesInsightsGen2EnvironmentStorageOutput values. You can construct a concrete instance of `TimeSeriesInsightsGen2EnvironmentStorageInput` via:
TimeSeriesInsightsGen2EnvironmentStorageArgs{...}
type TimeSeriesInsightsGen2EnvironmentStorageOutput ¶
type TimeSeriesInsightsGen2EnvironmentStorageOutput struct{ *pulumi.OutputState }
func (TimeSeriesInsightsGen2EnvironmentStorageOutput) ElementType ¶
func (TimeSeriesInsightsGen2EnvironmentStorageOutput) ElementType() reflect.Type
func (TimeSeriesInsightsGen2EnvironmentStorageOutput) Key ¶
func (o TimeSeriesInsightsGen2EnvironmentStorageOutput) Key() pulumi.StringOutput
Access key of storage account for Azure IoT Time Series Insights Gen2 Environment
func (TimeSeriesInsightsGen2EnvironmentStorageOutput) Name ¶
func (o TimeSeriesInsightsGen2EnvironmentStorageOutput) Name() pulumi.StringOutput
Name of storage account for Azure IoT Time Series Insights Gen2 Environment
func (TimeSeriesInsightsGen2EnvironmentStorageOutput) ToTimeSeriesInsightsGen2EnvironmentStorageOutput ¶
func (o TimeSeriesInsightsGen2EnvironmentStorageOutput) ToTimeSeriesInsightsGen2EnvironmentStorageOutput() TimeSeriesInsightsGen2EnvironmentStorageOutput
func (TimeSeriesInsightsGen2EnvironmentStorageOutput) ToTimeSeriesInsightsGen2EnvironmentStorageOutputWithContext ¶
func (o TimeSeriesInsightsGen2EnvironmentStorageOutput) ToTimeSeriesInsightsGen2EnvironmentStorageOutputWithContext(ctx context.Context) TimeSeriesInsightsGen2EnvironmentStorageOutput
func (TimeSeriesInsightsGen2EnvironmentStorageOutput) ToTimeSeriesInsightsGen2EnvironmentStoragePtrOutput ¶
func (o TimeSeriesInsightsGen2EnvironmentStorageOutput) ToTimeSeriesInsightsGen2EnvironmentStoragePtrOutput() TimeSeriesInsightsGen2EnvironmentStoragePtrOutput
func (TimeSeriesInsightsGen2EnvironmentStorageOutput) ToTimeSeriesInsightsGen2EnvironmentStoragePtrOutputWithContext ¶
func (o TimeSeriesInsightsGen2EnvironmentStorageOutput) ToTimeSeriesInsightsGen2EnvironmentStoragePtrOutputWithContext(ctx context.Context) TimeSeriesInsightsGen2EnvironmentStoragePtrOutput
type TimeSeriesInsightsGen2EnvironmentStoragePtrInput ¶
type TimeSeriesInsightsGen2EnvironmentStoragePtrInput interface { pulumi.Input ToTimeSeriesInsightsGen2EnvironmentStoragePtrOutput() TimeSeriesInsightsGen2EnvironmentStoragePtrOutput ToTimeSeriesInsightsGen2EnvironmentStoragePtrOutputWithContext(context.Context) TimeSeriesInsightsGen2EnvironmentStoragePtrOutput }
TimeSeriesInsightsGen2EnvironmentStoragePtrInput is an input type that accepts TimeSeriesInsightsGen2EnvironmentStorageArgs, TimeSeriesInsightsGen2EnvironmentStoragePtr and TimeSeriesInsightsGen2EnvironmentStoragePtrOutput values. You can construct a concrete instance of `TimeSeriesInsightsGen2EnvironmentStoragePtrInput` via:
TimeSeriesInsightsGen2EnvironmentStorageArgs{...} or: nil
func TimeSeriesInsightsGen2EnvironmentStoragePtr ¶
func TimeSeriesInsightsGen2EnvironmentStoragePtr(v *TimeSeriesInsightsGen2EnvironmentStorageArgs) TimeSeriesInsightsGen2EnvironmentStoragePtrInput
type TimeSeriesInsightsGen2EnvironmentStoragePtrOutput ¶
type TimeSeriesInsightsGen2EnvironmentStoragePtrOutput struct{ *pulumi.OutputState }
func (TimeSeriesInsightsGen2EnvironmentStoragePtrOutput) ElementType ¶
func (TimeSeriesInsightsGen2EnvironmentStoragePtrOutput) ElementType() reflect.Type
func (TimeSeriesInsightsGen2EnvironmentStoragePtrOutput) Key ¶
Access key of storage account for Azure IoT Time Series Insights Gen2 Environment
func (TimeSeriesInsightsGen2EnvironmentStoragePtrOutput) Name ¶
func (o TimeSeriesInsightsGen2EnvironmentStoragePtrOutput) Name() pulumi.StringPtrOutput
Name of storage account for Azure IoT Time Series Insights Gen2 Environment
func (TimeSeriesInsightsGen2EnvironmentStoragePtrOutput) ToTimeSeriesInsightsGen2EnvironmentStoragePtrOutput ¶
func (o TimeSeriesInsightsGen2EnvironmentStoragePtrOutput) ToTimeSeriesInsightsGen2EnvironmentStoragePtrOutput() TimeSeriesInsightsGen2EnvironmentStoragePtrOutput
func (TimeSeriesInsightsGen2EnvironmentStoragePtrOutput) ToTimeSeriesInsightsGen2EnvironmentStoragePtrOutputWithContext ¶
func (o TimeSeriesInsightsGen2EnvironmentStoragePtrOutput) ToTimeSeriesInsightsGen2EnvironmentStoragePtrOutputWithContext(ctx context.Context) TimeSeriesInsightsGen2EnvironmentStoragePtrOutput
type TimeSeriesInsightsReferenceDataSet ¶
type TimeSeriesInsightsReferenceDataSet struct { pulumi.CustomResourceState // The comparison behavior that will be used to compare keys. Valid values include `Ordinal` and `OrdinalIgnoreCase`. Defaults to `Ordinal`. Changing this forces a new resource to be created. DataStringComparisonBehavior pulumi.StringPtrOutput `pulumi:"dataStringComparisonBehavior"` // A `keyProperty` block as defined below. Changing this forces a new resource to be created. KeyProperties TimeSeriesInsightsReferenceDataSetKeyPropertyArrayOutput `pulumi:"keyProperties"` // Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created. Location pulumi.StringOutput `pulumi:"location"` // Specifies the name of the Azure IoT Time Series Insights Reference Data Set. Changing this forces a new resource to be created. Must be globally unique. Name pulumi.StringOutput `pulumi:"name"` // A mapping of tags to assign to the resource. Tags pulumi.StringMapOutput `pulumi:"tags"` // The resource ID of the Azure IoT Time Series Insights Environment in which to create the Azure IoT Time Series Insights Reference Data Set. Changing this forces a new resource to be created. TimeSeriesInsightsEnvironmentId pulumi.StringOutput `pulumi:"timeSeriesInsightsEnvironmentId"` }
Manages an Azure IoT Time Series Insights Reference Data Set.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/core" "github.com/pulumi/pulumi-azure/sdk/v4/go/azure/iot" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{ Location: pulumi.String("West Europe"), }) if err != nil { return err } exampleTimeSeriesInsightsStandardEnvironment, err := iot.NewTimeSeriesInsightsStandardEnvironment(ctx, "exampleTimeSeriesInsightsStandardEnvironment", &iot.TimeSeriesInsightsStandardEnvironmentArgs{ Location: exampleResourceGroup.Location, ResourceGroupName: exampleResourceGroup.Name, SkuName: pulumi.String("S1_1"), DataRetentionTime: pulumi.String("P30D"), }) if err != nil { return err } _, err = iot.NewTimeSeriesInsightsReferenceDataSet(ctx, "exampleTimeSeriesInsightsReferenceDataSet", &iot.TimeSeriesInsightsReferenceDataSetArgs{ TimeSeriesInsightsEnvironmentId: exampleTimeSeriesInsightsStandardEnvironment.ID(), Location: exampleResourceGroup.Location, KeyProperties: iot.TimeSeriesInsightsReferenceDataSetKeyPropertyArray{ &iot.TimeSeriesInsightsReferenceDataSetKeyPropertyArgs{ Name: pulumi.String("keyProperty1"), Type: pulumi.String("String"), }, }, }) if err != nil { return err } return nil }) }
```
## Import
Azure IoT Time Series Insights Reference Data Set can be imported using the `resource id`, e.g.
```sh
$ pulumi import azure:iot/timeSeriesInsightsReferenceDataSet:TimeSeriesInsightsReferenceDataSet example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/example/providers/Microsoft.TimeSeriesInsights/environments/example/referenceDataSets/example
```
func GetTimeSeriesInsightsReferenceDataSet ¶
func GetTimeSeriesInsightsReferenceDataSet(ctx *pulumi.Context, name string, id pulumi.IDInput, state *TimeSeriesInsightsReferenceDataSetState, opts ...pulumi.ResourceOption) (*TimeSeriesInsightsReferenceDataSet, error)
GetTimeSeriesInsightsReferenceDataSet gets an existing TimeSeriesInsightsReferenceDataSet 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 NewTimeSeriesInsightsReferenceDataSet ¶
func NewTimeSeriesInsightsReferenceDataSet(ctx *pulumi.Context, name string, args *TimeSeriesInsightsReferenceDataSetArgs, opts ...pulumi.ResourceOption) (*TimeSeriesInsightsReferenceDataSet, error)
NewTimeSeriesInsightsReferenceDataSet registers a new resource with the given unique name, arguments, and options.
func (*TimeSeriesInsightsReferenceDataSet) ElementType ¶
func (*TimeSeriesInsightsReferenceDataSet) ElementType() reflect.Type
func (*TimeSeriesInsightsReferenceDataSet) ToTimeSeriesInsightsReferenceDataSetOutput ¶
func (i *TimeSeriesInsightsReferenceDataSet) ToTimeSeriesInsightsReferenceDataSetOutput() TimeSeriesInsightsReferenceDataSetOutput
func (*TimeSeriesInsightsReferenceDataSet) ToTimeSeriesInsightsReferenceDataSetOutputWithContext ¶
func (i *TimeSeriesInsightsReferenceDataSet) ToTimeSeriesInsightsReferenceDataSetOutputWithContext(ctx context.Context) TimeSeriesInsightsReferenceDataSetOutput
func (*TimeSeriesInsightsReferenceDataSet) ToTimeSeriesInsightsReferenceDataSetPtrOutput ¶
func (i *TimeSeriesInsightsReferenceDataSet) ToTimeSeriesInsightsReferenceDataSetPtrOutput() TimeSeriesInsightsReferenceDataSetPtrOutput
func (*TimeSeriesInsightsReferenceDataSet) ToTimeSeriesInsightsReferenceDataSetPtrOutputWithContext ¶
func (i *TimeSeriesInsightsReferenceDataSet) ToTimeSeriesInsightsReferenceDataSetPtrOutputWithContext(ctx context.Context) TimeSeriesInsightsReferenceDataSetPtrOutput
type TimeSeriesInsightsReferenceDataSetArgs ¶
type TimeSeriesInsightsReferenceDataSetArgs struct { // The comparison behavior that will be used to compare keys. Valid values include `Ordinal` and `OrdinalIgnoreCase`. Defaults to `Ordinal`. Changing this forces a new resource to be created. DataStringComparisonBehavior pulumi.StringPtrInput // A `keyProperty` block as defined below. Changing this forces a new resource to be created. KeyProperties TimeSeriesInsightsReferenceDataSetKeyPropertyArrayInput // Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created. Location pulumi.StringPtrInput // Specifies the name of the Azure IoT Time Series Insights Reference Data Set. Changing this forces a new resource to be created. Must be globally unique. Name pulumi.StringPtrInput // A mapping of tags to assign to the resource. Tags pulumi.StringMapInput // The resource ID of the Azure IoT Time Series Insights Environment in which to create the Azure IoT Time Series Insights Reference Data Set. Changing this forces a new resource to be created. TimeSeriesInsightsEnvironmentId pulumi.StringInput }
The set of arguments for constructing a TimeSeriesInsightsReferenceDataSet resource.
func (TimeSeriesInsightsReferenceDataSetArgs) ElementType ¶
func (TimeSeriesInsightsReferenceDataSetArgs) ElementType() reflect.Type
type TimeSeriesInsightsReferenceDataSetArray ¶
type TimeSeriesInsightsReferenceDataSetArray []TimeSeriesInsightsReferenceDataSetInput
func (TimeSeriesInsightsReferenceDataSetArray) ElementType ¶
func (TimeSeriesInsightsReferenceDataSetArray) ElementType() reflect.Type
func (TimeSeriesInsightsReferenceDataSetArray) ToTimeSeriesInsightsReferenceDataSetArrayOutput ¶
func (i TimeSeriesInsightsReferenceDataSetArray) ToTimeSeriesInsightsReferenceDataSetArrayOutput() TimeSeriesInsightsReferenceDataSetArrayOutput
func (TimeSeriesInsightsReferenceDataSetArray) ToTimeSeriesInsightsReferenceDataSetArrayOutputWithContext ¶
func (i TimeSeriesInsightsReferenceDataSetArray) ToTimeSeriesInsightsReferenceDataSetArrayOutputWithContext(ctx context.Context) TimeSeriesInsightsReferenceDataSetArrayOutput
type TimeSeriesInsightsReferenceDataSetArrayInput ¶
type TimeSeriesInsightsReferenceDataSetArrayInput interface { pulumi.Input ToTimeSeriesInsightsReferenceDataSetArrayOutput() TimeSeriesInsightsReferenceDataSetArrayOutput ToTimeSeriesInsightsReferenceDataSetArrayOutputWithContext(context.Context) TimeSeriesInsightsReferenceDataSetArrayOutput }
TimeSeriesInsightsReferenceDataSetArrayInput is an input type that accepts TimeSeriesInsightsReferenceDataSetArray and TimeSeriesInsightsReferenceDataSetArrayOutput values. You can construct a concrete instance of `TimeSeriesInsightsReferenceDataSetArrayInput` via:
TimeSeriesInsightsReferenceDataSetArray{ TimeSeriesInsightsReferenceDataSetArgs{...} }
type TimeSeriesInsightsReferenceDataSetArrayOutput ¶
type TimeSeriesInsightsReferenceDataSetArrayOutput struct{ *pulumi.OutputState }
func (TimeSeriesInsightsReferenceDataSetArrayOutput) ElementType ¶
func (TimeSeriesInsightsReferenceDataSetArrayOutput) ElementType() reflect.Type
func (TimeSeriesInsightsReferenceDataSetArrayOutput) ToTimeSeriesInsightsReferenceDataSetArrayOutput ¶
func (o TimeSeriesInsightsReferenceDataSetArrayOutput) ToTimeSeriesInsightsReferenceDataSetArrayOutput() TimeSeriesInsightsReferenceDataSetArrayOutput
func (TimeSeriesInsightsReferenceDataSetArrayOutput) ToTimeSeriesInsightsReferenceDataSetArrayOutputWithContext ¶
func (o TimeSeriesInsightsReferenceDataSetArrayOutput) ToTimeSeriesInsightsReferenceDataSetArrayOutputWithContext(ctx context.Context) TimeSeriesInsightsReferenceDataSetArrayOutput
type TimeSeriesInsightsReferenceDataSetInput ¶
type TimeSeriesInsightsReferenceDataSetInput interface { pulumi.Input ToTimeSeriesInsightsReferenceDataSetOutput() TimeSeriesInsightsReferenceDataSetOutput ToTimeSeriesInsightsReferenceDataSetOutputWithContext(ctx context.Context) TimeSeriesInsightsReferenceDataSetOutput }
type TimeSeriesInsightsReferenceDataSetKeyProperty ¶
type TimeSeriesInsightsReferenceDataSetKeyProperty struct { // The name of the key property. Changing this forces a new resource to be created. Name string `pulumi:"name"` // The data type of the key property. Valid values include `Bool`, `DateTime`, `Double`, `String`. Changing this forces a new resource to be created. Type string `pulumi:"type"` }
type TimeSeriesInsightsReferenceDataSetKeyPropertyArgs ¶
type TimeSeriesInsightsReferenceDataSetKeyPropertyArgs struct { // The name of the key property. Changing this forces a new resource to be created. Name pulumi.StringInput `pulumi:"name"` // The data type of the key property. Valid values include `Bool`, `DateTime`, `Double`, `String`. Changing this forces a new resource to be created. Type pulumi.StringInput `pulumi:"type"` }
func (TimeSeriesInsightsReferenceDataSetKeyPropertyArgs) ElementType ¶
func (TimeSeriesInsightsReferenceDataSetKeyPropertyArgs) ElementType() reflect.Type
func (TimeSeriesInsightsReferenceDataSetKeyPropertyArgs) ToTimeSeriesInsightsReferenceDataSetKeyPropertyOutput ¶
func (i TimeSeriesInsightsReferenceDataSetKeyPropertyArgs) ToTimeSeriesInsightsReferenceDataSetKeyPropertyOutput() TimeSeriesInsightsReferenceDataSetKeyPropertyOutput
func (TimeSeriesInsightsReferenceDataSetKeyPropertyArgs) ToTimeSeriesInsightsReferenceDataSetKeyPropertyOutputWithContext ¶
func (i TimeSeriesInsightsReferenceDataSetKeyPropertyArgs) ToTimeSeriesInsightsReferenceDataSetKeyPropertyOutputWithContext(ctx context.Context) TimeSeriesInsightsReferenceDataSetKeyPropertyOutput
type TimeSeriesInsightsReferenceDataSetKeyPropertyArray ¶
type TimeSeriesInsightsReferenceDataSetKeyPropertyArray []TimeSeriesInsightsReferenceDataSetKeyPropertyInput
func (TimeSeriesInsightsReferenceDataSetKeyPropertyArray) ElementType ¶
func (TimeSeriesInsightsReferenceDataSetKeyPropertyArray) ElementType() reflect.Type
func (TimeSeriesInsightsReferenceDataSetKeyPropertyArray) ToTimeSeriesInsightsReferenceDataSetKeyPropertyArrayOutput ¶
func (i TimeSeriesInsightsReferenceDataSetKeyPropertyArray) ToTimeSeriesInsightsReferenceDataSetKeyPropertyArrayOutput() TimeSeriesInsightsReferenceDataSetKeyPropertyArrayOutput
func (TimeSeriesInsightsReferenceDataSetKeyPropertyArray) ToTimeSeriesInsightsReferenceDataSetKeyPropertyArrayOutputWithContext ¶
func (i TimeSeriesInsightsReferenceDataSetKeyPropertyArray) ToTimeSeriesInsightsReferenceDataSetKeyPropertyArrayOutputWithContext(ctx context.Context) TimeSeriesInsightsReferenceDataSetKeyPropertyArrayOutput
type TimeSeriesInsightsReferenceDataSetKeyPropertyArrayInput ¶
type TimeSeriesInsightsReferenceDataSetKeyPropertyArrayInput interface { pulumi.Input ToTimeSeriesInsightsReferenceDataSetKeyPropertyArrayOutput() TimeSeriesInsightsReferenceDataSetKeyPropertyArrayOutput ToTimeSeriesInsightsReferenceDataSetKeyPropertyArrayOutputWithContext(context.Context) TimeSeriesInsightsReferenceDataSetKeyPropertyArrayOutput }
TimeSeriesInsightsReferenceDataSetKeyPropertyArrayInput is an input type that accepts TimeSeriesInsightsReferenceDataSetKeyPropertyArray and TimeSeriesInsightsReferenceDataSetKeyPropertyArrayOutput values. You can construct a concrete instance of `TimeSeriesInsightsReferenceDataSetKeyPropertyArrayInput` via:
TimeSeriesInsightsReferenceDataSetKeyPropertyArray{ TimeSeriesInsightsReferenceDataSetKeyPropertyArgs{...} }
type TimeSeriesInsightsReferenceDataSetKeyPropertyArrayOutput ¶
type TimeSeriesInsightsReferenceDataSetKeyPropertyArrayOutput struct{ *pulumi.OutputState }
func (TimeSeriesInsightsReferenceDataSetKeyPropertyArrayOutput) ElementType ¶
func (TimeSeriesInsightsReferenceDataSetKeyPropertyArrayOutput) ElementType() reflect.Type
func (TimeSeriesInsightsReferenceDataSetKeyPropertyArrayOutput) ToTimeSeriesInsightsReferenceDataSetKeyPropertyArrayOutput ¶
func (o TimeSeriesInsightsReferenceDataSetKeyPropertyArrayOutput) ToTimeSeriesInsightsReferenceDataSetKeyPropertyArrayOutput() TimeSeriesInsightsReferenceDataSetKeyPropertyArrayOutput
func (TimeSeriesInsightsReferenceDataSetKeyPropertyArrayOutput) ToTimeSeriesInsightsReferenceDataSetKeyPropertyArrayOutputWithContext ¶
func (o TimeSeriesInsightsReferenceDataSetKeyPropertyArrayOutput) ToTimeSeriesInsightsReferenceDataSetKeyPropertyArrayOutputWithContext(ctx context.Context) TimeSeriesInsightsReferenceDataSetKeyPropertyArrayOutput
type TimeSeriesInsightsReferenceDataSetKeyPropertyInput ¶
type TimeSeriesInsightsReferenceDataSetKeyPropertyInput interface { pulumi.Input ToTimeSeriesInsightsReferenceDataSetKeyPropertyOutput() TimeSeriesInsightsReferenceDataSetKeyPropertyOutput ToTimeSeriesInsightsReferenceDataSetKeyPropertyOutputWithContext(context.Context) TimeSeriesInsightsReferenceDataSetKeyPropertyOutput }
TimeSeriesInsightsReferenceDataSetKeyPropertyInput is an input type that accepts TimeSeriesInsightsReferenceDataSetKeyPropertyArgs and TimeSeriesInsightsReferenceDataSetKeyPropertyOutput values. You can construct a concrete instance of `TimeSeriesInsightsReferenceDataSetKeyPropertyInput` via:
TimeSeriesInsightsReferenceDataSetKeyPropertyArgs{...}
type TimeSeriesInsightsReferenceDataSetKeyPropertyOutput ¶
type TimeSeriesInsightsReferenceDataSetKeyPropertyOutput struct{ *pulumi.OutputState }
func (TimeSeriesInsightsReferenceDataSetKeyPropertyOutput) ElementType ¶
func (TimeSeriesInsightsReferenceDataSetKeyPropertyOutput) ElementType() reflect.Type
func (TimeSeriesInsightsReferenceDataSetKeyPropertyOutput) Name ¶
func (o TimeSeriesInsightsReferenceDataSetKeyPropertyOutput) Name() pulumi.StringOutput
The name of the key property. Changing this forces a new resource to be created.
func (TimeSeriesInsightsReferenceDataSetKeyPropertyOutput) ToTimeSeriesInsightsReferenceDataSetKeyPropertyOutput ¶
func (o TimeSeriesInsightsReferenceDataSetKeyPropertyOutput) ToTimeSeriesInsightsReferenceDataSetKeyPropertyOutput() TimeSeriesInsightsReferenceDataSetKeyPropertyOutput
func (TimeSeriesInsightsReferenceDataSetKeyPropertyOutput) ToTimeSeriesInsightsReferenceDataSetKeyPropertyOutputWithContext ¶
func (o TimeSeriesInsightsReferenceDataSetKeyPropertyOutput) ToTimeSeriesInsightsReferenceDataSetKeyPropertyOutputWithContext(ctx context.Context) TimeSeriesInsightsReferenceDataSetKeyPropertyOutput
func (TimeSeriesInsightsReferenceDataSetKeyPropertyOutput) Type ¶
func (o TimeSeriesInsightsReferenceDataSetKeyPropertyOutput) Type() pulumi.StringOutput
The data type of the key property. Valid values include `Bool`, `DateTime`, `Double`, `String`. Changing this forces a new resource to be created.
type TimeSeriesInsightsReferenceDataSetMap ¶
type TimeSeriesInsightsReferenceDataSetMap map[string]TimeSeriesInsightsReferenceDataSetInput
func (TimeSeriesInsightsReferenceDataSetMap) ElementType ¶
func (TimeSeriesInsightsReferenceDataSetMap) ElementType() reflect.Type
func (TimeSeriesInsightsReferenceDataSetMap) ToTimeSeriesInsightsReferenceDataSetMapOutput ¶
func (i TimeSeriesInsightsReferenceDataSetMap) ToTimeSeriesInsightsReferenceDataSetMapOutput() TimeSeriesInsightsReferenceDataSetMapOutput
func (TimeSeriesInsightsReferenceDataSetMap) ToTimeSeriesInsightsReferenceDataSetMapOutputWithContext ¶
func (i TimeSeriesInsightsReferenceDataSetMap) ToTimeSeriesInsightsReferenceDataSetMapOutputWithContext(ctx context.Context) TimeSeriesInsightsReferenceDataSetMapOutput
type TimeSeriesInsightsReferenceDataSetMapInput ¶
type TimeSeriesInsightsReferenceDataSetMapInput interface { pulumi.Input ToTimeSeriesInsightsReferenceDataSetMapOutput() TimeSeriesInsightsReferenceDataSetMapOutput ToTimeSeriesInsightsReferenceDataSetMapOutputWithContext(context.Context) TimeSeriesInsightsReferenceDataSetMapOutput }
TimeSeriesInsightsReferenceDataSetMapInput is an input type that accepts TimeSeriesInsightsReferenceDataSetMap and TimeSeriesInsightsReferenceDataSetMapOutput values. You can construct a concrete instance of `TimeSeriesInsightsReferenceDataSetMapInput` via:
TimeSeriesInsightsReferenceDataSetMap{ "key": TimeSeriesInsightsReferenceDataSetArgs{...} }
type TimeSeriesInsightsReferenceDataSetMapOutput ¶
type TimeSeriesInsightsReferenceDataSetMapOutput struct{ *pulumi.OutputState }
func (TimeSeriesInsightsReferenceDataSetMapOutput) ElementType ¶
func (TimeSeriesInsightsReferenceDataSetMapOutput) ElementType() reflect.Type
func (TimeSeriesInsightsReferenceDataSetMapOutput) ToTimeSeriesInsightsReferenceDataSetMapOutput ¶
func (o TimeSeriesInsightsReferenceDataSetMapOutput) ToTimeSeriesInsightsReferenceDataSetMapOutput() TimeSeriesInsightsReferenceDataSetMapOutput
func (TimeSeriesInsightsReferenceDataSetMapOutput) ToTimeSeriesInsightsReferenceDataSetMapOutputWithContext ¶
func (o TimeSeriesInsightsReferenceDataSetMapOutput) ToTimeSeriesInsightsReferenceDataSetMapOutputWithContext(ctx context.Context) TimeSeriesInsightsReferenceDataSetMapOutput
type TimeSeriesInsightsReferenceDataSetOutput ¶
type TimeSeriesInsightsReferenceDataSetOutput struct {
*pulumi.OutputState
}
func (TimeSeriesInsightsReferenceDataSetOutput) ElementType ¶
func (TimeSeriesInsightsReferenceDataSetOutput) ElementType() reflect.Type
func (TimeSeriesInsightsReferenceDataSetOutput) ToTimeSeriesInsightsReferenceDataSetOutput ¶
func (o TimeSeriesInsightsReferenceDataSetOutput) ToTimeSeriesInsightsReferenceDataSetOutput() TimeSeriesInsightsReferenceDataSetOutput
func (TimeSeriesInsightsReferenceDataSetOutput) ToTimeSeriesInsightsReferenceDataSetOutputWithContext ¶
func (o TimeSeriesInsightsReferenceDataSetOutput) ToTimeSeriesInsightsReferenceDataSetOutputWithContext(ctx context.Context) TimeSeriesInsightsReferenceDataSetOutput
func (TimeSeriesInsightsReferenceDataSetOutput) ToTimeSeriesInsightsReferenceDataSetPtrOutput ¶
func (o TimeSeriesInsightsReferenceDataSetOutput) ToTimeSeriesInsightsReferenceDataSetPtrOutput() TimeSeriesInsightsReferenceDataSetPtrOutput
func (TimeSeriesInsightsReferenceDataSetOutput) ToTimeSeriesInsightsReferenceDataSetPtrOutputWithContext ¶
func (o TimeSeriesInsightsReferenceDataSetOutput) ToTimeSeriesInsightsReferenceDataSetPtrOutputWithContext(ctx context.Context) TimeSeriesInsightsReferenceDataSetPtrOutput
type TimeSeriesInsightsReferenceDataSetPtrInput ¶
type TimeSeriesInsightsReferenceDataSetPtrInput interface { pulumi.Input ToTimeSeriesInsightsReferenceDataSetPtrOutput() TimeSeriesInsightsReferenceDataSetPtrOutput ToTimeSeriesInsightsReferenceDataSetPtrOutputWithContext(ctx context.Context) TimeSeriesInsightsReferenceDataSetPtrOutput }
type TimeSeriesInsightsReferenceDataSetPtrOutput ¶
type TimeSeriesInsightsReferenceDataSetPtrOutput struct {
*pulumi.OutputState
}
func (TimeSeriesInsightsReferenceDataSetPtrOutput) ElementType ¶
func (TimeSeriesInsightsReferenceDataSetPtrOutput) ElementType() reflect.Type
func (TimeSeriesInsightsReferenceDataSetPtrOutput) ToTimeSeriesInsightsReferenceDataSetPtrOutput ¶
func (o TimeSeriesInsightsReferenceDataSetPtrOutput) ToTimeSeriesInsightsReferenceDataSetPtrOutput() TimeSeriesInsightsReferenceDataSetPtrOutput
func (TimeSeriesInsightsReferenceDataSetPtrOutput) ToTimeSeriesInsightsReferenceDataSetPtrOutputWithContext ¶
func (o TimeSeriesInsightsReferenceDataSetPtrOutput) ToTimeSeriesInsightsReferenceDataSetPtrOutputWithContext(ctx context.Context) TimeSeriesInsightsReferenceDataSetPtrOutput
type TimeSeriesInsightsReferenceDataSetState ¶
type TimeSeriesInsightsReferenceDataSetState struct { // The comparison behavior that will be used to compare keys. Valid values include `Ordinal` and `OrdinalIgnoreCase`. Defaults to `Ordinal`. Changing this forces a new resource to be created. DataStringComparisonBehavior pulumi.StringPtrInput // A `keyProperty` block as defined below. Changing this forces a new resource to be created. KeyProperties TimeSeriesInsightsReferenceDataSetKeyPropertyArrayInput // Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created. Location pulumi.StringPtrInput // Specifies the name of the Azure IoT Time Series Insights Reference Data Set. Changing this forces a new resource to be created. Must be globally unique. Name pulumi.StringPtrInput // A mapping of tags to assign to the resource. Tags pulumi.StringMapInput // The resource ID of the Azure IoT Time Series Insights Environment in which to create the Azure IoT Time Series Insights Reference Data Set. Changing this forces a new resource to be created. TimeSeriesInsightsEnvironmentId pulumi.StringPtrInput }
func (TimeSeriesInsightsReferenceDataSetState) ElementType ¶
func (TimeSeriesInsightsReferenceDataSetState) ElementType() reflect.Type
type TimeSeriesInsightsStandardEnvironment ¶
type TimeSeriesInsightsStandardEnvironment struct { pulumi.CustomResourceState // Specifies the ISO8601 timespan specifying the minimum number of days the environment's events will be available for query. Changing this forces a new resource to be created. DataRetentionTime pulumi.StringOutput `pulumi:"dataRetentionTime"` // Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created. Location pulumi.StringOutput `pulumi:"location"` // Specifies the name of the Azure IoT Time Series Insights Standard Environment. Changing this forces a new resource to be created. Must be globally unique. Name pulumi.StringOutput `pulumi:"name"` // The name of the event property which will be used to partition data. Changing this forces a new resource to be created. PartitionKey pulumi.StringPtrOutput `pulumi:"partitionKey"` // The name of the resource group in which to create the Azure IoT Time Series Insights Standard Environment. ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"` // Specifies the SKU Name for this IoT Time Series Insights Standard Environment. It is string consisting of two parts separated by an underscore(\_).The fist part is the `name`, valid values include: `S1` and `S2`. The second part is the `capacity` (e.g. the number of deployed units of the `sku`), which must be a positive `integer` (e.g. `S1_1`). Changing this forces a new resource to be created. SkuName pulumi.StringOutput `pulumi:"skuName"` // Specifies the behaviour the IoT Time Series Insights service should take when the environment's capacity has been exceeded. Valid values include `PauseIngress` and `PurgeOldData`. Defaults to `PurgeOldData`. StorageLimitExceededBehavior pulumi.StringPtrOutput `pulumi:"storageLimitExceededBehavior"` // A mapping of tags to assign to the resource. Tags pulumi.StringMapOutput `pulumi:"tags"` }
Manages an Azure IoT Time Series Insights Standard Environment.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/core" "github.com/pulumi/pulumi-azure/sdk/v4/go/azure/iot" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{ Location: pulumi.String("West Europe"), }) if err != nil { return err } _, err = iot.NewTimeSeriesInsightsStandardEnvironment(ctx, "exampleTimeSeriesInsightsStandardEnvironment", &iot.TimeSeriesInsightsStandardEnvironmentArgs{ Location: exampleResourceGroup.Location, ResourceGroupName: exampleResourceGroup.Name, SkuName: pulumi.String("S1_1"), DataRetentionTime: pulumi.String("P30D"), }) if err != nil { return err } return nil }) }
```
## Import
Azure IoT Time Series Insights Standard Environment can be imported using the `resource id`, e.g.
```sh
$ pulumi import azure:iot/timeSeriesInsightsStandardEnvironment:TimeSeriesInsightsStandardEnvironment example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/example/providers/Microsoft.TimeSeriesInsights/environments/example
```
func GetTimeSeriesInsightsStandardEnvironment ¶
func GetTimeSeriesInsightsStandardEnvironment(ctx *pulumi.Context, name string, id pulumi.IDInput, state *TimeSeriesInsightsStandardEnvironmentState, opts ...pulumi.ResourceOption) (*TimeSeriesInsightsStandardEnvironment, error)
GetTimeSeriesInsightsStandardEnvironment gets an existing TimeSeriesInsightsStandardEnvironment 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 NewTimeSeriesInsightsStandardEnvironment ¶
func NewTimeSeriesInsightsStandardEnvironment(ctx *pulumi.Context, name string, args *TimeSeriesInsightsStandardEnvironmentArgs, opts ...pulumi.ResourceOption) (*TimeSeriesInsightsStandardEnvironment, error)
NewTimeSeriesInsightsStandardEnvironment registers a new resource with the given unique name, arguments, and options.
func (*TimeSeriesInsightsStandardEnvironment) ElementType ¶
func (*TimeSeriesInsightsStandardEnvironment) ElementType() reflect.Type
func (*TimeSeriesInsightsStandardEnvironment) ToTimeSeriesInsightsStandardEnvironmentOutput ¶
func (i *TimeSeriesInsightsStandardEnvironment) ToTimeSeriesInsightsStandardEnvironmentOutput() TimeSeriesInsightsStandardEnvironmentOutput
func (*TimeSeriesInsightsStandardEnvironment) ToTimeSeriesInsightsStandardEnvironmentOutputWithContext ¶
func (i *TimeSeriesInsightsStandardEnvironment) ToTimeSeriesInsightsStandardEnvironmentOutputWithContext(ctx context.Context) TimeSeriesInsightsStandardEnvironmentOutput
func (*TimeSeriesInsightsStandardEnvironment) ToTimeSeriesInsightsStandardEnvironmentPtrOutput ¶
func (i *TimeSeriesInsightsStandardEnvironment) ToTimeSeriesInsightsStandardEnvironmentPtrOutput() TimeSeriesInsightsStandardEnvironmentPtrOutput
func (*TimeSeriesInsightsStandardEnvironment) ToTimeSeriesInsightsStandardEnvironmentPtrOutputWithContext ¶
func (i *TimeSeriesInsightsStandardEnvironment) ToTimeSeriesInsightsStandardEnvironmentPtrOutputWithContext(ctx context.Context) TimeSeriesInsightsStandardEnvironmentPtrOutput
type TimeSeriesInsightsStandardEnvironmentArgs ¶
type TimeSeriesInsightsStandardEnvironmentArgs struct { // Specifies the ISO8601 timespan specifying the minimum number of days the environment's events will be available for query. Changing this forces a new resource to be created. DataRetentionTime pulumi.StringInput // Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created. Location pulumi.StringPtrInput // Specifies the name of the Azure IoT Time Series Insights Standard Environment. Changing this forces a new resource to be created. Must be globally unique. Name pulumi.StringPtrInput // The name of the event property which will be used to partition data. Changing this forces a new resource to be created. PartitionKey pulumi.StringPtrInput // The name of the resource group in which to create the Azure IoT Time Series Insights Standard Environment. ResourceGroupName pulumi.StringInput // Specifies the SKU Name for this IoT Time Series Insights Standard Environment. It is string consisting of two parts separated by an underscore(\_).The fist part is the `name`, valid values include: `S1` and `S2`. The second part is the `capacity` (e.g. the number of deployed units of the `sku`), which must be a positive `integer` (e.g. `S1_1`). Changing this forces a new resource to be created. SkuName pulumi.StringInput // Specifies the behaviour the IoT Time Series Insights service should take when the environment's capacity has been exceeded. Valid values include `PauseIngress` and `PurgeOldData`. Defaults to `PurgeOldData`. StorageLimitExceededBehavior pulumi.StringPtrInput // A mapping of tags to assign to the resource. Tags pulumi.StringMapInput }
The set of arguments for constructing a TimeSeriesInsightsStandardEnvironment resource.
func (TimeSeriesInsightsStandardEnvironmentArgs) ElementType ¶
func (TimeSeriesInsightsStandardEnvironmentArgs) ElementType() reflect.Type
type TimeSeriesInsightsStandardEnvironmentArray ¶
type TimeSeriesInsightsStandardEnvironmentArray []TimeSeriesInsightsStandardEnvironmentInput
func (TimeSeriesInsightsStandardEnvironmentArray) ElementType ¶
func (TimeSeriesInsightsStandardEnvironmentArray) ElementType() reflect.Type
func (TimeSeriesInsightsStandardEnvironmentArray) ToTimeSeriesInsightsStandardEnvironmentArrayOutput ¶
func (i TimeSeriesInsightsStandardEnvironmentArray) ToTimeSeriesInsightsStandardEnvironmentArrayOutput() TimeSeriesInsightsStandardEnvironmentArrayOutput
func (TimeSeriesInsightsStandardEnvironmentArray) ToTimeSeriesInsightsStandardEnvironmentArrayOutputWithContext ¶
func (i TimeSeriesInsightsStandardEnvironmentArray) ToTimeSeriesInsightsStandardEnvironmentArrayOutputWithContext(ctx context.Context) TimeSeriesInsightsStandardEnvironmentArrayOutput
type TimeSeriesInsightsStandardEnvironmentArrayInput ¶
type TimeSeriesInsightsStandardEnvironmentArrayInput interface { pulumi.Input ToTimeSeriesInsightsStandardEnvironmentArrayOutput() TimeSeriesInsightsStandardEnvironmentArrayOutput ToTimeSeriesInsightsStandardEnvironmentArrayOutputWithContext(context.Context) TimeSeriesInsightsStandardEnvironmentArrayOutput }
TimeSeriesInsightsStandardEnvironmentArrayInput is an input type that accepts TimeSeriesInsightsStandardEnvironmentArray and TimeSeriesInsightsStandardEnvironmentArrayOutput values. You can construct a concrete instance of `TimeSeriesInsightsStandardEnvironmentArrayInput` via:
TimeSeriesInsightsStandardEnvironmentArray{ TimeSeriesInsightsStandardEnvironmentArgs{...} }
type TimeSeriesInsightsStandardEnvironmentArrayOutput ¶
type TimeSeriesInsightsStandardEnvironmentArrayOutput struct{ *pulumi.OutputState }
func (TimeSeriesInsightsStandardEnvironmentArrayOutput) ElementType ¶
func (TimeSeriesInsightsStandardEnvironmentArrayOutput) ElementType() reflect.Type
func (TimeSeriesInsightsStandardEnvironmentArrayOutput) ToTimeSeriesInsightsStandardEnvironmentArrayOutput ¶
func (o TimeSeriesInsightsStandardEnvironmentArrayOutput) ToTimeSeriesInsightsStandardEnvironmentArrayOutput() TimeSeriesInsightsStandardEnvironmentArrayOutput
func (TimeSeriesInsightsStandardEnvironmentArrayOutput) ToTimeSeriesInsightsStandardEnvironmentArrayOutputWithContext ¶
func (o TimeSeriesInsightsStandardEnvironmentArrayOutput) ToTimeSeriesInsightsStandardEnvironmentArrayOutputWithContext(ctx context.Context) TimeSeriesInsightsStandardEnvironmentArrayOutput
type TimeSeriesInsightsStandardEnvironmentInput ¶
type TimeSeriesInsightsStandardEnvironmentInput interface { pulumi.Input ToTimeSeriesInsightsStandardEnvironmentOutput() TimeSeriesInsightsStandardEnvironmentOutput ToTimeSeriesInsightsStandardEnvironmentOutputWithContext(ctx context.Context) TimeSeriesInsightsStandardEnvironmentOutput }
type TimeSeriesInsightsStandardEnvironmentMap ¶
type TimeSeriesInsightsStandardEnvironmentMap map[string]TimeSeriesInsightsStandardEnvironmentInput
func (TimeSeriesInsightsStandardEnvironmentMap) ElementType ¶
func (TimeSeriesInsightsStandardEnvironmentMap) ElementType() reflect.Type
func (TimeSeriesInsightsStandardEnvironmentMap) ToTimeSeriesInsightsStandardEnvironmentMapOutput ¶
func (i TimeSeriesInsightsStandardEnvironmentMap) ToTimeSeriesInsightsStandardEnvironmentMapOutput() TimeSeriesInsightsStandardEnvironmentMapOutput
func (TimeSeriesInsightsStandardEnvironmentMap) ToTimeSeriesInsightsStandardEnvironmentMapOutputWithContext ¶
func (i TimeSeriesInsightsStandardEnvironmentMap) ToTimeSeriesInsightsStandardEnvironmentMapOutputWithContext(ctx context.Context) TimeSeriesInsightsStandardEnvironmentMapOutput
type TimeSeriesInsightsStandardEnvironmentMapInput ¶
type TimeSeriesInsightsStandardEnvironmentMapInput interface { pulumi.Input ToTimeSeriesInsightsStandardEnvironmentMapOutput() TimeSeriesInsightsStandardEnvironmentMapOutput ToTimeSeriesInsightsStandardEnvironmentMapOutputWithContext(context.Context) TimeSeriesInsightsStandardEnvironmentMapOutput }
TimeSeriesInsightsStandardEnvironmentMapInput is an input type that accepts TimeSeriesInsightsStandardEnvironmentMap and TimeSeriesInsightsStandardEnvironmentMapOutput values. You can construct a concrete instance of `TimeSeriesInsightsStandardEnvironmentMapInput` via:
TimeSeriesInsightsStandardEnvironmentMap{ "key": TimeSeriesInsightsStandardEnvironmentArgs{...} }
type TimeSeriesInsightsStandardEnvironmentMapOutput ¶
type TimeSeriesInsightsStandardEnvironmentMapOutput struct{ *pulumi.OutputState }
func (TimeSeriesInsightsStandardEnvironmentMapOutput) ElementType ¶
func (TimeSeriesInsightsStandardEnvironmentMapOutput) ElementType() reflect.Type
func (TimeSeriesInsightsStandardEnvironmentMapOutput) ToTimeSeriesInsightsStandardEnvironmentMapOutput ¶
func (o TimeSeriesInsightsStandardEnvironmentMapOutput) ToTimeSeriesInsightsStandardEnvironmentMapOutput() TimeSeriesInsightsStandardEnvironmentMapOutput
func (TimeSeriesInsightsStandardEnvironmentMapOutput) ToTimeSeriesInsightsStandardEnvironmentMapOutputWithContext ¶
func (o TimeSeriesInsightsStandardEnvironmentMapOutput) ToTimeSeriesInsightsStandardEnvironmentMapOutputWithContext(ctx context.Context) TimeSeriesInsightsStandardEnvironmentMapOutput
type TimeSeriesInsightsStandardEnvironmentOutput ¶
type TimeSeriesInsightsStandardEnvironmentOutput struct {
*pulumi.OutputState
}
func (TimeSeriesInsightsStandardEnvironmentOutput) ElementType ¶
func (TimeSeriesInsightsStandardEnvironmentOutput) ElementType() reflect.Type
func (TimeSeriesInsightsStandardEnvironmentOutput) ToTimeSeriesInsightsStandardEnvironmentOutput ¶
func (o TimeSeriesInsightsStandardEnvironmentOutput) ToTimeSeriesInsightsStandardEnvironmentOutput() TimeSeriesInsightsStandardEnvironmentOutput
func (TimeSeriesInsightsStandardEnvironmentOutput) ToTimeSeriesInsightsStandardEnvironmentOutputWithContext ¶
func (o TimeSeriesInsightsStandardEnvironmentOutput) ToTimeSeriesInsightsStandardEnvironmentOutputWithContext(ctx context.Context) TimeSeriesInsightsStandardEnvironmentOutput
func (TimeSeriesInsightsStandardEnvironmentOutput) ToTimeSeriesInsightsStandardEnvironmentPtrOutput ¶
func (o TimeSeriesInsightsStandardEnvironmentOutput) ToTimeSeriesInsightsStandardEnvironmentPtrOutput() TimeSeriesInsightsStandardEnvironmentPtrOutput
func (TimeSeriesInsightsStandardEnvironmentOutput) ToTimeSeriesInsightsStandardEnvironmentPtrOutputWithContext ¶
func (o TimeSeriesInsightsStandardEnvironmentOutput) ToTimeSeriesInsightsStandardEnvironmentPtrOutputWithContext(ctx context.Context) TimeSeriesInsightsStandardEnvironmentPtrOutput
type TimeSeriesInsightsStandardEnvironmentPtrInput ¶
type TimeSeriesInsightsStandardEnvironmentPtrInput interface { pulumi.Input ToTimeSeriesInsightsStandardEnvironmentPtrOutput() TimeSeriesInsightsStandardEnvironmentPtrOutput ToTimeSeriesInsightsStandardEnvironmentPtrOutputWithContext(ctx context.Context) TimeSeriesInsightsStandardEnvironmentPtrOutput }
type TimeSeriesInsightsStandardEnvironmentPtrOutput ¶
type TimeSeriesInsightsStandardEnvironmentPtrOutput struct {
*pulumi.OutputState
}
func (TimeSeriesInsightsStandardEnvironmentPtrOutput) ElementType ¶
func (TimeSeriesInsightsStandardEnvironmentPtrOutput) ElementType() reflect.Type
func (TimeSeriesInsightsStandardEnvironmentPtrOutput) ToTimeSeriesInsightsStandardEnvironmentPtrOutput ¶
func (o TimeSeriesInsightsStandardEnvironmentPtrOutput) ToTimeSeriesInsightsStandardEnvironmentPtrOutput() TimeSeriesInsightsStandardEnvironmentPtrOutput
func (TimeSeriesInsightsStandardEnvironmentPtrOutput) ToTimeSeriesInsightsStandardEnvironmentPtrOutputWithContext ¶
func (o TimeSeriesInsightsStandardEnvironmentPtrOutput) ToTimeSeriesInsightsStandardEnvironmentPtrOutputWithContext(ctx context.Context) TimeSeriesInsightsStandardEnvironmentPtrOutput
type TimeSeriesInsightsStandardEnvironmentState ¶
type TimeSeriesInsightsStandardEnvironmentState struct { // Specifies the ISO8601 timespan specifying the minimum number of days the environment's events will be available for query. Changing this forces a new resource to be created. DataRetentionTime pulumi.StringPtrInput // Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created. Location pulumi.StringPtrInput // Specifies the name of the Azure IoT Time Series Insights Standard Environment. Changing this forces a new resource to be created. Must be globally unique. Name pulumi.StringPtrInput // The name of the event property which will be used to partition data. Changing this forces a new resource to be created. PartitionKey pulumi.StringPtrInput // The name of the resource group in which to create the Azure IoT Time Series Insights Standard Environment. ResourceGroupName pulumi.StringPtrInput // Specifies the SKU Name for this IoT Time Series Insights Standard Environment. It is string consisting of two parts separated by an underscore(\_).The fist part is the `name`, valid values include: `S1` and `S2`. The second part is the `capacity` (e.g. the number of deployed units of the `sku`), which must be a positive `integer` (e.g. `S1_1`). Changing this forces a new resource to be created. SkuName pulumi.StringPtrInput // Specifies the behaviour the IoT Time Series Insights service should take when the environment's capacity has been exceeded. Valid values include `PauseIngress` and `PurgeOldData`. Defaults to `PurgeOldData`. StorageLimitExceededBehavior pulumi.StringPtrInput // A mapping of tags to assign to the resource. Tags pulumi.StringMapInput }
func (TimeSeriesInsightsStandardEnvironmentState) ElementType ¶
func (TimeSeriesInsightsStandardEnvironmentState) ElementType() reflect.Type
Source Files ¶
- consumerGroup.go
- dpsSharedAccessPolicy.go
- endpointEventhub.go
- endpointServicebusQueue.go
- endpointServicebusTopic.go
- endpointStorageContainer.go
- enrichment.go
- fallbackRoute.go
- getDps.go
- getDpsSharedAccessPolicy.go
- getIotHub.go
- getSharedAccessPolicy.go
- init.go
- ioTHub.go
- iotHubCertificate.go
- iotHubDps.go
- pulumiTypes.go
- route.go
- securityDeviceGroup.go
- securitySolution.go
- sharedAccessPolicy.go
- timeSeriesInsightsAccessPolicy.go
- timeSeriesInsightsEventSourceIothub.go
- timeSeriesInsightsGen2Environment.go
- timeSeriesInsightsReferenceDataSet.go
- timeSeriesInsightsStandardEnvironment.go