UNPKG

@pulumi/azure-native

Version:

[![Slack](http://www.pulumi.com/images/docs/badges/slack.svg)](https://slack.pulumi.com) [![NPM version](https://badge.fury.io/js/%40pulumi%2Fazure-native.svg)](https://npmjs.com/package/@pulumi/azure-native) [![Python version](https://badge.fury.io/py/pu

86 lines (85 loc) 2.08 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Gets information about the specified hub. * * Uses Azure REST API version 2017-04-26. */ export declare function getHub(args: GetHubArgs, opts?: pulumi.InvokeOptions): Promise<GetHubResult>; export interface GetHubArgs { /** * The name of the hub. */ hubName: string; /** * The name of the resource group. */ resourceGroupName: string; } /** * Hub resource. */ export interface GetHubResult { /** * API endpoint URL of the hub. */ readonly apiEndpoint: string; /** * The Azure API version of the resource. */ readonly azureApiVersion: string; /** * Billing settings of the hub. */ readonly hubBillingInfo?: outputs.customerinsights.HubBillingInfoFormatResponse; /** * Resource ID. */ readonly id: string; /** * Resource location. */ readonly location?: string; /** * Resource name. */ readonly name: string; /** * Provisioning state of the hub. */ readonly provisioningState: string; /** * Resource tags. */ readonly tags?: { [key: string]: string; }; /** * 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. */ readonly tenantFeatures?: number; /** * Resource type. */ readonly type: string; /** * Web endpoint URL of the hub. */ readonly webEndpoint: string; } /** * Gets information about the specified hub. * * Uses Azure REST API version 2017-04-26. */ export declare function getHubOutput(args: GetHubOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetHubResult>; export interface GetHubOutputArgs { /** * The name of the hub. */ hubName: pulumi.Input<string>; /** * The name of the resource group. */ resourceGroupName: pulumi.Input<string>; }