1. Packages
  2. Harness
  3. API Docs
  4. platform
  5. getAzureCloudCostConnector
Harness v0.0.6 published on Saturday, Jul 1, 2023 by lbrlabs

harness.platform.getAzureCloudCostConnector

Explore with Pulumi AI

harness logo
Harness v0.0.6 published on Saturday, Jul 1, 2023 by lbrlabs

    Datasource for looking up an Azure Cloud Cost Connector.

    Example Usage

    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 main
    
    import (
    	"github.com/lbrlabs/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
    	})
    }
    
    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());
    
        }
    }
    
    import pulumi
    import pulumi_harness as harness
    
    example = harness.platform.get_azure_cloud_cost_connector(identifier="identifier")
    
    import * as pulumi from "@pulumi/pulumi";
    import * as harness from "@pulumi/harness";
    
    const example = harness.platform.getAzureCloudCostConnector({
        identifier: "identifier",
    });
    
    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)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: harness:platform/getAzureCloudCostConnector:getAzureCloudCostConnector
      arguments:
        # arguments dictionary

    The 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:

    BillingExportSpecs List<Lbrlabs.PulumiPackage.Harness.Platform.Outputs.GetAzureCloudCostConnectorBillingExportSpec>

    Returns billing details for the Azure account.

    Description string

    Description of the resource.

    FeaturesEnableds List<string>

    Indicates which feature to enable among Billing, Optimization, and Visibility.

    Id string

    The provider-assigned unique ID for this managed resource.

    Identifier string

    Unique identifier of the resource.

    SubscriptionId string

    Subsription id.

    Tags 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.

    BillingExportSpecs []GetAzureCloudCostConnectorBillingExportSpec

    Returns billing details for the Azure account.

    Description string

    Description of the resource.

    FeaturesEnableds []string

    Indicates which feature to enable among Billing, Optimization, and Visibility.

    Id string

    The provider-assigned unique ID for this managed resource.

    Identifier string

    Unique identifier of the resource.

    SubscriptionId string

    Subsription id.

    Tags []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.

    billingExportSpecs List<GetAzureCloudCostConnectorBillingExportSpec>

    Returns billing details for the Azure account.

    description String

    Description of the resource.

    featuresEnableds List<String>

    Indicates which feature to enable among Billing, Optimization, and Visibility.

    id String

    The provider-assigned unique ID for this managed resource.

    identifier String

    Unique identifier of the resource.

    subscriptionId String

    Subsription id.

    tags 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.

    billingExportSpecs GetAzureCloudCostConnectorBillingExportSpec[]

    Returns billing details for the Azure account.

    description string

    Description of the resource.

    featuresEnableds string[]

    Indicates which feature to enable among Billing, Optimization, and Visibility.

    id string

    The provider-assigned unique ID for this managed resource.

    identifier string

    Unique identifier of the resource.

    subscriptionId string

    Subsription id.

    tags 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_specs Sequence[GetAzureCloudCostConnectorBillingExportSpec]

    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, and Visibility.

    id str

    The provider-assigned unique ID for this managed resource.

    identifier str

    Unique identifier of the resource.

    subscription_id str

    Subsription id.

    tags 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.

    billingExportSpecs List<Property Map>

    Returns billing details for the Azure account.

    description String

    Description of the resource.

    featuresEnableds List<String>

    Indicates which feature to enable among Billing, Optimization, and Visibility.

    id String

    The provider-assigned unique ID for this managed resource.

    identifier String

    Unique identifier of the resource.

    subscriptionId String

    Subsription id.

    tags 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
    DirectoryName string
    ReportName string
    StorageAccountName string
    SubscriptionId string

    Subsription id.

    ContainerName string
    DirectoryName string
    ReportName string
    StorageAccountName string
    SubscriptionId string

    Subsription id.

    containerName String
    directoryName String
    reportName String
    storageAccountName String
    subscriptionId String

    Subsription id.

    containerName string
    directoryName string
    reportName string
    storageAccountName string
    subscriptionId string

    Subsription id.

    containerName String
    directoryName String
    reportName String
    storageAccountName String
    subscriptionId String

    Subsription id.

    Package Details

    Repository
    harness lbrlabs/pulumi-harness
    License
    Apache-2.0
    Notes

    This Pulumi package is based on the harness Terraform Provider.

    harness logo
    Harness v0.0.6 published on Saturday, Jul 1, 2023 by lbrlabs