1. Packages
  2. Azure Native
  3. API Docs
  4. costmanagement
  5. getCloudConnector
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.0.1 published on Monday, Apr 7, 2025 by Pulumi

azure-native.costmanagement.getCloudConnector

Explore with Pulumi AI

This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.0.1 published on Monday, Apr 7, 2025 by Pulumi

Get a cloud connector definition

Uses Azure REST API version 2019-03-01-preview.

Using getCloudConnector

Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

function getCloudConnector(args: GetCloudConnectorArgs, opts?: InvokeOptions): Promise<GetCloudConnectorResult>
function getCloudConnectorOutput(args: GetCloudConnectorOutputArgs, opts?: InvokeOptions): Output<GetCloudConnectorResult>
Copy
def get_cloud_connector(connector_name: Optional[str] = None,
                        expand: Optional[str] = None,
                        opts: Optional[InvokeOptions] = None) -> GetCloudConnectorResult
def get_cloud_connector_output(connector_name: Optional[pulumi.Input[str]] = None,
                        expand: Optional[pulumi.Input[str]] = None,
                        opts: Optional[InvokeOptions] = None) -> Output[GetCloudConnectorResult]
Copy
func LookupCloudConnector(ctx *Context, args *LookupCloudConnectorArgs, opts ...InvokeOption) (*LookupCloudConnectorResult, error)
func LookupCloudConnectorOutput(ctx *Context, args *LookupCloudConnectorOutputArgs, opts ...InvokeOption) LookupCloudConnectorResultOutput
Copy

> Note: This function is named LookupCloudConnector in the Go SDK.

