Viewing docs for Harness v0.11.6
published on Thursday, Mar 12, 2026 by Pulumi
published on Thursday, Mar 12, 2026 by Pulumi
Viewing docs for Harness v0.11.6
published on Thursday, Mar 12, 2026 by Pulumi
published on Thursday, Mar 12, 2026 by Pulumi
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.
- Org
Id string - Unique identifier of the organization.
- Project
Id string - Unique identifier of the project.
- Identifier string
- Unique identifier of the resource.
- Name string
- Name of the resource.
- Org
Id string - Unique identifier of the organization.
- Project
Id string - Unique identifier of the project.
- identifier String
- Unique identifier of the resource.
- name String
- Name of the resource.
- org
Id String - Unique identifier of the organization.
- project
Id String - Unique identifier of the project.
- identifier string
- Unique identifier of the resource.
- name string
- Name of the resource.
- org
Id string - Unique identifier of the organization.
- project
Id 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.
- org
Id String - Unique identifier of the organization.
- project
Id String - Unique identifier of the project.
getAzureCloudCostConnector Result
The following output properties are available:
- Billing
Export List<GetSpec2s Azure Cloud Cost Connector Billing Export Spec2> - Returns billing details for the Azure account.
- Billing
Export List<GetSpecs Azure Cloud Cost Connector Billing Export Spec> - Returns billing details for the Azure account.
- Description string
- Description of the resource.
- Features
Enableds 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.
- Subscription
Id string - Subsription id.
- List<string>
- Tags to associate with the resource.
- Tenant
Id string - Tenant id.
- Name string
- Name of the resource.
- Org
Id string - Unique identifier of the organization.
- Project
Id string - Unique identifier of the project.
- Billing
Export []GetSpec2s Azure Cloud Cost Connector Billing Export Spec2 - Returns billing details for the Azure account.
- Billing
Export []GetSpecs Azure Cloud Cost Connector Billing Export Spec - Returns billing details for the Azure account.
- Description string
- Description of the resource.
- Features
Enableds []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.
- Subscription
Id string - Subsription id.
- []string
- Tags to associate with the resource.
- Tenant
Id string - Tenant id.
- Name string
- Name of the resource.
- Org
Id string - Unique identifier of the organization.
- Project
Id string - Unique identifier of the project.
- billing
Export List<GetSpec2s Azure Cloud Cost Connector Billing Export Spec2> - Returns billing details for the Azure account.
- billing
Export List<GetSpecs Azure Cloud Cost Connector Billing Export Spec> - Returns billing details for the Azure account.
- description String
- Description of the resource.
- features
Enableds 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.
- subscription
Id String - Subsription id.
- List<String>
- Tags to associate with the resource.
- tenant
Id String - Tenant id.
- name String
- Name of the resource.
- org
Id String - Unique identifier of the organization.
- project
Id String - Unique identifier of the project.
- billing
Export GetSpec2s Azure Cloud Cost Connector Billing Export Spec2[] - Returns billing details for the Azure account.
- billing
Export GetSpecs Azure Cloud Cost Connector Billing Export Spec[] - Returns billing details for the Azure account.
- description string
- Description of the resource.
- features
Enableds 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.
- subscription
Id string - Subsription id.
- string[]
- Tags to associate with the resource.
- tenant
Id string - Tenant id.
- name string
- Name of the resource.
- org
Id string - Unique identifier of the organization.
- project
Id string - Unique identifier of the project.
- billing_
export_ Sequence[Getspec2s Azure Cloud Cost Connector Billing Export Spec2] - Returns billing details for the Azure account.
- 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.
- billing
Export List<Property Map>Spec2s - Returns billing details for the Azure account.
- billing
Export List<Property Map>Specs - Returns billing details for the Azure account.
- description String
- Description of the resource.
- features
Enableds 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.
- subscription
Id String - Subsription id.
- List<String>
- Tags to associate with the resource.
- tenant
Id String - Tenant id.
- name String
- Name of the resource.
- org
Id String - Unique identifier of the organization.
- project
Id String - Unique identifier of the project.
Supporting Types
GetAzureCloudCostConnectorBillingExportSpec
- Billing
Type string - Billing type.
- Container
Name string - Name of the container.
- Directory
Name string - Name of the directory.
- Report
Name string - Name of the report.
- Storage
Account stringName - Name of the storage account.
- Subscription
Id string - Subsription Id.
- Billing
Type string - Billing type.
- Container
Name string - Name of the container.
- Directory
Name string - Name of the directory.
- Report
Name string - Name of the report.
- Storage
Account stringName - Name of the storage account.
- Subscription
Id string - Subsription Id.
- billing
Type String - Billing type.
- container
Name String - Name of the container.
- directory
Name String - Name of the directory.
- report
Name String - Name of the report.
- storage
Account StringName - Name of the storage account.
- subscription
Id String - Subsription Id.
- billing
Type string - Billing type.
- container
Name string - Name of the container.
- directory
Name string - Name of the directory.
- report
Name string - Name of the report.
- storage
Account stringName - Name of the storage account.
- subscription
Id string - Subsription Id.
- billing_
type str - Billing type.
- 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.
- billing
Type String - Billing type.
- container
Name String - Name of the container.
- directory
Name String - Name of the directory.
- report
Name String - Name of the report.
- storage
Account StringName - Name of the storage account.
- subscription
Id String - Subsription Id.
GetAzureCloudCostConnectorBillingExportSpec2
- Billing
Type string - Billing type.
- Container
Name string - Name of the container.
- Directory
Name string - Name of the directory.
- Report
Name string - Name of the report.
- Storage
Account stringName - Name of the storage account.
- Subscription
Id string - Subsription Id.
- Billing
Type string - Billing type.
- Container
Name string - Name of the container.
- Directory
Name string - Name of the directory.
- Report
Name string - Name of the report.
- Storage
Account stringName - Name of the storage account.
- Subscription
Id string - Subsription Id.
- billing
Type String - Billing type.
- container
Name String - Name of the container.
- directory
Name String - Name of the directory.
- report
Name String - Name of the report.
- storage
Account StringName - Name of the storage account.
- subscription
Id String - Subsription Id.
- billing
Type string - Billing type.
- container
Name string - Name of the container.
- directory
Name string - Name of the directory.
- report
Name string - Name of the report.
- storage
Account stringName - Name of the storage account.
- subscription
Id string - Subsription Id.
- billing_
type str - Billing type.
- 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.
- billing
Type String - Billing type.
- container
Name String - Name of the container.
- directory
Name String - Name of the directory.
- report
Name String - Name of the report.
- storage
Account StringName - Name of the storage account.
- subscription
Id String - Subsription Id.
Package Details
- Repository
- harness pulumi/pulumi-harness
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
harnessTerraform Provider.
Viewing docs for Harness v0.11.6
published on Thursday, Mar 12, 2026 by Pulumi
published on Thursday, Mar 12, 2026 by Pulumi
