Hub

class Hub : KotlinCustomResource

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/v2"
"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}

Properties

Link copied to clipboard
val apiEndpoint: Output<String>

API endpoint URL of the hub.

Link copied to clipboard
val azureApiVersion: Output<String>

The Azure API version of the resource.

Link copied to clipboard

Billing settings of the hub.

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

Resource location.

Link copied to clipboard
val name: Output<String>

Resource name.

Link copied to clipboard

Provisioning state of the hub.

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val tags: Output<Map<String, String>>?

Resource tags.

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

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.

Link copied to clipboard
val type: Output<String>

Resource type.

Link copied to clipboard
val urn: Output<String>
Link copied to clipboard
val webEndpoint: Output<String>

Web endpoint URL of the hub.