Package com.pulumi.azurenative.kusto
Class IotHubDataConnection
- java.lang.Object
-
- com.pulumi.resources.Resource
-
- com.pulumi.resources.CustomResource
-
- com.pulumi.azurenative.kusto.IotHubDataConnection
-
public class IotHubDataConnection extends com.pulumi.resources.CustomResource
Class representing an iot hub data connection. API Version: 2021-01-01. ## Example Usage ### KustoDataConnectionsCreateOrUpdate ```java package generated_program; import com.pulumi.Context; import com.pulumi.Pulumi; import com.pulumi.core.Output; import com.pulumi.azurenative.kusto.IotHubDataConnection; import com.pulumi.azurenative.kusto.IotHubDataConnectionArgs; import java.util.List; import java.util.ArrayList; import java.util.Map; import java.io.File; import java.nio.file.Files; import java.nio.file.Paths; public class App { public static void main(String[] args) { Pulumi.run(App::stack); } public static void stack(Context ctx) { var iotHubDataConnection = new IotHubDataConnection("iotHubDataConnection", IotHubDataConnectionArgs.builder() .clusterName("kustoclusterrptest4") .dataConnectionName("DataConnections8") .databaseName("KustoDatabase8") .resourceGroupName("kustorptest") .build()); } } ``` ## Import An existing resource can be imported using its type token, name, and identifier, e.g. ```sh $ pulumi import azure-native:kusto:IotHubDataConnection KustoClusterRPTest4/KustoDatabase8/DataConnections8 /subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4/Databases/KustoDatabase8/DataConnections/DataConnections8 ```
-
-
Constructor Summary
Constructors Constructor Description IotHubDataConnection(java.lang.String name)
IotHubDataConnection(java.lang.String name, IotHubDataConnectionArgs args)
IotHubDataConnection(java.lang.String name, IotHubDataConnectionArgs args, com.pulumi.resources.CustomResourceOptions options)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description com.pulumi.core.Output<java.lang.String>
consumerGroup()
com.pulumi.core.Output<java.util.Optional<java.lang.String>>
dataFormat()
com.pulumi.core.Output<java.util.Optional<java.util.List<java.lang.String>>>
eventSystemProperties()
static IotHubDataConnection
get(java.lang.String name, com.pulumi.core.Output<java.lang.String> id, com.pulumi.resources.CustomResourceOptions options)
Get an existing Host resource's state with the given name, ID, and optional extra properties used to qualify the lookup.com.pulumi.core.Output<java.lang.String>
iotHubResourceId()
com.pulumi.core.Output<java.lang.String>
kind()
com.pulumi.core.Output<java.util.Optional<java.lang.String>>
location()
com.pulumi.core.Output<java.util.Optional<java.lang.String>>
mappingRuleName()
com.pulumi.core.Output<java.lang.String>
name()
com.pulumi.core.Output<java.lang.String>
provisioningState()
com.pulumi.core.Output<java.lang.String>
sharedAccessPolicyName()
com.pulumi.core.Output<java.util.Optional<java.lang.String>>
tableName()
com.pulumi.core.Output<java.lang.String>
type()
-
-
-
Constructor Detail
-
IotHubDataConnection
public IotHubDataConnection(java.lang.String name)
- Parameters:
name
- The _unique_ name of the resulting resource.
-
IotHubDataConnection
public IotHubDataConnection(java.lang.String name, IotHubDataConnectionArgs args)
- Parameters:
name
- The _unique_ name of the resulting resource.args
- The arguments to use to populate this resource's properties.
-
IotHubDataConnection
public IotHubDataConnection(java.lang.String name, IotHubDataConnectionArgs args, @Nullable com.pulumi.resources.CustomResourceOptions options)
- Parameters:
name
- The _unique_ name of the resulting resource.args
- The arguments to use to populate this resource's properties.options
- A bag of options that control this resource's behavior.
-
-
Method Detail
-
consumerGroup
public com.pulumi.core.Output<java.lang.String> consumerGroup()
- Returns:
- The iot hub consumer group.
-
dataFormat
public com.pulumi.core.Output<java.util.Optional<java.lang.String>> dataFormat()
- Returns:
- The data format of the message. Optionally the data format can be added to each message.
-
eventSystemProperties
public com.pulumi.core.Output<java.util.Optional<java.util.List<java.lang.String>>> eventSystemProperties()
- Returns:
- System properties of the iot hub
-
iotHubResourceId
public com.pulumi.core.Output<java.lang.String> iotHubResourceId()
- Returns:
- The resource ID of the Iot hub to be used to create a data connection.
-
kind
public com.pulumi.core.Output<java.lang.String> kind()
- Returns:
- Kind of the endpoint for the data connection Expected value is 'IotHub'.
-
location
public com.pulumi.core.Output<java.util.Optional<java.lang.String>> location()
- Returns:
- Resource location.
-
mappingRuleName
public com.pulumi.core.Output<java.util.Optional<java.lang.String>> mappingRuleName()
- Returns:
- The mapping rule to be used to ingest the data. Optionally the mapping information can be added to each message.
-
name
public com.pulumi.core.Output<java.lang.String> name()
- Returns:
- The name of the resource
-
provisioningState
public com.pulumi.core.Output<java.lang.String> provisioningState()
- Returns:
- The provisioned state of the resource.
-
sharedAccessPolicyName
public com.pulumi.core.Output<java.lang.String> sharedAccessPolicyName()
- Returns:
- The name of the share access policy
-
tableName
public com.pulumi.core.Output<java.util.Optional<java.lang.String>> tableName()
- Returns:
- The table where the data should be ingested. Optionally the table information can be added to each message.
-
type
public com.pulumi.core.Output<java.lang.String> type()
- Returns:
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
-
get
public static IotHubDataConnection get(java.lang.String name, com.pulumi.core.Output<java.lang.String> id, @Nullable com.pulumi.resources.CustomResourceOptions options)
Get an existing Host resource's state with the given name, ID, and optional extra properties used to qualify the lookup.- Parameters:
name
- The _unique_ name of the resulting resource.id
- The _unique_ provider ID of the resource to lookup.options
- Optional settings to control the behavior of the CustomResource.
-
-