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

116 lines (115 loc) 3.09 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Get a cloud connector definition * * Uses Azure REST API version 2019-03-01-preview. */ export declare function getCloudConnector(args: GetCloudConnectorArgs, opts?: pulumi.InvokeOptions): Promise<GetCloudConnectorResult>; export interface GetCloudConnectorArgs { /** * Connector Name. */ connectorName: string; /** * May be used to expand the collectionInfo property. By default, collectionInfo is not included. */ expand?: string; } /** * The Connector model definition */ export interface GetCloudConnectorResult { /** * The Azure API version of the resource. */ readonly azureApiVersion: string; /** * Connector billing model */ readonly billingModel?: string; /** * Collection information */ readonly collectionInfo: outputs.costmanagement.ConnectorCollectionInfoResponse; /** * Connector definition creation datetime */ readonly createdOn: string; /** * Credentials authentication key (eg AWS ARN) */ readonly credentialsKey?: string; /** * Number of days remaining of trial */ readonly daysTrialRemaining: number; /** * Default ManagementGroupId */ readonly defaultManagementGroupId?: string; /** * Connector DisplayName */ readonly displayName?: string; /** * Associated ExternalBillingAccountId */ readonly externalBillingAccountId: string; /** * Connector id */ readonly id: string; /** * Connector kind (eg aws) */ readonly kind?: string; /** * Connector last modified datetime */ readonly modifiedOn: string; /** * Connector name */ readonly name: string; /** * The display name of the providerBillingAccountId as defined on the external provider */ readonly providerBillingAccountDisplayName: string; /** * Connector providerBillingAccountId, determined from credentials (eg AWS Consolidated account number) */ readonly providerBillingAccountId: string; /** * Identifying source report. (For AWS this is a CUR report name, defined with Daily and with Resources) */ readonly reportId?: string; /** * Connector status */ readonly status: string; /** * Billing SubscriptionId */ readonly subscriptionId?: string; /** * Connector type */ readonly type: string; } /** * Get a cloud connector definition * * Uses Azure REST API version 2019-03-01-preview. */ export declare function getCloudConnectorOutput(args: GetCloudConnectorOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetCloudConnectorResult>; export interface GetCloudConnectorOutputArgs { /** * Connector Name. */ connectorName: pulumi.Input<string>; /** * May be used to expand the collectionInfo property. By default, collectionInfo is not included. */ expand?: pulumi.Input<string>; }