HubArgs

data class HubArgs(val hubBillingInfo: Output<HubBillingInfoFormatArgs>? = null, val hubName: Output<String>? = null, val location: Output<String>? = null, val resourceGroupName: Output<String>? = null, val tags: Output<Map<String, String>>? = null, val tenantFeatures: Output<Int>? = null) : ConvertibleToJava<HubArgs>

Hub resource. Uses Azure REST API version 2017-04-26. In version 2.x of the Azure Native provider, it used API version 2017-04-26.

Example Usage

Hubs_CreateOrUpdate

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var hub = new AzureNative.CustomerInsights.Hub("hub", new()
{
HubBillingInfo = new AzureNative.CustomerInsights.Inputs.HubBillingInfoFormatArgs
{
MaxUnits = 5,
MinUnits = 1,
SkuName = "B0",
},
HubName = "sdkTestHub",
Location = "West US",
ResourceGroupName = "TestHubRG",
});
});
package main
import (
customerinsights "github.com/pulumi/pulumi-azure-native-sdk/customerinsights/v3"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := customerinsights.NewHub(ctx, "hub", &customerinsights.HubArgs{
HubBillingInfo: &customerinsights.HubBillingInfoFormatArgs{
MaxUnits: pulumi.Int(5),
MinUnits: pulumi.Int(1),
SkuName: pulumi.String("B0"),
},
HubName: pulumi.String("sdkTestHub"),
Location: pulumi.String("West US"),
ResourceGroupName: pulumi.String("TestHubRG"),
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.customerinsights.Hub;
import com.pulumi.azurenative.customerinsights.HubArgs;
import com.pulumi.azurenative.customerinsights.inputs.HubBillingInfoFormatArgs;
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 hub = new Hub("hub", HubArgs.builder()
.hubBillingInfo(HubBillingInfoFormatArgs.builder()
.maxUnits(5)
.minUnits(1)
.skuName("B0")
.build())
.hubName("sdkTestHub")
.location("West US")
.resourceGroupName("TestHubRG")
.build());
}
}

Import

An existing resource can be imported using its type token, name, and identifier, e.g.

$ pulumi import azure-native:customerinsights:Hub testHub2839 /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CustomerInsights/hubs/{hubName}

Constructors

Link copied to clipboard
constructor(hubBillingInfo: Output<HubBillingInfoFormatArgs>? = null, hubName: Output<String>? = null, location: Output<String>? = null, resourceGroupName: Output<String>? = null, tags: Output<Map<String, String>>? = null, tenantFeatures: Output<Int>? = null)

Properties

Link copied to clipboard

Billing settings of the hub.

Link copied to clipboard
val hubName: Output<String>? = null

The name of the Hub.

Link copied to clipboard
val location: Output<String>? = null

Resource location.

Link copied to clipboard
val resourceGroupName: Output<String>? = null

The name of the resource group.

Link copied to clipboard
val tags: Output<Map<String, String>>? = null

Resource tags.

Link copied to clipboard
val tenantFeatures: Output<Int>? = null

The bit flags for enabled hub features. Bit 0 is set to 1 indicates graph is enabled, or disabled if set to 0. Bit 1 is set to 1 indicates the hub is disabled, or enabled if set to 0.

Functions

Link copied to clipboard
open override fun toJava(): HubArgs