@pulumi/azure-native
Version:
[](https://slack.pulumi.com) [](https://npmjs.com/package/@pulumi/azure-native) [ • 3.09 kB
TypeScript
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>;
}