public static class GetCloudConnector 
{
    public static Task<GetCloudConnectorResult> InvokeAsync(GetCloudConnectorArgs args, InvokeOptions? opts = null)
    public static Output<GetCloudConnectorResult> Invoke(GetCloudConnectorInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetCloudConnectorResult> getCloudConnector(GetCloudConnectorArgs args, InvokeOptions options)
public static Output<GetCloudConnectorResult> getCloudConnector(GetCloudConnectorArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: azure-native:costmanagement:getCloudConnector
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

ConnectorName
This property is required.
Changes to this property will trigger replacement.
string
Connector Name.
Expand string
May be used to expand the collectionInfo property. By default, collectionInfo is not included.
ConnectorName
This property is required.
Changes to this property will trigger replacement.
string
Connector Name.
Expand string
May be used to expand the collectionInfo property. By default, collectionInfo is not included.
connectorName
This property is required.
Changes to this property will trigger replacement.
String
Connector Name.
expand String
May be used to expand the collectionInfo property. By default, collectionInfo is not included.
connectorName
This property is required.
Changes to this property will trigger replacement.
string
Connector Name.
expand string
May be used to expand the collectionInfo property. By default, collectionInfo is not included.
connector_name
This property is required.
Changes to this property will trigger replacement.
str
Connector Name.
expand str
May be used to expand the collectionInfo property. By default, collectionInfo is not included.
connectorName
This property is required.
Changes to this property will trigger replacement.
String
Connector Name.
expand String
May be used to expand the collectionInfo property. By default, collectionInfo is not included.

getCloudConnector Result

The following output properties are available:

AzureApiVersion string
The Azure API version of the resource.
CollectionInfo Pulumi.AzureNative.CostManagement.Outputs.ConnectorCollectionInfoResponse
Collection information
CreatedOn string
Connector definition creation datetime
DaysTrialRemaining int
Number of days remaining of trial
ExternalBillingAccountId string
Associated ExternalBillingAccountId
Id string
Connector id
ModifiedOn string
Connector last modified datetime
Name string
Connector name
ProviderBillingAccountDisplayName string
The display name of the providerBillingAccountId as defined on the external provider
ProviderBillingAccountId string
Connector providerBillingAccountId, determined from credentials (eg AWS Consolidated account number)
Status string
Connector status
Type string
Connector type
BillingModel string
Connector billing model
CredentialsKey string
Credentials authentication key (eg AWS ARN)
DefaultManagementGroupId string
Default ManagementGroupId
DisplayName string
Connector DisplayName
Kind string
Connector kind (eg aws)
ReportId string
Identifying source report. (For AWS this is a CUR report name, defined with Daily and with Resources)
SubscriptionId string
Billing SubscriptionId
AzureApiVersion string
The Azure API version of the resource.
CollectionInfo ConnectorCollectionInfoResponse
Collection information
CreatedOn string
Connector definition creation datetime
DaysTrialRemaining int
Number of days remaining of trial
ExternalBillingAccountId string
Associated ExternalBillingAccountId
Id string
Connector id
ModifiedOn string
Connector last modified datetime
Name string
Connector name
ProviderBillingAccountDisplayName string
The display name of the providerBillingAccountId as defined on the external provider
ProviderBillingAccountId string
Connector providerBillingAccountId, determined from credentials (eg AWS Consolidated account number)
Status string
Connector status
Type string
Connector type
BillingModel string
Connector billing model
CredentialsKey string
Credentials authentication key (eg AWS ARN)
DefaultManagementGroupId string
Default ManagementGroupId
DisplayName string
Connector DisplayName
Kind string
Connector kind (eg aws)
ReportId string
Identifying source report. (For AWS this is a CUR report name, defined with Daily and with Resources)
SubscriptionId string
Billing SubscriptionId
azureApiVersion String
The Azure API version of the resource.
collectionInfo ConnectorCollectionInfoResponse
Collection information
createdOn String
Connector definition creation datetime
daysTrialRemaining Integer
Number of days remaining of trial
externalBillingAccountId String
Associated ExternalBillingAccountId
id String
Connector id
modifiedOn String
Connector last modified datetime
name String
Connector name
providerBillingAccountDisplayName String
The display name of the providerBillingAccountId as defined on the external provider
providerBillingAccountId String
Connector providerBillingAccountId, determined from credentials (eg AWS Consolidated account number)
status String
Connector status
type String
Connector type
billingModel String
Connector billing model
credentialsKey String
Credentials authentication key (eg AWS ARN)
defaultManagementGroupId String
Default ManagementGroupId
displayName String
Connector DisplayName
kind String
Connector kind (eg aws)
reportId String
Identifying source report. (For AWS this is a CUR report name, defined with Daily and with Resources)
subscriptionId String
Billing SubscriptionId
azureApiVersion string
The Azure API version of the resource.
collectionInfo ConnectorCollectionInfoResponse
Collection information
createdOn string
Connector definition creation datetime
daysTrialRemaining number
Number of days remaining of trial
externalBillingAccountId string
Associated ExternalBillingAccountId
id string
Connector id
modifiedOn string
Connector last modified datetime
name string
Connector name
providerBillingAccountDisplayName string
The display name of the providerBillingAccountId as defined on the external provider
providerBillingAccountId string
Connector providerBillingAccountId, determined from credentials (eg AWS Consolidated account number)
status string
Connector status
type string
Connector type
billingModel string
Connector billing model
credentialsKey string
Credentials authentication key (eg AWS ARN)
defaultManagementGroupId string
Default ManagementGroupId
displayName string
Connector DisplayName
kind string
Connector kind (eg aws)
reportId string
Identifying source report. (For AWS this is a CUR report name, defined with Daily and with Resources)
subscriptionId string
Billing SubscriptionId
azure_api_version str
The Azure API version of the resource.
collection_info ConnectorCollectionInfoResponse
Collection information
created_on str
Connector definition creation datetime
days_trial_remaining int
Number of days remaining of trial
external_billing_account_id str
Associated ExternalBillingAccountId
id str
Connector id
modified_on str
Connector last modified datetime
name str
Connector name
provider_billing_account_display_name str
The display name of the providerBillingAccountId as defined on the external provider
provider_billing_account_id str
Connector providerBillingAccountId, determined from credentials (eg AWS Consolidated account number)
status str
Connector status
type str
Connector type
billing_model str
Connector billing model
credentials_key str
Credentials authentication key (eg AWS ARN)
default_management_group_id str
Default ManagementGroupId
display_name str
Connector DisplayName
kind str
Connector kind (eg aws)
report_id str
Identifying source report. (For AWS this is a CUR report name, defined with Daily and with Resources)
subscription_id str
Billing SubscriptionId
azureApiVersion String
The Azure API version of the resource.
collectionInfo Property Map
Collection information
createdOn String
Connector definition creation datetime
daysTrialRemaining Number
Number of days remaining of trial
externalBillingAccountId String
Associated ExternalBillingAccountId
id String
Connector id
modifiedOn String
Connector last modified datetime
name String
Connector name
providerBillingAccountDisplayName String
The display name of the providerBillingAccountId as defined on the external provider
providerBillingAccountId String
Connector providerBillingAccountId, determined from credentials (eg AWS Consolidated account number)
status String
Connector status
type String
Connector type
billingModel String
Connector billing model
credentialsKey String
Credentials authentication key (eg AWS ARN)
defaultManagementGroupId String
Default ManagementGroupId
displayName String
Connector DisplayName
kind String
Connector kind (eg aws)
reportId String
Identifying source report. (For AWS this is a CUR report name, defined with Daily and with Resources)
subscriptionId String
Billing SubscriptionId

Supporting Types

ConnectorCollectionErrorInfoResponse

ErrorCode This property is required. string
Short error message
ErrorMessage This property is required. string
Detailed error message
ErrorStartTime This property is required. string
Time the error started occurring (Last time error occurred in lastRun)
ErrorInnerMessage string
External Provider error message
ErrorCode This property is required. string
Short error message
ErrorMessage This property is required. string
Detailed error message
ErrorStartTime This property is required. string
Time the error started occurring (Last time error occurred in lastRun)
ErrorInnerMessage string
External Provider error message
errorCode This property is required. String
Short error message
errorMessage This property is required. String
Detailed error message
errorStartTime This property is required. String
Time the error started occurring (Last time error occurred in lastRun)
errorInnerMessage String
External Provider error message
errorCode This property is required. string
Short error message
errorMessage This property is required. string
Detailed error message
errorStartTime This property is required. string
Time the error started occurring (Last time error occurred in lastRun)
errorInnerMessage string
External Provider error message
error_code This property is required. str
Short error message
error_message This property is required. str
Detailed error message
error_start_time This property is required. str
Time the error started occurring (Last time error occurred in lastRun)
error_inner_message str
External Provider error message
errorCode This property is required. String
Short error message
errorMessage This property is required. String
Detailed error message
errorStartTime This property is required. String
Time the error started occurring (Last time error occurred in lastRun)
errorInnerMessage String
External Provider error message

ConnectorCollectionInfoResponse

LastRun This property is required. string
Last time the data acquisition process completed (even if no new data was found)
LastUpdated This property is required. string
Last time the external data was updated into Azure
SourceLastUpdated This property is required. string
Source timestamp of external data currently available in Azure (eg AWS last processed CUR file timestamp)
Error Pulumi.AzureNative.CostManagement.Inputs.ConnectorCollectionErrorInfoResponse
Error information of last collection
LastChecked string
Last time the data acquisition process initiated connecting to the external provider
LastRun This property is required. string
Last time the data acquisition process completed (even if no new data was found)
LastUpdated This property is required. string
Last time the external data was updated into Azure
SourceLastUpdated This property is required. string
Source timestamp of external data currently available in Azure (eg AWS last processed CUR file timestamp)
Error ConnectorCollectionErrorInfoResponse
Error information of last collection
LastChecked string
Last time the data acquisition process initiated connecting to the external provider
lastRun This property is required. String
Last time the data acquisition process completed (even if no new data was found)
lastUpdated This property is required. String
Last time the external data was updated into Azure
sourceLastUpdated This property is required. String
Source timestamp of external data currently available in Azure (eg AWS last processed CUR file timestamp)
error ConnectorCollectionErrorInfoResponse
Error information of last collection
lastChecked String
Last time the data acquisition process initiated connecting to the external provider
lastRun This property is required. string
Last time the data acquisition process completed (even if no new data was found)
lastUpdated This property is required. string
Last time the external data was updated into Azure
sourceLastUpdated This property is required. string
Source timestamp of external data currently available in Azure (eg AWS last processed CUR file timestamp)
error ConnectorCollectionErrorInfoResponse
Error information of last collection
lastChecked string
Last time the data acquisition process initiated connecting to the external provider
last_run This property is required. str
Last time the data acquisition process completed (even if no new data was found)
last_updated This property is required. str
Last time the external data was updated into Azure
source_last_updated This property is required. str
Source timestamp of external data currently available in Azure (eg AWS last processed CUR file timestamp)
error ConnectorCollectionErrorInfoResponse
Error information of last collection
last_checked str
Last time the data acquisition process initiated connecting to the external provider
lastRun This property is required. String
Last time the data acquisition process completed (even if no new data was found)
lastUpdated This property is required. String
Last time the external data was updated into Azure
sourceLastUpdated This property is required. String
Source timestamp of external data currently available in Azure (eg AWS last processed CUR file timestamp)
error Property Map
Error information of last collection
lastChecked String
Last time the data acquisition process initiated connecting to the external provider

Package Details

Repository
Azure Native pulumi/pulumi-azure-native
License
Apache-2.0
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.0.1 published on Monday, Apr 7, 2025 by Pulumi