1. Registry
  2. Packages
  3. Azure Native
  4. API Docs
  5. costmanagement
  6. getConnector
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Viewing docs for Azure Native v3.26.0
published on Thursday, Aug 13, 2026 by Pulumi
azure-native logo
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Viewing docs for Azure Native v3.26.0
published on Thursday, Aug 13, 2026 by Pulumi

    Get a connector definition

    Uses Azure REST API version 2018-08-01-preview.

    Using getConnector

    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 getConnector(args: GetConnectorArgs, opts?: InvokeOptions): Promise<GetConnectorResult>
    function getConnectorOutput(args: GetConnectorOutputArgs, opts?: InvokeOutputOptions): Output<GetConnectorResult>
    def get_connector(connector_name: Optional[str] = None,
                      resource_group_name: Optional[str] = None,
                      opts: Optional[InvokeOptions] = None) -> GetConnectorResult
    def get_connector_output(connector_name: pulumi.Input[Optional[str]] = None,
                      resource_group_name: pulumi.Input[Optional[str]] = None,
                      opts: Optional[InvokeOutputOptions] = None) -> Output[GetConnectorResult]
    func LookupConnector(ctx *Context, args *LookupConnectorArgs, opts ...InvokeOption) (*LookupConnectorResult, error)
    func LookupConnectorOutput(ctx *Context, args *LookupConnectorOutputArgs, opts ...InvokeOption) LookupConnectorResultOutput

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

    public static class GetConnector 
    {
        public static Task<GetConnectorResult> InvokeAsync(GetConnectorArgs args, InvokeOptions? opts = null)
        public static Output<GetConnectorResult> Invoke(GetConnectorInvokeArgs args, InvokeOptions? opts = null)
        public static Output<GetConnectorResult> Invoke(GetConnectorInvokeArgs args, InvokeOutputOptions opts)
    }
    public static CompletableFuture<GetConnectorResult> getConnector(GetConnectorArgs args, InvokeOptions options)
    public static Output<GetConnectorResult> getConnector(GetConnectorArgs args, InvokeOptions options)
    public static Output<GetConnectorResult> getConnector(GetConnectorArgs args, InvokeOutputOptions options)
    
    fn::invoke:
      function: azure-native:costmanagement:getConnector
      arguments:
        # arguments dictionary
    data "azure-native_costmanagement_get_connector" "name" {
        # arguments
    }

    The following arguments are supported:

    ConnectorName string
    Connector Name.
    ResourceGroupName string
    Azure Resource Group Name.
    ConnectorName string
    Connector Name.
    ResourceGroupName string
    Azure Resource Group Name.
    connector_name string
    Connector Name.
    resource_group_name string
    Azure Resource Group Name.
    connectorName String
    Connector Name.
    resourceGroupName String
    Azure Resource Group Name.
    connectorName string
    Connector Name.
    resourceGroupName string
    Azure Resource Group Name.
    connector_name str
    Connector Name.
    resource_group_name str
    Azure Resource Group Name.
    connectorName String
    Connector Name.
    resourceGroupName String
    Azure Resource Group Name.

    getConnector Result

    The following output properties are available:

    AzureApiVersion string
    The Azure API version of the resource.
    Collection Pulumi.AzureNative.CostManagement.Outputs.ConnectorCollectionInfoConnectorResponse
    Collection information
    CreatedOn string
    Connector definition creation datetime
    Id string
    Connector id
    ModifiedOn string
    Connector last modified datetime
    Name string
    Connector name
    ProviderAccountId string
    Connector providerAccountId (determined from credentials)
    Type string
    Connector type
    CredentialsKey string
    Credentials authentication key (eg AWS ARN)
    DisplayName string
    Connector DisplayName (defaults to Name)
    Kind string
    Connector kind (eg aws)
    Location string
    Connector location
    ReportId string
    Identifying source report. (For AWS this is a CUR report name, defined with Daily and with Resources)
    Status string
    Connector status
    Tags Dictionary<string, string>
    Resource tags.
    AzureApiVersion string
    The Azure API version of the resource.
    Collection ConnectorCollectionInfoConnectorResponse
    Collection information
    CreatedOn string
    Connector definition creation datetime
    Id string
    Connector id
    ModifiedOn string
    Connector last modified datetime
    Name string
    Connector name
    ProviderAccountId string
    Connector providerAccountId (determined from credentials)
    Type string
    Connector type
    CredentialsKey string
    Credentials authentication key (eg AWS ARN)
    DisplayName string
    Connector DisplayName (defaults to Name)
    Kind string
    Connector kind (eg aws)
    Location string
    Connector location
    ReportId string
    Identifying source report. (For AWS this is a CUR report name, defined with Daily and with Resources)
    Status string
    Connector status
    Tags map[string]string
    Resource tags.
    azure_api_version string
    The Azure API version of the resource.
    collection object
    Collection information
    created_on string
    Connector definition creation datetime
    id string
    Connector id
    modified_on string
    Connector last modified datetime
    name string
    Connector name
    provider_account_id string
    Connector providerAccountId (determined from credentials)
    type string
    Connector type
    credentials_key string
    Credentials authentication key (eg AWS ARN)
    display_name string
    Connector DisplayName (defaults to Name)
    kind string
    Connector kind (eg aws)
    location string
    Connector location
    report_id string
    Identifying source report. (For AWS this is a CUR report name, defined with Daily and with Resources)
    status string
    Connector status
    tags map(string)
    Resource tags.
    azureApiVersion String
    The Azure API version of the resource.
    collection ConnectorCollectionInfoConnectorResponse
    Collection information
    createdOn String
    Connector definition creation datetime
    id String
    Connector id
    modifiedOn String
    Connector last modified datetime
    name String
    Connector name
    providerAccountId String
    Connector providerAccountId (determined from credentials)
    type String
    Connector type
    credentialsKey String
    Credentials authentication key (eg AWS ARN)
    displayName String
    Connector DisplayName (defaults to Name)
    kind String
    Connector kind (eg aws)
    location String
    Connector location
    reportId String
    Identifying source report. (For AWS this is a CUR report name, defined with Daily and with Resources)
    status String
    Connector status
    tags Map<String,String>
    Resource tags.
    azureApiVersion string
    The Azure API version of the resource.
    collection ConnectorCollectionInfoConnectorResponse
    Collection information
    createdOn string
    Connector definition creation datetime
    id string
    Connector id
    modifiedOn string
    Connector last modified datetime
    name string
    Connector name
    providerAccountId string
    Connector providerAccountId (determined from credentials)
    type string
    Connector type
    credentialsKey string
    Credentials authentication key (eg AWS ARN)
    displayName string
    Connector DisplayName (defaults to Name)
    kind string
    Connector kind (eg aws)
    location string
    Connector location
    reportId string
    Identifying source report. (For AWS this is a CUR report name, defined with Daily and with Resources)
    status string
    Connector status
    tags {[key: string]: string}
    Resource tags.
    azure_api_version str
    The Azure API version of the resource.
    collection ConnectorCollectionInfoConnectorResponse
    Collection information
    created_on str
    Connector definition creation datetime
    id str
    Connector id
    modified_on str
    Connector last modified datetime
    name str
    Connector name
    provider_account_id str
    Connector providerAccountId (determined from credentials)
    type str
    Connector type
    credentials_key str
    Credentials authentication key (eg AWS ARN)
    display_name str
    Connector DisplayName (defaults to Name)
    kind str
    Connector kind (eg aws)
    location str
    Connector location
    report_id str
    Identifying source report. (For AWS this is a CUR report name, defined with Daily and with Resources)
    status str
    Connector status
    tags Mapping[str, str]
    Resource tags.
    azureApiVersion String
    The Azure API version of the resource.
    collection Property Map
    Collection information
    createdOn String
    Connector definition creation datetime
    id String
    Connector id
    modifiedOn String
    Connector last modified datetime
    name String
    Connector name
    providerAccountId String
    Connector providerAccountId (determined from credentials)
    type String
    Connector type
    credentialsKey String
    Credentials authentication key (eg AWS ARN)
    displayName String
    Connector DisplayName (defaults to Name)
    kind String
    Connector kind (eg aws)
    location String
    Connector location
    reportId String
    Identifying source report. (For AWS this is a CUR report name, defined with Daily and with Resources)
    status String
    Connector status
    tags Map<String>
    Resource tags.

    Supporting Types

    ConnectorCollectionErrorInfoConnectorResponse

    ErrorCode string
    Short error message
    ErrorMessage string
    Detailed error message
    ErrorStartTime string
    Time the error started occurring (Last time error occurred in lastRun)
    ErrorCode string
    Short error message
    ErrorMessage string
    Detailed error message
    ErrorStartTime string
    Time the error started occurring (Last time error occurred in lastRun)
    error_code string
    Short error message
    error_message string
    Detailed error message
    error_start_time string
    Time the error started occurring (Last time error occurred in lastRun)
    errorCode String
    Short error message
    errorMessage String
    Detailed error message
    errorStartTime String
    Time the error started occurring (Last time error occurred in lastRun)
    errorCode string
    Short error message
    errorMessage string
    Detailed error message
    errorStartTime string
    Time the error started occurring (Last time error occurred in lastRun)
    error_code str
    Short error message
    error_message str
    Detailed error message
    error_start_time str
    Time the error started occurring (Last time error occurred in lastRun)
    errorCode String
    Short error message
    errorMessage String
    Detailed error message
    errorStartTime String
    Time the error started occurring (Last time error occurred in lastRun)

    ConnectorCollectionInfoConnectorResponse

    LastRun string
    Last time the data acquisition process completed (even if no new data was found)
    LastUpdated string
    Last time the external data was updated into Azure
    SourceLastUpdated string
    Source timestamp of external data currently available in Azure (eg AWS last processed CUR file timestamp)
    Error Pulumi.AzureNative.CostManagement.Inputs.ConnectorCollectionErrorInfoConnectorResponse
    Error information of last collection
    LastRun string
    Last time the data acquisition process completed (even if no new data was found)
    LastUpdated string
    Last time the external data was updated into Azure
    SourceLastUpdated string
    Source timestamp of external data currently available in Azure (eg AWS last processed CUR file timestamp)
    Error ConnectorCollectionErrorInfoConnectorResponse
    Error information of last collection
    last_run string
    Last time the data acquisition process completed (even if no new data was found)
    last_updated string
    Last time the external data was updated into Azure
    source_last_updated string
    Source timestamp of external data currently available in Azure (eg AWS last processed CUR file timestamp)
    error object
    Error information of last collection
    lastRun String
    Last time the data acquisition process completed (even if no new data was found)
    lastUpdated String
    Last time the external data was updated into Azure
    sourceLastUpdated String
    Source timestamp of external data currently available in Azure (eg AWS last processed CUR file timestamp)
    error ConnectorCollectionErrorInfoConnectorResponse
    Error information of last collection
    lastRun string
    Last time the data acquisition process completed (even if no new data was found)
    lastUpdated string
    Last time the external data was updated into Azure
    sourceLastUpdated string
    Source timestamp of external data currently available in Azure (eg AWS last processed CUR file timestamp)
    error ConnectorCollectionErrorInfoConnectorResponse
    Error information of last collection
    last_run str
    Last time the data acquisition process completed (even if no new data was found)
    last_updated str
    Last time the external data was updated into Azure
    source_last_updated str
    Source timestamp of external data currently available in Azure (eg AWS last processed CUR file timestamp)
    error ConnectorCollectionErrorInfoConnectorResponse
    Error information of last collection
    lastRun String
    Last time the data acquisition process completed (even if no new data was found)
    lastUpdated String
    Last time the external data was updated into Azure
    sourceLastUpdated 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

    Package Details

    Repository
    Azure Native pulumi/pulumi-azure-native
    License
    Apache-2.0
    azure-native logo
    This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
    Viewing docs for Azure Native v3.26.0
    published on Thursday, Aug 13, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial