All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.azurenative.costmanagement.Export Maven / Gradle / Ivy

There is a newer version: 2.78.0
Show newest version
// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***

package com.pulumi.azurenative.costmanagement;

import com.pulumi.azurenative.Utilities;
import com.pulumi.azurenative.costmanagement.ExportArgs;
import com.pulumi.azurenative.costmanagement.outputs.ExportDefinitionResponse;
import com.pulumi.azurenative.costmanagement.outputs.ExportDeliveryInfoResponse;
import com.pulumi.azurenative.costmanagement.outputs.ExportExecutionListResultResponse;
import com.pulumi.azurenative.costmanagement.outputs.ExportScheduleResponse;
import com.pulumi.core.Alias;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.ResourceType;
import com.pulumi.core.internal.Codegen;
import java.lang.Boolean;
import java.lang.String;
import java.util.List;
import java.util.Optional;
import javax.annotation.Nullable;

/**
 * An export resource.
 * Azure REST API version: 2023-03-01. Prior API version in Azure Native 1.x: 2020-06-01.
 * 
 * Other available API versions: 2019-10-01, 2023-04-01-preview, 2023-07-01-preview, 2023-08-01, 2023-09-01, 2023-11-01.
 * 
 * ## Example Usage
 * ### ExportCreateOrUpdateByBillingAccount
 * 
 * 
 * {@code
 * package generated_program;
 * 
 * import com.pulumi.Context;
 * import com.pulumi.Pulumi;
 * import com.pulumi.core.Output;
 * import com.pulumi.azurenative.costmanagement.Export;
 * import com.pulumi.azurenative.costmanagement.ExportArgs;
 * import com.pulumi.azurenative.costmanagement.inputs.ExportDefinitionArgs;
 * import com.pulumi.azurenative.costmanagement.inputs.ExportDatasetArgs;
 * import com.pulumi.azurenative.costmanagement.inputs.ExportDatasetConfigurationArgs;
 * import com.pulumi.azurenative.costmanagement.inputs.ExportDeliveryInfoArgs;
 * import com.pulumi.azurenative.costmanagement.inputs.ExportDeliveryDestinationArgs;
 * import com.pulumi.azurenative.costmanagement.inputs.ExportScheduleArgs;
 * import com.pulumi.azurenative.costmanagement.inputs.ExportRecurrencePeriodArgs;
 * 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) {
 *         var export = new Export("export", ExportArgs.builder()
 *             .definition(ExportDefinitionArgs.builder()
 *                 .dataSet(ExportDatasetArgs.builder()
 *                     .configuration(ExportDatasetConfigurationArgs.builder()
 *                         .columns(                        
 *                             "Date",
 *                             "MeterId",
 *                             "ResourceId",
 *                             "ResourceLocation",
 *                             "Quantity")
 *                         .build())
 *                     .granularity("Daily")
 *                     .build())
 *                 .timeframe("MonthToDate")
 *                 .type("ActualCost")
 *                 .build())
 *             .deliveryInfo(ExportDeliveryInfoArgs.builder()
 *                 .destination(ExportDeliveryDestinationArgs.builder()
 *                     .container("exports")
 *                     .resourceId("/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MYDEVTESTRG/providers/Microsoft.Storage/storageAccounts/ccmeastusdiag182")
 *                     .rootFolderPath("ad-hoc")
 *                     .build())
 *                 .build())
 *             .exportName("TestExport")
 *             .format("Csv")
 *             .schedule(ExportScheduleArgs.builder()
 *                 .recurrence("Weekly")
 *                 .recurrencePeriod(ExportRecurrencePeriodArgs.builder()
 *                     .from("2020-06-01T00:00:00Z")
 *                     .to("2020-10-31T00:00:00Z")
 *                     .build())
 *                 .status("Active")
 *                 .build())
 *             .scope("providers/Microsoft.Billing/billingAccounts/123456")
 *             .build());
 * 
 *     }
 * }
 * 
 * }
 * 
* ### ExportCreateOrUpdateByDepartment * *
 * {@code
 * package generated_program;
 * 
 * import com.pulumi.Context;
 * import com.pulumi.Pulumi;
 * import com.pulumi.core.Output;
 * import com.pulumi.azurenative.costmanagement.Export;
 * import com.pulumi.azurenative.costmanagement.ExportArgs;
 * import com.pulumi.azurenative.costmanagement.inputs.ExportDefinitionArgs;
 * import com.pulumi.azurenative.costmanagement.inputs.ExportDatasetArgs;
 * import com.pulumi.azurenative.costmanagement.inputs.ExportDatasetConfigurationArgs;
 * import com.pulumi.azurenative.costmanagement.inputs.ExportDeliveryInfoArgs;
 * import com.pulumi.azurenative.costmanagement.inputs.ExportDeliveryDestinationArgs;
 * import com.pulumi.azurenative.costmanagement.inputs.ExportScheduleArgs;
 * import com.pulumi.azurenative.costmanagement.inputs.ExportRecurrencePeriodArgs;
 * 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) {
 *         var export = new Export("export", ExportArgs.builder()
 *             .definition(ExportDefinitionArgs.builder()
 *                 .dataSet(ExportDatasetArgs.builder()
 *                     .configuration(ExportDatasetConfigurationArgs.builder()
 *                         .columns(                        
 *                             "Date",
 *                             "MeterId",
 *                             "ResourceId",
 *                             "ResourceLocation",
 *                             "Quantity")
 *                         .build())
 *                     .granularity("Daily")
 *                     .build())
 *                 .timeframe("MonthToDate")
 *                 .type("ActualCost")
 *                 .build())
 *             .deliveryInfo(ExportDeliveryInfoArgs.builder()
 *                 .destination(ExportDeliveryDestinationArgs.builder()
 *                     .container("exports")
 *                     .resourceId("/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MYDEVTESTRG/providers/Microsoft.Storage/storageAccounts/ccmeastusdiag182")
 *                     .rootFolderPath("ad-hoc")
 *                     .build())
 *                 .build())
 *             .exportName("TestExport")
 *             .format("Csv")
 *             .schedule(ExportScheduleArgs.builder()
 *                 .recurrence("Weekly")
 *                 .recurrencePeriod(ExportRecurrencePeriodArgs.builder()
 *                     .from("2020-06-01T00:00:00Z")
 *                     .to("2020-10-31T00:00:00Z")
 *                     .build())
 *                 .status("Active")
 *                 .build())
 *             .scope("providers/Microsoft.Billing/billingAccounts/12/departments/1234")
 *             .build());
 * 
 *     }
 * }
 * 
 * }
 * 
* ### ExportCreateOrUpdateByEnrollmentAccount * *
 * {@code
 * package generated_program;
 * 
 * import com.pulumi.Context;
 * import com.pulumi.Pulumi;
 * import com.pulumi.core.Output;
 * import com.pulumi.azurenative.costmanagement.Export;
 * import com.pulumi.azurenative.costmanagement.ExportArgs;
 * import com.pulumi.azurenative.costmanagement.inputs.ExportDefinitionArgs;
 * import com.pulumi.azurenative.costmanagement.inputs.ExportDatasetArgs;
 * import com.pulumi.azurenative.costmanagement.inputs.ExportDatasetConfigurationArgs;
 * import com.pulumi.azurenative.costmanagement.inputs.ExportDeliveryInfoArgs;
 * import com.pulumi.azurenative.costmanagement.inputs.ExportDeliveryDestinationArgs;
 * import com.pulumi.azurenative.costmanagement.inputs.ExportScheduleArgs;
 * import com.pulumi.azurenative.costmanagement.inputs.ExportRecurrencePeriodArgs;
 * 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) {
 *         var export = new Export("export", ExportArgs.builder()
 *             .definition(ExportDefinitionArgs.builder()
 *                 .dataSet(ExportDatasetArgs.builder()
 *                     .configuration(ExportDatasetConfigurationArgs.builder()
 *                         .columns(                        
 *                             "Date",
 *                             "MeterId",
 *                             "ResourceId",
 *                             "ResourceLocation",
 *                             "Quantity")
 *                         .build())
 *                     .granularity("Daily")
 *                     .build())
 *                 .timeframe("MonthToDate")
 *                 .type("ActualCost")
 *                 .build())
 *             .deliveryInfo(ExportDeliveryInfoArgs.builder()
 *                 .destination(ExportDeliveryDestinationArgs.builder()
 *                     .container("exports")
 *                     .resourceId("/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MYDEVTESTRG/providers/Microsoft.Storage/storageAccounts/ccmeastusdiag182")
 *                     .rootFolderPath("ad-hoc")
 *                     .build())
 *                 .build())
 *             .exportName("TestExport")
 *             .format("Csv")
 *             .schedule(ExportScheduleArgs.builder()
 *                 .recurrence("Weekly")
 *                 .recurrencePeriod(ExportRecurrencePeriodArgs.builder()
 *                     .from("2020-06-01T00:00:00Z")
 *                     .to("2020-10-31T00:00:00Z")
 *                     .build())
 *                 .status("Active")
 *                 .build())
 *             .scope("providers/Microsoft.Billing/billingAccounts/100/enrollmentAccounts/456")
 *             .build());
 * 
 *     }
 * }
 * 
 * }
 * 
* ### ExportCreateOrUpdateByManagementGroup * *
 * {@code
 * package generated_program;
 * 
 * import com.pulumi.Context;
 * import com.pulumi.Pulumi;
 * import com.pulumi.core.Output;
 * import com.pulumi.azurenative.costmanagement.Export;
 * import com.pulumi.azurenative.costmanagement.ExportArgs;
 * import com.pulumi.azurenative.costmanagement.inputs.ExportDefinitionArgs;
 * import com.pulumi.azurenative.costmanagement.inputs.ExportDatasetArgs;
 * import com.pulumi.azurenative.costmanagement.inputs.ExportDatasetConfigurationArgs;
 * import com.pulumi.azurenative.costmanagement.inputs.ExportDeliveryInfoArgs;
 * import com.pulumi.azurenative.costmanagement.inputs.ExportDeliveryDestinationArgs;
 * import com.pulumi.azurenative.costmanagement.inputs.ExportScheduleArgs;
 * import com.pulumi.azurenative.costmanagement.inputs.ExportRecurrencePeriodArgs;
 * 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) {
 *         var export = new Export("export", ExportArgs.builder()
 *             .definition(ExportDefinitionArgs.builder()
 *                 .dataSet(ExportDatasetArgs.builder()
 *                     .configuration(ExportDatasetConfigurationArgs.builder()
 *                         .columns(                        
 *                             "Date",
 *                             "MeterId",
 *                             "ResourceId",
 *                             "ResourceLocation",
 *                             "Quantity")
 *                         .build())
 *                     .granularity("Daily")
 *                     .build())
 *                 .timeframe("MonthToDate")
 *                 .type("ActualCost")
 *                 .build())
 *             .deliveryInfo(ExportDeliveryInfoArgs.builder()
 *                 .destination(ExportDeliveryDestinationArgs.builder()
 *                     .container("exports")
 *                     .resourceId("/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MYDEVTESTRG/providers/Microsoft.Storage/storageAccounts/ccmeastusdiag182")
 *                     .rootFolderPath("ad-hoc")
 *                     .build())
 *                 .build())
 *             .exportName("TestExport")
 *             .format("Csv")
 *             .schedule(ExportScheduleArgs.builder()
 *                 .recurrence("Weekly")
 *                 .recurrencePeriod(ExportRecurrencePeriodArgs.builder()
 *                     .from("2020-06-01T00:00:00Z")
 *                     .to("2020-10-31T00:00:00Z")
 *                     .build())
 *                 .status("Active")
 *                 .build())
 *             .scope("providers/Microsoft.Management/managementGroups/TestMG")
 *             .build());
 * 
 *     }
 * }
 * 
 * }
 * 
* ### ExportCreateOrUpdateByResourceGroup * *
 * {@code
 * package generated_program;
 * 
 * import com.pulumi.Context;
 * import com.pulumi.Pulumi;
 * import com.pulumi.core.Output;
 * import com.pulumi.azurenative.costmanagement.Export;
 * import com.pulumi.azurenative.costmanagement.ExportArgs;
 * import com.pulumi.azurenative.costmanagement.inputs.ExportDefinitionArgs;
 * import com.pulumi.azurenative.costmanagement.inputs.ExportDatasetArgs;
 * import com.pulumi.azurenative.costmanagement.inputs.ExportDatasetConfigurationArgs;
 * import com.pulumi.azurenative.costmanagement.inputs.ExportDeliveryInfoArgs;
 * import com.pulumi.azurenative.costmanagement.inputs.ExportDeliveryDestinationArgs;
 * import com.pulumi.azurenative.costmanagement.inputs.ExportScheduleArgs;
 * import com.pulumi.azurenative.costmanagement.inputs.ExportRecurrencePeriodArgs;
 * 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) {
 *         var export = new Export("export", ExportArgs.builder()
 *             .definition(ExportDefinitionArgs.builder()
 *                 .dataSet(ExportDatasetArgs.builder()
 *                     .configuration(ExportDatasetConfigurationArgs.builder()
 *                         .columns(                        
 *                             "Date",
 *                             "MeterId",
 *                             "ResourceId",
 *                             "ResourceLocation",
 *                             "Quantity")
 *                         .build())
 *                     .granularity("Daily")
 *                     .build())
 *                 .timeframe("MonthToDate")
 *                 .type("ActualCost")
 *                 .build())
 *             .deliveryInfo(ExportDeliveryInfoArgs.builder()
 *                 .destination(ExportDeliveryDestinationArgs.builder()
 *                     .container("exports")
 *                     .resourceId("/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MYDEVTESTRG/providers/Microsoft.Storage/storageAccounts/ccmeastusdiag182")
 *                     .rootFolderPath("ad-hoc")
 *                     .build())
 *                 .build())
 *             .exportName("TestExport")
 *             .format("Csv")
 *             .schedule(ExportScheduleArgs.builder()
 *                 .recurrence("Weekly")
 *                 .recurrencePeriod(ExportRecurrencePeriodArgs.builder()
 *                     .from("2020-06-01T00:00:00Z")
 *                     .to("2020-10-31T00:00:00Z")
 *                     .build())
 *                 .status("Active")
 *                 .build())
 *             .scope("subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MYDEVTESTRG")
 *             .build());
 * 
 *     }
 * }
 * 
 * }
 * 
* ### ExportCreateOrUpdateBySubscription * *
 * {@code
 * package generated_program;
 * 
 * import com.pulumi.Context;
 * import com.pulumi.Pulumi;
 * import com.pulumi.core.Output;
 * import com.pulumi.azurenative.costmanagement.Export;
 * import com.pulumi.azurenative.costmanagement.ExportArgs;
 * import com.pulumi.azurenative.costmanagement.inputs.ExportDefinitionArgs;
 * import com.pulumi.azurenative.costmanagement.inputs.ExportDatasetArgs;
 * import com.pulumi.azurenative.costmanagement.inputs.ExportDatasetConfigurationArgs;
 * import com.pulumi.azurenative.costmanagement.inputs.ExportDeliveryInfoArgs;
 * import com.pulumi.azurenative.costmanagement.inputs.ExportDeliveryDestinationArgs;
 * import com.pulumi.azurenative.costmanagement.inputs.ExportScheduleArgs;
 * import com.pulumi.azurenative.costmanagement.inputs.ExportRecurrencePeriodArgs;
 * 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) {
 *         var export = new Export("export", ExportArgs.builder()
 *             .definition(ExportDefinitionArgs.builder()
 *                 .dataSet(ExportDatasetArgs.builder()
 *                     .configuration(ExportDatasetConfigurationArgs.builder()
 *                         .columns(                        
 *                             "Date",
 *                             "MeterId",
 *                             "ResourceId",
 *                             "ResourceLocation",
 *                             "Quantity")
 *                         .build())
 *                     .granularity("Daily")
 *                     .build())
 *                 .timeframe("MonthToDate")
 *                 .type("ActualCost")
 *                 .build())
 *             .deliveryInfo(ExportDeliveryInfoArgs.builder()
 *                 .destination(ExportDeliveryDestinationArgs.builder()
 *                     .container("exports")
 *                     .resourceId("/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MYDEVTESTRG/providers/Microsoft.Storage/storageAccounts/ccmeastusdiag182")
 *                     .rootFolderPath("ad-hoc")
 *                     .build())
 *                 .build())
 *             .exportName("TestExport")
 *             .format("Csv")
 *             .schedule(ExportScheduleArgs.builder()
 *                 .recurrence("Weekly")
 *                 .recurrencePeriod(ExportRecurrencePeriodArgs.builder()
 *                     .from("2020-06-01T00:00:00Z")
 *                     .to("2020-10-31T00:00:00Z")
 *                     .build())
 *                 .status("Active")
 *                 .build())
 *             .scope("subscriptions/00000000-0000-0000-0000-000000000000")
 *             .build());
 * 
 *     }
 * }
 * 
 * }
 * 
* * ## Import * * An existing resource can be imported using its type token, name, and identifier, e.g. * * ```sh * $ pulumi import azure-native:costmanagement:Export TestExport /{scope}/providers/Microsoft.CostManagement/exports/{exportName} * ``` * */ @ResourceType(type="azure-native:costmanagement:Export") public class Export extends com.pulumi.resources.CustomResource { /** * Has the definition for the export. * */ @com.pulumi.core.annotations.Export(name="definition", refs={ExportDefinitionResponse.class}, tree="[0]") private Output definition; /** * @return Has the definition for the export. * */ public Output definition() { return this.definition; } /** * Has delivery information for the export. * */ @com.pulumi.core.annotations.Export(name="deliveryInfo", refs={ExportDeliveryInfoResponse.class}, tree="[0]") private Output deliveryInfo; /** * @return Has delivery information for the export. * */ public Output deliveryInfo() { return this.deliveryInfo; } /** * eTag of the resource. To handle concurrent update scenario, this field will be used to determine whether the user is updating the latest version or not. * */ @com.pulumi.core.annotations.Export(name="eTag", refs={String.class}, tree="[0]") private Output eTag; /** * @return eTag of the resource. To handle concurrent update scenario, this field will be used to determine whether the user is updating the latest version or not. * */ public Output> eTag() { return Codegen.optional(this.eTag); } /** * The format of the export being delivered. Currently only 'Csv' is supported. * */ @com.pulumi.core.annotations.Export(name="format", refs={String.class}, tree="[0]") private Output format; /** * @return The format of the export being delivered. Currently only 'Csv' is supported. * */ public Output> format() { return Codegen.optional(this.format); } /** * Resource name. * */ @com.pulumi.core.annotations.Export(name="name", refs={String.class}, tree="[0]") private Output name; /** * @return Resource name. * */ public Output name() { return this.name; } /** * If the export has an active schedule, provides an estimate of the next run time. * */ @com.pulumi.core.annotations.Export(name="nextRunTimeEstimate", refs={String.class}, tree="[0]") private Output nextRunTimeEstimate; /** * @return If the export has an active schedule, provides an estimate of the next run time. * */ public Output nextRunTimeEstimate() { return this.nextRunTimeEstimate; } /** * If set to true, exported data will be partitioned by size and placed in a blob directory together with a manifest file. Note: this option is currently available only for Microsoft Customer Agreement commerce scopes. * */ @com.pulumi.core.annotations.Export(name="partitionData", refs={Boolean.class}, tree="[0]") private Output partitionData; /** * @return If set to true, exported data will be partitioned by size and placed in a blob directory together with a manifest file. Note: this option is currently available only for Microsoft Customer Agreement commerce scopes. * */ public Output> partitionData() { return Codegen.optional(this.partitionData); } /** * If requested, has the most recent run history for the export. * */ @com.pulumi.core.annotations.Export(name="runHistory", refs={ExportExecutionListResultResponse.class}, tree="[0]") private Output runHistory; /** * @return If requested, has the most recent run history for the export. * */ public Output> runHistory() { return Codegen.optional(this.runHistory); } /** * Has schedule information for the export. * */ @com.pulumi.core.annotations.Export(name="schedule", refs={ExportScheduleResponse.class}, tree="[0]") private Output schedule; /** * @return Has schedule information for the export. * */ public Output> schedule() { return Codegen.optional(this.schedule); } /** * Resource type. * */ @com.pulumi.core.annotations.Export(name="type", refs={String.class}, tree="[0]") private Output type; /** * @return Resource type. * */ public Output type() { return this.type; } /** * * @param name The _unique_ name of the resulting resource. */ public Export(java.lang.String name) { this(name, ExportArgs.Empty); } /** * * @param name The _unique_ name of the resulting resource. * @param args The arguments to use to populate this resource's properties. */ public Export(java.lang.String name, ExportArgs args) { this(name, args, null); } /** * * @param name The _unique_ name of the resulting resource. * @param args The arguments to use to populate this resource's properties. * @param options A bag of options that control this resource's behavior. */ public Export(java.lang.String name, ExportArgs args, @Nullable com.pulumi.resources.CustomResourceOptions options) { super("azure-native:costmanagement:Export", name, makeArgs(args, options), makeResourceOptions(options, Codegen.empty()), false); } private Export(java.lang.String name, Output id, @Nullable com.pulumi.resources.CustomResourceOptions options) { super("azure-native:costmanagement:Export", name, null, makeResourceOptions(options, id), false); } private static ExportArgs makeArgs(ExportArgs args, @Nullable com.pulumi.resources.CustomResourceOptions options) { if (options != null && options.getUrn().isPresent()) { return null; } return args == null ? ExportArgs.Empty : args; } private static com.pulumi.resources.CustomResourceOptions makeResourceOptions(@Nullable com.pulumi.resources.CustomResourceOptions options, @Nullable Output id) { var defaultOptions = com.pulumi.resources.CustomResourceOptions.builder() .version(Utilities.getVersion()) .aliases(List.of( Output.of(Alias.builder().type("azure-native:costmanagement/v20190101:Export").build()), Output.of(Alias.builder().type("azure-native:costmanagement/v20190901:Export").build()), Output.of(Alias.builder().type("azure-native:costmanagement/v20191001:Export").build()), Output.of(Alias.builder().type("azure-native:costmanagement/v20191101:Export").build()), Output.of(Alias.builder().type("azure-native:costmanagement/v20200601:Export").build()), Output.of(Alias.builder().type("azure-native:costmanagement/v20201201preview:Export").build()), Output.of(Alias.builder().type("azure-native:costmanagement/v20210101:Export").build()), Output.of(Alias.builder().type("azure-native:costmanagement/v20211001:Export").build()), Output.of(Alias.builder().type("azure-native:costmanagement/v20221001:Export").build()), Output.of(Alias.builder().type("azure-native:costmanagement/v20230301:Export").build()), Output.of(Alias.builder().type("azure-native:costmanagement/v20230401preview:Export").build()), Output.of(Alias.builder().type("azure-native:costmanagement/v20230701preview:Export").build()), Output.of(Alias.builder().type("azure-native:costmanagement/v20230801:Export").build()), Output.of(Alias.builder().type("azure-native:costmanagement/v20230901:Export").build()), Output.of(Alias.builder().type("azure-native:costmanagement/v20231101:Export").build()) )) .build(); return com.pulumi.resources.CustomResourceOptions.merge(defaultOptions, options, id); } /** * Get an existing Host resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param options Optional settings to control the behavior of the CustomResource. */ public static Export get(java.lang.String name, Output id, @Nullable com.pulumi.resources.CustomResourceOptions options) { return new Export(name, id, options); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy