@pulumi/azure-native
Version:
[](https://slack.pulumi.com) [](https://npmjs.com/package/@pulumi/azure-native) [ • 4.8 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
import * as enums from "../types/enums";
/**
* The Connector model definition
*
* Uses Azure REST API version 2019-03-01-preview. In version 2.x of the Azure Native provider, it used API version 2019-03-01-preview.
*/
export declare class CloudConnector extends pulumi.CustomResource {
/**
* Get an existing CloudConnector resource's state with the given name, ID, and optional extra
* properties used to qualify the lookup.
*
* @param name The _unique_ name of the resulting resource.
* @param id The _unique_ provider ID of the resource to lookup.
* @param opts Optional settings to control the behavior of the CustomResource.
*/
static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): CloudConnector;
/**
* Returns true if the given object is an instance of CloudConnector. This is designed to work even
* when multiple copies of the Pulumi SDK have been loaded into the same process.
*/
static isInstance(obj: any): obj is CloudConnector;
/**
* The Azure API version of the resource.
*/
readonly azureApiVersion: pulumi.Output<string>;
/**
* Connector billing model
*/
readonly billingModel: pulumi.Output<string | undefined>;
/**
* Collection information
*/
readonly collectionInfo: pulumi.Output<outputs.costmanagement.ConnectorCollectionInfoResponse>;
/**
* Connector definition creation datetime
*/
readonly createdOn: pulumi.Output<string>;
/**
* Credentials authentication key (eg AWS ARN)
*/
readonly credentialsKey: pulumi.Output<string | undefined>;
/**
* Number of days remaining of trial
*/
readonly daysTrialRemaining: pulumi.Output<number>;
/**
* Default ManagementGroupId
*/
readonly defaultManagementGroupId: pulumi.Output<string | undefined>;
/**
* Connector DisplayName
*/
readonly displayName: pulumi.Output<string | undefined>;
/**
* Associated ExternalBillingAccountId
*/
readonly externalBillingAccountId: pulumi.Output<string>;
/**
* Connector kind (eg aws)
*/
readonly kind: pulumi.Output<string | undefined>;
/**
* Connector last modified datetime
*/
readonly modifiedOn: pulumi.Output<string>;
/**
* Connector name
*/
readonly name: pulumi.Output<string>;
/**
* The display name of the providerBillingAccountId as defined on the external provider
*/
readonly providerBillingAccountDisplayName: pulumi.Output<string>;
/**
* Connector providerBillingAccountId, determined from credentials (eg AWS Consolidated account number)
*/
readonly providerBillingAccountId: pulumi.Output<string>;
/**
* Identifying source report. (For AWS this is a CUR report name, defined with Daily and with Resources)
*/
readonly reportId: pulumi.Output<string | undefined>;
/**
* Connector status
*/
readonly status: pulumi.Output<string>;
/**
* Billing SubscriptionId
*/
readonly subscriptionId: pulumi.Output<string | undefined>;
/**
* Connector type
*/
readonly type: pulumi.Output<string>;
/**
* Create a CloudConnector resource with the given unique name, arguments, and options.
*
* @param name The _unique_ name of the resource.
* @param args The arguments to use to populate this resource's properties.
* @param opts A bag of options that control this resource's behavior.
*/
constructor(name: string, args?: CloudConnectorArgs, opts?: pulumi.CustomResourceOptions);
}
/**
* The set of arguments for constructing a CloudConnector resource.
*/
export interface CloudConnectorArgs {
/**
* Connector billing model
*/
billingModel?: pulumi.Input<string | enums.costmanagement.ConnectorBillingModel>;
/**
* Connector Name.
*/
connectorName?: pulumi.Input<string>;
/**
* Credentials authentication key (eg AWS ARN)
*/
credentialsKey?: pulumi.Input<string>;
/**
* Credentials secret (eg AWS ExternalId)
*/
credentialsSecret?: pulumi.Input<string>;
/**
* Default ManagementGroupId
*/
defaultManagementGroupId?: pulumi.Input<string>;
/**
* Connector DisplayName
*/
displayName?: pulumi.Input<string>;
/**
* Connector kind (eg aws)
*/
kind?: pulumi.Input<string>;
/**
* Identifying source report. (For AWS this is a CUR report name, defined with Daily and with Resources)
*/
reportId?: pulumi.Input<string>;
/**
* Billing SubscriptionId
*/
subscriptionId?: pulumi.Input<string>;
}