Harness v0.5.7 published on Saturday, Mar 8, 2025 by Pulumi
harness.platform.getAzureCloudCostConnector
Explore with Pulumi AI
Datasource for looking up an Azure Cloud Cost Connector.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as harness from "@pulumi/harness";
const example = harness.platform.getAzureCloudCostConnector({
    identifier: "identifier",
});
import pulumi
import pulumi_harness as harness
example = harness.platform.get_azure_cloud_cost_connector(identifier="identifier")
package main
import (
	"github.com/pulumi/pulumi-harness/sdk/go/harness/platform"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := platform.LookupAzureCloudCostConnector(ctx, &platform.LookupAzureCloudCostConnectorArgs{
			Identifier: "identifier",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Harness = Pulumi.Harness;
return await Deployment.RunAsync(() => 
{
    var example = Harness.Platform.GetAzureCloudCostConnector.Invoke(new()
    {
        Identifier = "identifier",
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.harness.platform.PlatformFunctions;
import com.pulumi.harness.platform.inputs.GetAzureCloudCostConnectorArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }
    public static void stack(Context ctx) {
        final var example = PlatformFunctions.getAzureCloudCostConnector(GetAzureCloudCostConnectorArgs.builder()
            .identifier("identifier")
            .build());
    }
}
variables:
  example:
    fn::invoke:
      function: harness:platform:getAzureCloudCostConnector
      arguments:
        identifier: identifier
Using getAzureCloudCostConnector
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 getAzureCloudCostConnector(args: GetAzureCloudCostConnectorArgs, opts?: InvokeOptions): Promise<GetAzureCloudCostConnectorResult>
function getAzureCloudCostConnectorOutput(args: GetAzureCloudCostConnectorOutputArgs, opts?: InvokeOptions): Output<GetAzureCloudCostConnectorResult>def get_azure_cloud_cost_connector(identifier: Optional[str] = None,
                                   name: Optional[str] = None,
                                   org_id: Optional[str] = None,
                                   project_id: Optional[str] = None,
                                   opts: Optional[InvokeOptions] = None) -> GetAzureCloudCostConnectorResult
def get_azure_cloud_cost_connector_output(identifier: Optional[pulumi.Input[str]] = None,
                                   name: Optional[pulumi.Input[str]] = None,
                                   org_id: Optional[pulumi.Input[str]] = None,
                                   project_id: Optional[pulumi.Input[str]] = None,
                                   opts: Optional[InvokeOptions] = None) -> Output[GetAzureCloudCostConnectorResult]func LookupAzureCloudCostConnector(ctx *Context, args *LookupAzureCloudCostConnectorArgs, opts ...InvokeOption) (*LookupAzureCloudCostConnectorResult, error)
func LookupAzureCloudCostConnectorOutput(ctx *Context, args *LookupAzureCloudCostConnectorOutputArgs, opts ...InvokeOption) LookupAzureCloudCostConnectorResultOutput> Note: This function is named LookupAzureCloudCostConnector in the Go SDK.
public static class GetAzureCloudCostConnector 
{
    public static Task<GetAzureCloudCostConnectorResult> InvokeAsync(GetAzureCloudCostConnectorArgs args, InvokeOptions? opts = null)
    public static Output<GetAzureCloudCostConnectorResult> Invoke(GetAzureCloudCostConnectorInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetAzureCloudCostConnectorResult> getAzureCloudCostConnector(GetAzureCloudCostConnectorArgs args, InvokeOptions options)
public static Output<GetAzureCloudCostConnectorResult> getAzureCloudCostConnector(GetAzureCloudCostConnectorArgs args, InvokeOptions options)
fn::invoke:
  function: harness:platform/getAzureCloudCostConnector:getAzureCloudCostConnector
  arguments:
    # arguments dictionaryThe following arguments are supported:
- Identifier string
- Unique identifier of the resource.
- Name string
- Name of the resource.
- OrgId string
- Unique identifier of the organization.
- ProjectId string
- Unique identifier of the project.
- Identifier string
- Unique identifier of the resource.
- Name string
- Name of the resource.
- OrgId string
- Unique identifier of the organization.
- ProjectId string
- Unique identifier of the project.
- identifier String
- Unique identifier of the resource.
- name String
- Name of the resource.
- orgId String
- Unique identifier of the organization.
- projectId String
- Unique identifier of the project.
- identifier string
- Unique identifier of the resource.
- name string
- Name of the resource.
- orgId string
- Unique identifier of the organization.
- projectId string
- Unique identifier of the project.
- identifier str
- Unique identifier of the resource.
- name str
- Name of the resource.
- org_id str
- Unique identifier of the organization.
- project_id str
- Unique identifier of the project.
- identifier String
- Unique identifier of the resource.
- name String
- Name of the resource.
- orgId String
- Unique identifier of the organization.
- projectId String
- Unique identifier of the project.
getAzureCloudCostConnector Result
The following output properties are available:
- BillingExport List<GetSpecs Azure Cloud Cost Connector Billing Export Spec> 
- Returns billing details for the Azure account.
- Description string
- Description of the resource.
- FeaturesEnableds List<string>
- Indicates which feature to enable among Billing, Optimization, Visibility and Governance.
- Id string
- The provider-assigned unique ID for this managed resource.
- Identifier string
- Unique identifier of the resource.
- SubscriptionId string
- Subsription id.
- List<string>
- Tags to associate with the resource.
- TenantId string
- Tenant id.
- Name string
- Name of the resource.
- OrgId string
- Unique identifier of the organization.
- ProjectId string
- Unique identifier of the project.
- BillingExport []GetSpecs Azure Cloud Cost Connector Billing Export Spec 
- Returns billing details for the Azure account.
- Description string
- Description of the resource.
- FeaturesEnableds []string
- Indicates which feature to enable among Billing, Optimization, Visibility and Governance.
- Id string
- The provider-assigned unique ID for this managed resource.
- Identifier string
- Unique identifier of the resource.
- SubscriptionId string
- Subsription id.
- []string
- Tags to associate with the resource.
- TenantId string
- Tenant id.
- Name string
- Name of the resource.
- OrgId string
- Unique identifier of the organization.
- ProjectId string
- Unique identifier of the project.
- billingExport List<GetSpecs Azure Cloud Cost Connector Billing Export Spec> 
- Returns billing details for the Azure account.
- description String
- Description of the resource.
- featuresEnableds List<String>
- Indicates which feature to enable among Billing, Optimization, Visibility and Governance.
- id String
- The provider-assigned unique ID for this managed resource.
- identifier String
- Unique identifier of the resource.
- subscriptionId String
- Subsription id.
- List<String>
- Tags to associate with the resource.
- tenantId String
- Tenant id.
- name String
- Name of the resource.
- orgId String
- Unique identifier of the organization.
- projectId String
- Unique identifier of the project.
- billingExport GetSpecs Azure Cloud Cost Connector Billing Export Spec[] 
- Returns billing details for the Azure account.
- description string
- Description of the resource.
- featuresEnableds string[]
- Indicates which feature to enable among Billing, Optimization, Visibility and Governance.
- id string
- The provider-assigned unique ID for this managed resource.
- identifier string
- Unique identifier of the resource.
- subscriptionId string
- Subsription id.
- string[]
- Tags to associate with the resource.
- tenantId string
- Tenant id.
- name string
- Name of the resource.
- orgId string
- Unique identifier of the organization.
- projectId string
- Unique identifier of the project.
- billing_export_ Sequence[Getspecs Azure Cloud Cost Connector Billing Export Spec] 
- Returns billing details for the Azure account.
- description str
- Description of the resource.
- features_enableds Sequence[str]
- Indicates which feature to enable among Billing, Optimization, Visibility and Governance.
- id str
- The provider-assigned unique ID for this managed resource.
- identifier str
- Unique identifier of the resource.
- subscription_id str
- Subsription id.
- Sequence[str]
- Tags to associate with the resource.
- tenant_id str
- Tenant id.
- name str
- Name of the resource.
- org_id str
- Unique identifier of the organization.
- project_id str
- Unique identifier of the project.
- billingExport List<Property Map>Specs 
- Returns billing details for the Azure account.
- description String
- Description of the resource.
- featuresEnableds List<String>
- Indicates which feature to enable among Billing, Optimization, Visibility and Governance.
- id String
- The provider-assigned unique ID for this managed resource.
- identifier String
- Unique identifier of the resource.
- subscriptionId String
- Subsription id.
- List<String>
- Tags to associate with the resource.
- tenantId String
- Tenant id.
- name String
- Name of the resource.
- orgId String
- Unique identifier of the organization.
- projectId String
- Unique identifier of the project.
Supporting Types
GetAzureCloudCostConnectorBillingExportSpec       
- ContainerName string
- Name of the container.
- DirectoryName string
- Name of the directory.
- ReportName string
- Name of the report.
- StorageAccount stringName 
- Name of the storage account.
- SubscriptionId string
- Subsription Id.
- ContainerName string
- Name of the container.
- DirectoryName string
- Name of the directory.
- ReportName string
- Name of the report.
- StorageAccount stringName 
- Name of the storage account.
- SubscriptionId string
- Subsription Id.
- containerName String
- Name of the container.
- directoryName String
- Name of the directory.
- reportName String
- Name of the report.
- storageAccount StringName 
- Name of the storage account.
- subscriptionId String
- Subsription Id.
- containerName string
- Name of the container.
- directoryName string
- Name of the directory.
- reportName string
- Name of the report.
- storageAccount stringName 
- Name of the storage account.
- subscriptionId string
- Subsription Id.
- container_name str
- Name of the container.
- directory_name str
- Name of the directory.
- report_name str
- Name of the report.
- storage_account_ strname 
- Name of the storage account.
- subscription_id str
- Subsription Id.
- containerName String
- Name of the container.
- directoryName String
- Name of the directory.
- reportName String
- Name of the report.
- storageAccount StringName 
- Name of the storage account.
- subscriptionId String
- Subsription Id.
Package Details
- Repository
- harness pulumi/pulumi-harness
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the harnessTerraform Provider.
