@pulumi/azure-native
Version:
[](https://slack.pulumi.com) [](https://npmjs.com/package/@pulumi/azure-native) [ • 2.42 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
* Get a connector definition
*
* Uses Azure REST API version 2018-08-01-preview.
*/
export declare function getConnector(args: GetConnectorArgs, opts?: pulumi.InvokeOptions): Promise<GetConnectorResult>;
export interface GetConnectorArgs {
/**
* Connector Name.
*/
connectorName: string;
/**
* Azure Resource Group Name.
*/
resourceGroupName: string;
}
/**
* The Connector model definition
*/
export interface GetConnectorResult {
/**
* The Azure API version of the resource.
*/
readonly azureApiVersion: string;
/**
* Collection information
*/
readonly collection: outputs.costmanagement.ConnectorCollectionInfoResponse;
/**
* Connector definition creation datetime
*/
readonly createdOn: string;
/**
* Credentials authentication key (eg AWS ARN)
*/
readonly credentialsKey?: string;
/**
* Connector DisplayName (defaults to Name)
*/
readonly displayName?: string;
/**
* Connector id
*/
readonly id: string;
/**
* Connector kind (eg aws)
*/
readonly kind?: string;
/**
* Connector location
*/
readonly location?: string;
/**
* Connector last modified datetime
*/
readonly modifiedOn: string;
/**
* Connector name
*/
readonly name: string;
/**
* Connector providerAccountId (determined from credentials)
*/
readonly providerAccountId: 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;
/**
* Resource tags.
*/
readonly tags?: {
[key: string]: string;
};
/**
* Connector type
*/
readonly type: string;
}
/**
* Get a connector definition
*
* Uses Azure REST API version 2018-08-01-preview.
*/
export declare function getConnectorOutput(args: GetConnectorOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetConnectorResult>;
export interface GetConnectorOutputArgs {
/**
* Connector Name.
*/
connectorName: pulumi.Input<string>;
/**
* Azure Resource Group Name.
*/
resourceGroupName: pulumi.Input<string>;
}