Documentation ¶
Index ¶
- type Certificate
- type CertificateArgs
- type CertificateArray
- type CertificateArrayInput
- type CertificateArrayOutput
- func (CertificateArrayOutput) ElementType() reflect.Type
- func (o CertificateArrayOutput) Index(i pulumi.IntInput) CertificateOutput
- func (o CertificateArrayOutput) ToCertificateArrayOutput() CertificateArrayOutput
- func (o CertificateArrayOutput) ToCertificateArrayOutputWithContext(ctx context.Context) CertificateArrayOutput
- type CertificateInput
- type CertificateMap
- type CertificateMapInput
- type CertificateMapOutput
- func (CertificateMapOutput) ElementType() reflect.Type
- func (o CertificateMapOutput) MapIndex(k pulumi.StringInput) CertificateOutput
- func (o CertificateMapOutput) ToCertificateMapOutput() CertificateMapOutput
- func (o CertificateMapOutput) ToCertificateMapOutputWithContext(ctx context.Context) CertificateMapOutput
- type CertificateOutput
- func (o CertificateOutput) CertificateContent() pulumi.StringOutput
- func (CertificateOutput) ElementType() reflect.Type
- func (o CertificateOutput) IothubName() pulumi.StringOutput
- func (o CertificateOutput) IsVerified() pulumi.BoolPtrOutput
- func (o CertificateOutput) Name() pulumi.StringOutput
- func (o CertificateOutput) ResourceGroupName() pulumi.StringOutput
- func (o CertificateOutput) ToCertificateOutput() CertificateOutput
- func (o CertificateOutput) ToCertificateOutputWithContext(ctx context.Context) CertificateOutput
- type CertificateState
- type ConsumerGroup
- 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) EventhubEndpointName() pulumi.StringOutput
- func (o ConsumerGroupOutput) IothubName() pulumi.StringOutput
- func (o ConsumerGroupOutput) Name() pulumi.StringOutput
- func (o ConsumerGroupOutput) ResourceGroupName() pulumi.StringOutput
- func (o ConsumerGroupOutput) ToConsumerGroupOutput() ConsumerGroupOutput
- func (o ConsumerGroupOutput) ToConsumerGroupOutputWithContext(ctx context.Context) ConsumerGroupOutput
- type ConsumerGroupState
- type DpsSharedAccessPolicy
- 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) EnrollmentRead() pulumi.BoolPtrOutput
- func (o DpsSharedAccessPolicyOutput) EnrollmentWrite() pulumi.BoolPtrOutput
- func (o DpsSharedAccessPolicyOutput) IothubDpsName() pulumi.StringOutput
- func (o DpsSharedAccessPolicyOutput) Name() pulumi.StringOutput
- func (o DpsSharedAccessPolicyOutput) PrimaryConnectionString() pulumi.StringOutput
- func (o DpsSharedAccessPolicyOutput) PrimaryKey() pulumi.StringOutput
- func (o DpsSharedAccessPolicyOutput) RegistrationRead() pulumi.BoolPtrOutput
- func (o DpsSharedAccessPolicyOutput) RegistrationWrite() pulumi.BoolPtrOutput
- func (o DpsSharedAccessPolicyOutput) ResourceGroupName() pulumi.StringOutput
- func (o DpsSharedAccessPolicyOutput) SecondaryConnectionString() pulumi.StringOutput
- func (o DpsSharedAccessPolicyOutput) SecondaryKey() pulumi.StringOutput
- func (o DpsSharedAccessPolicyOutput) ServiceConfig() pulumi.BoolPtrOutput
- func (o DpsSharedAccessPolicyOutput) ToDpsSharedAccessPolicyOutput() DpsSharedAccessPolicyOutput
- func (o DpsSharedAccessPolicyOutput) ToDpsSharedAccessPolicyOutputWithContext(ctx context.Context) DpsSharedAccessPolicyOutput
- type DpsSharedAccessPolicyState
- type EndpointCosmosdbAccount
- type EndpointCosmosdbAccountArgs
- type EndpointCosmosdbAccountArray
- func (EndpointCosmosdbAccountArray) ElementType() reflect.Type
- func (i EndpointCosmosdbAccountArray) ToEndpointCosmosdbAccountArrayOutput() EndpointCosmosdbAccountArrayOutput
- func (i EndpointCosmosdbAccountArray) ToEndpointCosmosdbAccountArrayOutputWithContext(ctx context.Context) EndpointCosmosdbAccountArrayOutput
- type EndpointCosmosdbAccountArrayInput
- type EndpointCosmosdbAccountArrayOutput
- func (EndpointCosmosdbAccountArrayOutput) ElementType() reflect.Type
- func (o EndpointCosmosdbAccountArrayOutput) Index(i pulumi.IntInput) EndpointCosmosdbAccountOutput
- func (o EndpointCosmosdbAccountArrayOutput) ToEndpointCosmosdbAccountArrayOutput() EndpointCosmosdbAccountArrayOutput
- func (o EndpointCosmosdbAccountArrayOutput) ToEndpointCosmosdbAccountArrayOutputWithContext(ctx context.Context) EndpointCosmosdbAccountArrayOutput
- type EndpointCosmosdbAccountInput
- type EndpointCosmosdbAccountMap
- func (EndpointCosmosdbAccountMap) ElementType() reflect.Type
- func (i EndpointCosmosdbAccountMap) ToEndpointCosmosdbAccountMapOutput() EndpointCosmosdbAccountMapOutput
- func (i EndpointCosmosdbAccountMap) ToEndpointCosmosdbAccountMapOutputWithContext(ctx context.Context) EndpointCosmosdbAccountMapOutput
- type EndpointCosmosdbAccountMapInput
- type EndpointCosmosdbAccountMapOutput
- func (EndpointCosmosdbAccountMapOutput) ElementType() reflect.Type
- func (o EndpointCosmosdbAccountMapOutput) MapIndex(k pulumi.StringInput) EndpointCosmosdbAccountOutput
- func (o EndpointCosmosdbAccountMapOutput) ToEndpointCosmosdbAccountMapOutput() EndpointCosmosdbAccountMapOutput
- func (o EndpointCosmosdbAccountMapOutput) ToEndpointCosmosdbAccountMapOutputWithContext(ctx context.Context) EndpointCosmosdbAccountMapOutput
- type EndpointCosmosdbAccountOutput
- func (o EndpointCosmosdbAccountOutput) AuthenticationType() pulumi.StringPtrOutput
- func (o EndpointCosmosdbAccountOutput) ContainerName() pulumi.StringOutput
- func (o EndpointCosmosdbAccountOutput) DatabaseName() pulumi.StringOutput
- func (EndpointCosmosdbAccountOutput) ElementType() reflect.Type
- func (o EndpointCosmosdbAccountOutput) EndpointUri() pulumi.StringOutput
- func (o EndpointCosmosdbAccountOutput) IdentityId() pulumi.StringPtrOutput
- func (o EndpointCosmosdbAccountOutput) IothubId() pulumi.StringOutput
- func (o EndpointCosmosdbAccountOutput) Name() pulumi.StringOutput
- func (o EndpointCosmosdbAccountOutput) PartitionKeyName() pulumi.StringPtrOutput
- func (o EndpointCosmosdbAccountOutput) PartitionKeyTemplate() pulumi.StringPtrOutput
- func (o EndpointCosmosdbAccountOutput) PrimaryKey() pulumi.StringPtrOutput
- func (o EndpointCosmosdbAccountOutput) ResourceGroupName() pulumi.StringOutput
- func (o EndpointCosmosdbAccountOutput) SecondaryKey() pulumi.StringPtrOutput
- func (o EndpointCosmosdbAccountOutput) ToEndpointCosmosdbAccountOutput() EndpointCosmosdbAccountOutput
- func (o EndpointCosmosdbAccountOutput) ToEndpointCosmosdbAccountOutputWithContext(ctx context.Context) EndpointCosmosdbAccountOutput
- type EndpointCosmosdbAccountState
- type EndpointEventhub
- 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 (o EndpointEventhubOutput) AuthenticationType() pulumi.StringPtrOutput
- func (o EndpointEventhubOutput) ConnectionString() pulumi.StringPtrOutput
- func (EndpointEventhubOutput) ElementType() reflect.Type
- func (o EndpointEventhubOutput) EndpointUri() pulumi.StringPtrOutput
- func (o EndpointEventhubOutput) EntityPath() pulumi.StringPtrOutput
- func (o EndpointEventhubOutput) IdentityId() pulumi.StringPtrOutput
- func (o EndpointEventhubOutput) IothubId() pulumi.StringOutput
- func (o EndpointEventhubOutput) Name() pulumi.StringOutput
- func (o EndpointEventhubOutput) ResourceGroupName() pulumi.StringOutput
- func (o EndpointEventhubOutput) ToEndpointEventhubOutput() EndpointEventhubOutput
- func (o EndpointEventhubOutput) ToEndpointEventhubOutputWithContext(ctx context.Context) EndpointEventhubOutput
- type EndpointEventhubState
- type EndpointServicebusQueue
- 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 (o EndpointServicebusQueueOutput) AuthenticationType() pulumi.StringPtrOutput
- func (o EndpointServicebusQueueOutput) ConnectionString() pulumi.StringPtrOutput
- func (EndpointServicebusQueueOutput) ElementType() reflect.Type
- func (o EndpointServicebusQueueOutput) EndpointUri() pulumi.StringPtrOutput
- func (o EndpointServicebusQueueOutput) EntityPath() pulumi.StringPtrOutput
- func (o EndpointServicebusQueueOutput) IdentityId() pulumi.StringPtrOutput
- func (o EndpointServicebusQueueOutput) IothubId() pulumi.StringOutput
- func (o EndpointServicebusQueueOutput) Name() pulumi.StringOutput
- func (o EndpointServicebusQueueOutput) ResourceGroupName() pulumi.StringOutput
- func (o EndpointServicebusQueueOutput) ToEndpointServicebusQueueOutput() EndpointServicebusQueueOutput
- func (o EndpointServicebusQueueOutput) ToEndpointServicebusQueueOutputWithContext(ctx context.Context) EndpointServicebusQueueOutput
- type EndpointServicebusQueueState
- type EndpointServicebusTopic
- 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 (o EndpointServicebusTopicOutput) AuthenticationType() pulumi.StringPtrOutput
- func (o EndpointServicebusTopicOutput) ConnectionString() pulumi.StringPtrOutput
- func (EndpointServicebusTopicOutput) ElementType() reflect.Type
- func (o EndpointServicebusTopicOutput) EndpointUri() pulumi.StringPtrOutput
- func (o EndpointServicebusTopicOutput) EntityPath() pulumi.StringPtrOutput
- func (o EndpointServicebusTopicOutput) IdentityId() pulumi.StringPtrOutput
- func (o EndpointServicebusTopicOutput) IothubId() pulumi.StringOutput
- func (o EndpointServicebusTopicOutput) Name() pulumi.StringOutput
- func (o EndpointServicebusTopicOutput) ResourceGroupName() pulumi.StringOutput
- func (o EndpointServicebusTopicOutput) ToEndpointServicebusTopicOutput() EndpointServicebusTopicOutput
- func (o EndpointServicebusTopicOutput) ToEndpointServicebusTopicOutputWithContext(ctx context.Context) EndpointServicebusTopicOutput
- type EndpointServicebusTopicState
- type EndpointStorageContainer
- 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 (o EndpointStorageContainerOutput) AuthenticationType() pulumi.StringPtrOutput
- func (o EndpointStorageContainerOutput) BatchFrequencyInSeconds() pulumi.IntPtrOutput
- func (o EndpointStorageContainerOutput) ConnectionString() pulumi.StringPtrOutput
- func (o EndpointStorageContainerOutput) ContainerName() pulumi.StringOutput
- func (EndpointStorageContainerOutput) ElementType() reflect.Type
- func (o EndpointStorageContainerOutput) Encoding() pulumi.StringPtrOutput
- func (o EndpointStorageContainerOutput) EndpointUri() pulumi.StringPtrOutput
- func (o EndpointStorageContainerOutput) FileNameFormat() pulumi.StringPtrOutput
- func (o EndpointStorageContainerOutput) IdentityId() pulumi.StringPtrOutput
- func (o EndpointStorageContainerOutput) IothubId() pulumi.StringOutput
- func (o EndpointStorageContainerOutput) MaxChunkSizeInBytes() pulumi.IntPtrOutput
- func (o EndpointStorageContainerOutput) Name() pulumi.StringOutput
- func (o EndpointStorageContainerOutput) ResourceGroupName() pulumi.StringOutput
- func (o EndpointStorageContainerOutput) ToEndpointStorageContainerOutput() EndpointStorageContainerOutput
- func (o EndpointStorageContainerOutput) ToEndpointStorageContainerOutputWithContext(ctx context.Context) EndpointStorageContainerOutput
- type EndpointStorageContainerState
- type Enrichment
- 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) EndpointNames() pulumi.StringArrayOutput
- func (o EnrichmentOutput) IothubName() pulumi.StringOutput
- func (o EnrichmentOutput) Key() pulumi.StringOutput
- func (o EnrichmentOutput) ResourceGroupName() pulumi.StringOutput
- func (o EnrichmentOutput) ToEnrichmentOutput() EnrichmentOutput
- func (o EnrichmentOutput) ToEnrichmentOutputWithContext(ctx context.Context) EnrichmentOutput
- func (o EnrichmentOutput) Value() pulumi.StringOutput
- type EnrichmentState
- type FallbackRoute
- 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 (o FallbackRouteOutput) Condition() pulumi.StringPtrOutput
- func (FallbackRouteOutput) ElementType() reflect.Type
- func (o FallbackRouteOutput) Enabled() pulumi.BoolOutput
- func (o FallbackRouteOutput) EndpointNames() pulumi.StringOutput
- func (o FallbackRouteOutput) IothubName() pulumi.StringOutput
- func (o FallbackRouteOutput) ResourceGroupName() pulumi.StringOutput
- func (o FallbackRouteOutput) Source() pulumi.StringPtrOutput
- func (o FallbackRouteOutput) ToFallbackRouteOutput() FallbackRouteOutput
- func (o FallbackRouteOutput) ToFallbackRouteOutputWithContext(ctx context.Context) FallbackRouteOutput
- type FallbackRouteState
- type FileUpload
- type FileUploadArgs
- type FileUploadArray
- type FileUploadArrayInput
- type FileUploadArrayOutput
- func (FileUploadArrayOutput) ElementType() reflect.Type
- func (o FileUploadArrayOutput) Index(i pulumi.IntInput) FileUploadOutput
- func (o FileUploadArrayOutput) ToFileUploadArrayOutput() FileUploadArrayOutput
- func (o FileUploadArrayOutput) ToFileUploadArrayOutputWithContext(ctx context.Context) FileUploadArrayOutput
- type FileUploadInput
- type FileUploadMap
- type FileUploadMapInput
- type FileUploadMapOutput
- func (FileUploadMapOutput) ElementType() reflect.Type
- func (o FileUploadMapOutput) MapIndex(k pulumi.StringInput) FileUploadOutput
- func (o FileUploadMapOutput) ToFileUploadMapOutput() FileUploadMapOutput
- func (o FileUploadMapOutput) ToFileUploadMapOutputWithContext(ctx context.Context) FileUploadMapOutput
- type FileUploadOutput
- func (o FileUploadOutput) AuthenticationType() pulumi.StringPtrOutput
- func (o FileUploadOutput) ConnectionString() pulumi.StringOutput
- func (o FileUploadOutput) ContainerName() pulumi.StringOutput
- func (o FileUploadOutput) DefaultTtl() pulumi.StringPtrOutput
- func (FileUploadOutput) ElementType() reflect.Type
- func (o FileUploadOutput) IdentityId() pulumi.StringPtrOutput
- func (o FileUploadOutput) IothubId() pulumi.StringOutput
- func (o FileUploadOutput) LockDuration() pulumi.StringPtrOutput
- func (o FileUploadOutput) MaxDeliveryCount() pulumi.IntPtrOutput
- func (o FileUploadOutput) NotificationsEnabled() pulumi.BoolPtrOutput
- func (o FileUploadOutput) SasTtl() pulumi.StringPtrOutput
- func (o FileUploadOutput) ToFileUploadOutput() FileUploadOutput
- func (o FileUploadOutput) ToFileUploadOutputWithContext(ctx context.Context) FileUploadOutput
- type FileUploadState
- type GetDpsArgs
- type GetDpsOutputArgs
- type GetDpsResult
- type GetDpsResultOutput
- func (o GetDpsResultOutput) AllocationPolicy() pulumi.StringOutput
- func (o GetDpsResultOutput) DeviceProvisioningHostName() pulumi.StringOutput
- func (GetDpsResultOutput) ElementType() reflect.Type
- func (o GetDpsResultOutput) Id() pulumi.StringOutput
- func (o GetDpsResultOutput) IdScope() pulumi.StringOutput
- func (o GetDpsResultOutput) Location() pulumi.StringOutput
- func (o GetDpsResultOutput) Name() pulumi.StringOutput
- func (o GetDpsResultOutput) ResourceGroupName() pulumi.StringOutput
- func (o GetDpsResultOutput) ServiceOperationsHostName() pulumi.StringOutput
- func (o GetDpsResultOutput) Tags() pulumi.StringMapOutput
- func (o GetDpsResultOutput) ToGetDpsResultOutput() GetDpsResultOutput
- func (o GetDpsResultOutput) ToGetDpsResultOutputWithContext(ctx context.Context) GetDpsResultOutput
- type GetIotHubArgs
- type GetIotHubIdentity
- type GetIotHubIdentityArgs
- type GetIotHubIdentityArray
- type GetIotHubIdentityArrayInput
- type GetIotHubIdentityArrayOutput
- func (GetIotHubIdentityArrayOutput) ElementType() reflect.Type
- func (o GetIotHubIdentityArrayOutput) Index(i pulumi.IntInput) GetIotHubIdentityOutput
- func (o GetIotHubIdentityArrayOutput) ToGetIotHubIdentityArrayOutput() GetIotHubIdentityArrayOutput
- func (o GetIotHubIdentityArrayOutput) ToGetIotHubIdentityArrayOutputWithContext(ctx context.Context) GetIotHubIdentityArrayOutput
- type GetIotHubIdentityInput
- type GetIotHubIdentityOutput
- func (GetIotHubIdentityOutput) ElementType() reflect.Type
- func (o GetIotHubIdentityOutput) IdentityIds() pulumi.StringArrayOutput
- func (o GetIotHubIdentityOutput) PrincipalId() pulumi.StringOutput
- func (o GetIotHubIdentityOutput) TenantId() pulumi.StringOutput
- func (o GetIotHubIdentityOutput) ToGetIotHubIdentityOutput() GetIotHubIdentityOutput
- func (o GetIotHubIdentityOutput) ToGetIotHubIdentityOutputWithContext(ctx context.Context) GetIotHubIdentityOutput
- func (o GetIotHubIdentityOutput) Type() pulumi.StringOutput
- type GetIotHubOutputArgs
- type GetIotHubResult
- type GetIotHubResultOutput
- func (GetIotHubResultOutput) ElementType() reflect.Type
- func (o GetIotHubResultOutput) Hostname() pulumi.StringOutput
- func (o GetIotHubResultOutput) Id() pulumi.StringOutput
- func (o GetIotHubResultOutput) Identities() GetIotHubIdentityArrayOutput
- func (o GetIotHubResultOutput) Name() pulumi.StringOutput
- func (o GetIotHubResultOutput) ResourceGroupName() pulumi.StringOutput
- func (o GetIotHubResultOutput) Tags() pulumi.StringMapOutput
- func (o GetIotHubResultOutput) ToGetIotHubResultOutput() GetIotHubResultOutput
- func (o GetIotHubResultOutput) ToGetIotHubResultOutputWithContext(ctx context.Context) GetIotHubResultOutput
- type IoTHub
- type IoTHubArgs
- type IoTHubArray
- type IoTHubArrayInput
- type IoTHubArrayOutput
- type IoTHubCloudToDevice
- type IoTHubCloudToDeviceArgs
- func (IoTHubCloudToDeviceArgs) ElementType() reflect.Type
- func (i IoTHubCloudToDeviceArgs) ToIoTHubCloudToDeviceOutput() IoTHubCloudToDeviceOutput
- func (i IoTHubCloudToDeviceArgs) ToIoTHubCloudToDeviceOutputWithContext(ctx context.Context) IoTHubCloudToDeviceOutput
- func (i IoTHubCloudToDeviceArgs) ToIoTHubCloudToDevicePtrOutput() IoTHubCloudToDevicePtrOutput
- func (i IoTHubCloudToDeviceArgs) ToIoTHubCloudToDevicePtrOutputWithContext(ctx context.Context) IoTHubCloudToDevicePtrOutput
- type IoTHubCloudToDeviceFeedback
- type IoTHubCloudToDeviceFeedbackArgs
- func (IoTHubCloudToDeviceFeedbackArgs) ElementType() reflect.Type
- func (i IoTHubCloudToDeviceFeedbackArgs) ToIoTHubCloudToDeviceFeedbackOutput() IoTHubCloudToDeviceFeedbackOutput
- func (i IoTHubCloudToDeviceFeedbackArgs) ToIoTHubCloudToDeviceFeedbackOutputWithContext(ctx context.Context) IoTHubCloudToDeviceFeedbackOutput
- type IoTHubCloudToDeviceFeedbackArray
- func (IoTHubCloudToDeviceFeedbackArray) ElementType() reflect.Type
- func (i IoTHubCloudToDeviceFeedbackArray) ToIoTHubCloudToDeviceFeedbackArrayOutput() IoTHubCloudToDeviceFeedbackArrayOutput
- func (i IoTHubCloudToDeviceFeedbackArray) ToIoTHubCloudToDeviceFeedbackArrayOutputWithContext(ctx context.Context) IoTHubCloudToDeviceFeedbackArrayOutput
- type IoTHubCloudToDeviceFeedbackArrayInput
- type IoTHubCloudToDeviceFeedbackArrayOutput
- func (IoTHubCloudToDeviceFeedbackArrayOutput) ElementType() reflect.Type
- func (o IoTHubCloudToDeviceFeedbackArrayOutput) Index(i pulumi.IntInput) IoTHubCloudToDeviceFeedbackOutput
- func (o IoTHubCloudToDeviceFeedbackArrayOutput) ToIoTHubCloudToDeviceFeedbackArrayOutput() IoTHubCloudToDeviceFeedbackArrayOutput
- func (o IoTHubCloudToDeviceFeedbackArrayOutput) ToIoTHubCloudToDeviceFeedbackArrayOutputWithContext(ctx context.Context) IoTHubCloudToDeviceFeedbackArrayOutput
- type IoTHubCloudToDeviceFeedbackInput
- type IoTHubCloudToDeviceFeedbackOutput
- func (IoTHubCloudToDeviceFeedbackOutput) ElementType() reflect.Type
- func (o IoTHubCloudToDeviceFeedbackOutput) LockDuration() pulumi.StringPtrOutput
- func (o IoTHubCloudToDeviceFeedbackOutput) MaxDeliveryCount() pulumi.IntPtrOutput
- func (o IoTHubCloudToDeviceFeedbackOutput) TimeToLive() pulumi.StringPtrOutput
- func (o IoTHubCloudToDeviceFeedbackOutput) ToIoTHubCloudToDeviceFeedbackOutput() IoTHubCloudToDeviceFeedbackOutput
- func (o IoTHubCloudToDeviceFeedbackOutput) ToIoTHubCloudToDeviceFeedbackOutputWithContext(ctx context.Context) IoTHubCloudToDeviceFeedbackOutput
- type IoTHubCloudToDeviceInput
- type IoTHubCloudToDeviceOutput
- func (o IoTHubCloudToDeviceOutput) DefaultTtl() pulumi.StringPtrOutput
- func (IoTHubCloudToDeviceOutput) ElementType() reflect.Type
- func (o IoTHubCloudToDeviceOutput) Feedbacks() IoTHubCloudToDeviceFeedbackArrayOutput
- func (o IoTHubCloudToDeviceOutput) MaxDeliveryCount() pulumi.IntPtrOutput
- func (o IoTHubCloudToDeviceOutput) ToIoTHubCloudToDeviceOutput() IoTHubCloudToDeviceOutput
- func (o IoTHubCloudToDeviceOutput) ToIoTHubCloudToDeviceOutputWithContext(ctx context.Context) IoTHubCloudToDeviceOutput
- func (o IoTHubCloudToDeviceOutput) ToIoTHubCloudToDevicePtrOutput() IoTHubCloudToDevicePtrOutput
- func (o IoTHubCloudToDeviceOutput) ToIoTHubCloudToDevicePtrOutputWithContext(ctx context.Context) IoTHubCloudToDevicePtrOutput
- type IoTHubCloudToDevicePtrInput
- type IoTHubCloudToDevicePtrOutput
- func (o IoTHubCloudToDevicePtrOutput) DefaultTtl() pulumi.StringPtrOutput
- func (o IoTHubCloudToDevicePtrOutput) Elem() IoTHubCloudToDeviceOutput
- func (IoTHubCloudToDevicePtrOutput) ElementType() reflect.Type
- func (o IoTHubCloudToDevicePtrOutput) Feedbacks() IoTHubCloudToDeviceFeedbackArrayOutput
- func (o IoTHubCloudToDevicePtrOutput) MaxDeliveryCount() pulumi.IntPtrOutput
- func (o IoTHubCloudToDevicePtrOutput) ToIoTHubCloudToDevicePtrOutput() IoTHubCloudToDevicePtrOutput
- func (o IoTHubCloudToDevicePtrOutput) ToIoTHubCloudToDevicePtrOutputWithContext(ctx context.Context) IoTHubCloudToDevicePtrOutput
- 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) AuthenticationType() pulumi.StringPtrOutput
- func (o IoTHubEndpointOutput) BatchFrequencyInSeconds() pulumi.IntPtrOutput
- func (o IoTHubEndpointOutput) ConnectionString() pulumi.StringPtrOutput
- func (o IoTHubEndpointOutput) ContainerName() pulumi.StringPtrOutput
- func (IoTHubEndpointOutput) ElementType() reflect.Type
- func (o IoTHubEndpointOutput) Encoding() pulumi.StringPtrOutput
- func (o IoTHubEndpointOutput) EndpointUri() pulumi.StringPtrOutput
- func (o IoTHubEndpointOutput) EntityPath() pulumi.StringPtrOutput
- func (o IoTHubEndpointOutput) FileNameFormat() pulumi.StringPtrOutput
- func (o IoTHubEndpointOutput) IdentityId() 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) AuthenticationType() pulumi.StringPtrOutput
- 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) IdentityId() pulumi.StringPtrOutput
- 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) AuthenticationType() pulumi.StringPtrOutput
- 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) IdentityId() pulumi.StringPtrOutput
- 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 IoTHubIdentity
- type IoTHubIdentityArgs
- func (IoTHubIdentityArgs) ElementType() reflect.Type
- func (i IoTHubIdentityArgs) ToIoTHubIdentityOutput() IoTHubIdentityOutput
- func (i IoTHubIdentityArgs) ToIoTHubIdentityOutputWithContext(ctx context.Context) IoTHubIdentityOutput
- func (i IoTHubIdentityArgs) ToIoTHubIdentityPtrOutput() IoTHubIdentityPtrOutput
- func (i IoTHubIdentityArgs) ToIoTHubIdentityPtrOutputWithContext(ctx context.Context) IoTHubIdentityPtrOutput
- type IoTHubIdentityInput
- type IoTHubIdentityOutput
- func (IoTHubIdentityOutput) ElementType() reflect.Type
- func (o IoTHubIdentityOutput) IdentityIds() pulumi.StringArrayOutput
- func (o IoTHubIdentityOutput) PrincipalId() pulumi.StringPtrOutput
- func (o IoTHubIdentityOutput) TenantId() pulumi.StringPtrOutput
- func (o IoTHubIdentityOutput) ToIoTHubIdentityOutput() IoTHubIdentityOutput
- func (o IoTHubIdentityOutput) ToIoTHubIdentityOutputWithContext(ctx context.Context) IoTHubIdentityOutput
- func (o IoTHubIdentityOutput) ToIoTHubIdentityPtrOutput() IoTHubIdentityPtrOutput
- func (o IoTHubIdentityOutput) ToIoTHubIdentityPtrOutputWithContext(ctx context.Context) IoTHubIdentityPtrOutput
- func (o IoTHubIdentityOutput) Type() pulumi.StringOutput
- type IoTHubIdentityPtrInput
- type IoTHubIdentityPtrOutput
- func (o IoTHubIdentityPtrOutput) Elem() IoTHubIdentityOutput
- func (IoTHubIdentityPtrOutput) ElementType() reflect.Type
- func (o IoTHubIdentityPtrOutput) IdentityIds() pulumi.StringArrayOutput
- func (o IoTHubIdentityPtrOutput) PrincipalId() pulumi.StringPtrOutput
- func (o IoTHubIdentityPtrOutput) TenantId() pulumi.StringPtrOutput
- func (o IoTHubIdentityPtrOutput) ToIoTHubIdentityPtrOutput() IoTHubIdentityPtrOutput
- func (o IoTHubIdentityPtrOutput) ToIoTHubIdentityPtrOutputWithContext(ctx context.Context) IoTHubIdentityPtrOutput
- func (o IoTHubIdentityPtrOutput) Type() pulumi.StringPtrOutput
- type IoTHubInput
- type IoTHubMap
- type IoTHubMapInput
- type IoTHubMapOutput
- type IoTHubNetworkRuleSet
- type IoTHubNetworkRuleSetArgs
- type IoTHubNetworkRuleSetArray
- type IoTHubNetworkRuleSetArrayInput
- type IoTHubNetworkRuleSetArrayOutput
- func (IoTHubNetworkRuleSetArrayOutput) ElementType() reflect.Type
- func (o IoTHubNetworkRuleSetArrayOutput) Index(i pulumi.IntInput) IoTHubNetworkRuleSetOutput
- func (o IoTHubNetworkRuleSetArrayOutput) ToIoTHubNetworkRuleSetArrayOutput() IoTHubNetworkRuleSetArrayOutput
- func (o IoTHubNetworkRuleSetArrayOutput) ToIoTHubNetworkRuleSetArrayOutputWithContext(ctx context.Context) IoTHubNetworkRuleSetArrayOutput
- type IoTHubNetworkRuleSetInput
- type IoTHubNetworkRuleSetIpRule
- type IoTHubNetworkRuleSetIpRuleArgs
- func (IoTHubNetworkRuleSetIpRuleArgs) ElementType() reflect.Type
- func (i IoTHubNetworkRuleSetIpRuleArgs) ToIoTHubNetworkRuleSetIpRuleOutput() IoTHubNetworkRuleSetIpRuleOutput
- func (i IoTHubNetworkRuleSetIpRuleArgs) ToIoTHubNetworkRuleSetIpRuleOutputWithContext(ctx context.Context) IoTHubNetworkRuleSetIpRuleOutput
- type IoTHubNetworkRuleSetIpRuleArray
- func (IoTHubNetworkRuleSetIpRuleArray) ElementType() reflect.Type
- func (i IoTHubNetworkRuleSetIpRuleArray) ToIoTHubNetworkRuleSetIpRuleArrayOutput() IoTHubNetworkRuleSetIpRuleArrayOutput
- func (i IoTHubNetworkRuleSetIpRuleArray) ToIoTHubNetworkRuleSetIpRuleArrayOutputWithContext(ctx context.Context) IoTHubNetworkRuleSetIpRuleArrayOutput
- type IoTHubNetworkRuleSetIpRuleArrayInput
- type IoTHubNetworkRuleSetIpRuleArrayOutput
- func (IoTHubNetworkRuleSetIpRuleArrayOutput) ElementType() reflect.Type
- func (o IoTHubNetworkRuleSetIpRuleArrayOutput) Index(i pulumi.IntInput) IoTHubNetworkRuleSetIpRuleOutput
- func (o IoTHubNetworkRuleSetIpRuleArrayOutput) ToIoTHubNetworkRuleSetIpRuleArrayOutput() IoTHubNetworkRuleSetIpRuleArrayOutput
- func (o IoTHubNetworkRuleSetIpRuleArrayOutput) ToIoTHubNetworkRuleSetIpRuleArrayOutputWithContext(ctx context.Context) IoTHubNetworkRuleSetIpRuleArrayOutput
- type IoTHubNetworkRuleSetIpRuleInput
- type IoTHubNetworkRuleSetIpRuleOutput
- func (o IoTHubNetworkRuleSetIpRuleOutput) Action() pulumi.StringPtrOutput
- func (IoTHubNetworkRuleSetIpRuleOutput) ElementType() reflect.Type
- func (o IoTHubNetworkRuleSetIpRuleOutput) IpMask() pulumi.StringOutput
- func (o IoTHubNetworkRuleSetIpRuleOutput) Name() pulumi.StringOutput
- func (o IoTHubNetworkRuleSetIpRuleOutput) ToIoTHubNetworkRuleSetIpRuleOutput() IoTHubNetworkRuleSetIpRuleOutput
- func (o IoTHubNetworkRuleSetIpRuleOutput) ToIoTHubNetworkRuleSetIpRuleOutputWithContext(ctx context.Context) IoTHubNetworkRuleSetIpRuleOutput
- type IoTHubNetworkRuleSetOutput
- func (o IoTHubNetworkRuleSetOutput) ApplyToBuiltinEventhubEndpoint() pulumi.BoolPtrOutput
- func (o IoTHubNetworkRuleSetOutput) DefaultAction() pulumi.StringPtrOutput
- func (IoTHubNetworkRuleSetOutput) ElementType() reflect.Type
- func (o IoTHubNetworkRuleSetOutput) IpRules() IoTHubNetworkRuleSetIpRuleArrayOutput
- func (o IoTHubNetworkRuleSetOutput) ToIoTHubNetworkRuleSetOutput() IoTHubNetworkRuleSetOutput
- func (o IoTHubNetworkRuleSetOutput) ToIoTHubNetworkRuleSetOutputWithContext(ctx context.Context) IoTHubNetworkRuleSetOutput
- type IoTHubOutput
- func (o IoTHubOutput) CloudToDevice() IoTHubCloudToDeviceOutput
- func (IoTHubOutput) ElementType() reflect.Type
- func (o IoTHubOutput) Endpoints() IoTHubEndpointArrayOutput
- func (o IoTHubOutput) Enrichments() IoTHubEnrichmentArrayOutput
- func (o IoTHubOutput) EventHubEventsEndpoint() pulumi.StringOutput
- func (o IoTHubOutput) EventHubEventsNamespace() pulumi.StringOutput
- func (o IoTHubOutput) EventHubEventsPath() pulumi.StringOutput
- func (o IoTHubOutput) EventHubOperationsEndpoint() pulumi.StringOutput
- func (o IoTHubOutput) EventHubOperationsPath() pulumi.StringOutput
- func (o IoTHubOutput) EventHubPartitionCount() pulumi.IntPtrOutput
- func (o IoTHubOutput) EventHubRetentionInDays() pulumi.IntPtrOutput
- func (o IoTHubOutput) FallbackRoute() IoTHubFallbackRouteOutput
- func (o IoTHubOutput) FileUpload() IoTHubFileUploadPtrOutput
- func (o IoTHubOutput) Hostname() pulumi.StringOutput
- func (o IoTHubOutput) Identity() IoTHubIdentityPtrOutput
- func (o IoTHubOutput) LocalAuthenticationEnabled() pulumi.BoolPtrOutput
- func (o IoTHubOutput) Location() pulumi.StringOutput
- func (o IoTHubOutput) MinTlsVersion() pulumi.StringPtrOutput
- func (o IoTHubOutput) Name() pulumi.StringOutput
- func (o IoTHubOutput) NetworkRuleSets() IoTHubNetworkRuleSetArrayOutput
- func (o IoTHubOutput) PublicNetworkAccessEnabled() pulumi.BoolPtrOutput
- func (o IoTHubOutput) ResourceGroupName() pulumi.StringOutput
- func (o IoTHubOutput) Routes() IoTHubRouteArrayOutput
- func (o IoTHubOutput) SharedAccessPolicies() IoTHubSharedAccessPolicyArrayOutput
- func (o IoTHubOutput) Sku() IoTHubSkuOutput
- func (o IoTHubOutput) Tags() pulumi.StringMapOutput
- func (o IoTHubOutput) ToIoTHubOutput() IoTHubOutput
- func (o IoTHubOutput) ToIoTHubOutputWithContext(ctx context.Context) IoTHubOutput
- func (o IoTHubOutput) Type() pulumi.StringOutput
- 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
- 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 (o IotHubCertificateOutput) CertificateContent() pulumi.StringOutput
- func (IotHubCertificateOutput) ElementType() reflect.Type
- func (o IotHubCertificateOutput) IotDpsName() pulumi.StringOutput
- func (o IotHubCertificateOutput) IsVerified() pulumi.BoolPtrOutput
- func (o IotHubCertificateOutput) Name() pulumi.StringOutput
- func (o IotHubCertificateOutput) ResourceGroupName() pulumi.StringOutput
- func (o IotHubCertificateOutput) ToIotHubCertificateOutput() IotHubCertificateOutput
- func (o IotHubCertificateOutput) ToIotHubCertificateOutputWithContext(ctx context.Context) IotHubCertificateOutput
- type IotHubCertificateState
- type IotHubDeviceUpdateAccount
- type IotHubDeviceUpdateAccountArgs
- type IotHubDeviceUpdateAccountArray
- func (IotHubDeviceUpdateAccountArray) ElementType() reflect.Type
- func (i IotHubDeviceUpdateAccountArray) ToIotHubDeviceUpdateAccountArrayOutput() IotHubDeviceUpdateAccountArrayOutput
- func (i IotHubDeviceUpdateAccountArray) ToIotHubDeviceUpdateAccountArrayOutputWithContext(ctx context.Context) IotHubDeviceUpdateAccountArrayOutput
- type IotHubDeviceUpdateAccountArrayInput
- type IotHubDeviceUpdateAccountArrayOutput
- func (IotHubDeviceUpdateAccountArrayOutput) ElementType() reflect.Type
- func (o IotHubDeviceUpdateAccountArrayOutput) Index(i pulumi.IntInput) IotHubDeviceUpdateAccountOutput
- func (o IotHubDeviceUpdateAccountArrayOutput) ToIotHubDeviceUpdateAccountArrayOutput() IotHubDeviceUpdateAccountArrayOutput
- func (o IotHubDeviceUpdateAccountArrayOutput) ToIotHubDeviceUpdateAccountArrayOutputWithContext(ctx context.Context) IotHubDeviceUpdateAccountArrayOutput
- type IotHubDeviceUpdateAccountIdentity
- type IotHubDeviceUpdateAccountIdentityArgs
- func (IotHubDeviceUpdateAccountIdentityArgs) ElementType() reflect.Type
- func (i IotHubDeviceUpdateAccountIdentityArgs) ToIotHubDeviceUpdateAccountIdentityOutput() IotHubDeviceUpdateAccountIdentityOutput
- func (i IotHubDeviceUpdateAccountIdentityArgs) ToIotHubDeviceUpdateAccountIdentityOutputWithContext(ctx context.Context) IotHubDeviceUpdateAccountIdentityOutput
- func (i IotHubDeviceUpdateAccountIdentityArgs) ToIotHubDeviceUpdateAccountIdentityPtrOutput() IotHubDeviceUpdateAccountIdentityPtrOutput
- func (i IotHubDeviceUpdateAccountIdentityArgs) ToIotHubDeviceUpdateAccountIdentityPtrOutputWithContext(ctx context.Context) IotHubDeviceUpdateAccountIdentityPtrOutput
- type IotHubDeviceUpdateAccountIdentityInput
- type IotHubDeviceUpdateAccountIdentityOutput
- func (IotHubDeviceUpdateAccountIdentityOutput) ElementType() reflect.Type
- func (o IotHubDeviceUpdateAccountIdentityOutput) IdentityIds() pulumi.StringArrayOutput
- func (o IotHubDeviceUpdateAccountIdentityOutput) PrincipalId() pulumi.StringPtrOutput
- func (o IotHubDeviceUpdateAccountIdentityOutput) TenantId() pulumi.StringPtrOutput
- func (o IotHubDeviceUpdateAccountIdentityOutput) ToIotHubDeviceUpdateAccountIdentityOutput() IotHubDeviceUpdateAccountIdentityOutput
- func (o IotHubDeviceUpdateAccountIdentityOutput) ToIotHubDeviceUpdateAccountIdentityOutputWithContext(ctx context.Context) IotHubDeviceUpdateAccountIdentityOutput
- func (o IotHubDeviceUpdateAccountIdentityOutput) ToIotHubDeviceUpdateAccountIdentityPtrOutput() IotHubDeviceUpdateAccountIdentityPtrOutput
- func (o IotHubDeviceUpdateAccountIdentityOutput) ToIotHubDeviceUpdateAccountIdentityPtrOutputWithContext(ctx context.Context) IotHubDeviceUpdateAccountIdentityPtrOutput
- func (o IotHubDeviceUpdateAccountIdentityOutput) Type() pulumi.StringOutput
- type IotHubDeviceUpdateAccountIdentityPtrInput
- type IotHubDeviceUpdateAccountIdentityPtrOutput
- func (o IotHubDeviceUpdateAccountIdentityPtrOutput) Elem() IotHubDeviceUpdateAccountIdentityOutput
- func (IotHubDeviceUpdateAccountIdentityPtrOutput) ElementType() reflect.Type
- func (o IotHubDeviceUpdateAccountIdentityPtrOutput) IdentityIds() pulumi.StringArrayOutput
- func (o IotHubDeviceUpdateAccountIdentityPtrOutput) PrincipalId() pulumi.StringPtrOutput
- func (o IotHubDeviceUpdateAccountIdentityPtrOutput) TenantId() pulumi.StringPtrOutput
- func (o IotHubDeviceUpdateAccountIdentityPtrOutput) ToIotHubDeviceUpdateAccountIdentityPtrOutput() IotHubDeviceUpdateAccountIdentityPtrOutput
- func (o IotHubDeviceUpdateAccountIdentityPtrOutput) ToIotHubDeviceUpdateAccountIdentityPtrOutputWithContext(ctx context.Context) IotHubDeviceUpdateAccountIdentityPtrOutput
- func (o IotHubDeviceUpdateAccountIdentityPtrOutput) Type() pulumi.StringPtrOutput
- type IotHubDeviceUpdateAccountInput
- type IotHubDeviceUpdateAccountMap
- func (IotHubDeviceUpdateAccountMap) ElementType() reflect.Type
- func (i IotHubDeviceUpdateAccountMap) ToIotHubDeviceUpdateAccountMapOutput() IotHubDeviceUpdateAccountMapOutput
- func (i IotHubDeviceUpdateAccountMap) ToIotHubDeviceUpdateAccountMapOutputWithContext(ctx context.Context) IotHubDeviceUpdateAccountMapOutput
- type IotHubDeviceUpdateAccountMapInput
- type IotHubDeviceUpdateAccountMapOutput
- func (IotHubDeviceUpdateAccountMapOutput) ElementType() reflect.Type
- func (o IotHubDeviceUpdateAccountMapOutput) MapIndex(k pulumi.StringInput) IotHubDeviceUpdateAccountOutput
- func (o IotHubDeviceUpdateAccountMapOutput) ToIotHubDeviceUpdateAccountMapOutput() IotHubDeviceUpdateAccountMapOutput
- func (o IotHubDeviceUpdateAccountMapOutput) ToIotHubDeviceUpdateAccountMapOutputWithContext(ctx context.Context) IotHubDeviceUpdateAccountMapOutput
- type IotHubDeviceUpdateAccountOutput
- func (IotHubDeviceUpdateAccountOutput) ElementType() reflect.Type
- func (o IotHubDeviceUpdateAccountOutput) HostName() pulumi.StringOutput
- func (o IotHubDeviceUpdateAccountOutput) Identity() IotHubDeviceUpdateAccountIdentityPtrOutput
- func (o IotHubDeviceUpdateAccountOutput) Location() pulumi.StringOutput
- func (o IotHubDeviceUpdateAccountOutput) Name() pulumi.StringOutput
- func (o IotHubDeviceUpdateAccountOutput) PublicNetworkAccessEnabled() pulumi.BoolPtrOutput
- func (o IotHubDeviceUpdateAccountOutput) ResourceGroupName() pulumi.StringOutput
- func (o IotHubDeviceUpdateAccountOutput) Sku() pulumi.StringPtrOutput
- func (o IotHubDeviceUpdateAccountOutput) Tags() pulumi.StringMapOutput
- func (o IotHubDeviceUpdateAccountOutput) ToIotHubDeviceUpdateAccountOutput() IotHubDeviceUpdateAccountOutput
- func (o IotHubDeviceUpdateAccountOutput) ToIotHubDeviceUpdateAccountOutputWithContext(ctx context.Context) IotHubDeviceUpdateAccountOutput
- type IotHubDeviceUpdateAccountState
- type IotHubDeviceUpdateInstance
- func (*IotHubDeviceUpdateInstance) ElementType() reflect.Type
- func (i *IotHubDeviceUpdateInstance) ToIotHubDeviceUpdateInstanceOutput() IotHubDeviceUpdateInstanceOutput
- func (i *IotHubDeviceUpdateInstance) ToIotHubDeviceUpdateInstanceOutputWithContext(ctx context.Context) IotHubDeviceUpdateInstanceOutput
- type IotHubDeviceUpdateInstanceArgs
- type IotHubDeviceUpdateInstanceArray
- func (IotHubDeviceUpdateInstanceArray) ElementType() reflect.Type
- func (i IotHubDeviceUpdateInstanceArray) ToIotHubDeviceUpdateInstanceArrayOutput() IotHubDeviceUpdateInstanceArrayOutput
- func (i IotHubDeviceUpdateInstanceArray) ToIotHubDeviceUpdateInstanceArrayOutputWithContext(ctx context.Context) IotHubDeviceUpdateInstanceArrayOutput
- type IotHubDeviceUpdateInstanceArrayInput
- type IotHubDeviceUpdateInstanceArrayOutput
- func (IotHubDeviceUpdateInstanceArrayOutput) ElementType() reflect.Type
- func (o IotHubDeviceUpdateInstanceArrayOutput) Index(i pulumi.IntInput) IotHubDeviceUpdateInstanceOutput
- func (o IotHubDeviceUpdateInstanceArrayOutput) ToIotHubDeviceUpdateInstanceArrayOutput() IotHubDeviceUpdateInstanceArrayOutput
- func (o IotHubDeviceUpdateInstanceArrayOutput) ToIotHubDeviceUpdateInstanceArrayOutputWithContext(ctx context.Context) IotHubDeviceUpdateInstanceArrayOutput
- type IotHubDeviceUpdateInstanceDiagnosticStorageAccount
- type IotHubDeviceUpdateInstanceDiagnosticStorageAccountArgs
- func (IotHubDeviceUpdateInstanceDiagnosticStorageAccountArgs) ElementType() reflect.Type
- func (i IotHubDeviceUpdateInstanceDiagnosticStorageAccountArgs) ToIotHubDeviceUpdateInstanceDiagnosticStorageAccountOutput() IotHubDeviceUpdateInstanceDiagnosticStorageAccountOutput
- func (i IotHubDeviceUpdateInstanceDiagnosticStorageAccountArgs) ToIotHubDeviceUpdateInstanceDiagnosticStorageAccountOutputWithContext(ctx context.Context) IotHubDeviceUpdateInstanceDiagnosticStorageAccountOutput
- func (i IotHubDeviceUpdateInstanceDiagnosticStorageAccountArgs) ToIotHubDeviceUpdateInstanceDiagnosticStorageAccountPtrOutput() IotHubDeviceUpdateInstanceDiagnosticStorageAccountPtrOutput
- func (i IotHubDeviceUpdateInstanceDiagnosticStorageAccountArgs) ToIotHubDeviceUpdateInstanceDiagnosticStorageAccountPtrOutputWithContext(ctx context.Context) IotHubDeviceUpdateInstanceDiagnosticStorageAccountPtrOutput
- type IotHubDeviceUpdateInstanceDiagnosticStorageAccountInput
- type IotHubDeviceUpdateInstanceDiagnosticStorageAccountOutput
- func (o IotHubDeviceUpdateInstanceDiagnosticStorageAccountOutput) ConnectionString() pulumi.StringOutput
- func (IotHubDeviceUpdateInstanceDiagnosticStorageAccountOutput) ElementType() reflect.Type
- func (o IotHubDeviceUpdateInstanceDiagnosticStorageAccountOutput) Id() pulumi.StringOutput
- func (o IotHubDeviceUpdateInstanceDiagnosticStorageAccountOutput) ToIotHubDeviceUpdateInstanceDiagnosticStorageAccountOutput() IotHubDeviceUpdateInstanceDiagnosticStorageAccountOutput
- func (o IotHubDeviceUpdateInstanceDiagnosticStorageAccountOutput) ToIotHubDeviceUpdateInstanceDiagnosticStorageAccountOutputWithContext(ctx context.Context) IotHubDeviceUpdateInstanceDiagnosticStorageAccountOutput
- func (o IotHubDeviceUpdateInstanceDiagnosticStorageAccountOutput) ToIotHubDeviceUpdateInstanceDiagnosticStorageAccountPtrOutput() IotHubDeviceUpdateInstanceDiagnosticStorageAccountPtrOutput
- func (o IotHubDeviceUpdateInstanceDiagnosticStorageAccountOutput) ToIotHubDeviceUpdateInstanceDiagnosticStorageAccountPtrOutputWithContext(ctx context.Context) IotHubDeviceUpdateInstanceDiagnosticStorageAccountPtrOutput
- type IotHubDeviceUpdateInstanceDiagnosticStorageAccountPtrInput
- type IotHubDeviceUpdateInstanceDiagnosticStorageAccountPtrOutput
- func (o IotHubDeviceUpdateInstanceDiagnosticStorageAccountPtrOutput) ConnectionString() pulumi.StringPtrOutput
- func (o IotHubDeviceUpdateInstanceDiagnosticStorageAccountPtrOutput) Elem() IotHubDeviceUpdateInstanceDiagnosticStorageAccountOutput
- func (IotHubDeviceUpdateInstanceDiagnosticStorageAccountPtrOutput) ElementType() reflect.Type
- func (o IotHubDeviceUpdateInstanceDiagnosticStorageAccountPtrOutput) Id() pulumi.StringPtrOutput
- func (o IotHubDeviceUpdateInstanceDiagnosticStorageAccountPtrOutput) ToIotHubDeviceUpdateInstanceDiagnosticStorageAccountPtrOutput() IotHubDeviceUpdateInstanceDiagnosticStorageAccountPtrOutput
- func (o IotHubDeviceUpdateInstanceDiagnosticStorageAccountPtrOutput) ToIotHubDeviceUpdateInstanceDiagnosticStorageAccountPtrOutputWithContext(ctx context.Context) IotHubDeviceUpdateInstanceDiagnosticStorageAccountPtrOutput
- type IotHubDeviceUpdateInstanceInput
- type IotHubDeviceUpdateInstanceMap
- func (IotHubDeviceUpdateInstanceMap) ElementType() reflect.Type
- func (i IotHubDeviceUpdateInstanceMap) ToIotHubDeviceUpdateInstanceMapOutput() IotHubDeviceUpdateInstanceMapOutput
- func (i IotHubDeviceUpdateInstanceMap) ToIotHubDeviceUpdateInstanceMapOutputWithContext(ctx context.Context) IotHubDeviceUpdateInstanceMapOutput
- type IotHubDeviceUpdateInstanceMapInput
- type IotHubDeviceUpdateInstanceMapOutput
- func (IotHubDeviceUpdateInstanceMapOutput) ElementType() reflect.Type
- func (o IotHubDeviceUpdateInstanceMapOutput) MapIndex(k pulumi.StringInput) IotHubDeviceUpdateInstanceOutput
- func (o IotHubDeviceUpdateInstanceMapOutput) ToIotHubDeviceUpdateInstanceMapOutput() IotHubDeviceUpdateInstanceMapOutput
- func (o IotHubDeviceUpdateInstanceMapOutput) ToIotHubDeviceUpdateInstanceMapOutputWithContext(ctx context.Context) IotHubDeviceUpdateInstanceMapOutput
- type IotHubDeviceUpdateInstanceOutput
- func (o IotHubDeviceUpdateInstanceOutput) DeviceUpdateAccountId() pulumi.StringOutput
- func (o IotHubDeviceUpdateInstanceOutput) DiagnosticEnabled() pulumi.BoolPtrOutput
- func (o IotHubDeviceUpdateInstanceOutput) DiagnosticStorageAccount() IotHubDeviceUpdateInstanceDiagnosticStorageAccountPtrOutput
- func (IotHubDeviceUpdateInstanceOutput) ElementType() reflect.Type
- func (o IotHubDeviceUpdateInstanceOutput) IothubId() pulumi.StringOutput
- func (o IotHubDeviceUpdateInstanceOutput) Name() pulumi.StringOutput
- func (o IotHubDeviceUpdateInstanceOutput) Tags() pulumi.StringMapOutput
- func (o IotHubDeviceUpdateInstanceOutput) ToIotHubDeviceUpdateInstanceOutput() IotHubDeviceUpdateInstanceOutput
- func (o IotHubDeviceUpdateInstanceOutput) ToIotHubDeviceUpdateInstanceOutputWithContext(ctx context.Context) IotHubDeviceUpdateInstanceOutput
- type IotHubDeviceUpdateInstanceState
- type IotHubDps
- 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 IotHubDpsIpFilterRule
- type IotHubDpsIpFilterRuleArgs
- type IotHubDpsIpFilterRuleArray
- func (IotHubDpsIpFilterRuleArray) ElementType() reflect.Type
- func (i IotHubDpsIpFilterRuleArray) ToIotHubDpsIpFilterRuleArrayOutput() IotHubDpsIpFilterRuleArrayOutput
- func (i IotHubDpsIpFilterRuleArray) ToIotHubDpsIpFilterRuleArrayOutputWithContext(ctx context.Context) IotHubDpsIpFilterRuleArrayOutput
- type IotHubDpsIpFilterRuleArrayInput
- type IotHubDpsIpFilterRuleArrayOutput
- func (IotHubDpsIpFilterRuleArrayOutput) ElementType() reflect.Type
- func (o IotHubDpsIpFilterRuleArrayOutput) Index(i pulumi.IntInput) IotHubDpsIpFilterRuleOutput
- func (o IotHubDpsIpFilterRuleArrayOutput) ToIotHubDpsIpFilterRuleArrayOutput() IotHubDpsIpFilterRuleArrayOutput
- func (o IotHubDpsIpFilterRuleArrayOutput) ToIotHubDpsIpFilterRuleArrayOutputWithContext(ctx context.Context) IotHubDpsIpFilterRuleArrayOutput
- type IotHubDpsIpFilterRuleInput
- type IotHubDpsIpFilterRuleOutput
- func (o IotHubDpsIpFilterRuleOutput) Action() pulumi.StringOutput
- func (IotHubDpsIpFilterRuleOutput) ElementType() reflect.Type
- func (o IotHubDpsIpFilterRuleOutput) IpMask() pulumi.StringOutput
- func (o IotHubDpsIpFilterRuleOutput) Name() pulumi.StringOutput
- func (o IotHubDpsIpFilterRuleOutput) Target() pulumi.StringPtrOutput
- func (o IotHubDpsIpFilterRuleOutput) ToIotHubDpsIpFilterRuleOutput() IotHubDpsIpFilterRuleOutput
- func (o IotHubDpsIpFilterRuleOutput) ToIotHubDpsIpFilterRuleOutputWithContext(ctx context.Context) IotHubDpsIpFilterRuleOutput
- 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 (o IotHubDpsOutput) AllocationPolicy() pulumi.StringPtrOutput
- func (o IotHubDpsOutput) DataResidencyEnabled() pulumi.BoolPtrOutput
- func (o IotHubDpsOutput) DeviceProvisioningHostName() pulumi.StringOutput
- func (IotHubDpsOutput) ElementType() reflect.Type
- func (o IotHubDpsOutput) IdScope() pulumi.StringOutput
- func (o IotHubDpsOutput) IpFilterRules() IotHubDpsIpFilterRuleArrayOutput
- func (o IotHubDpsOutput) LinkedHubs() IotHubDpsLinkedHubArrayOutput
- func (o IotHubDpsOutput) Location() pulumi.StringOutput
- func (o IotHubDpsOutput) Name() pulumi.StringOutput
- func (o IotHubDpsOutput) PublicNetworkAccessEnabled() pulumi.BoolPtrOutput
- func (o IotHubDpsOutput) ResourceGroupName() pulumi.StringOutput
- func (o IotHubDpsOutput) ServiceOperationsHostName() pulumi.StringOutput
- func (o IotHubDpsOutput) Sku() IotHubDpsSkuOutput
- func (o IotHubDpsOutput) Tags() pulumi.StringMapOutput
- func (o IotHubDpsOutput) ToIotHubDpsOutput() IotHubDpsOutput
- func (o IotHubDpsOutput) ToIotHubDpsOutputWithContext(ctx context.Context) IotHubDpsOutput
- 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 LookupDpsSharedAccessPolicyOutputArgs
- type LookupDpsSharedAccessPolicyResult
- type LookupDpsSharedAccessPolicyResultOutput
- func (LookupDpsSharedAccessPolicyResultOutput) ElementType() reflect.Type
- func (o LookupDpsSharedAccessPolicyResultOutput) Id() pulumi.StringOutput
- func (o LookupDpsSharedAccessPolicyResultOutput) IothubDpsName() pulumi.StringOutput
- func (o LookupDpsSharedAccessPolicyResultOutput) Name() pulumi.StringOutput
- func (o LookupDpsSharedAccessPolicyResultOutput) PrimaryConnectionString() pulumi.StringOutput
- func (o LookupDpsSharedAccessPolicyResultOutput) PrimaryKey() pulumi.StringOutput
- func (o LookupDpsSharedAccessPolicyResultOutput) ResourceGroupName() pulumi.StringOutput
- func (o LookupDpsSharedAccessPolicyResultOutput) SecondaryConnectionString() pulumi.StringOutput
- func (o LookupDpsSharedAccessPolicyResultOutput) SecondaryKey() pulumi.StringOutput
- func (o LookupDpsSharedAccessPolicyResultOutput) ToLookupDpsSharedAccessPolicyResultOutput() LookupDpsSharedAccessPolicyResultOutput
- func (o LookupDpsSharedAccessPolicyResultOutput) ToLookupDpsSharedAccessPolicyResultOutputWithContext(ctx context.Context) LookupDpsSharedAccessPolicyResultOutput
- type LookupSharedAccessPolicyArgs
- type LookupSharedAccessPolicyOutputArgs
- type LookupSharedAccessPolicyResult
- type LookupSharedAccessPolicyResultOutput
- func (LookupSharedAccessPolicyResultOutput) ElementType() reflect.Type
- func (o LookupSharedAccessPolicyResultOutput) Id() pulumi.StringOutput
- func (o LookupSharedAccessPolicyResultOutput) IothubName() pulumi.StringOutput
- func (o LookupSharedAccessPolicyResultOutput) Name() pulumi.StringOutput
- func (o LookupSharedAccessPolicyResultOutput) PrimaryConnectionString() pulumi.StringOutput
- func (o LookupSharedAccessPolicyResultOutput) PrimaryKey() pulumi.StringOutput
- func (o LookupSharedAccessPolicyResultOutput) ResourceGroupName() pulumi.StringOutput
- func (o LookupSharedAccessPolicyResultOutput) SecondaryConnectionString() pulumi.StringOutput
- func (o LookupSharedAccessPolicyResultOutput) SecondaryKey() pulumi.StringOutput
- func (o LookupSharedAccessPolicyResultOutput) ToLookupSharedAccessPolicyResultOutput() LookupSharedAccessPolicyResultOutput
- func (o LookupSharedAccessPolicyResultOutput) ToLookupSharedAccessPolicyResultOutputWithContext(ctx context.Context) LookupSharedAccessPolicyResultOutput
- type Route
- type RouteArgs
- type RouteArray
- type RouteArrayInput
- type RouteArrayOutput
- type RouteInput
- type RouteMap
- type RouteMapInput
- type RouteMapOutput
- type RouteOutput
- func (o RouteOutput) Condition() pulumi.StringPtrOutput
- func (RouteOutput) ElementType() reflect.Type
- func (o RouteOutput) Enabled() pulumi.BoolOutput
- func (o RouteOutput) EndpointNames() pulumi.StringOutput
- func (o RouteOutput) IothubName() pulumi.StringOutput
- func (o RouteOutput) Name() pulumi.StringOutput
- func (o RouteOutput) ResourceGroupName() pulumi.StringOutput
- func (o RouteOutput) Source() pulumi.StringOutput
- func (o RouteOutput) ToRouteOutput() RouteOutput
- func (o RouteOutput) ToRouteOutputWithContext(ctx context.Context) RouteOutput
- type RouteState
- type SecurityDeviceGroup
- 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) ConnectionFromIpsNotAlloweds() pulumi.StringArrayOutput
- func (o SecurityDeviceGroupAllowRuleOutput) ConnectionToIpsNotAlloweds() pulumi.StringArrayOutput
- func (SecurityDeviceGroupAllowRuleOutput) ElementType() reflect.Type
- func (o SecurityDeviceGroupAllowRuleOutput) LocalUsersNotAlloweds() pulumi.StringArrayOutput
- func (o SecurityDeviceGroupAllowRuleOutput) ProcessesNotAlloweds() 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) ConnectionFromIpsNotAlloweds() pulumi.StringArrayOutput
- func (o SecurityDeviceGroupAllowRulePtrOutput) ConnectionToIpsNotAlloweds() pulumi.StringArrayOutput
- func (o SecurityDeviceGroupAllowRulePtrOutput) Elem() SecurityDeviceGroupAllowRuleOutput
- func (SecurityDeviceGroupAllowRulePtrOutput) ElementType() reflect.Type
- func (o SecurityDeviceGroupAllowRulePtrOutput) LocalUsersNotAlloweds() pulumi.StringArrayOutput
- func (o SecurityDeviceGroupAllowRulePtrOutput) ProcessesNotAlloweds() 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 (o SecurityDeviceGroupOutput) AllowRule() SecurityDeviceGroupAllowRulePtrOutput
- func (SecurityDeviceGroupOutput) ElementType() reflect.Type
- func (o SecurityDeviceGroupOutput) IothubId() pulumi.StringOutput
- func (o SecurityDeviceGroupOutput) Name() pulumi.StringOutput
- func (o SecurityDeviceGroupOutput) RangeRules() SecurityDeviceGroupRangeRuleArrayOutput
- func (o SecurityDeviceGroupOutput) ToSecurityDeviceGroupOutput() SecurityDeviceGroupOutput
- func (o SecurityDeviceGroupOutput) ToSecurityDeviceGroupOutputWithContext(ctx context.Context) SecurityDeviceGroupOutput
- 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
- type SecuritySolutionAdditionalWorkspace
- type SecuritySolutionAdditionalWorkspaceArgs
- func (SecuritySolutionAdditionalWorkspaceArgs) ElementType() reflect.Type
- func (i SecuritySolutionAdditionalWorkspaceArgs) ToSecuritySolutionAdditionalWorkspaceOutput() SecuritySolutionAdditionalWorkspaceOutput
- func (i SecuritySolutionAdditionalWorkspaceArgs) ToSecuritySolutionAdditionalWorkspaceOutputWithContext(ctx context.Context) SecuritySolutionAdditionalWorkspaceOutput
- type SecuritySolutionAdditionalWorkspaceArray
- func (SecuritySolutionAdditionalWorkspaceArray) ElementType() reflect.Type
- func (i SecuritySolutionAdditionalWorkspaceArray) ToSecuritySolutionAdditionalWorkspaceArrayOutput() SecuritySolutionAdditionalWorkspaceArrayOutput
- func (i SecuritySolutionAdditionalWorkspaceArray) ToSecuritySolutionAdditionalWorkspaceArrayOutputWithContext(ctx context.Context) SecuritySolutionAdditionalWorkspaceArrayOutput
- type SecuritySolutionAdditionalWorkspaceArrayInput
- type SecuritySolutionAdditionalWorkspaceArrayOutput
- func (SecuritySolutionAdditionalWorkspaceArrayOutput) ElementType() reflect.Type
- func (o SecuritySolutionAdditionalWorkspaceArrayOutput) Index(i pulumi.IntInput) SecuritySolutionAdditionalWorkspaceOutput
- func (o SecuritySolutionAdditionalWorkspaceArrayOutput) ToSecuritySolutionAdditionalWorkspaceArrayOutput() SecuritySolutionAdditionalWorkspaceArrayOutput
- func (o SecuritySolutionAdditionalWorkspaceArrayOutput) ToSecuritySolutionAdditionalWorkspaceArrayOutputWithContext(ctx context.Context) SecuritySolutionAdditionalWorkspaceArrayOutput
- type SecuritySolutionAdditionalWorkspaceInput
- type SecuritySolutionAdditionalWorkspaceOutput
- func (o SecuritySolutionAdditionalWorkspaceOutput) DataTypes() pulumi.StringArrayOutput
- func (SecuritySolutionAdditionalWorkspaceOutput) ElementType() reflect.Type
- func (o SecuritySolutionAdditionalWorkspaceOutput) ToSecuritySolutionAdditionalWorkspaceOutput() SecuritySolutionAdditionalWorkspaceOutput
- func (o SecuritySolutionAdditionalWorkspaceOutput) ToSecuritySolutionAdditionalWorkspaceOutputWithContext(ctx context.Context) SecuritySolutionAdditionalWorkspaceOutput
- func (o SecuritySolutionAdditionalWorkspaceOutput) WorkspaceId() pulumi.StringOutput
- 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 (o SecuritySolutionOutput) AdditionalWorkspaces() SecuritySolutionAdditionalWorkspaceArrayOutput
- func (o SecuritySolutionOutput) DisabledDataSources() pulumi.StringArrayOutput
- func (o SecuritySolutionOutput) DisplayName() pulumi.StringOutput
- func (SecuritySolutionOutput) ElementType() reflect.Type
- func (o SecuritySolutionOutput) Enabled() pulumi.BoolPtrOutput
- func (o SecuritySolutionOutput) EventsToExports() pulumi.StringArrayOutput
- func (o SecuritySolutionOutput) IothubIds() pulumi.StringArrayOutput
- func (o SecuritySolutionOutput) Location() pulumi.StringOutput
- func (o SecuritySolutionOutput) LogAnalyticsWorkspaceId() pulumi.StringPtrOutput
- func (o SecuritySolutionOutput) LogUnmaskedIpsEnabled() pulumi.BoolPtrOutput
- func (o SecuritySolutionOutput) Name() pulumi.StringOutput
- func (o SecuritySolutionOutput) QueryForResources() pulumi.StringOutput
- func (o SecuritySolutionOutput) QuerySubscriptionIds() pulumi.StringArrayOutput
- func (o SecuritySolutionOutput) RecommendationsEnabled() SecuritySolutionRecommendationsEnabledOutput
- func (o SecuritySolutionOutput) ResourceGroupName() pulumi.StringOutput
- func (o SecuritySolutionOutput) Tags() pulumi.StringMapOutput
- func (o SecuritySolutionOutput) ToSecuritySolutionOutput() SecuritySolutionOutput
- func (o SecuritySolutionOutput) ToSecuritySolutionOutputWithContext(ctx context.Context) SecuritySolutionOutput
- 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
- 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 (o SharedAccessPolicyOutput) DeviceConnect() pulumi.BoolPtrOutput
- func (SharedAccessPolicyOutput) ElementType() reflect.Type
- func (o SharedAccessPolicyOutput) IothubName() pulumi.StringOutput
- func (o SharedAccessPolicyOutput) Name() pulumi.StringOutput
- func (o SharedAccessPolicyOutput) PrimaryConnectionString() pulumi.StringOutput
- func (o SharedAccessPolicyOutput) PrimaryKey() pulumi.StringOutput
- func (o SharedAccessPolicyOutput) RegistryRead() pulumi.BoolPtrOutput
- func (o SharedAccessPolicyOutput) RegistryWrite() pulumi.BoolPtrOutput
- func (o SharedAccessPolicyOutput) ResourceGroupName() pulumi.StringOutput
- func (o SharedAccessPolicyOutput) SecondaryConnectionString() pulumi.StringOutput
- func (o SharedAccessPolicyOutput) SecondaryKey() pulumi.StringOutput
- func (o SharedAccessPolicyOutput) ServiceConnect() pulumi.BoolPtrOutput
- func (o SharedAccessPolicyOutput) ToSharedAccessPolicyOutput() SharedAccessPolicyOutput
- func (o SharedAccessPolicyOutput) ToSharedAccessPolicyOutputWithContext(ctx context.Context) SharedAccessPolicyOutput
- type SharedAccessPolicyState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Certificate ¶
type Certificate struct { pulumi.CustomResourceState // The Base-64 representation of the X509 leaf certificate .cer file or just a .pem file content. CertificateContent pulumi.StringOutput `pulumi:"certificateContent"` // The name of the IoTHub that this certificate will be attached to. Changing this forces a new resource to be created. IothubName pulumi.StringOutput `pulumi:"iothubName"` // Is the certificate verified? Defaults to `false`. IsVerified pulumi.BoolPtrOutput `pulumi:"isVerified"` // Specifies the name of the IotHub 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 IotHub Certificate resource has to be created. Changing this forces a new resource to be created. ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"` }
Manages an IotHub Certificate.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/core" "github.com/pulumi/pulumi-azure/sdk/v6/go/azure/iot" "github.com/pulumi/pulumi-std/sdk/go/std" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{ Name: pulumi.String("example-resources"), Location: pulumi.String("West Europe"), }) if err != nil { return err } exampleIoTHub, err := iot.NewIoTHub(ctx, "example", &iot.IoTHubArgs{ Name: pulumi.String("example"), ResourceGroupName: example.Name, Location: example.Location, Sku: &iot.IoTHubSkuArgs{ Name: pulumi.String("B1"), Capacity: pulumi.Int(1), }, }) if err != nil { return err } invokeFilebase64, err := std.Filebase64(ctx, &std.Filebase64Args{ Input: "example.cer", }, nil) if err != nil { return err } _, err = iot.NewCertificate(ctx, "example", &iot.CertificateArgs{ Name: pulumi.String("example"), ResourceGroupName: example.Name, IothubName: exampleIoTHub.Name, IsVerified: pulumi.Bool(true), CertificateContent: pulumi.String(invokeFilebase64.Result), }) if err != nil { return err } return nil }) }
```
## Import
IoTHub Certificates can be imported using the `resource id`, e.g.
```sh $ pulumi import azure:iot/certificate:Certificate example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mygroup1/providers/Microsoft.Devices/iotHubs/example/certificates/example ```
func GetCertificate ¶
func GetCertificate(ctx *pulumi.Context, name string, id pulumi.IDInput, state *CertificateState, opts ...pulumi.ResourceOption) (*Certificate, error)
GetCertificate gets an existing Certificate resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewCertificate ¶
func NewCertificate(ctx *pulumi.Context, name string, args *CertificateArgs, opts ...pulumi.ResourceOption) (*Certificate, error)
NewCertificate registers a new resource with the given unique name, arguments, and options.
func (*Certificate) ElementType ¶
func (*Certificate) ElementType() reflect.Type
func (*Certificate) ToCertificateOutput ¶
func (i *Certificate) ToCertificateOutput() CertificateOutput
func (*Certificate) ToCertificateOutputWithContext ¶
func (i *Certificate) ToCertificateOutputWithContext(ctx context.Context) CertificateOutput
type CertificateArgs ¶
type CertificateArgs struct { // The Base-64 representation of the X509 leaf certificate .cer file or just a .pem file content. CertificateContent pulumi.StringInput // The name of the IoTHub that this certificate will be attached to. Changing this forces a new resource to be created. IothubName pulumi.StringInput // Is the certificate verified? Defaults to `false`. IsVerified pulumi.BoolPtrInput // Specifies the name of the IotHub Certificate resource. Changing this forces a new resource to be created. Name pulumi.StringPtrInput // The name of the resource group under which the IotHub Certificate resource has to be created. Changing this forces a new resource to be created. ResourceGroupName pulumi.StringInput }
The set of arguments for constructing a Certificate resource.
func (CertificateArgs) ElementType ¶
func (CertificateArgs) ElementType() reflect.Type
type CertificateArray ¶
type CertificateArray []CertificateInput
func (CertificateArray) ElementType ¶
func (CertificateArray) ElementType() reflect.Type
func (CertificateArray) ToCertificateArrayOutput ¶
func (i CertificateArray) ToCertificateArrayOutput() CertificateArrayOutput
func (CertificateArray) ToCertificateArrayOutputWithContext ¶
func (i CertificateArray) ToCertificateArrayOutputWithContext(ctx context.Context) CertificateArrayOutput
type CertificateArrayInput ¶
type CertificateArrayInput interface { pulumi.Input ToCertificateArrayOutput() CertificateArrayOutput ToCertificateArrayOutputWithContext(context.Context) CertificateArrayOutput }
CertificateArrayInput is an input type that accepts CertificateArray and CertificateArrayOutput values. You can construct a concrete instance of `CertificateArrayInput` via:
CertificateArray{ CertificateArgs{...} }
type CertificateArrayOutput ¶
type CertificateArrayOutput struct{ *pulumi.OutputState }
func (CertificateArrayOutput) ElementType ¶
func (CertificateArrayOutput) ElementType() reflect.Type
func (CertificateArrayOutput) Index ¶
func (o CertificateArrayOutput) Index(i pulumi.IntInput) CertificateOutput
func (CertificateArrayOutput) ToCertificateArrayOutput ¶
func (o CertificateArrayOutput) ToCertificateArrayOutput() CertificateArrayOutput
func (CertificateArrayOutput) ToCertificateArrayOutputWithContext ¶
func (o CertificateArrayOutput) ToCertificateArrayOutputWithContext(ctx context.Context) CertificateArrayOutput
type CertificateInput ¶
type CertificateInput interface { pulumi.Input ToCertificateOutput() CertificateOutput ToCertificateOutputWithContext(ctx context.Context) CertificateOutput }
type CertificateMap ¶
type CertificateMap map[string]CertificateInput
func (CertificateMap) ElementType ¶
func (CertificateMap) ElementType() reflect.Type
func (CertificateMap) ToCertificateMapOutput ¶
func (i CertificateMap) ToCertificateMapOutput() CertificateMapOutput
func (CertificateMap) ToCertificateMapOutputWithContext ¶
func (i CertificateMap) ToCertificateMapOutputWithContext(ctx context.Context) CertificateMapOutput
type CertificateMapInput ¶
type CertificateMapInput interface { pulumi.Input ToCertificateMapOutput() CertificateMapOutput ToCertificateMapOutputWithContext(context.Context) CertificateMapOutput }
CertificateMapInput is an input type that accepts CertificateMap and CertificateMapOutput values. You can construct a concrete instance of `CertificateMapInput` via:
CertificateMap{ "key": CertificateArgs{...} }
type CertificateMapOutput ¶
type CertificateMapOutput struct{ *pulumi.OutputState }
func (CertificateMapOutput) ElementType ¶
func (CertificateMapOutput) ElementType() reflect.Type
func (CertificateMapOutput) MapIndex ¶
func (o CertificateMapOutput) MapIndex(k pulumi.StringInput) CertificateOutput
func (CertificateMapOutput) ToCertificateMapOutput ¶
func (o CertificateMapOutput) ToCertificateMapOutput() CertificateMapOutput
func (CertificateMapOutput) ToCertificateMapOutputWithContext ¶
func (o CertificateMapOutput) ToCertificateMapOutputWithContext(ctx context.Context) CertificateMapOutput
type CertificateOutput ¶
type CertificateOutput struct{ *pulumi.OutputState }
func (CertificateOutput) CertificateContent ¶
func (o CertificateOutput) CertificateContent() pulumi.StringOutput
The Base-64 representation of the X509 leaf certificate .cer file or just a .pem file content.
func (CertificateOutput) ElementType ¶
func (CertificateOutput) ElementType() reflect.Type
func (CertificateOutput) IothubName ¶
func (o CertificateOutput) IothubName() pulumi.StringOutput
The name of the IoTHub that this certificate will be attached to. Changing this forces a new resource to be created.
func (CertificateOutput) IsVerified ¶
func (o CertificateOutput) IsVerified() pulumi.BoolPtrOutput
Is the certificate verified? Defaults to `false`.
func (CertificateOutput) Name ¶
func (o CertificateOutput) Name() pulumi.StringOutput
Specifies the name of the IotHub Certificate resource. Changing this forces a new resource to be created.
func (CertificateOutput) ResourceGroupName ¶
func (o CertificateOutput) ResourceGroupName() pulumi.StringOutput
The name of the resource group under which the IotHub Certificate resource has to be created. Changing this forces a new resource to be created.
func (CertificateOutput) ToCertificateOutput ¶
func (o CertificateOutput) ToCertificateOutput() CertificateOutput
func (CertificateOutput) ToCertificateOutputWithContext ¶
func (o CertificateOutput) ToCertificateOutputWithContext(ctx context.Context) CertificateOutput
type CertificateState ¶
type CertificateState struct { // The Base-64 representation of the X509 leaf certificate .cer file or just a .pem file content. CertificateContent pulumi.StringPtrInput // The name of the IoTHub that this certificate will be attached to. Changing this forces a new resource to be created. IothubName pulumi.StringPtrInput // Is the certificate verified? Defaults to `false`. IsVerified pulumi.BoolPtrInput // Specifies the name of the IotHub Certificate resource. Changing this forces a new resource to be created. Name pulumi.StringPtrInput // The name of the resource group under which the IotHub Certificate resource has to be created. Changing this forces a new resource to be created. ResourceGroupName pulumi.StringPtrInput }
func (CertificateState) ElementType ¶
func (CertificateState) ElementType() reflect.Type
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/v6/go/azure/core" "github.com/pulumi/pulumi-azure/sdk/v6/go/azure/iot" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{ Name: pulumi.String("example-resources"), Location: pulumi.String("West Europe"), }) if err != nil { return err } exampleIoTHub, err := iot.NewIoTHub(ctx, "example", &iot.IoTHubArgs{ Name: pulumi.String("test"), ResourceGroupName: example.Name, Location: example.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, "example", &iot.ConsumerGroupArgs{ Name: pulumi.String("group"), IothubName: exampleIoTHub.Name, EventhubEndpointName: pulumi.String("events"), ResourceGroupName: example.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
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) EventhubEndpointName ¶
func (o ConsumerGroupOutput) EventhubEndpointName() pulumi.StringOutput
The name of the Event Hub-compatible endpoint in the IoT hub. Changing this forces a new resource to be created.
func (ConsumerGroupOutput) IothubName ¶
func (o ConsumerGroupOutput) IothubName() pulumi.StringOutput
The name of the IoT Hub. Changing this forces a new resource to be created.
func (ConsumerGroupOutput) Name ¶
func (o ConsumerGroupOutput) Name() pulumi.StringOutput
The name of this Consumer Group. Changing this forces a new resource to be created.
func (ConsumerGroupOutput) ResourceGroupName ¶
func (o ConsumerGroupOutput) ResourceGroupName() pulumi.StringOutput
The name of the resource group that contains the IoT hub. Changing this forces a new resource to be created.
func (ConsumerGroupOutput) ToConsumerGroupOutput ¶
func (o ConsumerGroupOutput) ToConsumerGroupOutput() ConsumerGroupOutput
func (ConsumerGroupOutput) ToConsumerGroupOutputWithContext ¶
func (o ConsumerGroupOutput) ToConsumerGroupOutputWithContext(ctx context.Context) ConsumerGroupOutput
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 { // // > **NOTE** When `enrollmentRead` is set to `true`, `registrationRead` must also be set to true. This is a limitation of the Azure REST API EnrollmentRead pulumi.BoolPtrOutput `pulumi:"enrollmentRead"` // // > **NOTE** When `registrationWrite` is set to `true`, `enrollmentRead`, `registrationRead`, and `registrationWrite` must also be set to true. This is a requirement of the Azure API. 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"` // // > **NOTE** When `registrationWrite` is set to `true`, `registrationRead` must also be set to true. This is a requirement of the Azure API. RegistrationWrite pulumi.BoolPtrOutput `pulumi:"registrationWrite"` ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"` SecondaryConnectionString pulumi.StringOutput `pulumi:"secondaryConnectionString"` SecondaryKey pulumi.StringOutput `pulumi:"secondaryKey"` // // > **NOTE** At least one of `registrationRead`, `registrationWrite`, `serviceConfig`, `enrollmentRead`, `enrollmentWrite` permissions must be set to `true`. ServiceConfig pulumi.BoolPtrOutput `pulumi:"serviceConfig"` }
Manages an IotHub Device Provisioning Service Shared Access Policy
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/core" "github.com/pulumi/pulumi-azure/sdk/v6/go/azure/iot" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{ Name: pulumi.String("example-resources"), Location: pulumi.String("West Europe"), }) if err != nil { return err } exampleIotHubDps, err := iot.NewIotHubDps(ctx, "example", &iot.IotHubDpsArgs{ Name: pulumi.String("example"), ResourceGroupName: example.Name, Location: example.Location, Sku: &iot.IotHubDpsSkuArgs{ Name: pulumi.String("S1"), Capacity: pulumi.Int(1), }, }) if err != nil { return err } _, err = iot.NewDpsSharedAccessPolicy(ctx, "example", &iot.DpsSharedAccessPolicyArgs{ Name: pulumi.String("example"), ResourceGroupName: example.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
type DpsSharedAccessPolicyArgs ¶
type DpsSharedAccessPolicyArgs struct { // // > **NOTE** When `enrollmentRead` is set to `true`, `registrationRead` must also be set to true. This is a limitation of the Azure REST API EnrollmentRead pulumi.BoolPtrInput // // > **NOTE** When `registrationWrite` is set to `true`, `enrollmentRead`, `registrationRead`, and `registrationWrite` must also be set to true. This is a requirement of the Azure API. EnrollmentWrite pulumi.BoolPtrInput IothubDpsName pulumi.StringInput Name pulumi.StringPtrInput RegistrationRead pulumi.BoolPtrInput // // > **NOTE** When `registrationWrite` is set to `true`, `registrationRead` must also be set to true. This is a requirement of the Azure API. RegistrationWrite pulumi.BoolPtrInput ResourceGroupName pulumi.StringInput // // > **NOTE** At least one of `registrationRead`, `registrationWrite`, `serviceConfig`, `enrollmentRead`, `enrollmentWrite` permissions must be set to `true`. ServiceConfig pulumi.BoolPtrInput }
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 ¶
func (DpsSharedAccessPolicyOutput) ElementType ¶
func (DpsSharedAccessPolicyOutput) ElementType() reflect.Type
func (DpsSharedAccessPolicyOutput) EnrollmentRead ¶
func (o DpsSharedAccessPolicyOutput) EnrollmentRead() pulumi.BoolPtrOutput
Adds `EnrollmentRead` permission to this Shared Access Account. It allows read access to enrollment data.
> **NOTE** When `enrollmentRead` is set to `true`, `registrationRead` must also be set to true. This is a limitation of the Azure REST API
func (DpsSharedAccessPolicyOutput) EnrollmentWrite ¶
func (o DpsSharedAccessPolicyOutput) EnrollmentWrite() pulumi.BoolPtrOutput
Adds `EnrollmentWrite` permission to this Shared Access Account. It allows write access to enrollment data.
> **NOTE** When `registrationWrite` is set to `true`, `enrollmentRead`, `registrationRead`, and `registrationWrite` must also be set to true. This is a requirement of the Azure API.
func (DpsSharedAccessPolicyOutput) IothubDpsName ¶
func (o DpsSharedAccessPolicyOutput) IothubDpsName() pulumi.StringOutput
The name of the IoT Hub Device Provisioning service to which this Shared Access Policy belongs. Changing this forces a new resource to be created.
func (DpsSharedAccessPolicyOutput) Name ¶
func (o DpsSharedAccessPolicyOutput) Name() pulumi.StringOutput
Specifies the name of the IotHub Shared Access Policy resource. Changing this forces a new resource to be created.
func (DpsSharedAccessPolicyOutput) PrimaryConnectionString ¶
func (o DpsSharedAccessPolicyOutput) PrimaryConnectionString() pulumi.StringOutput
The primary connection string of the Shared Access Policy.
func (DpsSharedAccessPolicyOutput) PrimaryKey ¶
func (o DpsSharedAccessPolicyOutput) PrimaryKey() pulumi.StringOutput
The primary key used to create the authentication token.
func (DpsSharedAccessPolicyOutput) RegistrationRead ¶
func (o DpsSharedAccessPolicyOutput) RegistrationRead() pulumi.BoolPtrOutput
Adds `RegistrationStatusRead` permission to this Shared Access Account. It allows read access to device registrations.
func (DpsSharedAccessPolicyOutput) RegistrationWrite ¶
func (o DpsSharedAccessPolicyOutput) RegistrationWrite() pulumi.BoolPtrOutput
Adds `RegistrationStatusWrite` permission to this Shared Access Account. It allows write access to device registrations.
> **NOTE** When `registrationWrite` is set to `true`, `registrationRead` must also be set to true. This is a requirement of the Azure API.
func (DpsSharedAccessPolicyOutput) ResourceGroupName ¶
func (o DpsSharedAccessPolicyOutput) ResourceGroupName() pulumi.StringOutput
The name of the resource group under which the IotHub Shared Access Policy resource has to be created. Changing this forces a new resource to be created.
func (DpsSharedAccessPolicyOutput) SecondaryConnectionString ¶
func (o DpsSharedAccessPolicyOutput) SecondaryConnectionString() pulumi.StringOutput
The secondary connection string of the Shared Access Policy.
func (DpsSharedAccessPolicyOutput) SecondaryKey ¶
func (o DpsSharedAccessPolicyOutput) SecondaryKey() pulumi.StringOutput
The secondary key used to create the authentication token.
func (DpsSharedAccessPolicyOutput) ServiceConfig ¶
func (o DpsSharedAccessPolicyOutput) ServiceConfig() pulumi.BoolPtrOutput
Adds `ServiceConfig` permission to this Shared Access Account. It allows configuration of the Device Provisioning Service.
> **NOTE** At least one of `registrationRead`, `registrationWrite`, `serviceConfig`, `enrollmentRead`, `enrollmentWrite` permissions must be set to `true`.
func (DpsSharedAccessPolicyOutput) ToDpsSharedAccessPolicyOutput ¶
func (o DpsSharedAccessPolicyOutput) ToDpsSharedAccessPolicyOutput() DpsSharedAccessPolicyOutput
func (DpsSharedAccessPolicyOutput) ToDpsSharedAccessPolicyOutputWithContext ¶
func (o DpsSharedAccessPolicyOutput) ToDpsSharedAccessPolicyOutputWithContext(ctx context.Context) DpsSharedAccessPolicyOutput
type DpsSharedAccessPolicyState ¶
type DpsSharedAccessPolicyState struct { // // > **NOTE** When `enrollmentRead` is set to `true`, `registrationRead` must also be set to true. This is a limitation of the Azure REST API EnrollmentRead pulumi.BoolPtrInput // // > **NOTE** When `registrationWrite` is set to `true`, `enrollmentRead`, `registrationRead`, and `registrationWrite` must also be set to true. This is a requirement of the Azure API. EnrollmentWrite pulumi.BoolPtrInput IothubDpsName pulumi.StringPtrInput Name pulumi.StringPtrInput PrimaryConnectionString pulumi.StringPtrInput PrimaryKey pulumi.StringPtrInput RegistrationRead pulumi.BoolPtrInput // // > **NOTE** When `registrationWrite` is set to `true`, `registrationRead` must also be set to true. This is a requirement of the Azure API. RegistrationWrite pulumi.BoolPtrInput ResourceGroupName pulumi.StringPtrInput SecondaryConnectionString pulumi.StringPtrInput SecondaryKey pulumi.StringPtrInput // // > **NOTE** At least one of `registrationRead`, `registrationWrite`, `serviceConfig`, `enrollmentRead`, `enrollmentWrite` permissions must be set to `true`. ServiceConfig pulumi.BoolPtrInput }
func (DpsSharedAccessPolicyState) ElementType ¶
func (DpsSharedAccessPolicyState) ElementType() reflect.Type
type EndpointCosmosdbAccount ¶
type EndpointCosmosdbAccount struct { pulumi.CustomResourceState // The type used to authenticate against the Cosmos DB Account endpoint. Possible values are `keyBased` and `identityBased`. Defaults to `keyBased`. AuthenticationType pulumi.StringPtrOutput `pulumi:"authenticationType"` // The name of the Cosmos DB Container in the Cosmos DB Database. Changing this forces a new resource to be created. ContainerName pulumi.StringOutput `pulumi:"containerName"` // The name of the Cosmos DB Database in the Cosmos DB Account. Changing this forces a new resource to be created. DatabaseName pulumi.StringOutput `pulumi:"databaseName"` // The URI of the Cosmos DB Account. Changing this forces a new resource to be created. EndpointUri pulumi.StringOutput `pulumi:"endpointUri"` // The ID of the User Managed Identity used to authenticate against the Cosmos DB Account endpoint. // // > **NOTE:** `identityId` can only be specified when `authenticationType` is `identityBased`. It must be one of the `identityIds` of the Iot Hub. If not specified when `authenticationType` is `identityBased`, System Assigned Managed Identity of the Iot Hub will be used. IdentityId pulumi.StringPtrOutput `pulumi:"identityId"` // The ID of the IoT Hub to create the endpoint. Changing this forces a new resource to be created. IothubId pulumi.StringOutput `pulumi:"iothubId"` // The name of the endpoint. The name must be unique across endpoint types. The following names are reserved: `events`, `operationsMonitoringEvents`, `fileNotifications` and `$default`. Changing this forces a new resource to be created. Name pulumi.StringOutput `pulumi:"name"` // The name of the partition key associated with the Cosmos DB Container. PartitionKeyName pulumi.StringPtrOutput `pulumi:"partitionKeyName"` // The template for generating a synthetic partition key value for use within the Cosmos DB Container. PartitionKeyTemplate pulumi.StringPtrOutput `pulumi:"partitionKeyTemplate"` // The primary key of the Cosmos DB Account. // // > **NOTE:** `primaryKey` must and can only be specified when `authenticationType` is `keyBased`. PrimaryKey pulumi.StringPtrOutput `pulumi:"primaryKey"` // The name of the resource group under which the Cosmos DB Account has been created. Changing this forces a new resource to be created. ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"` // The secondary key of the Cosmos DB Account. // // > **NOTE:** `secondaryKey` must and can only be specified when `authenticationType` is `keyBased`. SecondaryKey pulumi.StringPtrOutput `pulumi:"secondaryKey"` }
Manages an IotHub Cosmos DB Account 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.
## Import
IoTHub Cosmos DB Account Endpoint can be imported using the `resource id`, e.g.
```sh $ pulumi import azure:iot/endpointCosmosdbAccount:EndpointCosmosdbAccount endpoint1 /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mygroup1/providers/Microsoft.Devices/iotHubs/hub1/endpoints/cosmosDBAccountEndpoint1 ```
func GetEndpointCosmosdbAccount ¶
func GetEndpointCosmosdbAccount(ctx *pulumi.Context, name string, id pulumi.IDInput, state *EndpointCosmosdbAccountState, opts ...pulumi.ResourceOption) (*EndpointCosmosdbAccount, error)
GetEndpointCosmosdbAccount gets an existing EndpointCosmosdbAccount 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 NewEndpointCosmosdbAccount ¶
func NewEndpointCosmosdbAccount(ctx *pulumi.Context, name string, args *EndpointCosmosdbAccountArgs, opts ...pulumi.ResourceOption) (*EndpointCosmosdbAccount, error)
NewEndpointCosmosdbAccount registers a new resource with the given unique name, arguments, and options.
func (*EndpointCosmosdbAccount) ElementType ¶
func (*EndpointCosmosdbAccount) ElementType() reflect.Type
func (*EndpointCosmosdbAccount) ToEndpointCosmosdbAccountOutput ¶
func (i *EndpointCosmosdbAccount) ToEndpointCosmosdbAccountOutput() EndpointCosmosdbAccountOutput
func (*EndpointCosmosdbAccount) ToEndpointCosmosdbAccountOutputWithContext ¶
func (i *EndpointCosmosdbAccount) ToEndpointCosmosdbAccountOutputWithContext(ctx context.Context) EndpointCosmosdbAccountOutput
type EndpointCosmosdbAccountArgs ¶
type EndpointCosmosdbAccountArgs struct { // The type used to authenticate against the Cosmos DB Account endpoint. Possible values are `keyBased` and `identityBased`. Defaults to `keyBased`. AuthenticationType pulumi.StringPtrInput // The name of the Cosmos DB Container in the Cosmos DB Database. Changing this forces a new resource to be created. ContainerName pulumi.StringInput // The name of the Cosmos DB Database in the Cosmos DB Account. Changing this forces a new resource to be created. DatabaseName pulumi.StringInput // The URI of the Cosmos DB Account. Changing this forces a new resource to be created. EndpointUri pulumi.StringInput // The ID of the User Managed Identity used to authenticate against the Cosmos DB Account endpoint. // // > **NOTE:** `identityId` can only be specified when `authenticationType` is `identityBased`. It must be one of the `identityIds` of the Iot Hub. If not specified when `authenticationType` is `identityBased`, System Assigned Managed Identity of the Iot Hub will be used. IdentityId pulumi.StringPtrInput // The ID of the IoT Hub to create the endpoint. Changing this forces a new resource to be created. IothubId 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`. Changing this forces a new resource to be created. Name pulumi.StringPtrInput // The name of the partition key associated with the Cosmos DB Container. PartitionKeyName pulumi.StringPtrInput // The template for generating a synthetic partition key value for use within the Cosmos DB Container. PartitionKeyTemplate pulumi.StringPtrInput // The primary key of the Cosmos DB Account. // // > **NOTE:** `primaryKey` must and can only be specified when `authenticationType` is `keyBased`. PrimaryKey pulumi.StringPtrInput // The name of the resource group under which the Cosmos DB Account has been created. Changing this forces a new resource to be created. ResourceGroupName pulumi.StringInput // The secondary key of the Cosmos DB Account. // // > **NOTE:** `secondaryKey` must and can only be specified when `authenticationType` is `keyBased`. SecondaryKey pulumi.StringPtrInput }
The set of arguments for constructing a EndpointCosmosdbAccount resource.
func (EndpointCosmosdbAccountArgs) ElementType ¶
func (EndpointCosmosdbAccountArgs) ElementType() reflect.Type
type EndpointCosmosdbAccountArray ¶
type EndpointCosmosdbAccountArray []EndpointCosmosdbAccountInput
func (EndpointCosmosdbAccountArray) ElementType ¶
func (EndpointCosmosdbAccountArray) ElementType() reflect.Type
func (EndpointCosmosdbAccountArray) ToEndpointCosmosdbAccountArrayOutput ¶
func (i EndpointCosmosdbAccountArray) ToEndpointCosmosdbAccountArrayOutput() EndpointCosmosdbAccountArrayOutput
func (EndpointCosmosdbAccountArray) ToEndpointCosmosdbAccountArrayOutputWithContext ¶
func (i EndpointCosmosdbAccountArray) ToEndpointCosmosdbAccountArrayOutputWithContext(ctx context.Context) EndpointCosmosdbAccountArrayOutput
type EndpointCosmosdbAccountArrayInput ¶
type EndpointCosmosdbAccountArrayInput interface { pulumi.Input ToEndpointCosmosdbAccountArrayOutput() EndpointCosmosdbAccountArrayOutput ToEndpointCosmosdbAccountArrayOutputWithContext(context.Context) EndpointCosmosdbAccountArrayOutput }
EndpointCosmosdbAccountArrayInput is an input type that accepts EndpointCosmosdbAccountArray and EndpointCosmosdbAccountArrayOutput values. You can construct a concrete instance of `EndpointCosmosdbAccountArrayInput` via:
EndpointCosmosdbAccountArray{ EndpointCosmosdbAccountArgs{...} }
type EndpointCosmosdbAccountArrayOutput ¶
type EndpointCosmosdbAccountArrayOutput struct{ *pulumi.OutputState }
func (EndpointCosmosdbAccountArrayOutput) ElementType ¶
func (EndpointCosmosdbAccountArrayOutput) ElementType() reflect.Type
func (EndpointCosmosdbAccountArrayOutput) Index ¶
func (o EndpointCosmosdbAccountArrayOutput) Index(i pulumi.IntInput) EndpointCosmosdbAccountOutput
func (EndpointCosmosdbAccountArrayOutput) ToEndpointCosmosdbAccountArrayOutput ¶
func (o EndpointCosmosdbAccountArrayOutput) ToEndpointCosmosdbAccountArrayOutput() EndpointCosmosdbAccountArrayOutput
func (EndpointCosmosdbAccountArrayOutput) ToEndpointCosmosdbAccountArrayOutputWithContext ¶
func (o EndpointCosmosdbAccountArrayOutput) ToEndpointCosmosdbAccountArrayOutputWithContext(ctx context.Context) EndpointCosmosdbAccountArrayOutput
type EndpointCosmosdbAccountInput ¶
type EndpointCosmosdbAccountInput interface { pulumi.Input ToEndpointCosmosdbAccountOutput() EndpointCosmosdbAccountOutput ToEndpointCosmosdbAccountOutputWithContext(ctx context.Context) EndpointCosmosdbAccountOutput }
type EndpointCosmosdbAccountMap ¶
type EndpointCosmosdbAccountMap map[string]EndpointCosmosdbAccountInput
func (EndpointCosmosdbAccountMap) ElementType ¶
func (EndpointCosmosdbAccountMap) ElementType() reflect.Type
func (EndpointCosmosdbAccountMap) ToEndpointCosmosdbAccountMapOutput ¶
func (i EndpointCosmosdbAccountMap) ToEndpointCosmosdbAccountMapOutput() EndpointCosmosdbAccountMapOutput
func (EndpointCosmosdbAccountMap) ToEndpointCosmosdbAccountMapOutputWithContext ¶
func (i EndpointCosmosdbAccountMap) ToEndpointCosmosdbAccountMapOutputWithContext(ctx context.Context) EndpointCosmosdbAccountMapOutput
type EndpointCosmosdbAccountMapInput ¶
type EndpointCosmosdbAccountMapInput interface { pulumi.Input ToEndpointCosmosdbAccountMapOutput() EndpointCosmosdbAccountMapOutput ToEndpointCosmosdbAccountMapOutputWithContext(context.Context) EndpointCosmosdbAccountMapOutput }
EndpointCosmosdbAccountMapInput is an input type that accepts EndpointCosmosdbAccountMap and EndpointCosmosdbAccountMapOutput values. You can construct a concrete instance of `EndpointCosmosdbAccountMapInput` via:
EndpointCosmosdbAccountMap{ "key": EndpointCosmosdbAccountArgs{...} }
type EndpointCosmosdbAccountMapOutput ¶
type EndpointCosmosdbAccountMapOutput struct{ *pulumi.OutputState }
func (EndpointCosmosdbAccountMapOutput) ElementType ¶
func (EndpointCosmosdbAccountMapOutput) ElementType() reflect.Type
func (EndpointCosmosdbAccountMapOutput) MapIndex ¶
func (o EndpointCosmosdbAccountMapOutput) MapIndex(k pulumi.StringInput) EndpointCosmosdbAccountOutput
func (EndpointCosmosdbAccountMapOutput) ToEndpointCosmosdbAccountMapOutput ¶
func (o EndpointCosmosdbAccountMapOutput) ToEndpointCosmosdbAccountMapOutput() EndpointCosmosdbAccountMapOutput
func (EndpointCosmosdbAccountMapOutput) ToEndpointCosmosdbAccountMapOutputWithContext ¶
func (o EndpointCosmosdbAccountMapOutput) ToEndpointCosmosdbAccountMapOutputWithContext(ctx context.Context) EndpointCosmosdbAccountMapOutput
type EndpointCosmosdbAccountOutput ¶
type EndpointCosmosdbAccountOutput struct{ *pulumi.OutputState }
func (EndpointCosmosdbAccountOutput) AuthenticationType ¶
func (o EndpointCosmosdbAccountOutput) AuthenticationType() pulumi.StringPtrOutput
The type used to authenticate against the Cosmos DB Account endpoint. Possible values are `keyBased` and `identityBased`. Defaults to `keyBased`.
func (EndpointCosmosdbAccountOutput) ContainerName ¶
func (o EndpointCosmosdbAccountOutput) ContainerName() pulumi.StringOutput
The name of the Cosmos DB Container in the Cosmos DB Database. Changing this forces a new resource to be created.
func (EndpointCosmosdbAccountOutput) DatabaseName ¶
func (o EndpointCosmosdbAccountOutput) DatabaseName() pulumi.StringOutput
The name of the Cosmos DB Database in the Cosmos DB Account. Changing this forces a new resource to be created.
func (EndpointCosmosdbAccountOutput) ElementType ¶
func (EndpointCosmosdbAccountOutput) ElementType() reflect.Type
func (EndpointCosmosdbAccountOutput) EndpointUri ¶
func (o EndpointCosmosdbAccountOutput) EndpointUri() pulumi.StringOutput
The URI of the Cosmos DB Account. Changing this forces a new resource to be created.
func (EndpointCosmosdbAccountOutput) IdentityId ¶
func (o EndpointCosmosdbAccountOutput) IdentityId() pulumi.StringPtrOutput
The ID of the User Managed Identity used to authenticate against the Cosmos DB Account endpoint.
> **NOTE:** `identityId` can only be specified when `authenticationType` is `identityBased`. It must be one of the `identityIds` of the Iot Hub. If not specified when `authenticationType` is `identityBased`, System Assigned Managed Identity of the Iot Hub will be used.
func (EndpointCosmosdbAccountOutput) IothubId ¶
func (o EndpointCosmosdbAccountOutput) IothubId() pulumi.StringOutput
The ID of the IoT Hub to create the endpoint. Changing this forces a new resource to be created.
func (EndpointCosmosdbAccountOutput) Name ¶
func (o EndpointCosmosdbAccountOutput) 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`. Changing this forces a new resource to be created.
func (EndpointCosmosdbAccountOutput) PartitionKeyName ¶
func (o EndpointCosmosdbAccountOutput) PartitionKeyName() pulumi.StringPtrOutput
The name of the partition key associated with the Cosmos DB Container.
func (EndpointCosmosdbAccountOutput) PartitionKeyTemplate ¶
func (o EndpointCosmosdbAccountOutput) PartitionKeyTemplate() pulumi.StringPtrOutput
The template for generating a synthetic partition key value for use within the Cosmos DB Container.
func (EndpointCosmosdbAccountOutput) PrimaryKey ¶
func (o EndpointCosmosdbAccountOutput) PrimaryKey() pulumi.StringPtrOutput
The primary key of the Cosmos DB Account.
> **NOTE:** `primaryKey` must and can only be specified when `authenticationType` is `keyBased`.
func (EndpointCosmosdbAccountOutput) ResourceGroupName ¶
func (o EndpointCosmosdbAccountOutput) ResourceGroupName() pulumi.StringOutput
The name of the resource group under which the Cosmos DB Account has been created. Changing this forces a new resource to be created.
func (EndpointCosmosdbAccountOutput) SecondaryKey ¶
func (o EndpointCosmosdbAccountOutput) SecondaryKey() pulumi.StringPtrOutput
The secondary key of the Cosmos DB Account.
> **NOTE:** `secondaryKey` must and can only be specified when `authenticationType` is `keyBased`.
func (EndpointCosmosdbAccountOutput) ToEndpointCosmosdbAccountOutput ¶
func (o EndpointCosmosdbAccountOutput) ToEndpointCosmosdbAccountOutput() EndpointCosmosdbAccountOutput
func (EndpointCosmosdbAccountOutput) ToEndpointCosmosdbAccountOutputWithContext ¶
func (o EndpointCosmosdbAccountOutput) ToEndpointCosmosdbAccountOutputWithContext(ctx context.Context) EndpointCosmosdbAccountOutput
type EndpointCosmosdbAccountState ¶
type EndpointCosmosdbAccountState struct { // The type used to authenticate against the Cosmos DB Account endpoint. Possible values are `keyBased` and `identityBased`. Defaults to `keyBased`. AuthenticationType pulumi.StringPtrInput // The name of the Cosmos DB Container in the Cosmos DB Database. Changing this forces a new resource to be created. ContainerName pulumi.StringPtrInput // The name of the Cosmos DB Database in the Cosmos DB Account. Changing this forces a new resource to be created. DatabaseName pulumi.StringPtrInput // The URI of the Cosmos DB Account. Changing this forces a new resource to be created. EndpointUri pulumi.StringPtrInput // The ID of the User Managed Identity used to authenticate against the Cosmos DB Account endpoint. // // > **NOTE:** `identityId` can only be specified when `authenticationType` is `identityBased`. It must be one of the `identityIds` of the Iot Hub. If not specified when `authenticationType` is `identityBased`, System Assigned Managed Identity of the Iot Hub will be used. IdentityId pulumi.StringPtrInput // The ID of the IoT Hub to create the endpoint. Changing this forces a new resource to be created. IothubId 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`. Changing this forces a new resource to be created. Name pulumi.StringPtrInput // The name of the partition key associated with the Cosmos DB Container. PartitionKeyName pulumi.StringPtrInput // The template for generating a synthetic partition key value for use within the Cosmos DB Container. PartitionKeyTemplate pulumi.StringPtrInput // The primary key of the Cosmos DB Account. // // > **NOTE:** `primaryKey` must and can only be specified when `authenticationType` is `keyBased`. PrimaryKey pulumi.StringPtrInput // The name of the resource group under which the Cosmos DB Account has been created. Changing this forces a new resource to be created. ResourceGroupName pulumi.StringPtrInput // The secondary key of the Cosmos DB Account. // // > **NOTE:** `secondaryKey` must and can only be specified when `authenticationType` is `keyBased`. SecondaryKey pulumi.StringPtrInput }
func (EndpointCosmosdbAccountState) ElementType ¶
func (EndpointCosmosdbAccountState) ElementType() reflect.Type
type EndpointEventhub ¶
type EndpointEventhub struct { pulumi.CustomResourceState // Type used to authenticate against the Event Hub endpoint. Possible values are `keyBased` and `identityBased`. Defaults to `keyBased`. AuthenticationType pulumi.StringPtrOutput `pulumi:"authenticationType"` // The connection string for the endpoint. This attribute can only be specified and is mandatory when `authenticationType` is `keyBased`. ConnectionString pulumi.StringPtrOutput `pulumi:"connectionString"` // URI of the Event Hubs Namespace endpoint. This attribute can only be specified and is mandatory when `authenticationType` is `identityBased`. EndpointUri pulumi.StringPtrOutput `pulumi:"endpointUri"` // Name of the Event Hub. This attribute can only be specified and is mandatory when `authenticationType` is `identityBased`. EntityPath pulumi.StringPtrOutput `pulumi:"entityPath"` // ID of the User Managed Identity used to authenticate against the Event Hub endpoint. // // > **NOTE:** `identityId` can only be specified when `authenticationType` is `identityBased`. It must be one of the `identityIds` of the Iot Hub. If not specified when `authenticationType` is `identityBased`, System Assigned Managed Identity of the Iot Hub will be used. IdentityId pulumi.StringPtrOutput `pulumi:"identityId"` // The IoTHub ID for the endpoint. Changing this forces a new resource to be created. IothubId pulumi.StringOutput `pulumi:"iothubId"` // The name of the endpoint. The name must be unique across endpoint types. The following names are reserved: `events`, `operationsMonitoringEvents`, `fileNotifications` and `$default`. Changing this forces a new resource to be created. Name pulumi.StringOutput `pulumi:"name"` // The name of the resource group under which the Event Hub has been created. Changing this forces a new resource to be created. 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/v6/go/azure/core" "github.com/pulumi/pulumi-azure/sdk/v6/go/azure/eventhub" "github.com/pulumi/pulumi-azure/sdk/v6/go/azure/iot" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{ Name: pulumi.String("example-resources"), Location: pulumi.String("West Europe"), }) if err != nil { return err } exampleEventHubNamespace, err := eventhub.NewEventHubNamespace(ctx, "example", &eventhub.EventHubNamespaceArgs{ Name: pulumi.String("exampleEventHubNamespace"), Location: example.Location, ResourceGroupName: example.Name, Sku: pulumi.String("Basic"), }) if err != nil { return err } exampleEventHub, err := eventhub.NewEventHub(ctx, "example", &eventhub.EventHubArgs{ Name: pulumi.String("exampleEventHub"), NamespaceName: exampleEventHubNamespace.Name, ResourceGroupName: example.Name, PartitionCount: pulumi.Int(2), MessageRetention: pulumi.Int(1), }) if err != nil { return err } exampleAuthorizationRule, err := eventhub.NewAuthorizationRule(ctx, "example", &eventhub.AuthorizationRuleArgs{ Name: pulumi.String("exampleRule"), NamespaceName: exampleEventHubNamespace.Name, EventhubName: exampleEventHub.Name, ResourceGroupName: example.Name, Listen: pulumi.Bool(false), Send: pulumi.Bool(true), Manage: pulumi.Bool(false), }) if err != nil { return err } exampleIoTHub, err := iot.NewIoTHub(ctx, "example", &iot.IoTHubArgs{ Name: pulumi.String("exampleIothub"), ResourceGroupName: example.Name, Location: example.Location, Sku: &iot.IoTHubSkuArgs{ Name: pulumi.String("B1"), Capacity: pulumi.Int(1), }, Tags: pulumi.StringMap{ "purpose": pulumi.String("example"), }, }) if err != nil { return err } _, err = iot.NewEndpointEventhub(ctx, "example", &iot.EndpointEventhubArgs{ ResourceGroupName: example.Name, IothubId: exampleIoTHub.ID(), Name: pulumi.String("example"), 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
type EndpointEventhubArgs ¶
type EndpointEventhubArgs struct { // Type used to authenticate against the Event Hub endpoint. Possible values are `keyBased` and `identityBased`. Defaults to `keyBased`. AuthenticationType pulumi.StringPtrInput // The connection string for the endpoint. This attribute can only be specified and is mandatory when `authenticationType` is `keyBased`. ConnectionString pulumi.StringPtrInput // URI of the Event Hubs Namespace endpoint. This attribute can only be specified and is mandatory when `authenticationType` is `identityBased`. EndpointUri pulumi.StringPtrInput // Name of the Event Hub. This attribute can only be specified and is mandatory when `authenticationType` is `identityBased`. EntityPath pulumi.StringPtrInput // ID of the User Managed Identity used to authenticate against the Event Hub endpoint. // // > **NOTE:** `identityId` can only be specified when `authenticationType` is `identityBased`. It must be one of the `identityIds` of the Iot Hub. If not specified when `authenticationType` is `identityBased`, System Assigned Managed Identity of the Iot Hub will be used. IdentityId pulumi.StringPtrInput // The IoTHub ID for the endpoint. Changing this forces a new resource to be created. IothubId 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`. Changing this forces a new resource to be created. Name pulumi.StringPtrInput // The name of the resource group under which the Event Hub has been created. Changing this forces a new resource to be created. 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) AuthenticationType ¶
func (o EndpointEventhubOutput) AuthenticationType() pulumi.StringPtrOutput
Type used to authenticate against the Event Hub endpoint. Possible values are `keyBased` and `identityBased`. Defaults to `keyBased`.
func (EndpointEventhubOutput) ConnectionString ¶
func (o EndpointEventhubOutput) ConnectionString() pulumi.StringPtrOutput
The connection string for the endpoint. This attribute can only be specified and is mandatory when `authenticationType` is `keyBased`.
func (EndpointEventhubOutput) ElementType ¶
func (EndpointEventhubOutput) ElementType() reflect.Type
func (EndpointEventhubOutput) EndpointUri ¶
func (o EndpointEventhubOutput) EndpointUri() pulumi.StringPtrOutput
URI of the Event Hubs Namespace endpoint. This attribute can only be specified and is mandatory when `authenticationType` is `identityBased`.
func (EndpointEventhubOutput) EntityPath ¶
func (o EndpointEventhubOutput) EntityPath() pulumi.StringPtrOutput
Name of the Event Hub. This attribute can only be specified and is mandatory when `authenticationType` is `identityBased`.
func (EndpointEventhubOutput) IdentityId ¶
func (o EndpointEventhubOutput) IdentityId() pulumi.StringPtrOutput
ID of the User Managed Identity used to authenticate against the Event Hub endpoint.
> **NOTE:** `identityId` can only be specified when `authenticationType` is `identityBased`. It must be one of the `identityIds` of the Iot Hub. If not specified when `authenticationType` is `identityBased`, System Assigned Managed Identity of the Iot Hub will be used.
func (EndpointEventhubOutput) IothubId ¶
func (o EndpointEventhubOutput) IothubId() pulumi.StringOutput
The IoTHub ID for the endpoint. Changing this forces a new resource to be created.
func (EndpointEventhubOutput) Name ¶
func (o EndpointEventhubOutput) 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`. Changing this forces a new resource to be created.
func (EndpointEventhubOutput) ResourceGroupName ¶
func (o EndpointEventhubOutput) ResourceGroupName() pulumi.StringOutput
The name of the resource group under which the Event Hub has been created. Changing this forces a new resource to be created.
func (EndpointEventhubOutput) ToEndpointEventhubOutput ¶
func (o EndpointEventhubOutput) ToEndpointEventhubOutput() EndpointEventhubOutput
func (EndpointEventhubOutput) ToEndpointEventhubOutputWithContext ¶
func (o EndpointEventhubOutput) ToEndpointEventhubOutputWithContext(ctx context.Context) EndpointEventhubOutput
type EndpointEventhubState ¶
type EndpointEventhubState struct { // Type used to authenticate against the Event Hub endpoint. Possible values are `keyBased` and `identityBased`. Defaults to `keyBased`. AuthenticationType pulumi.StringPtrInput // The connection string for the endpoint. This attribute can only be specified and is mandatory when `authenticationType` is `keyBased`. ConnectionString pulumi.StringPtrInput // URI of the Event Hubs Namespace endpoint. This attribute can only be specified and is mandatory when `authenticationType` is `identityBased`. EndpointUri pulumi.StringPtrInput // Name of the Event Hub. This attribute can only be specified and is mandatory when `authenticationType` is `identityBased`. EntityPath pulumi.StringPtrInput // ID of the User Managed Identity used to authenticate against the Event Hub endpoint. // // > **NOTE:** `identityId` can only be specified when `authenticationType` is `identityBased`. It must be one of the `identityIds` of the Iot Hub. If not specified when `authenticationType` is `identityBased`, System Assigned Managed Identity of the Iot Hub will be used. IdentityId pulumi.StringPtrInput // The IoTHub ID for the endpoint. Changing this forces a new resource to be created. IothubId 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`. Changing this forces a new resource to be created. Name pulumi.StringPtrInput // The name of the resource group under which the Event Hub has been created. Changing this forces a new resource to be created. ResourceGroupName pulumi.StringPtrInput }
func (EndpointEventhubState) ElementType ¶
func (EndpointEventhubState) ElementType() reflect.Type
type EndpointServicebusQueue ¶
type EndpointServicebusQueue struct { pulumi.CustomResourceState // Type used to authenticate against the Service Bus Queue endpoint. Possible values are `keyBased` and `identityBased`. Defaults to `keyBased`. AuthenticationType pulumi.StringPtrOutput `pulumi:"authenticationType"` // The connection string for the endpoint. This attribute can only be specified and is mandatory when `authenticationType` is `keyBased`. ConnectionString pulumi.StringPtrOutput `pulumi:"connectionString"` // URI of the Service Bus endpoint. This attribute can only be specified and is mandatory when `authenticationType` is `identityBased`. EndpointUri pulumi.StringPtrOutput `pulumi:"endpointUri"` // Name of the Service Bus Queue. This attribute can only be specified and is mandatory when `authenticationType` is `identityBased`. EntityPath pulumi.StringPtrOutput `pulumi:"entityPath"` // ID of the User Managed Identity used to authenticate against the Service Bus Queue endpoint. // // > **NOTE:** `identityId` can only be specified when `authenticationType` is `identityBased`. It must be one of the `identityIds` of the Iot Hub. If not specified when `authenticationType` is `identityBased`, System Assigned Managed Identity of the Iot Hub will be used. IdentityId pulumi.StringPtrOutput `pulumi:"identityId"` // The IoTHub ID for the endpoint. Changing this forces a new resource to be created. IothubId pulumi.StringOutput `pulumi:"iothubId"` // The name of the endpoint. The name must be unique across endpoint types. The following names are reserved: `events`, `operationsMonitoringEvents`, `fileNotifications` and `$default`. Changing this forces a new resource to be created. Name pulumi.StringOutput `pulumi:"name"` // The name of the resource group under which the Service Bus Queue has been created. Changing this forces a new resource to be created. 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.
## Import
IoTHub ServiceBus Queue Endpoint can be imported using the `resource id`, e.g.
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
type EndpointServicebusQueueArgs ¶
type EndpointServicebusQueueArgs struct { // Type used to authenticate against the Service Bus Queue endpoint. Possible values are `keyBased` and `identityBased`. Defaults to `keyBased`. AuthenticationType pulumi.StringPtrInput // The connection string for the endpoint. This attribute can only be specified and is mandatory when `authenticationType` is `keyBased`. ConnectionString pulumi.StringPtrInput // URI of the Service Bus endpoint. This attribute can only be specified and is mandatory when `authenticationType` is `identityBased`. EndpointUri pulumi.StringPtrInput // Name of the Service Bus Queue. This attribute can only be specified and is mandatory when `authenticationType` is `identityBased`. EntityPath pulumi.StringPtrInput // ID of the User Managed Identity used to authenticate against the Service Bus Queue endpoint. // // > **NOTE:** `identityId` can only be specified when `authenticationType` is `identityBased`. It must be one of the `identityIds` of the Iot Hub. If not specified when `authenticationType` is `identityBased`, System Assigned Managed Identity of the Iot Hub will be used. IdentityId pulumi.StringPtrInput // The IoTHub ID for the endpoint. Changing this forces a new resource to be created. IothubId 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`. Changing this forces a new resource to be created. Name pulumi.StringPtrInput // The name of the resource group under which the Service Bus Queue has been created. Changing this forces a new resource to be created. 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) AuthenticationType ¶
func (o EndpointServicebusQueueOutput) AuthenticationType() pulumi.StringPtrOutput
Type used to authenticate against the Service Bus Queue endpoint. Possible values are `keyBased` and `identityBased`. Defaults to `keyBased`.
func (EndpointServicebusQueueOutput) ConnectionString ¶
func (o EndpointServicebusQueueOutput) ConnectionString() pulumi.StringPtrOutput
The connection string for the endpoint. This attribute can only be specified and is mandatory when `authenticationType` is `keyBased`.
func (EndpointServicebusQueueOutput) ElementType ¶
func (EndpointServicebusQueueOutput) ElementType() reflect.Type
func (EndpointServicebusQueueOutput) EndpointUri ¶
func (o EndpointServicebusQueueOutput) EndpointUri() pulumi.StringPtrOutput
URI of the Service Bus endpoint. This attribute can only be specified and is mandatory when `authenticationType` is `identityBased`.
func (EndpointServicebusQueueOutput) EntityPath ¶
func (o EndpointServicebusQueueOutput) EntityPath() pulumi.StringPtrOutput
Name of the Service Bus Queue. This attribute can only be specified and is mandatory when `authenticationType` is `identityBased`.
func (EndpointServicebusQueueOutput) IdentityId ¶
func (o EndpointServicebusQueueOutput) IdentityId() pulumi.StringPtrOutput
ID of the User Managed Identity used to authenticate against the Service Bus Queue endpoint.
> **NOTE:** `identityId` can only be specified when `authenticationType` is `identityBased`. It must be one of the `identityIds` of the Iot Hub. If not specified when `authenticationType` is `identityBased`, System Assigned Managed Identity of the Iot Hub will be used.
func (EndpointServicebusQueueOutput) IothubId ¶
func (o EndpointServicebusQueueOutput) IothubId() pulumi.StringOutput
The IoTHub ID for the endpoint. Changing this forces a new resource to be created.
func (EndpointServicebusQueueOutput) Name ¶
func (o EndpointServicebusQueueOutput) 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`. Changing this forces a new resource to be created.
func (EndpointServicebusQueueOutput) ResourceGroupName ¶
func (o EndpointServicebusQueueOutput) ResourceGroupName() pulumi.StringOutput
The name of the resource group under which the Service Bus Queue has been created. Changing this forces a new resource to be created.
func (EndpointServicebusQueueOutput) ToEndpointServicebusQueueOutput ¶
func (o EndpointServicebusQueueOutput) ToEndpointServicebusQueueOutput() EndpointServicebusQueueOutput
func (EndpointServicebusQueueOutput) ToEndpointServicebusQueueOutputWithContext ¶
func (o EndpointServicebusQueueOutput) ToEndpointServicebusQueueOutputWithContext(ctx context.Context) EndpointServicebusQueueOutput
type EndpointServicebusQueueState ¶
type EndpointServicebusQueueState struct { // Type used to authenticate against the Service Bus Queue endpoint. Possible values are `keyBased` and `identityBased`. Defaults to `keyBased`. AuthenticationType pulumi.StringPtrInput // The connection string for the endpoint. This attribute can only be specified and is mandatory when `authenticationType` is `keyBased`. ConnectionString pulumi.StringPtrInput // URI of the Service Bus endpoint. This attribute can only be specified and is mandatory when `authenticationType` is `identityBased`. EndpointUri pulumi.StringPtrInput // Name of the Service Bus Queue. This attribute can only be specified and is mandatory when `authenticationType` is `identityBased`. EntityPath pulumi.StringPtrInput // ID of the User Managed Identity used to authenticate against the Service Bus Queue endpoint. // // > **NOTE:** `identityId` can only be specified when `authenticationType` is `identityBased`. It must be one of the `identityIds` of the Iot Hub. If not specified when `authenticationType` is `identityBased`, System Assigned Managed Identity of the Iot Hub will be used. IdentityId pulumi.StringPtrInput // The IoTHub ID for the endpoint. Changing this forces a new resource to be created. IothubId 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`. Changing this forces a new resource to be created. Name pulumi.StringPtrInput // The name of the resource group under which the Service Bus Queue has been created. Changing this forces a new resource to be created. ResourceGroupName pulumi.StringPtrInput }
func (EndpointServicebusQueueState) ElementType ¶
func (EndpointServicebusQueueState) ElementType() reflect.Type
type EndpointServicebusTopic ¶
type EndpointServicebusTopic struct { pulumi.CustomResourceState // Type used to authenticate against the Service Bus Topic endpoint. Possible values are `keyBased` and `identityBased`. Defaults to `keyBased`. AuthenticationType pulumi.StringPtrOutput `pulumi:"authenticationType"` // The connection string for the endpoint. This attribute can only be specified and is mandatory when `authenticationType` is `keyBased`. ConnectionString pulumi.StringPtrOutput `pulumi:"connectionString"` // URI of the Service Bus endpoint. This attribute can only be specified and is mandatory when `authenticationType` is `identityBased`. EndpointUri pulumi.StringPtrOutput `pulumi:"endpointUri"` // Name of the Service Bus Topic. This attribute can only be specified and is mandatory when `authenticationType` is `identityBased`. EntityPath pulumi.StringPtrOutput `pulumi:"entityPath"` // ID of the User Managed Identity used to authenticate against the Service Bus Topic endpoint. // // > **NOTE:** `identityId` can only be specified when `authenticationType` is `identityBased`. It must be one of the `identityIds` of the Iot Hub. If not specified when `authenticationType` is `identityBased`, System Assigned Managed Identity of the Iot Hub will be used. IdentityId pulumi.StringPtrOutput `pulumi:"identityId"` // The IoTHub ID for the endpoint. Changing this forces a new resource to be created. IothubId pulumi.StringOutput `pulumi:"iothubId"` // The name of the endpoint. The name must be unique across endpoint types. The following names are reserved: `events`, `operationsMonitoringEvents`, `fileNotifications` and `$default`. Changing this forces a new resource to be created. Name pulumi.StringOutput `pulumi:"name"` // The name of the resource group under which the Service Bus Topic has been created. Changing this forces a new resource to be created. 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/v6/go/azure/core" "github.com/pulumi/pulumi-azure/sdk/v6/go/azure/iot" "github.com/pulumi/pulumi-azure/sdk/v6/go/azure/servicebus" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{ Name: pulumi.String("example-resources"), Location: pulumi.String("West Europe"), }) if err != nil { return err } exampleNamespace, err := servicebus.NewNamespace(ctx, "example", &servicebus.NamespaceArgs{ Name: pulumi.String("exampleNamespace"), Location: example.Location, ResourceGroupName: example.Name, Sku: pulumi.String("Standard"), }) if err != nil { return err } exampleTopic, err := servicebus.NewTopic(ctx, "example", &servicebus.TopicArgs{ Name: pulumi.String("exampleTopic"), NamespaceId: exampleNamespace.ID(), }) if err != nil { return err } exampleTopicAuthorizationRule, err := servicebus.NewTopicAuthorizationRule(ctx, "example", &servicebus.TopicAuthorizationRuleArgs{ Name: pulumi.String("exampleRule"), TopicId: exampleTopic.ID(), Listen: pulumi.Bool(false), Send: pulumi.Bool(true), Manage: pulumi.Bool(false), }) if err != nil { return err } exampleIoTHub, err := iot.NewIoTHub(ctx, "example", &iot.IoTHubArgs{ Name: pulumi.String("exampleIothub"), ResourceGroupName: example.Name, Location: example.Location, Sku: &iot.IoTHubSkuArgs{ Name: pulumi.String("B1"), Capacity: pulumi.Int(1), }, Tags: pulumi.StringMap{ "purpose": pulumi.String("example"), }, }) if err != nil { return err } _, err = iot.NewEndpointServicebusTopic(ctx, "example", &iot.EndpointServicebusTopicArgs{ ResourceGroupName: example.Name, IothubId: exampleIoTHub.ID(), Name: pulumi.String("example"), 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
type EndpointServicebusTopicArgs ¶
type EndpointServicebusTopicArgs struct { // Type used to authenticate against the Service Bus Topic endpoint. Possible values are `keyBased` and `identityBased`. Defaults to `keyBased`. AuthenticationType pulumi.StringPtrInput // The connection string for the endpoint. This attribute can only be specified and is mandatory when `authenticationType` is `keyBased`. ConnectionString pulumi.StringPtrInput // URI of the Service Bus endpoint. This attribute can only be specified and is mandatory when `authenticationType` is `identityBased`. EndpointUri pulumi.StringPtrInput // Name of the Service Bus Topic. This attribute can only be specified and is mandatory when `authenticationType` is `identityBased`. EntityPath pulumi.StringPtrInput // ID of the User Managed Identity used to authenticate against the Service Bus Topic endpoint. // // > **NOTE:** `identityId` can only be specified when `authenticationType` is `identityBased`. It must be one of the `identityIds` of the Iot Hub. If not specified when `authenticationType` is `identityBased`, System Assigned Managed Identity of the Iot Hub will be used. IdentityId pulumi.StringPtrInput // The IoTHub ID for the endpoint. Changing this forces a new resource to be created. IothubId 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`. Changing this forces a new resource to be created. Name pulumi.StringPtrInput // The name of the resource group under which the Service Bus Topic has been created. Changing this forces a new resource to be created. 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) AuthenticationType ¶
func (o EndpointServicebusTopicOutput) AuthenticationType() pulumi.StringPtrOutput
Type used to authenticate against the Service Bus Topic endpoint. Possible values are `keyBased` and `identityBased`. Defaults to `keyBased`.
func (EndpointServicebusTopicOutput) ConnectionString ¶
func (o EndpointServicebusTopicOutput) ConnectionString() pulumi.StringPtrOutput
The connection string for the endpoint. This attribute can only be specified and is mandatory when `authenticationType` is `keyBased`.
func (EndpointServicebusTopicOutput) ElementType ¶
func (EndpointServicebusTopicOutput) ElementType() reflect.Type
func (EndpointServicebusTopicOutput) EndpointUri ¶
func (o EndpointServicebusTopicOutput) EndpointUri() pulumi.StringPtrOutput
URI of the Service Bus endpoint. This attribute can only be specified and is mandatory when `authenticationType` is `identityBased`.
func (EndpointServicebusTopicOutput) EntityPath ¶
func (o EndpointServicebusTopicOutput) EntityPath() pulumi.StringPtrOutput
Name of the Service Bus Topic. This attribute can only be specified and is mandatory when `authenticationType` is `identityBased`.
func (EndpointServicebusTopicOutput) IdentityId ¶
func (o EndpointServicebusTopicOutput) IdentityId() pulumi.StringPtrOutput
ID of the User Managed Identity used to authenticate against the Service Bus Topic endpoint.
> **NOTE:** `identityId` can only be specified when `authenticationType` is `identityBased`. It must be one of the `identityIds` of the Iot Hub. If not specified when `authenticationType` is `identityBased`, System Assigned Managed Identity of the Iot Hub will be used.
func (EndpointServicebusTopicOutput) IothubId ¶
func (o EndpointServicebusTopicOutput) IothubId() pulumi.StringOutput
The IoTHub ID for the endpoint. Changing this forces a new resource to be created.
func (EndpointServicebusTopicOutput) Name ¶
func (o EndpointServicebusTopicOutput) 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`. Changing this forces a new resource to be created.
func (EndpointServicebusTopicOutput) ResourceGroupName ¶
func (o EndpointServicebusTopicOutput) ResourceGroupName() pulumi.StringOutput
The name of the resource group under which the Service Bus Topic has been created. Changing this forces a new resource to be created.
func (EndpointServicebusTopicOutput) ToEndpointServicebusTopicOutput ¶
func (o EndpointServicebusTopicOutput) ToEndpointServicebusTopicOutput() EndpointServicebusTopicOutput
func (EndpointServicebusTopicOutput) ToEndpointServicebusTopicOutputWithContext ¶
func (o EndpointServicebusTopicOutput) ToEndpointServicebusTopicOutputWithContext(ctx context.Context) EndpointServicebusTopicOutput
type EndpointServicebusTopicState ¶
type EndpointServicebusTopicState struct { // Type used to authenticate against the Service Bus Topic endpoint. Possible values are `keyBased` and `identityBased`. Defaults to `keyBased`. AuthenticationType pulumi.StringPtrInput // The connection string for the endpoint. This attribute can only be specified and is mandatory when `authenticationType` is `keyBased`. ConnectionString pulumi.StringPtrInput // URI of the Service Bus endpoint. This attribute can only be specified and is mandatory when `authenticationType` is `identityBased`. EndpointUri pulumi.StringPtrInput // Name of the Service Bus Topic. This attribute can only be specified and is mandatory when `authenticationType` is `identityBased`. EntityPath pulumi.StringPtrInput // ID of the User Managed Identity used to authenticate against the Service Bus Topic endpoint. // // > **NOTE:** `identityId` can only be specified when `authenticationType` is `identityBased`. It must be one of the `identityIds` of the Iot Hub. If not specified when `authenticationType` is `identityBased`, System Assigned Managed Identity of the Iot Hub will be used. IdentityId pulumi.StringPtrInput // The IoTHub ID for the endpoint. Changing this forces a new resource to be created. IothubId 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`. Changing this forces a new resource to be created. Name pulumi.StringPtrInput // The name of the resource group under which the Service Bus Topic has been created. Changing this forces a new resource to be created. ResourceGroupName pulumi.StringPtrInput }
func (EndpointServicebusTopicState) ElementType ¶
func (EndpointServicebusTopicState) ElementType() reflect.Type
type EndpointStorageContainer ¶
type EndpointStorageContainer struct { pulumi.CustomResourceState // Type used to authenticate against the storage endpoint. Possible values are `keyBased` and `identityBased`. Defaults to `keyBased`. AuthenticationType pulumi.StringPtrOutput `pulumi:"authenticationType"` // 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. This attribute can only be specified and is mandatory when `authenticationType` is `keyBased`. ConnectionString pulumi.StringPtrOutput `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`, `AvroDeflate` and `JSON`. Default value is `Avro`. Changing this forces a new resource to be created. Encoding pulumi.StringPtrOutput `pulumi:"encoding"` // URI of the Storage Container endpoint. This corresponds to the `primaryBlobEndpoint` of the parent storage account. This attribute can only be specified and is mandatory when `authenticationType` is `identityBased`. EndpointUri pulumi.StringPtrOutput `pulumi:"endpointUri"` // File name format for the blob. All parameters are mandatory but can be reordered. Defaults to `{iothub}/{partition}/{YYYY}/{MM}/{DD}/{HH}/{mm}`. FileNameFormat pulumi.StringPtrOutput `pulumi:"fileNameFormat"` // ID of the User Managed Identity used to authenticate against the storage endpoint. // // > **NOTE:** `identityId` can only be specified when `authenticationType` is `identityBased`. It must be one of the `identityIds` of the Iot Hub. If not specified when `authenticationType` is `identityBased`, System Assigned Managed Identity of the Iot Hub will be used. IdentityId pulumi.StringPtrOutput `pulumi:"identityId"` // The IoTHub ID for the endpoint. Changing this forces a new resource to be created. IothubId pulumi.StringOutput `pulumi:"iothubId"` // 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`. Changing this forces a new resource to be created. Name pulumi.StringOutput `pulumi:"name"` // The name of the resource group under which the Storage Container has been 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/v6/go/azure/core" "github.com/pulumi/pulumi-azure/sdk/v6/go/azure/iot" "github.com/pulumi/pulumi-azure/sdk/v6/go/azure/storage" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{ Name: pulumi.String("example-resources"), Location: pulumi.String("West Europe"), }) if err != nil { return err } exampleAccount, err := storage.NewAccount(ctx, "example", &storage.AccountArgs{ Name: pulumi.String("example"), ResourceGroupName: example.Name, Location: example.Location, AccountTier: pulumi.String("Standard"), AccountReplicationType: pulumi.String("LRS"), }) if err != nil { return err } _, err = storage.NewContainer(ctx, "example", &storage.ContainerArgs{ Name: pulumi.String("acctestcont"), StorageAccountName: exampleAccount.Name, ContainerAccessType: pulumi.String("private"), }) if err != nil { return err } exampleIoTHub, err := iot.NewIoTHub(ctx, "example", &iot.IoTHubArgs{ Name: pulumi.String("example"), ResourceGroupName: example.Name, Location: example.Location, Sku: &iot.IoTHubSkuArgs{ Name: pulumi.String("S1"), Capacity: pulumi.Int(1), }, }) if err != nil { return err } _, err = iot.NewEndpointStorageContainer(ctx, "example", &iot.EndpointStorageContainerArgs{ ResourceGroupName: example.Name, IothubId: exampleIoTHub.ID(), Name: pulumi.String("acctest"), 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
type EndpointStorageContainerArgs ¶
type EndpointStorageContainerArgs struct { // Type used to authenticate against the storage endpoint. Possible values are `keyBased` and `identityBased`. Defaults to `keyBased`. AuthenticationType pulumi.StringPtrInput // 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. This attribute can only be specified and is mandatory when `authenticationType` is `keyBased`. ConnectionString pulumi.StringPtrInput // 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`, `AvroDeflate` and `JSON`. Default value is `Avro`. Changing this forces a new resource to be created. Encoding pulumi.StringPtrInput // URI of the Storage Container endpoint. This corresponds to the `primaryBlobEndpoint` of the parent storage account. This attribute can only be specified and is mandatory when `authenticationType` is `identityBased`. EndpointUri pulumi.StringPtrInput // File name format for the blob. All parameters are mandatory but can be reordered. Defaults to `{iothub}/{partition}/{YYYY}/{MM}/{DD}/{HH}/{mm}`. FileNameFormat pulumi.StringPtrInput // ID of the User Managed Identity used to authenticate against the storage endpoint. // // > **NOTE:** `identityId` can only be specified when `authenticationType` is `identityBased`. It must be one of the `identityIds` of the Iot Hub. If not specified when `authenticationType` is `identityBased`, System Assigned Managed Identity of the Iot Hub will be used. IdentityId pulumi.StringPtrInput // The IoTHub ID for the endpoint. Changing this forces a new resource to be created. IothubId 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`. Changing this forces a new resource to be created. Name pulumi.StringPtrInput // The name of the resource group under which the Storage Container has been 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) AuthenticationType ¶
func (o EndpointStorageContainerOutput) AuthenticationType() pulumi.StringPtrOutput
Type used to authenticate against the storage endpoint. Possible values are `keyBased` and `identityBased`. Defaults to `keyBased`.
func (EndpointStorageContainerOutput) BatchFrequencyInSeconds ¶
func (o EndpointStorageContainerOutput) 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.
func (EndpointStorageContainerOutput) ConnectionString ¶
func (o EndpointStorageContainerOutput) ConnectionString() pulumi.StringPtrOutput
The connection string for the endpoint. This attribute can only be specified and is mandatory when `authenticationType` is `keyBased`.
func (EndpointStorageContainerOutput) ContainerName ¶
func (o EndpointStorageContainerOutput) ContainerName() pulumi.StringOutput
The name of storage container in the storage account.
func (EndpointStorageContainerOutput) ElementType ¶
func (EndpointStorageContainerOutput) ElementType() reflect.Type
func (EndpointStorageContainerOutput) Encoding ¶
func (o EndpointStorageContainerOutput) Encoding() pulumi.StringPtrOutput
Encoding that is used to serialize messages to blobs. Supported values are `Avro`, `AvroDeflate` and `JSON`. Default value is `Avro`. Changing this forces a new resource to be created.
func (EndpointStorageContainerOutput) EndpointUri ¶
func (o EndpointStorageContainerOutput) EndpointUri() pulumi.StringPtrOutput
URI of the Storage Container endpoint. This corresponds to the `primaryBlobEndpoint` of the parent storage account. This attribute can only be specified and is mandatory when `authenticationType` is `identityBased`.
func (EndpointStorageContainerOutput) FileNameFormat ¶
func (o EndpointStorageContainerOutput) FileNameFormat() pulumi.StringPtrOutput
File name format for the blob. All parameters are mandatory but can be reordered. Defaults to `{iothub}/{partition}/{YYYY}/{MM}/{DD}/{HH}/{mm}`.
func (EndpointStorageContainerOutput) IdentityId ¶
func (o EndpointStorageContainerOutput) IdentityId() pulumi.StringPtrOutput
ID of the User Managed Identity used to authenticate against the storage endpoint.
> **NOTE:** `identityId` can only be specified when `authenticationType` is `identityBased`. It must be one of the `identityIds` of the Iot Hub. If not specified when `authenticationType` is `identityBased`, System Assigned Managed Identity of the Iot Hub will be used.
func (EndpointStorageContainerOutput) IothubId ¶
func (o EndpointStorageContainerOutput) IothubId() pulumi.StringOutput
The IoTHub ID for the endpoint. Changing this forces a new resource to be created.
func (EndpointStorageContainerOutput) MaxChunkSizeInBytes ¶
func (o EndpointStorageContainerOutput) 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).
func (EndpointStorageContainerOutput) Name ¶
func (o EndpointStorageContainerOutput) 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`. Changing this forces a new resource to be created.
func (EndpointStorageContainerOutput) ResourceGroupName ¶
func (o EndpointStorageContainerOutput) ResourceGroupName() pulumi.StringOutput
The name of the resource group under which the Storage Container has been created. Changing this forces a new resource to be created.
func (EndpointStorageContainerOutput) ToEndpointStorageContainerOutput ¶
func (o EndpointStorageContainerOutput) ToEndpointStorageContainerOutput() EndpointStorageContainerOutput
func (EndpointStorageContainerOutput) ToEndpointStorageContainerOutputWithContext ¶
func (o EndpointStorageContainerOutput) ToEndpointStorageContainerOutputWithContext(ctx context.Context) EndpointStorageContainerOutput
type EndpointStorageContainerState ¶
type EndpointStorageContainerState struct { // Type used to authenticate against the storage endpoint. Possible values are `keyBased` and `identityBased`. Defaults to `keyBased`. AuthenticationType pulumi.StringPtrInput // 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. This attribute can only be specified and is mandatory when `authenticationType` is `keyBased`. 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`, `AvroDeflate` and `JSON`. Default value is `Avro`. Changing this forces a new resource to be created. Encoding pulumi.StringPtrInput // URI of the Storage Container endpoint. This corresponds to the `primaryBlobEndpoint` of the parent storage account. This attribute can only be specified and is mandatory when `authenticationType` is `identityBased`. EndpointUri pulumi.StringPtrInput // File name format for the blob. All parameters are mandatory but can be reordered. Defaults to `{iothub}/{partition}/{YYYY}/{MM}/{DD}/{HH}/{mm}`. FileNameFormat pulumi.StringPtrInput // ID of the User Managed Identity used to authenticate against the storage endpoint. // // > **NOTE:** `identityId` can only be specified when `authenticationType` is `identityBased`. It must be one of the `identityIds` of the Iot Hub. If not specified when `authenticationType` is `identityBased`, System Assigned Managed Identity of the Iot Hub will be used. IdentityId pulumi.StringPtrInput // The IoTHub ID for the endpoint. Changing this forces a new resource to be created. IothubId 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`. Changing this forces a new resource to be created. Name pulumi.StringPtrInput // The name of the resource group under which the Storage Container has been 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"` // The IoTHub name of the enrichment. Changing this forces a new resource to be created. IothubName pulumi.StringOutput `pulumi:"iothubName"` // The key of the enrichment. Changing this forces a new resource to be created. Key pulumi.StringOutput `pulumi:"key"` // The name of the resource group under which the IoTHub resource is created. Changing this forces a new resource to be created. 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/v6/go/azure/core" "github.com/pulumi/pulumi-azure/sdk/v6/go/azure/iot" "github.com/pulumi/pulumi-azure/sdk/v6/go/azure/storage" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{ Name: pulumi.String("example-resources"), Location: pulumi.String("West Europe"), }) if err != nil { return err } exampleAccount, err := storage.NewAccount(ctx, "example", &storage.AccountArgs{ Name: pulumi.String("examplestorageaccount"), ResourceGroupName: example.Name, Location: example.Location, AccountTier: pulumi.String("Standard"), AccountReplicationType: pulumi.String("LRS"), }) if err != nil { return err } exampleContainer, err := storage.NewContainer(ctx, "example", &storage.ContainerArgs{ Name: pulumi.String("example"), StorageAccountName: exampleAccount.Name, ContainerAccessType: pulumi.String("private"), }) if err != nil { return err } exampleIoTHub, err := iot.NewIoTHub(ctx, "example", &iot.IoTHubArgs{ Name: pulumi.String("exampleIothub"), ResourceGroupName: example.Name, Location: example.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, "example", &iot.EndpointStorageContainerArgs{ ResourceGroupName: example.Name, IothubId: exampleIoTHub.ID(), Name: pulumi.String("example"), 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, "example", &iot.RouteArgs{ ResourceGroupName: example.Name, IothubName: exampleIoTHub.Name, Name: pulumi.String("example"), Source: pulumi.String("DeviceMessages"), Condition: pulumi.String("true"), EndpointNames: exampleEndpointStorageContainer.Name, Enabled: pulumi.Bool(true), }) if err != nil { return err } _, err = iot.NewEnrichment(ctx, "example", &iot.EnrichmentArgs{ ResourceGroupName: example.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
type EnrichmentArgs ¶
type EnrichmentArgs struct { // The list of endpoints which will be enriched. EndpointNames pulumi.StringArrayInput // The IoTHub name of the enrichment. Changing this forces a new resource to be created. IothubName pulumi.StringInput // The key of the enrichment. Changing this forces a new resource to be created. Key pulumi.StringInput // The name of the resource group under which the IoTHub resource is created. Changing this forces a new resource to be created. 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) EndpointNames ¶
func (o EnrichmentOutput) EndpointNames() pulumi.StringArrayOutput
The list of endpoints which will be enriched.
func (EnrichmentOutput) IothubName ¶
func (o EnrichmentOutput) IothubName() pulumi.StringOutput
The IoTHub name of the enrichment. Changing this forces a new resource to be created.
func (EnrichmentOutput) Key ¶
func (o EnrichmentOutput) Key() pulumi.StringOutput
The key of the enrichment. Changing this forces a new resource to be created.
func (EnrichmentOutput) ResourceGroupName ¶
func (o EnrichmentOutput) ResourceGroupName() pulumi.StringOutput
The name of the resource group under which the IoTHub resource is created. Changing this forces a new resource to be created.
func (EnrichmentOutput) ToEnrichmentOutput ¶
func (o EnrichmentOutput) ToEnrichmentOutput() EnrichmentOutput
func (EnrichmentOutput) ToEnrichmentOutputWithContext ¶
func (o EnrichmentOutput) ToEnrichmentOutputWithContext(ctx context.Context) EnrichmentOutput
func (EnrichmentOutput) Value ¶
func (o EnrichmentOutput) 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 EnrichmentState ¶
type EnrichmentState struct { // The list of endpoints which will be enriched. EndpointNames pulumi.StringArrayInput // The IoTHub name of the enrichment. Changing this forces a new resource to be created. IothubName pulumi.StringPtrInput // The key of the enrichment. Changing this forces a new resource to be created. Key pulumi.StringPtrInput // The name of the resource group under which the IoTHub resource is created. Changing this forces a new resource to be created. 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. For grammar, see: <https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-query-language>. Defaults to `true`. 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"` // The source that the routing rule is to be applied to. Possible values include: `DeviceConnectionStateEvents`, `DeviceJobLifecycleEvents`, `DeviceLifecycleEvents`, `DeviceMessages`, `DigitalTwinChangeEvents`, `Invalid`, `TwinChangeEvents`. Defaults to `DeviceMessages`. Source pulumi.StringPtrOutput `pulumi:"source"` }
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/v6/go/azure/core" "github.com/pulumi/pulumi-azure/sdk/v6/go/azure/iot" "github.com/pulumi/pulumi-azure/sdk/v6/go/azure/storage" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{ Name: pulumi.String("example-resources"), Location: pulumi.String("West Europe"), }) if err != nil { return err } exampleAccount, err := storage.NewAccount(ctx, "example", &storage.AccountArgs{ Name: pulumi.String("examplestorageaccount"), ResourceGroupName: example.Name, Location: example.Location, AccountTier: pulumi.String("Standard"), AccountReplicationType: pulumi.String("LRS"), }) if err != nil { return err } exampleContainer, err := storage.NewContainer(ctx, "example", &storage.ContainerArgs{ Name: pulumi.String("example"), StorageAccountName: exampleAccount.Name, ContainerAccessType: pulumi.String("private"), }) if err != nil { return err } exampleIoTHub, err := iot.NewIoTHub(ctx, "example", &iot.IoTHubArgs{ Name: pulumi.String("exampleIothub"), ResourceGroupName: example.Name, Location: example.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, "example", &iot.EndpointStorageContainerArgs{ ResourceGroupName: example.Name, IothubId: exampleIoTHub.ID(), Name: pulumi.String("example"), 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, "example", &iot.FallbackRouteArgs{ ResourceGroupName: example.Name, IothubName: exampleIoTHub.Name, Condition: pulumi.String("true"), EndpointNames: 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
type FallbackRouteArgs ¶
type FallbackRouteArgs struct { // The condition that is evaluated to apply the routing rule. For grammar, see: <https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-query-language>. Defaults to `true`. 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 source that the routing rule is to be applied to. Possible values include: `DeviceConnectionStateEvents`, `DeviceJobLifecycleEvents`, `DeviceLifecycleEvents`, `DeviceMessages`, `DigitalTwinChangeEvents`, `Invalid`, `TwinChangeEvents`. Defaults to `DeviceMessages`. Source pulumi.StringPtrInput }
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) Condition ¶
func (o FallbackRouteOutput) Condition() pulumi.StringPtrOutput
The condition that is evaluated to apply the routing rule. For grammar, see: <https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-query-language>. Defaults to `true`.
func (FallbackRouteOutput) ElementType ¶
func (FallbackRouteOutput) ElementType() reflect.Type
func (FallbackRouteOutput) Enabled ¶
func (o FallbackRouteOutput) Enabled() pulumi.BoolOutput
Used to specify whether the fallback route is enabled.
func (FallbackRouteOutput) EndpointNames ¶
func (o FallbackRouteOutput) EndpointNames() pulumi.StringOutput
The endpoints to which messages that satisfy the condition are routed. Currently only 1 endpoint is allowed.
func (FallbackRouteOutput) IothubName ¶
func (o FallbackRouteOutput) IothubName() pulumi.StringOutput
The name of the IoTHub to which this Fallback Route belongs. Changing this forces a new resource to be created.
func (FallbackRouteOutput) ResourceGroupName ¶
func (o FallbackRouteOutput) ResourceGroupName() pulumi.StringOutput
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.
func (FallbackRouteOutput) Source ¶
func (o FallbackRouteOutput) Source() pulumi.StringPtrOutput
The source that the routing rule is to be applied to. Possible values include: `DeviceConnectionStateEvents`, `DeviceJobLifecycleEvents`, `DeviceLifecycleEvents`, `DeviceMessages`, `DigitalTwinChangeEvents`, `Invalid`, `TwinChangeEvents`. Defaults to `DeviceMessages`.
func (FallbackRouteOutput) ToFallbackRouteOutput ¶
func (o FallbackRouteOutput) ToFallbackRouteOutput() FallbackRouteOutput
func (FallbackRouteOutput) ToFallbackRouteOutputWithContext ¶
func (o FallbackRouteOutput) ToFallbackRouteOutputWithContext(ctx context.Context) FallbackRouteOutput
type FallbackRouteState ¶
type FallbackRouteState struct { // The condition that is evaluated to apply the routing rule. For grammar, see: <https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-query-language>. Defaults to `true`. 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 // The source that the routing rule is to be applied to. Possible values include: `DeviceConnectionStateEvents`, `DeviceJobLifecycleEvents`, `DeviceLifecycleEvents`, `DeviceMessages`, `DigitalTwinChangeEvents`, `Invalid`, `TwinChangeEvents`. Defaults to `DeviceMessages`. Source pulumi.StringPtrInput }
func (FallbackRouteState) ElementType ¶
func (FallbackRouteState) ElementType() reflect.Type
type FileUpload ¶
type FileUpload struct { pulumi.CustomResourceState // The type used to authenticate against the storage account. Possible values are `keyBased` and `identityBased`. Defaults to `keyBased`. AuthenticationType pulumi.StringPtrOutput `pulumi:"authenticationType"` // The connection string for the Azure Storage account to which files are uploaded. ConnectionString pulumi.StringOutput `pulumi:"connectionString"` // The name of the root container where the files should be uploaded to. The container need not exist but should be creatable using the `connectionString` specified. ContainerName pulumi.StringOutput `pulumi:"containerName"` // The period of time for which a file upload notification message is available to consume before it expires, 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. Defaults to `PT1H`. DefaultTtl pulumi.StringPtrOutput `pulumi:"defaultTtl"` // The ID of the User Managed Identity used to authenticate against the storage account. // // > **NOTE:** `identityId` can only be specified when `authenticationType` is `identityBased`. It must be one of the `identityIds` of the IoT Hub. If `identityId` is omitted when `authenticationType` is `identityBased`, then the System-Assigned Managed Identity of the IoT Hub will be used. IdentityId pulumi.StringPtrOutput `pulumi:"identityId"` // The ID of the IoT Hub. Changing this forces a new IoT Hub to be created. IothubId pulumi.StringOutput `pulumi:"iothubId"` // 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. Defaults to `PT1M`. LockDuration pulumi.StringPtrOutput `pulumi:"lockDuration"` // The number of times the IoT Hub attempts to deliver a file upload notification message. Defaults to `10`. MaxDeliveryCount pulumi.IntPtrOutput `pulumi:"maxDeliveryCount"` // Used to specify whether file notifications are sent to IoT Hub on upload. Defaults to `false`. NotificationsEnabled pulumi.BoolPtrOutput `pulumi:"notificationsEnabled"` // 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. Defaults to `PT1H`. SasTtl pulumi.StringPtrOutput `pulumi:"sasTtl"` }
Manages the File Upload of an IoT Hub.
> **NOTE:** File upload can be defined either directly on the `iot.IoTHub` resource, or using the `iot.FileUpload` 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 (
"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/core" "github.com/pulumi/pulumi-azure/sdk/v6/go/azure/iot" "github.com/pulumi/pulumi-azure/sdk/v6/go/azure/storage" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{ Name: pulumi.String("example-resources"), Location: pulumi.String("West Europe"), }) if err != nil { return err } exampleAccount, err := storage.NewAccount(ctx, "example", &storage.AccountArgs{ Name: pulumi.String("examplestorage"), ResourceGroupName: example.Name, Location: example.Location, AccountTier: pulumi.String("Standard"), AccountReplicationType: pulumi.String("LRS"), }) if err != nil { return err } exampleContainer, err := storage.NewContainer(ctx, "example", &storage.ContainerArgs{ Name: pulumi.String("examplecontainer"), StorageAccountName: exampleAccount.Name, ContainerAccessType: pulumi.String("private"), }) if err != nil { return err } exampleIoTHub, err := iot.NewIoTHub(ctx, "example", &iot.IoTHubArgs{ Name: pulumi.String("example"), ResourceGroupName: example.Name, Location: example.Location, Sku: &iot.IoTHubSkuArgs{ Name: pulumi.String("S1"), Capacity: pulumi.Int(1), }, }) if err != nil { return err } _, err = iot.NewFileUpload(ctx, "example", &iot.FileUploadArgs{ IothubId: exampleIoTHub.ID(), ConnectionString: exampleAccount.PrimaryBlobConnectionString, ContainerName: exampleContainer.Name, }) if err != nil { return err } return nil }) }
```
## Import
IoT Hub File Uploads can be imported using the `resource id`, e.g.
```sh $ pulumi import azure:iot/fileUpload:FileUpload example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mygroup1/providers/Microsoft.Devices/iotHubs/hub1 ```
func GetFileUpload ¶
func GetFileUpload(ctx *pulumi.Context, name string, id pulumi.IDInput, state *FileUploadState, opts ...pulumi.ResourceOption) (*FileUpload, error)
GetFileUpload gets an existing FileUpload 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 NewFileUpload ¶
func NewFileUpload(ctx *pulumi.Context, name string, args *FileUploadArgs, opts ...pulumi.ResourceOption) (*FileUpload, error)
NewFileUpload registers a new resource with the given unique name, arguments, and options.
func (*FileUpload) ElementType ¶
func (*FileUpload) ElementType() reflect.Type
func (*FileUpload) ToFileUploadOutput ¶
func (i *FileUpload) ToFileUploadOutput() FileUploadOutput
func (*FileUpload) ToFileUploadOutputWithContext ¶
func (i *FileUpload) ToFileUploadOutputWithContext(ctx context.Context) FileUploadOutput
type FileUploadArgs ¶
type FileUploadArgs struct { // The type used to authenticate against the storage account. Possible values are `keyBased` and `identityBased`. Defaults to `keyBased`. AuthenticationType pulumi.StringPtrInput // The connection string for the Azure Storage account to which files are uploaded. ConnectionString pulumi.StringInput // The name of the root container where the files should be uploaded to. The container need not exist but should be creatable using the `connectionString` specified. ContainerName pulumi.StringInput // The period of time for which a file upload notification message is available to consume before it expires, 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. Defaults to `PT1H`. DefaultTtl pulumi.StringPtrInput // The ID of the User Managed Identity used to authenticate against the storage account. // // > **NOTE:** `identityId` can only be specified when `authenticationType` is `identityBased`. It must be one of the `identityIds` of the IoT Hub. If `identityId` is omitted when `authenticationType` is `identityBased`, then the System-Assigned Managed Identity of the IoT Hub will be used. IdentityId pulumi.StringPtrInput // The ID of the IoT Hub. Changing this forces a new IoT Hub to be created. IothubId pulumi.StringInput // 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. Defaults to `PT1M`. LockDuration pulumi.StringPtrInput // The number of times the IoT Hub attempts to deliver a file upload notification message. Defaults to `10`. MaxDeliveryCount pulumi.IntPtrInput // Used to specify whether file notifications are sent to IoT Hub on upload. Defaults to `false`. NotificationsEnabled pulumi.BoolPtrInput // 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. Defaults to `PT1H`. SasTtl pulumi.StringPtrInput }
The set of arguments for constructing a FileUpload resource.
func (FileUploadArgs) ElementType ¶
func (FileUploadArgs) ElementType() reflect.Type
type FileUploadArray ¶
type FileUploadArray []FileUploadInput
func (FileUploadArray) ElementType ¶
func (FileUploadArray) ElementType() reflect.Type
func (FileUploadArray) ToFileUploadArrayOutput ¶
func (i FileUploadArray) ToFileUploadArrayOutput() FileUploadArrayOutput
func (FileUploadArray) ToFileUploadArrayOutputWithContext ¶
func (i FileUploadArray) ToFileUploadArrayOutputWithContext(ctx context.Context) FileUploadArrayOutput
type FileUploadArrayInput ¶
type FileUploadArrayInput interface { pulumi.Input ToFileUploadArrayOutput() FileUploadArrayOutput ToFileUploadArrayOutputWithContext(context.Context) FileUploadArrayOutput }
FileUploadArrayInput is an input type that accepts FileUploadArray and FileUploadArrayOutput values. You can construct a concrete instance of `FileUploadArrayInput` via:
FileUploadArray{ FileUploadArgs{...} }
type FileUploadArrayOutput ¶
type FileUploadArrayOutput struct{ *pulumi.OutputState }
func (FileUploadArrayOutput) ElementType ¶
func (FileUploadArrayOutput) ElementType() reflect.Type
func (FileUploadArrayOutput) Index ¶
func (o FileUploadArrayOutput) Index(i pulumi.IntInput) FileUploadOutput
func (FileUploadArrayOutput) ToFileUploadArrayOutput ¶
func (o FileUploadArrayOutput) ToFileUploadArrayOutput() FileUploadArrayOutput
func (FileUploadArrayOutput) ToFileUploadArrayOutputWithContext ¶
func (o FileUploadArrayOutput) ToFileUploadArrayOutputWithContext(ctx context.Context) FileUploadArrayOutput
type FileUploadInput ¶
type FileUploadInput interface { pulumi.Input ToFileUploadOutput() FileUploadOutput ToFileUploadOutputWithContext(ctx context.Context) FileUploadOutput }
type FileUploadMap ¶
type FileUploadMap map[string]FileUploadInput
func (FileUploadMap) ElementType ¶
func (FileUploadMap) ElementType() reflect.Type
func (FileUploadMap) ToFileUploadMapOutput ¶
func (i FileUploadMap) ToFileUploadMapOutput() FileUploadMapOutput
func (FileUploadMap) ToFileUploadMapOutputWithContext ¶
func (i FileUploadMap) ToFileUploadMapOutputWithContext(ctx context.Context) FileUploadMapOutput
type FileUploadMapInput ¶
type FileUploadMapInput interface { pulumi.Input ToFileUploadMapOutput() FileUploadMapOutput ToFileUploadMapOutputWithContext(context.Context) FileUploadMapOutput }
FileUploadMapInput is an input type that accepts FileUploadMap and FileUploadMapOutput values. You can construct a concrete instance of `FileUploadMapInput` via:
FileUploadMap{ "key": FileUploadArgs{...} }
type FileUploadMapOutput ¶
type FileUploadMapOutput struct{ *pulumi.OutputState }
func (FileUploadMapOutput) ElementType ¶
func (FileUploadMapOutput) ElementType() reflect.Type
func (FileUploadMapOutput) MapIndex ¶
func (o FileUploadMapOutput) MapIndex(k pulumi.StringInput) FileUploadOutput
func (FileUploadMapOutput) ToFileUploadMapOutput ¶
func (o FileUploadMapOutput) ToFileUploadMapOutput() FileUploadMapOutput
func (FileUploadMapOutput) ToFileUploadMapOutputWithContext ¶
func (o FileUploadMapOutput) ToFileUploadMapOutputWithContext(ctx context.Context) FileUploadMapOutput
type FileUploadOutput ¶
type FileUploadOutput struct{ *pulumi.OutputState }
func (FileUploadOutput) AuthenticationType ¶
func (o FileUploadOutput) AuthenticationType() pulumi.StringPtrOutput
The type used to authenticate against the storage account. Possible values are `keyBased` and `identityBased`. Defaults to `keyBased`.
func (FileUploadOutput) ConnectionString ¶
func (o FileUploadOutput) ConnectionString() pulumi.StringOutput
The connection string for the Azure Storage account to which files are uploaded.
func (FileUploadOutput) ContainerName ¶
func (o FileUploadOutput) ContainerName() pulumi.StringOutput
The name of the root container where the files should be uploaded to. The container need not exist but should be creatable using the `connectionString` specified.
func (FileUploadOutput) DefaultTtl ¶
func (o FileUploadOutput) DefaultTtl() pulumi.StringPtrOutput
The period of time for which a file upload notification message is available to consume before it expires, 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. Defaults to `PT1H`.
func (FileUploadOutput) ElementType ¶
func (FileUploadOutput) ElementType() reflect.Type
func (FileUploadOutput) IdentityId ¶
func (o FileUploadOutput) IdentityId() pulumi.StringPtrOutput
The ID of the User Managed Identity used to authenticate against the storage account.
> **NOTE:** `identityId` can only be specified when `authenticationType` is `identityBased`. It must be one of the `identityIds` of the IoT Hub. If `identityId` is omitted when `authenticationType` is `identityBased`, then the System-Assigned Managed Identity of the IoT Hub will be used.
func (FileUploadOutput) IothubId ¶
func (o FileUploadOutput) IothubId() pulumi.StringOutput
The ID of the IoT Hub. Changing this forces a new IoT Hub to be created.
func (FileUploadOutput) LockDuration ¶
func (o FileUploadOutput) 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. Defaults to `PT1M`.
func (FileUploadOutput) MaxDeliveryCount ¶
func (o FileUploadOutput) MaxDeliveryCount() pulumi.IntPtrOutput
The number of times the IoT Hub attempts to deliver a file upload notification message. Defaults to `10`.
func (FileUploadOutput) NotificationsEnabled ¶
func (o FileUploadOutput) NotificationsEnabled() pulumi.BoolPtrOutput
Used to specify whether file notifications are sent to IoT Hub on upload. Defaults to `false`.
func (FileUploadOutput) SasTtl ¶
func (o FileUploadOutput) 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. Defaults to `PT1H`.
func (FileUploadOutput) ToFileUploadOutput ¶
func (o FileUploadOutput) ToFileUploadOutput() FileUploadOutput
func (FileUploadOutput) ToFileUploadOutputWithContext ¶
func (o FileUploadOutput) ToFileUploadOutputWithContext(ctx context.Context) FileUploadOutput
type FileUploadState ¶
type FileUploadState struct { // The type used to authenticate against the storage account. Possible values are `keyBased` and `identityBased`. Defaults to `keyBased`. AuthenticationType pulumi.StringPtrInput // The connection string for the Azure Storage account to which files are uploaded. ConnectionString pulumi.StringPtrInput // The name of the root container where the files should be uploaded to. The container need not exist but should be creatable using the `connectionString` specified. ContainerName pulumi.StringPtrInput // The period of time for which a file upload notification message is available to consume before it expires, 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. Defaults to `PT1H`. DefaultTtl pulumi.StringPtrInput // The ID of the User Managed Identity used to authenticate against the storage account. // // > **NOTE:** `identityId` can only be specified when `authenticationType` is `identityBased`. It must be one of the `identityIds` of the IoT Hub. If `identityId` is omitted when `authenticationType` is `identityBased`, then the System-Assigned Managed Identity of the IoT Hub will be used. IdentityId pulumi.StringPtrInput // The ID of the IoT Hub. Changing this forces a new IoT Hub to be created. IothubId pulumi.StringPtrInput // 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. Defaults to `PT1M`. LockDuration pulumi.StringPtrInput // The number of times the IoT Hub attempts to deliver a file upload notification message. Defaults to `10`. MaxDeliveryCount pulumi.IntPtrInput // Used to specify whether file notifications are sent to IoT Hub on upload. Defaults to `false`. NotificationsEnabled pulumi.BoolPtrInput // 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. Defaults to `PT1H`. SasTtl pulumi.StringPtrInput }
func (FileUploadState) ElementType ¶
func (FileUploadState) 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 GetDpsOutputArgs ¶
type GetDpsOutputArgs struct { // Specifies the name of the Iot Device Provisioning Service resource. Name pulumi.StringInput `pulumi:"name"` // The name of the resource group under which the Iot Device Provisioning Service is located in. ResourceGroupName pulumi.StringInput `pulumi:"resourceGroupName"` Tags pulumi.StringMapInput `pulumi:"tags"` }
A collection of arguments for invoking getDps.
func (GetDpsOutputArgs) ElementType ¶
func (GetDpsOutputArgs) ElementType() reflect.Type
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/v6/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 GetDpsResultOutput ¶
type GetDpsResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getDps.
func GetDpsOutput ¶
func GetDpsOutput(ctx *pulumi.Context, args GetDpsOutputArgs, opts ...pulumi.InvokeOption) GetDpsResultOutput
func (GetDpsResultOutput) AllocationPolicy ¶
func (o GetDpsResultOutput) AllocationPolicy() pulumi.StringOutput
The allocation policy of the IoT Device Provisioning Service.
func (GetDpsResultOutput) DeviceProvisioningHostName ¶
func (o GetDpsResultOutput) DeviceProvisioningHostName() pulumi.StringOutput
The device endpoint of the IoT Device Provisioning Service.
func (GetDpsResultOutput) ElementType ¶
func (GetDpsResultOutput) ElementType() reflect.Type
func (GetDpsResultOutput) Id ¶
func (o GetDpsResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetDpsResultOutput) IdScope ¶
func (o GetDpsResultOutput) IdScope() pulumi.StringOutput
The unique identifier of the IoT Device Provisioning Service.
func (GetDpsResultOutput) Location ¶
func (o GetDpsResultOutput) Location() pulumi.StringOutput
Specifies the supported Azure location where the IoT Device Provisioning Service exists.
func (GetDpsResultOutput) Name ¶
func (o GetDpsResultOutput) Name() pulumi.StringOutput
func (GetDpsResultOutput) ResourceGroupName ¶
func (o GetDpsResultOutput) ResourceGroupName() pulumi.StringOutput
func (GetDpsResultOutput) ServiceOperationsHostName ¶
func (o GetDpsResultOutput) ServiceOperationsHostName() pulumi.StringOutput
The service endpoint of the IoT Device Provisioning Service.
func (GetDpsResultOutput) Tags ¶
func (o GetDpsResultOutput) Tags() pulumi.StringMapOutput
func (GetDpsResultOutput) ToGetDpsResultOutput ¶
func (o GetDpsResultOutput) ToGetDpsResultOutput() GetDpsResultOutput
func (GetDpsResultOutput) ToGetDpsResultOutputWithContext ¶
func (o GetDpsResultOutput) ToGetDpsResultOutputWithContext(ctx context.Context) GetDpsResultOutput
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 GetIotHubIdentity ¶
type GetIotHubIdentity struct { // The list of User Managed Identity IDs which are assigned to the Virtual Machine. IdentityIds []string `pulumi:"identityIds"` // The ID of the System Managed Service Principal assigned to the Virtual Machine. PrincipalId string `pulumi:"principalId"` // The ID of the Tenant of the System Managed Service Principal assigned to the Virtual Machine. TenantId string `pulumi:"tenantId"` // The identity type of the Managed Identity assigned to the Virtual Machine. Type string `pulumi:"type"` }
type GetIotHubIdentityArgs ¶
type GetIotHubIdentityArgs struct { // The list of User Managed Identity IDs which are assigned to the Virtual Machine. IdentityIds pulumi.StringArrayInput `pulumi:"identityIds"` // The ID of the System Managed Service Principal assigned to the Virtual Machine. PrincipalId pulumi.StringInput `pulumi:"principalId"` // The ID of the Tenant of the System Managed Service Principal assigned to the Virtual Machine. TenantId pulumi.StringInput `pulumi:"tenantId"` // The identity type of the Managed Identity assigned to the Virtual Machine. Type pulumi.StringInput `pulumi:"type"` }
func (GetIotHubIdentityArgs) ElementType ¶
func (GetIotHubIdentityArgs) ElementType() reflect.Type
func (GetIotHubIdentityArgs) ToGetIotHubIdentityOutput ¶
func (i GetIotHubIdentityArgs) ToGetIotHubIdentityOutput() GetIotHubIdentityOutput
func (GetIotHubIdentityArgs) ToGetIotHubIdentityOutputWithContext ¶
func (i GetIotHubIdentityArgs) ToGetIotHubIdentityOutputWithContext(ctx context.Context) GetIotHubIdentityOutput
type GetIotHubIdentityArray ¶
type GetIotHubIdentityArray []GetIotHubIdentityInput
func (GetIotHubIdentityArray) ElementType ¶
func (GetIotHubIdentityArray) ElementType() reflect.Type
func (GetIotHubIdentityArray) ToGetIotHubIdentityArrayOutput ¶
func (i GetIotHubIdentityArray) ToGetIotHubIdentityArrayOutput() GetIotHubIdentityArrayOutput
func (GetIotHubIdentityArray) ToGetIotHubIdentityArrayOutputWithContext ¶
func (i GetIotHubIdentityArray) ToGetIotHubIdentityArrayOutputWithContext(ctx context.Context) GetIotHubIdentityArrayOutput
type GetIotHubIdentityArrayInput ¶
type GetIotHubIdentityArrayInput interface { pulumi.Input ToGetIotHubIdentityArrayOutput() GetIotHubIdentityArrayOutput ToGetIotHubIdentityArrayOutputWithContext(context.Context) GetIotHubIdentityArrayOutput }
GetIotHubIdentityArrayInput is an input type that accepts GetIotHubIdentityArray and GetIotHubIdentityArrayOutput values. You can construct a concrete instance of `GetIotHubIdentityArrayInput` via:
GetIotHubIdentityArray{ GetIotHubIdentityArgs{...} }
type GetIotHubIdentityArrayOutput ¶
type GetIotHubIdentityArrayOutput struct{ *pulumi.OutputState }
func (GetIotHubIdentityArrayOutput) ElementType ¶
func (GetIotHubIdentityArrayOutput) ElementType() reflect.Type
func (GetIotHubIdentityArrayOutput) Index ¶
func (o GetIotHubIdentityArrayOutput) Index(i pulumi.IntInput) GetIotHubIdentityOutput
func (GetIotHubIdentityArrayOutput) ToGetIotHubIdentityArrayOutput ¶
func (o GetIotHubIdentityArrayOutput) ToGetIotHubIdentityArrayOutput() GetIotHubIdentityArrayOutput
func (GetIotHubIdentityArrayOutput) ToGetIotHubIdentityArrayOutputWithContext ¶
func (o GetIotHubIdentityArrayOutput) ToGetIotHubIdentityArrayOutputWithContext(ctx context.Context) GetIotHubIdentityArrayOutput
type GetIotHubIdentityInput ¶
type GetIotHubIdentityInput interface { pulumi.Input ToGetIotHubIdentityOutput() GetIotHubIdentityOutput ToGetIotHubIdentityOutputWithContext(context.Context) GetIotHubIdentityOutput }
GetIotHubIdentityInput is an input type that accepts GetIotHubIdentityArgs and GetIotHubIdentityOutput values. You can construct a concrete instance of `GetIotHubIdentityInput` via:
GetIotHubIdentityArgs{...}
type GetIotHubIdentityOutput ¶
type GetIotHubIdentityOutput struct{ *pulumi.OutputState }
func (GetIotHubIdentityOutput) ElementType ¶
func (GetIotHubIdentityOutput) ElementType() reflect.Type
func (GetIotHubIdentityOutput) IdentityIds ¶
func (o GetIotHubIdentityOutput) IdentityIds() pulumi.StringArrayOutput
The list of User Managed Identity IDs which are assigned to the Virtual Machine.
func (GetIotHubIdentityOutput) PrincipalId ¶
func (o GetIotHubIdentityOutput) PrincipalId() pulumi.StringOutput
The ID of the System Managed Service Principal assigned to the Virtual Machine.
func (GetIotHubIdentityOutput) TenantId ¶
func (o GetIotHubIdentityOutput) TenantId() pulumi.StringOutput
The ID of the Tenant of the System Managed Service Principal assigned to the Virtual Machine.
func (GetIotHubIdentityOutput) ToGetIotHubIdentityOutput ¶
func (o GetIotHubIdentityOutput) ToGetIotHubIdentityOutput() GetIotHubIdentityOutput
func (GetIotHubIdentityOutput) ToGetIotHubIdentityOutputWithContext ¶
func (o GetIotHubIdentityOutput) ToGetIotHubIdentityOutputWithContext(ctx context.Context) GetIotHubIdentityOutput
func (GetIotHubIdentityOutput) Type ¶
func (o GetIotHubIdentityOutput) Type() pulumi.StringOutput
The identity type of the Managed Identity assigned to the Virtual Machine.
type GetIotHubOutputArgs ¶
type GetIotHubOutputArgs struct { // The name of this IoTHub. Name pulumi.StringInput `pulumi:"name"` // The name of the Resource Group where the IoTHub exists. ResourceGroupName pulumi.StringInput `pulumi:"resourceGroupName"` // A mapping of tags which should be assigned to the IoTHub. Tags pulumi.StringMapInput `pulumi:"tags"` }
A collection of arguments for invoking getIotHub.
func (GetIotHubOutputArgs) ElementType ¶
func (GetIotHubOutputArgs) ElementType() reflect.Type
type GetIotHubResult ¶
type GetIotHubResult struct { // The Hostname of the IoTHub. Hostname string `pulumi:"hostname"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // A `identity` block as defined below. Identities []GetIotHubIdentity `pulumi:"identities"` 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/v6/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 GetIotHubResultOutput ¶
type GetIotHubResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getIotHub.
func GetIotHubOutput ¶
func GetIotHubOutput(ctx *pulumi.Context, args GetIotHubOutputArgs, opts ...pulumi.InvokeOption) GetIotHubResultOutput
func (GetIotHubResultOutput) ElementType ¶
func (GetIotHubResultOutput) ElementType() reflect.Type
func (GetIotHubResultOutput) Hostname ¶
func (o GetIotHubResultOutput) Hostname() pulumi.StringOutput
The Hostname of the IoTHub.
func (GetIotHubResultOutput) Id ¶
func (o GetIotHubResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetIotHubResultOutput) Identities ¶
func (o GetIotHubResultOutput) Identities() GetIotHubIdentityArrayOutput
A `identity` block as defined below.
func (GetIotHubResultOutput) Name ¶
func (o GetIotHubResultOutput) Name() pulumi.StringOutput
func (GetIotHubResultOutput) ResourceGroupName ¶
func (o GetIotHubResultOutput) ResourceGroupName() pulumi.StringOutput
func (GetIotHubResultOutput) Tags ¶
func (o GetIotHubResultOutput) Tags() pulumi.StringMapOutput
func (GetIotHubResultOutput) ToGetIotHubResultOutput ¶
func (o GetIotHubResultOutput) ToGetIotHubResultOutput() GetIotHubResultOutput
func (GetIotHubResultOutput) ToGetIotHubResultOutputWithContext ¶
func (o GetIotHubResultOutput) ToGetIotHubResultOutputWithContext(ctx context.Context) GetIotHubResultOutput
type IoTHub ¶
type IoTHub struct { pulumi.CustomResourceState CloudToDevice IoTHubCloudToDeviceOutput `pulumi:"cloudToDevice"` // An `endpoint` block as defined below. Endpoints IoTHubEndpointArrayOutput `pulumi:"endpoints"` Enrichments IoTHubEnrichmentArrayOutput `pulumi:"enrichments"` // The EventHub compatible endpoint for events data EventHubEventsEndpoint pulumi.StringOutput `pulumi:"eventHubEventsEndpoint"` // The EventHub namespace for events data EventHubEventsNamespace pulumi.StringOutput `pulumi:"eventHubEventsNamespace"` // 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`. Defaults to `4`. EventHubPartitionCount pulumi.IntPtrOutput `pulumi:"eventHubPartitionCount"` // The event hub retention to use in days. Must be between `1` and `7`. Defaults to `1`. EventHubRetentionInDays pulumi.IntPtrOutput `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. // // > **NOTE:** If `fallbackRoute` isn't explicitly specified, the fallback route wouldn't be enabled by default. 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"` // An `identity` block as defined below. Identity IoTHubIdentityPtrOutput `pulumi:"identity"` // If false, SAS tokens with Iot hub scoped SAS keys cannot be used for authentication. Defaults to `true`. LocalAuthenticationEnabled pulumi.BoolPtrOutput `pulumi:"localAuthenticationEnabled"` // 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"` 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"` // A `networkRuleSet` block as defined below. NetworkRuleSets IoTHubNetworkRuleSetArrayOutput `pulumi:"networkRuleSets"` 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"` Routes IoTHubRouteArrayOutput `pulumi:"routes"` SharedAccessPolicies IoTHubSharedAccessPolicyArrayOutput `pulumi:"sharedAccessPolicies"` // A `sku` block as defined below. Sku IoTHubSkuOutput `pulumi:"sku"` Tags pulumi.StringMapOutput `pulumi:"tags"` Type pulumi.StringOutput `pulumi:"type"` }
Manages an IotHub
> **NOTE:** Endpoints can be defined either directly on the `iot.IoTHub` resource, or using the `azurerm_iothub_endpoint_*` resources - but the two ways of defining the endpoints cannot be used together. If both are used against the same IoTHub, spurious changes will occur. Also, defining a `azurerm_iothub_endpoint_*` resource and another endpoint of a different type directly on the `iot.IoTHub` resource is not supported.
> **NOTE:** Routes can be defined either directly on the `iot.IoTHub` resource, or using the `iot.Route` resource - but the two cannot be used together. If both are used against the same IoTHub, spurious changes will occur.
> **NOTE:** 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.
> **NOTE:** File upload can be defined either directly on the `iot.IoTHub` resource, or using the `iot.FileUpload` 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 (
"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/core" "github.com/pulumi/pulumi-azure/sdk/v6/go/azure/eventhub" "github.com/pulumi/pulumi-azure/sdk/v6/go/azure/iot" "github.com/pulumi/pulumi-azure/sdk/v6/go/azure/storage" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{ Name: pulumi.String("example-resources"), Location: pulumi.String("West Europe"), }) if err != nil { return err } exampleAccount, err := storage.NewAccount(ctx, "example", &storage.AccountArgs{ Name: pulumi.String("examplestorage"), ResourceGroupName: example.Name, Location: example.Location, AccountTier: pulumi.String("Standard"), AccountReplicationType: pulumi.String("LRS"), }) if err != nil { return err } exampleContainer, err := storage.NewContainer(ctx, "example", &storage.ContainerArgs{ Name: pulumi.String("examplecontainer"), StorageAccountName: exampleAccount.Name, ContainerAccessType: pulumi.String("private"), }) if err != nil { return err } exampleEventHubNamespace, err := eventhub.NewEventHubNamespace(ctx, "example", &eventhub.EventHubNamespaceArgs{ Name: pulumi.String("example-namespace"), ResourceGroupName: example.Name, Location: example.Location, Sku: pulumi.String("Basic"), }) if err != nil { return err } exampleEventHub, err := eventhub.NewEventHub(ctx, "example", &eventhub.EventHubArgs{ Name: pulumi.String("example-eventhub"), ResourceGroupName: example.Name, NamespaceName: exampleEventHubNamespace.Name, PartitionCount: pulumi.Int(2), MessageRetention: pulumi.Int(1), }) if err != nil { return err } exampleAuthorizationRule, err := eventhub.NewAuthorizationRule(ctx, "example", &eventhub.AuthorizationRuleArgs{ ResourceGroupName: example.Name, NamespaceName: exampleEventHubNamespace.Name, EventhubName: exampleEventHub.Name, Name: pulumi.String("acctest"), Send: pulumi.Bool(true), }) if err != nil { return err } _, err = iot.NewIoTHub(ctx, "example", &iot.IoTHubArgs{ Name: pulumi.String("Example-IoTHub"), ResourceGroupName: example.Name, Location: example.Location, LocalAuthenticationEnabled: pulumi.Bool(false), 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("$twin.tags.Tenant"), EndpointNames: pulumi.StringArray{ pulumi.String("export"), pulumi.String("export2"), }, }, }, CloudToDevice: &iot.IoTHubCloudToDeviceArgs{ MaxDeliveryCount: pulumi.Int(30), DefaultTtl: pulumi.String("PT1H"), Feedbacks: iot.IoTHubCloudToDeviceFeedbackArray{ &iot.IoTHubCloudToDeviceFeedbackArgs{ TimeToLive: pulumi.String("PT1H10M"), MaxDeliveryCount: pulumi.Int(15), LockDuration: pulumi.String("PT30S"), }, }, }, 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
type IoTHubArgs ¶
type IoTHubArgs struct { CloudToDevice IoTHubCloudToDevicePtrInput // An `endpoint` block as defined below. Endpoints IoTHubEndpointArrayInput Enrichments IoTHubEnrichmentArrayInput // The number of device-to-cloud partitions used by backing event hubs. Must be between `2` and `128`. Defaults to `4`. EventHubPartitionCount pulumi.IntPtrInput // The event hub retention to use in days. Must be between `1` and `7`. Defaults to `1`. 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. // // > **NOTE:** If `fallbackRoute` isn't explicitly specified, the fallback route wouldn't be enabled by default. FallbackRoute IoTHubFallbackRoutePtrInput // A `fileUpload` block as defined below. FileUpload IoTHubFileUploadPtrInput // An `identity` block as defined below. Identity IoTHubIdentityPtrInput // If false, SAS tokens with Iot hub scoped SAS keys cannot be used for authentication. Defaults to `true`. LocalAuthenticationEnabled pulumi.BoolPtrInput // Specifies the supported Azure location where the resource has to be created. Changing this forces a new resource to be created. Location pulumi.StringPtrInput MinTlsVersion pulumi.StringPtrInput // Specifies the name of the IotHub resource. Changing this forces a new resource to be created. Name pulumi.StringPtrInput // A `networkRuleSet` block as defined below. NetworkRuleSets IoTHubNetworkRuleSetArrayInput 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 Routes IoTHubRouteArrayInput // A `sku` block as defined below. Sku IoTHubSkuInput 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 IoTHubCloudToDevice ¶
type IoTHubCloudToDevice struct { // The default time to live for cloud-to-device messages, 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. Defaults to `PT1H`. DefaultTtl *string `pulumi:"defaultTtl"` // A `feedback` block as defined below. Feedbacks []IoTHubCloudToDeviceFeedback `pulumi:"feedbacks"` // The maximum delivery count for cloud-to-device per-device queues. This value must be between `1` and `100`. Defaults to `10`. MaxDeliveryCount *int `pulumi:"maxDeliveryCount"` }
type IoTHubCloudToDeviceArgs ¶
type IoTHubCloudToDeviceArgs struct { // The default time to live for cloud-to-device messages, 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. Defaults to `PT1H`. DefaultTtl pulumi.StringPtrInput `pulumi:"defaultTtl"` // A `feedback` block as defined below. Feedbacks IoTHubCloudToDeviceFeedbackArrayInput `pulumi:"feedbacks"` // The maximum delivery count for cloud-to-device per-device queues. This value must be between `1` and `100`. Defaults to `10`. MaxDeliveryCount pulumi.IntPtrInput `pulumi:"maxDeliveryCount"` }
func (IoTHubCloudToDeviceArgs) ElementType ¶
func (IoTHubCloudToDeviceArgs) ElementType() reflect.Type
func (IoTHubCloudToDeviceArgs) ToIoTHubCloudToDeviceOutput ¶
func (i IoTHubCloudToDeviceArgs) ToIoTHubCloudToDeviceOutput() IoTHubCloudToDeviceOutput
func (IoTHubCloudToDeviceArgs) ToIoTHubCloudToDeviceOutputWithContext ¶
func (i IoTHubCloudToDeviceArgs) ToIoTHubCloudToDeviceOutputWithContext(ctx context.Context) IoTHubCloudToDeviceOutput
func (IoTHubCloudToDeviceArgs) ToIoTHubCloudToDevicePtrOutput ¶
func (i IoTHubCloudToDeviceArgs) ToIoTHubCloudToDevicePtrOutput() IoTHubCloudToDevicePtrOutput
func (IoTHubCloudToDeviceArgs) ToIoTHubCloudToDevicePtrOutputWithContext ¶
func (i IoTHubCloudToDeviceArgs) ToIoTHubCloudToDevicePtrOutputWithContext(ctx context.Context) IoTHubCloudToDevicePtrOutput
type IoTHubCloudToDeviceFeedback ¶
type IoTHubCloudToDeviceFeedback struct { // The lock duration for the feedback 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. Defaults to `PT60S`. LockDuration *string `pulumi:"lockDuration"` // The maximum delivery count for the feedback queue. This value must be between `1` and `100`. Defaults to `10`. MaxDeliveryCount *int `pulumi:"maxDeliveryCount"` // The retention time for service-bound feedback messages, 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. Defaults to `PT1H`. TimeToLive *string `pulumi:"timeToLive"` }
type IoTHubCloudToDeviceFeedbackArgs ¶
type IoTHubCloudToDeviceFeedbackArgs struct { // The lock duration for the feedback 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. Defaults to `PT60S`. LockDuration pulumi.StringPtrInput `pulumi:"lockDuration"` // The maximum delivery count for the feedback queue. This value must be between `1` and `100`. Defaults to `10`. MaxDeliveryCount pulumi.IntPtrInput `pulumi:"maxDeliveryCount"` // The retention time for service-bound feedback messages, 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. Defaults to `PT1H`. TimeToLive pulumi.StringPtrInput `pulumi:"timeToLive"` }
func (IoTHubCloudToDeviceFeedbackArgs) ElementType ¶
func (IoTHubCloudToDeviceFeedbackArgs) ElementType() reflect.Type
func (IoTHubCloudToDeviceFeedbackArgs) ToIoTHubCloudToDeviceFeedbackOutput ¶
func (i IoTHubCloudToDeviceFeedbackArgs) ToIoTHubCloudToDeviceFeedbackOutput() IoTHubCloudToDeviceFeedbackOutput
func (IoTHubCloudToDeviceFeedbackArgs) ToIoTHubCloudToDeviceFeedbackOutputWithContext ¶
func (i IoTHubCloudToDeviceFeedbackArgs) ToIoTHubCloudToDeviceFeedbackOutputWithContext(ctx context.Context) IoTHubCloudToDeviceFeedbackOutput
type IoTHubCloudToDeviceFeedbackArray ¶
type IoTHubCloudToDeviceFeedbackArray []IoTHubCloudToDeviceFeedbackInput
func (IoTHubCloudToDeviceFeedbackArray) ElementType ¶
func (IoTHubCloudToDeviceFeedbackArray) ElementType() reflect.Type
func (IoTHubCloudToDeviceFeedbackArray) ToIoTHubCloudToDeviceFeedbackArrayOutput ¶
func (i IoTHubCloudToDeviceFeedbackArray) ToIoTHubCloudToDeviceFeedbackArrayOutput() IoTHubCloudToDeviceFeedbackArrayOutput
func (IoTHubCloudToDeviceFeedbackArray) ToIoTHubCloudToDeviceFeedbackArrayOutputWithContext ¶
func (i IoTHubCloudToDeviceFeedbackArray) ToIoTHubCloudToDeviceFeedbackArrayOutputWithContext(ctx context.Context) IoTHubCloudToDeviceFeedbackArrayOutput
type IoTHubCloudToDeviceFeedbackArrayInput ¶
type IoTHubCloudToDeviceFeedbackArrayInput interface { pulumi.Input ToIoTHubCloudToDeviceFeedbackArrayOutput() IoTHubCloudToDeviceFeedbackArrayOutput ToIoTHubCloudToDeviceFeedbackArrayOutputWithContext(context.Context) IoTHubCloudToDeviceFeedbackArrayOutput }
IoTHubCloudToDeviceFeedbackArrayInput is an input type that accepts IoTHubCloudToDeviceFeedbackArray and IoTHubCloudToDeviceFeedbackArrayOutput values. You can construct a concrete instance of `IoTHubCloudToDeviceFeedbackArrayInput` via:
IoTHubCloudToDeviceFeedbackArray{ IoTHubCloudToDeviceFeedbackArgs{...} }
type IoTHubCloudToDeviceFeedbackArrayOutput ¶
type IoTHubCloudToDeviceFeedbackArrayOutput struct{ *pulumi.OutputState }
func (IoTHubCloudToDeviceFeedbackArrayOutput) ElementType ¶
func (IoTHubCloudToDeviceFeedbackArrayOutput) ElementType() reflect.Type
func (IoTHubCloudToDeviceFeedbackArrayOutput) ToIoTHubCloudToDeviceFeedbackArrayOutput ¶
func (o IoTHubCloudToDeviceFeedbackArrayOutput) ToIoTHubCloudToDeviceFeedbackArrayOutput() IoTHubCloudToDeviceFeedbackArrayOutput
func (IoTHubCloudToDeviceFeedbackArrayOutput) ToIoTHubCloudToDeviceFeedbackArrayOutputWithContext ¶
func (o IoTHubCloudToDeviceFeedbackArrayOutput) ToIoTHubCloudToDeviceFeedbackArrayOutputWithContext(ctx context.Context) IoTHubCloudToDeviceFeedbackArrayOutput
type IoTHubCloudToDeviceFeedbackInput ¶
type IoTHubCloudToDeviceFeedbackInput interface { pulumi.Input ToIoTHubCloudToDeviceFeedbackOutput() IoTHubCloudToDeviceFeedbackOutput ToIoTHubCloudToDeviceFeedbackOutputWithContext(context.Context) IoTHubCloudToDeviceFeedbackOutput }
IoTHubCloudToDeviceFeedbackInput is an input type that accepts IoTHubCloudToDeviceFeedbackArgs and IoTHubCloudToDeviceFeedbackOutput values. You can construct a concrete instance of `IoTHubCloudToDeviceFeedbackInput` via:
IoTHubCloudToDeviceFeedbackArgs{...}
type IoTHubCloudToDeviceFeedbackOutput ¶
type IoTHubCloudToDeviceFeedbackOutput struct{ *pulumi.OutputState }
func (IoTHubCloudToDeviceFeedbackOutput) ElementType ¶
func (IoTHubCloudToDeviceFeedbackOutput) ElementType() reflect.Type
func (IoTHubCloudToDeviceFeedbackOutput) LockDuration ¶
func (o IoTHubCloudToDeviceFeedbackOutput) LockDuration() pulumi.StringPtrOutput
The lock duration for the feedback 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. Defaults to `PT60S`.
func (IoTHubCloudToDeviceFeedbackOutput) MaxDeliveryCount ¶
func (o IoTHubCloudToDeviceFeedbackOutput) MaxDeliveryCount() pulumi.IntPtrOutput
The maximum delivery count for the feedback queue. This value must be between `1` and `100`. Defaults to `10`.
func (IoTHubCloudToDeviceFeedbackOutput) TimeToLive ¶
func (o IoTHubCloudToDeviceFeedbackOutput) TimeToLive() pulumi.StringPtrOutput
The retention time for service-bound feedback messages, 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. Defaults to `PT1H`.
func (IoTHubCloudToDeviceFeedbackOutput) ToIoTHubCloudToDeviceFeedbackOutput ¶
func (o IoTHubCloudToDeviceFeedbackOutput) ToIoTHubCloudToDeviceFeedbackOutput() IoTHubCloudToDeviceFeedbackOutput
func (IoTHubCloudToDeviceFeedbackOutput) ToIoTHubCloudToDeviceFeedbackOutputWithContext ¶
func (o IoTHubCloudToDeviceFeedbackOutput) ToIoTHubCloudToDeviceFeedbackOutputWithContext(ctx context.Context) IoTHubCloudToDeviceFeedbackOutput
type IoTHubCloudToDeviceInput ¶
type IoTHubCloudToDeviceInput interface { pulumi.Input ToIoTHubCloudToDeviceOutput() IoTHubCloudToDeviceOutput ToIoTHubCloudToDeviceOutputWithContext(context.Context) IoTHubCloudToDeviceOutput }
IoTHubCloudToDeviceInput is an input type that accepts IoTHubCloudToDeviceArgs and IoTHubCloudToDeviceOutput values. You can construct a concrete instance of `IoTHubCloudToDeviceInput` via:
IoTHubCloudToDeviceArgs{...}
type IoTHubCloudToDeviceOutput ¶
type IoTHubCloudToDeviceOutput struct{ *pulumi.OutputState }
func (IoTHubCloudToDeviceOutput) DefaultTtl ¶
func (o IoTHubCloudToDeviceOutput) DefaultTtl() pulumi.StringPtrOutput
The default time to live for cloud-to-device messages, 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. Defaults to `PT1H`.
func (IoTHubCloudToDeviceOutput) ElementType ¶
func (IoTHubCloudToDeviceOutput) ElementType() reflect.Type
func (IoTHubCloudToDeviceOutput) Feedbacks ¶
func (o IoTHubCloudToDeviceOutput) Feedbacks() IoTHubCloudToDeviceFeedbackArrayOutput
A `feedback` block as defined below.
func (IoTHubCloudToDeviceOutput) MaxDeliveryCount ¶
func (o IoTHubCloudToDeviceOutput) MaxDeliveryCount() pulumi.IntPtrOutput
The maximum delivery count for cloud-to-device per-device queues. This value must be between `1` and `100`. Defaults to `10`.
func (IoTHubCloudToDeviceOutput) ToIoTHubCloudToDeviceOutput ¶
func (o IoTHubCloudToDeviceOutput) ToIoTHubCloudToDeviceOutput() IoTHubCloudToDeviceOutput
func (IoTHubCloudToDeviceOutput) ToIoTHubCloudToDeviceOutputWithContext ¶
func (o IoTHubCloudToDeviceOutput) ToIoTHubCloudToDeviceOutputWithContext(ctx context.Context) IoTHubCloudToDeviceOutput
func (IoTHubCloudToDeviceOutput) ToIoTHubCloudToDevicePtrOutput ¶
func (o IoTHubCloudToDeviceOutput) ToIoTHubCloudToDevicePtrOutput() IoTHubCloudToDevicePtrOutput
func (IoTHubCloudToDeviceOutput) ToIoTHubCloudToDevicePtrOutputWithContext ¶
func (o IoTHubCloudToDeviceOutput) ToIoTHubCloudToDevicePtrOutputWithContext(ctx context.Context) IoTHubCloudToDevicePtrOutput
type IoTHubCloudToDevicePtrInput ¶
type IoTHubCloudToDevicePtrInput interface { pulumi.Input ToIoTHubCloudToDevicePtrOutput() IoTHubCloudToDevicePtrOutput ToIoTHubCloudToDevicePtrOutputWithContext(context.Context) IoTHubCloudToDevicePtrOutput }
IoTHubCloudToDevicePtrInput is an input type that accepts IoTHubCloudToDeviceArgs, IoTHubCloudToDevicePtr and IoTHubCloudToDevicePtrOutput values. You can construct a concrete instance of `IoTHubCloudToDevicePtrInput` via:
IoTHubCloudToDeviceArgs{...} or: nil
func IoTHubCloudToDevicePtr ¶
func IoTHubCloudToDevicePtr(v *IoTHubCloudToDeviceArgs) IoTHubCloudToDevicePtrInput
type IoTHubCloudToDevicePtrOutput ¶
type IoTHubCloudToDevicePtrOutput struct{ *pulumi.OutputState }
func (IoTHubCloudToDevicePtrOutput) DefaultTtl ¶
func (o IoTHubCloudToDevicePtrOutput) DefaultTtl() pulumi.StringPtrOutput
The default time to live for cloud-to-device messages, 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. Defaults to `PT1H`.
func (IoTHubCloudToDevicePtrOutput) Elem ¶
func (o IoTHubCloudToDevicePtrOutput) Elem() IoTHubCloudToDeviceOutput
func (IoTHubCloudToDevicePtrOutput) ElementType ¶
func (IoTHubCloudToDevicePtrOutput) ElementType() reflect.Type
func (IoTHubCloudToDevicePtrOutput) Feedbacks ¶
func (o IoTHubCloudToDevicePtrOutput) Feedbacks() IoTHubCloudToDeviceFeedbackArrayOutput
A `feedback` block as defined below.
func (IoTHubCloudToDevicePtrOutput) MaxDeliveryCount ¶
func (o IoTHubCloudToDevicePtrOutput) MaxDeliveryCount() pulumi.IntPtrOutput
The maximum delivery count for cloud-to-device per-device queues. This value must be between `1` and `100`. Defaults to `10`.
func (IoTHubCloudToDevicePtrOutput) ToIoTHubCloudToDevicePtrOutput ¶
func (o IoTHubCloudToDevicePtrOutput) ToIoTHubCloudToDevicePtrOutput() IoTHubCloudToDevicePtrOutput
func (IoTHubCloudToDevicePtrOutput) ToIoTHubCloudToDevicePtrOutputWithContext ¶
func (o IoTHubCloudToDevicePtrOutput) ToIoTHubCloudToDevicePtrOutputWithContext(ctx context.Context) IoTHubCloudToDevicePtrOutput
type IoTHubEndpoint ¶
type IoTHubEndpoint struct { // The type used to authenticate against the endpoint. Possible values are `keyBased` and `identityBased`. Defaults to `keyBased`. AuthenticationType *string `pulumi:"authenticationType"` // 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 applicable for endpoint type `AzureIotHub.StorageContainer`. BatchFrequencyInSeconds *int `pulumi:"batchFrequencyInSeconds"` // The connection string for the endpoint. This attribute is mandatory and can only be specified when `authenticationType` is `keyBased`. 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`, `AvroDeflate` and `JSON`. Default value is `Avro`. This attribute is applicable for endpoint type `AzureIotHub.StorageContainer`. Changing this forces a new resource to be created. Encoding *string `pulumi:"encoding"` // URI of the Service Bus or Event Hubs Namespace endpoint. This attribute can only be specified and is mandatory when `authenticationType` is `identityBased` for endpoint type `AzureIotHub.ServiceBusQueue`, `AzureIotHub.ServiceBusTopic` or `AzureIotHub.EventHub`. EndpointUri *string `pulumi:"endpointUri"` // Name of the Service Bus Queue/Topic or Event Hub. This attribute can only be specified and is mandatory when `authenticationType` is `identityBased` for endpoint type `AzureIotHub.ServiceBusQueue`, `AzureIotHub.ServiceBusTopic` or `AzureIotHub.EventHub`. EntityPath *string `pulumi:"entityPath"` // File name format for the blob. All parameters are mandatory but can be reordered. This attribute is applicable for endpoint type `AzureIotHub.StorageContainer`. Defaults to `{iothub}/{partition}/{YYYY}/{MM}/{DD}/{HH}/{mm}`. FileNameFormat *string `pulumi:"fileNameFormat"` // The ID of the User Managed Identity used to authenticate against the endpoint. // // > **NOTE:** `identityId` can only be specified when `authenticationType` is `identityBased`. It must be one of the `identityIds` of the IoT Hub. If `identityId` is omitted when `authenticationType` is `identityBased`, then the System-Assigned Managed Identity of the IoT Hub will be used. // // > **NOTE:** An IoT Hub can only be updated to use the System-Assigned Managed Identity for `endpoint` since it is not possible to grant access to the endpoint until after creation. The extracted resources `azurerm_iothub_endpoint_*` can be used to configure Endpoints with the IoT Hub's System-Assigned Managed Identity without the need for an update. IdentityId *string `pulumi:"identityId"` // 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 applicable 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 { // The type used to authenticate against the endpoint. Possible values are `keyBased` and `identityBased`. Defaults to `keyBased`. AuthenticationType pulumi.StringPtrInput `pulumi:"authenticationType"` // 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 applicable for endpoint type `AzureIotHub.StorageContainer`. BatchFrequencyInSeconds pulumi.IntPtrInput `pulumi:"batchFrequencyInSeconds"` // The connection string for the endpoint. This attribute is mandatory and can only be specified when `authenticationType` is `keyBased`. ConnectionString pulumi.StringPtrInput `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`, `AvroDeflate` and `JSON`. Default value is `Avro`. This attribute is applicable for endpoint type `AzureIotHub.StorageContainer`. Changing this forces a new resource to be created. Encoding pulumi.StringPtrInput `pulumi:"encoding"` // URI of the Service Bus or Event Hubs Namespace endpoint. This attribute can only be specified and is mandatory when `authenticationType` is `identityBased` for endpoint type `AzureIotHub.ServiceBusQueue`, `AzureIotHub.ServiceBusTopic` or `AzureIotHub.EventHub`. EndpointUri pulumi.StringPtrInput `pulumi:"endpointUri"` // Name of the Service Bus Queue/Topic or Event Hub. This attribute can only be specified and is mandatory when `authenticationType` is `identityBased` for endpoint type `AzureIotHub.ServiceBusQueue`, `AzureIotHub.ServiceBusTopic` or `AzureIotHub.EventHub`. EntityPath pulumi.StringPtrInput `pulumi:"entityPath"` // File name format for the blob. All parameters are mandatory but can be reordered. This attribute is applicable for endpoint type `AzureIotHub.StorageContainer`. Defaults to `{iothub}/{partition}/{YYYY}/{MM}/{DD}/{HH}/{mm}`. FileNameFormat pulumi.StringPtrInput `pulumi:"fileNameFormat"` // The ID of the User Managed Identity used to authenticate against the endpoint. // // > **NOTE:** `identityId` can only be specified when `authenticationType` is `identityBased`. It must be one of the `identityIds` of the IoT Hub. If `identityId` is omitted when `authenticationType` is `identityBased`, then the System-Assigned Managed Identity of the IoT Hub will be used. // // > **NOTE:** An IoT Hub can only be updated to use the System-Assigned Managed Identity for `endpoint` since it is not possible to grant access to the endpoint until after creation. The extracted resources `azurerm_iothub_endpoint_*` can be used to configure Endpoints with the IoT Hub's System-Assigned Managed Identity without the need for an update. IdentityId pulumi.StringPtrInput `pulumi:"identityId"` // 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 applicable 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) AuthenticationType ¶
func (o IoTHubEndpointOutput) AuthenticationType() pulumi.StringPtrOutput
The type used to authenticate against the endpoint. Possible values are `keyBased` and `identityBased`. Defaults to `keyBased`.
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 applicable for endpoint type `AzureIotHub.StorageContainer`.
func (IoTHubEndpointOutput) ConnectionString ¶
func (o IoTHubEndpointOutput) ConnectionString() pulumi.StringPtrOutput
The connection string for the endpoint. This attribute is mandatory and can only be specified when `authenticationType` is `keyBased`.
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`, `AvroDeflate` and `JSON`. Default value is `Avro`. This attribute is applicable for endpoint type `AzureIotHub.StorageContainer`. Changing this forces a new resource to be created.
func (IoTHubEndpointOutput) EndpointUri ¶
func (o IoTHubEndpointOutput) EndpointUri() pulumi.StringPtrOutput
URI of the Service Bus or Event Hubs Namespace endpoint. This attribute can only be specified and is mandatory when `authenticationType` is `identityBased` for endpoint type `AzureIotHub.ServiceBusQueue`, `AzureIotHub.ServiceBusTopic` or `AzureIotHub.EventHub`.
func (IoTHubEndpointOutput) EntityPath ¶
func (o IoTHubEndpointOutput) EntityPath() pulumi.StringPtrOutput
Name of the Service Bus Queue/Topic or Event Hub. This attribute can only be specified and is mandatory when `authenticationType` is `identityBased` for endpoint type `AzureIotHub.ServiceBusQueue`, `AzureIotHub.ServiceBusTopic` or `AzureIotHub.EventHub`.
func (IoTHubEndpointOutput) FileNameFormat ¶
func (o IoTHubEndpointOutput) FileNameFormat() pulumi.StringPtrOutput
File name format for the blob. All parameters are mandatory but can be reordered. This attribute is applicable for endpoint type `AzureIotHub.StorageContainer`. Defaults to `{iothub}/{partition}/{YYYY}/{MM}/{DD}/{HH}/{mm}`.
func (IoTHubEndpointOutput) IdentityId ¶
func (o IoTHubEndpointOutput) IdentityId() pulumi.StringPtrOutput
The ID of the User Managed Identity used to authenticate against the endpoint.
> **NOTE:** `identityId` can only be specified when `authenticationType` is `identityBased`. It must be one of the `identityIds` of the IoT Hub. If `identityId` is omitted when `authenticationType` is `identityBased`, then the System-Assigned Managed Identity of the IoT Hub will be used.
> **NOTE:** An IoT Hub can only be updated to use the System-Assigned Managed Identity for `endpoint` since it is not possible to grant access to the endpoint until after creation. The extracted resources `azurerm_iothub_endpoint_*` can be used to configure Endpoints with the IoT Hub's System-Assigned Managed Identity without the need for an update.
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 applicable 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. Defaults to `true`. 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. Defaults to `true`. 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: `Invalid`, `DeviceMessages`, `TwinChangeEvents`, `DeviceLifecycleEvents`, `DeviceConnectionStateEvents`, `DeviceJobLifecycleEvents` and `DigitalTwinChangeEvents`. Defaults to `DeviceMessages`. Source *string `pulumi:"source"` }
type IoTHubFallbackRouteArgs ¶
type IoTHubFallbackRouteArgs struct { // The condition that is evaluated to apply the routing rule. Defaults to `true`. 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. Defaults to `true`. 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: `Invalid`, `DeviceMessages`, `TwinChangeEvents`, `DeviceLifecycleEvents`, `DeviceConnectionStateEvents`, `DeviceJobLifecycleEvents` and `DigitalTwinChangeEvents`. Defaults to `DeviceMessages`. 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. Defaults to `true`. 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. Defaults to `true`.
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: `Invalid`, `DeviceMessages`, `TwinChangeEvents`, `DeviceLifecycleEvents`, `DeviceConnectionStateEvents`, `DeviceJobLifecycleEvents` and `DigitalTwinChangeEvents`. Defaults to `DeviceMessages`.
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. Defaults to `true`. 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. Defaults to `true`.
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: `Invalid`, `DeviceMessages`, `TwinChangeEvents`, `DeviceLifecycleEvents`, `DeviceConnectionStateEvents`, `DeviceJobLifecycleEvents` and `DigitalTwinChangeEvents`. Defaults to `DeviceMessages`.
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 type used to authenticate against the storage account. Possible values are `keyBased` and `identityBased`. Defaults to `keyBased`. AuthenticationType *string `pulumi:"authenticationType"` // The connection string for the Azure Storage account to which files are uploaded. ConnectionString string `pulumi:"connectionString"` // The name of the root container where the files should be uploaded to. 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 expires, 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. Defaults to `PT1H`. DefaultTtl *string `pulumi:"defaultTtl"` // The ID of the User Managed Identity used to authenticate against the storage account. // // > **NOTE:** `identityId` can only be specified when `authenticationType` is `identityBased`. It must be one of the `identityIds` of the IoT Hub. If `identityId` is omitted when `authenticationType` is `identityBased`, then the System-Assigned Managed Identity of the IoT Hub will be used. // // > **NOTE:** An IoT Hub can only be updated to use the System-Assigned Managed Identity for `fileUpload` since it is not possible to grant access to the endpoint until after creation. IdentityId *string `pulumi:"identityId"` // 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. Defaults to `PT1M`. LockDuration *string `pulumi:"lockDuration"` // The number of times the IoT Hub attempts to deliver a file upload notification message. Defaults to `10`. MaxDeliveryCount *int `pulumi:"maxDeliveryCount"` // Used to specify whether file notifications are sent to IoT Hub on upload. Defaults to `false`. 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. Defaults to `PT1H`. SasTtl *string `pulumi:"sasTtl"` }
type IoTHubFileUploadArgs ¶
type IoTHubFileUploadArgs struct { // The type used to authenticate against the storage account. Possible values are `keyBased` and `identityBased`. Defaults to `keyBased`. AuthenticationType pulumi.StringPtrInput `pulumi:"authenticationType"` // 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 the files should be uploaded to. 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 expires, 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. Defaults to `PT1H`. DefaultTtl pulumi.StringPtrInput `pulumi:"defaultTtl"` // The ID of the User Managed Identity used to authenticate against the storage account. // // > **NOTE:** `identityId` can only be specified when `authenticationType` is `identityBased`. It must be one of the `identityIds` of the IoT Hub. If `identityId` is omitted when `authenticationType` is `identityBased`, then the System-Assigned Managed Identity of the IoT Hub will be used. // // > **NOTE:** An IoT Hub can only be updated to use the System-Assigned Managed Identity for `fileUpload` since it is not possible to grant access to the endpoint until after creation. IdentityId pulumi.StringPtrInput `pulumi:"identityId"` // 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. Defaults to `PT1M`. LockDuration pulumi.StringPtrInput `pulumi:"lockDuration"` // The number of times the IoT Hub attempts to deliver a file upload notification message. Defaults to `10`. MaxDeliveryCount pulumi.IntPtrInput `pulumi:"maxDeliveryCount"` // Used to specify whether file notifications are sent to IoT Hub on upload. Defaults to `false`. 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. Defaults to `PT1H`. 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) AuthenticationType ¶
func (o IoTHubFileUploadOutput) AuthenticationType() pulumi.StringPtrOutput
The type used to authenticate against the storage account. Possible values are `keyBased` and `identityBased`. Defaults to `keyBased`.
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 the files should be uploaded to. 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 expires, 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. Defaults to `PT1H`.
func (IoTHubFileUploadOutput) ElementType ¶
func (IoTHubFileUploadOutput) ElementType() reflect.Type
func (IoTHubFileUploadOutput) IdentityId ¶
func (o IoTHubFileUploadOutput) IdentityId() pulumi.StringPtrOutput
The ID of the User Managed Identity used to authenticate against the storage account.
> **NOTE:** `identityId` can only be specified when `authenticationType` is `identityBased`. It must be one of the `identityIds` of the IoT Hub. If `identityId` is omitted when `authenticationType` is `identityBased`, then the System-Assigned Managed Identity of the IoT Hub will be used.
> **NOTE:** An IoT Hub can only be updated to use the System-Assigned Managed Identity for `fileUpload` since it is not possible to grant access to the endpoint until after creation.
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. Defaults to `PT1M`.
func (IoTHubFileUploadOutput) MaxDeliveryCount ¶
func (o IoTHubFileUploadOutput) MaxDeliveryCount() pulumi.IntPtrOutput
The number of times the IoT Hub attempts to deliver a file upload notification message. Defaults to `10`.
func (IoTHubFileUploadOutput) Notifications ¶
func (o IoTHubFileUploadOutput) Notifications() pulumi.BoolPtrOutput
Used to specify whether file notifications are sent to IoT Hub on upload. Defaults to `false`.
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. Defaults to `PT1H`.
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) AuthenticationType ¶
func (o IoTHubFileUploadPtrOutput) AuthenticationType() pulumi.StringPtrOutput
The type used to authenticate against the storage account. Possible values are `keyBased` and `identityBased`. Defaults to `keyBased`.
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 the files should be uploaded to. 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 expires, 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. Defaults to `PT1H`.
func (IoTHubFileUploadPtrOutput) Elem ¶
func (o IoTHubFileUploadPtrOutput) Elem() IoTHubFileUploadOutput
func (IoTHubFileUploadPtrOutput) ElementType ¶
func (IoTHubFileUploadPtrOutput) ElementType() reflect.Type
func (IoTHubFileUploadPtrOutput) IdentityId ¶
func (o IoTHubFileUploadPtrOutput) IdentityId() pulumi.StringPtrOutput
The ID of the User Managed Identity used to authenticate against the storage account.
> **NOTE:** `identityId` can only be specified when `authenticationType` is `identityBased`. It must be one of the `identityIds` of the IoT Hub. If `identityId` is omitted when `authenticationType` is `identityBased`, then the System-Assigned Managed Identity of the IoT Hub will be used.
> **NOTE:** An IoT Hub can only be updated to use the System-Assigned Managed Identity for `fileUpload` since it is not possible to grant access to the endpoint until after creation.
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. Defaults to `PT1M`.
func (IoTHubFileUploadPtrOutput) MaxDeliveryCount ¶
func (o IoTHubFileUploadPtrOutput) MaxDeliveryCount() pulumi.IntPtrOutput
The number of times the IoT Hub attempts to deliver a file upload notification message. Defaults to `10`.
func (IoTHubFileUploadPtrOutput) Notifications ¶
func (o IoTHubFileUploadPtrOutput) Notifications() pulumi.BoolPtrOutput
Used to specify whether file notifications are sent to IoT Hub on upload. Defaults to `false`.
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. Defaults to `PT1H`.
func (IoTHubFileUploadPtrOutput) ToIoTHubFileUploadPtrOutput ¶
func (o IoTHubFileUploadPtrOutput) ToIoTHubFileUploadPtrOutput() IoTHubFileUploadPtrOutput
func (IoTHubFileUploadPtrOutput) ToIoTHubFileUploadPtrOutputWithContext ¶
func (o IoTHubFileUploadPtrOutput) ToIoTHubFileUploadPtrOutputWithContext(ctx context.Context) IoTHubFileUploadPtrOutput
type IoTHubIdentity ¶
type IoTHubIdentity struct { // Specifies a list of User Assigned Managed Identity IDs to be assigned to this IoT Hub. // // > **NOTE:** This is required when `type` is set to `UserAssigned` or `SystemAssigned, UserAssigned`. IdentityIds []string `pulumi:"identityIds"` // The Principal ID associated with this Managed Service Identity. PrincipalId *string `pulumi:"principalId"` // The Tenant ID associated with this Managed Service Identity. TenantId *string `pulumi:"tenantId"` // Specifies the type of Managed Service Identity that should be configured on this IoT Hub. Possible values are `SystemAssigned`, `UserAssigned`, `SystemAssigned, UserAssigned` (to enable both). Type string `pulumi:"type"` }
type IoTHubIdentityArgs ¶
type IoTHubIdentityArgs struct { // Specifies a list of User Assigned Managed Identity IDs to be assigned to this IoT Hub. // // > **NOTE:** This is required when `type` is set to `UserAssigned` or `SystemAssigned, UserAssigned`. IdentityIds pulumi.StringArrayInput `pulumi:"identityIds"` // The Principal ID associated with this Managed Service Identity. PrincipalId pulumi.StringPtrInput `pulumi:"principalId"` // The Tenant ID associated with this Managed Service Identity. TenantId pulumi.StringPtrInput `pulumi:"tenantId"` // Specifies the type of Managed Service Identity that should be configured on this IoT Hub. Possible values are `SystemAssigned`, `UserAssigned`, `SystemAssigned, UserAssigned` (to enable both). Type pulumi.StringInput `pulumi:"type"` }
func (IoTHubIdentityArgs) ElementType ¶
func (IoTHubIdentityArgs) ElementType() reflect.Type
func (IoTHubIdentityArgs) ToIoTHubIdentityOutput ¶
func (i IoTHubIdentityArgs) ToIoTHubIdentityOutput() IoTHubIdentityOutput
func (IoTHubIdentityArgs) ToIoTHubIdentityOutputWithContext ¶
func (i IoTHubIdentityArgs) ToIoTHubIdentityOutputWithContext(ctx context.Context) IoTHubIdentityOutput
func (IoTHubIdentityArgs) ToIoTHubIdentityPtrOutput ¶
func (i IoTHubIdentityArgs) ToIoTHubIdentityPtrOutput() IoTHubIdentityPtrOutput
func (IoTHubIdentityArgs) ToIoTHubIdentityPtrOutputWithContext ¶
func (i IoTHubIdentityArgs) ToIoTHubIdentityPtrOutputWithContext(ctx context.Context) IoTHubIdentityPtrOutput
type IoTHubIdentityInput ¶
type IoTHubIdentityInput interface { pulumi.Input ToIoTHubIdentityOutput() IoTHubIdentityOutput ToIoTHubIdentityOutputWithContext(context.Context) IoTHubIdentityOutput }
IoTHubIdentityInput is an input type that accepts IoTHubIdentityArgs and IoTHubIdentityOutput values. You can construct a concrete instance of `IoTHubIdentityInput` via:
IoTHubIdentityArgs{...}
type IoTHubIdentityOutput ¶
type IoTHubIdentityOutput struct{ *pulumi.OutputState }
func (IoTHubIdentityOutput) ElementType ¶
func (IoTHubIdentityOutput) ElementType() reflect.Type
func (IoTHubIdentityOutput) IdentityIds ¶
func (o IoTHubIdentityOutput) IdentityIds() pulumi.StringArrayOutput
Specifies a list of User Assigned Managed Identity IDs to be assigned to this IoT Hub.
> **NOTE:** This is required when `type` is set to `UserAssigned` or `SystemAssigned, UserAssigned`.
func (IoTHubIdentityOutput) PrincipalId ¶
func (o IoTHubIdentityOutput) PrincipalId() pulumi.StringPtrOutput
The Principal ID associated with this Managed Service Identity.
func (IoTHubIdentityOutput) TenantId ¶
func (o IoTHubIdentityOutput) TenantId() pulumi.StringPtrOutput
The Tenant ID associated with this Managed Service Identity.
func (IoTHubIdentityOutput) ToIoTHubIdentityOutput ¶
func (o IoTHubIdentityOutput) ToIoTHubIdentityOutput() IoTHubIdentityOutput
func (IoTHubIdentityOutput) ToIoTHubIdentityOutputWithContext ¶
func (o IoTHubIdentityOutput) ToIoTHubIdentityOutputWithContext(ctx context.Context) IoTHubIdentityOutput
func (IoTHubIdentityOutput) ToIoTHubIdentityPtrOutput ¶
func (o IoTHubIdentityOutput) ToIoTHubIdentityPtrOutput() IoTHubIdentityPtrOutput
func (IoTHubIdentityOutput) ToIoTHubIdentityPtrOutputWithContext ¶
func (o IoTHubIdentityOutput) ToIoTHubIdentityPtrOutputWithContext(ctx context.Context) IoTHubIdentityPtrOutput
func (IoTHubIdentityOutput) Type ¶
func (o IoTHubIdentityOutput) Type() pulumi.StringOutput
Specifies the type of Managed Service Identity that should be configured on this IoT Hub. Possible values are `SystemAssigned`, `UserAssigned`, `SystemAssigned, UserAssigned` (to enable both).
type IoTHubIdentityPtrInput ¶
type IoTHubIdentityPtrInput interface { pulumi.Input ToIoTHubIdentityPtrOutput() IoTHubIdentityPtrOutput ToIoTHubIdentityPtrOutputWithContext(context.Context) IoTHubIdentityPtrOutput }
IoTHubIdentityPtrInput is an input type that accepts IoTHubIdentityArgs, IoTHubIdentityPtr and IoTHubIdentityPtrOutput values. You can construct a concrete instance of `IoTHubIdentityPtrInput` via:
IoTHubIdentityArgs{...} or: nil
func IoTHubIdentityPtr ¶
func IoTHubIdentityPtr(v *IoTHubIdentityArgs) IoTHubIdentityPtrInput
type IoTHubIdentityPtrOutput ¶
type IoTHubIdentityPtrOutput struct{ *pulumi.OutputState }
func (IoTHubIdentityPtrOutput) Elem ¶
func (o IoTHubIdentityPtrOutput) Elem() IoTHubIdentityOutput
func (IoTHubIdentityPtrOutput) ElementType ¶
func (IoTHubIdentityPtrOutput) ElementType() reflect.Type
func (IoTHubIdentityPtrOutput) IdentityIds ¶
func (o IoTHubIdentityPtrOutput) IdentityIds() pulumi.StringArrayOutput
Specifies a list of User Assigned Managed Identity IDs to be assigned to this IoT Hub.
> **NOTE:** This is required when `type` is set to `UserAssigned` or `SystemAssigned, UserAssigned`.
func (IoTHubIdentityPtrOutput) PrincipalId ¶
func (o IoTHubIdentityPtrOutput) PrincipalId() pulumi.StringPtrOutput
The Principal ID associated with this Managed Service Identity.
func (IoTHubIdentityPtrOutput) TenantId ¶
func (o IoTHubIdentityPtrOutput) TenantId() pulumi.StringPtrOutput
The Tenant ID associated with this Managed Service Identity.
func (IoTHubIdentityPtrOutput) ToIoTHubIdentityPtrOutput ¶
func (o IoTHubIdentityPtrOutput) ToIoTHubIdentityPtrOutput() IoTHubIdentityPtrOutput
func (IoTHubIdentityPtrOutput) ToIoTHubIdentityPtrOutputWithContext ¶
func (o IoTHubIdentityPtrOutput) ToIoTHubIdentityPtrOutputWithContext(ctx context.Context) IoTHubIdentityPtrOutput
func (IoTHubIdentityPtrOutput) Type ¶
func (o IoTHubIdentityPtrOutput) Type() pulumi.StringPtrOutput
Specifies the type of Managed Service Identity that should be configured on this IoT Hub. Possible values are `SystemAssigned`, `UserAssigned`, `SystemAssigned, UserAssigned` (to enable both).
type IoTHubInput ¶
type IoTHubInput interface { pulumi.Input ToIoTHubOutput() IoTHubOutput ToIoTHubOutputWithContext(ctx context.Context) IoTHubOutput }
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 IoTHubNetworkRuleSet ¶
type IoTHubNetworkRuleSet struct { // Determines if Network Rule Set is also applied to the BuiltIn EventHub EndPoint of the IotHub. Defaults to `false`. ApplyToBuiltinEventhubEndpoint *bool `pulumi:"applyToBuiltinEventhubEndpoint"` // Default Action for Network Rule Set. Possible values are `DefaultActionDeny`, `DefaultActionAllow`. Defaults to `DefaultActionDeny`. DefaultAction *string `pulumi:"defaultAction"` // One or more `ipRule` blocks as defined below. IpRules []IoTHubNetworkRuleSetIpRule `pulumi:"ipRules"` }
type IoTHubNetworkRuleSetArgs ¶
type IoTHubNetworkRuleSetArgs struct { // Determines if Network Rule Set is also applied to the BuiltIn EventHub EndPoint of the IotHub. Defaults to `false`. ApplyToBuiltinEventhubEndpoint pulumi.BoolPtrInput `pulumi:"applyToBuiltinEventhubEndpoint"` // Default Action for Network Rule Set. Possible values are `DefaultActionDeny`, `DefaultActionAllow`. Defaults to `DefaultActionDeny`. DefaultAction pulumi.StringPtrInput `pulumi:"defaultAction"` // One or more `ipRule` blocks as defined below. IpRules IoTHubNetworkRuleSetIpRuleArrayInput `pulumi:"ipRules"` }
func (IoTHubNetworkRuleSetArgs) ElementType ¶
func (IoTHubNetworkRuleSetArgs) ElementType() reflect.Type
func (IoTHubNetworkRuleSetArgs) ToIoTHubNetworkRuleSetOutput ¶
func (i IoTHubNetworkRuleSetArgs) ToIoTHubNetworkRuleSetOutput() IoTHubNetworkRuleSetOutput
func (IoTHubNetworkRuleSetArgs) ToIoTHubNetworkRuleSetOutputWithContext ¶
func (i IoTHubNetworkRuleSetArgs) ToIoTHubNetworkRuleSetOutputWithContext(ctx context.Context) IoTHubNetworkRuleSetOutput
type IoTHubNetworkRuleSetArray ¶
type IoTHubNetworkRuleSetArray []IoTHubNetworkRuleSetInput
func (IoTHubNetworkRuleSetArray) ElementType ¶
func (IoTHubNetworkRuleSetArray) ElementType() reflect.Type
func (IoTHubNetworkRuleSetArray) ToIoTHubNetworkRuleSetArrayOutput ¶
func (i IoTHubNetworkRuleSetArray) ToIoTHubNetworkRuleSetArrayOutput() IoTHubNetworkRuleSetArrayOutput
func (IoTHubNetworkRuleSetArray) ToIoTHubNetworkRuleSetArrayOutputWithContext ¶
func (i IoTHubNetworkRuleSetArray) ToIoTHubNetworkRuleSetArrayOutputWithContext(ctx context.Context) IoTHubNetworkRuleSetArrayOutput
type IoTHubNetworkRuleSetArrayInput ¶
type IoTHubNetworkRuleSetArrayInput interface { pulumi.Input ToIoTHubNetworkRuleSetArrayOutput() IoTHubNetworkRuleSetArrayOutput ToIoTHubNetworkRuleSetArrayOutputWithContext(context.Context) IoTHubNetworkRuleSetArrayOutput }
IoTHubNetworkRuleSetArrayInput is an input type that accepts IoTHubNetworkRuleSetArray and IoTHubNetworkRuleSetArrayOutput values. You can construct a concrete instance of `IoTHubNetworkRuleSetArrayInput` via:
IoTHubNetworkRuleSetArray{ IoTHubNetworkRuleSetArgs{...} }
type IoTHubNetworkRuleSetArrayOutput ¶
type IoTHubNetworkRuleSetArrayOutput struct{ *pulumi.OutputState }
func (IoTHubNetworkRuleSetArrayOutput) ElementType ¶
func (IoTHubNetworkRuleSetArrayOutput) ElementType() reflect.Type
func (IoTHubNetworkRuleSetArrayOutput) Index ¶
func (o IoTHubNetworkRuleSetArrayOutput) Index(i pulumi.IntInput) IoTHubNetworkRuleSetOutput
func (IoTHubNetworkRuleSetArrayOutput) ToIoTHubNetworkRuleSetArrayOutput ¶
func (o IoTHubNetworkRuleSetArrayOutput) ToIoTHubNetworkRuleSetArrayOutput() IoTHubNetworkRuleSetArrayOutput
func (IoTHubNetworkRuleSetArrayOutput) ToIoTHubNetworkRuleSetArrayOutputWithContext ¶
func (o IoTHubNetworkRuleSetArrayOutput) ToIoTHubNetworkRuleSetArrayOutputWithContext(ctx context.Context) IoTHubNetworkRuleSetArrayOutput
type IoTHubNetworkRuleSetInput ¶
type IoTHubNetworkRuleSetInput interface { pulumi.Input ToIoTHubNetworkRuleSetOutput() IoTHubNetworkRuleSetOutput ToIoTHubNetworkRuleSetOutputWithContext(context.Context) IoTHubNetworkRuleSetOutput }
IoTHubNetworkRuleSetInput is an input type that accepts IoTHubNetworkRuleSetArgs and IoTHubNetworkRuleSetOutput values. You can construct a concrete instance of `IoTHubNetworkRuleSetInput` via:
IoTHubNetworkRuleSetArgs{...}
type IoTHubNetworkRuleSetIpRule ¶
type IoTHubNetworkRuleSetIpRule struct { // The desired action for requests captured by this rule. Possible values are `Allow`. Defaults to `Allow`. Action *string `pulumi:"action"` // The IP address range in CIDR notation for the ip rule. IpMask string `pulumi:"ipMask"` // The name of the ip rule. Name string `pulumi:"name"` }
type IoTHubNetworkRuleSetIpRuleArgs ¶
type IoTHubNetworkRuleSetIpRuleArgs struct { // The desired action for requests captured by this rule. Possible values are `Allow`. Defaults to `Allow`. Action pulumi.StringPtrInput `pulumi:"action"` // The IP address range in CIDR notation for the ip rule. IpMask pulumi.StringInput `pulumi:"ipMask"` // The name of the ip rule. Name pulumi.StringInput `pulumi:"name"` }
func (IoTHubNetworkRuleSetIpRuleArgs) ElementType ¶
func (IoTHubNetworkRuleSetIpRuleArgs) ElementType() reflect.Type
func (IoTHubNetworkRuleSetIpRuleArgs) ToIoTHubNetworkRuleSetIpRuleOutput ¶
func (i IoTHubNetworkRuleSetIpRuleArgs) ToIoTHubNetworkRuleSetIpRuleOutput() IoTHubNetworkRuleSetIpRuleOutput
func (IoTHubNetworkRuleSetIpRuleArgs) ToIoTHubNetworkRuleSetIpRuleOutputWithContext ¶
func (i IoTHubNetworkRuleSetIpRuleArgs) ToIoTHubNetworkRuleSetIpRuleOutputWithContext(ctx context.Context) IoTHubNetworkRuleSetIpRuleOutput
type IoTHubNetworkRuleSetIpRuleArray ¶
type IoTHubNetworkRuleSetIpRuleArray []IoTHubNetworkRuleSetIpRuleInput
func (IoTHubNetworkRuleSetIpRuleArray) ElementType ¶
func (IoTHubNetworkRuleSetIpRuleArray) ElementType() reflect.Type
func (IoTHubNetworkRuleSetIpRuleArray) ToIoTHubNetworkRuleSetIpRuleArrayOutput ¶
func (i IoTHubNetworkRuleSetIpRuleArray) ToIoTHubNetworkRuleSetIpRuleArrayOutput() IoTHubNetworkRuleSetIpRuleArrayOutput
func (IoTHubNetworkRuleSetIpRuleArray) ToIoTHubNetworkRuleSetIpRuleArrayOutputWithContext ¶
func (i IoTHubNetworkRuleSetIpRuleArray) ToIoTHubNetworkRuleSetIpRuleArrayOutputWithContext(ctx context.Context) IoTHubNetworkRuleSetIpRuleArrayOutput
type IoTHubNetworkRuleSetIpRuleArrayInput ¶
type IoTHubNetworkRuleSetIpRuleArrayInput interface { pulumi.Input ToIoTHubNetworkRuleSetIpRuleArrayOutput() IoTHubNetworkRuleSetIpRuleArrayOutput ToIoTHubNetworkRuleSetIpRuleArrayOutputWithContext(context.Context) IoTHubNetworkRuleSetIpRuleArrayOutput }
IoTHubNetworkRuleSetIpRuleArrayInput is an input type that accepts IoTHubNetworkRuleSetIpRuleArray and IoTHubNetworkRuleSetIpRuleArrayOutput values. You can construct a concrete instance of `IoTHubNetworkRuleSetIpRuleArrayInput` via:
IoTHubNetworkRuleSetIpRuleArray{ IoTHubNetworkRuleSetIpRuleArgs{...} }
type IoTHubNetworkRuleSetIpRuleArrayOutput ¶
type IoTHubNetworkRuleSetIpRuleArrayOutput struct{ *pulumi.OutputState }
func (IoTHubNetworkRuleSetIpRuleArrayOutput) ElementType ¶
func (IoTHubNetworkRuleSetIpRuleArrayOutput) ElementType() reflect.Type
func (IoTHubNetworkRuleSetIpRuleArrayOutput) Index ¶
func (o IoTHubNetworkRuleSetIpRuleArrayOutput) Index(i pulumi.IntInput) IoTHubNetworkRuleSetIpRuleOutput
func (IoTHubNetworkRuleSetIpRuleArrayOutput) ToIoTHubNetworkRuleSetIpRuleArrayOutput ¶
func (o IoTHubNetworkRuleSetIpRuleArrayOutput) ToIoTHubNetworkRuleSetIpRuleArrayOutput() IoTHubNetworkRuleSetIpRuleArrayOutput
func (IoTHubNetworkRuleSetIpRuleArrayOutput) ToIoTHubNetworkRuleSetIpRuleArrayOutputWithContext ¶
func (o IoTHubNetworkRuleSetIpRuleArrayOutput) ToIoTHubNetworkRuleSetIpRuleArrayOutputWithContext(ctx context.Context) IoTHubNetworkRuleSetIpRuleArrayOutput
type IoTHubNetworkRuleSetIpRuleInput ¶
type IoTHubNetworkRuleSetIpRuleInput interface { pulumi.Input ToIoTHubNetworkRuleSetIpRuleOutput() IoTHubNetworkRuleSetIpRuleOutput ToIoTHubNetworkRuleSetIpRuleOutputWithContext(context.Context) IoTHubNetworkRuleSetIpRuleOutput }
IoTHubNetworkRuleSetIpRuleInput is an input type that accepts IoTHubNetworkRuleSetIpRuleArgs and IoTHubNetworkRuleSetIpRuleOutput values. You can construct a concrete instance of `IoTHubNetworkRuleSetIpRuleInput` via:
IoTHubNetworkRuleSetIpRuleArgs{...}
type IoTHubNetworkRuleSetIpRuleOutput ¶
type IoTHubNetworkRuleSetIpRuleOutput struct{ *pulumi.OutputState }
func (IoTHubNetworkRuleSetIpRuleOutput) Action ¶
func (o IoTHubNetworkRuleSetIpRuleOutput) Action() pulumi.StringPtrOutput
The desired action for requests captured by this rule. Possible values are `Allow`. Defaults to `Allow`.
func (IoTHubNetworkRuleSetIpRuleOutput) ElementType ¶
func (IoTHubNetworkRuleSetIpRuleOutput) ElementType() reflect.Type
func (IoTHubNetworkRuleSetIpRuleOutput) IpMask ¶
func (o IoTHubNetworkRuleSetIpRuleOutput) IpMask() pulumi.StringOutput
The IP address range in CIDR notation for the ip rule.
func (IoTHubNetworkRuleSetIpRuleOutput) Name ¶
func (o IoTHubNetworkRuleSetIpRuleOutput) Name() pulumi.StringOutput
The name of the ip rule.
func (IoTHubNetworkRuleSetIpRuleOutput) ToIoTHubNetworkRuleSetIpRuleOutput ¶
func (o IoTHubNetworkRuleSetIpRuleOutput) ToIoTHubNetworkRuleSetIpRuleOutput() IoTHubNetworkRuleSetIpRuleOutput
func (IoTHubNetworkRuleSetIpRuleOutput) ToIoTHubNetworkRuleSetIpRuleOutputWithContext ¶
func (o IoTHubNetworkRuleSetIpRuleOutput) ToIoTHubNetworkRuleSetIpRuleOutputWithContext(ctx context.Context) IoTHubNetworkRuleSetIpRuleOutput
type IoTHubNetworkRuleSetOutput ¶
type IoTHubNetworkRuleSetOutput struct{ *pulumi.OutputState }
func (IoTHubNetworkRuleSetOutput) ApplyToBuiltinEventhubEndpoint ¶
func (o IoTHubNetworkRuleSetOutput) ApplyToBuiltinEventhubEndpoint() pulumi.BoolPtrOutput
Determines if Network Rule Set is also applied to the BuiltIn EventHub EndPoint of the IotHub. Defaults to `false`.
func (IoTHubNetworkRuleSetOutput) DefaultAction ¶
func (o IoTHubNetworkRuleSetOutput) DefaultAction() pulumi.StringPtrOutput
Default Action for Network Rule Set. Possible values are `DefaultActionDeny`, `DefaultActionAllow`. Defaults to `DefaultActionDeny`.
func (IoTHubNetworkRuleSetOutput) ElementType ¶
func (IoTHubNetworkRuleSetOutput) ElementType() reflect.Type
func (IoTHubNetworkRuleSetOutput) IpRules ¶
func (o IoTHubNetworkRuleSetOutput) IpRules() IoTHubNetworkRuleSetIpRuleArrayOutput
One or more `ipRule` blocks as defined below.
func (IoTHubNetworkRuleSetOutput) ToIoTHubNetworkRuleSetOutput ¶
func (o IoTHubNetworkRuleSetOutput) ToIoTHubNetworkRuleSetOutput() IoTHubNetworkRuleSetOutput
func (IoTHubNetworkRuleSetOutput) ToIoTHubNetworkRuleSetOutputWithContext ¶
func (o IoTHubNetworkRuleSetOutput) ToIoTHubNetworkRuleSetOutputWithContext(ctx context.Context) IoTHubNetworkRuleSetOutput
type IoTHubOutput ¶
type IoTHubOutput struct{ *pulumi.OutputState }
func (IoTHubOutput) CloudToDevice ¶
func (o IoTHubOutput) CloudToDevice() IoTHubCloudToDeviceOutput
func (IoTHubOutput) ElementType ¶
func (IoTHubOutput) ElementType() reflect.Type
func (IoTHubOutput) Endpoints ¶
func (o IoTHubOutput) Endpoints() IoTHubEndpointArrayOutput
An `endpoint` block as defined below.
func (IoTHubOutput) Enrichments ¶
func (o IoTHubOutput) Enrichments() IoTHubEnrichmentArrayOutput
func (IoTHubOutput) EventHubEventsEndpoint ¶
func (o IoTHubOutput) EventHubEventsEndpoint() pulumi.StringOutput
The EventHub compatible endpoint for events data
func (IoTHubOutput) EventHubEventsNamespace ¶
func (o IoTHubOutput) EventHubEventsNamespace() pulumi.StringOutput
The EventHub namespace for events data
func (IoTHubOutput) EventHubEventsPath ¶
func (o IoTHubOutput) EventHubEventsPath() pulumi.StringOutput
The EventHub compatible path for events data
func (IoTHubOutput) EventHubOperationsEndpoint ¶
func (o IoTHubOutput) EventHubOperationsEndpoint() pulumi.StringOutput
The EventHub compatible endpoint for operational data
func (IoTHubOutput) EventHubOperationsPath ¶
func (o IoTHubOutput) EventHubOperationsPath() pulumi.StringOutput
The EventHub compatible path for operational data
func (IoTHubOutput) EventHubPartitionCount ¶
func (o IoTHubOutput) EventHubPartitionCount() pulumi.IntPtrOutput
The number of device-to-cloud partitions used by backing event hubs. Must be between `2` and `128`. Defaults to `4`.
func (IoTHubOutput) EventHubRetentionInDays ¶
func (o IoTHubOutput) EventHubRetentionInDays() pulumi.IntPtrOutput
The event hub retention to use in days. Must be between `1` and `7`. Defaults to `1`.
func (IoTHubOutput) FallbackRoute ¶
func (o IoTHubOutput) FallbackRoute() IoTHubFallbackRouteOutput
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.
> **NOTE:** If `fallbackRoute` isn't explicitly specified, the fallback route wouldn't be enabled by default.
func (IoTHubOutput) FileUpload ¶
func (o IoTHubOutput) FileUpload() IoTHubFileUploadPtrOutput
A `fileUpload` block as defined below.
func (IoTHubOutput) Hostname ¶
func (o IoTHubOutput) Hostname() pulumi.StringOutput
The hostname of the IotHub Resource.
func (IoTHubOutput) Identity ¶
func (o IoTHubOutput) Identity() IoTHubIdentityPtrOutput
An `identity` block as defined below.
func (IoTHubOutput) LocalAuthenticationEnabled ¶
func (o IoTHubOutput) LocalAuthenticationEnabled() pulumi.BoolPtrOutput
If false, SAS tokens with Iot hub scoped SAS keys cannot be used for authentication. Defaults to `true`.
func (IoTHubOutput) Location ¶
func (o IoTHubOutput) Location() pulumi.StringOutput
Specifies the supported Azure location where the resource has to be created. Changing this forces a new resource to be created.
func (IoTHubOutput) MinTlsVersion ¶
func (o IoTHubOutput) MinTlsVersion() pulumi.StringPtrOutput
func (IoTHubOutput) Name ¶
func (o IoTHubOutput) Name() pulumi.StringOutput
Specifies the name of the IotHub resource. Changing this forces a new resource to be created.
func (IoTHubOutput) NetworkRuleSets ¶
func (o IoTHubOutput) NetworkRuleSets() IoTHubNetworkRuleSetArrayOutput
A `networkRuleSet` block as defined below.
func (IoTHubOutput) PublicNetworkAccessEnabled ¶
func (o IoTHubOutput) PublicNetworkAccessEnabled() pulumi.BoolPtrOutput
func (IoTHubOutput) ResourceGroupName ¶
func (o IoTHubOutput) ResourceGroupName() pulumi.StringOutput
The name of the resource group under which the IotHub resource has to be created. Changing this forces a new resource to be created.
func (IoTHubOutput) Routes ¶
func (o IoTHubOutput) Routes() IoTHubRouteArrayOutput
func (IoTHubOutput) SharedAccessPolicies ¶
func (o IoTHubOutput) SharedAccessPolicies() IoTHubSharedAccessPolicyArrayOutput
One or more `sharedAccessPolicy` blocks as defined below.
func (IoTHubOutput) Sku ¶
func (o IoTHubOutput) Sku() IoTHubSkuOutput
A `sku` block as defined below.
func (IoTHubOutput) Tags ¶
func (o IoTHubOutput) Tags() pulumi.StringMapOutput
func (IoTHubOutput) ToIoTHubOutput ¶
func (o IoTHubOutput) ToIoTHubOutput() IoTHubOutput
func (IoTHubOutput) ToIoTHubOutputWithContext ¶
func (o IoTHubOutput) ToIoTHubOutputWithContext(ctx context.Context) IoTHubOutput
func (IoTHubOutput) Type ¶
func (o IoTHubOutput) Type() pulumi.StringOutput
type IoTHubRoute ¶
type IoTHubRoute struct { // The condition that is evaluated to apply the routing rule. Defaults to `true`. 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: `Invalid`, `DeviceMessages`, `TwinChangeEvents`, `DeviceLifecycleEvents`, `DeviceConnectionStateEvents`, `DeviceJobLifecycleEvents` and `DigitalTwinChangeEvents`. Source string `pulumi:"source"` }
type IoTHubRouteArgs ¶
type IoTHubRouteArgs struct { // The condition that is evaluated to apply the routing rule. Defaults to `true`. 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: `Invalid`, `DeviceMessages`, `TwinChangeEvents`, `DeviceLifecycleEvents`, `DeviceConnectionStateEvents`, `DeviceJobLifecycleEvents` and `DigitalTwinChangeEvents`. 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. Defaults to `true`. 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: `Invalid`, `DeviceMessages`, `TwinChangeEvents`, `DeviceLifecycleEvents`, `DeviceConnectionStateEvents`, `DeviceJobLifecycleEvents` and `DigitalTwinChangeEvents`.
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 IoTHubSku ¶
type IoTHubSku struct { // The number of provisioned IoT Hub units. // // > **NOTE:** Only one IotHub can be on the `Free` tier per subscription. Capacity int `pulumi:"capacity"` // The name of the sku. Possible values are `B1`, `B2`, `B3`, `F1`, `S1`, `S2`, and `S3`. // // > **NOTE:** The `F1` sku is on `Free` tier. Name string `pulumi:"name"` }
type IoTHubSkuArgs ¶
type IoTHubSkuArgs struct { // The number of provisioned IoT Hub units. // // > **NOTE:** Only one IotHub can be on the `Free` tier per subscription. Capacity pulumi.IntInput `pulumi:"capacity"` // The name of the sku. Possible values are `B1`, `B2`, `B3`, `F1`, `S1`, `S2`, and `S3`. // // > **NOTE:** The `F1` sku is on `Free` tier. 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.
> **NOTE:** Only one IotHub can be on the `Free` tier per subscription.
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`.
> **NOTE:** The `F1` sku is on `Free` tier.
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.
> **NOTE:** Only one IotHub can be on the `Free` tier per subscription.
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`.
> **NOTE:** The `F1` sku is on `Free` tier.
func (IoTHubSkuPtrOutput) ToIoTHubSkuPtrOutput ¶
func (o IoTHubSkuPtrOutput) ToIoTHubSkuPtrOutput() IoTHubSkuPtrOutput
func (IoTHubSkuPtrOutput) ToIoTHubSkuPtrOutputWithContext ¶
func (o IoTHubSkuPtrOutput) ToIoTHubSkuPtrOutputWithContext(ctx context.Context) IoTHubSkuPtrOutput
type IoTHubState ¶
type IoTHubState struct { CloudToDevice IoTHubCloudToDevicePtrInput // An `endpoint` block as defined below. Endpoints IoTHubEndpointArrayInput Enrichments IoTHubEnrichmentArrayInput // The EventHub compatible endpoint for events data EventHubEventsEndpoint pulumi.StringPtrInput // The EventHub namespace for events data EventHubEventsNamespace 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`. Defaults to `4`. EventHubPartitionCount pulumi.IntPtrInput // The event hub retention to use in days. Must be between `1` and `7`. Defaults to `1`. 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. // // > **NOTE:** If `fallbackRoute` isn't explicitly specified, the fallback route wouldn't be enabled by default. FallbackRoute IoTHubFallbackRoutePtrInput // A `fileUpload` block as defined below. FileUpload IoTHubFileUploadPtrInput // The hostname of the IotHub Resource. Hostname pulumi.StringPtrInput // An `identity` block as defined below. Identity IoTHubIdentityPtrInput // If false, SAS tokens with Iot hub scoped SAS keys cannot be used for authentication. Defaults to `true`. LocalAuthenticationEnabled pulumi.BoolPtrInput // Specifies the supported Azure location where the resource has to be created. Changing this forces a new resource to be created. Location pulumi.StringPtrInput MinTlsVersion pulumi.StringPtrInput // Specifies the name of the IotHub resource. Changing this forces a new resource to be created. Name pulumi.StringPtrInput // A `networkRuleSet` block as defined below. NetworkRuleSets IoTHubNetworkRuleSetArrayInput 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 Routes IoTHubRouteArrayInput SharedAccessPolicies IoTHubSharedAccessPolicyArrayInput // A `sku` block as defined below. Sku IoTHubSkuPtrInput Tags pulumi.StringMapInput 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 if the certificate is created in verified state. Defaults to `false`. Changing this forces a new resource to be created. IsVerified pulumi.BoolPtrOutput `pulumi:"isVerified"` // 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.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/core" "github.com/pulumi/pulumi-azure/sdk/v6/go/azure/iot" "github.com/pulumi/pulumi-std/sdk/go/std" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{ Name: pulumi.String("example-resources"), Location: pulumi.String("West Europe"), }) if err != nil { return err } exampleIotHubDps, err := iot.NewIotHubDps(ctx, "example", &iot.IotHubDpsArgs{ Name: pulumi.String("example"), ResourceGroupName: example.Name, Location: example.Location, Sku: &iot.IotHubDpsSkuArgs{ Name: pulumi.String("S1"), Capacity: pulumi.Int(1), }, }) if err != nil { return err } invokeFilebase64, err := std.Filebase64(ctx, &std.Filebase64Args{ Input: "example.cer", }, nil) if err != nil { return err } _, err = iot.NewIotHubCertificate(ctx, "example", &iot.IotHubCertificateArgs{ Name: pulumi.String("example"), ResourceGroupName: example.Name, IotDpsName: exampleIotHubDps.Name, CertificateContent: pulumi.String(invokeFilebase64.Result), }) if err != nil { return err } return nil }) }
```
## 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
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 if the certificate is created in verified state. Defaults to `false`. Changing this forces a new resource to be created. IsVerified pulumi.BoolPtrInput // 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) CertificateContent ¶
func (o IotHubCertificateOutput) CertificateContent() pulumi.StringOutput
The Base-64 representation of the X509 leaf certificate .cer file or just a .pem file content.
func (IotHubCertificateOutput) ElementType ¶
func (IotHubCertificateOutput) ElementType() reflect.Type
func (IotHubCertificateOutput) IotDpsName ¶
func (o IotHubCertificateOutput) IotDpsName() pulumi.StringOutput
The name of the IoT Device Provisioning Service that this certificate will be attached to. Changing this forces a new resource to be created.
func (IotHubCertificateOutput) IsVerified ¶
func (o IotHubCertificateOutput) IsVerified() pulumi.BoolPtrOutput
Specifies if the certificate is created in verified state. Defaults to `false`. Changing this forces a new resource to be created.
func (IotHubCertificateOutput) Name ¶
func (o IotHubCertificateOutput) Name() pulumi.StringOutput
Specifies the name of the Iot Device Provisioning Service Certificate resource. Changing this forces a new resource to be created.
func (IotHubCertificateOutput) ResourceGroupName ¶
func (o IotHubCertificateOutput) ResourceGroupName() pulumi.StringOutput
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.
func (IotHubCertificateOutput) ToIotHubCertificateOutput ¶
func (o IotHubCertificateOutput) ToIotHubCertificateOutput() IotHubCertificateOutput
func (IotHubCertificateOutput) ToIotHubCertificateOutputWithContext ¶
func (o IotHubCertificateOutput) ToIotHubCertificateOutputWithContext(ctx context.Context) IotHubCertificateOutput
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 if the certificate is created in verified state. Defaults to `false`. Changing this forces a new resource to be created. IsVerified pulumi.BoolPtrInput // 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 IotHubDeviceUpdateAccount ¶
type IotHubDeviceUpdateAccount struct { pulumi.CustomResourceState // The API host name of the IoT Hub Device Update Account. HostName pulumi.StringOutput `pulumi:"hostName"` // An `identity` block as defined below. Identity IotHubDeviceUpdateAccountIdentityPtrOutput `pulumi:"identity"` // Specifies the Azure Region where the IoT Hub Device Update Account should exist. Changing this forces a new resource to be created. Location pulumi.StringOutput `pulumi:"location"` // Specifies the name which should be used for this IoT Hub Device Update Account. Changing this forces a new resource to be created. Name pulumi.StringOutput `pulumi:"name"` // Specifies whether the public network access is enabled for the IoT Hub Device Update Account. Possible values are `true` and `false`. Defaults to `true`. PublicNetworkAccessEnabled pulumi.BoolPtrOutput `pulumi:"publicNetworkAccessEnabled"` // Specifies the name of the Resource Group where the IoT Hub Device Update Account should exist. Changing this forces a new resource to be created. ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"` // Sku of the IoT Hub Device Update Account. Possible values are `Free` and `Standard`. Defaults to `Standard`. Changing this forces a new resource to be created. Sku pulumi.StringPtrOutput `pulumi:"sku"` // A mapping of tags which should be assigned to the IoT Hub Device Update Account. Tags pulumi.StringMapOutput `pulumi:"tags"` }
Manages an IoT Hub Device Update Account.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/core" "github.com/pulumi/pulumi-azure/sdk/v6/go/azure/iot" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{ Name: pulumi.String("example-resources"), Location: pulumi.String("East US"), }) if err != nil { return err } _, err = iot.NewIotHubDeviceUpdateAccount(ctx, "example", &iot.IotHubDeviceUpdateAccountArgs{ Name: pulumi.String("example"), ResourceGroupName: example.Name, Location: example.Location, Identity: &iot.IotHubDeviceUpdateAccountIdentityArgs{ Type: pulumi.String("SystemAssigned"), }, Tags: pulumi.StringMap{ "key": pulumi.String("value"), }, }) if err != nil { return err } return nil }) }
```
## Import
IoT Hub Device Update Account can be imported using the `resource id`, e.g.
```sh $ pulumi import azure:iot/iotHubDeviceUpdateAccount:IotHubDeviceUpdateAccount example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup1/providers/Microsoft.DeviceUpdate/accounts/account1 ```
func GetIotHubDeviceUpdateAccount ¶
func GetIotHubDeviceUpdateAccount(ctx *pulumi.Context, name string, id pulumi.IDInput, state *IotHubDeviceUpdateAccountState, opts ...pulumi.ResourceOption) (*IotHubDeviceUpdateAccount, error)
GetIotHubDeviceUpdateAccount gets an existing IotHubDeviceUpdateAccount 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 NewIotHubDeviceUpdateAccount ¶
func NewIotHubDeviceUpdateAccount(ctx *pulumi.Context, name string, args *IotHubDeviceUpdateAccountArgs, opts ...pulumi.ResourceOption) (*IotHubDeviceUpdateAccount, error)
NewIotHubDeviceUpdateAccount registers a new resource with the given unique name, arguments, and options.
func (*IotHubDeviceUpdateAccount) ElementType ¶
func (*IotHubDeviceUpdateAccount) ElementType() reflect.Type
func (*IotHubDeviceUpdateAccount) ToIotHubDeviceUpdateAccountOutput ¶
func (i *IotHubDeviceUpdateAccount) ToIotHubDeviceUpdateAccountOutput() IotHubDeviceUpdateAccountOutput
func (*IotHubDeviceUpdateAccount) ToIotHubDeviceUpdateAccountOutputWithContext ¶
func (i *IotHubDeviceUpdateAccount) ToIotHubDeviceUpdateAccountOutputWithContext(ctx context.Context) IotHubDeviceUpdateAccountOutput
type IotHubDeviceUpdateAccountArgs ¶
type IotHubDeviceUpdateAccountArgs struct { // An `identity` block as defined below. Identity IotHubDeviceUpdateAccountIdentityPtrInput // Specifies the Azure Region where the IoT Hub Device Update Account should exist. Changing this forces a new resource to be created. Location pulumi.StringPtrInput // Specifies the name which should be used for this IoT Hub Device Update Account. Changing this forces a new resource to be created. Name pulumi.StringPtrInput // Specifies whether the public network access is enabled for the IoT Hub Device Update Account. Possible values are `true` and `false`. Defaults to `true`. PublicNetworkAccessEnabled pulumi.BoolPtrInput // Specifies the name of the Resource Group where the IoT Hub Device Update Account should exist. Changing this forces a new resource to be created. ResourceGroupName pulumi.StringInput // Sku of the IoT Hub Device Update Account. Possible values are `Free` and `Standard`. Defaults to `Standard`. Changing this forces a new resource to be created. Sku pulumi.StringPtrInput // A mapping of tags which should be assigned to the IoT Hub Device Update Account. Tags pulumi.StringMapInput }
The set of arguments for constructing a IotHubDeviceUpdateAccount resource.
func (IotHubDeviceUpdateAccountArgs) ElementType ¶
func (IotHubDeviceUpdateAccountArgs) ElementType() reflect.Type
type IotHubDeviceUpdateAccountArray ¶
type IotHubDeviceUpdateAccountArray []IotHubDeviceUpdateAccountInput
func (IotHubDeviceUpdateAccountArray) ElementType ¶
func (IotHubDeviceUpdateAccountArray) ElementType() reflect.Type
func (IotHubDeviceUpdateAccountArray) ToIotHubDeviceUpdateAccountArrayOutput ¶
func (i IotHubDeviceUpdateAccountArray) ToIotHubDeviceUpdateAccountArrayOutput() IotHubDeviceUpdateAccountArrayOutput
func (IotHubDeviceUpdateAccountArray) ToIotHubDeviceUpdateAccountArrayOutputWithContext ¶
func (i IotHubDeviceUpdateAccountArray) ToIotHubDeviceUpdateAccountArrayOutputWithContext(ctx context.Context) IotHubDeviceUpdateAccountArrayOutput
type IotHubDeviceUpdateAccountArrayInput ¶
type IotHubDeviceUpdateAccountArrayInput interface { pulumi.Input ToIotHubDeviceUpdateAccountArrayOutput() IotHubDeviceUpdateAccountArrayOutput ToIotHubDeviceUpdateAccountArrayOutputWithContext(context.Context) IotHubDeviceUpdateAccountArrayOutput }
IotHubDeviceUpdateAccountArrayInput is an input type that accepts IotHubDeviceUpdateAccountArray and IotHubDeviceUpdateAccountArrayOutput values. You can construct a concrete instance of `IotHubDeviceUpdateAccountArrayInput` via:
IotHubDeviceUpdateAccountArray{ IotHubDeviceUpdateAccountArgs{...} }
type IotHubDeviceUpdateAccountArrayOutput ¶
type IotHubDeviceUpdateAccountArrayOutput struct{ *pulumi.OutputState }
func (IotHubDeviceUpdateAccountArrayOutput) ElementType ¶
func (IotHubDeviceUpdateAccountArrayOutput) ElementType() reflect.Type
func (IotHubDeviceUpdateAccountArrayOutput) Index ¶
func (o IotHubDeviceUpdateAccountArrayOutput) Index(i pulumi.IntInput) IotHubDeviceUpdateAccountOutput
func (IotHubDeviceUpdateAccountArrayOutput) ToIotHubDeviceUpdateAccountArrayOutput ¶
func (o IotHubDeviceUpdateAccountArrayOutput) ToIotHubDeviceUpdateAccountArrayOutput() IotHubDeviceUpdateAccountArrayOutput
func (IotHubDeviceUpdateAccountArrayOutput) ToIotHubDeviceUpdateAccountArrayOutputWithContext ¶
func (o IotHubDeviceUpdateAccountArrayOutput) ToIotHubDeviceUpdateAccountArrayOutputWithContext(ctx context.Context) IotHubDeviceUpdateAccountArrayOutput
type IotHubDeviceUpdateAccountIdentity ¶
type IotHubDeviceUpdateAccountIdentity struct { // A list of User Assigned Managed Identity IDs to be assigned to this IoT Hub Device Update Account. // // > **NOTE:** This is required when `type` is set to `UserAssigned` or `SystemAssigned, UserAssigned`. IdentityIds []string `pulumi:"identityIds"` // The Principal ID for the Service Principal associated with the Managed Service Identity of this IoT Hub Device Update Account. PrincipalId *string `pulumi:"principalId"` // The Tenant ID for the Service Principal associated with the Managed Service Identity of this IoT Hub Device Update Account. TenantId *string `pulumi:"tenantId"` // Specifies the type of Managed Service Identity that should be configured on this IoT Hub Device Update Account. Possible values are `SystemAssigned`, `UserAssigned` and `SystemAssigned, UserAssigned` (to enable both). Type string `pulumi:"type"` }
type IotHubDeviceUpdateAccountIdentityArgs ¶
type IotHubDeviceUpdateAccountIdentityArgs struct { // A list of User Assigned Managed Identity IDs to be assigned to this IoT Hub Device Update Account. // // > **NOTE:** This is required when `type` is set to `UserAssigned` or `SystemAssigned, UserAssigned`. IdentityIds pulumi.StringArrayInput `pulumi:"identityIds"` // The Principal ID for the Service Principal associated with the Managed Service Identity of this IoT Hub Device Update Account. PrincipalId pulumi.StringPtrInput `pulumi:"principalId"` // The Tenant ID for the Service Principal associated with the Managed Service Identity of this IoT Hub Device Update Account. TenantId pulumi.StringPtrInput `pulumi:"tenantId"` // Specifies the type of Managed Service Identity that should be configured on this IoT Hub Device Update Account. Possible values are `SystemAssigned`, `UserAssigned` and `SystemAssigned, UserAssigned` (to enable both). Type pulumi.StringInput `pulumi:"type"` }
func (IotHubDeviceUpdateAccountIdentityArgs) ElementType ¶
func (IotHubDeviceUpdateAccountIdentityArgs) ElementType() reflect.Type
func (IotHubDeviceUpdateAccountIdentityArgs) ToIotHubDeviceUpdateAccountIdentityOutput ¶
func (i IotHubDeviceUpdateAccountIdentityArgs) ToIotHubDeviceUpdateAccountIdentityOutput() IotHubDeviceUpdateAccountIdentityOutput
func (IotHubDeviceUpdateAccountIdentityArgs) ToIotHubDeviceUpdateAccountIdentityOutputWithContext ¶
func (i IotHubDeviceUpdateAccountIdentityArgs) ToIotHubDeviceUpdateAccountIdentityOutputWithContext(ctx context.Context) IotHubDeviceUpdateAccountIdentityOutput
func (IotHubDeviceUpdateAccountIdentityArgs) ToIotHubDeviceUpdateAccountIdentityPtrOutput ¶
func (i IotHubDeviceUpdateAccountIdentityArgs) ToIotHubDeviceUpdateAccountIdentityPtrOutput() IotHubDeviceUpdateAccountIdentityPtrOutput
func (IotHubDeviceUpdateAccountIdentityArgs) ToIotHubDeviceUpdateAccountIdentityPtrOutputWithContext ¶
func (i IotHubDeviceUpdateAccountIdentityArgs) ToIotHubDeviceUpdateAccountIdentityPtrOutputWithContext(ctx context.Context) IotHubDeviceUpdateAccountIdentityPtrOutput
type IotHubDeviceUpdateAccountIdentityInput ¶
type IotHubDeviceUpdateAccountIdentityInput interface { pulumi.Input ToIotHubDeviceUpdateAccountIdentityOutput() IotHubDeviceUpdateAccountIdentityOutput ToIotHubDeviceUpdateAccountIdentityOutputWithContext(context.Context) IotHubDeviceUpdateAccountIdentityOutput }
IotHubDeviceUpdateAccountIdentityInput is an input type that accepts IotHubDeviceUpdateAccountIdentityArgs and IotHubDeviceUpdateAccountIdentityOutput values. You can construct a concrete instance of `IotHubDeviceUpdateAccountIdentityInput` via:
IotHubDeviceUpdateAccountIdentityArgs{...}
type IotHubDeviceUpdateAccountIdentityOutput ¶
type IotHubDeviceUpdateAccountIdentityOutput struct{ *pulumi.OutputState }
func (IotHubDeviceUpdateAccountIdentityOutput) ElementType ¶
func (IotHubDeviceUpdateAccountIdentityOutput) ElementType() reflect.Type
func (IotHubDeviceUpdateAccountIdentityOutput) IdentityIds ¶
func (o IotHubDeviceUpdateAccountIdentityOutput) IdentityIds() pulumi.StringArrayOutput
A list of User Assigned Managed Identity IDs to be assigned to this IoT Hub Device Update Account.
> **NOTE:** This is required when `type` is set to `UserAssigned` or `SystemAssigned, UserAssigned`.
func (IotHubDeviceUpdateAccountIdentityOutput) PrincipalId ¶
func (o IotHubDeviceUpdateAccountIdentityOutput) PrincipalId() pulumi.StringPtrOutput
The Principal ID for the Service Principal associated with the Managed Service Identity of this IoT Hub Device Update Account.
func (IotHubDeviceUpdateAccountIdentityOutput) TenantId ¶
func (o IotHubDeviceUpdateAccountIdentityOutput) TenantId() pulumi.StringPtrOutput
The Tenant ID for the Service Principal associated with the Managed Service Identity of this IoT Hub Device Update Account.
func (IotHubDeviceUpdateAccountIdentityOutput) ToIotHubDeviceUpdateAccountIdentityOutput ¶
func (o IotHubDeviceUpdateAccountIdentityOutput) ToIotHubDeviceUpdateAccountIdentityOutput() IotHubDeviceUpdateAccountIdentityOutput
func (IotHubDeviceUpdateAccountIdentityOutput) ToIotHubDeviceUpdateAccountIdentityOutputWithContext ¶
func (o IotHubDeviceUpdateAccountIdentityOutput) ToIotHubDeviceUpdateAccountIdentityOutputWithContext(ctx context.Context) IotHubDeviceUpdateAccountIdentityOutput
func (IotHubDeviceUpdateAccountIdentityOutput) ToIotHubDeviceUpdateAccountIdentityPtrOutput ¶
func (o IotHubDeviceUpdateAccountIdentityOutput) ToIotHubDeviceUpdateAccountIdentityPtrOutput() IotHubDeviceUpdateAccountIdentityPtrOutput
func (IotHubDeviceUpdateAccountIdentityOutput) ToIotHubDeviceUpdateAccountIdentityPtrOutputWithContext ¶
func (o IotHubDeviceUpdateAccountIdentityOutput) ToIotHubDeviceUpdateAccountIdentityPtrOutputWithContext(ctx context.Context) IotHubDeviceUpdateAccountIdentityPtrOutput
func (IotHubDeviceUpdateAccountIdentityOutput) Type ¶
func (o IotHubDeviceUpdateAccountIdentityOutput) Type() pulumi.StringOutput
Specifies the type of Managed Service Identity that should be configured on this IoT Hub Device Update Account. Possible values are `SystemAssigned`, `UserAssigned` and `SystemAssigned, UserAssigned` (to enable both).
type IotHubDeviceUpdateAccountIdentityPtrInput ¶
type IotHubDeviceUpdateAccountIdentityPtrInput interface { pulumi.Input ToIotHubDeviceUpdateAccountIdentityPtrOutput() IotHubDeviceUpdateAccountIdentityPtrOutput ToIotHubDeviceUpdateAccountIdentityPtrOutputWithContext(context.Context) IotHubDeviceUpdateAccountIdentityPtrOutput }
IotHubDeviceUpdateAccountIdentityPtrInput is an input type that accepts IotHubDeviceUpdateAccountIdentityArgs, IotHubDeviceUpdateAccountIdentityPtr and IotHubDeviceUpdateAccountIdentityPtrOutput values. You can construct a concrete instance of `IotHubDeviceUpdateAccountIdentityPtrInput` via:
IotHubDeviceUpdateAccountIdentityArgs{...} or: nil
func IotHubDeviceUpdateAccountIdentityPtr ¶
func IotHubDeviceUpdateAccountIdentityPtr(v *IotHubDeviceUpdateAccountIdentityArgs) IotHubDeviceUpdateAccountIdentityPtrInput
type IotHubDeviceUpdateAccountIdentityPtrOutput ¶
type IotHubDeviceUpdateAccountIdentityPtrOutput struct{ *pulumi.OutputState }
func (IotHubDeviceUpdateAccountIdentityPtrOutput) ElementType ¶
func (IotHubDeviceUpdateAccountIdentityPtrOutput) ElementType() reflect.Type
func (IotHubDeviceUpdateAccountIdentityPtrOutput) IdentityIds ¶
func (o IotHubDeviceUpdateAccountIdentityPtrOutput) IdentityIds() pulumi.StringArrayOutput
A list of User Assigned Managed Identity IDs to be assigned to this IoT Hub Device Update Account.
> **NOTE:** This is required when `type` is set to `UserAssigned` or `SystemAssigned, UserAssigned`.
func (IotHubDeviceUpdateAccountIdentityPtrOutput) PrincipalId ¶
func (o IotHubDeviceUpdateAccountIdentityPtrOutput) PrincipalId() pulumi.StringPtrOutput
The Principal ID for the Service Principal associated with the Managed Service Identity of this IoT Hub Device Update Account.
func (IotHubDeviceUpdateAccountIdentityPtrOutput) TenantId ¶
func (o IotHubDeviceUpdateAccountIdentityPtrOutput) TenantId() pulumi.StringPtrOutput
The Tenant ID for the Service Principal associated with the Managed Service Identity of this IoT Hub Device Update Account.
func (IotHubDeviceUpdateAccountIdentityPtrOutput) ToIotHubDeviceUpdateAccountIdentityPtrOutput ¶
func (o IotHubDeviceUpdateAccountIdentityPtrOutput) ToIotHubDeviceUpdateAccountIdentityPtrOutput() IotHubDeviceUpdateAccountIdentityPtrOutput
func (IotHubDeviceUpdateAccountIdentityPtrOutput) ToIotHubDeviceUpdateAccountIdentityPtrOutputWithContext ¶
func (o IotHubDeviceUpdateAccountIdentityPtrOutput) ToIotHubDeviceUpdateAccountIdentityPtrOutputWithContext(ctx context.Context) IotHubDeviceUpdateAccountIdentityPtrOutput
func (IotHubDeviceUpdateAccountIdentityPtrOutput) Type ¶
func (o IotHubDeviceUpdateAccountIdentityPtrOutput) Type() pulumi.StringPtrOutput
Specifies the type of Managed Service Identity that should be configured on this IoT Hub Device Update Account. Possible values are `SystemAssigned`, `UserAssigned` and `SystemAssigned, UserAssigned` (to enable both).
type IotHubDeviceUpdateAccountInput ¶
type IotHubDeviceUpdateAccountInput interface { pulumi.Input ToIotHubDeviceUpdateAccountOutput() IotHubDeviceUpdateAccountOutput ToIotHubDeviceUpdateAccountOutputWithContext(ctx context.Context) IotHubDeviceUpdateAccountOutput }
type IotHubDeviceUpdateAccountMap ¶
type IotHubDeviceUpdateAccountMap map[string]IotHubDeviceUpdateAccountInput
func (IotHubDeviceUpdateAccountMap) ElementType ¶
func (IotHubDeviceUpdateAccountMap) ElementType() reflect.Type
func (IotHubDeviceUpdateAccountMap) ToIotHubDeviceUpdateAccountMapOutput ¶
func (i IotHubDeviceUpdateAccountMap) ToIotHubDeviceUpdateAccountMapOutput() IotHubDeviceUpdateAccountMapOutput
func (IotHubDeviceUpdateAccountMap) ToIotHubDeviceUpdateAccountMapOutputWithContext ¶
func (i IotHubDeviceUpdateAccountMap) ToIotHubDeviceUpdateAccountMapOutputWithContext(ctx context.Context) IotHubDeviceUpdateAccountMapOutput
type IotHubDeviceUpdateAccountMapInput ¶
type IotHubDeviceUpdateAccountMapInput interface { pulumi.Input ToIotHubDeviceUpdateAccountMapOutput() IotHubDeviceUpdateAccountMapOutput ToIotHubDeviceUpdateAccountMapOutputWithContext(context.Context) IotHubDeviceUpdateAccountMapOutput }
IotHubDeviceUpdateAccountMapInput is an input type that accepts IotHubDeviceUpdateAccountMap and IotHubDeviceUpdateAccountMapOutput values. You can construct a concrete instance of `IotHubDeviceUpdateAccountMapInput` via:
IotHubDeviceUpdateAccountMap{ "key": IotHubDeviceUpdateAccountArgs{...} }
type IotHubDeviceUpdateAccountMapOutput ¶
type IotHubDeviceUpdateAccountMapOutput struct{ *pulumi.OutputState }
func (IotHubDeviceUpdateAccountMapOutput) ElementType ¶
func (IotHubDeviceUpdateAccountMapOutput) ElementType() reflect.Type
func (IotHubDeviceUpdateAccountMapOutput) MapIndex ¶
func (o IotHubDeviceUpdateAccountMapOutput) MapIndex(k pulumi.StringInput) IotHubDeviceUpdateAccountOutput
func (IotHubDeviceUpdateAccountMapOutput) ToIotHubDeviceUpdateAccountMapOutput ¶
func (o IotHubDeviceUpdateAccountMapOutput) ToIotHubDeviceUpdateAccountMapOutput() IotHubDeviceUpdateAccountMapOutput
func (IotHubDeviceUpdateAccountMapOutput) ToIotHubDeviceUpdateAccountMapOutputWithContext ¶
func (o IotHubDeviceUpdateAccountMapOutput) ToIotHubDeviceUpdateAccountMapOutputWithContext(ctx context.Context) IotHubDeviceUpdateAccountMapOutput
type IotHubDeviceUpdateAccountOutput ¶
type IotHubDeviceUpdateAccountOutput struct{ *pulumi.OutputState }
func (IotHubDeviceUpdateAccountOutput) ElementType ¶
func (IotHubDeviceUpdateAccountOutput) ElementType() reflect.Type
func (IotHubDeviceUpdateAccountOutput) HostName ¶
func (o IotHubDeviceUpdateAccountOutput) HostName() pulumi.StringOutput
The API host name of the IoT Hub Device Update Account.
func (IotHubDeviceUpdateAccountOutput) Identity ¶
func (o IotHubDeviceUpdateAccountOutput) Identity() IotHubDeviceUpdateAccountIdentityPtrOutput
An `identity` block as defined below.
func (IotHubDeviceUpdateAccountOutput) Location ¶
func (o IotHubDeviceUpdateAccountOutput) Location() pulumi.StringOutput
Specifies the Azure Region where the IoT Hub Device Update Account should exist. Changing this forces a new resource to be created.
func (IotHubDeviceUpdateAccountOutput) Name ¶
func (o IotHubDeviceUpdateAccountOutput) Name() pulumi.StringOutput
Specifies the name which should be used for this IoT Hub Device Update Account. Changing this forces a new resource to be created.
func (IotHubDeviceUpdateAccountOutput) PublicNetworkAccessEnabled ¶
func (o IotHubDeviceUpdateAccountOutput) PublicNetworkAccessEnabled() pulumi.BoolPtrOutput
Specifies whether the public network access is enabled for the IoT Hub Device Update Account. Possible values are `true` and `false`. Defaults to `true`.
func (IotHubDeviceUpdateAccountOutput) ResourceGroupName ¶
func (o IotHubDeviceUpdateAccountOutput) ResourceGroupName() pulumi.StringOutput
Specifies the name of the Resource Group where the IoT Hub Device Update Account should exist. Changing this forces a new resource to be created.
func (IotHubDeviceUpdateAccountOutput) Sku ¶
func (o IotHubDeviceUpdateAccountOutput) Sku() pulumi.StringPtrOutput
Sku of the IoT Hub Device Update Account. Possible values are `Free` and `Standard`. Defaults to `Standard`. Changing this forces a new resource to be created.
func (IotHubDeviceUpdateAccountOutput) Tags ¶
func (o IotHubDeviceUpdateAccountOutput) Tags() pulumi.StringMapOutput
A mapping of tags which should be assigned to the IoT Hub Device Update Account.
func (IotHubDeviceUpdateAccountOutput) ToIotHubDeviceUpdateAccountOutput ¶
func (o IotHubDeviceUpdateAccountOutput) ToIotHubDeviceUpdateAccountOutput() IotHubDeviceUpdateAccountOutput
func (IotHubDeviceUpdateAccountOutput) ToIotHubDeviceUpdateAccountOutputWithContext ¶
func (o IotHubDeviceUpdateAccountOutput) ToIotHubDeviceUpdateAccountOutputWithContext(ctx context.Context) IotHubDeviceUpdateAccountOutput
type IotHubDeviceUpdateAccountState ¶
type IotHubDeviceUpdateAccountState struct { // The API host name of the IoT Hub Device Update Account. HostName pulumi.StringPtrInput // An `identity` block as defined below. Identity IotHubDeviceUpdateAccountIdentityPtrInput // Specifies the Azure Region where the IoT Hub Device Update Account should exist. Changing this forces a new resource to be created. Location pulumi.StringPtrInput // Specifies the name which should be used for this IoT Hub Device Update Account. Changing this forces a new resource to be created. Name pulumi.StringPtrInput // Specifies whether the public network access is enabled for the IoT Hub Device Update Account. Possible values are `true` and `false`. Defaults to `true`. PublicNetworkAccessEnabled pulumi.BoolPtrInput // Specifies the name of the Resource Group where the IoT Hub Device Update Account should exist. Changing this forces a new resource to be created. ResourceGroupName pulumi.StringPtrInput // Sku of the IoT Hub Device Update Account. Possible values are `Free` and `Standard`. Defaults to `Standard`. Changing this forces a new resource to be created. Sku pulumi.StringPtrInput // A mapping of tags which should be assigned to the IoT Hub Device Update Account. Tags pulumi.StringMapInput }
func (IotHubDeviceUpdateAccountState) ElementType ¶
func (IotHubDeviceUpdateAccountState) ElementType() reflect.Type
type IotHubDeviceUpdateInstance ¶
type IotHubDeviceUpdateInstance struct { pulumi.CustomResourceState // Specifies the ID of the IoT Hub Device Update Account where the IoT Hub Device Update Instance exists. Changing this forces a new resource to be created. DeviceUpdateAccountId pulumi.StringOutput `pulumi:"deviceUpdateAccountId"` // Whether the diagnostic log collection is enabled. Possible values are `true` and `false`. Defaults to `false`. DiagnosticEnabled pulumi.BoolPtrOutput `pulumi:"diagnosticEnabled"` // A `diagnosticStorageAccount` block as defined below. DiagnosticStorageAccount IotHubDeviceUpdateInstanceDiagnosticStorageAccountPtrOutput `pulumi:"diagnosticStorageAccount"` // Specifies the ID of the IoT Hub associated with the IoT Hub Device Update Instance. Changing this forces a new resource to be created. IothubId pulumi.StringOutput `pulumi:"iothubId"` // Specifies the name which should be used for this IoT Hub Device Update Instance. Changing this forces a new resource to be created. Name pulumi.StringOutput `pulumi:"name"` // A mapping of tags which should be assigned to the IoT Hub Device Update Instance. Tags pulumi.StringMapOutput `pulumi:"tags"` }
Manages an IoT Hub Device Update Instance.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/core" "github.com/pulumi/pulumi-azure/sdk/v6/go/azure/iot" "github.com/pulumi/pulumi-azure/sdk/v6/go/azure/storage" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{ Name: pulumi.String("example-resources"), Location: pulumi.String("East US"), }) if err != nil { return err } exampleIotHubDeviceUpdateAccount, err := iot.NewIotHubDeviceUpdateAccount(ctx, "example", &iot.IotHubDeviceUpdateAccountArgs{ Name: pulumi.String("example"), ResourceGroupName: example.Name, Location: example.Location, }) if err != nil { return err } exampleIoTHub, err := iot.NewIoTHub(ctx, "example", &iot.IoTHubArgs{ Name: pulumi.String("example"), ResourceGroupName: example.Name, Location: example.Location, Sku: &iot.IoTHubSkuArgs{ Name: pulumi.String("S1"), Capacity: pulumi.Int(1), }, }) if err != nil { return err } exampleAccount, err := storage.NewAccount(ctx, "example", &storage.AccountArgs{ Name: pulumi.String("example"), ResourceGroupName: example.Name, Location: example.Location, AccountTier: pulumi.String("Standard"), AccountReplicationType: pulumi.String("LRS"), }) if err != nil { return err } _, err = iot.NewIotHubDeviceUpdateInstance(ctx, "example", &iot.IotHubDeviceUpdateInstanceArgs{ Name: pulumi.String("example"), DeviceUpdateAccountId: exampleIotHubDeviceUpdateAccount.ID(), IothubId: exampleIoTHub.ID(), DiagnosticEnabled: pulumi.Bool(true), DiagnosticStorageAccount: &iot.IotHubDeviceUpdateInstanceDiagnosticStorageAccountArgs{ ConnectionString: exampleAccount.PrimaryConnectionString, Id: exampleAccount.ID(), }, Tags: pulumi.StringMap{ "key": pulumi.String("value"), }, }) if err != nil { return err } return nil }) }
```
## Import
IoT Hub Device Update Instance can be imported using the `resource id`, e.g.
```sh $ pulumi import azure:iot/iotHubDeviceUpdateInstance:IotHubDeviceUpdateInstance example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup1/providers/Microsoft.DeviceUpdate/accounts/account1/instances/instance1 ```
func GetIotHubDeviceUpdateInstance ¶
func GetIotHubDeviceUpdateInstance(ctx *pulumi.Context, name string, id pulumi.IDInput, state *IotHubDeviceUpdateInstanceState, opts ...pulumi.ResourceOption) (*IotHubDeviceUpdateInstance, error)
GetIotHubDeviceUpdateInstance gets an existing IotHubDeviceUpdateInstance 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 NewIotHubDeviceUpdateInstance ¶
func NewIotHubDeviceUpdateInstance(ctx *pulumi.Context, name string, args *IotHubDeviceUpdateInstanceArgs, opts ...pulumi.ResourceOption) (*IotHubDeviceUpdateInstance, error)
NewIotHubDeviceUpdateInstance registers a new resource with the given unique name, arguments, and options.
func (*IotHubDeviceUpdateInstance) ElementType ¶
func (*IotHubDeviceUpdateInstance) ElementType() reflect.Type
func (*IotHubDeviceUpdateInstance) ToIotHubDeviceUpdateInstanceOutput ¶
func (i *IotHubDeviceUpdateInstance) ToIotHubDeviceUpdateInstanceOutput() IotHubDeviceUpdateInstanceOutput
func (*IotHubDeviceUpdateInstance) ToIotHubDeviceUpdateInstanceOutputWithContext ¶
func (i *IotHubDeviceUpdateInstance) ToIotHubDeviceUpdateInstanceOutputWithContext(ctx context.Context) IotHubDeviceUpdateInstanceOutput
type IotHubDeviceUpdateInstanceArgs ¶
type IotHubDeviceUpdateInstanceArgs struct { // Specifies the ID of the IoT Hub Device Update Account where the IoT Hub Device Update Instance exists. Changing this forces a new resource to be created. DeviceUpdateAccountId pulumi.StringInput // Whether the diagnostic log collection is enabled. Possible values are `true` and `false`. Defaults to `false`. DiagnosticEnabled pulumi.BoolPtrInput // A `diagnosticStorageAccount` block as defined below. DiagnosticStorageAccount IotHubDeviceUpdateInstanceDiagnosticStorageAccountPtrInput // Specifies the ID of the IoT Hub associated with the IoT Hub Device Update Instance. Changing this forces a new resource to be created. IothubId pulumi.StringInput // Specifies the name which should be used for this IoT Hub Device Update Instance. Changing this forces a new resource to be created. Name pulumi.StringPtrInput // A mapping of tags which should be assigned to the IoT Hub Device Update Instance. Tags pulumi.StringMapInput }
The set of arguments for constructing a IotHubDeviceUpdateInstance resource.
func (IotHubDeviceUpdateInstanceArgs) ElementType ¶
func (IotHubDeviceUpdateInstanceArgs) ElementType() reflect.Type
type IotHubDeviceUpdateInstanceArray ¶
type IotHubDeviceUpdateInstanceArray []IotHubDeviceUpdateInstanceInput
func (IotHubDeviceUpdateInstanceArray) ElementType ¶
func (IotHubDeviceUpdateInstanceArray) ElementType() reflect.Type
func (IotHubDeviceUpdateInstanceArray) ToIotHubDeviceUpdateInstanceArrayOutput ¶
func (i IotHubDeviceUpdateInstanceArray) ToIotHubDeviceUpdateInstanceArrayOutput() IotHubDeviceUpdateInstanceArrayOutput
func (IotHubDeviceUpdateInstanceArray) ToIotHubDeviceUpdateInstanceArrayOutputWithContext ¶
func (i IotHubDeviceUpdateInstanceArray) ToIotHubDeviceUpdateInstanceArrayOutputWithContext(ctx context.Context) IotHubDeviceUpdateInstanceArrayOutput
type IotHubDeviceUpdateInstanceArrayInput ¶
type IotHubDeviceUpdateInstanceArrayInput interface { pulumi.Input ToIotHubDeviceUpdateInstanceArrayOutput() IotHubDeviceUpdateInstanceArrayOutput ToIotHubDeviceUpdateInstanceArrayOutputWithContext(context.Context) IotHubDeviceUpdateInstanceArrayOutput }
IotHubDeviceUpdateInstanceArrayInput is an input type that accepts IotHubDeviceUpdateInstanceArray and IotHubDeviceUpdateInstanceArrayOutput values. You can construct a concrete instance of `IotHubDeviceUpdateInstanceArrayInput` via:
IotHubDeviceUpdateInstanceArray{ IotHubDeviceUpdateInstanceArgs{...} }
type IotHubDeviceUpdateInstanceArrayOutput ¶
type IotHubDeviceUpdateInstanceArrayOutput struct{ *pulumi.OutputState }
func (IotHubDeviceUpdateInstanceArrayOutput) ElementType ¶
func (IotHubDeviceUpdateInstanceArrayOutput) ElementType() reflect.Type
func (IotHubDeviceUpdateInstanceArrayOutput) Index ¶
func (o IotHubDeviceUpdateInstanceArrayOutput) Index(i pulumi.IntInput) IotHubDeviceUpdateInstanceOutput
func (IotHubDeviceUpdateInstanceArrayOutput) ToIotHubDeviceUpdateInstanceArrayOutput ¶
func (o IotHubDeviceUpdateInstanceArrayOutput) ToIotHubDeviceUpdateInstanceArrayOutput() IotHubDeviceUpdateInstanceArrayOutput
func (IotHubDeviceUpdateInstanceArrayOutput) ToIotHubDeviceUpdateInstanceArrayOutputWithContext ¶
func (o IotHubDeviceUpdateInstanceArrayOutput) ToIotHubDeviceUpdateInstanceArrayOutputWithContext(ctx context.Context) IotHubDeviceUpdateInstanceArrayOutput
type IotHubDeviceUpdateInstanceDiagnosticStorageAccountArgs ¶
type IotHubDeviceUpdateInstanceDiagnosticStorageAccountArgs struct { // Connection String of the Diagnostic Storage Account. ConnectionString pulumi.StringInput `pulumi:"connectionString"` // Resource ID of the Diagnostic Storage Account. Id pulumi.StringInput `pulumi:"id"` }
func (IotHubDeviceUpdateInstanceDiagnosticStorageAccountArgs) ElementType ¶
func (IotHubDeviceUpdateInstanceDiagnosticStorageAccountArgs) ElementType() reflect.Type
func (IotHubDeviceUpdateInstanceDiagnosticStorageAccountArgs) ToIotHubDeviceUpdateInstanceDiagnosticStorageAccountOutput ¶
func (i IotHubDeviceUpdateInstanceDiagnosticStorageAccountArgs) ToIotHubDeviceUpdateInstanceDiagnosticStorageAccountOutput() IotHubDeviceUpdateInstanceDiagnosticStorageAccountOutput
func (IotHubDeviceUpdateInstanceDiagnosticStorageAccountArgs) ToIotHubDeviceUpdateInstanceDiagnosticStorageAccountOutputWithContext ¶
func (i IotHubDeviceUpdateInstanceDiagnosticStorageAccountArgs) ToIotHubDeviceUpdateInstanceDiagnosticStorageAccountOutputWithContext(ctx context.Context) IotHubDeviceUpdateInstanceDiagnosticStorageAccountOutput
func (IotHubDeviceUpdateInstanceDiagnosticStorageAccountArgs) ToIotHubDeviceUpdateInstanceDiagnosticStorageAccountPtrOutput ¶
func (i IotHubDeviceUpdateInstanceDiagnosticStorageAccountArgs) ToIotHubDeviceUpdateInstanceDiagnosticStorageAccountPtrOutput() IotHubDeviceUpdateInstanceDiagnosticStorageAccountPtrOutput
func (IotHubDeviceUpdateInstanceDiagnosticStorageAccountArgs) ToIotHubDeviceUpdateInstanceDiagnosticStorageAccountPtrOutputWithContext ¶
func (i IotHubDeviceUpdateInstanceDiagnosticStorageAccountArgs) ToIotHubDeviceUpdateInstanceDiagnosticStorageAccountPtrOutputWithContext(ctx context.Context) IotHubDeviceUpdateInstanceDiagnosticStorageAccountPtrOutput
type IotHubDeviceUpdateInstanceDiagnosticStorageAccountInput ¶
type IotHubDeviceUpdateInstanceDiagnosticStorageAccountInput interface { pulumi.Input ToIotHubDeviceUpdateInstanceDiagnosticStorageAccountOutput() IotHubDeviceUpdateInstanceDiagnosticStorageAccountOutput ToIotHubDeviceUpdateInstanceDiagnosticStorageAccountOutputWithContext(context.Context) IotHubDeviceUpdateInstanceDiagnosticStorageAccountOutput }
IotHubDeviceUpdateInstanceDiagnosticStorageAccountInput is an input type that accepts IotHubDeviceUpdateInstanceDiagnosticStorageAccountArgs and IotHubDeviceUpdateInstanceDiagnosticStorageAccountOutput values. You can construct a concrete instance of `IotHubDeviceUpdateInstanceDiagnosticStorageAccountInput` via:
IotHubDeviceUpdateInstanceDiagnosticStorageAccountArgs{...}
type IotHubDeviceUpdateInstanceDiagnosticStorageAccountOutput ¶
type IotHubDeviceUpdateInstanceDiagnosticStorageAccountOutput struct{ *pulumi.OutputState }
func (IotHubDeviceUpdateInstanceDiagnosticStorageAccountOutput) ConnectionString ¶
func (o IotHubDeviceUpdateInstanceDiagnosticStorageAccountOutput) ConnectionString() pulumi.StringOutput
Connection String of the Diagnostic Storage Account.
func (IotHubDeviceUpdateInstanceDiagnosticStorageAccountOutput) ElementType ¶
func (IotHubDeviceUpdateInstanceDiagnosticStorageAccountOutput) ElementType() reflect.Type
func (IotHubDeviceUpdateInstanceDiagnosticStorageAccountOutput) Id ¶
Resource ID of the Diagnostic Storage Account.
func (IotHubDeviceUpdateInstanceDiagnosticStorageAccountOutput) ToIotHubDeviceUpdateInstanceDiagnosticStorageAccountOutput ¶
func (o IotHubDeviceUpdateInstanceDiagnosticStorageAccountOutput) ToIotHubDeviceUpdateInstanceDiagnosticStorageAccountOutput() IotHubDeviceUpdateInstanceDiagnosticStorageAccountOutput
func (IotHubDeviceUpdateInstanceDiagnosticStorageAccountOutput) ToIotHubDeviceUpdateInstanceDiagnosticStorageAccountOutputWithContext ¶
func (o IotHubDeviceUpdateInstanceDiagnosticStorageAccountOutput) ToIotHubDeviceUpdateInstanceDiagnosticStorageAccountOutputWithContext(ctx context.Context) IotHubDeviceUpdateInstanceDiagnosticStorageAccountOutput
func (IotHubDeviceUpdateInstanceDiagnosticStorageAccountOutput) ToIotHubDeviceUpdateInstanceDiagnosticStorageAccountPtrOutput ¶
func (o IotHubDeviceUpdateInstanceDiagnosticStorageAccountOutput) ToIotHubDeviceUpdateInstanceDiagnosticStorageAccountPtrOutput() IotHubDeviceUpdateInstanceDiagnosticStorageAccountPtrOutput
func (IotHubDeviceUpdateInstanceDiagnosticStorageAccountOutput) ToIotHubDeviceUpdateInstanceDiagnosticStorageAccountPtrOutputWithContext ¶
func (o IotHubDeviceUpdateInstanceDiagnosticStorageAccountOutput) ToIotHubDeviceUpdateInstanceDiagnosticStorageAccountPtrOutputWithContext(ctx context.Context) IotHubDeviceUpdateInstanceDiagnosticStorageAccountPtrOutput
type IotHubDeviceUpdateInstanceDiagnosticStorageAccountPtrInput ¶
type IotHubDeviceUpdateInstanceDiagnosticStorageAccountPtrInput interface { pulumi.Input ToIotHubDeviceUpdateInstanceDiagnosticStorageAccountPtrOutput() IotHubDeviceUpdateInstanceDiagnosticStorageAccountPtrOutput ToIotHubDeviceUpdateInstanceDiagnosticStorageAccountPtrOutputWithContext(context.Context) IotHubDeviceUpdateInstanceDiagnosticStorageAccountPtrOutput }
IotHubDeviceUpdateInstanceDiagnosticStorageAccountPtrInput is an input type that accepts IotHubDeviceUpdateInstanceDiagnosticStorageAccountArgs, IotHubDeviceUpdateInstanceDiagnosticStorageAccountPtr and IotHubDeviceUpdateInstanceDiagnosticStorageAccountPtrOutput values. You can construct a concrete instance of `IotHubDeviceUpdateInstanceDiagnosticStorageAccountPtrInput` via:
IotHubDeviceUpdateInstanceDiagnosticStorageAccountArgs{...} or: nil
func IotHubDeviceUpdateInstanceDiagnosticStorageAccountPtr ¶
func IotHubDeviceUpdateInstanceDiagnosticStorageAccountPtr(v *IotHubDeviceUpdateInstanceDiagnosticStorageAccountArgs) IotHubDeviceUpdateInstanceDiagnosticStorageAccountPtrInput
type IotHubDeviceUpdateInstanceDiagnosticStorageAccountPtrOutput ¶
type IotHubDeviceUpdateInstanceDiagnosticStorageAccountPtrOutput struct{ *pulumi.OutputState }
func (IotHubDeviceUpdateInstanceDiagnosticStorageAccountPtrOutput) ConnectionString ¶
func (o IotHubDeviceUpdateInstanceDiagnosticStorageAccountPtrOutput) ConnectionString() pulumi.StringPtrOutput
Connection String of the Diagnostic Storage Account.
func (IotHubDeviceUpdateInstanceDiagnosticStorageAccountPtrOutput) ElementType ¶
func (IotHubDeviceUpdateInstanceDiagnosticStorageAccountPtrOutput) ElementType() reflect.Type
func (IotHubDeviceUpdateInstanceDiagnosticStorageAccountPtrOutput) Id ¶
Resource ID of the Diagnostic Storage Account.
func (IotHubDeviceUpdateInstanceDiagnosticStorageAccountPtrOutput) ToIotHubDeviceUpdateInstanceDiagnosticStorageAccountPtrOutput ¶
func (o IotHubDeviceUpdateInstanceDiagnosticStorageAccountPtrOutput) ToIotHubDeviceUpdateInstanceDiagnosticStorageAccountPtrOutput() IotHubDeviceUpdateInstanceDiagnosticStorageAccountPtrOutput
func (IotHubDeviceUpdateInstanceDiagnosticStorageAccountPtrOutput) ToIotHubDeviceUpdateInstanceDiagnosticStorageAccountPtrOutputWithContext ¶
func (o IotHubDeviceUpdateInstanceDiagnosticStorageAccountPtrOutput) ToIotHubDeviceUpdateInstanceDiagnosticStorageAccountPtrOutputWithContext(ctx context.Context) IotHubDeviceUpdateInstanceDiagnosticStorageAccountPtrOutput
type IotHubDeviceUpdateInstanceInput ¶
type IotHubDeviceUpdateInstanceInput interface { pulumi.Input ToIotHubDeviceUpdateInstanceOutput() IotHubDeviceUpdateInstanceOutput ToIotHubDeviceUpdateInstanceOutputWithContext(ctx context.Context) IotHubDeviceUpdateInstanceOutput }
type IotHubDeviceUpdateInstanceMap ¶
type IotHubDeviceUpdateInstanceMap map[string]IotHubDeviceUpdateInstanceInput
func (IotHubDeviceUpdateInstanceMap) ElementType ¶
func (IotHubDeviceUpdateInstanceMap) ElementType() reflect.Type
func (IotHubDeviceUpdateInstanceMap) ToIotHubDeviceUpdateInstanceMapOutput ¶
func (i IotHubDeviceUpdateInstanceMap) ToIotHubDeviceUpdateInstanceMapOutput() IotHubDeviceUpdateInstanceMapOutput
func (IotHubDeviceUpdateInstanceMap) ToIotHubDeviceUpdateInstanceMapOutputWithContext ¶
func (i IotHubDeviceUpdateInstanceMap) ToIotHubDeviceUpdateInstanceMapOutputWithContext(ctx context.Context) IotHubDeviceUpdateInstanceMapOutput
type IotHubDeviceUpdateInstanceMapInput ¶
type IotHubDeviceUpdateInstanceMapInput interface { pulumi.Input ToIotHubDeviceUpdateInstanceMapOutput() IotHubDeviceUpdateInstanceMapOutput ToIotHubDeviceUpdateInstanceMapOutputWithContext(context.Context) IotHubDeviceUpdateInstanceMapOutput }
IotHubDeviceUpdateInstanceMapInput is an input type that accepts IotHubDeviceUpdateInstanceMap and IotHubDeviceUpdateInstanceMapOutput values. You can construct a concrete instance of `IotHubDeviceUpdateInstanceMapInput` via:
IotHubDeviceUpdateInstanceMap{ "key": IotHubDeviceUpdateInstanceArgs{...} }
type IotHubDeviceUpdateInstanceMapOutput ¶
type IotHubDeviceUpdateInstanceMapOutput struct{ *pulumi.OutputState }
func (IotHubDeviceUpdateInstanceMapOutput) ElementType ¶
func (IotHubDeviceUpdateInstanceMapOutput) ElementType() reflect.Type
func (IotHubDeviceUpdateInstanceMapOutput) MapIndex ¶
func (o IotHubDeviceUpdateInstanceMapOutput) MapIndex(k pulumi.StringInput) IotHubDeviceUpdateInstanceOutput
func (IotHubDeviceUpdateInstanceMapOutput) ToIotHubDeviceUpdateInstanceMapOutput ¶
func (o IotHubDeviceUpdateInstanceMapOutput) ToIotHubDeviceUpdateInstanceMapOutput() IotHubDeviceUpdateInstanceMapOutput
func (IotHubDeviceUpdateInstanceMapOutput) ToIotHubDeviceUpdateInstanceMapOutputWithContext ¶
func (o IotHubDeviceUpdateInstanceMapOutput) ToIotHubDeviceUpdateInstanceMapOutputWithContext(ctx context.Context) IotHubDeviceUpdateInstanceMapOutput
type IotHubDeviceUpdateInstanceOutput ¶
type IotHubDeviceUpdateInstanceOutput struct{ *pulumi.OutputState }
func (IotHubDeviceUpdateInstanceOutput) DeviceUpdateAccountId ¶
func (o IotHubDeviceUpdateInstanceOutput) DeviceUpdateAccountId() pulumi.StringOutput
Specifies the ID of the IoT Hub Device Update Account where the IoT Hub Device Update Instance exists. Changing this forces a new resource to be created.
func (IotHubDeviceUpdateInstanceOutput) DiagnosticEnabled ¶
func (o IotHubDeviceUpdateInstanceOutput) DiagnosticEnabled() pulumi.BoolPtrOutput
Whether the diagnostic log collection is enabled. Possible values are `true` and `false`. Defaults to `false`.
func (IotHubDeviceUpdateInstanceOutput) DiagnosticStorageAccount ¶
func (o IotHubDeviceUpdateInstanceOutput) DiagnosticStorageAccount() IotHubDeviceUpdateInstanceDiagnosticStorageAccountPtrOutput
A `diagnosticStorageAccount` block as defined below.
func (IotHubDeviceUpdateInstanceOutput) ElementType ¶
func (IotHubDeviceUpdateInstanceOutput) ElementType() reflect.Type
func (IotHubDeviceUpdateInstanceOutput) IothubId ¶
func (o IotHubDeviceUpdateInstanceOutput) IothubId() pulumi.StringOutput
Specifies the ID of the IoT Hub associated with the IoT Hub Device Update Instance. Changing this forces a new resource to be created.
func (IotHubDeviceUpdateInstanceOutput) Name ¶
func (o IotHubDeviceUpdateInstanceOutput) Name() pulumi.StringOutput
Specifies the name which should be used for this IoT Hub Device Update Instance. Changing this forces a new resource to be created.
func (IotHubDeviceUpdateInstanceOutput) Tags ¶
func (o IotHubDeviceUpdateInstanceOutput) Tags() pulumi.StringMapOutput
A mapping of tags which should be assigned to the IoT Hub Device Update Instance.
func (IotHubDeviceUpdateInstanceOutput) ToIotHubDeviceUpdateInstanceOutput ¶
func (o IotHubDeviceUpdateInstanceOutput) ToIotHubDeviceUpdateInstanceOutput() IotHubDeviceUpdateInstanceOutput
func (IotHubDeviceUpdateInstanceOutput) ToIotHubDeviceUpdateInstanceOutputWithContext ¶
func (o IotHubDeviceUpdateInstanceOutput) ToIotHubDeviceUpdateInstanceOutputWithContext(ctx context.Context) IotHubDeviceUpdateInstanceOutput
type IotHubDeviceUpdateInstanceState ¶
type IotHubDeviceUpdateInstanceState struct { // Specifies the ID of the IoT Hub Device Update Account where the IoT Hub Device Update Instance exists. Changing this forces a new resource to be created. DeviceUpdateAccountId pulumi.StringPtrInput // Whether the diagnostic log collection is enabled. Possible values are `true` and `false`. Defaults to `false`. DiagnosticEnabled pulumi.BoolPtrInput // A `diagnosticStorageAccount` block as defined below. DiagnosticStorageAccount IotHubDeviceUpdateInstanceDiagnosticStorageAccountPtrInput // Specifies the ID of the IoT Hub associated with the IoT Hub Device Update Instance. Changing this forces a new resource to be created. IothubId pulumi.StringPtrInput // Specifies the name which should be used for this IoT Hub Device Update Instance. Changing this forces a new resource to be created. Name pulumi.StringPtrInput // A mapping of tags which should be assigned to the IoT Hub Device Update Instance. Tags pulumi.StringMapInput }
func (IotHubDeviceUpdateInstanceState) ElementType ¶
func (IotHubDeviceUpdateInstanceState) ElementType() reflect.Type
type IotHubDps ¶
type IotHubDps struct { pulumi.CustomResourceState // The allocation policy of the IoT Device Provisioning Service (`Hashed`, `GeoLatency` or `Static`). Defaults to `Hashed`. AllocationPolicy pulumi.StringPtrOutput `pulumi:"allocationPolicy"` // Specifies if the IoT Device Provisioning Service has data residency and disaster recovery enabled. Defaults to `false`. Changing this forces a new resource to be created. DataResidencyEnabled pulumi.BoolPtrOutput `pulumi:"dataResidencyEnabled"` // 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"` // An `ipFilterRule` block as defined below. IpFilterRules IotHubDpsIpFilterRuleArrayOutput `pulumi:"ipFilterRules"` // A `linkedHub` block as defined below. LinkedHubs IotHubDpsLinkedHubArrayOutput `pulumi:"linkedHubs"` // 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 name of the Iot Device Provisioning Service resource. Changing this forces a new resource to be created. Name pulumi.StringOutput `pulumi:"name"` // Whether requests from Public Network are allowed. Defaults to `true`. PublicNetworkAccessEnabled pulumi.BoolPtrOutput `pulumi:"publicNetworkAccessEnabled"` // 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/v6/go/azure/core" "github.com/pulumi/pulumi-azure/sdk/v6/go/azure/iot" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{ Name: pulumi.String("example-resources"), Location: pulumi.String("West Europe"), }) if err != nil { return err } _, err = iot.NewIotHubDps(ctx, "example", &iot.IotHubDpsArgs{ Name: pulumi.String("example"), ResourceGroupName: example.Name, Location: example.Location, AllocationPolicy: pulumi.String("Hashed"), 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
type IotHubDpsArgs ¶
type IotHubDpsArgs struct { // The allocation policy of the IoT Device Provisioning Service (`Hashed`, `GeoLatency` or `Static`). Defaults to `Hashed`. AllocationPolicy pulumi.StringPtrInput // Specifies if the IoT Device Provisioning Service has data residency and disaster recovery enabled. Defaults to `false`. Changing this forces a new resource to be created. DataResidencyEnabled pulumi.BoolPtrInput // An `ipFilterRule` block as defined below. IpFilterRules IotHubDpsIpFilterRuleArrayInput // A `linkedHub` block as defined below. LinkedHubs IotHubDpsLinkedHubArrayInput // 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 name of the Iot Device Provisioning Service resource. Changing this forces a new resource to be created. Name pulumi.StringPtrInput // Whether requests from Public Network are allowed. Defaults to `true`. PublicNetworkAccessEnabled pulumi.BoolPtrInput // 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 IotHubDpsIpFilterRule ¶
type IotHubDpsIpFilterRule 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"` // Target for requests captured by this rule. Possible values are `all`, `deviceApi` and `serviceApi`. Target *string `pulumi:"target"` }
type IotHubDpsIpFilterRuleArgs ¶
type IotHubDpsIpFilterRuleArgs 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"` // Target for requests captured by this rule. Possible values are `all`, `deviceApi` and `serviceApi`. Target pulumi.StringPtrInput `pulumi:"target"` }
func (IotHubDpsIpFilterRuleArgs) ElementType ¶
func (IotHubDpsIpFilterRuleArgs) ElementType() reflect.Type
func (IotHubDpsIpFilterRuleArgs) ToIotHubDpsIpFilterRuleOutput ¶
func (i IotHubDpsIpFilterRuleArgs) ToIotHubDpsIpFilterRuleOutput() IotHubDpsIpFilterRuleOutput
func (IotHubDpsIpFilterRuleArgs) ToIotHubDpsIpFilterRuleOutputWithContext ¶
func (i IotHubDpsIpFilterRuleArgs) ToIotHubDpsIpFilterRuleOutputWithContext(ctx context.Context) IotHubDpsIpFilterRuleOutput
type IotHubDpsIpFilterRuleArray ¶
type IotHubDpsIpFilterRuleArray []IotHubDpsIpFilterRuleInput
func (IotHubDpsIpFilterRuleArray) ElementType ¶
func (IotHubDpsIpFilterRuleArray) ElementType() reflect.Type
func (IotHubDpsIpFilterRuleArray) ToIotHubDpsIpFilterRuleArrayOutput ¶
func (i IotHubDpsIpFilterRuleArray) ToIotHubDpsIpFilterRuleArrayOutput() IotHubDpsIpFilterRuleArrayOutput
func (IotHubDpsIpFilterRuleArray) ToIotHubDpsIpFilterRuleArrayOutputWithContext ¶
func (i IotHubDpsIpFilterRuleArray) ToIotHubDpsIpFilterRuleArrayOutputWithContext(ctx context.Context) IotHubDpsIpFilterRuleArrayOutput
type IotHubDpsIpFilterRuleArrayInput ¶
type IotHubDpsIpFilterRuleArrayInput interface { pulumi.Input ToIotHubDpsIpFilterRuleArrayOutput() IotHubDpsIpFilterRuleArrayOutput ToIotHubDpsIpFilterRuleArrayOutputWithContext(context.Context) IotHubDpsIpFilterRuleArrayOutput }
IotHubDpsIpFilterRuleArrayInput is an input type that accepts IotHubDpsIpFilterRuleArray and IotHubDpsIpFilterRuleArrayOutput values. You can construct a concrete instance of `IotHubDpsIpFilterRuleArrayInput` via:
IotHubDpsIpFilterRuleArray{ IotHubDpsIpFilterRuleArgs{...} }
type IotHubDpsIpFilterRuleArrayOutput ¶
type IotHubDpsIpFilterRuleArrayOutput struct{ *pulumi.OutputState }
func (IotHubDpsIpFilterRuleArrayOutput) ElementType ¶
func (IotHubDpsIpFilterRuleArrayOutput) ElementType() reflect.Type
func (IotHubDpsIpFilterRuleArrayOutput) Index ¶
func (o IotHubDpsIpFilterRuleArrayOutput) Index(i pulumi.IntInput) IotHubDpsIpFilterRuleOutput
func (IotHubDpsIpFilterRuleArrayOutput) ToIotHubDpsIpFilterRuleArrayOutput ¶
func (o IotHubDpsIpFilterRuleArrayOutput) ToIotHubDpsIpFilterRuleArrayOutput() IotHubDpsIpFilterRuleArrayOutput
func (IotHubDpsIpFilterRuleArrayOutput) ToIotHubDpsIpFilterRuleArrayOutputWithContext ¶
func (o IotHubDpsIpFilterRuleArrayOutput) ToIotHubDpsIpFilterRuleArrayOutputWithContext(ctx context.Context) IotHubDpsIpFilterRuleArrayOutput
type IotHubDpsIpFilterRuleInput ¶
type IotHubDpsIpFilterRuleInput interface { pulumi.Input ToIotHubDpsIpFilterRuleOutput() IotHubDpsIpFilterRuleOutput ToIotHubDpsIpFilterRuleOutputWithContext(context.Context) IotHubDpsIpFilterRuleOutput }
IotHubDpsIpFilterRuleInput is an input type that accepts IotHubDpsIpFilterRuleArgs and IotHubDpsIpFilterRuleOutput values. You can construct a concrete instance of `IotHubDpsIpFilterRuleInput` via:
IotHubDpsIpFilterRuleArgs{...}
type IotHubDpsIpFilterRuleOutput ¶
type IotHubDpsIpFilterRuleOutput struct{ *pulumi.OutputState }
func (IotHubDpsIpFilterRuleOutput) Action ¶
func (o IotHubDpsIpFilterRuleOutput) Action() pulumi.StringOutput
The desired action for requests captured by this rule. Possible values are `Accept`, `Reject`
func (IotHubDpsIpFilterRuleOutput) ElementType ¶
func (IotHubDpsIpFilterRuleOutput) ElementType() reflect.Type
func (IotHubDpsIpFilterRuleOutput) IpMask ¶
func (o IotHubDpsIpFilterRuleOutput) IpMask() pulumi.StringOutput
The IP address range in CIDR notation for the rule.
func (IotHubDpsIpFilterRuleOutput) Name ¶
func (o IotHubDpsIpFilterRuleOutput) Name() pulumi.StringOutput
The name of the filter.
func (IotHubDpsIpFilterRuleOutput) Target ¶
func (o IotHubDpsIpFilterRuleOutput) Target() pulumi.StringPtrOutput
Target for requests captured by this rule. Possible values are `all`, `deviceApi` and `serviceApi`.
func (IotHubDpsIpFilterRuleOutput) ToIotHubDpsIpFilterRuleOutput ¶
func (o IotHubDpsIpFilterRuleOutput) ToIotHubDpsIpFilterRuleOutput() IotHubDpsIpFilterRuleOutput
func (IotHubDpsIpFilterRuleOutput) ToIotHubDpsIpFilterRuleOutputWithContext ¶
func (o IotHubDpsIpFilterRuleOutput) ToIotHubDpsIpFilterRuleOutputWithContext(ctx context.Context) IotHubDpsIpFilterRuleOutput
type IotHubDpsLinkedHub ¶
type IotHubDpsLinkedHub struct { // The weight applied to the IoT Hub. Defaults to `1`. AllocationWeight *int `pulumi:"allocationWeight"` // Determines whether to apply allocation policies to the IoT Hub. Defaults to `true`. ApplyAllocationPolicy *bool `pulumi:"applyAllocationPolicy"` // The connection string to connect to the IoT Hub. ConnectionString string `pulumi:"connectionString"` // The IoT Hub hostname. Hostname *string `pulumi:"hostname"` // The location of the IoT hub. Location string `pulumi:"location"` }
type IotHubDpsLinkedHubArgs ¶
type IotHubDpsLinkedHubArgs struct { // The weight applied to the IoT Hub. Defaults to `1`. AllocationWeight pulumi.IntPtrInput `pulumi:"allocationWeight"` // Determines whether to apply allocation policies to the IoT Hub. Defaults to `true`. ApplyAllocationPolicy pulumi.BoolPtrInput `pulumi:"applyAllocationPolicy"` // The connection string to connect to the IoT Hub. ConnectionString pulumi.StringInput `pulumi:"connectionString"` // The IoT Hub hostname. Hostname pulumi.StringPtrInput `pulumi:"hostname"` // The location of the IoT hub. 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 `1`.
func (IotHubDpsLinkedHubOutput) ApplyAllocationPolicy ¶
func (o IotHubDpsLinkedHubOutput) ApplyAllocationPolicy() pulumi.BoolPtrOutput
Determines whether to apply allocation policies to the IoT Hub. Defaults to `true`.
func (IotHubDpsLinkedHubOutput) ConnectionString ¶
func (o IotHubDpsLinkedHubOutput) ConnectionString() pulumi.StringOutput
The connection string to connect to the IoT Hub.
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.
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) AllocationPolicy ¶
func (o IotHubDpsOutput) AllocationPolicy() pulumi.StringPtrOutput
The allocation policy of the IoT Device Provisioning Service (`Hashed`, `GeoLatency` or `Static`). Defaults to `Hashed`.
func (IotHubDpsOutput) DataResidencyEnabled ¶
func (o IotHubDpsOutput) DataResidencyEnabled() pulumi.BoolPtrOutput
Specifies if the IoT Device Provisioning Service has data residency and disaster recovery enabled. Defaults to `false`. Changing this forces a new resource to be created.
func (IotHubDpsOutput) DeviceProvisioningHostName ¶
func (o IotHubDpsOutput) DeviceProvisioningHostName() pulumi.StringOutput
The device endpoint of the IoT Device Provisioning Service.
func (IotHubDpsOutput) ElementType ¶
func (IotHubDpsOutput) ElementType() reflect.Type
func (IotHubDpsOutput) IdScope ¶
func (o IotHubDpsOutput) IdScope() pulumi.StringOutput
The unique identifier of the IoT Device Provisioning Service.
func (IotHubDpsOutput) IpFilterRules ¶
func (o IotHubDpsOutput) IpFilterRules() IotHubDpsIpFilterRuleArrayOutput
An `ipFilterRule` block as defined below.
func (IotHubDpsOutput) LinkedHubs ¶
func (o IotHubDpsOutput) LinkedHubs() IotHubDpsLinkedHubArrayOutput
A `linkedHub` block as defined below.
func (IotHubDpsOutput) Location ¶
func (o IotHubDpsOutput) Location() pulumi.StringOutput
Specifies the supported Azure location where the resource has to be created. Changing this forces a new resource to be created.
func (IotHubDpsOutput) Name ¶
func (o IotHubDpsOutput) Name() pulumi.StringOutput
Specifies the name of the Iot Device Provisioning Service resource. Changing this forces a new resource to be created.
func (IotHubDpsOutput) PublicNetworkAccessEnabled ¶
func (o IotHubDpsOutput) PublicNetworkAccessEnabled() pulumi.BoolPtrOutput
Whether requests from Public Network are allowed. Defaults to `true`.
func (IotHubDpsOutput) ResourceGroupName ¶
func (o IotHubDpsOutput) ResourceGroupName() pulumi.StringOutput
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.
func (IotHubDpsOutput) ServiceOperationsHostName ¶
func (o IotHubDpsOutput) ServiceOperationsHostName() pulumi.StringOutput
The service endpoint of the IoT Device Provisioning Service.
func (IotHubDpsOutput) Sku ¶
func (o IotHubDpsOutput) Sku() IotHubDpsSkuOutput
A `sku` block as defined below.
func (IotHubDpsOutput) Tags ¶
func (o IotHubDpsOutput) Tags() pulumi.StringMapOutput
A mapping of tags to assign to the resource.
func (IotHubDpsOutput) ToIotHubDpsOutput ¶
func (o IotHubDpsOutput) ToIotHubDpsOutput() IotHubDpsOutput
func (IotHubDpsOutput) ToIotHubDpsOutputWithContext ¶
func (o IotHubDpsOutput) ToIotHubDpsOutputWithContext(ctx context.Context) IotHubDpsOutput
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 (`Hashed`, `GeoLatency` or `Static`). Defaults to `Hashed`. AllocationPolicy pulumi.StringPtrInput // Specifies if the IoT Device Provisioning Service has data residency and disaster recovery enabled. Defaults to `false`. Changing this forces a new resource to be created. DataResidencyEnabled pulumi.BoolPtrInput // The device endpoint of the IoT Device Provisioning Service. DeviceProvisioningHostName pulumi.StringPtrInput // The unique identifier of the IoT Device Provisioning Service. IdScope pulumi.StringPtrInput // An `ipFilterRule` block as defined below. IpFilterRules IotHubDpsIpFilterRuleArrayInput // A `linkedHub` block as defined below. LinkedHubs IotHubDpsLinkedHubArrayInput // 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 name of the Iot Device Provisioning Service resource. Changing this forces a new resource to be created. Name pulumi.StringPtrInput // Whether requests from Public Network are allowed. Defaults to `true`. PublicNetworkAccessEnabled pulumi.BoolPtrInput // 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 LookupDpsSharedAccessPolicyOutputArgs ¶
type LookupDpsSharedAccessPolicyOutputArgs struct { pulumi.StringInput `pulumi:"iothubDpsName"` Name pulumi.StringInput `pulumi:"name"` ResourceGroupName pulumi.StringInput `pulumi:"resourceGroupName"` }IothubDpsName
A collection of arguments for invoking getDpsSharedAccessPolicy.
func (LookupDpsSharedAccessPolicyOutputArgs) ElementType ¶
func (LookupDpsSharedAccessPolicyOutputArgs) ElementType() reflect.Type
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/v6/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: exampleAzurermResourceGroup.Name, IothubDpsName: exampleAzurermIothubDps.Name, }, nil) if err != nil { return err } return nil }) }
```
type LookupDpsSharedAccessPolicyResultOutput ¶
A collection of values returned by getDpsSharedAccessPolicy.
func LookupDpsSharedAccessPolicyOutput ¶
func LookupDpsSharedAccessPolicyOutput(ctx *pulumi.Context, args LookupDpsSharedAccessPolicyOutputArgs, opts ...pulumi.InvokeOption) LookupDpsSharedAccessPolicyResultOutput
func (LookupDpsSharedAccessPolicyResultOutput) ElementType ¶
func (LookupDpsSharedAccessPolicyResultOutput) ElementType() reflect.Type
func (LookupDpsSharedAccessPolicyResultOutput) Id ¶
func (o LookupDpsSharedAccessPolicyResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (LookupDpsSharedAccessPolicyResultOutput) IothubDpsName ¶
func (o LookupDpsSharedAccessPolicyResultOutput) IothubDpsName() pulumi.StringOutput
func (LookupDpsSharedAccessPolicyResultOutput) Name ¶
func (o LookupDpsSharedAccessPolicyResultOutput) Name() pulumi.StringOutput
func (LookupDpsSharedAccessPolicyResultOutput) PrimaryConnectionString ¶
func (o LookupDpsSharedAccessPolicyResultOutput) PrimaryConnectionString() pulumi.StringOutput
The primary connection string of the Shared Access Policy.
func (LookupDpsSharedAccessPolicyResultOutput) PrimaryKey ¶
func (o LookupDpsSharedAccessPolicyResultOutput) PrimaryKey() pulumi.StringOutput
The primary key used to create the authentication token.
func (LookupDpsSharedAccessPolicyResultOutput) ResourceGroupName ¶
func (o LookupDpsSharedAccessPolicyResultOutput) ResourceGroupName() pulumi.StringOutput
func (LookupDpsSharedAccessPolicyResultOutput) SecondaryConnectionString ¶
func (o LookupDpsSharedAccessPolicyResultOutput) SecondaryConnectionString() pulumi.StringOutput
The secondary connection string of the Shared Access Policy.
func (LookupDpsSharedAccessPolicyResultOutput) SecondaryKey ¶
func (o LookupDpsSharedAccessPolicyResultOutput) SecondaryKey() pulumi.StringOutput
The secondary key used to create the authentication token.
func (LookupDpsSharedAccessPolicyResultOutput) ToLookupDpsSharedAccessPolicyResultOutput ¶
func (o LookupDpsSharedAccessPolicyResultOutput) ToLookupDpsSharedAccessPolicyResultOutput() LookupDpsSharedAccessPolicyResultOutput
func (LookupDpsSharedAccessPolicyResultOutput) ToLookupDpsSharedAccessPolicyResultOutputWithContext ¶
func (o LookupDpsSharedAccessPolicyResultOutput) ToLookupDpsSharedAccessPolicyResultOutputWithContext(ctx context.Context) LookupDpsSharedAccessPolicyResultOutput
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 LookupSharedAccessPolicyOutputArgs ¶
type LookupSharedAccessPolicyOutputArgs struct { pulumi.StringInput `pulumi:"iothubName"` Name pulumi.StringInput `pulumi:"name"` ResourceGroupName pulumi.StringInput `pulumi:"resourceGroupName"` }IothubName
A collection of arguments for invoking getSharedAccessPolicy.
func (LookupSharedAccessPolicyOutputArgs) ElementType ¶
func (LookupSharedAccessPolicyOutputArgs) ElementType() reflect.Type
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/v6/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: exampleAzurermResourceGroup.Name, IothubName: exampleAzurermIothub.Name, }, nil) if err != nil { return err } return nil }) }
```
type LookupSharedAccessPolicyResultOutput ¶
A collection of values returned by getSharedAccessPolicy.
func LookupSharedAccessPolicyOutput ¶
func LookupSharedAccessPolicyOutput(ctx *pulumi.Context, args LookupSharedAccessPolicyOutputArgs, opts ...pulumi.InvokeOption) LookupSharedAccessPolicyResultOutput
func (LookupSharedAccessPolicyResultOutput) ElementType ¶
func (LookupSharedAccessPolicyResultOutput) ElementType() reflect.Type
func (LookupSharedAccessPolicyResultOutput) Id ¶
func (o LookupSharedAccessPolicyResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (LookupSharedAccessPolicyResultOutput) IothubName ¶
func (o LookupSharedAccessPolicyResultOutput) IothubName() pulumi.StringOutput
func (LookupSharedAccessPolicyResultOutput) Name ¶
func (o LookupSharedAccessPolicyResultOutput) Name() pulumi.StringOutput
func (LookupSharedAccessPolicyResultOutput) PrimaryConnectionString ¶
func (o LookupSharedAccessPolicyResultOutput) PrimaryConnectionString() pulumi.StringOutput
The primary connection string of the Shared Access Policy.
func (LookupSharedAccessPolicyResultOutput) PrimaryKey ¶
func (o LookupSharedAccessPolicyResultOutput) PrimaryKey() pulumi.StringOutput
The primary key used to create the authentication token.
func (LookupSharedAccessPolicyResultOutput) ResourceGroupName ¶
func (o LookupSharedAccessPolicyResultOutput) ResourceGroupName() pulumi.StringOutput
func (LookupSharedAccessPolicyResultOutput) SecondaryConnectionString ¶
func (o LookupSharedAccessPolicyResultOutput) SecondaryConnectionString() pulumi.StringOutput
The secondary connection string of the Shared Access Policy.
func (LookupSharedAccessPolicyResultOutput) SecondaryKey ¶
func (o LookupSharedAccessPolicyResultOutput) SecondaryKey() pulumi.StringOutput
The secondary key used to create the authentication token.
func (LookupSharedAccessPolicyResultOutput) ToLookupSharedAccessPolicyResultOutput ¶
func (o LookupSharedAccessPolicyResultOutput) ToLookupSharedAccessPolicyResultOutput() LookupSharedAccessPolicyResultOutput
func (LookupSharedAccessPolicyResultOutput) ToLookupSharedAccessPolicyResultOutputWithContext ¶
func (o LookupSharedAccessPolicyResultOutput) ToLookupSharedAccessPolicyResultOutputWithContext(ctx context.Context) LookupSharedAccessPolicyResultOutput
type Route ¶
type Route struct { pulumi.CustomResourceState // The condition that is evaluated to apply the routing rule. For grammar, see: <https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-query-language>. Defaults to `true`. 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. Changing this forces a new resource to be created. 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: `DeviceConnectionStateEvents`, `DeviceJobLifecycleEvents`, `DeviceLifecycleEvents`, `DeviceMessages`, `DigitalTwinChangeEvents`, `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` 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 (
"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/core" "github.com/pulumi/pulumi-azure/sdk/v6/go/azure/iot" "github.com/pulumi/pulumi-azure/sdk/v6/go/azure/storage" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{ Name: pulumi.String("example-resources"), Location: pulumi.String("West Europe"), }) if err != nil { return err } exampleAccount, err := storage.NewAccount(ctx, "example", &storage.AccountArgs{ Name: pulumi.String("examplestorageaccount"), ResourceGroupName: example.Name, Location: example.Location, AccountTier: pulumi.String("Standard"), AccountReplicationType: pulumi.String("LRS"), }) if err != nil { return err } exampleContainer, err := storage.NewContainer(ctx, "example", &storage.ContainerArgs{ Name: pulumi.String("example"), StorageAccountName: exampleAccount.Name, ContainerAccessType: pulumi.String("private"), }) if err != nil { return err } exampleIoTHub, err := iot.NewIoTHub(ctx, "example", &iot.IoTHubArgs{ Name: pulumi.String("exampleIothub"), ResourceGroupName: example.Name, Location: example.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, "example", &iot.EndpointStorageContainerArgs{ ResourceGroupName: example.Name, IothubId: exampleIoTHub.ID(), Name: pulumi.String("example"), 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, "example", &iot.RouteArgs{ ResourceGroupName: example.Name, IothubName: exampleIoTHub.Name, Name: pulumi.String("example"), Source: pulumi.String("DeviceMessages"), Condition: pulumi.String("true"), EndpointNames: 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
type RouteArgs ¶
type RouteArgs struct { // The condition that is evaluated to apply the routing rule. For grammar, see: <https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-query-language>. Defaults to `true`. 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. Changing this forces a new resource to be created. 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: `DeviceConnectionStateEvents`, `DeviceJobLifecycleEvents`, `DeviceLifecycleEvents`, `DeviceMessages`, `DigitalTwinChangeEvents`, `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) Condition ¶
func (o RouteOutput) Condition() pulumi.StringPtrOutput
The condition that is evaluated to apply the routing rule. For grammar, see: <https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-query-language>. Defaults to `true`.
func (RouteOutput) ElementType ¶
func (RouteOutput) ElementType() reflect.Type
func (RouteOutput) Enabled ¶
func (o RouteOutput) Enabled() pulumi.BoolOutput
Specifies whether a route is enabled.
func (RouteOutput) EndpointNames ¶
func (o RouteOutput) EndpointNames() pulumi.StringOutput
The list of endpoints to which messages that satisfy the condition are routed. Currently only one endpoint is allowed.
func (RouteOutput) IothubName ¶
func (o RouteOutput) IothubName() pulumi.StringOutput
The name of the IoTHub to which this Route belongs. Changing this forces a new resource to be created.
func (RouteOutput) Name ¶
func (o RouteOutput) Name() pulumi.StringOutput
The name of the route. Changing this forces a new resource to be created.
func (RouteOutput) ResourceGroupName ¶
func (o RouteOutput) ResourceGroupName() pulumi.StringOutput
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.
func (RouteOutput) Source ¶
func (o RouteOutput) Source() pulumi.StringOutput
The source that the routing rule is to be applied to. Possible values include: `DeviceConnectionStateEvents`, `DeviceJobLifecycleEvents`, `DeviceLifecycleEvents`, `DeviceMessages`, `DigitalTwinChangeEvents`, `Invalid`, `TwinChangeEvents`.
func (RouteOutput) ToRouteOutput ¶
func (o RouteOutput) ToRouteOutput() RouteOutput
func (RouteOutput) ToRouteOutputWithContext ¶
func (o RouteOutput) ToRouteOutputWithContext(ctx context.Context) RouteOutput
type RouteState ¶
type RouteState struct { // The condition that is evaluated to apply the routing rule. For grammar, see: <https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-query-language>. Defaults to `true`. 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. Changing this forces a new resource to be created. 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: `DeviceConnectionStateEvents`, `DeviceJobLifecycleEvents`, `DeviceLifecycleEvents`, `DeviceMessages`, `DigitalTwinChangeEvents`, `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/v6/go/azure/core" "github.com/pulumi/pulumi-azure/sdk/v6/go/azure/iot" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{ Name: pulumi.String("example-resources"), Location: pulumi.String("West Europe"), }) if err != nil { return err } exampleIoTHub, err := iot.NewIoTHub(ctx, "example", &iot.IoTHubArgs{ Name: pulumi.String("example-IoTHub"), ResourceGroupName: example.Name, Location: example.Location, Sku: &iot.IoTHubSkuArgs{ Name: pulumi.String("S1"), Capacity: pulumi.Int(1), }, }) if err != nil { return err } exampleSecuritySolution, err := iot.NewSecuritySolution(ctx, "example", &iot.SecuritySolutionArgs{ Name: pulumi.String("example-Iot-Security-Solution"), ResourceGroupName: example.Name, Location: example.Location, DisplayName: pulumi.String("Iot Security Solution"), IothubIds: pulumi.StringArray{ exampleIoTHub.ID(), }, }) if err != nil { return err } _, err = iot.NewSecurityDeviceGroup(ctx, "example", &iot.SecurityDeviceGroupArgs{ Name: pulumi.String("example-device-security-group"), IothubId: exampleIoTHub.ID(), AllowRule: &iot.SecurityDeviceGroupAllowRuleArgs{ ConnectionToIpsNotAlloweds: 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
type SecurityDeviceGroupAllowRule ¶
type SecurityDeviceGroupAllowRule struct { // Specifies which IP is not allowed to be connected to in current device group for inbound connection. ConnectionFromIpsNotAlloweds []string `pulumi:"connectionFromIpsNotAlloweds"` // Specifies which IP is not allowed to be connected to in current device group for outbound connection. ConnectionToIpsNotAlloweds []string `pulumi:"connectionToIpsNotAlloweds"` // Specifies which local user is not allowed to login in current device group. LocalUsersNotAlloweds []string `pulumi:"localUsersNotAlloweds"` // Specifies which process is not allowed to be executed in current device group. ProcessesNotAlloweds []string `pulumi:"processesNotAlloweds"` }
type SecurityDeviceGroupAllowRuleArgs ¶
type SecurityDeviceGroupAllowRuleArgs struct { // Specifies which IP is not allowed to be connected to in current device group for inbound connection. ConnectionFromIpsNotAlloweds pulumi.StringArrayInput `pulumi:"connectionFromIpsNotAlloweds"` // Specifies which IP is not allowed to be connected to in current device group for outbound connection. ConnectionToIpsNotAlloweds pulumi.StringArrayInput `pulumi:"connectionToIpsNotAlloweds"` // Specifies which local user is not allowed to login in current device group. LocalUsersNotAlloweds pulumi.StringArrayInput `pulumi:"localUsersNotAlloweds"` // Specifies which process is not allowed to be executed in current device group. ProcessesNotAlloweds pulumi.StringArrayInput `pulumi:"processesNotAlloweds"` }
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) ConnectionFromIpsNotAlloweds ¶
func (o SecurityDeviceGroupAllowRuleOutput) ConnectionFromIpsNotAlloweds() pulumi.StringArrayOutput
Specifies which IP is not allowed to be connected to in current device group for inbound connection.
func (SecurityDeviceGroupAllowRuleOutput) ConnectionToIpsNotAlloweds ¶
func (o SecurityDeviceGroupAllowRuleOutput) ConnectionToIpsNotAlloweds() pulumi.StringArrayOutput
Specifies which IP is not allowed to be connected to in current device group for outbound connection.
func (SecurityDeviceGroupAllowRuleOutput) ElementType ¶
func (SecurityDeviceGroupAllowRuleOutput) ElementType() reflect.Type
func (SecurityDeviceGroupAllowRuleOutput) LocalUsersNotAlloweds ¶
func (o SecurityDeviceGroupAllowRuleOutput) LocalUsersNotAlloweds() pulumi.StringArrayOutput
Specifies which local user is not allowed to login in current device group.
func (SecurityDeviceGroupAllowRuleOutput) ProcessesNotAlloweds ¶
func (o SecurityDeviceGroupAllowRuleOutput) ProcessesNotAlloweds() 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) ConnectionFromIpsNotAlloweds ¶
func (o SecurityDeviceGroupAllowRulePtrOutput) ConnectionFromIpsNotAlloweds() pulumi.StringArrayOutput
Specifies which IP is not allowed to be connected to in current device group for inbound connection.
func (SecurityDeviceGroupAllowRulePtrOutput) ConnectionToIpsNotAlloweds ¶
func (o SecurityDeviceGroupAllowRulePtrOutput) ConnectionToIpsNotAlloweds() pulumi.StringArrayOutput
Specifies which IP is not allowed to be connected to in current device group for outbound connection.
func (SecurityDeviceGroupAllowRulePtrOutput) ElementType ¶
func (SecurityDeviceGroupAllowRulePtrOutput) ElementType() reflect.Type
func (SecurityDeviceGroupAllowRulePtrOutput) LocalUsersNotAlloweds ¶
func (o SecurityDeviceGroupAllowRulePtrOutput) LocalUsersNotAlloweds() pulumi.StringArrayOutput
Specifies which local user is not allowed to login in current device group.
func (SecurityDeviceGroupAllowRulePtrOutput) ProcessesNotAlloweds ¶
func (o SecurityDeviceGroupAllowRulePtrOutput) ProcessesNotAlloweds() 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) AllowRule ¶
func (o SecurityDeviceGroupOutput) AllowRule() SecurityDeviceGroupAllowRulePtrOutput
an `allowRule` blocks as defined below.
func (SecurityDeviceGroupOutput) ElementType ¶
func (SecurityDeviceGroupOutput) ElementType() reflect.Type
func (SecurityDeviceGroupOutput) IothubId ¶
func (o SecurityDeviceGroupOutput) IothubId() pulumi.StringOutput
The ID of the IoT Hub which to link the Security Device Group to. Changing this forces a new resource to be created.
func (SecurityDeviceGroupOutput) Name ¶
func (o SecurityDeviceGroupOutput) Name() pulumi.StringOutput
Specifies the name of the Device Security Group. Changing this forces a new resource to be created.
func (SecurityDeviceGroupOutput) RangeRules ¶
func (o SecurityDeviceGroupOutput) RangeRules() SecurityDeviceGroupRangeRuleArrayOutput
One or more `rangeRule` blocks as defined below.
func (SecurityDeviceGroupOutput) ToSecurityDeviceGroupOutput ¶
func (o SecurityDeviceGroupOutput) ToSecurityDeviceGroupOutput() SecurityDeviceGroupOutput
func (SecurityDeviceGroupOutput) ToSecurityDeviceGroupOutputWithContext ¶
func (o SecurityDeviceGroupOutput) ToSecurityDeviceGroupOutputWithContext(ctx context.Context) SecurityDeviceGroupOutput
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 // A `additionalWorkspace` block as defined below. AdditionalWorkspaces SecuritySolutionAdditionalWorkspaceArrayOutput `pulumi:"additionalWorkspaces"` // A list of disabled data sources for the Iot Security Solution. Possible value is `TwinData`. DisabledDataSources pulumi.StringArrayOutput `pulumi:"disabledDataSources"` // 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/v6/go/azure/core" "github.com/pulumi/pulumi-azure/sdk/v6/go/azure/iot" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{ Name: pulumi.String("example-resources"), Location: pulumi.String("West Europe"), }) if err != nil { return err } exampleIoTHub, err := iot.NewIoTHub(ctx, "example", &iot.IoTHubArgs{ Name: pulumi.String("example-IoTHub"), ResourceGroupName: example.Name, Location: example.Location, Sku: &iot.IoTHubSkuArgs{ Name: pulumi.String("S1"), Capacity: pulumi.Int(1), }, }) if err != nil { return err } _, err = iot.NewSecuritySolution(ctx, "example", &iot.SecuritySolutionArgs{ Name: pulumi.String("example-Iot-Security-Solution"), ResourceGroupName: example.Name, Location: example.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
type SecuritySolutionAdditionalWorkspaceArgs ¶
type SecuritySolutionAdditionalWorkspaceArgs struct { // A list of data types which sent to workspace. Possible values are `Alerts` and `RawEvents`. DataTypes pulumi.StringArrayInput `pulumi:"dataTypes"` // The resource ID of the Log Analytics Workspace. WorkspaceId pulumi.StringInput `pulumi:"workspaceId"` }
func (SecuritySolutionAdditionalWorkspaceArgs) ElementType ¶
func (SecuritySolutionAdditionalWorkspaceArgs) ElementType() reflect.Type
func (SecuritySolutionAdditionalWorkspaceArgs) ToSecuritySolutionAdditionalWorkspaceOutput ¶
func (i SecuritySolutionAdditionalWorkspaceArgs) ToSecuritySolutionAdditionalWorkspaceOutput() SecuritySolutionAdditionalWorkspaceOutput
func (SecuritySolutionAdditionalWorkspaceArgs) ToSecuritySolutionAdditionalWorkspaceOutputWithContext ¶
func (i SecuritySolutionAdditionalWorkspaceArgs) ToSecuritySolutionAdditionalWorkspaceOutputWithContext(ctx context.Context) SecuritySolutionAdditionalWorkspaceOutput
type SecuritySolutionAdditionalWorkspaceArray ¶
type SecuritySolutionAdditionalWorkspaceArray []SecuritySolutionAdditionalWorkspaceInput
func (SecuritySolutionAdditionalWorkspaceArray) ElementType ¶
func (SecuritySolutionAdditionalWorkspaceArray) ElementType() reflect.Type
func (SecuritySolutionAdditionalWorkspaceArray) ToSecuritySolutionAdditionalWorkspaceArrayOutput ¶
func (i SecuritySolutionAdditionalWorkspaceArray) ToSecuritySolutionAdditionalWorkspaceArrayOutput() SecuritySolutionAdditionalWorkspaceArrayOutput
func (SecuritySolutionAdditionalWorkspaceArray) ToSecuritySolutionAdditionalWorkspaceArrayOutputWithContext ¶
func (i SecuritySolutionAdditionalWorkspaceArray) ToSecuritySolutionAdditionalWorkspaceArrayOutputWithContext(ctx context.Context) SecuritySolutionAdditionalWorkspaceArrayOutput
type SecuritySolutionAdditionalWorkspaceArrayInput ¶
type SecuritySolutionAdditionalWorkspaceArrayInput interface { pulumi.Input ToSecuritySolutionAdditionalWorkspaceArrayOutput() SecuritySolutionAdditionalWorkspaceArrayOutput ToSecuritySolutionAdditionalWorkspaceArrayOutputWithContext(context.Context) SecuritySolutionAdditionalWorkspaceArrayOutput }
SecuritySolutionAdditionalWorkspaceArrayInput is an input type that accepts SecuritySolutionAdditionalWorkspaceArray and SecuritySolutionAdditionalWorkspaceArrayOutput values. You can construct a concrete instance of `SecuritySolutionAdditionalWorkspaceArrayInput` via:
SecuritySolutionAdditionalWorkspaceArray{ SecuritySolutionAdditionalWorkspaceArgs{...} }
type SecuritySolutionAdditionalWorkspaceArrayOutput ¶
type SecuritySolutionAdditionalWorkspaceArrayOutput struct{ *pulumi.OutputState }
func (SecuritySolutionAdditionalWorkspaceArrayOutput) ElementType ¶
func (SecuritySolutionAdditionalWorkspaceArrayOutput) ElementType() reflect.Type
func (SecuritySolutionAdditionalWorkspaceArrayOutput) ToSecuritySolutionAdditionalWorkspaceArrayOutput ¶
func (o SecuritySolutionAdditionalWorkspaceArrayOutput) ToSecuritySolutionAdditionalWorkspaceArrayOutput() SecuritySolutionAdditionalWorkspaceArrayOutput
func (SecuritySolutionAdditionalWorkspaceArrayOutput) ToSecuritySolutionAdditionalWorkspaceArrayOutputWithContext ¶
func (o SecuritySolutionAdditionalWorkspaceArrayOutput) ToSecuritySolutionAdditionalWorkspaceArrayOutputWithContext(ctx context.Context) SecuritySolutionAdditionalWorkspaceArrayOutput
type SecuritySolutionAdditionalWorkspaceInput ¶
type SecuritySolutionAdditionalWorkspaceInput interface { pulumi.Input ToSecuritySolutionAdditionalWorkspaceOutput() SecuritySolutionAdditionalWorkspaceOutput ToSecuritySolutionAdditionalWorkspaceOutputWithContext(context.Context) SecuritySolutionAdditionalWorkspaceOutput }
SecuritySolutionAdditionalWorkspaceInput is an input type that accepts SecuritySolutionAdditionalWorkspaceArgs and SecuritySolutionAdditionalWorkspaceOutput values. You can construct a concrete instance of `SecuritySolutionAdditionalWorkspaceInput` via:
SecuritySolutionAdditionalWorkspaceArgs{...}
type SecuritySolutionAdditionalWorkspaceOutput ¶
type SecuritySolutionAdditionalWorkspaceOutput struct{ *pulumi.OutputState }
func (SecuritySolutionAdditionalWorkspaceOutput) DataTypes ¶
func (o SecuritySolutionAdditionalWorkspaceOutput) DataTypes() pulumi.StringArrayOutput
A list of data types which sent to workspace. Possible values are `Alerts` and `RawEvents`.
func (SecuritySolutionAdditionalWorkspaceOutput) ElementType ¶
func (SecuritySolutionAdditionalWorkspaceOutput) ElementType() reflect.Type
func (SecuritySolutionAdditionalWorkspaceOutput) ToSecuritySolutionAdditionalWorkspaceOutput ¶
func (o SecuritySolutionAdditionalWorkspaceOutput) ToSecuritySolutionAdditionalWorkspaceOutput() SecuritySolutionAdditionalWorkspaceOutput
func (SecuritySolutionAdditionalWorkspaceOutput) ToSecuritySolutionAdditionalWorkspaceOutputWithContext ¶
func (o SecuritySolutionAdditionalWorkspaceOutput) ToSecuritySolutionAdditionalWorkspaceOutputWithContext(ctx context.Context) SecuritySolutionAdditionalWorkspaceOutput
func (SecuritySolutionAdditionalWorkspaceOutput) WorkspaceId ¶
func (o SecuritySolutionAdditionalWorkspaceOutput) WorkspaceId() pulumi.StringOutput
The resource ID of the Log Analytics Workspace.
type SecuritySolutionArgs ¶
type SecuritySolutionArgs struct { // A `additionalWorkspace` block as defined below. AdditionalWorkspaces SecuritySolutionAdditionalWorkspaceArrayInput // A list of disabled data sources for the Iot Security Solution. Possible value is `TwinData`. DisabledDataSources pulumi.StringArrayInput // 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) AdditionalWorkspaces ¶
func (o SecuritySolutionOutput) AdditionalWorkspaces() SecuritySolutionAdditionalWorkspaceArrayOutput
A `additionalWorkspace` block as defined below.
func (SecuritySolutionOutput) DisabledDataSources ¶
func (o SecuritySolutionOutput) DisabledDataSources() pulumi.StringArrayOutput
A list of disabled data sources for the Iot Security Solution. Possible value is `TwinData`.
func (SecuritySolutionOutput) DisplayName ¶
func (o SecuritySolutionOutput) DisplayName() pulumi.StringOutput
Specifies the Display Name for this Iot Security Solution.
func (SecuritySolutionOutput) ElementType ¶
func (SecuritySolutionOutput) ElementType() reflect.Type
func (SecuritySolutionOutput) Enabled ¶
func (o SecuritySolutionOutput) Enabled() pulumi.BoolPtrOutput
Is the Iot Security Solution enabled? Defaults to `true`.
func (SecuritySolutionOutput) EventsToExports ¶
func (o SecuritySolutionOutput) EventsToExports() pulumi.StringArrayOutput
A list of data which is to exported to analytic workspace. Valid values include `RawEvents`.
func (SecuritySolutionOutput) IothubIds ¶
func (o SecuritySolutionOutput) IothubIds() pulumi.StringArrayOutput
Specifies the IoT Hub resource IDs to which this Iot Security Solution is applied.
func (SecuritySolutionOutput) Location ¶
func (o SecuritySolutionOutput) Location() pulumi.StringOutput
Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
func (SecuritySolutionOutput) LogAnalyticsWorkspaceId ¶
func (o SecuritySolutionOutput) LogAnalyticsWorkspaceId() pulumi.StringPtrOutput
Specifies the Log Analytics Workspace ID to which the security data will be sent.
func (SecuritySolutionOutput) LogUnmaskedIpsEnabled ¶
func (o SecuritySolutionOutput) LogUnmaskedIpsEnabled() pulumi.BoolPtrOutput
Should IP addressed be unmasked in the log? Defaults to `false`.
func (SecuritySolutionOutput) Name ¶
func (o SecuritySolutionOutput) Name() pulumi.StringOutput
Specifies the name of the Iot Security Solution. Changing this forces a new resource to be created.
func (SecuritySolutionOutput) QueryForResources ¶
func (o SecuritySolutionOutput) QueryForResources() pulumi.StringOutput
An Azure Resource Graph query used to set the resources monitored.
func (SecuritySolutionOutput) QuerySubscriptionIds ¶
func (o SecuritySolutionOutput) QuerySubscriptionIds() pulumi.StringArrayOutput
A list of subscription Ids on which the user defined resources query should be executed.
func (SecuritySolutionOutput) RecommendationsEnabled ¶
func (o SecuritySolutionOutput) RecommendationsEnabled() SecuritySolutionRecommendationsEnabledOutput
A `recommendationsEnabled` block of options to enable or disable as defined below.
func (SecuritySolutionOutput) ResourceGroupName ¶
func (o SecuritySolutionOutput) ResourceGroupName() pulumi.StringOutput
Specifies the name of the resource group in which to create the Iot Security Solution. Changing this forces a new resource to be created.
func (SecuritySolutionOutput) Tags ¶
func (o SecuritySolutionOutput) Tags() pulumi.StringMapOutput
A mapping of tags to assign to the resource.
func (SecuritySolutionOutput) ToSecuritySolutionOutput ¶
func (o SecuritySolutionOutput) ToSecuritySolutionOutput() SecuritySolutionOutput
func (SecuritySolutionOutput) ToSecuritySolutionOutputWithContext ¶
func (o SecuritySolutionOutput) ToSecuritySolutionOutputWithContext(ctx context.Context) SecuritySolutionOutput
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 { // A `additionalWorkspace` block as defined below. AdditionalWorkspaces SecuritySolutionAdditionalWorkspaceArrayInput // A list of disabled data sources for the Iot Security Solution. Possible value is `TwinData`. DisabledDataSources pulumi.StringArrayInput // 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 { // // > **NOTE** At least one of `registryRead`, `registryWrite`, `serviceConnect`, `deviceConnect` permissions must be set to `true`. DeviceConnect 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"` // // > **NOTE** When `registryWrite` is set to `true`, `registryRead` must also be set to true. This is a limitation of the Azure REST API 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"` }
Manages an IotHub Shared Access Policy
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/core" "github.com/pulumi/pulumi-azure/sdk/v6/go/azure/iot" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{ Name: pulumi.String("example-resources"), Location: pulumi.String("West Europe"), }) if err != nil { return err } exampleIoTHub, err := iot.NewIoTHub(ctx, "example", &iot.IoTHubArgs{ Name: pulumi.String("example"), ResourceGroupName: example.Name, Location: example.Location, Sku: &iot.IoTHubSkuArgs{ Name: pulumi.String("S1"), Capacity: pulumi.Int(1), }, }) if err != nil { return err } _, err = iot.NewSharedAccessPolicy(ctx, "example", &iot.SharedAccessPolicyArgs{ Name: pulumi.String("example"), ResourceGroupName: example.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
type SharedAccessPolicyArgs ¶
type SharedAccessPolicyArgs struct { // // > **NOTE** At least one of `registryRead`, `registryWrite`, `serviceConnect`, `deviceConnect` permissions must be set to `true`. DeviceConnect pulumi.BoolPtrInput IothubName pulumi.StringInput Name pulumi.StringPtrInput RegistryRead pulumi.BoolPtrInput // // > **NOTE** When `registryWrite` is set to `true`, `registryRead` must also be set to true. This is a limitation of the Azure REST API RegistryWrite pulumi.BoolPtrInput ResourceGroupName pulumi.StringInput ServiceConnect pulumi.BoolPtrInput }
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 ¶
func (SharedAccessPolicyOutput) DeviceConnect ¶
func (o SharedAccessPolicyOutput) DeviceConnect() pulumi.BoolPtrOutput
Adds `DeviceConnect` permission to this Shared Access Account. It allows sending and receiving on the device-side endpoints.
> **NOTE** At least one of `registryRead`, `registryWrite`, `serviceConnect`, `deviceConnect` permissions must be set to `true`.
func (SharedAccessPolicyOutput) ElementType ¶
func (SharedAccessPolicyOutput) ElementType() reflect.Type
func (SharedAccessPolicyOutput) IothubName ¶
func (o SharedAccessPolicyOutput) IothubName() pulumi.StringOutput
The name of the IoTHub to which this Shared Access Policy belongs. Changing this forces a new resource to be created.
func (SharedAccessPolicyOutput) Name ¶
func (o SharedAccessPolicyOutput) Name() pulumi.StringOutput
Specifies the name of the IotHub Shared Access Policy resource. Changing this forces a new resource to be created.
func (SharedAccessPolicyOutput) PrimaryConnectionString ¶
func (o SharedAccessPolicyOutput) PrimaryConnectionString() pulumi.StringOutput
The primary connection string of the Shared Access Policy.
func (SharedAccessPolicyOutput) PrimaryKey ¶
func (o SharedAccessPolicyOutput) PrimaryKey() pulumi.StringOutput
The primary key used to create the authentication token.
func (SharedAccessPolicyOutput) RegistryRead ¶
func (o SharedAccessPolicyOutput) RegistryRead() pulumi.BoolPtrOutput
Adds `RegistryRead` permission to this Shared Access Account. It allows read access to the identity registry.
func (SharedAccessPolicyOutput) RegistryWrite ¶
func (o SharedAccessPolicyOutput) RegistryWrite() pulumi.BoolPtrOutput
Adds `RegistryWrite` permission to this Shared Access Account. It allows write access to the identity registry.
> **NOTE** When `registryWrite` is set to `true`, `registryRead` must also be set to true. This is a limitation of the Azure REST API
func (SharedAccessPolicyOutput) ResourceGroupName ¶
func (o SharedAccessPolicyOutput) ResourceGroupName() pulumi.StringOutput
The name of the resource group under which the IotHub Shared Access Policy resource has to be created. Changing this forces a new resource to be created.
func (SharedAccessPolicyOutput) SecondaryConnectionString ¶
func (o SharedAccessPolicyOutput) SecondaryConnectionString() pulumi.StringOutput
The secondary connection string of the Shared Access Policy.
func (SharedAccessPolicyOutput) SecondaryKey ¶
func (o SharedAccessPolicyOutput) SecondaryKey() pulumi.StringOutput
The secondary key used to create the authentication token.
func (SharedAccessPolicyOutput) ServiceConnect ¶
func (o SharedAccessPolicyOutput) ServiceConnect() pulumi.BoolPtrOutput
Adds `ServiceConnect` permission to this Shared Access Account. It allows sending and receiving on the cloud-side endpoints.
func (SharedAccessPolicyOutput) ToSharedAccessPolicyOutput ¶
func (o SharedAccessPolicyOutput) ToSharedAccessPolicyOutput() SharedAccessPolicyOutput
func (SharedAccessPolicyOutput) ToSharedAccessPolicyOutputWithContext ¶
func (o SharedAccessPolicyOutput) ToSharedAccessPolicyOutputWithContext(ctx context.Context) SharedAccessPolicyOutput
type SharedAccessPolicyState ¶
type SharedAccessPolicyState struct { // // > **NOTE** At least one of `registryRead`, `registryWrite`, `serviceConnect`, `deviceConnect` permissions must be set to `true`. DeviceConnect pulumi.BoolPtrInput IothubName pulumi.StringPtrInput Name pulumi.StringPtrInput PrimaryConnectionString pulumi.StringPtrInput PrimaryKey pulumi.StringPtrInput RegistryRead pulumi.BoolPtrInput // // > **NOTE** When `registryWrite` is set to `true`, `registryRead` must also be set to true. This is a limitation of the Azure REST API RegistryWrite pulumi.BoolPtrInput ResourceGroupName pulumi.StringPtrInput SecondaryConnectionString pulumi.StringPtrInput SecondaryKey pulumi.StringPtrInput ServiceConnect pulumi.BoolPtrInput }
func (SharedAccessPolicyState) ElementType ¶
func (SharedAccessPolicyState) ElementType() reflect.Type
Source Files ¶
- certificate.go
- consumerGroup.go
- dpsSharedAccessPolicy.go
- endpointCosmosdbAccount.go
- endpointEventhub.go
- endpointServicebusQueue.go
- endpointServicebusTopic.go
- endpointStorageContainer.go
- enrichment.go
- fallbackRoute.go
- fileUpload.go
- getDps.go
- getDpsSharedAccessPolicy.go
- getIotHub.go
- getSharedAccessPolicy.go
- init.go
- ioTHub.go
- iotHubCertificate.go
- iotHubDeviceUpdateAccount.go
- iotHubDeviceUpdateInstance.go
- iotHubDps.go
- pulumiTypes.go
- route.go
- securityDeviceGroup.go
- securitySolution.go
- sharedAccessPolicy.go